Daily bump.
[official-gcc.git] / libstdc++-v3 / configure
blobad6c506c60652685418adc7bbd7ec35f085d7b0a
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 thread_header
733 glibcxx_PCHFLAGS
734 GLIBCXX_BUILD_PCH_FALSE
735 GLIBCXX_BUILD_PCH_TRUE
736 GLIBCXX_HOSTED_FALSE
737 GLIBCXX_HOSTED_TRUE
738 glibcxx_compiler_shared_flag
739 glibcxx_compiler_pic_flag
740 glibcxx_lt_pic_flag
741 enable_static
742 enable_shared
743 lt_host_flags
744 CXXCPP
745 OTOOL64
746 OTOOL
747 LIPO
748 NMEDIT
749 DSYMUTIL
750 OBJDUMP
752 ac_ct_DUMPBIN
753 DUMPBIN
755 FGREP
757 LIBTOOL
758 EGREP
759 GREP
761 MAINT
762 MAINTAINER_MODE_FALSE
763 MAINTAINER_MODE_TRUE
764 RANLIB
767 LN_S
768 toplevel_srcdir
769 toplevel_builddir
770 glibcxx_srcdir
771 glibcxx_builddir
772 ac_ct_CXX
773 CXXFLAGS
775 OBJEXT
776 EXEEXT
777 ac_ct_CC
778 CPPFLAGS
779 LDFLAGS
780 CFLAGS
782 am__untar
783 am__tar
784 AMTAR
785 am__leading_dot
786 SET_MAKE
788 mkdir_p
789 MKDIR_P
790 INSTALL_STRIP_PROGRAM
791 STRIP
792 install_sh
793 MAKEINFO
794 AUTOHEADER
795 AUTOMAKE
796 AUTOCONF
797 ACLOCAL
798 VERSION
799 PACKAGE
800 CYGPATH_W
801 am__isrc
802 INSTALL_DATA
803 INSTALL_SCRIPT
804 INSTALL_PROGRAM
805 target_os
806 target_vendor
807 target_cpu
808 target
809 host_os
810 host_vendor
811 host_cpu
812 host
813 build_os
814 build_vendor
815 build_cpu
816 build
817 multi_basedir
818 target_alias
819 host_alias
820 build_alias
821 LIBS
822 ECHO_T
823 ECHO_N
824 ECHO_C
825 DEFS
826 mandir
827 localedir
828 libdir
829 psdir
830 pdfdir
831 dvidir
832 htmldir
833 infodir
834 docdir
835 oldincludedir
836 includedir
837 localstatedir
838 sharedstatedir
839 sysconfdir
840 datadir
841 datarootdir
842 libexecdir
843 sbindir
844 bindir
845 program_transform_name
846 prefix
847 exec_prefix
848 PACKAGE_URL
849 PACKAGE_BUGREPORT
850 PACKAGE_STRING
851 PACKAGE_VERSION
852 PACKAGE_TARNAME
853 PACKAGE_NAME
854 PATH_SEPARATOR
855 SHELL'
856 ac_subst_files=''
857 ac_user_opts='
858 enable_option_checking
859 enable_multilib
860 with_target_subdir
861 with_cross_host
862 with_newlib
863 enable_maintainer_mode
864 enable_shared
865 enable_static
866 with_pic
867 enable_fast_install
868 with_gnu_ld
869 enable_libtool_lock
870 enable_hosted_libstdcxx
871 enable_libstdcxx_verbose
872 enable_libstdcxx_pch
873 enable_cstdio
874 enable_clocale
875 enable_nls
876 enable_libstdcxx_allocator
877 enable_cheaders
878 enable_long_long
879 enable_wchar_t
880 enable_c99
881 enable_concept_checks
882 enable_libstdcxx_debug_flags
883 enable_libstdcxx_debug
884 enable_cxx_flags
885 enable_fully_dynamic_string
886 enable_extern_template
887 with_python_dir
888 enable_werror
889 enable_vtable_verify
890 enable_libstdcxx_time
891 enable_tls
892 enable_rpath
893 with_libiconv_prefix
894 with_system_libunwind
895 enable_linux_futex
896 enable_symvers
897 enable_libstdcxx_visibility
898 enable_libstdcxx_dual_abi
899 with_default_libstdcxx_abi
900 enable_libstdcxx_threads
901 enable_libstdcxx_filesystem_ts
902 enable_cet
903 with_gxx_include_dir
904 enable_version_specific_runtime_libs
905 with_gcc_major_version_only
907 ac_precious_vars='build_alias
908 host_alias
909 target_alias
911 CFLAGS
912 LDFLAGS
913 LIBS
914 CPPFLAGS
916 CXXFLAGS
919 CXXCPP
920 CXXFILT'
923 # Initialize some variables set by options.
924 ac_init_help=
925 ac_init_version=false
926 ac_unrecognized_opts=
927 ac_unrecognized_sep=
928 # The variables have the same names as the options, with
929 # dashes changed to underlines.
930 cache_file=/dev/null
931 exec_prefix=NONE
932 no_create=
933 no_recursion=
934 prefix=NONE
935 program_prefix=NONE
936 program_suffix=NONE
937 program_transform_name=s,x,x,
938 silent=
939 site=
940 srcdir=
941 verbose=
942 x_includes=NONE
943 x_libraries=NONE
945 # Installation directory options.
946 # These are left unexpanded so users can "make install exec_prefix=/foo"
947 # and all the variables that are supposed to be based on exec_prefix
948 # by default will actually change.
949 # Use braces instead of parens because sh, perl, etc. also accept them.
950 # (The list follows the same order as the GNU Coding Standards.)
951 bindir='${exec_prefix}/bin'
952 sbindir='${exec_prefix}/sbin'
953 libexecdir='${exec_prefix}/libexec'
954 datarootdir='${prefix}/share'
955 datadir='${datarootdir}'
956 sysconfdir='${prefix}/etc'
957 sharedstatedir='${prefix}/com'
958 localstatedir='${prefix}/var'
959 includedir='${prefix}/include'
960 oldincludedir='/usr/include'
961 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
962 infodir='${datarootdir}/info'
963 htmldir='${docdir}'
964 dvidir='${docdir}'
965 pdfdir='${docdir}'
966 psdir='${docdir}'
967 libdir='${exec_prefix}/lib'
968 localedir='${datarootdir}/locale'
969 mandir='${datarootdir}/man'
971 ac_prev=
972 ac_dashdash=
973 for ac_option
975 # If the previous option needs an argument, assign it.
976 if test -n "$ac_prev"; then
977 eval $ac_prev=\$ac_option
978 ac_prev=
979 continue
982 case $ac_option in
983 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984 *) ac_optarg=yes ;;
985 esac
987 # Accept the important Cygnus configure options, so we can diagnose typos.
989 case $ac_dashdash$ac_option in
991 ac_dashdash=yes ;;
993 -bindir | --bindir | --bindi | --bind | --bin | --bi)
994 ac_prev=bindir ;;
995 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
996 bindir=$ac_optarg ;;
998 -build | --build | --buil | --bui | --bu)
999 ac_prev=build_alias ;;
1000 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1001 build_alias=$ac_optarg ;;
1003 -cache-file | --cache-file | --cache-fil | --cache-fi \
1004 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1005 ac_prev=cache_file ;;
1006 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1007 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1008 cache_file=$ac_optarg ;;
1010 --config-cache | -C)
1011 cache_file=config.cache ;;
1013 -datadir | --datadir | --datadi | --datad)
1014 ac_prev=datadir ;;
1015 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1016 datadir=$ac_optarg ;;
1018 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1019 | --dataroo | --dataro | --datar)
1020 ac_prev=datarootdir ;;
1021 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1022 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1023 datarootdir=$ac_optarg ;;
1025 -disable-* | --disable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=no ;;
1041 -docdir | --docdir | --docdi | --doc | --do)
1042 ac_prev=docdir ;;
1043 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1044 docdir=$ac_optarg ;;
1046 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1047 ac_prev=dvidir ;;
1048 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1049 dvidir=$ac_optarg ;;
1051 -enable-* | --enable-*)
1052 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055 as_fn_error "invalid feature name: $ac_useropt"
1056 ac_useropt_orig=$ac_useropt
1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1060 "enable_$ac_useropt"
1061 "*) ;;
1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1063 ac_unrecognized_sep=', ';;
1064 esac
1065 eval enable_$ac_useropt=\$ac_optarg ;;
1067 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1068 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1069 | --exec | --exe | --ex)
1070 ac_prev=exec_prefix ;;
1071 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1072 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1073 | --exec=* | --exe=* | --ex=*)
1074 exec_prefix=$ac_optarg ;;
1076 -gas | --gas | --ga | --g)
1077 # Obsolete; use --with-gas.
1078 with_gas=yes ;;
1080 -help | --help | --hel | --he | -h)
1081 ac_init_help=long ;;
1082 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1083 ac_init_help=recursive ;;
1084 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1085 ac_init_help=short ;;
1087 -host | --host | --hos | --ho)
1088 ac_prev=host_alias ;;
1089 -host=* | --host=* | --hos=* | --ho=*)
1090 host_alias=$ac_optarg ;;
1092 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1093 ac_prev=htmldir ;;
1094 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1095 | --ht=*)
1096 htmldir=$ac_optarg ;;
1098 -includedir | --includedir | --includedi | --included | --include \
1099 | --includ | --inclu | --incl | --inc)
1100 ac_prev=includedir ;;
1101 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1102 | --includ=* | --inclu=* | --incl=* | --inc=*)
1103 includedir=$ac_optarg ;;
1105 -infodir | --infodir | --infodi | --infod | --info | --inf)
1106 ac_prev=infodir ;;
1107 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1108 infodir=$ac_optarg ;;
1110 -libdir | --libdir | --libdi | --libd)
1111 ac_prev=libdir ;;
1112 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1113 libdir=$ac_optarg ;;
1115 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1116 | --libexe | --libex | --libe)
1117 ac_prev=libexecdir ;;
1118 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1119 | --libexe=* | --libex=* | --libe=*)
1120 libexecdir=$ac_optarg ;;
1122 -localedir | --localedir | --localedi | --localed | --locale)
1123 ac_prev=localedir ;;
1124 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1125 localedir=$ac_optarg ;;
1127 -localstatedir | --localstatedir | --localstatedi | --localstated \
1128 | --localstate | --localstat | --localsta | --localst | --locals)
1129 ac_prev=localstatedir ;;
1130 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1131 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1132 localstatedir=$ac_optarg ;;
1134 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1135 ac_prev=mandir ;;
1136 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1137 mandir=$ac_optarg ;;
1139 -nfp | --nfp | --nf)
1140 # Obsolete; use --without-fp.
1141 with_fp=no ;;
1143 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1144 | --no-cr | --no-c | -n)
1145 no_create=yes ;;
1147 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1148 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1149 no_recursion=yes ;;
1151 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1152 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1153 | --oldin | --oldi | --old | --ol | --o)
1154 ac_prev=oldincludedir ;;
1155 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1156 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1157 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1158 oldincludedir=$ac_optarg ;;
1160 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1161 ac_prev=prefix ;;
1162 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1163 prefix=$ac_optarg ;;
1165 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1166 | --program-pre | --program-pr | --program-p)
1167 ac_prev=program_prefix ;;
1168 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1169 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1170 program_prefix=$ac_optarg ;;
1172 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1173 | --program-suf | --program-su | --program-s)
1174 ac_prev=program_suffix ;;
1175 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1176 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1177 program_suffix=$ac_optarg ;;
1179 -program-transform-name | --program-transform-name \
1180 | --program-transform-nam | --program-transform-na \
1181 | --program-transform-n | --program-transform- \
1182 | --program-transform | --program-transfor \
1183 | --program-transfo | --program-transf \
1184 | --program-trans | --program-tran \
1185 | --progr-tra | --program-tr | --program-t)
1186 ac_prev=program_transform_name ;;
1187 -program-transform-name=* | --program-transform-name=* \
1188 | --program-transform-nam=* | --program-transform-na=* \
1189 | --program-transform-n=* | --program-transform-=* \
1190 | --program-transform=* | --program-transfor=* \
1191 | --program-transfo=* | --program-transf=* \
1192 | --program-trans=* | --program-tran=* \
1193 | --progr-tra=* | --program-tr=* | --program-t=*)
1194 program_transform_name=$ac_optarg ;;
1196 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1197 ac_prev=pdfdir ;;
1198 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1199 pdfdir=$ac_optarg ;;
1201 -psdir | --psdir | --psdi | --psd | --ps)
1202 ac_prev=psdir ;;
1203 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1204 psdir=$ac_optarg ;;
1206 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1207 | -silent | --silent | --silen | --sile | --sil)
1208 silent=yes ;;
1210 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1211 ac_prev=sbindir ;;
1212 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1213 | --sbi=* | --sb=*)
1214 sbindir=$ac_optarg ;;
1216 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1217 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1218 | --sharedst | --shareds | --shared | --share | --shar \
1219 | --sha | --sh)
1220 ac_prev=sharedstatedir ;;
1221 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1222 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1223 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1224 | --sha=* | --sh=*)
1225 sharedstatedir=$ac_optarg ;;
1227 -site | --site | --sit)
1228 ac_prev=site ;;
1229 -site=* | --site=* | --sit=*)
1230 site=$ac_optarg ;;
1232 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1233 ac_prev=srcdir ;;
1234 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1235 srcdir=$ac_optarg ;;
1237 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1238 | --syscon | --sysco | --sysc | --sys | --sy)
1239 ac_prev=sysconfdir ;;
1240 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1241 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1242 sysconfdir=$ac_optarg ;;
1244 -target | --target | --targe | --targ | --tar | --ta | --t)
1245 ac_prev=target_alias ;;
1246 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1247 target_alias=$ac_optarg ;;
1249 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1250 verbose=yes ;;
1252 -version | --version | --versio | --versi | --vers | -V)
1253 ac_init_version=: ;;
1255 -with-* | --with-*)
1256 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1257 # Reject names that are not valid shell variable names.
1258 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1259 as_fn_error "invalid package name: $ac_useropt"
1260 ac_useropt_orig=$ac_useropt
1261 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1262 case $ac_user_opts in
1264 "with_$ac_useropt"
1265 "*) ;;
1266 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1267 ac_unrecognized_sep=', ';;
1268 esac
1269 eval with_$ac_useropt=\$ac_optarg ;;
1271 -without-* | --without-*)
1272 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1275 as_fn_error "invalid package name: $ac_useropt"
1276 ac_useropt_orig=$ac_useropt
1277 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1280 "with_$ac_useropt"
1281 "*) ;;
1282 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1283 ac_unrecognized_sep=', ';;
1284 esac
1285 eval with_$ac_useropt=no ;;
1287 --x)
1288 # Obsolete; use --with-x.
1289 with_x=yes ;;
1291 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1292 | --x-incl | --x-inc | --x-in | --x-i)
1293 ac_prev=x_includes ;;
1294 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1295 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1296 x_includes=$ac_optarg ;;
1298 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1299 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1300 ac_prev=x_libraries ;;
1301 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1302 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1303 x_libraries=$ac_optarg ;;
1305 -*) as_fn_error "unrecognized option: \`$ac_option'
1306 Try \`$0 --help' for more information."
1309 *=*)
1310 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1311 # Reject names that are not valid shell variable names.
1312 case $ac_envvar in #(
1313 '' | [0-9]* | *[!_$as_cr_alnum]* )
1314 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1315 esac
1316 eval $ac_envvar=\$ac_optarg
1317 export $ac_envvar ;;
1320 # FIXME: should be removed in autoconf 3.0.
1321 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1322 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1323 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1324 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1327 esac
1328 done
1330 if test -n "$ac_prev"; then
1331 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1332 as_fn_error "missing argument to $ac_option"
1335 if test -n "$ac_unrecognized_opts"; then
1336 case $enable_option_checking in
1337 no) ;;
1338 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1339 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340 esac
1343 # Check all directory arguments for consistency.
1344 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1345 datadir sysconfdir sharedstatedir localstatedir includedir \
1346 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1347 libdir localedir mandir
1349 eval ac_val=\$$ac_var
1350 # Remove trailing slashes.
1351 case $ac_val in
1352 */ )
1353 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1354 eval $ac_var=\$ac_val;;
1355 esac
1356 # Be sure to have absolute directory names.
1357 case $ac_val in
1358 [\\/$]* | ?:[\\/]* ) continue;;
1359 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1360 esac
1361 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1362 done
1364 # There might be people who depend on the old broken behavior: `$host'
1365 # used to hold the argument of --host etc.
1366 # FIXME: To remove some day.
1367 build=$build_alias
1368 host=$host_alias
1369 target=$target_alias
1371 # FIXME: To remove some day.
1372 if test "x$host_alias" != x; then
1373 if test "x$build_alias" = x; then
1374 cross_compiling=maybe
1375 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1376 If a cross compiler is detected then cross compile mode will be used." >&2
1377 elif test "x$build_alias" != "x$host_alias"; then
1378 cross_compiling=yes
1382 ac_tool_prefix=
1383 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1385 test "$silent" = yes && exec 6>/dev/null
1388 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1389 ac_ls_di=`ls -di .` &&
1390 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1391 as_fn_error "working directory cannot be determined"
1392 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1393 as_fn_error "pwd does not report name of working directory"
1396 # Find the source files, if location was not specified.
1397 if test -z "$srcdir"; then
1398 ac_srcdir_defaulted=yes
1399 # Try the directory containing this script, then the parent directory.
1400 ac_confdir=`$as_dirname -- "$as_myself" ||
1401 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1402 X"$as_myself" : 'X\(//\)[^/]' \| \
1403 X"$as_myself" : 'X\(//\)$' \| \
1404 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1405 $as_echo X"$as_myself" |
1406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1407 s//\1/
1410 /^X\(\/\/\)[^/].*/{
1411 s//\1/
1414 /^X\(\/\/\)$/{
1415 s//\1/
1418 /^X\(\/\).*/{
1419 s//\1/
1422 s/.*/./; q'`
1423 srcdir=$ac_confdir
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1425 srcdir=..
1427 else
1428 ac_srcdir_defaulted=no
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1431 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1432 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1434 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1435 ac_abs_confdir=`(
1436 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1437 pwd)`
1438 # When building in place, set srcdir=.
1439 if test "$ac_abs_confdir" = "$ac_pwd"; then
1440 srcdir=.
1442 # Remove unnecessary trailing slashes from srcdir.
1443 # Double slashes in file names in object file debugging info
1444 # mess up M-x gdb in Emacs.
1445 case $srcdir in
1446 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447 esac
1448 for ac_var in $ac_precious_vars; do
1449 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1450 eval ac_env_${ac_var}_value=\$${ac_var}
1451 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1452 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1453 done
1456 # Report the --help message.
1458 if test "$ac_init_help" = "long"; then
1459 # Omit some internal or obsolete options to make the list less imposing.
1460 # This message is too long to be a string in the A/UX 3.1 sh.
1461 cat <<_ACEOF
1462 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1464 Usage: $0 [OPTION]... [VAR=VALUE]...
1466 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1467 VAR=VALUE. See below for descriptions of some of the useful variables.
1469 Defaults for the options are specified in brackets.
1471 Configuration:
1472 -h, --help display this help and exit
1473 --help=short display options specific to this package
1474 --help=recursive display the short help of all the included packages
1475 -V, --version display version information and exit
1476 -q, --quiet, --silent do not print \`checking...' messages
1477 --cache-file=FILE cache test results in FILE [disabled]
1478 -C, --config-cache alias for \`--cache-file=config.cache'
1479 -n, --no-create do not create output files
1480 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1482 Installation directories:
1483 --prefix=PREFIX install architecture-independent files in PREFIX
1484 [$ac_default_prefix]
1485 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1486 [PREFIX]
1488 By default, \`make install' will install all the files in
1489 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1490 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1491 for instance \`--prefix=\$HOME'.
1493 For better control, use the options below.
1495 Fine tuning of the installation directories:
1496 --bindir=DIR user executables [EPREFIX/bin]
1497 --sbindir=DIR system admin executables [EPREFIX/sbin]
1498 --libexecdir=DIR program executables [EPREFIX/libexec]
1499 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1500 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1501 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1502 --libdir=DIR object code libraries [EPREFIX/lib]
1503 --includedir=DIR C header files [PREFIX/include]
1504 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1505 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1506 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1507 --infodir=DIR info documentation [DATAROOTDIR/info]
1508 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1509 --mandir=DIR man documentation [DATAROOTDIR/man]
1510 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1511 --htmldir=DIR html documentation [DOCDIR]
1512 --dvidir=DIR dvi documentation [DOCDIR]
1513 --pdfdir=DIR pdf documentation [DOCDIR]
1514 --psdir=DIR ps documentation [DOCDIR]
1515 _ACEOF
1517 cat <<\_ACEOF
1519 Program names:
1520 --program-prefix=PREFIX prepend PREFIX to installed program names
1521 --program-suffix=SUFFIX append SUFFIX to installed program names
1522 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1524 System types:
1525 --build=BUILD configure for building on BUILD [guessed]
1526 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1527 --target=TARGET configure for building compilers for TARGET [HOST]
1528 _ACEOF
1531 if test -n "$ac_init_help"; then
1532 case $ac_init_help in
1533 short | recursive ) echo "Configuration of package-unused version-unused:";;
1534 esac
1535 cat <<\_ACEOF
1537 Optional Features:
1538 --disable-option-checking ignore unrecognized --enable/--with options
1539 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1540 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1541 --enable-multilib build many library versions (default)
1542 --enable-maintainer-mode enable make rules and dependencies not useful
1543 (and sometimes confusing) to the casual installer
1544 --enable-shared[=PKGS] build shared libraries [default=yes]
1545 --enable-static[=PKGS] build static libraries [default=yes]
1546 --enable-fast-install[=PKGS]
1547 optimize for fast installation [default=yes]
1548 --disable-libtool-lock avoid locking (might break parallel builds)
1549 --disable-hosted-libstdcxx
1550 only build freestanding C++ runtime support
1551 --disable-libstdcxx-verbose
1552 disable termination messages to standard error
1553 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1554 [default=$is_hosted]
1555 --enable-cstdio[=PACKAGE]
1556 use target-specific I/O package [default=stdio]
1557 --enable-clocale[=MODEL]
1558 use MODEL for target locale package [default=auto]
1559 --enable-nls use Native Language Support (default)
1560 --enable-libstdcxx-allocator[=KIND]
1561 use KIND for target std::allocator base
1562 [default=auto]
1563 --enable-cheaders[=KIND]
1564 construct "C" headers for g++ [default=$c_model]
1565 --enable-long-long enable template specializations for 'long long'
1566 [default=yes]
1567 --enable-wchar_t enable template specializations for 'wchar_t'
1568 [default=yes]
1569 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1570 --enable-concept-checks use Boost-derived template checks [default=no]
1571 --enable-libstdcxx-debug-flags=FLAGS
1572 pass compiler FLAGS when building debug library
1573 [default="-gdwarf-4 -g3 -O0"]
1574 --enable-libstdcxx-debug
1575 build extra debug library [default=no]
1576 --enable-cxx-flags=FLAGS
1577 pass compiler FLAGS when building library [default=]
1578 --enable-fully-dynamic-string
1579 do not put empty strings in per-process static
1580 memory [default=no]
1581 --enable-extern-template
1582 enable extern template [default=yes]
1583 --enable-werror turns on -Werror [default=yes]
1584 --enable-vtable-verify enable vtable verify [default=no]
1585 --enable-libstdcxx-time[=KIND]
1586 use KIND for check type [default=auto]
1587 --enable-tls Use thread-local storage [default=yes]
1588 --disable-rpath do not hardcode runtime library paths
1589 --enable-linux-futex use the Linux futex system call [default=default]
1590 --enable-symvers[=STYLE]
1591 enables symbol versioning of the shared library
1592 [default=yes]
1593 --enable-libstdcxx-visibility
1594 enables visibility safe usage [default=yes]
1595 --enable-libstdcxx-dual-abi
1596 support two versions of std::string [default=yes]
1597 --enable-libstdcxx-threads
1598 enable C++11 threads support [default=auto]
1599 --enable-libstdcxx-filesystem-ts
1600 turns on ISO/IEC TS 18822 support [default=auto]
1601 --enable-cet enable Intel CET in target libraries
1602 [default=default]
1603 --enable-version-specific-runtime-libs
1604 Specify that runtime libraries should be installed
1605 in a compiler-specific directory
1607 Optional Packages:
1608 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1609 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1610 --with-target-subdir=SUBDIR
1611 configuring in a subdirectory
1612 --with-cross-host=HOST configuring with a cross compiler
1613 --with-newlib assume newlib as a system C library
1614 --with-pic try to use only PIC/non-PIC objects [default=use
1615 both]
1616 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1617 --with-python-dir the location to install Python modules. This path is
1618 relative starting from the prefix.
1619 --with-gnu-ld assume the C compiler uses GNU ld default=no
1620 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1621 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1622 --with-system-libunwind use installed libunwind
1623 --with-default-libstdcxx-abi
1624 set the std::string ABI to use by default
1625 --with-gxx-include-dir=DIR
1626 installation directory for include files
1627 --with-gcc-major-version-only
1628 use only GCC major number in filesystem paths
1630 Some influential environment variables:
1631 CC C compiler command
1632 CFLAGS C compiler flags
1633 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1634 nonstandard directory <lib dir>
1635 LIBS libraries to pass to the linker, e.g. -l<library>
1636 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1637 you have headers in a nonstandard directory <include dir>
1638 CXX C++ compiler command
1639 CXXFLAGS C++ compiler flags
1640 CPP C preprocessor
1641 CXXCPP C++ preprocessor
1642 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1643 `c++filt', `gc++filt' on PATH.
1645 Use these variables to override the choices made by `configure' or to help
1646 it to find libraries and programs with nonstandard names/locations.
1648 Report bugs to the package provider.
1649 _ACEOF
1650 ac_status=$?
1653 if test "$ac_init_help" = "recursive"; then
1654 # If there are subdirs, report their specific --help.
1655 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1656 test -d "$ac_dir" ||
1657 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1658 continue
1659 ac_builddir=.
1661 case "$ac_dir" in
1662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1664 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1665 # A ".." for each directory in $ac_dir_suffix.
1666 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1667 case $ac_top_builddir_sub in
1668 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1669 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1670 esac ;;
1671 esac
1672 ac_abs_top_builddir=$ac_pwd
1673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1674 # for backward compatibility:
1675 ac_top_builddir=$ac_top_build_prefix
1677 case $srcdir in
1678 .) # We are building in place.
1679 ac_srcdir=.
1680 ac_top_srcdir=$ac_top_builddir_sub
1681 ac_abs_top_srcdir=$ac_pwd ;;
1682 [\\/]* | ?:[\\/]* ) # Absolute name.
1683 ac_srcdir=$srcdir$ac_dir_suffix;
1684 ac_top_srcdir=$srcdir
1685 ac_abs_top_srcdir=$srcdir ;;
1686 *) # Relative name.
1687 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1688 ac_top_srcdir=$ac_top_build_prefix$srcdir
1689 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1690 esac
1691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1693 cd "$ac_dir" || { ac_status=$?; continue; }
1694 # Check for guested configure.
1695 if test -f "$ac_srcdir/configure.gnu"; then
1696 echo &&
1697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1698 elif test -f "$ac_srcdir/configure"; then
1699 echo &&
1700 $SHELL "$ac_srcdir/configure" --help=recursive
1701 else
1702 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1703 fi || ac_status=$?
1704 cd "$ac_pwd" || { ac_status=$?; break; }
1705 done
1708 test -n "$ac_init_help" && exit $ac_status
1709 if $ac_init_version; then
1710 cat <<\_ACEOF
1711 package-unused configure version-unused
1712 generated by GNU Autoconf 2.64
1714 Copyright (C) 2009 Free Software Foundation, Inc.
1715 This configure script is free software; the Free Software Foundation
1716 gives unlimited permission to copy, distribute and modify it.
1717 _ACEOF
1718 exit
1721 ## ------------------------ ##
1722 ## Autoconf initialization. ##
1723 ## ------------------------ ##
1725 # ac_fn_c_try_compile LINENO
1726 # --------------------------
1727 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1728 ac_fn_c_try_compile ()
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 rm -f conftest.$ac_objext
1732 if { { ac_try="$ac_compile"
1733 case "(($ac_try" in
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_compile") 2>conftest.err
1740 ac_status=$?
1741 if test -s conftest.err; then
1742 grep -v '^ *+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest.$ac_objext; then :
1751 ac_retval=0
1752 else
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.$ac_ext >&5
1756 ac_retval=1
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759 return $ac_retval
1761 } # ac_fn_c_try_compile
1763 # ac_fn_cxx_try_compile LINENO
1764 # ----------------------------
1765 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_cxx_try_compile ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 rm -f conftest.$ac_objext
1770 if { { ac_try="$ac_compile"
1771 case "(($ac_try" in
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_compile") 2>conftest.err
1778 ac_status=$?
1779 if test -s conftest.err; then
1780 grep -v '^ *+' conftest.err >conftest.er1
1781 cat conftest.er1 >&5
1782 mv -f conftest.er1 conftest.err
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && {
1786 test -z "$ac_cxx_werror_flag" ||
1787 test ! -s conftest.err
1788 } && test -s conftest.$ac_objext; then :
1789 ac_retval=0
1790 else
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1794 ac_retval=1
1796 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797 return $ac_retval
1799 } # ac_fn_cxx_try_compile
1801 # ac_fn_c_try_cpp LINENO
1802 # ----------------------
1803 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_c_try_cpp ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 if { { ac_try="$ac_cpp conftest.$ac_ext"
1808 case "(($ac_try" in
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1811 esac
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1815 ac_status=$?
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } >/dev/null && {
1823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 }; then :
1826 ac_retval=0
1827 else
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1831 ac_retval=1
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 return $ac_retval
1836 } # ac_fn_c_try_cpp
1838 # ac_fn_c_try_link LINENO
1839 # -----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1841 ac_fn_c_try_link ()
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 rm -f conftest.$ac_objext conftest$ac_exeext
1845 if { { ac_try="$ac_link"
1846 case "(($ac_try" in
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1849 esac
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>conftest.err
1853 ac_status=$?
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_c_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest$ac_exeext && {
1864 test "$cross_compiling" = yes ||
1865 $as_test_x conftest$ac_exeext
1866 }; then :
1867 ac_retval=0
1868 else
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1872 ac_retval=1
1874 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876 # interfere with the next link command; also delete a directory that is
1877 # left behind by Apple's compiler. We do this before executing the actions.
1878 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1880 return $ac_retval
1882 } # ac_fn_c_try_link
1884 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1885 # -------------------------------------------------------
1886 # Tests whether HEADER exists and can be compiled using the include files in
1887 # INCLUDES, setting the cache variable VAR accordingly.
1888 ac_fn_c_check_header_compile ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1894 $as_echo_n "(cached) " >&6
1895 else
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1899 #include <$2>
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 eval "$3=yes"
1903 else
1904 eval "$3=no"
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1908 eval ac_res=\$$3
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1913 } # ac_fn_c_check_header_compile
1915 # ac_fn_c_try_run LINENO
1916 # ----------------------
1917 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1918 # that executables *can* be run.
1919 ac_fn_c_try_run ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 if { { ac_try="$ac_link"
1923 case "(($ac_try" in
1924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925 *) ac_try_echo=$ac_try;;
1926 esac
1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928 $as_echo "$ac_try_echo"; } >&5
1929 (eval "$ac_link") 2>&5
1930 ac_status=$?
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1933 { { case "(($ac_try" in
1934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1935 *) ac_try_echo=$ac_try;;
1936 esac
1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1938 $as_echo "$ac_try_echo"; } >&5
1939 (eval "$ac_try") 2>&5
1940 ac_status=$?
1941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942 test $ac_status = 0; }; }; then :
1943 ac_retval=0
1944 else
1945 $as_echo "$as_me: program exited with status $ac_status" >&5
1946 $as_echo "$as_me: failed program was:" >&5
1947 sed 's/^/| /' conftest.$ac_ext >&5
1949 ac_retval=$ac_status
1951 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1953 return $ac_retval
1955 } # ac_fn_c_try_run
1957 # ac_fn_c_check_func LINENO FUNC VAR
1958 # ----------------------------------
1959 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1960 ac_fn_c_check_func ()
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 $as_echo_n "checking for $2... " >&6; }
1965 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1966 $as_echo_n "(cached) " >&6
1967 else
1968 if test x$gcc_no_link = xyes; then
1969 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1973 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1975 #define $2 innocuous_$2
1977 /* System header to define __stub macros and hopefully few prototypes,
1978 which can conflict with char $2 (); below.
1979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1980 <limits.h> exists even on freestanding compilers. */
1982 #ifdef __STDC__
1983 # include <limits.h>
1984 #else
1985 # include <assert.h>
1986 #endif
1988 #undef $2
1990 /* Override any GCC internal prototype to avoid an error.
1991 Use char because int might match the return type of a GCC
1992 builtin and then its argument prototype would still apply. */
1993 #ifdef __cplusplus
1994 extern "C"
1995 #endif
1996 char $2 ();
1997 /* The GNU C library defines this for functions which it implements
1998 to always fail with ENOSYS. Some functions are actually named
1999 something starting with __ and the normal name is an alias. */
2000 #if defined __stub_$2 || defined __stub___$2
2001 choke me
2002 #endif
2005 main ()
2007 return $2 ();
2009 return 0;
2011 _ACEOF
2012 if ac_fn_c_try_link "$LINENO"; then :
2013 eval "$3=yes"
2014 else
2015 eval "$3=no"
2017 rm -f core conftest.err conftest.$ac_objext \
2018 conftest$ac_exeext conftest.$ac_ext
2020 eval ac_res=\$$3
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2023 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2025 } # ac_fn_c_check_func
2027 # ac_fn_cxx_try_cpp LINENO
2028 # ------------------------
2029 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2030 ac_fn_cxx_try_cpp ()
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 if { { ac_try="$ac_cpp conftest.$ac_ext"
2034 case "(($ac_try" in
2035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2036 *) ac_try_echo=$ac_try;;
2037 esac
2038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2039 $as_echo "$ac_try_echo"; } >&5
2040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2041 ac_status=$?
2042 if test -s conftest.err; then
2043 grep -v '^ *+' conftest.err >conftest.er1
2044 cat conftest.er1 >&5
2045 mv -f conftest.er1 conftest.err
2047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2048 test $ac_status = 0; } >/dev/null && {
2049 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2050 test ! -s conftest.err
2051 }; then :
2052 ac_retval=0
2053 else
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2057 ac_retval=1
2059 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2060 return $ac_retval
2062 } # ac_fn_cxx_try_cpp
2064 # ac_fn_cxx_try_link LINENO
2065 # -------------------------
2066 # Try to link conftest.$ac_ext, and return whether this succeeded.
2067 ac_fn_cxx_try_link ()
2069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070 rm -f conftest.$ac_objext conftest$ac_exeext
2071 if { { ac_try="$ac_link"
2072 case "(($ac_try" in
2073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2075 esac
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_link") 2>conftest.err
2079 ac_status=$?
2080 if test -s conftest.err; then
2081 grep -v '^ *+' conftest.err >conftest.er1
2082 cat conftest.er1 >&5
2083 mv -f conftest.er1 conftest.err
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; } && {
2087 test -z "$ac_cxx_werror_flag" ||
2088 test ! -s conftest.err
2089 } && test -s conftest$ac_exeext && {
2090 test "$cross_compiling" = yes ||
2091 $as_test_x conftest$ac_exeext
2092 }; then :
2093 ac_retval=0
2094 else
2095 $as_echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.$ac_ext >&5
2098 ac_retval=1
2100 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2101 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2102 # interfere with the next link command; also delete a directory that is
2103 # left behind by Apple's compiler. We do this before executing the actions.
2104 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106 return $ac_retval
2108 } # ac_fn_cxx_try_link
2110 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2111 # -------------------------------------------------------
2112 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2113 # the include files in INCLUDES and setting the cache variable VAR
2114 # accordingly.
2115 ac_fn_c_check_header_mongrel ()
2117 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2118 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120 $as_echo_n "checking for $2... " >&6; }
2121 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2122 $as_echo_n "(cached) " >&6
2124 eval ac_res=\$$3
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126 $as_echo "$ac_res" >&6; }
2127 else
2128 # Is the header compilable?
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2130 $as_echo_n "checking $2 usability... " >&6; }
2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2132 /* end confdefs.h. */
2134 #include <$2>
2135 _ACEOF
2136 if ac_fn_c_try_compile "$LINENO"; then :
2137 ac_header_compiler=yes
2138 else
2139 ac_header_compiler=no
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2143 $as_echo "$ac_header_compiler" >&6; }
2145 # Is the header present?
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2147 $as_echo_n "checking $2 presence... " >&6; }
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2150 #include <$2>
2151 _ACEOF
2152 if ac_fn_c_try_cpp "$LINENO"; then :
2153 ac_header_preproc=yes
2154 else
2155 ac_header_preproc=no
2157 rm -f conftest.err conftest.$ac_ext
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2159 $as_echo "$ac_header_preproc" >&6; }
2161 # So? What about this header?
2162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2163 yes:no: )
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2165 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2167 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2169 no:yes:* )
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2171 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2173 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2175 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2177 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2179 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2181 esac
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2183 $as_echo_n "checking for $2... " >&6; }
2184 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2185 $as_echo_n "(cached) " >&6
2186 else
2187 eval "$3=\$ac_header_compiler"
2189 eval ac_res=\$$3
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2191 $as_echo "$ac_res" >&6; }
2193 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2195 } # ac_fn_c_check_header_mongrel
2197 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2198 # ---------------------------------------------------------
2199 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2200 # the include files in INCLUDES and setting the cache variable VAR
2201 # accordingly.
2202 ac_fn_cxx_check_header_mongrel ()
2204 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2205 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2207 $as_echo_n "checking for $2... " >&6; }
2208 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2209 $as_echo_n "(cached) " >&6
2211 eval ac_res=\$$3
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2213 $as_echo "$ac_res" >&6; }
2214 else
2215 # Is the header compilable?
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2217 $as_echo_n "checking $2 usability... " >&6; }
2218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2221 #include <$2>
2222 _ACEOF
2223 if ac_fn_cxx_try_compile "$LINENO"; then :
2224 ac_header_compiler=yes
2225 else
2226 ac_header_compiler=no
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2230 $as_echo "$ac_header_compiler" >&6; }
2232 # Is the header present?
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2234 $as_echo_n "checking $2 presence... " >&6; }
2235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2236 /* end confdefs.h. */
2237 #include <$2>
2238 _ACEOF
2239 if ac_fn_cxx_try_cpp "$LINENO"; then :
2240 ac_header_preproc=yes
2241 else
2242 ac_header_preproc=no
2244 rm -f conftest.err conftest.$ac_ext
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2246 $as_echo "$ac_header_preproc" >&6; }
2248 # So? What about this header?
2249 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2250 yes:no: )
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2252 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2254 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2256 no:yes:* )
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2258 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2260 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2262 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2264 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2266 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2268 esac
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2270 $as_echo_n "checking for $2... " >&6; }
2271 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2272 $as_echo_n "(cached) " >&6
2273 else
2274 eval "$3=\$ac_header_compiler"
2276 eval ac_res=\$$3
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2278 $as_echo "$ac_res" >&6; }
2280 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2282 } # ac_fn_cxx_check_header_mongrel
2284 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2285 # --------------------------------------------
2286 # Tries to find the compile-time value of EXPR in a program that includes
2287 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2288 # computed
2289 ac_fn_c_compute_int ()
2291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2292 if test "$cross_compiling" = yes; then
2293 # Depending upon the size, compute the lo and hi bounds.
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2298 main ()
2300 static int test_array [1 - 2 * !(($2) >= 0)];
2301 test_array [0] = 0
2304 return 0;
2306 _ACEOF
2307 if ac_fn_c_try_compile "$LINENO"; then :
2308 ac_lo=0 ac_mid=0
2309 while :; do
2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h. */
2314 main ()
2316 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2317 test_array [0] = 0
2320 return 0;
2322 _ACEOF
2323 if ac_fn_c_try_compile "$LINENO"; then :
2324 ac_hi=$ac_mid; break
2325 else
2326 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2327 if test $ac_lo -le $ac_mid; then
2328 ac_lo= ac_hi=
2329 break
2331 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 done
2335 else
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2340 main ()
2342 static int test_array [1 - 2 * !(($2) < 0)];
2343 test_array [0] = 0
2346 return 0;
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 ac_hi=-1 ac_mid=-1
2351 while :; do
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2356 main ()
2358 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2359 test_array [0] = 0
2362 return 0;
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_lo=$ac_mid; break
2367 else
2368 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2369 if test $ac_mid -le $ac_hi; then
2370 ac_lo= ac_hi=
2371 break
2373 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2376 done
2377 else
2378 ac_lo= ac_hi=
2380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 # Binary search between lo and hi bounds.
2384 while test "x$ac_lo" != "x$ac_hi"; do
2385 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2390 main ()
2392 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2393 test_array [0] = 0
2396 return 0;
2398 _ACEOF
2399 if ac_fn_c_try_compile "$LINENO"; then :
2400 ac_hi=$ac_mid
2401 else
2402 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2405 done
2406 case $ac_lo in #((
2407 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2408 '') ac_retval=1 ;;
2409 esac
2410 else
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2414 static long int longval () { return $2; }
2415 static unsigned long int ulongval () { return $2; }
2416 #include <stdio.h>
2417 #include <stdlib.h>
2419 main ()
2422 FILE *f = fopen ("conftest.val", "w");
2423 if (! f)
2424 return 1;
2425 if (($2) < 0)
2427 long int i = longval ();
2428 if (i != ($2))
2429 return 1;
2430 fprintf (f, "%ld", i);
2432 else
2434 unsigned long int i = ulongval ();
2435 if (i != ($2))
2436 return 1;
2437 fprintf (f, "%lu", i);
2439 /* Do not output a trailing newline, as this causes \r\n confusion
2440 on some platforms. */
2441 return ferror (f) || fclose (f) != 0;
2444 return 0;
2446 _ACEOF
2447 if ac_fn_c_try_run "$LINENO"; then :
2448 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2449 else
2450 ac_retval=1
2452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2453 conftest.$ac_objext conftest.beam conftest.$ac_ext
2454 rm -f conftest.val
2457 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2458 return $ac_retval
2460 } # ac_fn_c_compute_int
2462 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2463 # -------------------------------------------
2464 # Tests whether TYPE exists after having included INCLUDES, setting cache
2465 # variable VAR accordingly.
2466 ac_fn_c_check_type ()
2468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2470 $as_echo_n "checking for $2... " >&6; }
2471 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2472 $as_echo_n "(cached) " >&6
2473 else
2474 eval "$3=no"
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2479 main ()
2481 if (sizeof ($2))
2482 return 0;
2484 return 0;
2486 _ACEOF
2487 if ac_fn_c_try_compile "$LINENO"; then :
2488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h. */
2492 main ()
2494 if (sizeof (($2)))
2495 return 0;
2497 return 0;
2499 _ACEOF
2500 if ac_fn_c_try_compile "$LINENO"; then :
2502 else
2503 eval "$3=yes"
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2509 eval ac_res=\$$3
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2511 $as_echo "$ac_res" >&6; }
2512 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2514 } # ac_fn_c_check_type
2516 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2517 # ---------------------------------------------
2518 # Tests whether TYPE exists after having included INCLUDES, setting cache
2519 # variable VAR accordingly.
2520 ac_fn_cxx_check_type ()
2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2524 $as_echo_n "checking for $2... " >&6; }
2525 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2526 $as_echo_n "(cached) " >&6
2527 else
2528 eval "$3=no"
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2533 main ()
2535 if (sizeof ($2))
2536 return 0;
2538 return 0;
2540 _ACEOF
2541 if ac_fn_cxx_try_compile "$LINENO"; then :
2542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2543 /* end confdefs.h. */
2546 main ()
2548 if (sizeof (($2)))
2549 return 0;
2551 return 0;
2553 _ACEOF
2554 if ac_fn_cxx_try_compile "$LINENO"; then :
2556 else
2557 eval "$3=yes"
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2563 eval ac_res=\$$3
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2565 $as_echo "$ac_res" >&6; }
2566 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2568 } # ac_fn_cxx_check_type
2569 cat >config.log <<_ACEOF
2570 This file contains any messages produced by compilers while
2571 running configure, to aid debugging if configure makes a mistake.
2573 It was created by package-unused $as_me version-unused, which was
2574 generated by GNU Autoconf 2.64. Invocation command line was
2576 $ $0 $@
2578 _ACEOF
2579 exec 5>>config.log
2581 cat <<_ASUNAME
2582 ## --------- ##
2583 ## Platform. ##
2584 ## --------- ##
2586 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2587 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2588 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2589 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2590 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2592 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2593 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2595 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2596 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2597 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2598 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2599 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2600 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2601 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2603 _ASUNAME
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 for as_dir in $PATH
2608 IFS=$as_save_IFS
2609 test -z "$as_dir" && as_dir=.
2610 $as_echo "PATH: $as_dir"
2611 done
2612 IFS=$as_save_IFS
2614 } >&5
2616 cat >&5 <<_ACEOF
2619 ## ----------- ##
2620 ## Core tests. ##
2621 ## ----------- ##
2623 _ACEOF
2626 # Keep a trace of the command line.
2627 # Strip out --no-create and --no-recursion so they do not pile up.
2628 # Strip out --silent because we don't want to record it for future runs.
2629 # Also quote any args containing shell meta-characters.
2630 # Make two passes to allow for proper duplicate-argument suppression.
2631 ac_configure_args=
2632 ac_configure_args0=
2633 ac_configure_args1=
2634 ac_must_keep_next=false
2635 for ac_pass in 1 2
2637 for ac_arg
2639 case $ac_arg in
2640 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2642 | -silent | --silent | --silen | --sile | --sil)
2643 continue ;;
2644 *\'*)
2645 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2646 esac
2647 case $ac_pass in
2648 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2650 as_fn_append ac_configure_args1 " '$ac_arg'"
2651 if test $ac_must_keep_next = true; then
2652 ac_must_keep_next=false # Got value, back to normal.
2653 else
2654 case $ac_arg in
2655 *=* | --config-cache | -C | -disable-* | --disable-* \
2656 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2657 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2658 | -with-* | --with-* | -without-* | --without-* | --x)
2659 case "$ac_configure_args0 " in
2660 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2661 esac
2663 -* ) ac_must_keep_next=true ;;
2664 esac
2666 as_fn_append ac_configure_args " '$ac_arg'"
2668 esac
2669 done
2670 done
2671 { ac_configure_args0=; unset ac_configure_args0;}
2672 { ac_configure_args1=; unset ac_configure_args1;}
2674 # When interrupted or exit'd, cleanup temporary files, and complete
2675 # config.log. We remove comments because anyway the quotes in there
2676 # would cause problems or look ugly.
2677 # WARNING: Use '\'' to represent an apostrophe within the trap.
2678 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2679 trap 'exit_status=$?
2680 # Save into config.log some information that might help in debugging.
2682 echo
2684 cat <<\_ASBOX
2685 ## ---------------- ##
2686 ## Cache variables. ##
2687 ## ---------------- ##
2688 _ASBOX
2689 echo
2690 # The following way of writing the cache mishandles newlines in values,
2692 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2693 eval ac_val=\$$ac_var
2694 case $ac_val in #(
2695 *${as_nl}*)
2696 case $ac_var in #(
2697 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2698 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2699 esac
2700 case $ac_var in #(
2701 _ | IFS | as_nl) ;; #(
2702 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2703 *) { eval $ac_var=; unset $ac_var;} ;;
2704 esac ;;
2705 esac
2706 done
2707 (set) 2>&1 |
2708 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2709 *${as_nl}ac_space=\ *)
2710 sed -n \
2711 "s/'\''/'\''\\\\'\'''\''/g;
2712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2713 ;; #(
2715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2717 esac |
2718 sort
2720 echo
2722 cat <<\_ASBOX
2723 ## ----------------- ##
2724 ## Output variables. ##
2725 ## ----------------- ##
2726 _ASBOX
2727 echo
2728 for ac_var in $ac_subst_vars
2730 eval ac_val=\$$ac_var
2731 case $ac_val in
2732 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2733 esac
2734 $as_echo "$ac_var='\''$ac_val'\''"
2735 done | sort
2736 echo
2738 if test -n "$ac_subst_files"; then
2739 cat <<\_ASBOX
2740 ## ------------------- ##
2741 ## File substitutions. ##
2742 ## ------------------- ##
2743 _ASBOX
2744 echo
2745 for ac_var in $ac_subst_files
2747 eval ac_val=\$$ac_var
2748 case $ac_val in
2749 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2750 esac
2751 $as_echo "$ac_var='\''$ac_val'\''"
2752 done | sort
2753 echo
2756 if test -s confdefs.h; then
2757 cat <<\_ASBOX
2758 ## ----------- ##
2759 ## confdefs.h. ##
2760 ## ----------- ##
2761 _ASBOX
2762 echo
2763 cat confdefs.h
2764 echo
2766 test "$ac_signal" != 0 &&
2767 $as_echo "$as_me: caught signal $ac_signal"
2768 $as_echo "$as_me: exit $exit_status"
2769 } >&5
2770 rm -f core *.core core.conftest.* &&
2771 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2772 exit $exit_status
2774 for ac_signal in 1 2 13 15; do
2775 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2776 done
2777 ac_signal=0
2779 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2780 rm -f -r conftest* confdefs.h
2782 $as_echo "/* confdefs.h */" > confdefs.h
2784 # Predefined preprocessor variables.
2786 cat >>confdefs.h <<_ACEOF
2787 #define PACKAGE_NAME "$PACKAGE_NAME"
2788 _ACEOF
2790 cat >>confdefs.h <<_ACEOF
2791 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2792 _ACEOF
2794 cat >>confdefs.h <<_ACEOF
2795 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2796 _ACEOF
2798 cat >>confdefs.h <<_ACEOF
2799 #define PACKAGE_STRING "$PACKAGE_STRING"
2800 _ACEOF
2802 cat >>confdefs.h <<_ACEOF
2803 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2804 _ACEOF
2806 cat >>confdefs.h <<_ACEOF
2807 #define PACKAGE_URL "$PACKAGE_URL"
2808 _ACEOF
2811 # Let the site file select an alternate cache file if it wants to.
2812 # Prefer an explicitly selected file to automatically selected ones.
2813 ac_site_file1=NONE
2814 ac_site_file2=NONE
2815 if test -n "$CONFIG_SITE"; then
2816 ac_site_file1=$CONFIG_SITE
2817 elif test "x$prefix" != xNONE; then
2818 ac_site_file1=$prefix/share/config.site
2819 ac_site_file2=$prefix/etc/config.site
2820 else
2821 ac_site_file1=$ac_default_prefix/share/config.site
2822 ac_site_file2=$ac_default_prefix/etc/config.site
2824 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2826 test "x$ac_site_file" = xNONE && continue
2827 if test -r "$ac_site_file"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2829 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2830 sed 's/^/| /' "$ac_site_file" >&5
2831 . "$ac_site_file"
2833 done
2835 if test -r "$cache_file"; then
2836 # Some versions of bash will fail to source /dev/null (special
2837 # files actually), so we avoid doing that.
2838 if test -f "$cache_file"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2840 $as_echo "$as_me: loading cache $cache_file" >&6;}
2841 case $cache_file in
2842 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2843 *) . "./$cache_file";;
2844 esac
2846 else
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2848 $as_echo "$as_me: creating cache $cache_file" >&6;}
2849 >$cache_file
2852 # Check that the precious variables saved in the cache have kept the same
2853 # value.
2854 ac_cache_corrupted=false
2855 for ac_var in $ac_precious_vars; do
2856 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2857 eval ac_new_set=\$ac_env_${ac_var}_set
2858 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2859 eval ac_new_val=\$ac_env_${ac_var}_value
2860 case $ac_old_set,$ac_new_set in
2861 set,)
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2863 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2864 ac_cache_corrupted=: ;;
2865 ,set)
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2867 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2868 ac_cache_corrupted=: ;;
2869 ,);;
2871 if test "x$ac_old_val" != "x$ac_new_val"; then
2872 # differences in whitespace do not lead to failure.
2873 ac_old_val_w=`echo x $ac_old_val`
2874 ac_new_val_w=`echo x $ac_new_val`
2875 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2877 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2878 ac_cache_corrupted=:
2879 else
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2881 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2882 eval $ac_var=\$ac_old_val
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2885 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2887 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2888 fi;;
2889 esac
2890 # Pass precious variables to config.status.
2891 if test "$ac_new_set" = set; then
2892 case $ac_new_val in
2893 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2894 *) ac_arg=$ac_var=$ac_new_val ;;
2895 esac
2896 case " $ac_configure_args " in
2897 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2898 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2899 esac
2901 done
2902 if $ac_cache_corrupted; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2906 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2907 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2909 ## -------------------- ##
2910 ## Main body of script. ##
2911 ## -------------------- ##
2913 ac_ext=c
2914 ac_cpp='$CPP $CPPFLAGS'
2915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2924 ac_config_headers="$ac_config_headers config.h"
2927 # This works around the fact that libtool configuration may change LD
2928 # for this particular configuration, but some shells, instead of
2929 # keeping the changes in LD private, export them just because LD is
2930 # exported. Only used at the end of this file.
2931 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2933 # Find the rest of the source tree framework.
2934 # Default to --enable-multilib
2935 # Check whether --enable-multilib was given.
2936 if test "${enable_multilib+set}" = set; then :
2937 enableval=$enable_multilib; case "$enableval" in
2938 yes) multilib=yes ;;
2939 no) multilib=no ;;
2940 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2941 esac
2942 else
2943 multilib=yes
2947 # We may get other options which we leave undocumented:
2948 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2949 # See config-ml.in if you want the gory details.
2951 if test "$srcdir" = "."; then
2952 if test "$with_target_subdir" != "."; then
2953 multi_basedir="$srcdir/$with_multisrctop../.."
2954 else
2955 multi_basedir="$srcdir/$with_multisrctop.."
2957 else
2958 multi_basedir="$srcdir/.."
2962 # Even if the default multilib is not a cross compilation,
2963 # it may be that some of the other multilibs are.
2964 if test $cross_compiling = no && test $multilib = yes \
2965 && test "x${with_multisubdir}" != x ; then
2966 cross_compiling=maybe
2969 ac_config_commands="$ac_config_commands default-1"
2972 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2974 # You will slowly go insane if you do not grok the following fact: when
2975 # building v3 as part of the compiler, the top-level /target/ becomes the
2976 # library's /host/. configure then causes --target to default to --host,
2977 # exactly like any other package using autoconf. Therefore, 'target' and
2978 # 'host' will always be the same. This makes sense both for native and
2979 # cross compilers, just think about it for a little while. :-)
2981 # Also, if v3 is being configured as part of a cross compiler, the top-level
2982 # configure script will pass the "real" host as $with_cross_host.
2984 # Do not delete or change the following two lines. For why, see
2985 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2986 ac_aux_dir=
2987 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2988 for ac_t in install-sh install.sh shtool; do
2989 if test -f "$ac_dir/$ac_t"; then
2990 ac_aux_dir=$ac_dir
2991 ac_install_sh="$ac_aux_dir/$ac_t -c"
2992 break 2
2994 done
2995 done
2996 if test -z "$ac_aux_dir"; then
2997 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3000 # These three variables are undocumented and unsupported,
3001 # and are intended to be withdrawn in a future Autoconf release.
3002 # They can cause serious problems if a builder's source tree is in a directory
3003 # whose full name contains unusual characters.
3004 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3005 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3006 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3009 # Make sure we can run config.sub.
3010 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3011 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3014 $as_echo_n "checking build system type... " >&6; }
3015 if test "${ac_cv_build+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3017 else
3018 ac_build_alias=$build_alias
3019 test "x$ac_build_alias" = x &&
3020 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3021 test "x$ac_build_alias" = x &&
3022 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3023 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3024 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3028 $as_echo "$ac_cv_build" >&6; }
3029 case $ac_cv_build in
3030 *-*-*) ;;
3031 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3032 esac
3033 build=$ac_cv_build
3034 ac_save_IFS=$IFS; IFS='-'
3035 set x $ac_cv_build
3036 shift
3037 build_cpu=$1
3038 build_vendor=$2
3039 shift; shift
3040 # Remember, the first character of IFS is used to create $*,
3041 # except with old shells:
3042 build_os=$*
3043 IFS=$ac_save_IFS
3044 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3048 $as_echo_n "checking host system type... " >&6; }
3049 if test "${ac_cv_host+set}" = set; then :
3050 $as_echo_n "(cached) " >&6
3051 else
3052 if test "x$host_alias" = x; then
3053 ac_cv_host=$ac_cv_build
3054 else
3055 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3056 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3061 $as_echo "$ac_cv_host" >&6; }
3062 case $ac_cv_host in
3063 *-*-*) ;;
3064 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3065 esac
3066 host=$ac_cv_host
3067 ac_save_IFS=$IFS; IFS='-'
3068 set x $ac_cv_host
3069 shift
3070 host_cpu=$1
3071 host_vendor=$2
3072 shift; shift
3073 # Remember, the first character of IFS is used to create $*,
3074 # except with old shells:
3075 host_os=$*
3076 IFS=$ac_save_IFS
3077 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3081 $as_echo_n "checking target system type... " >&6; }
3082 if test "${ac_cv_target+set}" = set; then :
3083 $as_echo_n "(cached) " >&6
3084 else
3085 if test "x$target_alias" = x; then
3086 ac_cv_target=$ac_cv_host
3087 else
3088 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3089 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3094 $as_echo "$ac_cv_target" >&6; }
3095 case $ac_cv_target in
3096 *-*-*) ;;
3097 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3098 esac
3099 target=$ac_cv_target
3100 ac_save_IFS=$IFS; IFS='-'
3101 set x $ac_cv_target
3102 shift
3103 target_cpu=$1
3104 target_vendor=$2
3105 shift; shift
3106 # Remember, the first character of IFS is used to create $*,
3107 # except with old shells:
3108 target_os=$*
3109 IFS=$ac_save_IFS
3110 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3113 # The aliases save the names the user supplied, while $host etc.
3114 # will get canonicalized.
3115 test -n "$target_alias" &&
3116 test "$program_prefix$program_suffix$program_transform_name" = \
3117 NONENONEs,x,x, &&
3118 program_prefix=${target_alias}-
3120 target_alias=${target_alias-$host_alias}
3122 # Handy for debugging:
3123 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3125 if test "$build" != "$host"; then
3126 # We are being configured with some form of cross compiler.
3127 GLIBCXX_IS_NATIVE=false
3128 case "$host","$target" in
3129 # Darwin crosses can use the host system's libraries and headers,
3130 # because of the fat library support. Of course, it must be the
3131 # same version of Darwin on both sides. Allow the user to
3132 # just say --target=foo-darwin without a version number to mean
3133 # "the version on this system".
3134 *-*-darwin*,*-*-darwin*)
3135 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3136 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3137 if test $hostos = $targetos -o $targetos = darwin ; then
3138 GLIBCXX_IS_NATIVE=true
3145 esac
3146 else
3147 GLIBCXX_IS_NATIVE=true
3150 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3151 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3152 # 1.x: minimum required version
3153 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3154 # of other PACKAGE_* variables will, however, and there's nothing
3155 # we can do about that; they come from AC_INIT).
3156 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3157 # file in the top srcdir, etc, etc), so stop complaining.
3158 # no-dependencies: turns off auto dependency generation (just for now)
3159 # no-dist: we don't want 'dist' and related rules.
3160 # -Wall: turns on all automake warnings...
3161 # -Wno-portability: ...except this one, since GNU make is now required.
3162 am__api_version='1.11'
3164 # Find a good install program. We prefer a C program (faster),
3165 # so one script is as good as another. But avoid the broken or
3166 # incompatible versions:
3167 # SysV /etc/install, /usr/sbin/install
3168 # SunOS /usr/etc/install
3169 # IRIX /sbin/install
3170 # AIX /bin/install
3171 # AmigaOS /C/install, which installs bootblocks on floppy discs
3172 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3173 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3174 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3175 # OS/2's system install, which has a completely different semantic
3176 # ./install, which can be erroneously created by make from ./install.sh.
3177 # Reject install programs that cannot install multiple files.
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3179 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3180 if test -z "$INSTALL"; then
3181 if test "${ac_cv_path_install+set}" = set; then :
3182 $as_echo_n "(cached) " >&6
3183 else
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH
3187 IFS=$as_save_IFS
3188 test -z "$as_dir" && as_dir=.
3189 # Account for people who put trailing slashes in PATH elements.
3190 case $as_dir/ in #((
3191 ./ | .// | /[cC]/* | \
3192 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3193 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3194 /usr/ucb/* ) ;;
3196 # OSF1 and SCO ODT 3.0 have their own names for install.
3197 # Don't use installbsd from OSF since it installs stuff as root
3198 # by default.
3199 for ac_prog in ginstall scoinst install; do
3200 for ac_exec_ext in '' $ac_executable_extensions; do
3201 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3202 if test $ac_prog = install &&
3203 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3204 # AIX install. It has an incompatible calling convention.
3206 elif test $ac_prog = install &&
3207 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3208 # program-specific install script used by HP pwplus--don't use.
3210 else
3211 rm -rf conftest.one conftest.two conftest.dir
3212 echo one > conftest.one
3213 echo two > conftest.two
3214 mkdir conftest.dir
3215 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3216 test -s conftest.one && test -s conftest.two &&
3217 test -s conftest.dir/conftest.one &&
3218 test -s conftest.dir/conftest.two
3219 then
3220 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3221 break 3
3225 done
3226 done
3228 esac
3230 done
3231 IFS=$as_save_IFS
3233 rm -rf conftest.one conftest.two conftest.dir
3236 if test "${ac_cv_path_install+set}" = set; then
3237 INSTALL=$ac_cv_path_install
3238 else
3239 # As a last resort, use the slow shell script. Don't cache a
3240 # value for INSTALL within a source directory, because that will
3241 # break other packages using the cache if that directory is
3242 # removed, or if the value is a relative name.
3243 INSTALL=$ac_install_sh
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3247 $as_echo "$INSTALL" >&6; }
3249 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3250 # It thinks the first close brace ends the variable substitution.
3251 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3253 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3255 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3258 $as_echo_n "checking whether build environment is sane... " >&6; }
3259 # Just in case
3260 sleep 1
3261 echo timestamp > conftest.file
3262 # Reject unsafe characters in $srcdir or the absolute working directory
3263 # name. Accept space and tab only in the latter.
3264 am_lf='
3266 case `pwd` in
3267 *[\\\"\#\$\&\'\`$am_lf]*)
3268 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3269 esac
3270 case $srcdir in
3271 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3272 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3273 esac
3275 # Do `set' in a subshell so we don't clobber the current shell's
3276 # arguments. Must try -L first in case configure is actually a
3277 # symlink; some systems play weird games with the mod time of symlinks
3278 # (eg FreeBSD returns the mod time of the symlink's containing
3279 # directory).
3280 if (
3281 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3282 if test "$*" = "X"; then
3283 # -L didn't work.
3284 set X `ls -t "$srcdir/configure" conftest.file`
3286 rm -f conftest.file
3287 if test "$*" != "X $srcdir/configure conftest.file" \
3288 && test "$*" != "X conftest.file $srcdir/configure"; then
3290 # If neither matched, then we have a broken ls. This can happen
3291 # if, for instance, CONFIG_SHELL is bash and it inherits a
3292 # broken ls alias from the environment. This has actually
3293 # happened. Such a system could not be considered "sane".
3294 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3295 alias in your environment" "$LINENO" 5
3298 test "$2" = conftest.file
3300 then
3301 # Ok.
3303 else
3304 as_fn_error "newly created file is older than distributed files!
3305 Check your system clock" "$LINENO" 5
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3308 $as_echo "yes" >&6; }
3309 test "$program_prefix" != NONE &&
3310 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3311 # Use a double $ so make ignores it.
3312 test "$program_suffix" != NONE &&
3313 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3314 # Double any \ or $.
3315 # By default was `s,x,x', remove it if useless.
3316 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3317 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3319 # expand $ac_aux_dir to an absolute path
3320 am_aux_dir=`cd $ac_aux_dir && pwd`
3322 if test x"${MISSING+set}" != xset; then
3323 case $am_aux_dir in
3324 *\ * | *\ *)
3325 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3327 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3328 esac
3330 # Use eval to expand $SHELL
3331 if eval "$MISSING --run true"; then
3332 am_missing_run="$MISSING --run "
3333 else
3334 am_missing_run=
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3336 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3339 if test x"${install_sh}" != xset; then
3340 case $am_aux_dir in
3341 *\ * | *\ *)
3342 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3344 install_sh="\${SHELL} $am_aux_dir/install-sh"
3345 esac
3348 # Installed binaries are usually stripped using `strip' when the user
3349 # run `make install-strip'. However `strip' might not be the right
3350 # tool to use in cross-compilation environments, therefore Automake
3351 # will honor the `STRIP' environment variable to overrule this program.
3352 if test "$cross_compiling" != no; then
3353 if test -n "$ac_tool_prefix"; then
3354 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3355 set dummy ${ac_tool_prefix}strip; ac_word=$2
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357 $as_echo_n "checking for $ac_word... " >&6; }
3358 if test "${ac_cv_prog_STRIP+set}" = set; then :
3359 $as_echo_n "(cached) " >&6
3360 else
3361 if test -n "$STRIP"; then
3362 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3363 else
3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 for as_dir in $PATH
3367 IFS=$as_save_IFS
3368 test -z "$as_dir" && as_dir=.
3369 for ac_exec_ext in '' $ac_executable_extensions; do
3370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3371 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 break 2
3375 done
3376 done
3377 IFS=$as_save_IFS
3381 STRIP=$ac_cv_prog_STRIP
3382 if test -n "$STRIP"; then
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3384 $as_echo "$STRIP" >&6; }
3385 else
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387 $as_echo "no" >&6; }
3392 if test -z "$ac_cv_prog_STRIP"; then
3393 ac_ct_STRIP=$STRIP
3394 # Extract the first word of "strip", so it can be a program name with args.
3395 set dummy strip; ac_word=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 if test -n "$ac_ct_STRIP"; then
3402 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3403 else
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH
3407 IFS=$as_save_IFS
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 ac_cv_prog_ac_ct_STRIP="strip"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 break 2
3415 done
3416 done
3417 IFS=$as_save_IFS
3421 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3422 if test -n "$ac_ct_STRIP"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3424 $as_echo "$ac_ct_STRIP" >&6; }
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3430 if test "x$ac_ct_STRIP" = x; then
3431 STRIP=":"
3432 else
3433 case $cross_compiling:$ac_tool_warned in
3434 yes:)
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3437 ac_tool_warned=yes ;;
3438 esac
3439 STRIP=$ac_ct_STRIP
3441 else
3442 STRIP="$ac_cv_prog_STRIP"
3446 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3449 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3450 if test -z "$MKDIR_P"; then
3451 if test "${ac_cv_path_mkdir+set}" = set; then :
3452 $as_echo_n "(cached) " >&6
3453 else
3454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3457 IFS=$as_save_IFS
3458 test -z "$as_dir" && as_dir=.
3459 for ac_prog in mkdir gmkdir; do
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3462 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3463 'mkdir (GNU coreutils) '* | \
3464 'mkdir (coreutils) '* | \
3465 'mkdir (fileutils) '4.1*)
3466 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3467 break 3;;
3468 esac
3469 done
3470 done
3471 done
3472 IFS=$as_save_IFS
3476 if test "${ac_cv_path_mkdir+set}" = set; then
3477 MKDIR_P="$ac_cv_path_mkdir -p"
3478 else
3479 # As a last resort, use the slow shell script. Don't cache a
3480 # value for MKDIR_P within a source directory, because that will
3481 # break other packages using the cache if that directory is
3482 # removed, or if the value is a relative name.
3483 test -d ./--version && rmdir ./--version
3484 MKDIR_P="$ac_install_sh -d"
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3488 $as_echo "$MKDIR_P" >&6; }
3490 mkdir_p="$MKDIR_P"
3491 case $mkdir_p in
3492 [\\/$]* | ?:[\\/]*) ;;
3493 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3494 esac
3496 for ac_prog in gawk mawk nawk awk
3498 # Extract the first word of "$ac_prog", so it can be a program name with args.
3499 set dummy $ac_prog; ac_word=$2
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3501 $as_echo_n "checking for $ac_word... " >&6; }
3502 if test "${ac_cv_prog_AWK+set}" = set; then :
3503 $as_echo_n "(cached) " >&6
3504 else
3505 if test -n "$AWK"; then
3506 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3511 IFS=$as_save_IFS
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3515 ac_cv_prog_AWK="$ac_prog"
3516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 break 2
3519 done
3520 done
3521 IFS=$as_save_IFS
3525 AWK=$ac_cv_prog_AWK
3526 if test -n "$AWK"; then
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3528 $as_echo "$AWK" >&6; }
3529 else
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3535 test -n "$AWK" && break
3536 done
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3539 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3540 set x ${MAKE-make}
3541 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3542 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3543 $as_echo_n "(cached) " >&6
3544 else
3545 cat >conftest.make <<\_ACEOF
3546 SHELL = /bin/sh
3547 all:
3548 @echo '@@@%%%=$(MAKE)=@@@%%%'
3549 _ACEOF
3550 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3551 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3552 *@@@%%%=?*=@@@%%%*)
3553 eval ac_cv_prog_make_${ac_make}_set=yes;;
3555 eval ac_cv_prog_make_${ac_make}_set=no;;
3556 esac
3557 rm -f conftest.make
3559 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3561 $as_echo "yes" >&6; }
3562 SET_MAKE=
3563 else
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3566 SET_MAKE="MAKE=${MAKE-make}"
3569 rm -rf .tst 2>/dev/null
3570 mkdir .tst 2>/dev/null
3571 if test -d .tst; then
3572 am__leading_dot=.
3573 else
3574 am__leading_dot=_
3576 rmdir .tst 2>/dev/null
3578 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3579 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3580 # is not polluted with repeated "-I."
3581 am__isrc=' -I$(srcdir)'
3582 # test to see if srcdir already configured
3583 if test -f $srcdir/config.status; then
3584 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3588 # test whether we have cygpath
3589 if test -z "$CYGPATH_W"; then
3590 if (cygpath --version) >/dev/null 2>/dev/null; then
3591 CYGPATH_W='cygpath -w'
3592 else
3593 CYGPATH_W=echo
3598 # Define the identity of the package.
3599 PACKAGE='libstdc++'
3600 VERSION='version-unused'
3603 # Some tools Automake needs.
3605 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3608 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3611 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3614 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3617 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3619 # We need awk for the "check" target. The system "awk" is bad on
3620 # some platforms.
3621 # Always define AMTAR for backward compatibility. Yes, it's still used
3622 # in the wild :-( We should find a proper way to deprecate it ...
3623 AMTAR='$${TAR-tar}'
3625 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3634 # -fno-builtin must be present here so that a non-conflicting form of
3635 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3637 save_CXXFLAGS="$CXXFLAGS"
3638 CXXFLAGS="$CXXFLAGS -fno-builtin"
3639 ac_ext=c
3640 ac_cpp='$CPP $CPPFLAGS'
3641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3644 if test -n "$ac_tool_prefix"; then
3645 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3646 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if test "${ac_cv_prog_CC+set}" = set; then :
3650 $as_echo_n "(cached) " >&6
3651 else
3652 if test -n "$CC"; then
3653 ac_cv_prog_CC="$CC" # Let the user override the test.
3654 else
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH
3658 IFS=$as_save_IFS
3659 test -z "$as_dir" && as_dir=.
3660 for ac_exec_ext in '' $ac_executable_extensions; do
3661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 break 2
3666 done
3667 done
3668 IFS=$as_save_IFS
3672 CC=$ac_cv_prog_CC
3673 if test -n "$CC"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 $as_echo "$CC" >&6; }
3676 else
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3683 if test -z "$ac_cv_prog_CC"; then
3684 ac_ct_CC=$CC
3685 # Extract the first word of "gcc", so it can be a program name with args.
3686 set dummy gcc; ac_word=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3690 $as_echo_n "(cached) " >&6
3691 else
3692 if test -n "$ac_ct_CC"; then
3693 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3694 else
3695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 for as_dir in $PATH
3698 IFS=$as_save_IFS
3699 test -z "$as_dir" && as_dir=.
3700 for ac_exec_ext in '' $ac_executable_extensions; do
3701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3702 ac_cv_prog_ac_ct_CC="gcc"
3703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 break 2
3706 done
3707 done
3708 IFS=$as_save_IFS
3712 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3713 if test -n "$ac_ct_CC"; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3715 $as_echo "$ac_ct_CC" >&6; }
3716 else
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3718 $as_echo "no" >&6; }
3721 if test "x$ac_ct_CC" = x; then
3722 CC=""
3723 else
3724 case $cross_compiling:$ac_tool_warned in
3725 yes:)
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3728 ac_tool_warned=yes ;;
3729 esac
3730 CC=$ac_ct_CC
3732 else
3733 CC="$ac_cv_prog_CC"
3736 if test -z "$CC"; then
3737 if test -n "$ac_tool_prefix"; then
3738 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3739 set dummy ${ac_tool_prefix}cc; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_CC+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC="$CC" # Let the user override the test.
3747 else
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_CC="${ac_tool_prefix}cc"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 break 2
3759 done
3760 done
3761 IFS=$as_save_IFS
3765 CC=$ac_cv_prog_CC
3766 if test -n "$CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3768 $as_echo "$CC" >&6; }
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3777 if test -z "$CC"; then
3778 # Extract the first word of "cc", so it can be a program name with args.
3779 set dummy cc; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_CC+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3784 else
3785 if test -n "$CC"; then
3786 ac_cv_prog_CC="$CC" # Let the user override the test.
3787 else
3788 ac_prog_rejected=no
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3797 ac_prog_rejected=yes
3798 continue
3800 ac_cv_prog_CC="cc"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 break 2
3804 done
3805 done
3806 IFS=$as_save_IFS
3808 if test $ac_prog_rejected = yes; then
3809 # We found a bogon in the path, so make sure we never use it.
3810 set dummy $ac_cv_prog_CC
3811 shift
3812 if test $# != 0; then
3813 # We chose a different compiler from the bogus one.
3814 # However, it has the same basename, so the bogon will be chosen
3815 # first if we set CC to just the basename; use the full file name.
3816 shift
3817 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3822 CC=$ac_cv_prog_CC
3823 if test -n "$CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3825 $as_echo "$CC" >&6; }
3826 else
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3833 if test -z "$CC"; then
3834 if test -n "$ac_tool_prefix"; then
3835 for ac_prog in cl.exe
3837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if test "${ac_cv_prog_CC+set}" = set; then :
3842 $as_echo_n "(cached) " >&6
3843 else
3844 if test -n "$CC"; then
3845 ac_cv_prog_CC="$CC" # Let the user override the test.
3846 else
3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848 for as_dir in $PATH
3850 IFS=$as_save_IFS
3851 test -z "$as_dir" && as_dir=.
3852 for ac_exec_ext in '' $ac_executable_extensions; do
3853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3854 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 break 2
3858 done
3859 done
3860 IFS=$as_save_IFS
3864 CC=$ac_cv_prog_CC
3865 if test -n "$CC"; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3867 $as_echo "$CC" >&6; }
3868 else
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3874 test -n "$CC" && break
3875 done
3877 if test -z "$CC"; then
3878 ac_ct_CC=$CC
3879 for ac_prog in cl.exe
3881 # Extract the first word of "$ac_prog", so it can be a program name with args.
3882 set dummy $ac_prog; ac_word=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3886 $as_echo_n "(cached) " >&6
3887 else
3888 if test -n "$ac_ct_CC"; then
3889 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3890 else
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 for as_dir in $PATH
3894 IFS=$as_save_IFS
3895 test -z "$as_dir" && as_dir=.
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3898 ac_cv_prog_ac_ct_CC="$ac_prog"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 break 2
3902 done
3903 done
3904 IFS=$as_save_IFS
3908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3909 if test -n "$ac_ct_CC"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3911 $as_echo "$ac_ct_CC" >&6; }
3912 else
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3918 test -n "$ac_ct_CC" && break
3919 done
3921 if test "x$ac_ct_CC" = x; then
3922 CC=""
3923 else
3924 case $cross_compiling:$ac_tool_warned in
3925 yes:)
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3928 ac_tool_warned=yes ;;
3929 esac
3930 CC=$ac_ct_CC
3937 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error "no acceptable C compiler found in \$PATH
3940 See \`config.log' for more details." "$LINENO" 5; }
3942 # Provide some information about the compiler.
3943 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3944 set X $ac_compile
3945 ac_compiler=$2
3946 for ac_option in --version -v -V -qversion; do
3947 { { ac_try="$ac_compiler $ac_option >&5"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3955 ac_status=$?
3956 if test -s conftest.err; then
3957 sed '10a\
3958 ... rest of stderr output deleted ...
3959 10q' conftest.err >conftest.er1
3960 cat conftest.er1 >&5
3961 rm -f conftest.er1 conftest.err
3963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964 test $ac_status = 0; }
3965 done
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3971 main ()
3975 return 0;
3977 _ACEOF
3978 # FIXME: Cleanup?
3979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3980 (eval $ac_link) 2>&5
3981 ac_status=$?
3982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3983 test $ac_status = 0; }; then :
3984 gcc_no_link=no
3985 else
3986 gcc_no_link=yes
3988 if test x$gcc_no_link = xyes; then
3989 # Setting cross_compile will disable run tests; it will
3990 # also disable AC_CHECK_FILE but that's generally
3991 # correct if we can't link.
3992 cross_compiling=yes
3993 EXEEXT=
3994 else
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
3999 main ()
4003 return 0;
4005 _ACEOF
4006 ac_clean_files_save=$ac_clean_files
4007 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4008 # Try to create an executable without -o first, disregard a.out.
4009 # It will help us diagnose broken compilers, and finding out an intuition
4010 # of exeext.
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4012 $as_echo_n "checking for C compiler default output file name... " >&6; }
4013 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4015 # The possible output files:
4016 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4018 ac_rmfiles=
4019 for ac_file in $ac_files
4021 case $ac_file in
4022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4023 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4024 esac
4025 done
4026 rm -f $ac_rmfiles
4028 if { { ac_try="$ac_link_default"
4029 case "(($ac_try" in
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4032 esac
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link_default") 2>&5
4036 ac_status=$?
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; then :
4039 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4040 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4041 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4042 # so that the user can short-circuit this test for compilers unknown to
4043 # Autoconf.
4044 for ac_file in $ac_files ''
4046 test -f "$ac_file" || continue
4047 case $ac_file in
4048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4050 [ab].out )
4051 # We found the default executable, but exeext='' is most
4052 # certainly right.
4053 break;;
4054 *.* )
4055 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4056 then :; else
4057 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4059 # We set ac_cv_exeext here because the later test for it is not
4060 # safe: cross compilers may not add the suffix if given an `-o'
4061 # argument, so we may need to know it at that point already.
4062 # Even if this section looks crufty: it has the advantage of
4063 # actually working.
4064 break;;
4066 break;;
4067 esac
4068 done
4069 test "$ac_cv_exeext" = no && ac_cv_exeext=
4071 else
4072 ac_file=''
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4075 $as_echo "$ac_file" >&6; }
4076 if test -z "$ac_file"; then :
4077 $as_echo "$as_me: failed program was:" >&5
4078 sed 's/^/| /' conftest.$ac_ext >&5
4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 { as_fn_set_status 77
4083 as_fn_error "C compiler cannot create executables
4084 See \`config.log' for more details." "$LINENO" 5; }; }
4086 ac_exeext=$ac_cv_exeext
4088 # Check that the compiler produces executables we can run. If not, either
4089 # the compiler is broken, or we cross compile.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4091 $as_echo_n "checking whether the C compiler works... " >&6; }
4092 # If not cross compiling, check that we can run a simple program.
4093 if test "$cross_compiling" != yes; then
4094 if { ac_try='./$ac_file'
4095 { { case "(($ac_try" in
4096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097 *) ac_try_echo=$ac_try;;
4098 esac
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101 (eval "$ac_try") 2>&5
4102 ac_status=$?
4103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }; }; then
4105 cross_compiling=no
4106 else
4107 if test "$cross_compiling" = maybe; then
4108 cross_compiling=yes
4109 else
4110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4112 as_fn_error "cannot run C compiled programs.
4113 If you meant to cross compile, use \`--host'.
4114 See \`config.log' for more details." "$LINENO" 5; }
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4119 $as_echo "yes" >&6; }
4121 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4122 ac_clean_files=$ac_clean_files_save
4123 # Check that the compiler produces executables we can run. If not, either
4124 # the compiler is broken, or we cross compile.
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4126 $as_echo_n "checking whether we are cross compiling... " >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4128 $as_echo "$cross_compiling" >&6; }
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4131 $as_echo_n "checking for suffix of executables... " >&6; }
4132 if { { ac_try="$ac_link"
4133 case "(($ac_try" in
4134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135 *) ac_try_echo=$ac_try;;
4136 esac
4137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4138 $as_echo "$ac_try_echo"; } >&5
4139 (eval "$ac_link") 2>&5
4140 ac_status=$?
4141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4142 test $ac_status = 0; }; then :
4143 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4144 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4145 # work properly (i.e., refer to `conftest.exe'), while it won't with
4146 # `rm'.
4147 for ac_file in conftest.exe conftest conftest.*; do
4148 test -f "$ac_file" || continue
4149 case $ac_file in
4150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4151 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4152 break;;
4153 * ) break;;
4154 esac
4155 done
4156 else
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error "cannot compute suffix of executables: cannot compile and link
4160 See \`config.log' for more details." "$LINENO" 5; }
4162 rm -f conftest$ac_cv_exeext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4164 $as_echo "$ac_cv_exeext" >&6; }
4166 rm -f conftest.$ac_ext
4167 EXEEXT=$ac_cv_exeext
4168 ac_exeext=$EXEEXT
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4171 $as_echo_n "checking for suffix of object files... " >&6; }
4172 if test "${ac_cv_objext+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4179 main ()
4183 return 0;
4185 _ACEOF
4186 rm -f conftest.o conftest.obj
4187 if { { ac_try="$ac_compile"
4188 case "(($ac_try" in
4189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4190 *) ac_try_echo=$ac_try;;
4191 esac
4192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4193 $as_echo "$ac_try_echo"; } >&5
4194 (eval "$ac_compile") 2>&5
4195 ac_status=$?
4196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4197 test $ac_status = 0; }; then :
4198 for ac_file in conftest.o conftest.obj conftest.*; do
4199 test -f "$ac_file" || continue;
4200 case $ac_file in
4201 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4202 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4203 break;;
4204 esac
4205 done
4206 else
4207 $as_echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4212 as_fn_error "cannot compute suffix of object files: cannot compile
4213 See \`config.log' for more details." "$LINENO" 5; }
4215 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4218 $as_echo "$ac_cv_objext" >&6; }
4219 OBJEXT=$ac_cv_objext
4220 ac_objext=$OBJEXT
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4222 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4223 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4224 $as_echo_n "(cached) " >&6
4225 else
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4230 main ()
4232 #ifndef __GNUC__
4233 choke me
4234 #endif
4237 return 0;
4239 _ACEOF
4240 if ac_fn_c_try_compile "$LINENO"; then :
4241 ac_compiler_gnu=yes
4242 else
4243 ac_compiler_gnu=no
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4250 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4251 if test $ac_compiler_gnu = yes; then
4252 GCC=yes
4253 else
4254 GCC=
4256 ac_test_CFLAGS=${CFLAGS+set}
4257 ac_save_CFLAGS=$CFLAGS
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4259 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4260 if test "${ac_cv_prog_cc_g+set}" = set; then :
4261 $as_echo_n "(cached) " >&6
4262 else
4263 ac_save_c_werror_flag=$ac_c_werror_flag
4264 ac_c_werror_flag=yes
4265 ac_cv_prog_cc_g=no
4266 CFLAGS="-g"
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4271 main ()
4275 return 0;
4277 _ACEOF
4278 if ac_fn_c_try_compile "$LINENO"; then :
4279 ac_cv_prog_cc_g=yes
4280 else
4281 CFLAGS=""
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4286 main ()
4290 return 0;
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4295 else
4296 ac_c_werror_flag=$ac_save_c_werror_flag
4297 CFLAGS="-g"
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4302 main ()
4306 return 0;
4308 _ACEOF
4309 if ac_fn_c_try_compile "$LINENO"; then :
4310 ac_cv_prog_cc_g=yes
4312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317 ac_c_werror_flag=$ac_save_c_werror_flag
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4320 $as_echo "$ac_cv_prog_cc_g" >&6; }
4321 if test "$ac_test_CFLAGS" = set; then
4322 CFLAGS=$ac_save_CFLAGS
4323 elif test $ac_cv_prog_cc_g = yes; then
4324 if test "$GCC" = yes; then
4325 CFLAGS="-g -O2"
4326 else
4327 CFLAGS="-g"
4329 else
4330 if test "$GCC" = yes; then
4331 CFLAGS="-O2"
4332 else
4333 CFLAGS=
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4337 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4338 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 ac_cv_prog_cc_c89=no
4342 ac_save_CC=$CC
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4345 #include <stdarg.h>
4346 #include <stdio.h>
4347 #include <sys/types.h>
4348 #include <sys/stat.h>
4349 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4350 struct buf { int x; };
4351 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4352 static char *e (p, i)
4353 char **p;
4354 int i;
4356 return p[i];
4358 static char *f (char * (*g) (char **, int), char **p, ...)
4360 char *s;
4361 va_list v;
4362 va_start (v,p);
4363 s = g (p, va_arg (v,int));
4364 va_end (v);
4365 return s;
4368 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4369 function prototypes and stuff, but not '\xHH' hex character constants.
4370 These don't provoke an error unfortunately, instead are silently treated
4371 as 'x'. The following induces an error, until -std is added to get
4372 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4373 array size at least. It's necessary to write '\x00'==0 to get something
4374 that's true only with -std. */
4375 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4377 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4378 inside strings and character constants. */
4379 #define FOO(x) 'x'
4380 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4382 int test (int i, double x);
4383 struct s1 {int (*f) (int a);};
4384 struct s2 {int (*f) (double a);};
4385 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4386 int argc;
4387 char **argv;
4389 main ()
4391 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4393 return 0;
4395 _ACEOF
4396 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4397 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4399 CC="$ac_save_CC $ac_arg"
4400 if ac_fn_c_try_compile "$LINENO"; then :
4401 ac_cv_prog_cc_c89=$ac_arg
4403 rm -f core conftest.err conftest.$ac_objext
4404 test "x$ac_cv_prog_cc_c89" != "xno" && break
4405 done
4406 rm -f conftest.$ac_ext
4407 CC=$ac_save_CC
4410 # AC_CACHE_VAL
4411 case "x$ac_cv_prog_cc_c89" in
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4414 $as_echo "none needed" >&6; } ;;
4415 xno)
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4417 $as_echo "unsupported" >&6; } ;;
4419 CC="$CC $ac_cv_prog_cc_c89"
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4421 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4422 esac
4423 if test "x$ac_cv_prog_cc_c89" != xno; then :
4427 ac_ext=c
4428 ac_cpp='$CPP $CPPFLAGS'
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4433 ac_ext=cpp
4434 ac_cpp='$CXXCPP $CPPFLAGS'
4435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4438 if test -z "$CXX"; then
4439 if test -n "$CCC"; then
4440 CXX=$CCC
4441 else
4442 if test -n "$ac_tool_prefix"; then
4443 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4445 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if test "${ac_cv_prog_CXX+set}" = set; then :
4450 $as_echo_n "(cached) " >&6
4451 else
4452 if test -n "$CXX"; then
4453 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4454 else
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 for as_dir in $PATH
4458 IFS=$as_save_IFS
4459 test -z "$as_dir" && as_dir=.
4460 for ac_exec_ext in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 break 2
4466 done
4467 done
4468 IFS=$as_save_IFS
4472 CXX=$ac_cv_prog_CXX
4473 if test -n "$CXX"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4475 $as_echo "$CXX" >&6; }
4476 else
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4482 test -n "$CXX" && break
4483 done
4485 if test -z "$CXX"; then
4486 ac_ct_CXX=$CXX
4487 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4489 # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy $ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4494 $as_echo_n "(cached) " >&6
4495 else
4496 if test -n "$ac_ct_CXX"; then
4497 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4498 else
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 for as_dir in $PATH
4502 IFS=$as_save_IFS
4503 test -z "$as_dir" && as_dir=.
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4506 ac_cv_prog_ac_ct_CXX="$ac_prog"
4507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 break 2
4510 done
4511 done
4512 IFS=$as_save_IFS
4516 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4517 if test -n "$ac_ct_CXX"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4519 $as_echo "$ac_ct_CXX" >&6; }
4520 else
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4526 test -n "$ac_ct_CXX" && break
4527 done
4529 if test "x$ac_ct_CXX" = x; then
4530 CXX="g++"
4531 else
4532 case $cross_compiling:$ac_tool_warned in
4533 yes:)
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4536 ac_tool_warned=yes ;;
4537 esac
4538 CXX=$ac_ct_CXX
4544 # Provide some information about the compiler.
4545 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4546 set X $ac_compile
4547 ac_compiler=$2
4548 for ac_option in --version -v -V -qversion; do
4549 { { ac_try="$ac_compiler $ac_option >&5"
4550 case "(($ac_try" in
4551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4552 *) ac_try_echo=$ac_try;;
4553 esac
4554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4555 $as_echo "$ac_try_echo"; } >&5
4556 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4557 ac_status=$?
4558 if test -s conftest.err; then
4559 sed '10a\
4560 ... rest of stderr output deleted ...
4561 10q' conftest.err >conftest.er1
4562 cat conftest.er1 >&5
4563 rm -f conftest.er1 conftest.err
4565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4566 test $ac_status = 0; }
4567 done
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4570 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4571 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4572 $as_echo_n "(cached) " >&6
4573 else
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4578 main ()
4580 #ifndef __GNUC__
4581 choke me
4582 #endif
4585 return 0;
4587 _ACEOF
4588 if ac_fn_cxx_try_compile "$LINENO"; then :
4589 ac_compiler_gnu=yes
4590 else
4591 ac_compiler_gnu=no
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4598 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4599 if test $ac_compiler_gnu = yes; then
4600 GXX=yes
4601 else
4602 GXX=
4604 ac_test_CXXFLAGS=${CXXFLAGS+set}
4605 ac_save_CXXFLAGS=$CXXFLAGS
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4607 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4608 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4609 $as_echo_n "(cached) " >&6
4610 else
4611 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4612 ac_cxx_werror_flag=yes
4613 ac_cv_prog_cxx_g=no
4614 CXXFLAGS="-g"
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4619 main ()
4623 return 0;
4625 _ACEOF
4626 if ac_fn_cxx_try_compile "$LINENO"; then :
4627 ac_cv_prog_cxx_g=yes
4628 else
4629 CXXFLAGS=""
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4634 main ()
4638 return 0;
4640 _ACEOF
4641 if ac_fn_cxx_try_compile "$LINENO"; then :
4643 else
4644 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4645 CXXFLAGS="-g"
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4650 main ()
4654 return 0;
4656 _ACEOF
4657 if ac_fn_cxx_try_compile "$LINENO"; then :
4658 ac_cv_prog_cxx_g=yes
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4668 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4669 if test "$ac_test_CXXFLAGS" = set; then
4670 CXXFLAGS=$ac_save_CXXFLAGS
4671 elif test $ac_cv_prog_cxx_g = yes; then
4672 if test "$GXX" = yes; then
4673 CXXFLAGS="-g -O2"
4674 else
4675 CXXFLAGS="-g"
4677 else
4678 if test "$GXX" = yes; then
4679 CXXFLAGS="-O2"
4680 else
4681 CXXFLAGS=
4684 ac_ext=c
4685 ac_cpp='$CPP $CPPFLAGS'
4686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4690 CXXFLAGS="$save_CXXFLAGS"
4692 # Runs configure.host, and assorted other critical bits. Sets
4693 # up critical shell variables.
4695 ac_ext=c
4696 ac_cpp='$CPP $CPPFLAGS'
4697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4701 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4702 # On Suns, sometimes $CPP names a directory.
4703 if test -n "$CPP" && test -d "$CPP"; then
4704 CPP=
4706 if test -z "$CPP"; then
4707 if test "${ac_cv_prog_CPP+set}" = set; then :
4708 $as_echo_n "(cached) " >&6
4709 else
4710 # Double quotes because CPP needs to be expanded
4711 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4713 ac_preproc_ok=false
4714 for ac_c_preproc_warn_flag in '' yes
4716 # Use a header file that comes with gcc, so configuring glibc
4717 # with a fresh cross-compiler works.
4718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4719 # <limits.h> exists even on freestanding compilers.
4720 # On the NeXT, cc -E runs the code through the compiler's parser,
4721 # not just through cpp. "Syntax error" is here to catch this case.
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4724 #ifdef __STDC__
4725 # include <limits.h>
4726 #else
4727 # include <assert.h>
4728 #endif
4729 Syntax error
4730 _ACEOF
4731 if ac_fn_c_try_cpp "$LINENO"; then :
4733 else
4734 # Broken: fails on valid input.
4735 continue
4737 rm -f conftest.err conftest.$ac_ext
4739 # OK, works on sane cases. Now check whether nonexistent headers
4740 # can be detected and how.
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743 #include <ac_nonexistent.h>
4744 _ACEOF
4745 if ac_fn_c_try_cpp "$LINENO"; then :
4746 # Broken: success on invalid input.
4747 continue
4748 else
4749 # Passes both tests.
4750 ac_preproc_ok=:
4751 break
4753 rm -f conftest.err conftest.$ac_ext
4755 done
4756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4757 rm -f conftest.err conftest.$ac_ext
4758 if $ac_preproc_ok; then :
4759 break
4762 done
4763 ac_cv_prog_CPP=$CPP
4766 CPP=$ac_cv_prog_CPP
4767 else
4768 ac_cv_prog_CPP=$CPP
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4771 $as_echo "$CPP" >&6; }
4772 ac_preproc_ok=false
4773 for ac_c_preproc_warn_flag in '' yes
4775 # Use a header file that comes with gcc, so configuring glibc
4776 # with a fresh cross-compiler works.
4777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778 # <limits.h> exists even on freestanding compilers.
4779 # On the NeXT, cc -E runs the code through the compiler's parser,
4780 # not just through cpp. "Syntax error" is here to catch this case.
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4783 #ifdef __STDC__
4784 # include <limits.h>
4785 #else
4786 # include <assert.h>
4787 #endif
4788 Syntax error
4789 _ACEOF
4790 if ac_fn_c_try_cpp "$LINENO"; then :
4792 else
4793 # Broken: fails on valid input.
4794 continue
4796 rm -f conftest.err conftest.$ac_ext
4798 # OK, works on sane cases. Now check whether nonexistent headers
4799 # can be detected and how.
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4802 #include <ac_nonexistent.h>
4803 _ACEOF
4804 if ac_fn_c_try_cpp "$LINENO"; then :
4805 # Broken: success on invalid input.
4806 continue
4807 else
4808 # Passes both tests.
4809 ac_preproc_ok=:
4810 break
4812 rm -f conftest.err conftest.$ac_ext
4814 done
4815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4816 rm -f conftest.err conftest.$ac_ext
4817 if $ac_preproc_ok; then :
4819 else
4820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4822 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4823 See \`config.log' for more details." "$LINENO" 5; }
4826 ac_ext=c
4827 ac_cpp='$CPP $CPPFLAGS'
4828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4834 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4835 if test "${ac_cv_path_GREP+set}" = set; then :
4836 $as_echo_n "(cached) " >&6
4837 else
4838 if test -z "$GREP"; then
4839 ac_path_GREP_found=false
4840 # Loop through the user's path and test for each of PROGNAME-LIST
4841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4844 IFS=$as_save_IFS
4845 test -z "$as_dir" && as_dir=.
4846 for ac_prog in grep ggrep; do
4847 for ac_exec_ext in '' $ac_executable_extensions; do
4848 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4849 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4850 # Check for GNU ac_path_GREP and select it if it is found.
4851 # Check for GNU $ac_path_GREP
4852 case `"$ac_path_GREP" --version 2>&1` in
4853 *GNU*)
4854 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4856 ac_count=0
4857 $as_echo_n 0123456789 >"conftest.in"
4858 while :
4860 cat "conftest.in" "conftest.in" >"conftest.tmp"
4861 mv "conftest.tmp" "conftest.in"
4862 cp "conftest.in" "conftest.nl"
4863 $as_echo 'GREP' >> "conftest.nl"
4864 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4865 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4866 as_fn_arith $ac_count + 1 && ac_count=$as_val
4867 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4868 # Best one so far, save it but keep looking for a better one
4869 ac_cv_path_GREP="$ac_path_GREP"
4870 ac_path_GREP_max=$ac_count
4872 # 10*(2^10) chars as input seems more than enough
4873 test $ac_count -gt 10 && break
4874 done
4875 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4876 esac
4878 $ac_path_GREP_found && break 3
4879 done
4880 done
4881 done
4882 IFS=$as_save_IFS
4883 if test -z "$ac_cv_path_GREP"; then
4884 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4886 else
4887 ac_cv_path_GREP=$GREP
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4892 $as_echo "$ac_cv_path_GREP" >&6; }
4893 GREP="$ac_cv_path_GREP"
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4897 $as_echo_n "checking for egrep... " >&6; }
4898 if test "${ac_cv_path_EGREP+set}" = set; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4902 then ac_cv_path_EGREP="$GREP -E"
4903 else
4904 if test -z "$EGREP"; then
4905 ac_path_EGREP_found=false
4906 # Loop through the user's path and test for each of PROGNAME-LIST
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4910 IFS=$as_save_IFS
4911 test -z "$as_dir" && as_dir=.
4912 for ac_prog in egrep; do
4913 for ac_exec_ext in '' $ac_executable_extensions; do
4914 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4915 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4916 # Check for GNU ac_path_EGREP and select it if it is found.
4917 # Check for GNU $ac_path_EGREP
4918 case `"$ac_path_EGREP" --version 2>&1` in
4919 *GNU*)
4920 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4922 ac_count=0
4923 $as_echo_n 0123456789 >"conftest.in"
4924 while :
4926 cat "conftest.in" "conftest.in" >"conftest.tmp"
4927 mv "conftest.tmp" "conftest.in"
4928 cp "conftest.in" "conftest.nl"
4929 $as_echo 'EGREP' >> "conftest.nl"
4930 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4931 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4932 as_fn_arith $ac_count + 1 && ac_count=$as_val
4933 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4934 # Best one so far, save it but keep looking for a better one
4935 ac_cv_path_EGREP="$ac_path_EGREP"
4936 ac_path_EGREP_max=$ac_count
4938 # 10*(2^10) chars as input seems more than enough
4939 test $ac_count -gt 10 && break
4940 done
4941 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4942 esac
4944 $ac_path_EGREP_found && break 3
4945 done
4946 done
4947 done
4948 IFS=$as_save_IFS
4949 if test -z "$ac_cv_path_EGREP"; then
4950 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4952 else
4953 ac_cv_path_EGREP=$EGREP
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4959 $as_echo "$ac_cv_path_EGREP" >&6; }
4960 EGREP="$ac_cv_path_EGREP"
4964 # Keep these sync'd with the list in Makefile.am. The first provides an
4965 # expandable list at autoconf time; the second provides an expandable list
4966 # (i.e., shell variable) at configure time.
4968 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4970 # These need to be absolute paths, yet at the same time need to
4971 # canonicalize only relative paths, because then amd will not unmount
4972 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4973 glibcxx_builddir=`${PWDCMD-pwd}`
4974 case $srcdir in
4975 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4976 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4977 esac
4978 toplevel_builddir=${glibcxx_builddir}/..
4979 toplevel_srcdir=${glibcxx_srcdir}/..
4985 # We use these options to decide which functions to include. They are
4986 # set from the top level.
4988 # Check whether --with-target-subdir was given.
4989 if test "${with_target_subdir+set}" = set; then :
4990 withval=$with_target_subdir;
4995 # Check whether --with-cross-host was given.
4996 if test "${with_cross_host+set}" = set; then :
4997 withval=$with_cross_host;
5002 # Check whether --with-newlib was given.
5003 if test "${with_newlib+set}" = set; then :
5004 withval=$with_newlib;
5008 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5009 # available). Uncomment the next line to force a particular method.
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5011 $as_echo_n "checking whether ln -s works... " >&6; }
5012 LN_S=$as_ln_s
5013 if test "$LN_S" = "ln -s"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5015 $as_echo "yes" >&6; }
5016 else
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5018 $as_echo "no, using $LN_S" >&6; }
5021 #LN_S='cp -p'
5023 if test -n "$ac_tool_prefix"; then
5024 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5025 set dummy ${ac_tool_prefix}as; ac_word=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if test "${ac_cv_prog_AS+set}" = set; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 if test -n "$AS"; then
5032 ac_cv_prog_AS="$AS" # Let the user override the test.
5033 else
5034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 for as_dir in $PATH
5037 IFS=$as_save_IFS
5038 test -z "$as_dir" && as_dir=.
5039 for ac_exec_ext in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_AS="${ac_tool_prefix}as"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 break 2
5045 done
5046 done
5047 IFS=$as_save_IFS
5051 AS=$ac_cv_prog_AS
5052 if test -n "$AS"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5054 $as_echo "$AS" >&6; }
5055 else
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5062 if test -z "$ac_cv_prog_AS"; then
5063 ac_ct_AS=$AS
5064 # Extract the first word of "as", so it can be a program name with args.
5065 set dummy as; ac_word=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5069 $as_echo_n "(cached) " >&6
5070 else
5071 if test -n "$ac_ct_AS"; then
5072 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5073 else
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 for as_dir in $PATH
5077 IFS=$as_save_IFS
5078 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081 ac_cv_prog_ac_ct_AS="as"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 break 2
5085 done
5086 done
5087 IFS=$as_save_IFS
5091 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5092 if test -n "$ac_ct_AS"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5094 $as_echo "$ac_ct_AS" >&6; }
5095 else
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5100 if test "x$ac_ct_AS" = x; then
5101 AS=""
5102 else
5103 case $cross_compiling:$ac_tool_warned in
5104 yes:)
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5107 ac_tool_warned=yes ;;
5108 esac
5109 AS=$ac_ct_AS
5111 else
5112 AS="$ac_cv_prog_AS"
5115 if test -n "$ac_tool_prefix"; then
5116 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5117 set dummy ${ac_tool_prefix}ar; ac_word=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if test "${ac_cv_prog_AR+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5122 else
5123 if test -n "$AR"; then
5124 ac_cv_prog_AR="$AR" # Let the user override the test.
5125 else
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127 for as_dir in $PATH
5129 IFS=$as_save_IFS
5130 test -z "$as_dir" && as_dir=.
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133 ac_cv_prog_AR="${ac_tool_prefix}ar"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 break 2
5137 done
5138 done
5139 IFS=$as_save_IFS
5143 AR=$ac_cv_prog_AR
5144 if test -n "$AR"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5146 $as_echo "$AR" >&6; }
5147 else
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5154 if test -z "$ac_cv_prog_AR"; then
5155 ac_ct_AR=$AR
5156 # Extract the first word of "ar", so it can be a program name with args.
5157 set dummy ar; ac_word=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 if test -n "$ac_ct_AR"; then
5164 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5165 else
5166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 for as_dir in $PATH
5169 IFS=$as_save_IFS
5170 test -z "$as_dir" && as_dir=.
5171 for ac_exec_ext in '' $ac_executable_extensions; do
5172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5173 ac_cv_prog_ac_ct_AR="ar"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 break 2
5177 done
5178 done
5179 IFS=$as_save_IFS
5183 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5184 if test -n "$ac_ct_AR"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5186 $as_echo "$ac_ct_AR" >&6; }
5187 else
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5192 if test "x$ac_ct_AR" = x; then
5193 AR=""
5194 else
5195 case $cross_compiling:$ac_tool_warned in
5196 yes:)
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5199 ac_tool_warned=yes ;;
5200 esac
5201 AR=$ac_ct_AR
5203 else
5204 AR="$ac_cv_prog_AR"
5207 if test -n "$ac_tool_prefix"; then
5208 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5209 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5213 $as_echo_n "(cached) " >&6
5214 else
5215 if test -n "$RANLIB"; then
5216 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5217 else
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 for as_dir in $PATH
5221 IFS=$as_save_IFS
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5225 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 break 2
5229 done
5230 done
5231 IFS=$as_save_IFS
5235 RANLIB=$ac_cv_prog_RANLIB
5236 if test -n "$RANLIB"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5238 $as_echo "$RANLIB" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5246 if test -z "$ac_cv_prog_RANLIB"; then
5247 ac_ct_RANLIB=$RANLIB
5248 # Extract the first word of "ranlib", so it can be a program name with args.
5249 set dummy ranlib; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5253 $as_echo_n "(cached) " >&6
5254 else
5255 if test -n "$ac_ct_RANLIB"; then
5256 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5257 else
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 for as_dir in $PATH
5261 IFS=$as_save_IFS
5262 test -z "$as_dir" && as_dir=.
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5265 ac_cv_prog_ac_ct_RANLIB="ranlib"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 break 2
5269 done
5270 done
5271 IFS=$as_save_IFS
5275 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5276 if test -n "$ac_ct_RANLIB"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5278 $as_echo "$ac_ct_RANLIB" >&6; }
5279 else
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5284 if test "x$ac_ct_RANLIB" = x; then
5285 RANLIB="ranlib-not-found-in-path-error"
5286 else
5287 case $cross_compiling:$ac_tool_warned in
5288 yes:)
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5291 ac_tool_warned=yes ;;
5292 esac
5293 RANLIB=$ac_ct_RANLIB
5295 else
5296 RANLIB="$ac_cv_prog_RANLIB"
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5302 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5303 # Check whether --enable-maintainer-mode was given.
5304 if test "${enable_maintainer_mode+set}" = set; then :
5305 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5306 else
5307 USE_MAINTAINER_MODE=no
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5311 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5312 if test $USE_MAINTAINER_MODE = yes; then
5313 MAINTAINER_MODE_TRUE=
5314 MAINTAINER_MODE_FALSE='#'
5315 else
5316 MAINTAINER_MODE_TRUE='#'
5317 MAINTAINER_MODE_FALSE=
5320 MAINT=$MAINTAINER_MODE_TRUE
5324 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5325 # which are themselves conditionally expanded.
5326 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5327 ## other macros from doing the same. This should be automated.) -pme
5329 # Check for C library flavor since GNU/Linux platforms use different
5330 # configuration directories depending on the C library in use.
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5334 #include <stdio.h>
5335 #if __UCLIBC__
5336 _using_uclibc
5337 #endif
5339 _ACEOF
5340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5341 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5342 uclibc=yes
5343 else
5344 uclibc=no
5346 rm -f conftest*
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5352 #include <stdio.h>
5353 #if __BIONIC__
5354 _using_bionic
5355 #endif
5357 _ACEOF
5358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5359 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5360 bionic=yes
5361 else
5362 bionic=no
5364 rm -f conftest*
5367 # Find platform-specific directories containing configuration info.
5368 # Also possibly modify flags used elsewhere, as needed by the platform.
5370 . $glibcxx_srcdir/configure.host
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5372 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5374 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5378 # Libtool setup.
5379 if test "x${with_newlib}" != "xyes"; then
5380 enable_dlopen=yes
5385 case `pwd` in
5386 *\ * | *\ *)
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5388 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5389 esac
5393 macro_version='2.2.7a'
5394 macro_revision='1.3134'
5408 ltmain="$ac_aux_dir/ltmain.sh"
5410 # Backslashify metacharacters that are still active within
5411 # double-quoted strings.
5412 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5414 # Same as above, but do not quote variable references.
5415 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5417 # Sed substitution to delay expansion of an escaped shell variable in a
5418 # double_quote_subst'ed string.
5419 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5421 # Sed substitution to delay expansion of an escaped single quote.
5422 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5424 # Sed substitution to avoid accidental globbing in evaled expressions
5425 no_glob_subst='s/\*/\\\*/g'
5427 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5428 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5429 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5432 $as_echo_n "checking how to print strings... " >&6; }
5433 # Test print first, because it will be a builtin if present.
5434 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5435 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5436 ECHO='print -r --'
5437 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5438 ECHO='printf %s\n'
5439 else
5440 # Use this function as a fallback that always works.
5441 func_fallback_echo ()
5443 eval 'cat <<_LTECHO_EOF
5445 _LTECHO_EOF'
5447 ECHO='func_fallback_echo'
5450 # func_echo_all arg...
5451 # Invoke $ECHO with all args, space-separated.
5452 func_echo_all ()
5454 $ECHO ""
5457 case "$ECHO" in
5458 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5459 $as_echo "printf" >&6; } ;;
5460 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5461 $as_echo "print -r" >&6; } ;;
5462 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5463 $as_echo "cat" >&6; } ;;
5464 esac
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5480 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5481 if test "${ac_cv_path_SED+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5485 for ac_i in 1 2 3 4 5 6 7; do
5486 ac_script="$ac_script$as_nl$ac_script"
5487 done
5488 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5489 { ac_script=; unset ac_script;}
5490 if test -z "$SED"; then
5491 ac_path_SED_found=false
5492 # Loop through the user's path and test for each of PROGNAME-LIST
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_prog in sed gsed; do
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5501 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5502 # Check for GNU ac_path_SED and select it if it is found.
5503 # Check for GNU $ac_path_SED
5504 case `"$ac_path_SED" --version 2>&1` in
5505 *GNU*)
5506 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5508 ac_count=0
5509 $as_echo_n 0123456789 >"conftest.in"
5510 while :
5512 cat "conftest.in" "conftest.in" >"conftest.tmp"
5513 mv "conftest.tmp" "conftest.in"
5514 cp "conftest.in" "conftest.nl"
5515 $as_echo '' >> "conftest.nl"
5516 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5518 as_fn_arith $ac_count + 1 && ac_count=$as_val
5519 if test $ac_count -gt ${ac_path_SED_max-0}; then
5520 # Best one so far, save it but keep looking for a better one
5521 ac_cv_path_SED="$ac_path_SED"
5522 ac_path_SED_max=$ac_count
5524 # 10*(2^10) chars as input seems more than enough
5525 test $ac_count -gt 10 && break
5526 done
5527 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5528 esac
5530 $ac_path_SED_found && break 3
5531 done
5532 done
5533 done
5534 IFS=$as_save_IFS
5535 if test -z "$ac_cv_path_SED"; then
5536 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5538 else
5539 ac_cv_path_SED=$SED
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5544 $as_echo "$ac_cv_path_SED" >&6; }
5545 SED="$ac_cv_path_SED"
5546 rm -f conftest.sed
5548 test -z "$SED" && SED=sed
5549 Xsed="$SED -e 1s/^X//"
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5562 $as_echo_n "checking for fgrep... " >&6; }
5563 if test "${ac_cv_path_FGREP+set}" = set; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5567 then ac_cv_path_FGREP="$GREP -F"
5568 else
5569 if test -z "$FGREP"; then
5570 ac_path_FGREP_found=false
5571 # Loop through the user's path and test for each of PROGNAME-LIST
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_prog in fgrep; do
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5580 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5581 # Check for GNU ac_path_FGREP and select it if it is found.
5582 # Check for GNU $ac_path_FGREP
5583 case `"$ac_path_FGREP" --version 2>&1` in
5584 *GNU*)
5585 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5587 ac_count=0
5588 $as_echo_n 0123456789 >"conftest.in"
5589 while :
5591 cat "conftest.in" "conftest.in" >"conftest.tmp"
5592 mv "conftest.tmp" "conftest.in"
5593 cp "conftest.in" "conftest.nl"
5594 $as_echo 'FGREP' >> "conftest.nl"
5595 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5596 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5597 as_fn_arith $ac_count + 1 && ac_count=$as_val
5598 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5599 # Best one so far, save it but keep looking for a better one
5600 ac_cv_path_FGREP="$ac_path_FGREP"
5601 ac_path_FGREP_max=$ac_count
5603 # 10*(2^10) chars as input seems more than enough
5604 test $ac_count -gt 10 && break
5605 done
5606 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5607 esac
5609 $ac_path_FGREP_found && break 3
5610 done
5611 done
5612 done
5613 IFS=$as_save_IFS
5614 if test -z "$ac_cv_path_FGREP"; then
5615 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5617 else
5618 ac_cv_path_FGREP=$FGREP
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5624 $as_echo "$ac_cv_path_FGREP" >&6; }
5625 FGREP="$ac_cv_path_FGREP"
5628 test -z "$GREP" && GREP=grep
5648 # Check whether --with-gnu-ld was given.
5649 if test "${with_gnu_ld+set}" = set; then :
5650 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5651 else
5652 with_gnu_ld=no
5655 ac_prog=ld
5656 if test "$GCC" = yes; then
5657 # Check if gcc -print-prog-name=ld gives a path.
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5659 $as_echo_n "checking for ld used by $CC... " >&6; }
5660 case $host in
5661 *-*-mingw*)
5662 # gcc leaves a trailing carriage return which upsets mingw
5663 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5665 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5666 esac
5667 case $ac_prog in
5668 # Accept absolute paths.
5669 [\\/]* | ?:[\\/]*)
5670 re_direlt='/[^/][^/]*/\.\./'
5671 # Canonicalize the pathname of ld
5672 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5673 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5674 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5675 done
5676 test -z "$LD" && LD="$ac_prog"
5679 # If it fails, then pretend we aren't using GCC.
5680 ac_prog=ld
5683 # If it is relative, then search for the first ld in PATH.
5684 with_gnu_ld=unknown
5686 esac
5687 elif test "$with_gnu_ld" = yes; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5689 $as_echo_n "checking for GNU ld... " >&6; }
5690 else
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5692 $as_echo_n "checking for non-GNU ld... " >&6; }
5694 if test "${lt_cv_path_LD+set}" = set; then :
5695 $as_echo_n "(cached) " >&6
5696 else
5697 if test -z "$LD"; then
5698 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5699 for ac_dir in $PATH; do
5700 IFS="$lt_save_ifs"
5701 test -z "$ac_dir" && ac_dir=.
5702 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5703 lt_cv_path_LD="$ac_dir/$ac_prog"
5704 # Check to see if the program is GNU ld. I'd rather use --version,
5705 # but apparently some variants of GNU ld only accept -v.
5706 # Break only if it was the GNU/non-GNU ld that we prefer.
5707 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5708 *GNU* | *'with BFD'*)
5709 test "$with_gnu_ld" != no && break
5712 test "$with_gnu_ld" != yes && break
5714 esac
5716 done
5717 IFS="$lt_save_ifs"
5718 else
5719 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5723 LD="$lt_cv_path_LD"
5724 if test -n "$LD"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5726 $as_echo "$LD" >&6; }
5727 else
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5731 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5733 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5734 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5738 case `$LD -v 2>&1 </dev/null` in
5739 *GNU* | *'with BFD'*)
5740 lt_cv_prog_gnu_ld=yes
5743 lt_cv_prog_gnu_ld=no
5745 esac
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5748 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5749 with_gnu_ld=$lt_cv_prog_gnu_ld
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5760 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5761 if test "${lt_cv_path_NM+set}" = set; then :
5762 $as_echo_n "(cached) " >&6
5763 else
5764 if test -n "$NM"; then
5765 # Let the user override the test.
5766 lt_cv_path_NM="$NM"
5767 else
5768 lt_nm_to_check="${ac_tool_prefix}nm"
5769 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5770 lt_nm_to_check="$lt_nm_to_check nm"
5772 for lt_tmp_nm in $lt_nm_to_check; do
5773 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5774 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5775 IFS="$lt_save_ifs"
5776 test -z "$ac_dir" && ac_dir=.
5777 tmp_nm="$ac_dir/$lt_tmp_nm"
5778 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5779 # Check to see if the nm accepts a BSD-compat flag.
5780 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5781 # nm: unknown option "B" ignored
5782 # Tru64's nm complains that /dev/null is an invalid object file
5783 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5784 */dev/null* | *'Invalid file or object type'*)
5785 lt_cv_path_NM="$tmp_nm -B"
5786 break
5789 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5790 */dev/null*)
5791 lt_cv_path_NM="$tmp_nm -p"
5792 break
5795 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5796 continue # so that we can try to find one that supports BSD flags
5798 esac
5800 esac
5802 done
5803 IFS="$lt_save_ifs"
5804 done
5805 : ${lt_cv_path_NM=no}
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5809 $as_echo "$lt_cv_path_NM" >&6; }
5810 if test "$lt_cv_path_NM" != "no"; then
5811 NM="$lt_cv_path_NM"
5812 else
5813 # Didn't find any BSD compatible name lister, look for dumpbin.
5814 if test -n "$DUMPBIN"; then :
5815 # Let the user override the test.
5816 else
5817 if test -n "$ac_tool_prefix"; then
5818 for ac_prog in dumpbin "link -dump"
5820 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 if test -n "$DUMPBIN"; then
5828 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5837 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5841 done
5842 done
5843 IFS=$as_save_IFS
5847 DUMPBIN=$ac_cv_prog_DUMPBIN
5848 if test -n "$DUMPBIN"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5850 $as_echo "$DUMPBIN" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5857 test -n "$DUMPBIN" && break
5858 done
5860 if test -z "$DUMPBIN"; then
5861 ac_ct_DUMPBIN=$DUMPBIN
5862 for ac_prog in dumpbin "link -dump"
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$ac_ct_DUMPBIN"; then
5872 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5881 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5885 done
5886 done
5887 IFS=$as_save_IFS
5891 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5892 if test -n "$ac_ct_DUMPBIN"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5894 $as_echo "$ac_ct_DUMPBIN" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5901 test -n "$ac_ct_DUMPBIN" && break
5902 done
5904 if test "x$ac_ct_DUMPBIN" = x; then
5905 DUMPBIN=":"
5906 else
5907 case $cross_compiling:$ac_tool_warned in
5908 yes:)
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5912 esac
5913 DUMPBIN=$ac_ct_DUMPBIN
5917 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5918 *COFF*)
5919 DUMPBIN="$DUMPBIN -symbols"
5922 DUMPBIN=:
5924 esac
5927 if test "$DUMPBIN" != ":"; then
5928 NM="$DUMPBIN"
5931 test -z "$NM" && NM=nm
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5939 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5940 if test "${lt_cv_nm_interface+set}" = set; then :
5941 $as_echo_n "(cached) " >&6
5942 else
5943 lt_cv_nm_interface="BSD nm"
5944 echo "int some_variable = 0;" > conftest.$ac_ext
5945 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5946 (eval "$ac_compile" 2>conftest.err)
5947 cat conftest.err >&5
5948 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5949 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5950 cat conftest.err >&5
5951 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5952 cat conftest.out >&5
5953 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5954 lt_cv_nm_interface="MS dumpbin"
5956 rm -f conftest*
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5959 $as_echo "$lt_cv_nm_interface" >&6; }
5961 # find the maximum length of command line arguments
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5963 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5964 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5965 $as_echo_n "(cached) " >&6
5966 else
5968 teststring="ABCD"
5970 case $build_os in
5971 msdosdjgpp*)
5972 # On DJGPP, this test can blow up pretty badly due to problems in libc
5973 # (any single argument exceeding 2000 bytes causes a buffer overrun
5974 # during glob expansion). Even if it were fixed, the result of this
5975 # check would be larger than it should be.
5976 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5979 gnu*)
5980 # Under GNU Hurd, this test is not required because there is
5981 # no limit to the length of command line arguments.
5982 # Libtool will interpret -1 as no limit whatsoever
5983 lt_cv_sys_max_cmd_len=-1;
5986 cygwin* | mingw* | cegcc*)
5987 # On Win9x/ME, this test blows up -- it succeeds, but takes
5988 # about 5 minutes as the teststring grows exponentially.
5989 # Worse, since 9x/ME are not pre-emptively multitasking,
5990 # you end up with a "frozen" computer, even though with patience
5991 # the test eventually succeeds (with a max line length of 256k).
5992 # Instead, let's just punt: use the minimum linelength reported by
5993 # all of the supported platforms: 8192 (on NT/2K/XP).
5994 lt_cv_sys_max_cmd_len=8192;
5997 mint*)
5998 # On MiNT this can take a long time and run out of memory.
5999 lt_cv_sys_max_cmd_len=8192;
6002 amigaos*)
6003 # On AmigaOS with pdksh, this test takes hours, literally.
6004 # So we just punt and use a minimum line length of 8192.
6005 lt_cv_sys_max_cmd_len=8192;
6008 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6009 # This has been around since 386BSD, at least. Likely further.
6010 if test -x /sbin/sysctl; then
6011 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6012 elif test -x /usr/sbin/sysctl; then
6013 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6014 else
6015 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6017 # And add a safety zone
6018 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6019 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6022 interix*)
6023 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6024 lt_cv_sys_max_cmd_len=196608
6027 osf*)
6028 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6029 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6030 # nice to cause kernel panics so lets avoid the loop below.
6031 # First set a reasonable default.
6032 lt_cv_sys_max_cmd_len=16384
6034 if test -x /sbin/sysconfig; then
6035 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6036 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6037 esac
6040 sco3.2v5*)
6041 lt_cv_sys_max_cmd_len=102400
6043 sysv5* | sco5v6* | sysv4.2uw2*)
6044 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6045 if test -n "$kargmax"; then
6046 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6047 else
6048 lt_cv_sys_max_cmd_len=32768
6052 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6053 if test -n "$lt_cv_sys_max_cmd_len"; then
6054 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6055 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6056 else
6057 # Make teststring a little bigger before we do anything with it.
6058 # a 1K string should be a reasonable start.
6059 for i in 1 2 3 4 5 6 7 8 ; do
6060 teststring=$teststring$teststring
6061 done
6062 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6063 # If test is not a shell built-in, we'll probably end up computing a
6064 # maximum length that is only half of the actual maximum length, but
6065 # we can't tell.
6066 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6067 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6068 test $i != 17 # 1/2 MB should be enough
6070 i=`expr $i + 1`
6071 teststring=$teststring$teststring
6072 done
6073 # Only check the string length outside the loop.
6074 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6075 teststring=
6076 # Add a significant safety factor because C++ compilers can tack on
6077 # massive amounts of additional arguments before passing them to the
6078 # linker. It appears as though 1/2 is a usable value.
6079 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6082 esac
6086 if test -n $lt_cv_sys_max_cmd_len ; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6088 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6089 else
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6091 $as_echo "none" >&6; }
6093 max_cmd_len=$lt_cv_sys_max_cmd_len
6100 : ${CP="cp -f"}
6101 : ${MV="mv -f"}
6102 : ${RM="rm -f"}
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6105 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6106 # Try some XSI features
6107 xsi_shell=no
6108 ( _lt_dummy="a/b/c"
6109 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6110 = c,a/b,, \
6111 && eval 'test $(( 1 + 1 )) -eq 2 \
6112 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6113 && xsi_shell=yes
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6115 $as_echo "$xsi_shell" >&6; }
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6119 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6120 lt_shell_append=no
6121 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6122 >/dev/null 2>&1 \
6123 && lt_shell_append=yes
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6125 $as_echo "$lt_shell_append" >&6; }
6128 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6129 lt_unset=unset
6130 else
6131 lt_unset=false
6138 # test EBCDIC or ASCII
6139 case `echo X|tr X '\101'` in
6140 A) # ASCII based system
6141 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6142 lt_SP2NL='tr \040 \012'
6143 lt_NL2SP='tr \015\012 \040\040'
6145 *) # EBCDIC based system
6146 lt_SP2NL='tr \100 \n'
6147 lt_NL2SP='tr \r\n \100\100'
6149 esac
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6160 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6161 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6163 else
6164 lt_cv_ld_reload_flag='-r'
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6167 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6168 reload_flag=$lt_cv_ld_reload_flag
6169 case $reload_flag in
6170 "" | " "*) ;;
6171 *) reload_flag=" $reload_flag" ;;
6172 esac
6173 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6174 case $host_os in
6175 darwin*)
6176 if test "$GCC" = yes; then
6177 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6178 else
6179 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6182 esac
6192 if test -n "$ac_tool_prefix"; then
6193 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6194 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 $as_echo_n "checking for $ac_word... " >&6; }
6197 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6198 $as_echo_n "(cached) " >&6
6199 else
6200 if test -n "$OBJDUMP"; then
6201 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6202 else
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 for as_dir in $PATH
6206 IFS=$as_save_IFS
6207 test -z "$as_dir" && as_dir=.
6208 for ac_exec_ext in '' $ac_executable_extensions; do
6209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6212 break 2
6214 done
6215 done
6216 IFS=$as_save_IFS
6220 OBJDUMP=$ac_cv_prog_OBJDUMP
6221 if test -n "$OBJDUMP"; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6223 $as_echo "$OBJDUMP" >&6; }
6224 else
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6231 if test -z "$ac_cv_prog_OBJDUMP"; then
6232 ac_ct_OBJDUMP=$OBJDUMP
6233 # Extract the first word of "objdump", so it can be a program name with args.
6234 set dummy objdump; ac_word=$2
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6236 $as_echo_n "checking for $ac_word... " >&6; }
6237 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6238 $as_echo_n "(cached) " >&6
6239 else
6240 if test -n "$ac_ct_OBJDUMP"; then
6241 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6242 else
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 for as_dir in $PATH
6246 IFS=$as_save_IFS
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6250 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 break 2
6254 done
6255 done
6256 IFS=$as_save_IFS
6260 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6261 if test -n "$ac_ct_OBJDUMP"; then
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6263 $as_echo "$ac_ct_OBJDUMP" >&6; }
6264 else
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6266 $as_echo "no" >&6; }
6269 if test "x$ac_ct_OBJDUMP" = x; then
6270 OBJDUMP="false"
6271 else
6272 case $cross_compiling:$ac_tool_warned in
6273 yes:)
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6276 ac_tool_warned=yes ;;
6277 esac
6278 OBJDUMP=$ac_ct_OBJDUMP
6280 else
6281 OBJDUMP="$ac_cv_prog_OBJDUMP"
6284 test -z "$OBJDUMP" && OBJDUMP=objdump
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6295 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6296 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6297 $as_echo_n "(cached) " >&6
6298 else
6299 lt_cv_file_magic_cmd='$MAGIC_CMD'
6300 lt_cv_file_magic_test_file=
6301 lt_cv_deplibs_check_method='unknown'
6302 # Need to set the preceding variable on all platforms that support
6303 # interlibrary dependencies.
6304 # 'none' -- dependencies not supported.
6305 # `unknown' -- same as none, but documents that we really don't know.
6306 # 'pass_all' -- all dependencies passed with no checks.
6307 # 'test_compile' -- check by making test program.
6308 # 'file_magic [[regex]]' -- check by looking for files in library path
6309 # which responds to the $file_magic_cmd with a given extended regex.
6310 # If you have `file' or equivalent on your system and you're not sure
6311 # whether `pass_all' will *always* work, you probably want this one.
6313 case $host_os in
6314 aix[4-9]*)
6315 lt_cv_deplibs_check_method=pass_all
6318 beos*)
6319 lt_cv_deplibs_check_method=pass_all
6322 bsdi[45]*)
6323 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6324 lt_cv_file_magic_cmd='/usr/bin/file -L'
6325 lt_cv_file_magic_test_file=/shlib/libc.so
6328 cygwin*)
6329 # func_win32_libid is a shell function defined in ltmain.sh
6330 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6331 lt_cv_file_magic_cmd='func_win32_libid'
6334 mingw* | pw32*)
6335 # Base MSYS/MinGW do not provide the 'file' command needed by
6336 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6337 # unless we find 'file', for example because we are cross-compiling.
6338 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6339 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6340 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6341 lt_cv_file_magic_cmd='func_win32_libid'
6342 else
6343 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6344 lt_cv_file_magic_cmd='$OBJDUMP -f'
6348 cegcc*)
6349 # use the weaker test based on 'objdump'. See mingw*.
6350 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6351 lt_cv_file_magic_cmd='$OBJDUMP -f'
6354 darwin* | rhapsody*)
6355 lt_cv_deplibs_check_method=pass_all
6358 freebsd* | dragonfly*)
6359 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6360 case $host_cpu in
6361 i*86 )
6362 # Not sure whether the presence of OpenBSD here was a mistake.
6363 # Let's accept both of them until this is cleared up.
6364 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6365 lt_cv_file_magic_cmd=/usr/bin/file
6366 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6368 esac
6369 else
6370 lt_cv_deplibs_check_method=pass_all
6374 gnu*)
6375 lt_cv_deplibs_check_method=pass_all
6378 haiku*)
6379 lt_cv_deplibs_check_method=pass_all
6382 hpux10.20* | hpux11*)
6383 lt_cv_file_magic_cmd=/usr/bin/file
6384 case $host_cpu in
6385 ia64*)
6386 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6387 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6389 hppa*64*)
6390 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6391 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6394 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6395 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6397 esac
6400 interix[3-9]*)
6401 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6402 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6405 irix5* | irix6* | nonstopux*)
6406 case $LD in
6407 *-32|*"-32 ") libmagic=32-bit;;
6408 *-n32|*"-n32 ") libmagic=N32;;
6409 *-64|*"-64 ") libmagic=64-bit;;
6410 *) libmagic=never-match;;
6411 esac
6412 lt_cv_deplibs_check_method=pass_all
6415 # This must be Linux ELF.
6416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6417 lt_cv_deplibs_check_method=pass_all
6420 netbsd*)
6421 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6422 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6423 else
6424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6428 newos6*)
6429 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6430 lt_cv_file_magic_cmd=/usr/bin/file
6431 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6434 *nto* | *qnx*)
6435 lt_cv_deplibs_check_method=pass_all
6438 openbsd*)
6439 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6440 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6441 else
6442 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6446 osf3* | osf4* | osf5*)
6447 lt_cv_deplibs_check_method=pass_all
6450 rdos*)
6451 lt_cv_deplibs_check_method=pass_all
6454 solaris*)
6455 lt_cv_deplibs_check_method=pass_all
6458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6459 lt_cv_deplibs_check_method=pass_all
6462 sysv4 | sysv4.3*)
6463 case $host_vendor in
6464 motorola)
6465 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6466 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6468 ncr)
6469 lt_cv_deplibs_check_method=pass_all
6471 sequent)
6472 lt_cv_file_magic_cmd='/bin/file'
6473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6475 sni)
6476 lt_cv_file_magic_cmd='/bin/file'
6477 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6478 lt_cv_file_magic_test_file=/lib/libc.so
6480 siemens)
6481 lt_cv_deplibs_check_method=pass_all
6484 lt_cv_deplibs_check_method=pass_all
6486 esac
6489 tpf*)
6490 lt_cv_deplibs_check_method=pass_all
6492 esac
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6496 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6497 file_magic_cmd=$lt_cv_file_magic_cmd
6498 deplibs_check_method=$lt_cv_deplibs_check_method
6499 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}ar; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_AR+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 if test -n "$AR"; then
6521 ac_cv_prog_AR="$AR" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6526 IFS=$as_save_IFS
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_AR="${ac_tool_prefix}ar"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 break 2
6534 done
6535 done
6536 IFS=$as_save_IFS
6540 AR=$ac_cv_prog_AR
6541 if test -n "$AR"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6543 $as_echo "$AR" >&6; }
6544 else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6551 if test -z "$ac_cv_prog_AR"; then
6552 ac_ct_AR=$AR
6553 # Extract the first word of "ar", so it can be a program name with args.
6554 set dummy ar; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -n "$ac_ct_AR"; then
6561 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6566 IFS=$as_save_IFS
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_AR="ar"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 break 2
6574 done
6575 done
6576 IFS=$as_save_IFS
6580 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6581 if test -n "$ac_ct_AR"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6583 $as_echo "$ac_ct_AR" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6589 if test "x$ac_ct_AR" = x; then
6590 AR="false"
6591 else
6592 case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598 AR=$ac_ct_AR
6600 else
6601 AR="$ac_cv_prog_AR"
6604 test -z "$AR" && AR=ar
6605 test -z "$AR_FLAGS" && AR_FLAGS=cru
6617 if test -n "$ac_tool_prefix"; then
6618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6619 set dummy ${ac_tool_prefix}strip; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if test "${ac_cv_prog_STRIP+set}" = set; then :
6623 $as_echo_n "(cached) " >&6
6624 else
6625 if test -n "$STRIP"; then
6626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6627 else
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 for as_dir in $PATH
6631 IFS=$as_save_IFS
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6635 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6637 break 2
6639 done
6640 done
6641 IFS=$as_save_IFS
6645 STRIP=$ac_cv_prog_STRIP
6646 if test -n "$STRIP"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6648 $as_echo "$STRIP" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6656 if test -z "$ac_cv_prog_STRIP"; then
6657 ac_ct_STRIP=$STRIP
6658 # Extract the first word of "strip", so it can be a program name with args.
6659 set dummy strip; ac_word=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6663 $as_echo_n "(cached) " >&6
6664 else
6665 if test -n "$ac_ct_STRIP"; then
6666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6667 else
6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 for as_dir in $PATH
6671 IFS=$as_save_IFS
6672 test -z "$as_dir" && as_dir=.
6673 for ac_exec_ext in '' $ac_executable_extensions; do
6674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675 ac_cv_prog_ac_ct_STRIP="strip"
6676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677 break 2
6679 done
6680 done
6681 IFS=$as_save_IFS
6685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6686 if test -n "$ac_ct_STRIP"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6688 $as_echo "$ac_ct_STRIP" >&6; }
6689 else
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6694 if test "x$ac_ct_STRIP" = x; then
6695 STRIP=":"
6696 else
6697 case $cross_compiling:$ac_tool_warned in
6698 yes:)
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701 ac_tool_warned=yes ;;
6702 esac
6703 STRIP=$ac_ct_STRIP
6705 else
6706 STRIP="$ac_cv_prog_STRIP"
6709 test -z "$STRIP" && STRIP=:
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6718 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 if test -n "$RANLIB"; then
6725 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6726 else
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 for as_dir in $PATH
6730 IFS=$as_save_IFS
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 break 2
6738 done
6739 done
6740 IFS=$as_save_IFS
6744 RANLIB=$ac_cv_prog_RANLIB
6745 if test -n "$RANLIB"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6747 $as_echo "$RANLIB" >&6; }
6748 else
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6755 if test -z "$ac_cv_prog_RANLIB"; then
6756 ac_ct_RANLIB=$RANLIB
6757 # Extract the first word of "ranlib", so it can be a program name with args.
6758 set dummy ranlib; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6762 $as_echo_n "(cached) " >&6
6763 else
6764 if test -n "$ac_ct_RANLIB"; then
6765 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6766 else
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 for as_dir in $PATH
6770 IFS=$as_save_IFS
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6774 ac_cv_prog_ac_ct_RANLIB="ranlib"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 break 2
6778 done
6779 done
6780 IFS=$as_save_IFS
6784 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6785 if test -n "$ac_ct_RANLIB"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6787 $as_echo "$ac_ct_RANLIB" >&6; }
6788 else
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6793 if test "x$ac_ct_RANLIB" = x; then
6794 RANLIB=":"
6795 else
6796 case $cross_compiling:$ac_tool_warned in
6797 yes:)
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned=yes ;;
6801 esac
6802 RANLIB=$ac_ct_RANLIB
6804 else
6805 RANLIB="$ac_cv_prog_RANLIB"
6808 test -z "$RANLIB" && RANLIB=:
6815 # Determine commands to create old-style static archives.
6816 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6817 old_postinstall_cmds='chmod 644 $oldlib'
6818 old_postuninstall_cmds=
6820 if test -n "$RANLIB"; then
6821 case $host_os in
6822 openbsd*)
6823 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6826 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6828 esac
6829 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6832 case $host_os in
6833 darwin*)
6834 lock_old_archive_extraction=yes ;;
6836 lock_old_archive_extraction=no ;;
6837 esac
6877 # If no C compiler was specified, use CC.
6878 LTCC=${LTCC-"$CC"}
6880 # If no C compiler flags were specified, use CFLAGS.
6881 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6883 # Allow CC to be a program name with arguments.
6884 compiler=$CC
6887 # Check for command to grab the raw symbol name followed by C symbol from nm.
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6889 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6890 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6891 $as_echo_n "(cached) " >&6
6892 else
6894 # These are sane defaults that work on at least a few old systems.
6895 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6897 # Character class describing NM global symbol codes.
6898 symcode='[BCDEGRST]'
6900 # Regexp to match symbols that can be accessed directly from C.
6901 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6903 # Define system-specific variables.
6904 case $host_os in
6905 aix*)
6906 symcode='[BCDT]'
6908 cygwin* | mingw* | pw32* | cegcc*)
6909 symcode='[ABCDGISTW]'
6911 hpux*)
6912 if test "$host_cpu" = ia64; then
6913 symcode='[ABCDEGRST]'
6916 irix* | nonstopux*)
6917 symcode='[BCDEGRST]'
6919 osf*)
6920 symcode='[BCDEGQRST]'
6922 solaris*)
6923 symcode='[BDRT]'
6925 sco3.2v5*)
6926 symcode='[DT]'
6928 sysv4.2uw2*)
6929 symcode='[DT]'
6931 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6932 symcode='[ABDT]'
6934 sysv4)
6935 symcode='[DFNSTU]'
6937 esac
6939 # If we're using GNU nm, then use its standard symbol codes.
6940 case `$NM -V 2>&1` in
6941 *GNU* | *'with BFD'*)
6942 symcode='[ABCDGIRSTW]' ;;
6943 esac
6945 # Transform an extracted symbol line into a proper C declaration.
6946 # Some systems (esp. on ia64) link data and code symbols differently,
6947 # so use this general approach.
6948 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6950 # Transform an extracted symbol line into symbol name and symbol address
6951 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6952 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6954 # Handle CRLF in mingw tool chain
6955 opt_cr=
6956 case $build_os in
6957 mingw*)
6958 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6960 esac
6962 # Try without a prefix underscore, then with it.
6963 for ac_symprfx in "" "_"; do
6965 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6966 symxfrm="\\1 $ac_symprfx\\2 \\2"
6968 # Write the raw and C identifiers.
6969 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6970 # Fake it for dumpbin and say T for any non-static function
6971 # and D for any global variable.
6972 # Also find C++ and __fastcall symbols from MSVC++,
6973 # which start with @ or ?.
6974 lt_cv_sys_global_symbol_pipe="$AWK '"\
6975 " {last_section=section; section=\$ 3};"\
6976 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6977 " \$ 0!~/External *\|/{next};"\
6978 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6979 " {if(hide[section]) next};"\
6980 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6981 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6982 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6983 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6984 " ' prfx=^$ac_symprfx"
6985 else
6986 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6989 # Check to see that the pipe works correctly.
6990 pipe_works=no
6992 rm -f conftest*
6993 cat > conftest.$ac_ext <<_LT_EOF
6994 #ifdef __cplusplus
6995 extern "C" {
6996 #endif
6997 char nm_test_var;
6998 void nm_test_func(void);
6999 void nm_test_func(void){}
7000 #ifdef __cplusplus
7002 #endif
7003 int main(){nm_test_var='a';nm_test_func();return(0);}
7004 _LT_EOF
7006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7007 (eval $ac_compile) 2>&5
7008 ac_status=$?
7009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7010 test $ac_status = 0; }; then
7011 # Now try to grab the symbols.
7012 nlist=conftest.nm
7013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7014 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7015 ac_status=$?
7016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017 test $ac_status = 0; } && test -s "$nlist"; then
7018 # Try sorting and uniquifying the output.
7019 if sort "$nlist" | uniq > "$nlist"T; then
7020 mv -f "$nlist"T "$nlist"
7021 else
7022 rm -f "$nlist"T
7025 # Make sure that we snagged all the symbols we need.
7026 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7027 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7028 cat <<_LT_EOF > conftest.$ac_ext
7029 #ifdef __cplusplus
7030 extern "C" {
7031 #endif
7033 _LT_EOF
7034 # Now generate the symbol file.
7035 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7037 cat <<_LT_EOF >> conftest.$ac_ext
7039 /* The mapping between symbol names and symbols. */
7040 const struct {
7041 const char *name;
7042 void *address;
7044 lt__PROGRAM__LTX_preloaded_symbols[] =
7046 { "@PROGRAM@", (void *) 0 },
7047 _LT_EOF
7048 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7049 cat <<\_LT_EOF >> conftest.$ac_ext
7050 {0, (void *) 0}
7053 /* This works around a problem in FreeBSD linker */
7054 #ifdef FREEBSD_WORKAROUND
7055 static const void *lt_preloaded_setup() {
7056 return lt__PROGRAM__LTX_preloaded_symbols;
7058 #endif
7060 #ifdef __cplusplus
7062 #endif
7063 _LT_EOF
7064 # Now try linking the two files.
7065 mv conftest.$ac_objext conftstm.$ac_objext
7066 lt_save_LIBS="$LIBS"
7067 lt_save_CFLAGS="$CFLAGS"
7068 LIBS="conftstm.$ac_objext"
7069 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7071 (eval $ac_link) 2>&5
7072 ac_status=$?
7073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7074 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7075 pipe_works=yes
7077 LIBS="$lt_save_LIBS"
7078 CFLAGS="$lt_save_CFLAGS"
7079 else
7080 echo "cannot find nm_test_func in $nlist" >&5
7082 else
7083 echo "cannot find nm_test_var in $nlist" >&5
7085 else
7086 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7088 else
7089 echo "$progname: failed program was:" >&5
7090 cat conftest.$ac_ext >&5
7092 rm -rf conftest* conftst*
7094 # Do not use the global_symbol_pipe unless it works.
7095 if test "$pipe_works" = yes; then
7096 break
7097 else
7098 lt_cv_sys_global_symbol_pipe=
7100 done
7104 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7105 lt_cv_sys_global_symbol_to_cdecl=
7107 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7109 $as_echo "failed" >&6; }
7110 else
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7112 $as_echo "ok" >&6; }
7136 # Check whether --enable-libtool-lock was given.
7137 if test "${enable_libtool_lock+set}" = set; then :
7138 enableval=$enable_libtool_lock;
7141 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7143 # Some flags need to be propagated to the compiler or linker for good
7144 # libtool support.
7145 case $host in
7146 ia64-*-hpux*)
7147 # Find out which ABI we are using.
7148 echo 'int i;' > conftest.$ac_ext
7149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150 (eval $ac_compile) 2>&5
7151 ac_status=$?
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7153 test $ac_status = 0; }; then
7154 case `/usr/bin/file conftest.$ac_objext` in
7155 *ELF-32*)
7156 HPUX_IA64_MODE="32"
7158 *ELF-64*)
7159 HPUX_IA64_MODE="64"
7161 esac
7163 rm -rf conftest*
7165 *-*-irix6*)
7166 # Find out which ABI we are using.
7167 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7169 (eval $ac_compile) 2>&5
7170 ac_status=$?
7171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7172 test $ac_status = 0; }; then
7173 if test "$lt_cv_prog_gnu_ld" = yes; then
7174 case `/usr/bin/file conftest.$ac_objext` in
7175 *32-bit*)
7176 LD="${LD-ld} -melf32bsmip"
7178 *N32*)
7179 LD="${LD-ld} -melf32bmipn32"
7181 *64-bit*)
7182 LD="${LD-ld} -melf64bmip"
7184 esac
7185 else
7186 case `/usr/bin/file conftest.$ac_objext` in
7187 *32-bit*)
7188 LD="${LD-ld} -32"
7190 *N32*)
7191 LD="${LD-ld} -n32"
7193 *64-bit*)
7194 LD="${LD-ld} -64"
7196 esac
7199 rm -rf conftest*
7202 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7203 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7204 # Find out which ABI we are using.
7205 echo 'int i;' > conftest.$ac_ext
7206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7207 (eval $ac_compile) 2>&5
7208 ac_status=$?
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7210 test $ac_status = 0; }; then
7211 case `/usr/bin/file conftest.o` in
7212 *32-bit*)
7213 case $host in
7214 x86_64-*kfreebsd*-gnu)
7215 LD="${LD-ld} -m elf_i386_fbsd"
7217 x86_64-*linux*)
7218 case `/usr/bin/file conftest.o` in
7219 *x86-64*)
7220 LD="${LD-ld} -m elf32_x86_64"
7223 LD="${LD-ld} -m elf_i386"
7225 esac
7227 powerpc64le-*linux*)
7228 LD="${LD-ld} -m elf32lppclinux"
7230 powerpc64-*linux*)
7231 LD="${LD-ld} -m elf32ppclinux"
7233 s390x-*linux*)
7234 LD="${LD-ld} -m elf_s390"
7236 sparc64-*linux*)
7237 LD="${LD-ld} -m elf32_sparc"
7239 esac
7241 *64-bit*)
7242 case $host in
7243 x86_64-*kfreebsd*-gnu)
7244 LD="${LD-ld} -m elf_x86_64_fbsd"
7246 x86_64-*linux*)
7247 LD="${LD-ld} -m elf_x86_64"
7249 powerpcle-*linux*)
7250 LD="${LD-ld} -m elf64lppc"
7252 powerpc-*linux*)
7253 LD="${LD-ld} -m elf64ppc"
7255 s390*-*linux*|s390*-*tpf*)
7256 LD="${LD-ld} -m elf64_s390"
7258 sparc*-*linux*)
7259 LD="${LD-ld} -m elf64_sparc"
7261 esac
7263 esac
7265 rm -rf conftest*
7268 *-*-sco3.2v5*)
7269 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7270 SAVE_CFLAGS="$CFLAGS"
7271 CFLAGS="$CFLAGS -belf"
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7273 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7274 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7275 $as_echo_n "(cached) " >&6
7276 else
7277 ac_ext=c
7278 ac_cpp='$CPP $CPPFLAGS'
7279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7283 if test x$gcc_no_link = xyes; then
7284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7290 main ()
7294 return 0;
7296 _ACEOF
7297 if ac_fn_c_try_link "$LINENO"; then :
7298 lt_cv_cc_needs_belf=yes
7299 else
7300 lt_cv_cc_needs_belf=no
7302 rm -f core conftest.err conftest.$ac_objext \
7303 conftest$ac_exeext conftest.$ac_ext
7304 ac_ext=c
7305 ac_cpp='$CPP $CPPFLAGS'
7306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7312 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7313 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7314 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7315 CFLAGS="$SAVE_CFLAGS"
7318 sparc*-*solaris*)
7319 # Find out which ABI we are using.
7320 echo 'int i;' > conftest.$ac_ext
7321 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7322 (eval $ac_compile) 2>&5
7323 ac_status=$?
7324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7325 test $ac_status = 0; }; then
7326 case `/usr/bin/file conftest.o` in
7327 *64-bit*)
7328 case $lt_cv_prog_gnu_ld in
7329 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7331 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7332 LD="${LD-ld} -64"
7335 esac
7337 esac
7339 rm -rf conftest*
7341 esac
7343 need_locks="$enable_libtool_lock"
7346 case $host_os in
7347 rhapsody* | darwin*)
7348 if test -n "$ac_tool_prefix"; then
7349 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7350 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7354 $as_echo_n "(cached) " >&6
7355 else
7356 if test -n "$DSYMUTIL"; then
7357 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7358 else
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 for as_dir in $PATH
7362 IFS=$as_save_IFS
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 break 2
7370 done
7371 done
7372 IFS=$as_save_IFS
7376 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7377 if test -n "$DSYMUTIL"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7379 $as_echo "$DSYMUTIL" >&6; }
7380 else
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7387 if test -z "$ac_cv_prog_DSYMUTIL"; then
7388 ac_ct_DSYMUTIL=$DSYMUTIL
7389 # Extract the first word of "dsymutil", so it can be a program name with args.
7390 set dummy dsymutil; ac_word=$2
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7392 $as_echo_n "checking for $ac_word... " >&6; }
7393 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7394 $as_echo_n "(cached) " >&6
7395 else
7396 if test -n "$ac_ct_DSYMUTIL"; then
7397 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7398 else
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7400 for as_dir in $PATH
7402 IFS=$as_save_IFS
7403 test -z "$as_dir" && as_dir=.
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7406 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 break 2
7410 done
7411 done
7412 IFS=$as_save_IFS
7416 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7417 if test -n "$ac_ct_DSYMUTIL"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7419 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7420 else
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7425 if test "x$ac_ct_DSYMUTIL" = x; then
7426 DSYMUTIL=":"
7427 else
7428 case $cross_compiling:$ac_tool_warned in
7429 yes:)
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7432 ac_tool_warned=yes ;;
7433 esac
7434 DSYMUTIL=$ac_ct_DSYMUTIL
7436 else
7437 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7440 if test -n "$ac_tool_prefix"; then
7441 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7442 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7446 $as_echo_n "(cached) " >&6
7447 else
7448 if test -n "$NMEDIT"; then
7449 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7450 else
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 for as_dir in $PATH
7454 IFS=$as_save_IFS
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7458 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 break 2
7462 done
7463 done
7464 IFS=$as_save_IFS
7468 NMEDIT=$ac_cv_prog_NMEDIT
7469 if test -n "$NMEDIT"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7471 $as_echo "$NMEDIT" >&6; }
7472 else
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7479 if test -z "$ac_cv_prog_NMEDIT"; then
7480 ac_ct_NMEDIT=$NMEDIT
7481 # Extract the first word of "nmedit", so it can be a program name with args.
7482 set dummy nmedit; ac_word=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 $as_echo_n "checking for $ac_word... " >&6; }
7485 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7487 else
7488 if test -n "$ac_ct_NMEDIT"; then
7489 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7490 else
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 for as_dir in $PATH
7494 IFS=$as_save_IFS
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 break 2
7502 done
7503 done
7504 IFS=$as_save_IFS
7508 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7509 if test -n "$ac_ct_NMEDIT"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7511 $as_echo "$ac_ct_NMEDIT" >&6; }
7512 else
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7517 if test "x$ac_ct_NMEDIT" = x; then
7518 NMEDIT=":"
7519 else
7520 case $cross_compiling:$ac_tool_warned in
7521 yes:)
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7524 ac_tool_warned=yes ;;
7525 esac
7526 NMEDIT=$ac_ct_NMEDIT
7528 else
7529 NMEDIT="$ac_cv_prog_NMEDIT"
7532 if test -n "$ac_tool_prefix"; then
7533 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7534 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if test "${ac_cv_prog_LIPO+set}" = set; then :
7538 $as_echo_n "(cached) " >&6
7539 else
7540 if test -n "$LIPO"; then
7541 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7542 else
7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 for as_dir in $PATH
7546 IFS=$as_save_IFS
7547 test -z "$as_dir" && as_dir=.
7548 for ac_exec_ext in '' $ac_executable_extensions; do
7549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7550 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7552 break 2
7554 done
7555 done
7556 IFS=$as_save_IFS
7560 LIPO=$ac_cv_prog_LIPO
7561 if test -n "$LIPO"; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7563 $as_echo "$LIPO" >&6; }
7564 else
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7571 if test -z "$ac_cv_prog_LIPO"; then
7572 ac_ct_LIPO=$LIPO
7573 # Extract the first word of "lipo", so it can be a program name with args.
7574 set dummy lipo; ac_word=$2
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7576 $as_echo_n "checking for $ac_word... " >&6; }
7577 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7578 $as_echo_n "(cached) " >&6
7579 else
7580 if test -n "$ac_ct_LIPO"; then
7581 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7582 else
7583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 for as_dir in $PATH
7586 IFS=$as_save_IFS
7587 test -z "$as_dir" && as_dir=.
7588 for ac_exec_ext in '' $ac_executable_extensions; do
7589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7590 ac_cv_prog_ac_ct_LIPO="lipo"
7591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 break 2
7594 done
7595 done
7596 IFS=$as_save_IFS
7600 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7601 if test -n "$ac_ct_LIPO"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7603 $as_echo "$ac_ct_LIPO" >&6; }
7604 else
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7609 if test "x$ac_ct_LIPO" = x; then
7610 LIPO=":"
7611 else
7612 case $cross_compiling:$ac_tool_warned in
7613 yes:)
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7616 ac_tool_warned=yes ;;
7617 esac
7618 LIPO=$ac_ct_LIPO
7620 else
7621 LIPO="$ac_cv_prog_LIPO"
7624 if test -n "$ac_tool_prefix"; then
7625 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7626 set dummy ${ac_tool_prefix}otool; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7630 $as_echo_n "(cached) " >&6
7631 else
7632 if test -n "$OTOOL"; then
7633 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7634 else
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 for as_dir in $PATH
7638 IFS=$as_save_IFS
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644 break 2
7646 done
7647 done
7648 IFS=$as_save_IFS
7652 OTOOL=$ac_cv_prog_OTOOL
7653 if test -n "$OTOOL"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7655 $as_echo "$OTOOL" >&6; }
7656 else
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7663 if test -z "$ac_cv_prog_OTOOL"; then
7664 ac_ct_OTOOL=$OTOOL
7665 # Extract the first word of "otool", so it can be a program name with args.
7666 set dummy otool; ac_word=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668 $as_echo_n "checking for $ac_word... " >&6; }
7669 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7670 $as_echo_n "(cached) " >&6
7671 else
7672 if test -n "$ac_ct_OTOOL"; then
7673 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7674 else
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 for as_dir in $PATH
7678 IFS=$as_save_IFS
7679 test -z "$as_dir" && as_dir=.
7680 for ac_exec_ext in '' $ac_executable_extensions; do
7681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7682 ac_cv_prog_ac_ct_OTOOL="otool"
7683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7684 break 2
7686 done
7687 done
7688 IFS=$as_save_IFS
7692 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7693 if test -n "$ac_ct_OTOOL"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7695 $as_echo "$ac_ct_OTOOL" >&6; }
7696 else
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698 $as_echo "no" >&6; }
7701 if test "x$ac_ct_OTOOL" = x; then
7702 OTOOL=":"
7703 else
7704 case $cross_compiling:$ac_tool_warned in
7705 yes:)
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7708 ac_tool_warned=yes ;;
7709 esac
7710 OTOOL=$ac_ct_OTOOL
7712 else
7713 OTOOL="$ac_cv_prog_OTOOL"
7716 if test -n "$ac_tool_prefix"; then
7717 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7718 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7722 $as_echo_n "(cached) " >&6
7723 else
7724 if test -n "$OTOOL64"; then
7725 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7726 else
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 for as_dir in $PATH
7730 IFS=$as_save_IFS
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7734 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736 break 2
7738 done
7739 done
7740 IFS=$as_save_IFS
7744 OTOOL64=$ac_cv_prog_OTOOL64
7745 if test -n "$OTOOL64"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7747 $as_echo "$OTOOL64" >&6; }
7748 else
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7755 if test -z "$ac_cv_prog_OTOOL64"; then
7756 ac_ct_OTOOL64=$OTOOL64
7757 # Extract the first word of "otool64", so it can be a program name with args.
7758 set dummy otool64; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7762 $as_echo_n "(cached) " >&6
7763 else
7764 if test -n "$ac_ct_OTOOL64"; then
7765 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7766 else
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 for as_dir in $PATH
7770 IFS=$as_save_IFS
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774 ac_cv_prog_ac_ct_OTOOL64="otool64"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776 break 2
7778 done
7779 done
7780 IFS=$as_save_IFS
7784 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7785 if test -n "$ac_ct_OTOOL64"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7787 $as_echo "$ac_ct_OTOOL64" >&6; }
7788 else
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7793 if test "x$ac_ct_OTOOL64" = x; then
7794 OTOOL64=":"
7795 else
7796 case $cross_compiling:$ac_tool_warned in
7797 yes:)
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7800 ac_tool_warned=yes ;;
7801 esac
7802 OTOOL64=$ac_ct_OTOOL64
7804 else
7805 OTOOL64="$ac_cv_prog_OTOOL64"
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7835 $as_echo_n "checking for -single_module linker flag... " >&6; }
7836 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7837 $as_echo_n "(cached) " >&6
7838 else
7839 lt_cv_apple_cc_single_mod=no
7840 if test -z "${LT_MULTI_MODULE}"; then
7841 # By default we will add the -single_module flag. You can override
7842 # by either setting the environment variable LT_MULTI_MODULE
7843 # non-empty at configure time, or by adding -multi_module to the
7844 # link flags.
7845 rm -rf libconftest.dylib*
7846 echo "int foo(void){return 1;}" > conftest.c
7847 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7848 -dynamiclib -Wl,-single_module conftest.c" >&5
7849 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7850 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7851 _lt_result=$?
7852 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7853 lt_cv_apple_cc_single_mod=yes
7854 else
7855 cat conftest.err >&5
7857 rm -rf libconftest.dylib*
7858 rm -f conftest.*
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7862 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7864 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7865 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7866 $as_echo_n "(cached) " >&6
7867 else
7868 lt_cv_ld_exported_symbols_list=no
7869 save_LDFLAGS=$LDFLAGS
7870 echo "_main" > conftest.sym
7871 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7872 if test x$gcc_no_link = xyes; then
7873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7879 main ()
7883 return 0;
7885 _ACEOF
7886 if ac_fn_c_try_link "$LINENO"; then :
7887 lt_cv_ld_exported_symbols_list=yes
7888 else
7889 lt_cv_ld_exported_symbols_list=no
7891 rm -f core conftest.err conftest.$ac_objext \
7892 conftest$ac_exeext conftest.$ac_ext
7893 LDFLAGS="$save_LDFLAGS"
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7897 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7899 $as_echo_n "checking for -force_load linker flag... " >&6; }
7900 if test "${lt_cv_ld_force_load+set}" = set; then :
7901 $as_echo_n "(cached) " >&6
7902 else
7903 lt_cv_ld_force_load=no
7904 cat > conftest.c << _LT_EOF
7905 int forced_loaded() { return 2;}
7906 _LT_EOF
7907 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7908 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7909 echo "$AR cru libconftest.a conftest.o" >&5
7910 $AR cru libconftest.a conftest.o 2>&5
7911 cat > conftest.c << _LT_EOF
7912 int main() { return 0;}
7913 _LT_EOF
7914 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7915 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7916 _lt_result=$?
7917 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7918 lt_cv_ld_force_load=yes
7919 else
7920 cat conftest.err >&5
7922 rm -f conftest.err libconftest.a conftest conftest.c
7923 rm -rf conftest.dSYM
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7927 $as_echo "$lt_cv_ld_force_load" >&6; }
7928 case $host_os in
7929 rhapsody* | darwin1.[012])
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7931 darwin1.*)
7932 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7933 darwin*) # darwin 5.x on
7934 # if running on 10.5 or later, the deployment target defaults
7935 # to the OS version, if on x86, and 10.4, the deployment
7936 # target defaults to 10.4. Don't you love it?
7937 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7938 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7939 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7940 10.[012][,.]*)
7941 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7942 10.*)
7943 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7944 esac
7946 esac
7947 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7948 _lt_dar_single_mod='$single_module'
7950 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7951 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7952 else
7953 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7955 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7956 _lt_dsymutil='~$DSYMUTIL $lib || :'
7957 else
7958 _lt_dsymutil=
7961 esac
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7964 $as_echo_n "checking for ANSI C header files... " >&6; }
7965 if test "${ac_cv_header_stdc+set}" = set; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7969 /* end confdefs.h. */
7970 #include <stdlib.h>
7971 #include <stdarg.h>
7972 #include <string.h>
7973 #include <float.h>
7976 main ()
7980 return 0;
7982 _ACEOF
7983 if ac_fn_c_try_compile "$LINENO"; then :
7984 ac_cv_header_stdc=yes
7985 else
7986 ac_cv_header_stdc=no
7988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7990 if test $ac_cv_header_stdc = yes; then
7991 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7993 /* end confdefs.h. */
7994 #include <string.h>
7996 _ACEOF
7997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7998 $EGREP "memchr" >/dev/null 2>&1; then :
8000 else
8001 ac_cv_header_stdc=no
8003 rm -f conftest*
8007 if test $ac_cv_header_stdc = yes; then
8008 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8010 /* end confdefs.h. */
8011 #include <stdlib.h>
8013 _ACEOF
8014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8015 $EGREP "free" >/dev/null 2>&1; then :
8017 else
8018 ac_cv_header_stdc=no
8020 rm -f conftest*
8024 if test $ac_cv_header_stdc = yes; then
8025 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8026 if test "$cross_compiling" = yes; then :
8028 else
8029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8031 #include <ctype.h>
8032 #include <stdlib.h>
8033 #if ((' ' & 0x0FF) == 0x020)
8034 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8035 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8036 #else
8037 # define ISLOWER(c) \
8038 (('a' <= (c) && (c) <= 'i') \
8039 || ('j' <= (c) && (c) <= 'r') \
8040 || ('s' <= (c) && (c) <= 'z'))
8041 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8042 #endif
8044 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8046 main ()
8048 int i;
8049 for (i = 0; i < 256; i++)
8050 if (XOR (islower (i), ISLOWER (i))
8051 || toupper (i) != TOUPPER (i))
8052 return 2;
8053 return 0;
8055 _ACEOF
8056 if ac_fn_c_try_run "$LINENO"; then :
8058 else
8059 ac_cv_header_stdc=no
8061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8062 conftest.$ac_objext conftest.beam conftest.$ac_ext
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8068 $as_echo "$ac_cv_header_stdc" >&6; }
8069 if test $ac_cv_header_stdc = yes; then
8071 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8075 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8076 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8077 inttypes.h stdint.h unistd.h
8078 do :
8079 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8080 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8082 eval as_val=\$$as_ac_Header
8083 if test "x$as_val" = x""yes; then :
8084 cat >>confdefs.h <<_ACEOF
8085 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8086 _ACEOF
8090 done
8093 for ac_header in dlfcn.h
8094 do :
8095 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8097 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8098 cat >>confdefs.h <<_ACEOF
8099 #define HAVE_DLFCN_H 1
8100 _ACEOF
8104 done
8111 # Set options
8116 enable_win32_dll=no
8119 # Check whether --enable-shared was given.
8120 if test "${enable_shared+set}" = set; then :
8121 enableval=$enable_shared; p=${PACKAGE-default}
8122 case $enableval in
8123 yes) enable_shared=yes ;;
8124 no) enable_shared=no ;;
8126 enable_shared=no
8127 # Look at the argument we got. We use all the common list separators.
8128 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8129 for pkg in $enableval; do
8130 IFS="$lt_save_ifs"
8131 if test "X$pkg" = "X$p"; then
8132 enable_shared=yes
8134 done
8135 IFS="$lt_save_ifs"
8137 esac
8138 else
8139 enable_shared=yes
8150 # Check whether --enable-static was given.
8151 if test "${enable_static+set}" = set; then :
8152 enableval=$enable_static; p=${PACKAGE-default}
8153 case $enableval in
8154 yes) enable_static=yes ;;
8155 no) enable_static=no ;;
8157 enable_static=no
8158 # Look at the argument we got. We use all the common list separators.
8159 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8160 for pkg in $enableval; do
8161 IFS="$lt_save_ifs"
8162 if test "X$pkg" = "X$p"; then
8163 enable_static=yes
8165 done
8166 IFS="$lt_save_ifs"
8168 esac
8169 else
8170 enable_static=yes
8182 # Check whether --with-pic was given.
8183 if test "${with_pic+set}" = set; then :
8184 withval=$with_pic; pic_mode="$withval"
8185 else
8186 pic_mode=default
8190 test -z "$pic_mode" && pic_mode=default
8198 # Check whether --enable-fast-install was given.
8199 if test "${enable_fast_install+set}" = set; then :
8200 enableval=$enable_fast_install; p=${PACKAGE-default}
8201 case $enableval in
8202 yes) enable_fast_install=yes ;;
8203 no) enable_fast_install=no ;;
8205 enable_fast_install=no
8206 # Look at the argument we got. We use all the common list separators.
8207 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8208 for pkg in $enableval; do
8209 IFS="$lt_save_ifs"
8210 if test "X$pkg" = "X$p"; then
8211 enable_fast_install=yes
8213 done
8214 IFS="$lt_save_ifs"
8216 esac
8217 else
8218 enable_fast_install=yes
8231 # This can be used to rebuild libtool when needed
8232 LIBTOOL_DEPS="$ltmain"
8234 # Always use our own libtool.
8235 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8262 test -z "$LN_S" && LN_S="ln -s"
8277 if test -n "${ZSH_VERSION+set}" ; then
8278 setopt NO_GLOB_SUBST
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8282 $as_echo_n "checking for objdir... " >&6; }
8283 if test "${lt_cv_objdir+set}" = set; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 rm -f .libs 2>/dev/null
8287 mkdir .libs 2>/dev/null
8288 if test -d .libs; then
8289 lt_cv_objdir=.libs
8290 else
8291 # MS-DOS does not allow filenames that begin with a dot.
8292 lt_cv_objdir=_libs
8294 rmdir .libs 2>/dev/null
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8297 $as_echo "$lt_cv_objdir" >&6; }
8298 objdir=$lt_cv_objdir
8304 cat >>confdefs.h <<_ACEOF
8305 #define LT_OBJDIR "$lt_cv_objdir/"
8306 _ACEOF
8311 case $host_os in
8312 aix3*)
8313 # AIX sometimes has problems with the GCC collect2 program. For some
8314 # reason, if we set the COLLECT_NAMES environment variable, the problems
8315 # vanish in a puff of smoke.
8316 if test "X${COLLECT_NAMES+set}" != Xset; then
8317 COLLECT_NAMES=
8318 export COLLECT_NAMES
8321 esac
8323 # Global variables:
8324 ofile=libtool
8325 can_build_shared=yes
8327 # All known linkers require a `.a' archive for static linking (except MSVC,
8328 # which needs '.lib').
8329 libext=a
8331 with_gnu_ld="$lt_cv_prog_gnu_ld"
8333 old_CC="$CC"
8334 old_CFLAGS="$CFLAGS"
8336 # Set sane defaults for various variables
8337 test -z "$CC" && CC=cc
8338 test -z "$LTCC" && LTCC=$CC
8339 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8340 test -z "$LD" && LD=ld
8341 test -z "$ac_objext" && ac_objext=o
8343 for cc_temp in $compiler""; do
8344 case $cc_temp in
8345 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8346 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8347 \-*) ;;
8348 *) break;;
8349 esac
8350 done
8351 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8354 # Only perform the check for file, if the check method requires it
8355 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8356 case $deplibs_check_method in
8357 file_magic*)
8358 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8360 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8361 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 case $MAGIC_CMD in
8365 [\\/*] | ?:[\\/]*)
8366 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8369 lt_save_MAGIC_CMD="$MAGIC_CMD"
8370 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8371 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8372 for ac_dir in $ac_dummy; do
8373 IFS="$lt_save_ifs"
8374 test -z "$ac_dir" && ac_dir=.
8375 if test -f $ac_dir/${ac_tool_prefix}file; then
8376 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8377 if test -n "$file_magic_test_file"; then
8378 case $deplibs_check_method in
8379 "file_magic "*)
8380 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8381 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8382 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8383 $EGREP "$file_magic_regex" > /dev/null; then
8385 else
8386 cat <<_LT_EOF 1>&2
8388 *** Warning: the command libtool uses to detect shared libraries,
8389 *** $file_magic_cmd, produces output that libtool cannot recognize.
8390 *** The result is that libtool may fail to recognize shared libraries
8391 *** as such. This will affect the creation of libtool libraries that
8392 *** depend on shared libraries, but programs linked with such libtool
8393 *** libraries will work regardless of this problem. Nevertheless, you
8394 *** may want to report the problem to your system manager and/or to
8395 *** bug-libtool@gnu.org
8397 _LT_EOF
8398 fi ;;
8399 esac
8401 break
8403 done
8404 IFS="$lt_save_ifs"
8405 MAGIC_CMD="$lt_save_MAGIC_CMD"
8407 esac
8410 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8411 if test -n "$MAGIC_CMD"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8413 $as_echo "$MAGIC_CMD" >&6; }
8414 else
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8423 if test -z "$lt_cv_path_MAGIC_CMD"; then
8424 if test -n "$ac_tool_prefix"; then
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8426 $as_echo_n "checking for file... " >&6; }
8427 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 case $MAGIC_CMD in
8431 [\\/*] | ?:[\\/]*)
8432 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8435 lt_save_MAGIC_CMD="$MAGIC_CMD"
8436 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8437 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8438 for ac_dir in $ac_dummy; do
8439 IFS="$lt_save_ifs"
8440 test -z "$ac_dir" && ac_dir=.
8441 if test -f $ac_dir/file; then
8442 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8443 if test -n "$file_magic_test_file"; then
8444 case $deplibs_check_method in
8445 "file_magic "*)
8446 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8447 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8448 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8449 $EGREP "$file_magic_regex" > /dev/null; then
8451 else
8452 cat <<_LT_EOF 1>&2
8454 *** Warning: the command libtool uses to detect shared libraries,
8455 *** $file_magic_cmd, produces output that libtool cannot recognize.
8456 *** The result is that libtool may fail to recognize shared libraries
8457 *** as such. This will affect the creation of libtool libraries that
8458 *** depend on shared libraries, but programs linked with such libtool
8459 *** libraries will work regardless of this problem. Nevertheless, you
8460 *** may want to report the problem to your system manager and/or to
8461 *** bug-libtool@gnu.org
8463 _LT_EOF
8464 fi ;;
8465 esac
8467 break
8469 done
8470 IFS="$lt_save_ifs"
8471 MAGIC_CMD="$lt_save_MAGIC_CMD"
8473 esac
8476 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8477 if test -n "$MAGIC_CMD"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8479 $as_echo "$MAGIC_CMD" >&6; }
8480 else
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8486 else
8487 MAGIC_CMD=:
8493 esac
8495 # Use C for the default configuration in the libtool script
8497 lt_save_CC="$CC"
8498 ac_ext=c
8499 ac_cpp='$CPP $CPPFLAGS'
8500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8505 # Source file extension for C test sources.
8506 ac_ext=c
8508 # Object file extension for compiled C test sources.
8509 objext=o
8510 objext=$objext
8512 # Code to be used in simple compile tests
8513 lt_simple_compile_test_code="int some_variable = 0;"
8515 # Code to be used in simple link tests
8516 lt_simple_link_test_code='int main(){return(0);}'
8524 # If no C compiler was specified, use CC.
8525 LTCC=${LTCC-"$CC"}
8527 # If no C compiler flags were specified, use CFLAGS.
8528 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8530 # Allow CC to be a program name with arguments.
8531 compiler=$CC
8533 # Save the default compiler, since it gets overwritten when the other
8534 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8535 compiler_DEFAULT=$CC
8537 # save warnings/boilerplate of simple test code
8538 ac_outfile=conftest.$ac_objext
8539 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8540 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8541 _lt_compiler_boilerplate=`cat conftest.err`
8542 $RM conftest*
8544 ac_outfile=conftest.$ac_objext
8545 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8546 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8547 _lt_linker_boilerplate=`cat conftest.err`
8548 $RM -r conftest*
8551 ## CAVEAT EMPTOR:
8552 ## There is no encapsulation within the following macros, do not change
8553 ## the running order or otherwise move them around unless you know exactly
8554 ## what you are doing...
8555 if test -n "$compiler"; then
8557 lt_prog_compiler_no_builtin_flag=
8559 if test "$GCC" = yes; then
8560 case $cc_basename in
8561 nvcc*)
8562 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8564 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8565 esac
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8568 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8569 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8570 $as_echo_n "(cached) " >&6
8571 else
8572 lt_cv_prog_compiler_rtti_exceptions=no
8573 ac_outfile=conftest.$ac_objext
8574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8575 lt_compiler_flag="-fno-rtti -fno-exceptions"
8576 # Insert the option either (1) after the last *FLAGS variable, or
8577 # (2) before a word containing "conftest.", or (3) at the end.
8578 # Note that $ac_compile itself does not contain backslashes and begins
8579 # with a dollar sign (not a hyphen), so the echo should work correctly.
8580 # The option is referenced via a variable to avoid confusing sed.
8581 lt_compile=`echo "$ac_compile" | $SED \
8582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8584 -e 's:$: $lt_compiler_flag:'`
8585 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8586 (eval "$lt_compile" 2>conftest.err)
8587 ac_status=$?
8588 cat conftest.err >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 if (exit $ac_status) && test -s "$ac_outfile"; then
8591 # The compiler can only warn and ignore the option if not recognized
8592 # So say no if there are warnings other than the usual output.
8593 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8594 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8595 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8596 lt_cv_prog_compiler_rtti_exceptions=yes
8599 $RM conftest*
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8603 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8605 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8606 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8607 else
8618 lt_prog_compiler_wl=
8619 lt_prog_compiler_pic=
8620 lt_prog_compiler_static=
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8623 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8625 if test "$GCC" = yes; then
8626 lt_prog_compiler_wl='-Wl,'
8627 lt_prog_compiler_static='-static'
8629 case $host_os in
8630 aix*)
8631 # All AIX code is PIC.
8632 if test "$host_cpu" = ia64; then
8633 # AIX 5 now supports IA64 processor
8634 lt_prog_compiler_static='-Bstatic'
8636 lt_prog_compiler_pic='-fPIC'
8639 amigaos*)
8640 case $host_cpu in
8641 powerpc)
8642 # see comment about AmigaOS4 .so support
8643 lt_prog_compiler_pic='-fPIC'
8645 m68k)
8646 # FIXME: we need at least 68020 code to build shared libraries, but
8647 # adding the `-m68020' flag to GCC prevents building anything better,
8648 # like `-m68040'.
8649 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8651 esac
8654 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8655 # PIC is the default for these OSes.
8658 mingw* | cygwin* | pw32* | os2* | cegcc*)
8659 # This hack is so that the source file can tell whether it is being
8660 # built for inclusion in a dll (and should export symbols for example).
8661 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8662 # (--disable-auto-import) libraries
8663 lt_prog_compiler_pic='-DDLL_EXPORT'
8666 darwin* | rhapsody*)
8667 # PIC is the default on this platform
8668 # Common symbols not allowed in MH_DYLIB files
8669 lt_prog_compiler_pic='-fno-common'
8672 haiku*)
8673 # PIC is the default for Haiku.
8674 # The "-static" flag exists, but is broken.
8675 lt_prog_compiler_static=
8678 hpux*)
8679 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8680 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8681 # sets the default TLS model and affects inlining.
8682 case $host_cpu in
8683 hppa*64*)
8684 # +Z the default
8687 lt_prog_compiler_pic='-fPIC'
8689 esac
8692 interix[3-9]*)
8693 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8694 # Instead, we relocate shared libraries at runtime.
8697 msdosdjgpp*)
8698 # Just because we use GCC doesn't mean we suddenly get shared libraries
8699 # on systems that don't support them.
8700 lt_prog_compiler_can_build_shared=no
8701 enable_shared=no
8704 *nto* | *qnx*)
8705 # QNX uses GNU C++, but need to define -shared option too, otherwise
8706 # it will coredump.
8707 lt_prog_compiler_pic='-fPIC -shared'
8710 sysv4*MP*)
8711 if test -d /usr/nec; then
8712 lt_prog_compiler_pic=-Kconform_pic
8717 lt_prog_compiler_pic='-fPIC'
8719 esac
8721 case $cc_basename in
8722 nvcc*) # Cuda Compiler Driver 2.2
8723 lt_prog_compiler_wl='-Xlinker '
8724 lt_prog_compiler_pic='-Xcompiler -fPIC'
8726 esac
8727 else
8728 # PORTME Check for flag to pass linker flags through the system compiler.
8729 case $host_os in
8730 aix*)
8731 lt_prog_compiler_wl='-Wl,'
8732 if test "$host_cpu" = ia64; then
8733 # AIX 5 now supports IA64 processor
8734 lt_prog_compiler_static='-Bstatic'
8735 else
8736 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8740 mingw* | cygwin* | pw32* | os2* | cegcc*)
8741 # This hack is so that the source file can tell whether it is being
8742 # built for inclusion in a dll (and should export symbols for example).
8743 lt_prog_compiler_pic='-DDLL_EXPORT'
8746 hpux9* | hpux10* | hpux11*)
8747 lt_prog_compiler_wl='-Wl,'
8748 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8749 # not for PA HP-UX.
8750 case $host_cpu in
8751 hppa*64*|ia64*)
8752 # +Z the default
8755 lt_prog_compiler_pic='+Z'
8757 esac
8758 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8759 lt_prog_compiler_static='${wl}-a ${wl}archive'
8762 irix5* | irix6* | nonstopux*)
8763 lt_prog_compiler_wl='-Wl,'
8764 # PIC (with -KPIC) is the default.
8765 lt_prog_compiler_static='-non_shared'
8768 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8769 case $cc_basename in
8770 # old Intel for x86_64 which still supported -KPIC.
8771 ecc*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='-KPIC'
8774 lt_prog_compiler_static='-static'
8776 # icc used to be incompatible with GCC.
8777 # ICC 10 doesn't accept -KPIC any more.
8778 icc* | ifort*)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-fPIC'
8781 lt_prog_compiler_static='-static'
8783 # Lahey Fortran 8.1.
8784 lf95*)
8785 lt_prog_compiler_wl='-Wl,'
8786 lt_prog_compiler_pic='--shared'
8787 lt_prog_compiler_static='--static'
8789 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8790 # Portland Group compilers (*not* the Pentium gcc compiler,
8791 # which looks to be a dead project)
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_pic='-fpic'
8794 lt_prog_compiler_static='-Bstatic'
8796 ccc*)
8797 lt_prog_compiler_wl='-Wl,'
8798 # All Alpha code is PIC.
8799 lt_prog_compiler_static='-non_shared'
8801 xl* | bgxl* | bgf* | mpixl*)
8802 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_pic='-qpic'
8805 lt_prog_compiler_static='-qstaticlink'
8808 case `$CC -V 2>&1 | sed 5q` in
8809 *Sun\ F* | *Sun*Fortran*)
8810 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8811 lt_prog_compiler_pic='-KPIC'
8812 lt_prog_compiler_static='-Bstatic'
8813 lt_prog_compiler_wl=''
8815 *Sun\ C*)
8816 # Sun C 5.9
8817 lt_prog_compiler_pic='-KPIC'
8818 lt_prog_compiler_static='-Bstatic'
8819 lt_prog_compiler_wl='-Wl,'
8821 esac
8823 esac
8826 newsos6)
8827 lt_prog_compiler_pic='-KPIC'
8828 lt_prog_compiler_static='-Bstatic'
8831 *nto* | *qnx*)
8832 # QNX uses GNU C++, but need to define -shared option too, otherwise
8833 # it will coredump.
8834 lt_prog_compiler_pic='-fPIC -shared'
8837 osf3* | osf4* | osf5*)
8838 lt_prog_compiler_wl='-Wl,'
8839 # All OSF/1 code is PIC.
8840 lt_prog_compiler_static='-non_shared'
8843 rdos*)
8844 lt_prog_compiler_static='-non_shared'
8847 solaris*)
8848 lt_prog_compiler_pic='-KPIC'
8849 lt_prog_compiler_static='-Bstatic'
8850 case $cc_basename in
8851 f77* | f90* | f95*)
8852 lt_prog_compiler_wl='-Qoption ld ';;
8854 lt_prog_compiler_wl='-Wl,';;
8855 esac
8858 sunos4*)
8859 lt_prog_compiler_wl='-Qoption ld '
8860 lt_prog_compiler_pic='-PIC'
8861 lt_prog_compiler_static='-Bstatic'
8864 sysv4 | sysv4.2uw2* | sysv4.3*)
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8870 sysv4*MP*)
8871 if test -d /usr/nec ;then
8872 lt_prog_compiler_pic='-Kconform_pic'
8873 lt_prog_compiler_static='-Bstatic'
8877 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8878 lt_prog_compiler_wl='-Wl,'
8879 lt_prog_compiler_pic='-KPIC'
8880 lt_prog_compiler_static='-Bstatic'
8883 unicos*)
8884 lt_prog_compiler_wl='-Wl,'
8885 lt_prog_compiler_can_build_shared=no
8888 uts4*)
8889 lt_prog_compiler_pic='-pic'
8890 lt_prog_compiler_static='-Bstatic'
8894 lt_prog_compiler_can_build_shared=no
8896 esac
8899 case $host_os in
8900 # For platforms which do not support PIC, -DPIC is meaningless:
8901 *djgpp*)
8902 lt_prog_compiler_pic=
8905 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8907 esac
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8909 $as_echo "$lt_prog_compiler_pic" >&6; }
8917 # Check to make sure the PIC flag actually works.
8919 if test -n "$lt_prog_compiler_pic"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8921 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8922 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 lt_cv_prog_compiler_pic_works=no
8926 ac_outfile=conftest.$ac_objext
8927 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8928 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8929 # Insert the option either (1) after the last *FLAGS variable, or
8930 # (2) before a word containing "conftest.", or (3) at the end.
8931 # Note that $ac_compile itself does not contain backslashes and begins
8932 # with a dollar sign (not a hyphen), so the echo should work correctly.
8933 # The option is referenced via a variable to avoid confusing sed.
8934 lt_compile=`echo "$ac_compile" | $SED \
8935 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8936 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8937 -e 's:$: $lt_compiler_flag:'`
8938 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8939 (eval "$lt_compile" 2>conftest.err)
8940 ac_status=$?
8941 cat conftest.err >&5
8942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943 if (exit $ac_status) && test -s "$ac_outfile"; then
8944 # The compiler can only warn and ignore the option if not recognized
8945 # So say no if there are warnings other than the usual output.
8946 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8947 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8948 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8949 lt_cv_prog_compiler_pic_works=yes
8952 $RM conftest*
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8956 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8958 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8959 case $lt_prog_compiler_pic in
8960 "" | " "*) ;;
8961 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8962 esac
8963 else
8964 lt_prog_compiler_pic=
8965 lt_prog_compiler_can_build_shared=no
8976 # Check to make sure the static flag actually works.
8978 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8980 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8981 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8982 $as_echo_n "(cached) " >&6
8983 else
8984 lt_cv_prog_compiler_static_works=no
8985 save_LDFLAGS="$LDFLAGS"
8986 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8987 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8988 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8989 # The linker can only warn and ignore the option if not recognized
8990 # So say no if there are warnings
8991 if test -s conftest.err; then
8992 # Append any errors to the config.log.
8993 cat conftest.err 1>&5
8994 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8995 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8996 if diff conftest.exp conftest.er2 >/dev/null; then
8997 lt_cv_prog_compiler_static_works=yes
8999 else
9000 lt_cv_prog_compiler_static_works=yes
9003 $RM -r conftest*
9004 LDFLAGS="$save_LDFLAGS"
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9008 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9010 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9012 else
9013 lt_prog_compiler_static=
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9023 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9024 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9025 $as_echo_n "(cached) " >&6
9026 else
9027 lt_cv_prog_compiler_c_o=no
9028 $RM -r conftest 2>/dev/null
9029 mkdir conftest
9030 cd conftest
9031 mkdir out
9032 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9034 lt_compiler_flag="-o out/conftest2.$ac_objext"
9035 # Insert the option either (1) after the last *FLAGS variable, or
9036 # (2) before a word containing "conftest.", or (3) at the end.
9037 # Note that $ac_compile itself does not contain backslashes and begins
9038 # with a dollar sign (not a hyphen), so the echo should work correctly.
9039 lt_compile=`echo "$ac_compile" | $SED \
9040 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9041 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9042 -e 's:$: $lt_compiler_flag:'`
9043 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9044 (eval "$lt_compile" 2>out/conftest.err)
9045 ac_status=$?
9046 cat out/conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9049 then
9050 # The compiler can only warn and ignore the option if not recognized
9051 # So say no if there are warnings
9052 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9053 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9054 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9055 lt_cv_prog_compiler_c_o=yes
9058 chmod u+w . 2>&5
9059 $RM conftest*
9060 # SGI C++ compiler will create directory out/ii_files/ for
9061 # template instantiation
9062 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9063 $RM out/* && rmdir out
9064 cd ..
9065 $RM -r conftest
9066 $RM conftest*
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9070 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9078 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9079 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 lt_cv_prog_compiler_c_o=no
9083 $RM -r conftest 2>/dev/null
9084 mkdir conftest
9085 cd conftest
9086 mkdir out
9087 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9089 lt_compiler_flag="-o out/conftest2.$ac_objext"
9090 # Insert the option either (1) after the last *FLAGS variable, or
9091 # (2) before a word containing "conftest.", or (3) at the end.
9092 # Note that $ac_compile itself does not contain backslashes and begins
9093 # with a dollar sign (not a hyphen), so the echo should work correctly.
9094 lt_compile=`echo "$ac_compile" | $SED \
9095 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9096 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9097 -e 's:$: $lt_compiler_flag:'`
9098 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9099 (eval "$lt_compile" 2>out/conftest.err)
9100 ac_status=$?
9101 cat out/conftest.err >&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9104 then
9105 # The compiler can only warn and ignore the option if not recognized
9106 # So say no if there are warnings
9107 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9108 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9109 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9110 lt_cv_prog_compiler_c_o=yes
9113 chmod u+w . 2>&5
9114 $RM conftest*
9115 # SGI C++ compiler will create directory out/ii_files/ for
9116 # template instantiation
9117 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9118 $RM out/* && rmdir out
9119 cd ..
9120 $RM -r conftest
9121 $RM conftest*
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9125 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9130 hard_links="nottested"
9131 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9132 # do not overwrite the value of need_locks provided by the user
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9134 $as_echo_n "checking if we can lock with hard links... " >&6; }
9135 hard_links=yes
9136 $RM conftest*
9137 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9138 touch conftest.a
9139 ln conftest.a conftest.b 2>&5 || hard_links=no
9140 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9142 $as_echo "$hard_links" >&6; }
9143 if test "$hard_links" = no; then
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9145 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9146 need_locks=warn
9148 else
9149 need_locks=no
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9158 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9160 runpath_var=
9161 allow_undefined_flag=
9162 always_export_symbols=no
9163 archive_cmds=
9164 archive_expsym_cmds=
9165 compiler_needs_object=no
9166 enable_shared_with_static_runtimes=no
9167 export_dynamic_flag_spec=
9168 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9169 hardcode_automatic=no
9170 hardcode_direct=no
9171 hardcode_direct_absolute=no
9172 hardcode_libdir_flag_spec=
9173 hardcode_libdir_flag_spec_ld=
9174 hardcode_libdir_separator=
9175 hardcode_minus_L=no
9176 hardcode_shlibpath_var=unsupported
9177 inherit_rpath=no
9178 link_all_deplibs=unknown
9179 module_cmds=
9180 module_expsym_cmds=
9181 old_archive_from_new_cmds=
9182 old_archive_from_expsyms_cmds=
9183 thread_safe_flag_spec=
9184 whole_archive_flag_spec=
9185 # include_expsyms should be a list of space-separated symbols to be *always*
9186 # included in the symbol list
9187 include_expsyms=
9188 # exclude_expsyms can be an extended regexp of symbols to exclude
9189 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9190 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9191 # as well as any symbol that contains `d'.
9192 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9193 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9194 # platforms (ab)use it in PIC code, but their linkers get confused if
9195 # the symbol is explicitly referenced. Since portable code cannot
9196 # rely on this symbol name, it's probably fine to never include it in
9197 # preloaded symbol tables.
9198 # Exclude shared library initialization/finalization symbols.
9199 extract_expsyms_cmds=
9201 case $host_os in
9202 cygwin* | mingw* | pw32* | cegcc*)
9203 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9204 # When not using gcc, we currently assume that we are using
9205 # Microsoft Visual C++.
9206 if test "$GCC" != yes; then
9207 with_gnu_ld=no
9210 interix*)
9211 # we just hope/assume this is gcc and not c89 (= MSVC++)
9212 with_gnu_ld=yes
9214 openbsd*)
9215 with_gnu_ld=no
9217 esac
9219 ld_shlibs=yes
9221 # On some targets, GNU ld is compatible enough with the native linker
9222 # that we're better off using the native interface for both.
9223 lt_use_gnu_ld_interface=no
9224 if test "$with_gnu_ld" = yes; then
9225 case $host_os in
9226 aix*)
9227 # The AIX port of GNU ld has always aspired to compatibility
9228 # with the native linker. However, as the warning in the GNU ld
9229 # block says, versions before 2.19.5* couldn't really create working
9230 # shared libraries, regardless of the interface used.
9231 case `$LD -v 2>&1` in
9232 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9233 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9234 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9236 lt_use_gnu_ld_interface=yes
9238 esac
9241 lt_use_gnu_ld_interface=yes
9243 esac
9246 if test "$lt_use_gnu_ld_interface" = yes; then
9247 # If archive_cmds runs LD, not CC, wlarc should be empty
9248 wlarc='${wl}'
9250 # Set some defaults for GNU ld with shared library support. These
9251 # are reset later if shared libraries are not supported. Putting them
9252 # here allows them to be overridden if necessary.
9253 runpath_var=LD_RUN_PATH
9254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9255 export_dynamic_flag_spec='${wl}--export-dynamic'
9256 # ancient GNU ld didn't support --whole-archive et. al.
9257 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9258 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9259 else
9260 whole_archive_flag_spec=
9262 supports_anon_versioning=no
9263 case `$LD -v 2>&1` in
9264 *GNU\ gold*) supports_anon_versioning=yes ;;
9265 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9266 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9267 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9268 *\ 2.11.*) ;; # other 2.11 versions
9269 *) supports_anon_versioning=yes ;;
9270 esac
9272 # See if GNU ld supports shared libraries.
9273 case $host_os in
9274 aix[3-9]*)
9275 # On AIX/PPC, the GNU linker is very broken
9276 if test "$host_cpu" != ia64; then
9277 ld_shlibs=no
9278 cat <<_LT_EOF 1>&2
9280 *** Warning: the GNU linker, at least up to release 2.19, is reported
9281 *** to be unable to reliably create shared libraries on AIX.
9282 *** Therefore, libtool is disabling shared libraries support. If you
9283 *** really care for shared libraries, you may want to install binutils
9284 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9285 *** You will then need to restart the configuration process.
9287 _LT_EOF
9291 amigaos*)
9292 case $host_cpu in
9293 powerpc)
9294 # see comment about AmigaOS4 .so support
9295 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296 archive_expsym_cmds=''
9298 m68k)
9299 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9300 hardcode_libdir_flag_spec='-L$libdir'
9301 hardcode_minus_L=yes
9303 esac
9306 beos*)
9307 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9308 allow_undefined_flag=unsupported
9309 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9310 # support --undefined. This deserves some investigation. FIXME
9311 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9312 else
9313 ld_shlibs=no
9317 cygwin* | mingw* | pw32* | cegcc*)
9318 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9319 # as there is no search path for DLLs.
9320 hardcode_libdir_flag_spec='-L$libdir'
9321 export_dynamic_flag_spec='${wl}--export-all-symbols'
9322 allow_undefined_flag=unsupported
9323 always_export_symbols=no
9324 enable_shared_with_static_runtimes=yes
9325 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9327 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9329 # If the export-symbols file already is a .def file (1st line
9330 # is EXPORTS), use it as is; otherwise, prepend...
9331 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9332 cp $export_symbols $output_objdir/$soname.def;
9333 else
9334 echo EXPORTS > $output_objdir/$soname.def;
9335 cat $export_symbols >> $output_objdir/$soname.def;
9337 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9338 else
9339 ld_shlibs=no
9343 haiku*)
9344 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345 link_all_deplibs=yes
9348 interix[3-9]*)
9349 hardcode_direct=no
9350 hardcode_shlibpath_var=no
9351 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9352 export_dynamic_flag_spec='${wl}-E'
9353 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9354 # Instead, shared libraries are loaded at an image base (0x10000000 by
9355 # default) and relocated if they conflict, which is a slow very memory
9356 # consuming and fragmenting process. To avoid this, we pick a random,
9357 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9358 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9359 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9360 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9363 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9364 tmp_diet=no
9365 if test "$host_os" = linux-dietlibc; then
9366 case $cc_basename in
9367 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9368 esac
9370 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9371 && test "$tmp_diet" = no
9372 then
9373 tmp_addflag=' $pic_flag'
9374 tmp_sharedflag='-shared'
9375 case $cc_basename,$host_cpu in
9376 pgcc*) # Portland Group C compiler
9377 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9378 tmp_addflag=' $pic_flag'
9380 pgf77* | pgf90* | pgf95* | pgfortran*)
9381 # Portland Group f77 and f90 compilers
9382 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9383 tmp_addflag=' $pic_flag -Mnomain' ;;
9384 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9385 tmp_addflag=' -i_dynamic' ;;
9386 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9387 tmp_addflag=' -i_dynamic -nofor_main' ;;
9388 ifc* | ifort*) # Intel Fortran compiler
9389 tmp_addflag=' -nofor_main' ;;
9390 lf95*) # Lahey Fortran 8.1
9391 whole_archive_flag_spec=
9392 tmp_sharedflag='--shared' ;;
9393 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9394 tmp_sharedflag='-qmkshrobj'
9395 tmp_addflag= ;;
9396 nvcc*) # Cuda Compiler Driver 2.2
9397 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9398 compiler_needs_object=yes
9400 esac
9401 case `$CC -V 2>&1 | sed 5q` in
9402 *Sun\ C*) # Sun C 5.9
9403 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9404 compiler_needs_object=yes
9405 tmp_sharedflag='-G' ;;
9406 *Sun\ F*) # Sun Fortran 8.3
9407 tmp_sharedflag='-G' ;;
9408 esac
9409 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 if test "x$supports_anon_versioning" = xyes; then
9412 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9413 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9414 echo "local: *; };" >> $output_objdir/$libname.ver~
9415 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9418 case $cc_basename in
9419 xlf* | bgf* | bgxlf* | mpixlf*)
9420 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9421 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9422 hardcode_libdir_flag_spec=
9423 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9424 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9425 if test "x$supports_anon_versioning" = xyes; then
9426 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9427 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9428 echo "local: *; };" >> $output_objdir/$libname.ver~
9429 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9432 esac
9433 else
9434 ld_shlibs=no
9438 netbsd*)
9439 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9440 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9441 wlarc=
9442 else
9443 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9444 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9448 solaris*)
9449 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9450 ld_shlibs=no
9451 cat <<_LT_EOF 1>&2
9453 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9454 *** create shared libraries on Solaris systems. Therefore, libtool
9455 *** is disabling shared libraries support. We urge you to upgrade GNU
9456 *** binutils to release 2.9.1 or newer. Another option is to modify
9457 *** your PATH or compiler configuration so that the native linker is
9458 *** used, and then restart.
9460 _LT_EOF
9461 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9462 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9463 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9464 else
9465 ld_shlibs=no
9469 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9470 case `$LD -v 2>&1` in
9471 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9472 ld_shlibs=no
9473 cat <<_LT_EOF 1>&2
9475 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9476 *** reliably create shared libraries on SCO systems. Therefore, libtool
9477 *** is disabling shared libraries support. We urge you to upgrade GNU
9478 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9479 *** your PATH or compiler configuration so that the native linker is
9480 *** used, and then restart.
9482 _LT_EOF
9485 # For security reasons, it is highly recommended that you always
9486 # use absolute paths for naming shared libraries, and exclude the
9487 # DT_RUNPATH tag from executables and libraries. But doing so
9488 # requires that you compile everything twice, which is a pain.
9489 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9490 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9493 else
9494 ld_shlibs=no
9497 esac
9500 sunos4*)
9501 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9502 wlarc=
9503 hardcode_direct=yes
9504 hardcode_shlibpath_var=no
9508 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9509 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9510 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9511 else
9512 ld_shlibs=no
9515 esac
9517 if test "$ld_shlibs" = no; then
9518 runpath_var=
9519 hardcode_libdir_flag_spec=
9520 export_dynamic_flag_spec=
9521 whole_archive_flag_spec=
9523 else
9524 # PORTME fill in a description of your system's linker (not GNU ld)
9525 case $host_os in
9526 aix3*)
9527 allow_undefined_flag=unsupported
9528 always_export_symbols=yes
9529 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9530 # Note: this linker hardcodes the directories in LIBPATH if there
9531 # are no directories specified by -L.
9532 hardcode_minus_L=yes
9533 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9534 # Neither direct hardcoding nor static linking is supported with a
9535 # broken collect2.
9536 hardcode_direct=unsupported
9540 aix[4-9]*)
9541 if test "$host_cpu" = ia64; then
9542 # On IA64, the linker does run time linking by default, so we don't
9543 # have to do anything special.
9544 aix_use_runtimelinking=no
9545 exp_sym_flag='-Bexport'
9546 no_entry_flag=""
9547 else
9548 # If we're using GNU nm, then we don't want the "-C" option.
9549 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9550 # Also, AIX nm treats weak defined symbols like other global
9551 # defined symbols, whereas GNU nm marks them as "W".
9552 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9553 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9554 else
9555 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9557 aix_use_runtimelinking=no
9559 # Test if we are trying to use run time linking or normal
9560 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9561 # need to do runtime linking.
9562 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9563 for ld_flag in $LDFLAGS; do
9564 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9565 aix_use_runtimelinking=yes
9566 break
9568 done
9570 esac
9572 exp_sym_flag='-bexport'
9573 no_entry_flag='-bnoentry'
9576 # When large executables or shared objects are built, AIX ld can
9577 # have problems creating the table of contents. If linking a library
9578 # or program results in "error TOC overflow" add -mminimal-toc to
9579 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9580 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9582 archive_cmds=''
9583 hardcode_direct=yes
9584 hardcode_direct_absolute=yes
9585 hardcode_libdir_separator=':'
9586 link_all_deplibs=yes
9587 file_list_spec='${wl}-f,'
9589 if test "$GCC" = yes; then
9590 case $host_os in aix4.[012]|aix4.[012].*)
9591 # We only want to do this on AIX 4.2 and lower, the check
9592 # below for broken collect2 doesn't work under 4.3+
9593 collect2name=`${CC} -print-prog-name=collect2`
9594 if test -f "$collect2name" &&
9595 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9596 then
9597 # We have reworked collect2
9599 else
9600 # We have old collect2
9601 hardcode_direct=unsupported
9602 # It fails to find uninstalled libraries when the uninstalled
9603 # path is not listed in the libpath. Setting hardcode_minus_L
9604 # to unsupported forces relinking
9605 hardcode_minus_L=yes
9606 hardcode_libdir_flag_spec='-L$libdir'
9607 hardcode_libdir_separator=
9610 esac
9611 shared_flag='-shared'
9612 if test "$aix_use_runtimelinking" = yes; then
9613 shared_flag="$shared_flag "'${wl}-G'
9615 else
9616 # not using gcc
9617 if test "$host_cpu" = ia64; then
9618 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9619 # chokes on -Wl,-G. The following line is correct:
9620 shared_flag='-G'
9621 else
9622 if test "$aix_use_runtimelinking" = yes; then
9623 shared_flag='${wl}-G'
9624 else
9625 shared_flag='${wl}-bM:SRE'
9630 export_dynamic_flag_spec='${wl}-bexpall'
9631 # It seems that -bexpall does not export symbols beginning with
9632 # underscore (_), so it is better to generate a list of symbols to export.
9633 always_export_symbols=yes
9634 if test "$aix_use_runtimelinking" = yes; then
9635 # Warning - without using the other runtime loading flags (-brtl),
9636 # -berok will link without error, but may produce a broken library.
9637 allow_undefined_flag='-berok'
9638 # Determine the default libpath from the value encoded in an
9639 # empty executable.
9640 if test x$gcc_no_link = xyes; then
9641 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9644 /* end confdefs.h. */
9647 main ()
9651 return 0;
9653 _ACEOF
9654 if ac_fn_c_try_link "$LINENO"; then :
9656 lt_aix_libpath_sed='
9657 /Import File Strings/,/^$/ {
9658 /^0/ {
9659 s/^0 *\(.*\)$/\1/
9663 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9664 # Check for a 64-bit object if we didn't find anything.
9665 if test -z "$aix_libpath"; then
9666 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9669 rm -f core conftest.err conftest.$ac_objext \
9670 conftest$ac_exeext conftest.$ac_ext
9671 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9673 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9674 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9675 else
9676 if test "$host_cpu" = ia64; then
9677 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9678 allow_undefined_flag="-z nodefs"
9679 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9680 else
9681 # Determine the default libpath from the value encoded in an
9682 # empty executable.
9683 if test x$gcc_no_link = xyes; then
9684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h. */
9690 main ()
9694 return 0;
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9699 lt_aix_libpath_sed='
9700 /Import File Strings/,/^$/ {
9701 /^0/ {
9702 s/^0 *\(.*\)$/\1/
9706 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9707 # Check for a 64-bit object if we didn't find anything.
9708 if test -z "$aix_libpath"; then
9709 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9712 rm -f core conftest.err conftest.$ac_objext \
9713 conftest$ac_exeext conftest.$ac_ext
9714 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9716 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9717 # Warning - without using the other run time loading flags,
9718 # -berok will link without error, but may produce a broken library.
9719 no_undefined_flag=' ${wl}-bernotok'
9720 allow_undefined_flag=' ${wl}-berok'
9721 if test "$with_gnu_ld" = yes; then
9722 # We only use this code for GNU lds that support --whole-archive.
9723 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9724 else
9725 # Exported symbols can be pulled into shared objects from archives
9726 whole_archive_flag_spec='$convenience'
9728 archive_cmds_need_lc=yes
9729 # This is similar to how AIX traditionally builds its shared libraries.
9730 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9735 amigaos*)
9736 case $host_cpu in
9737 powerpc)
9738 # see comment about AmigaOS4 .so support
9739 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9740 archive_expsym_cmds=''
9742 m68k)
9743 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9744 hardcode_libdir_flag_spec='-L$libdir'
9745 hardcode_minus_L=yes
9747 esac
9750 bsdi[45]*)
9751 export_dynamic_flag_spec=-rdynamic
9754 cygwin* | mingw* | pw32* | cegcc*)
9755 # When not using gcc, we currently assume that we are using
9756 # Microsoft Visual C++.
9757 # hardcode_libdir_flag_spec is actually meaningless, as there is
9758 # no search path for DLLs.
9759 hardcode_libdir_flag_spec=' '
9760 allow_undefined_flag=unsupported
9761 # Tell ltmain to make .lib files, not .a files.
9762 libext=lib
9763 # Tell ltmain to make .dll files, not .so files.
9764 shrext_cmds=".dll"
9765 # FIXME: Setting linknames here is a bad hack.
9766 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9767 # The linker will automatically build a .lib file if we build a DLL.
9768 old_archive_from_new_cmds='true'
9769 # FIXME: Should let the user specify the lib program.
9770 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9771 fix_srcfile_path='`cygpath -w "$srcfile"`'
9772 enable_shared_with_static_runtimes=yes
9775 darwin* | rhapsody*)
9778 archive_cmds_need_lc=no
9779 hardcode_direct=no
9780 hardcode_automatic=yes
9781 hardcode_shlibpath_var=unsupported
9782 if test "$lt_cv_ld_force_load" = "yes"; then
9783 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9784 else
9785 whole_archive_flag_spec=''
9787 link_all_deplibs=yes
9788 allow_undefined_flag="$_lt_dar_allow_undefined"
9789 case $cc_basename in
9790 ifort*) _lt_dar_can_shared=yes ;;
9791 *) _lt_dar_can_shared=$GCC ;;
9792 esac
9793 if test "$_lt_dar_can_shared" = "yes"; then
9794 output_verbose_link_cmd=func_echo_all
9795 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9796 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9797 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9798 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9800 else
9801 ld_shlibs=no
9806 dgux*)
9807 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808 hardcode_libdir_flag_spec='-L$libdir'
9809 hardcode_shlibpath_var=no
9812 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9813 # support. Future versions do this automatically, but an explicit c++rt0.o
9814 # does not break anything, and helps significantly (at the cost of a little
9815 # extra space).
9816 freebsd2.2*)
9817 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9818 hardcode_libdir_flag_spec='-R$libdir'
9819 hardcode_direct=yes
9820 hardcode_shlibpath_var=no
9823 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9824 freebsd2.*)
9825 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9826 hardcode_direct=yes
9827 hardcode_minus_L=yes
9828 hardcode_shlibpath_var=no
9831 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9832 freebsd* | dragonfly*)
9833 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9834 hardcode_libdir_flag_spec='-R$libdir'
9835 hardcode_direct=yes
9836 hardcode_shlibpath_var=no
9839 hpux9*)
9840 if test "$GCC" = yes; then
9841 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9842 else
9843 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9845 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9846 hardcode_libdir_separator=:
9847 hardcode_direct=yes
9849 # hardcode_minus_L: Not really in the search PATH,
9850 # but as the default location of the library.
9851 hardcode_minus_L=yes
9852 export_dynamic_flag_spec='${wl}-E'
9855 hpux10*)
9856 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9857 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9858 else
9859 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9861 if test "$with_gnu_ld" = no; then
9862 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9863 hardcode_libdir_flag_spec_ld='+b $libdir'
9864 hardcode_libdir_separator=:
9865 hardcode_direct=yes
9866 hardcode_direct_absolute=yes
9867 export_dynamic_flag_spec='${wl}-E'
9868 # hardcode_minus_L: Not really in the search PATH,
9869 # but as the default location of the library.
9870 hardcode_minus_L=yes
9874 hpux11*)
9875 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9876 case $host_cpu in
9877 hppa*64*)
9878 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9880 ia64*)
9881 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9886 esac
9887 else
9888 case $host_cpu in
9889 hppa*64*)
9890 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9892 ia64*)
9893 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9897 # Older versions of the 11.00 compiler do not understand -b yet
9898 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9900 $as_echo_n "checking if $CC understands -b... " >&6; }
9901 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 lt_cv_prog_compiler__b=no
9905 save_LDFLAGS="$LDFLAGS"
9906 LDFLAGS="$LDFLAGS -b"
9907 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9908 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9909 # The linker can only warn and ignore the option if not recognized
9910 # So say no if there are warnings
9911 if test -s conftest.err; then
9912 # Append any errors to the config.log.
9913 cat conftest.err 1>&5
9914 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9915 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9916 if diff conftest.exp conftest.er2 >/dev/null; then
9917 lt_cv_prog_compiler__b=yes
9919 else
9920 lt_cv_prog_compiler__b=yes
9923 $RM -r conftest*
9924 LDFLAGS="$save_LDFLAGS"
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9928 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9930 if test x"$lt_cv_prog_compiler__b" = xyes; then
9931 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9932 else
9933 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9937 esac
9939 if test "$with_gnu_ld" = no; then
9940 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9941 hardcode_libdir_separator=:
9943 case $host_cpu in
9944 hppa*64*|ia64*)
9945 hardcode_direct=no
9946 hardcode_shlibpath_var=no
9949 hardcode_direct=yes
9950 hardcode_direct_absolute=yes
9951 export_dynamic_flag_spec='${wl}-E'
9953 # hardcode_minus_L: Not really in the search PATH,
9954 # but as the default location of the library.
9955 hardcode_minus_L=yes
9957 esac
9961 irix5* | irix6* | nonstopux*)
9962 if test "$GCC" = yes; then
9963 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9964 # Try to use the -exported_symbol ld option, if it does not
9965 # work, assume that -exports_file does not work either and
9966 # implicitly export all symbols.
9967 save_LDFLAGS="$LDFLAGS"
9968 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9969 if test x$gcc_no_link = xyes; then
9970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int foo(void) {}
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9980 rm -f core conftest.err conftest.$ac_objext \
9981 conftest$ac_exeext conftest.$ac_ext
9982 LDFLAGS="$save_LDFLAGS"
9983 else
9984 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9985 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9987 archive_cmds_need_lc='no'
9988 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9989 hardcode_libdir_separator=:
9990 inherit_rpath=yes
9991 link_all_deplibs=yes
9994 netbsd*)
9995 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9996 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9997 else
9998 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10000 hardcode_libdir_flag_spec='-R$libdir'
10001 hardcode_direct=yes
10002 hardcode_shlibpath_var=no
10005 newsos6)
10006 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10007 hardcode_direct=yes
10008 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10009 hardcode_libdir_separator=:
10010 hardcode_shlibpath_var=no
10013 *nto* | *qnx*)
10016 openbsd*)
10017 if test -f /usr/libexec/ld.so; then
10018 hardcode_direct=yes
10019 hardcode_shlibpath_var=no
10020 hardcode_direct_absolute=yes
10021 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10022 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10024 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10025 export_dynamic_flag_spec='${wl}-E'
10026 else
10027 case $host_os in
10028 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10029 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10030 hardcode_libdir_flag_spec='-R$libdir'
10033 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10034 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10036 esac
10038 else
10039 ld_shlibs=no
10043 os2*)
10044 hardcode_libdir_flag_spec='-L$libdir'
10045 hardcode_minus_L=yes
10046 allow_undefined_flag=unsupported
10047 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10048 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10051 osf3*)
10052 if test "$GCC" = yes; then
10053 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10054 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10055 else
10056 allow_undefined_flag=' -expect_unresolved \*'
10057 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10059 archive_cmds_need_lc='no'
10060 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10061 hardcode_libdir_separator=:
10064 osf4* | osf5*) # as osf3* with the addition of -msym flag
10065 if test "$GCC" = yes; then
10066 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10067 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10068 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10069 else
10070 allow_undefined_flag=' -expect_unresolved \*'
10071 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10072 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10073 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10075 # Both c and cxx compiler support -rpath directly
10076 hardcode_libdir_flag_spec='-rpath $libdir'
10078 archive_cmds_need_lc='no'
10079 hardcode_libdir_separator=:
10082 solaris*)
10083 no_undefined_flag=' -z defs'
10084 if test "$GCC" = yes; then
10085 wlarc='${wl}'
10086 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10089 else
10090 case `$CC -V 2>&1` in
10091 *"Compilers 5.0"*)
10092 wlarc=''
10093 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10095 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10098 wlarc='${wl}'
10099 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10101 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10103 esac
10105 hardcode_libdir_flag_spec='-R$libdir'
10106 hardcode_shlibpath_var=no
10107 case $host_os in
10108 solaris2.[0-5] | solaris2.[0-5].*) ;;
10110 # The compiler driver will combine and reorder linker options,
10111 # but understands `-z linker_flag'. GCC discards it without `$wl',
10112 # but is careful enough not to reorder.
10113 # Supported since Solaris 2.6 (maybe 2.5.1?)
10114 if test "$GCC" = yes; then
10115 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10116 else
10117 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10120 esac
10121 link_all_deplibs=yes
10124 sunos4*)
10125 if test "x$host_vendor" = xsequent; then
10126 # Use $CC to link under sequent, because it throws in some extra .o
10127 # files that make .init and .fini sections work.
10128 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10129 else
10130 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10132 hardcode_libdir_flag_spec='-L$libdir'
10133 hardcode_direct=yes
10134 hardcode_minus_L=yes
10135 hardcode_shlibpath_var=no
10138 sysv4)
10139 case $host_vendor in
10140 sni)
10141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 hardcode_direct=yes # is this really true???
10144 siemens)
10145 ## LD is ld it makes a PLAMLIB
10146 ## CC just makes a GrossModule.
10147 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10148 reload_cmds='$CC -r -o $output$reload_objs'
10149 hardcode_direct=no
10151 motorola)
10152 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10153 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10155 esac
10156 runpath_var='LD_RUN_PATH'
10157 hardcode_shlibpath_var=no
10160 sysv4.3*)
10161 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10162 hardcode_shlibpath_var=no
10163 export_dynamic_flag_spec='-Bexport'
10166 sysv4*MP*)
10167 if test -d /usr/nec; then
10168 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10169 hardcode_shlibpath_var=no
10170 runpath_var=LD_RUN_PATH
10171 hardcode_runpath_var=yes
10172 ld_shlibs=yes
10176 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10177 no_undefined_flag='${wl}-z,text'
10178 archive_cmds_need_lc=no
10179 hardcode_shlibpath_var=no
10180 runpath_var='LD_RUN_PATH'
10182 if test "$GCC" = yes; then
10183 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10184 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 else
10186 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10187 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10191 sysv5* | sco3.2v5* | sco5v6*)
10192 # Note: We can NOT use -z defs as we might desire, because we do not
10193 # link with -lc, and that would cause any symbols used from libc to
10194 # always be unresolved, which means just about no library would
10195 # ever link correctly. If we're not using GNU ld we use -z text
10196 # though, which does catch some bad symbols but isn't as heavy-handed
10197 # as -z defs.
10198 no_undefined_flag='${wl}-z,text'
10199 allow_undefined_flag='${wl}-z,nodefs'
10200 archive_cmds_need_lc=no
10201 hardcode_shlibpath_var=no
10202 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10203 hardcode_libdir_separator=':'
10204 link_all_deplibs=yes
10205 export_dynamic_flag_spec='${wl}-Bexport'
10206 runpath_var='LD_RUN_PATH'
10208 if test "$GCC" = yes; then
10209 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10210 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 else
10212 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10213 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10217 uts4*)
10218 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10219 hardcode_libdir_flag_spec='-L$libdir'
10220 hardcode_shlibpath_var=no
10224 ld_shlibs=no
10226 esac
10228 if test x$host_vendor = xsni; then
10229 case $host in
10230 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10231 export_dynamic_flag_spec='${wl}-Blargedynsym'
10233 esac
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10238 $as_echo "$ld_shlibs" >&6; }
10239 test "$ld_shlibs" = no && can_build_shared=no
10241 with_gnu_ld=$with_gnu_ld
10258 # Do we need to explicitly link libc?
10260 case "x$archive_cmds_need_lc" in
10261 x|xyes)
10262 # Assume -lc should be added
10263 archive_cmds_need_lc=yes
10265 if test "$enable_shared" = yes && test "$GCC" = yes; then
10266 case $archive_cmds in
10267 *'~'*)
10268 # FIXME: we may have to deal with multi-command sequences.
10270 '$CC '*)
10271 # Test whether the compiler implicitly links with -lc since on some
10272 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10273 # to ld, don't add -lc before -lgcc.
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10275 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10276 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10277 $as_echo_n "(cached) " >&6
10278 else
10279 $RM conftest*
10280 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10283 (eval $ac_compile) 2>&5
10284 ac_status=$?
10285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10286 test $ac_status = 0; } 2>conftest.err; then
10287 soname=conftest
10288 lib=conftest
10289 libobjs=conftest.$ac_objext
10290 deplibs=
10291 wl=$lt_prog_compiler_wl
10292 pic_flag=$lt_prog_compiler_pic
10293 compiler_flags=-v
10294 linker_flags=-v
10295 verstring=
10296 output_objdir=.
10297 libname=conftest
10298 lt_save_allow_undefined_flag=$allow_undefined_flag
10299 allow_undefined_flag=
10300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10301 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10302 ac_status=$?
10303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10304 test $ac_status = 0; }
10305 then
10306 lt_cv_archive_cmds_need_lc=no
10307 else
10308 lt_cv_archive_cmds_need_lc=yes
10310 allow_undefined_flag=$lt_save_allow_undefined_flag
10311 else
10312 cat conftest.err 1>&5
10314 $RM conftest*
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10318 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10319 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10321 esac
10324 esac
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10483 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10485 if test "$GCC" = yes; then
10486 case $host_os in
10487 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10488 *) lt_awk_arg="/^libraries:/" ;;
10489 esac
10490 case $host_os in
10491 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10492 *) lt_sed_strip_eq="s,=/,/,g" ;;
10493 esac
10494 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10495 case $lt_search_path_spec in
10496 *\;*)
10497 # if the path contains ";" then we assume it to be the separator
10498 # otherwise default to the standard path separator (i.e. ":") - it is
10499 # assumed that no part of a normal pathname contains ";" but that should
10500 # okay in the real world where ";" in dirpaths is itself problematic.
10501 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10504 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10506 esac
10507 # Ok, now we have the path, separated by spaces, we can step through it
10508 # and add multilib dir if necessary.
10509 lt_tmp_lt_search_path_spec=
10510 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10511 for lt_sys_path in $lt_search_path_spec; do
10512 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10513 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10514 else
10515 test -d "$lt_sys_path" && \
10516 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10518 done
10519 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10520 BEGIN {RS=" "; FS="/|\n";} {
10521 lt_foo="";
10522 lt_count=0;
10523 for (lt_i = NF; lt_i > 0; lt_i--) {
10524 if ($lt_i != "" && $lt_i != ".") {
10525 if ($lt_i == "..") {
10526 lt_count++;
10527 } else {
10528 if (lt_count == 0) {
10529 lt_foo="/" $lt_i lt_foo;
10530 } else {
10531 lt_count--;
10536 if (lt_foo != "") { lt_freq[lt_foo]++; }
10537 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10539 # AWK program above erroneously prepends '/' to C:/dos/paths
10540 # for these hosts.
10541 case $host_os in
10542 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10543 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10544 esac
10545 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10546 else
10547 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10549 library_names_spec=
10550 libname_spec='lib$name'
10551 soname_spec=
10552 shrext_cmds=".so"
10553 postinstall_cmds=
10554 postuninstall_cmds=
10555 finish_cmds=
10556 finish_eval=
10557 shlibpath_var=
10558 shlibpath_overrides_runpath=unknown
10559 version_type=none
10560 dynamic_linker="$host_os ld.so"
10561 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10562 need_lib_prefix=unknown
10563 hardcode_into_libs=no
10565 # when you set need_version to no, make sure it does not cause -set_version
10566 # flags to be left without arguments
10567 need_version=unknown
10569 case $host_os in
10570 aix3*)
10571 version_type=linux
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10573 shlibpath_var=LIBPATH
10575 # AIX 3 has no versioning support, so we append a major version to the name.
10576 soname_spec='${libname}${release}${shared_ext}$major'
10579 aix[4-9]*)
10580 version_type=linux
10581 need_lib_prefix=no
10582 need_version=no
10583 hardcode_into_libs=yes
10584 if test "$host_cpu" = ia64; then
10585 # AIX 5 supports IA64
10586 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10587 shlibpath_var=LD_LIBRARY_PATH
10588 else
10589 # With GCC up to 2.95.x, collect2 would create an import file
10590 # for dependence libraries. The import file would start with
10591 # the line `#! .'. This would cause the generated library to
10592 # depend on `.', always an invalid library. This was fixed in
10593 # development snapshots of GCC prior to 3.0.
10594 case $host_os in
10595 aix4 | aix4.[01] | aix4.[01].*)
10596 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10597 echo ' yes '
10598 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10600 else
10601 can_build_shared=no
10604 esac
10605 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10606 # soname into executable. Probably we can add versioning support to
10607 # collect2, so additional links can be useful in future.
10608 if test "$aix_use_runtimelinking" = yes; then
10609 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10610 # instead of lib<name>.a to let people know that these are not
10611 # typical AIX shared libraries.
10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613 else
10614 # We preserve .a as extension for shared libraries through AIX4.2
10615 # and later when we are not doing run time linking.
10616 library_names_spec='${libname}${release}.a $libname.a'
10617 soname_spec='${libname}${release}${shared_ext}$major'
10619 shlibpath_var=LIBPATH
10623 amigaos*)
10624 case $host_cpu in
10625 powerpc)
10626 # Since July 2007 AmigaOS4 officially supports .so libraries.
10627 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630 m68k)
10631 library_names_spec='$libname.ixlibrary $libname.a'
10632 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10633 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10635 esac
10638 beos*)
10639 library_names_spec='${libname}${shared_ext}'
10640 dynamic_linker="$host_os ld.so"
10641 shlibpath_var=LIBRARY_PATH
10644 bsdi[45]*)
10645 version_type=linux
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10650 shlibpath_var=LD_LIBRARY_PATH
10651 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10652 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10653 # the default ld.so.conf also contains /usr/contrib/lib and
10654 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10655 # libtool to hard-code these into programs
10658 cygwin* | mingw* | pw32* | cegcc*)
10659 version_type=windows
10660 shrext_cmds=".dll"
10661 need_version=no
10662 need_lib_prefix=no
10664 case $GCC,$host_os in
10665 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10666 library_names_spec='$libname.dll.a'
10667 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10668 postinstall_cmds='base_file=`basename \${file}`~
10669 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10670 dldir=$destdir/`dirname \$dlpath`~
10671 test -d \$dldir || mkdir -p \$dldir~
10672 $install_prog $dir/$dlname \$dldir/$dlname~
10673 chmod a+x \$dldir/$dlname~
10674 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10675 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10677 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10678 dlpath=$dir/\$dldll~
10679 $RM \$dlpath'
10680 shlibpath_overrides_runpath=yes
10682 case $host_os in
10683 cygwin*)
10684 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10685 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10687 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10689 mingw* | cegcc*)
10690 # MinGW DLLs use traditional 'lib' prefix
10691 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10693 pw32*)
10694 # pw32 DLLs use 'pw' prefix rather than 'lib'
10695 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10697 esac
10701 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10703 esac
10704 dynamic_linker='Win32 ld.exe'
10705 # FIXME: first we should search . and the directory the executable is in
10706 shlibpath_var=PATH
10709 darwin* | rhapsody*)
10710 dynamic_linker="$host_os dyld"
10711 version_type=darwin
10712 need_lib_prefix=no
10713 need_version=no
10714 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10715 soname_spec='${libname}${release}${major}$shared_ext'
10716 shlibpath_overrides_runpath=yes
10717 shlibpath_var=DYLD_LIBRARY_PATH
10718 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10720 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10721 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10724 dgux*)
10725 version_type=linux
10726 need_lib_prefix=no
10727 need_version=no
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10729 soname_spec='${libname}${release}${shared_ext}$major'
10730 shlibpath_var=LD_LIBRARY_PATH
10733 freebsd* | dragonfly*)
10734 # DragonFly does not have aout. When/if they implement a new
10735 # versioning mechanism, adjust this.
10736 if test -x /usr/bin/objformat; then
10737 objformat=`/usr/bin/objformat`
10738 else
10739 case $host_os in
10740 freebsd[23].*) objformat=aout ;;
10741 *) objformat=elf ;;
10742 esac
10744 version_type=freebsd-$objformat
10745 case $version_type in
10746 freebsd-elf*)
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10748 need_version=no
10749 need_lib_prefix=no
10751 freebsd-*)
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10753 need_version=yes
10755 esac
10756 shlibpath_var=LD_LIBRARY_PATH
10757 case $host_os in
10758 freebsd2.*)
10759 shlibpath_overrides_runpath=yes
10761 freebsd3.[01]* | freebsdelf3.[01]*)
10762 shlibpath_overrides_runpath=yes
10763 hardcode_into_libs=yes
10765 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10766 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10767 shlibpath_overrides_runpath=no
10768 hardcode_into_libs=yes
10770 *) # from 4.6 on, and DragonFly
10771 shlibpath_overrides_runpath=yes
10772 hardcode_into_libs=yes
10774 esac
10777 gnu*)
10778 version_type=linux
10779 need_lib_prefix=no
10780 need_version=no
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 shlibpath_var=LD_LIBRARY_PATH
10784 hardcode_into_libs=yes
10787 haiku*)
10788 version_type=linux
10789 need_lib_prefix=no
10790 need_version=no
10791 dynamic_linker="$host_os runtime_loader"
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10793 soname_spec='${libname}${release}${shared_ext}$major'
10794 shlibpath_var=LIBRARY_PATH
10795 shlibpath_overrides_runpath=yes
10796 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10797 hardcode_into_libs=yes
10800 hpux9* | hpux10* | hpux11*)
10801 # Give a soname corresponding to the major version so that dld.sl refuses to
10802 # link against other versions.
10803 version_type=sunos
10804 need_lib_prefix=no
10805 need_version=no
10806 case $host_cpu in
10807 ia64*)
10808 shrext_cmds='.so'
10809 hardcode_into_libs=yes
10810 dynamic_linker="$host_os dld.so"
10811 shlibpath_var=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 if test "X$HPUX_IA64_MODE" = X32; then
10816 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10817 else
10818 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10822 hppa*64*)
10823 shrext_cmds='.sl'
10824 hardcode_into_libs=yes
10825 dynamic_linker="$host_os dld.sl"
10826 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10827 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829 soname_spec='${libname}${release}${shared_ext}$major'
10830 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10831 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10834 shrext_cmds='.sl'
10835 dynamic_linker="$host_os dld.sl"
10836 shlibpath_var=SHLIB_PATH
10837 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839 soname_spec='${libname}${release}${shared_ext}$major'
10841 esac
10842 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10843 postinstall_cmds='chmod 555 $lib'
10844 # or fails outright, so override atomically:
10845 install_override_mode=555
10848 interix[3-9]*)
10849 version_type=linux
10850 need_lib_prefix=no
10851 need_version=no
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10855 shlibpath_var=LD_LIBRARY_PATH
10856 shlibpath_overrides_runpath=no
10857 hardcode_into_libs=yes
10860 irix5* | irix6* | nonstopux*)
10861 case $host_os in
10862 nonstopux*) version_type=nonstopux ;;
10864 if test "$lt_cv_prog_gnu_ld" = yes; then
10865 version_type=linux
10866 else
10867 version_type=irix
10868 fi ;;
10869 esac
10870 need_lib_prefix=no
10871 need_version=no
10872 soname_spec='${libname}${release}${shared_ext}$major'
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10874 case $host_os in
10875 irix5* | nonstopux*)
10876 libsuff= shlibsuff=
10879 case $LD in # libtool.m4 will add one of these switches to LD
10880 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10881 libsuff= shlibsuff= libmagic=32-bit;;
10882 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10883 libsuff=32 shlibsuff=N32 libmagic=N32;;
10884 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10885 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10886 *) libsuff= shlibsuff= libmagic=never-match;;
10887 esac
10889 esac
10890 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10891 shlibpath_overrides_runpath=no
10892 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10893 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10894 hardcode_into_libs=yes
10897 # No shared lib support for Linux oldld, aout, or coff.
10898 linux*oldld* | linux*aout* | linux*coff*)
10899 dynamic_linker=no
10902 # This must be Linux ELF.
10903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10904 version_type=linux
10905 need_lib_prefix=no
10906 need_version=no
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 soname_spec='${libname}${release}${shared_ext}$major'
10909 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=no
10913 # Some binutils ld are patched to set DT_RUNPATH
10914 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10915 $as_echo_n "(cached) " >&6
10916 else
10917 lt_cv_shlibpath_overrides_runpath=no
10918 save_LDFLAGS=$LDFLAGS
10919 save_libdir=$libdir
10920 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10921 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10922 if test x$gcc_no_link = xyes; then
10923 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10929 main ()
10933 return 0;
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"; then :
10937 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10938 lt_cv_shlibpath_overrides_runpath=yes
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LDFLAGS=$save_LDFLAGS
10944 libdir=$save_libdir
10948 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10950 # This implies no fast_install, which is unacceptable.
10951 # Some rework will be needed to allow for fast_install
10952 # before this can be enabled.
10953 hardcode_into_libs=yes
10955 # Append ld.so.conf contents to the search path
10956 if test -f /etc/ld.so.conf; then
10957 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10958 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10961 # We used to test for /lib/ld.so.1 and disable shared libraries on
10962 # powerpc, because MkLinux only supported shared libraries with the
10963 # GNU dynamic linker. Since this was broken with cross compilers,
10964 # most powerpc-linux boxes support dynamic linking these days and
10965 # people can always --disable-shared, the test was removed, and we
10966 # assume the GNU/Linux dynamic linker is in use.
10967 dynamic_linker='GNU/Linux ld.so'
10970 netbsd*)
10971 version_type=sunos
10972 need_lib_prefix=no
10973 need_version=no
10974 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10976 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10977 dynamic_linker='NetBSD (a.out) ld.so'
10978 else
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10980 soname_spec='${libname}${release}${shared_ext}$major'
10981 dynamic_linker='NetBSD ld.elf_so'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=yes
10985 hardcode_into_libs=yes
10988 newsos6)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath=yes
10995 *nto* | *qnx*)
10996 version_type=qnx
10997 need_lib_prefix=no
10998 need_version=no
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=no
11003 hardcode_into_libs=yes
11004 dynamic_linker='ldqnx.so'
11007 openbsd*)
11008 version_type=sunos
11009 sys_lib_dlsearch_path_spec="/usr/lib"
11010 need_lib_prefix=no
11011 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11012 case $host_os in
11013 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11014 *) need_version=no ;;
11015 esac
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11017 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11020 case $host_os in
11021 openbsd2.[89] | openbsd2.[89].*)
11022 shlibpath_overrides_runpath=no
11025 shlibpath_overrides_runpath=yes
11027 esac
11028 else
11029 shlibpath_overrides_runpath=yes
11033 os2*)
11034 libname_spec='$name'
11035 shrext_cmds=".dll"
11036 need_lib_prefix=no
11037 library_names_spec='$libname${shared_ext} $libname.a'
11038 dynamic_linker='OS/2 ld.exe'
11039 shlibpath_var=LIBPATH
11042 osf3* | osf4* | osf5*)
11043 version_type=osf
11044 need_lib_prefix=no
11045 need_version=no
11046 soname_spec='${libname}${release}${shared_ext}$major'
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11050 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11053 rdos*)
11054 dynamic_linker=no
11057 solaris*)
11058 version_type=linux
11059 need_lib_prefix=no
11060 need_version=no
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 soname_spec='${libname}${release}${shared_ext}$major'
11063 shlibpath_var=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 hardcode_into_libs=yes
11066 # ldd complains unless libraries are executable
11067 postinstall_cmds='chmod +x $lib'
11070 sunos4*)
11071 version_type=sunos
11072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11073 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=yes
11076 if test "$with_gnu_ld" = yes; then
11077 need_lib_prefix=no
11079 need_version=yes
11082 sysv4 | sysv4.3*)
11083 version_type=linux
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 shlibpath_var=LD_LIBRARY_PATH
11087 case $host_vendor in
11088 sni)
11089 shlibpath_overrides_runpath=no
11090 need_lib_prefix=no
11091 runpath_var=LD_RUN_PATH
11093 siemens)
11094 need_lib_prefix=no
11096 motorola)
11097 need_lib_prefix=no
11098 need_version=no
11099 shlibpath_overrides_runpath=no
11100 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11102 esac
11105 sysv4*MP*)
11106 if test -d /usr/nec ;then
11107 version_type=linux
11108 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11109 soname_spec='$libname${shared_ext}.$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11115 version_type=freebsd-elf
11116 need_lib_prefix=no
11117 need_version=no
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11119 soname_spec='${libname}${release}${shared_ext}$major'
11120 shlibpath_var=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath=yes
11122 hardcode_into_libs=yes
11123 if test "$with_gnu_ld" = yes; then
11124 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11125 else
11126 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11127 case $host_os in
11128 sco3.2v5*)
11129 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11131 esac
11133 sys_lib_dlsearch_path_spec='/usr/lib'
11136 tpf*)
11137 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11138 version_type=linux
11139 need_lib_prefix=no
11140 need_version=no
11141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142 shlibpath_var=LD_LIBRARY_PATH
11143 shlibpath_overrides_runpath=no
11144 hardcode_into_libs=yes
11147 uts4*)
11148 version_type=linux
11149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11150 soname_spec='${libname}${release}${shared_ext}$major'
11151 shlibpath_var=LD_LIBRARY_PATH
11155 dynamic_linker=no
11157 esac
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11159 $as_echo "$dynamic_linker" >&6; }
11160 test "$dynamic_linker" = no && can_build_shared=no
11162 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11163 if test "$GCC" = yes; then
11164 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11167 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11168 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11170 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11171 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11266 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11267 hardcode_action=
11268 if test -n "$hardcode_libdir_flag_spec" ||
11269 test -n "$runpath_var" ||
11270 test "X$hardcode_automatic" = "Xyes" ; then
11272 # We can hardcode non-existent directories.
11273 if test "$hardcode_direct" != no &&
11274 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11275 # have to relink, otherwise we might link with an installed library
11276 # when we should be linking with a yet-to-be-installed one
11277 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11278 test "$hardcode_minus_L" != no; then
11279 # Linking always hardcodes the temporary library directory.
11280 hardcode_action=relink
11281 else
11282 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11283 hardcode_action=immediate
11285 else
11286 # We cannot hardcode anything, or else we can only hardcode existing
11287 # directories.
11288 hardcode_action=unsupported
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11291 $as_echo "$hardcode_action" >&6; }
11293 if test "$hardcode_action" = relink ||
11294 test "$inherit_rpath" = yes; then
11295 # Fast installation is not supported
11296 enable_fast_install=no
11297 elif test "$shlibpath_overrides_runpath" = yes ||
11298 test "$enable_shared" = no; then
11299 # Fast installation is not necessary
11300 enable_fast_install=needless
11308 if test "x$enable_dlopen" != xyes; then
11309 enable_dlopen=unknown
11310 enable_dlopen_self=unknown
11311 enable_dlopen_self_static=unknown
11312 else
11313 lt_cv_dlopen=no
11314 lt_cv_dlopen_libs=
11316 case $host_os in
11317 beos*)
11318 lt_cv_dlopen="load_add_on"
11319 lt_cv_dlopen_libs=
11320 lt_cv_dlopen_self=yes
11323 mingw* | pw32* | cegcc*)
11324 lt_cv_dlopen="LoadLibrary"
11325 lt_cv_dlopen_libs=
11328 cygwin*)
11329 lt_cv_dlopen="dlopen"
11330 lt_cv_dlopen_libs=
11333 darwin*)
11334 # if libdl is installed we need to link against it
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11337 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11338 $as_echo_n "(cached) " >&6
11339 else
11340 ac_check_lib_save_LIBS=$LIBS
11341 LIBS="-ldl $LIBS"
11342 if test x$gcc_no_link = xyes; then
11343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h. */
11348 /* Override any GCC internal prototype to avoid an error.
11349 Use char because int might match the return type of a GCC
11350 builtin and then its argument prototype would still apply. */
11351 #ifdef __cplusplus
11352 extern "C"
11353 #endif
11354 char dlopen ();
11356 main ()
11358 return dlopen ();
11360 return 0;
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"; then :
11364 ac_cv_lib_dl_dlopen=yes
11365 else
11366 ac_cv_lib_dl_dlopen=no
11368 rm -f core conftest.err conftest.$ac_objext \
11369 conftest$ac_exeext conftest.$ac_ext
11370 LIBS=$ac_check_lib_save_LIBS
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11373 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11374 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11375 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11376 else
11378 lt_cv_dlopen="dyld"
11379 lt_cv_dlopen_libs=
11380 lt_cv_dlopen_self=yes
11387 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11388 if test "x$ac_cv_func_shl_load" = x""yes; then :
11389 lt_cv_dlopen="shl_load"
11390 else
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11392 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11393 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_lib_save_LIBS=$LIBS
11397 LIBS="-ldld $LIBS"
11398 if test x$gcc_no_link = xyes; then
11399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char shl_load ();
11412 main ()
11414 return shl_load ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 ac_cv_lib_dld_shl_load=yes
11421 else
11422 ac_cv_lib_dld_shl_load=no
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11429 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11430 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11431 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11432 else
11433 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11434 if test "x$ac_cv_func_dlopen" = x""yes; then :
11435 lt_cv_dlopen="dlopen"
11436 else
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11438 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11439 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-ldl $LIBS"
11444 if test x$gcc_no_link = xyes; then
11445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char dlopen ();
11458 main ()
11460 return dlopen ();
11462 return 0;
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 ac_cv_lib_dl_dlopen=yes
11467 else
11468 ac_cv_lib_dl_dlopen=no
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11475 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11476 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11477 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11478 else
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11480 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11481 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11482 $as_echo_n "(cached) " >&6
11483 else
11484 ac_check_lib_save_LIBS=$LIBS
11485 LIBS="-lsvld $LIBS"
11486 if test x$gcc_no_link = xyes; then
11487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 char dlopen ();
11500 main ()
11502 return dlopen ();
11504 return 0;
11506 _ACEOF
11507 if ac_fn_c_try_link "$LINENO"; then :
11508 ac_cv_lib_svld_dlopen=yes
11509 else
11510 ac_cv_lib_svld_dlopen=no
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_lib_save_LIBS
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11517 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11518 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11519 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11520 else
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11522 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11523 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11524 $as_echo_n "(cached) " >&6
11525 else
11526 ac_check_lib_save_LIBS=$LIBS
11527 LIBS="-ldld $LIBS"
11528 if test x$gcc_no_link = xyes; then
11529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char dld_link ();
11542 main ()
11544 return dld_link ();
11546 return 0;
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 ac_cv_lib_dld_dld_link=yes
11551 else
11552 ac_cv_lib_dld_dld_link=no
11554 rm -f core conftest.err conftest.$ac_objext \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_lib_save_LIBS
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11559 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11560 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11561 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11580 esac
11582 if test "x$lt_cv_dlopen" != xno; then
11583 enable_dlopen=yes
11584 else
11585 enable_dlopen=no
11588 case $lt_cv_dlopen in
11589 dlopen)
11590 save_CPPFLAGS="$CPPFLAGS"
11591 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11593 save_LDFLAGS="$LDFLAGS"
11594 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11596 save_LIBS="$LIBS"
11597 LIBS="$lt_cv_dlopen_libs $LIBS"
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11600 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11601 if test "${lt_cv_dlopen_self+set}" = set; then :
11602 $as_echo_n "(cached) " >&6
11603 else
11604 if test "$cross_compiling" = yes; then :
11605 lt_cv_dlopen_self=cross
11606 else
11607 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11608 lt_status=$lt_dlunknown
11609 cat > conftest.$ac_ext <<_LT_EOF
11610 #line 11610 "configure"
11611 #include "confdefs.h"
11613 #if HAVE_DLFCN_H
11614 #include <dlfcn.h>
11615 #endif
11617 #include <stdio.h>
11619 #ifdef RTLD_GLOBAL
11620 # define LT_DLGLOBAL RTLD_GLOBAL
11621 #else
11622 # ifdef DL_GLOBAL
11623 # define LT_DLGLOBAL DL_GLOBAL
11624 # else
11625 # define LT_DLGLOBAL 0
11626 # endif
11627 #endif
11629 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11630 find out it does not work in some platform. */
11631 #ifndef LT_DLLAZY_OR_NOW
11632 # ifdef RTLD_LAZY
11633 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11634 # else
11635 # ifdef DL_LAZY
11636 # define LT_DLLAZY_OR_NOW DL_LAZY
11637 # else
11638 # ifdef RTLD_NOW
11639 # define LT_DLLAZY_OR_NOW RTLD_NOW
11640 # else
11641 # ifdef DL_NOW
11642 # define LT_DLLAZY_OR_NOW DL_NOW
11643 # else
11644 # define LT_DLLAZY_OR_NOW 0
11645 # endif
11646 # endif
11647 # endif
11648 # endif
11649 #endif
11651 /* When -fvisbility=hidden is used, assume the code has been annotated
11652 correspondingly for the symbols needed. */
11653 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11654 void fnord () __attribute__((visibility("default")));
11655 #endif
11657 void fnord () { int i=42; }
11658 int main ()
11660 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11661 int status = $lt_dlunknown;
11663 if (self)
11665 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11666 else
11668 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11669 else puts (dlerror ());
11671 /* dlclose (self); */
11673 else
11674 puts (dlerror ());
11676 return status;
11678 _LT_EOF
11679 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11680 (eval $ac_link) 2>&5
11681 ac_status=$?
11682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11683 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11684 (./conftest; exit; ) >&5 2>/dev/null
11685 lt_status=$?
11686 case x$lt_status in
11687 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11688 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11689 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11690 esac
11691 else :
11692 # compilation failed
11693 lt_cv_dlopen_self=no
11696 rm -fr conftest*
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11701 $as_echo "$lt_cv_dlopen_self" >&6; }
11703 if test "x$lt_cv_dlopen_self" = xyes; then
11704 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11706 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11707 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11708 $as_echo_n "(cached) " >&6
11709 else
11710 if test "$cross_compiling" = yes; then :
11711 lt_cv_dlopen_self_static=cross
11712 else
11713 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11714 lt_status=$lt_dlunknown
11715 cat > conftest.$ac_ext <<_LT_EOF
11716 #line 11716 "configure"
11717 #include "confdefs.h"
11719 #if HAVE_DLFCN_H
11720 #include <dlfcn.h>
11721 #endif
11723 #include <stdio.h>
11725 #ifdef RTLD_GLOBAL
11726 # define LT_DLGLOBAL RTLD_GLOBAL
11727 #else
11728 # ifdef DL_GLOBAL
11729 # define LT_DLGLOBAL DL_GLOBAL
11730 # else
11731 # define LT_DLGLOBAL 0
11732 # endif
11733 #endif
11735 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11736 find out it does not work in some platform. */
11737 #ifndef LT_DLLAZY_OR_NOW
11738 # ifdef RTLD_LAZY
11739 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11740 # else
11741 # ifdef DL_LAZY
11742 # define LT_DLLAZY_OR_NOW DL_LAZY
11743 # else
11744 # ifdef RTLD_NOW
11745 # define LT_DLLAZY_OR_NOW RTLD_NOW
11746 # else
11747 # ifdef DL_NOW
11748 # define LT_DLLAZY_OR_NOW DL_NOW
11749 # else
11750 # define LT_DLLAZY_OR_NOW 0
11751 # endif
11752 # endif
11753 # endif
11754 # endif
11755 #endif
11757 /* When -fvisbility=hidden is used, assume the code has been annotated
11758 correspondingly for the symbols needed. */
11759 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11760 void fnord () __attribute__((visibility("default")));
11761 #endif
11763 void fnord () { int i=42; }
11764 int main ()
11766 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11767 int status = $lt_dlunknown;
11769 if (self)
11771 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11772 else
11774 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11775 else puts (dlerror ());
11777 /* dlclose (self); */
11779 else
11780 puts (dlerror ());
11782 return status;
11784 _LT_EOF
11785 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11786 (eval $ac_link) 2>&5
11787 ac_status=$?
11788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11789 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11790 (./conftest; exit; ) >&5 2>/dev/null
11791 lt_status=$?
11792 case x$lt_status in
11793 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11794 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11795 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11796 esac
11797 else :
11798 # compilation failed
11799 lt_cv_dlopen_self_static=no
11802 rm -fr conftest*
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11807 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11810 CPPFLAGS="$save_CPPFLAGS"
11811 LDFLAGS="$save_LDFLAGS"
11812 LIBS="$save_LIBS"
11814 esac
11816 case $lt_cv_dlopen_self in
11817 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11818 *) enable_dlopen_self=unknown ;;
11819 esac
11821 case $lt_cv_dlopen_self_static in
11822 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11823 *) enable_dlopen_self_static=unknown ;;
11824 esac
11843 striplib=
11844 old_striplib=
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11846 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11847 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11848 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11849 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11851 $as_echo "yes" >&6; }
11852 else
11853 # FIXME - insert some real tests, host_os isn't really good enough
11854 case $host_os in
11855 darwin*)
11856 if test -n "$STRIP" ; then
11857 striplib="$STRIP -x"
11858 old_striplib="$STRIP -S"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11860 $as_echo "yes" >&6; }
11861 else
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11863 $as_echo "no" >&6; }
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11868 $as_echo "no" >&6; }
11870 esac
11884 # Report which library types will actually be built
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11886 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11888 $as_echo "$can_build_shared" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11891 $as_echo_n "checking whether to build shared libraries... " >&6; }
11892 test "$can_build_shared" = "no" && enable_shared=no
11894 # On AIX, shared libraries and static libraries use the same namespace, and
11895 # are all built from PIC.
11896 case $host_os in
11897 aix3*)
11898 test "$enable_shared" = yes && enable_static=no
11899 if test -n "$RANLIB"; then
11900 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11901 postinstall_cmds='$RANLIB $lib'
11905 aix[4-9]*)
11906 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11907 test "$enable_shared" = yes && enable_static=no
11910 esac
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11912 $as_echo "$enable_shared" >&6; }
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11915 $as_echo_n "checking whether to build static libraries... " >&6; }
11916 # Make sure either enable_shared or enable_static is yes.
11917 test "$enable_shared" = yes || enable_static=yes
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11919 $as_echo "$enable_static" >&6; }
11925 ac_ext=c
11926 ac_cpp='$CPP $CPPFLAGS'
11927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11931 CC="$lt_save_CC"
11933 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11934 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11935 (test "X$CXX" != "Xg++"))) ; then
11936 ac_ext=cpp
11937 ac_cpp='$CXXCPP $CPPFLAGS'
11938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11942 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11943 if test -z "$CXXCPP"; then
11944 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11945 $as_echo_n "(cached) " >&6
11946 else
11947 # Double quotes because CXXCPP needs to be expanded
11948 for CXXCPP in "$CXX -E" "/lib/cpp"
11950 ac_preproc_ok=false
11951 for ac_cxx_preproc_warn_flag in '' yes
11953 # Use a header file that comes with gcc, so configuring glibc
11954 # with a fresh cross-compiler works.
11955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11956 # <limits.h> exists even on freestanding compilers.
11957 # On the NeXT, cc -E runs the code through the compiler's parser,
11958 # not just through cpp. "Syntax error" is here to catch this case.
11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11961 #ifdef __STDC__
11962 # include <limits.h>
11963 #else
11964 # include <assert.h>
11965 #endif
11966 Syntax error
11967 _ACEOF
11968 if ac_fn_cxx_try_cpp "$LINENO"; then :
11970 else
11971 # Broken: fails on valid input.
11972 continue
11974 rm -f conftest.err conftest.$ac_ext
11976 # OK, works on sane cases. Now check whether nonexistent headers
11977 # can be detected and how.
11978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h. */
11980 #include <ac_nonexistent.h>
11981 _ACEOF
11982 if ac_fn_cxx_try_cpp "$LINENO"; then :
11983 # Broken: success on invalid input.
11984 continue
11985 else
11986 # Passes both tests.
11987 ac_preproc_ok=:
11988 break
11990 rm -f conftest.err conftest.$ac_ext
11992 done
11993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11994 rm -f conftest.err conftest.$ac_ext
11995 if $ac_preproc_ok; then :
11996 break
11999 done
12000 ac_cv_prog_CXXCPP=$CXXCPP
12003 CXXCPP=$ac_cv_prog_CXXCPP
12004 else
12005 ac_cv_prog_CXXCPP=$CXXCPP
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12008 $as_echo "$CXXCPP" >&6; }
12009 ac_preproc_ok=false
12010 for ac_cxx_preproc_warn_flag in '' yes
12012 # Use a header file that comes with gcc, so configuring glibc
12013 # with a fresh cross-compiler works.
12014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12015 # <limits.h> exists even on freestanding compilers.
12016 # On the NeXT, cc -E runs the code through the compiler's parser,
12017 # not just through cpp. "Syntax error" is here to catch this case.
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12020 #ifdef __STDC__
12021 # include <limits.h>
12022 #else
12023 # include <assert.h>
12024 #endif
12025 Syntax error
12026 _ACEOF
12027 if ac_fn_cxx_try_cpp "$LINENO"; then :
12029 else
12030 # Broken: fails on valid input.
12031 continue
12033 rm -f conftest.err conftest.$ac_ext
12035 # OK, works on sane cases. Now check whether nonexistent headers
12036 # can be detected and how.
12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12039 #include <ac_nonexistent.h>
12040 _ACEOF
12041 if ac_fn_cxx_try_cpp "$LINENO"; then :
12042 # Broken: success on invalid input.
12043 continue
12044 else
12045 # Passes both tests.
12046 ac_preproc_ok=:
12047 break
12049 rm -f conftest.err conftest.$ac_ext
12051 done
12052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12053 rm -f conftest.err conftest.$ac_ext
12054 if $ac_preproc_ok; then :
12056 else
12057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12059 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12060 See \`config.log' for more details." "$LINENO" 5; }
12063 ac_ext=c
12064 ac_cpp='$CPP $CPPFLAGS'
12065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12069 else
12070 _lt_caught_CXX_error=yes
12073 ac_ext=cpp
12074 ac_cpp='$CXXCPP $CPPFLAGS'
12075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12079 archive_cmds_need_lc_CXX=no
12080 allow_undefined_flag_CXX=
12081 always_export_symbols_CXX=no
12082 archive_expsym_cmds_CXX=
12083 compiler_needs_object_CXX=no
12084 export_dynamic_flag_spec_CXX=
12085 hardcode_direct_CXX=no
12086 hardcode_direct_absolute_CXX=no
12087 hardcode_libdir_flag_spec_CXX=
12088 hardcode_libdir_flag_spec_ld_CXX=
12089 hardcode_libdir_separator_CXX=
12090 hardcode_minus_L_CXX=no
12091 hardcode_shlibpath_var_CXX=unsupported
12092 hardcode_automatic_CXX=no
12093 inherit_rpath_CXX=no
12094 module_cmds_CXX=
12095 module_expsym_cmds_CXX=
12096 link_all_deplibs_CXX=unknown
12097 old_archive_cmds_CXX=$old_archive_cmds
12098 reload_flag_CXX=$reload_flag
12099 reload_cmds_CXX=$reload_cmds
12100 no_undefined_flag_CXX=
12101 whole_archive_flag_spec_CXX=
12102 enable_shared_with_static_runtimes_CXX=no
12104 # Source file extension for C++ test sources.
12105 ac_ext=cpp
12107 # Object file extension for compiled C++ test sources.
12108 objext=o
12109 objext_CXX=$objext
12111 # No sense in running all these tests if we already determined that
12112 # the CXX compiler isn't working. Some variables (like enable_shared)
12113 # are currently assumed to apply to all compilers on this platform,
12114 # and will be corrupted by setting them based on a non-working compiler.
12115 if test "$_lt_caught_CXX_error" != yes; then
12116 # Code to be used in simple compile tests
12117 lt_simple_compile_test_code="int some_variable = 0;"
12119 # Code to be used in simple link tests
12120 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12122 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12129 # If no C compiler was specified, use CC.
12130 LTCC=${LTCC-"$CC"}
12132 # If no C compiler flags were specified, use CFLAGS.
12133 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12135 # Allow CC to be a program name with arguments.
12136 compiler=$CC
12139 # save warnings/boilerplate of simple test code
12140 ac_outfile=conftest.$ac_objext
12141 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12142 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12143 _lt_compiler_boilerplate=`cat conftest.err`
12144 $RM conftest*
12146 ac_outfile=conftest.$ac_objext
12147 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12148 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12149 _lt_linker_boilerplate=`cat conftest.err`
12150 $RM -r conftest*
12153 # Allow CC to be a program name with arguments.
12154 lt_save_CC=$CC
12155 lt_save_LD=$LD
12156 lt_save_GCC=$GCC
12157 GCC=$GXX
12158 lt_save_with_gnu_ld=$with_gnu_ld
12159 lt_save_path_LD=$lt_cv_path_LD
12160 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12161 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12162 else
12163 $as_unset lt_cv_prog_gnu_ld
12165 if test -n "${lt_cv_path_LDCXX+set}"; then
12166 lt_cv_path_LD=$lt_cv_path_LDCXX
12167 else
12168 $as_unset lt_cv_path_LD
12170 test -z "${LDCXX+set}" || LD=$LDCXX
12171 CC=${CXX-"c++"}
12172 compiler=$CC
12173 compiler_CXX=$CC
12174 for cc_temp in $compiler""; do
12175 case $cc_temp in
12176 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12177 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12178 \-*) ;;
12179 *) break;;
12180 esac
12181 done
12182 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12185 if test -n "$compiler"; then
12186 # We don't want -fno-exception when compiling C++ code, so set the
12187 # no_builtin_flag separately
12188 if test "$GXX" = yes; then
12189 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12190 else
12191 lt_prog_compiler_no_builtin_flag_CXX=
12194 if test "$GXX" = yes; then
12195 # Set up default GNU C++ configuration
12199 # Check whether --with-gnu-ld was given.
12200 if test "${with_gnu_ld+set}" = set; then :
12201 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12202 else
12203 with_gnu_ld=no
12206 ac_prog=ld
12207 if test "$GCC" = yes; then
12208 # Check if gcc -print-prog-name=ld gives a path.
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12210 $as_echo_n "checking for ld used by $CC... " >&6; }
12211 case $host in
12212 *-*-mingw*)
12213 # gcc leaves a trailing carriage return which upsets mingw
12214 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12216 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12217 esac
12218 case $ac_prog in
12219 # Accept absolute paths.
12220 [\\/]* | ?:[\\/]*)
12221 re_direlt='/[^/][^/]*/\.\./'
12222 # Canonicalize the pathname of ld
12223 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12224 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12225 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12226 done
12227 test -z "$LD" && LD="$ac_prog"
12230 # If it fails, then pretend we aren't using GCC.
12231 ac_prog=ld
12234 # If it is relative, then search for the first ld in PATH.
12235 with_gnu_ld=unknown
12237 esac
12238 elif test "$with_gnu_ld" = yes; then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12240 $as_echo_n "checking for GNU ld... " >&6; }
12241 else
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12243 $as_echo_n "checking for non-GNU ld... " >&6; }
12245 if test "${lt_cv_path_LD+set}" = set; then :
12246 $as_echo_n "(cached) " >&6
12247 else
12248 if test -z "$LD"; then
12249 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12250 for ac_dir in $PATH; do
12251 IFS="$lt_save_ifs"
12252 test -z "$ac_dir" && ac_dir=.
12253 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12254 lt_cv_path_LD="$ac_dir/$ac_prog"
12255 # Check to see if the program is GNU ld. I'd rather use --version,
12256 # but apparently some variants of GNU ld only accept -v.
12257 # Break only if it was the GNU/non-GNU ld that we prefer.
12258 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12259 *GNU* | *'with BFD'*)
12260 test "$with_gnu_ld" != no && break
12263 test "$with_gnu_ld" != yes && break
12265 esac
12267 done
12268 IFS="$lt_save_ifs"
12269 else
12270 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12274 LD="$lt_cv_path_LD"
12275 if test -n "$LD"; then
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12277 $as_echo "$LD" >&6; }
12278 else
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12280 $as_echo "no" >&6; }
12282 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12284 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12285 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12286 $as_echo_n "(cached) " >&6
12287 else
12288 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12289 case `$LD -v 2>&1 </dev/null` in
12290 *GNU* | *'with BFD'*)
12291 lt_cv_prog_gnu_ld=yes
12294 lt_cv_prog_gnu_ld=no
12296 esac
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12299 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12300 with_gnu_ld=$lt_cv_prog_gnu_ld
12308 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12309 # archiving commands below assume that GNU ld is being used.
12310 if test "$with_gnu_ld" = yes; then
12311 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12312 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12314 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12315 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12317 # If archive_cmds runs LD, not CC, wlarc should be empty
12318 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12319 # investigate it a little bit more. (MM)
12320 wlarc='${wl}'
12322 # ancient GNU ld didn't support --whole-archive et. al.
12323 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12324 $GREP 'no-whole-archive' > /dev/null; then
12325 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12326 else
12327 whole_archive_flag_spec_CXX=
12329 else
12330 with_gnu_ld=no
12331 wlarc=
12333 # A generic and very simple default shared library creation
12334 # command for GNU C++ for the case where it uses the native
12335 # linker, instead of GNU ld. If possible, this setting should
12336 # overridden to take advantage of the native linker features on
12337 # the platform it is being used on.
12338 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12341 # Commands to make compiler produce verbose output that lists
12342 # what "hidden" libraries, object files and flags are used when
12343 # linking a shared library.
12344 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12346 else
12347 GXX=no
12348 with_gnu_ld=no
12349 wlarc=
12352 # PORTME: fill in a description of your system's C++ link characteristics
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12354 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12355 ld_shlibs_CXX=yes
12356 case $host_os in
12357 aix3*)
12358 # FIXME: insert proper C++ library support
12359 ld_shlibs_CXX=no
12361 aix[4-9]*)
12362 if test "$host_cpu" = ia64; then
12363 # On IA64, the linker does run time linking by default, so we don't
12364 # have to do anything special.
12365 aix_use_runtimelinking=no
12366 exp_sym_flag='-Bexport'
12367 no_entry_flag=""
12368 else
12369 aix_use_runtimelinking=no
12371 # Test if we are trying to use run time linking or normal
12372 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12373 # need to do runtime linking.
12374 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12375 for ld_flag in $LDFLAGS; do
12376 case $ld_flag in
12377 *-brtl*)
12378 aix_use_runtimelinking=yes
12379 break
12381 esac
12382 done
12384 esac
12386 exp_sym_flag='-bexport'
12387 no_entry_flag='-bnoentry'
12390 # When large executables or shared objects are built, AIX ld can
12391 # have problems creating the table of contents. If linking a library
12392 # or program results in "error TOC overflow" add -mminimal-toc to
12393 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12394 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12396 archive_cmds_CXX=''
12397 hardcode_direct_CXX=yes
12398 hardcode_direct_absolute_CXX=yes
12399 hardcode_libdir_separator_CXX=':'
12400 link_all_deplibs_CXX=yes
12401 file_list_spec_CXX='${wl}-f,'
12403 if test "$GXX" = yes; then
12404 case $host_os in aix4.[012]|aix4.[012].*)
12405 # We only want to do this on AIX 4.2 and lower, the check
12406 # below for broken collect2 doesn't work under 4.3+
12407 collect2name=`${CC} -print-prog-name=collect2`
12408 if test -f "$collect2name" &&
12409 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12410 then
12411 # We have reworked collect2
12413 else
12414 # We have old collect2
12415 hardcode_direct_CXX=unsupported
12416 # It fails to find uninstalled libraries when the uninstalled
12417 # path is not listed in the libpath. Setting hardcode_minus_L
12418 # to unsupported forces relinking
12419 hardcode_minus_L_CXX=yes
12420 hardcode_libdir_flag_spec_CXX='-L$libdir'
12421 hardcode_libdir_separator_CXX=
12423 esac
12424 shared_flag='-shared'
12425 if test "$aix_use_runtimelinking" = yes; then
12426 shared_flag="$shared_flag "'${wl}-G'
12428 else
12429 # not using gcc
12430 if test "$host_cpu" = ia64; then
12431 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12432 # chokes on -Wl,-G. The following line is correct:
12433 shared_flag='-G'
12434 else
12435 if test "$aix_use_runtimelinking" = yes; then
12436 shared_flag='${wl}-G'
12437 else
12438 shared_flag='${wl}-bM:SRE'
12443 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12444 # It seems that -bexpall does not export symbols beginning with
12445 # underscore (_), so it is better to generate a list of symbols to
12446 # export.
12447 always_export_symbols_CXX=yes
12448 if test "$aix_use_runtimelinking" = yes; then
12449 # Warning - without using the other runtime loading flags (-brtl),
12450 # -berok will link without error, but may produce a broken library.
12451 allow_undefined_flag_CXX='-berok'
12452 # Determine the default libpath from the value encoded in an empty
12453 # executable.
12454 if test x$gcc_no_link = xyes; then
12455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12461 main ()
12465 return 0;
12467 _ACEOF
12468 if ac_fn_cxx_try_link "$LINENO"; then :
12470 lt_aix_libpath_sed='
12471 /Import File Strings/,/^$/ {
12472 /^0/ {
12473 s/^0 *\(.*\)$/\1/
12477 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12478 # Check for a 64-bit object if we didn't find anything.
12479 if test -z "$aix_libpath"; then
12480 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12483 rm -f core conftest.err conftest.$ac_objext \
12484 conftest$ac_exeext conftest.$ac_ext
12485 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12487 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12489 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12490 else
12491 if test "$host_cpu" = ia64; then
12492 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12493 allow_undefined_flag_CXX="-z nodefs"
12494 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12495 else
12496 # Determine the default libpath from the value encoded in an
12497 # empty executable.
12498 if test x$gcc_no_link = xyes; then
12499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12505 main ()
12509 return 0;
12511 _ACEOF
12512 if ac_fn_cxx_try_link "$LINENO"; then :
12514 lt_aix_libpath_sed='
12515 /Import File Strings/,/^$/ {
12516 /^0/ {
12517 s/^0 *\(.*\)$/\1/
12521 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12522 # Check for a 64-bit object if we didn't find anything.
12523 if test -z "$aix_libpath"; then
12524 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12527 rm -f core conftest.err conftest.$ac_objext \
12528 conftest$ac_exeext conftest.$ac_ext
12529 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12531 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12532 # Warning - without using the other run time loading flags,
12533 # -berok will link without error, but may produce a broken library.
12534 no_undefined_flag_CXX=' ${wl}-bernotok'
12535 allow_undefined_flag_CXX=' ${wl}-berok'
12536 if test "$with_gnu_ld" = yes; then
12537 # We only use this code for GNU lds that support --whole-archive.
12538 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12539 else
12540 # Exported symbols can be pulled into shared objects from archives
12541 whole_archive_flag_spec_CXX='$convenience'
12543 archive_cmds_need_lc_CXX=yes
12544 # This is similar to how AIX traditionally builds its shared
12545 # libraries.
12546 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12551 beos*)
12552 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12553 allow_undefined_flag_CXX=unsupported
12554 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12555 # support --undefined. This deserves some investigation. FIXME
12556 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12557 else
12558 ld_shlibs_CXX=no
12562 chorus*)
12563 case $cc_basename in
12565 # FIXME: insert proper C++ library support
12566 ld_shlibs_CXX=no
12568 esac
12571 cygwin* | mingw* | pw32* | cegcc*)
12572 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12573 # as there is no search path for DLLs.
12574 hardcode_libdir_flag_spec_CXX='-L$libdir'
12575 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12576 allow_undefined_flag_CXX=unsupported
12577 always_export_symbols_CXX=no
12578 enable_shared_with_static_runtimes_CXX=yes
12580 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12581 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12582 # If the export-symbols file already is a .def file (1st line
12583 # is EXPORTS), use it as is; otherwise, prepend...
12584 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12585 cp $export_symbols $output_objdir/$soname.def;
12586 else
12587 echo EXPORTS > $output_objdir/$soname.def;
12588 cat $export_symbols >> $output_objdir/$soname.def;
12590 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12591 else
12592 ld_shlibs_CXX=no
12595 darwin* | rhapsody*)
12598 archive_cmds_need_lc_CXX=no
12599 hardcode_direct_CXX=no
12600 hardcode_automatic_CXX=yes
12601 hardcode_shlibpath_var_CXX=unsupported
12602 if test "$lt_cv_ld_force_load" = "yes"; then
12603 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12604 else
12605 whole_archive_flag_spec_CXX=''
12607 link_all_deplibs_CXX=yes
12608 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12609 case $cc_basename in
12610 ifort*) _lt_dar_can_shared=yes ;;
12611 *) _lt_dar_can_shared=$GCC ;;
12612 esac
12613 if test "$_lt_dar_can_shared" = "yes"; then
12614 output_verbose_link_cmd=func_echo_all
12615 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12616 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12617 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12618 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12619 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12620 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12621 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12624 else
12625 ld_shlibs_CXX=no
12630 dgux*)
12631 case $cc_basename in
12632 ec++*)
12633 # FIXME: insert proper C++ library support
12634 ld_shlibs_CXX=no
12636 ghcx*)
12637 # Green Hills C++ Compiler
12638 # FIXME: insert proper C++ library support
12639 ld_shlibs_CXX=no
12642 # FIXME: insert proper C++ library support
12643 ld_shlibs_CXX=no
12645 esac
12648 freebsd2.*)
12649 # C++ shared libraries reported to be fairly broken before
12650 # switch to ELF
12651 ld_shlibs_CXX=no
12654 freebsd-elf*)
12655 archive_cmds_need_lc_CXX=no
12658 freebsd* | dragonfly*)
12659 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12660 # conventions
12661 ld_shlibs_CXX=yes
12664 gnu*)
12667 haiku*)
12668 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12669 link_all_deplibs_CXX=yes
12672 hpux9*)
12673 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12674 hardcode_libdir_separator_CXX=:
12675 export_dynamic_flag_spec_CXX='${wl}-E'
12676 hardcode_direct_CXX=yes
12677 hardcode_minus_L_CXX=yes # Not in the search PATH,
12678 # but as the default
12679 # location of the library.
12681 case $cc_basename in
12682 CC*)
12683 # FIXME: insert proper C++ library support
12684 ld_shlibs_CXX=no
12686 aCC*)
12687 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12688 # Commands to make compiler produce verbose output that lists
12689 # what "hidden" libraries, object files and flags are used when
12690 # linking a shared library.
12692 # There doesn't appear to be a way to prevent this compiler from
12693 # explicitly linking system object files so we need to strip them
12694 # from the output so that they don't get included in the library
12695 # dependencies.
12696 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12699 if test "$GXX" = yes; then
12700 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12701 else
12702 # FIXME: insert proper C++ library support
12703 ld_shlibs_CXX=no
12706 esac
12709 hpux10*|hpux11*)
12710 if test $with_gnu_ld = no; then
12711 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12712 hardcode_libdir_separator_CXX=:
12714 case $host_cpu in
12715 hppa*64*|ia64*)
12718 export_dynamic_flag_spec_CXX='${wl}-E'
12720 esac
12722 case $host_cpu in
12723 hppa*64*|ia64*)
12724 hardcode_direct_CXX=no
12725 hardcode_shlibpath_var_CXX=no
12728 hardcode_direct_CXX=yes
12729 hardcode_direct_absolute_CXX=yes
12730 hardcode_minus_L_CXX=yes # Not in the search PATH,
12731 # but as the default
12732 # location of the library.
12734 esac
12736 case $cc_basename in
12737 CC*)
12738 # FIXME: insert proper C++ library support
12739 ld_shlibs_CXX=no
12741 aCC*)
12742 case $host_cpu in
12743 hppa*64*)
12744 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12746 ia64*)
12747 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12750 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12752 esac
12753 # Commands to make compiler produce verbose output that lists
12754 # what "hidden" libraries, object files and flags are used when
12755 # linking a shared library.
12757 # There doesn't appear to be a way to prevent this compiler from
12758 # explicitly linking system object files so we need to strip them
12759 # from the output so that they don't get included in the library
12760 # dependencies.
12761 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12764 if test "$GXX" = yes; then
12765 if test $with_gnu_ld = no; then
12766 case $host_cpu in
12767 hppa*64*)
12768 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12770 ia64*)
12771 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12774 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12776 esac
12778 else
12779 # FIXME: insert proper C++ library support
12780 ld_shlibs_CXX=no
12783 esac
12786 interix[3-9]*)
12787 hardcode_direct_CXX=no
12788 hardcode_shlibpath_var_CXX=no
12789 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}-E'
12791 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12792 # Instead, shared libraries are loaded at an image base (0x10000000 by
12793 # default) and relocated if they conflict, which is a slow very memory
12794 # consuming and fragmenting process. To avoid this, we pick a random,
12795 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12796 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12797 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12798 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12800 irix5* | irix6*)
12801 case $cc_basename in
12802 CC*)
12803 # SGI C++
12804 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12806 # Archives containing C++ object files must be created using
12807 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12808 # necessary to make sure instantiated templates are included
12809 # in the archive.
12810 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12813 if test "$GXX" = yes; then
12814 if test "$with_gnu_ld" = no; then
12815 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12816 else
12817 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12820 link_all_deplibs_CXX=yes
12822 esac
12823 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12824 hardcode_libdir_separator_CXX=:
12825 inherit_rpath_CXX=yes
12828 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12829 case $cc_basename in
12830 KCC*)
12831 # Kuck and Associates, Inc. (KAI) C++ Compiler
12833 # KCC will only create a shared library if the output file
12834 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12835 # to its proper name (with version) after linking.
12836 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12837 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12838 # Commands to make compiler produce verbose output that lists
12839 # what "hidden" libraries, object files and flags are used when
12840 # linking a shared library.
12842 # There doesn't appear to be a way to prevent this compiler from
12843 # explicitly linking system object files so we need to strip them
12844 # from the output so that they don't get included in the library
12845 # dependencies.
12846 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12848 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12849 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12851 # Archives containing C++ object files must be created using
12852 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12853 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12855 icpc* | ecpc* )
12856 # Intel C++
12857 with_gnu_ld=yes
12858 # version 8.0 and above of icpc choke on multiply defined symbols
12859 # if we add $predep_objects and $postdep_objects, however 7.1 and
12860 # earlier do not add the objects themselves.
12861 case `$CC -V 2>&1` in
12862 *"Version 7."*)
12863 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12864 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12866 *) # Version 8.0 or newer
12867 tmp_idyn=
12868 case $host_cpu in
12869 ia64*) tmp_idyn=' -i_dynamic';;
12870 esac
12871 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12872 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12874 esac
12875 archive_cmds_need_lc_CXX=no
12876 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12877 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12878 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12880 pgCC* | pgcpp*)
12881 # Portland Group C++ compiler
12882 case `$CC -V` in
12883 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12884 prelink_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12887 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12888 old_archive_cmds_CXX='tpldir=Template.dir~
12889 rm -rf $tpldir~
12890 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12891 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12892 $RANLIB $oldlib'
12893 archive_cmds_CXX='tpldir=Template.dir~
12894 rm -rf $tpldir~
12895 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12896 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12897 archive_expsym_cmds_CXX='tpldir=Template.dir~
12898 rm -rf $tpldir~
12899 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12900 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12902 *) # Version 6 and above use weak symbols
12903 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12904 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12906 esac
12908 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12909 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12910 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12912 cxx*)
12913 # Compaq C++
12914 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12917 runpath_var=LD_RUN_PATH
12918 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12919 hardcode_libdir_separator_CXX=:
12921 # Commands to make compiler produce verbose output that lists
12922 # what "hidden" libraries, object files and flags are used when
12923 # linking a shared library.
12925 # There doesn't appear to be a way to prevent this compiler from
12926 # explicitly linking system object files so we need to strip them
12927 # from the output so that they don't get included in the library
12928 # dependencies.
12929 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12931 xl* | mpixl* | bgxl*)
12932 # IBM XL 8.0 on PPC, with GNU ld
12933 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12934 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12935 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12936 if test "x$supports_anon_versioning" = xyes; then
12937 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12939 echo "local: *; };" >> $output_objdir/$libname.ver~
12940 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12944 case `$CC -V 2>&1 | sed 5q` in
12945 *Sun\ C*)
12946 # Sun C++ 5.9
12947 no_undefined_flag_CXX=' -zdefs'
12948 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12949 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12950 hardcode_libdir_flag_spec_CXX='-R$libdir'
12951 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12952 compiler_needs_object_CXX=yes
12954 # Not sure whether something based on
12955 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12956 # would be better.
12957 output_verbose_link_cmd='func_echo_all'
12959 # Archives containing C++ object files must be created using
12960 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12961 # necessary to make sure instantiated templates are included
12962 # in the archive.
12963 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12965 esac
12967 esac
12970 lynxos*)
12971 # FIXME: insert proper C++ library support
12972 ld_shlibs_CXX=no
12975 m88k*)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12980 mvs*)
12981 case $cc_basename in
12982 cxx*)
12983 # FIXME: insert proper C++ library support
12984 ld_shlibs_CXX=no
12987 # FIXME: insert proper C++ library support
12988 ld_shlibs_CXX=no
12990 esac
12993 netbsd*)
12994 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12995 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12996 wlarc=
12997 hardcode_libdir_flag_spec_CXX='-R$libdir'
12998 hardcode_direct_CXX=yes
12999 hardcode_shlibpath_var_CXX=no
13001 # Workaround some broken pre-1.5 toolchains
13002 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13005 *nto* | *qnx*)
13006 ld_shlibs_CXX=yes
13009 openbsd2*)
13010 # C++ shared libraries are fairly broken
13011 ld_shlibs_CXX=no
13014 openbsd*)
13015 if test -f /usr/libexec/ld.so; then
13016 hardcode_direct_CXX=yes
13017 hardcode_shlibpath_var_CXX=no
13018 hardcode_direct_absolute_CXX=yes
13019 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13020 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13021 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13022 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13023 export_dynamic_flag_spec_CXX='${wl}-E'
13024 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13026 output_verbose_link_cmd=func_echo_all
13027 else
13028 ld_shlibs_CXX=no
13032 osf3* | osf4* | osf5*)
13033 case $cc_basename in
13034 KCC*)
13035 # Kuck and Associates, Inc. (KAI) C++ Compiler
13037 # KCC will only create a shared library if the output file
13038 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13039 # to its proper name (with version) after linking.
13040 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13042 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13043 hardcode_libdir_separator_CXX=:
13045 # Archives containing C++ object files must be created using
13046 # the KAI C++ compiler.
13047 case $host in
13048 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13049 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13050 esac
13052 RCC*)
13053 # Rational C++ 2.4.1
13054 # FIXME: insert proper C++ library support
13055 ld_shlibs_CXX=no
13057 cxx*)
13058 case $host in
13059 osf3*)
13060 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13061 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13062 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13065 allow_undefined_flag_CXX=' -expect_unresolved \*'
13066 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13067 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13068 echo "-hidden">> $lib.exp~
13069 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13070 $RM $lib.exp'
13071 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13073 esac
13075 hardcode_libdir_separator_CXX=:
13077 # Commands to make compiler produce verbose output that lists
13078 # what "hidden" libraries, object files and flags are used when
13079 # linking a shared library.
13081 # There doesn't appear to be a way to prevent this compiler from
13082 # explicitly linking system object files so we need to strip them
13083 # from the output so that they don't get included in the library
13084 # dependencies.
13085 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13088 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13089 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13090 case $host in
13091 osf3*)
13092 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13095 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13097 esac
13099 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13100 hardcode_libdir_separator_CXX=:
13102 # Commands to make compiler produce verbose output that lists
13103 # what "hidden" libraries, object files and flags are used when
13104 # linking a shared library.
13105 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13107 else
13108 # FIXME: insert proper C++ library support
13109 ld_shlibs_CXX=no
13112 esac
13115 psos*)
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13120 sunos4*)
13121 case $cc_basename in
13122 CC*)
13123 # Sun C++ 4.x
13124 # FIXME: insert proper C++ library support
13125 ld_shlibs_CXX=no
13127 lcc*)
13128 # Lucid
13129 # FIXME: insert proper C++ library support
13130 ld_shlibs_CXX=no
13133 # FIXME: insert proper C++ library support
13134 ld_shlibs_CXX=no
13136 esac
13139 solaris*)
13140 case $cc_basename in
13141 CC*)
13142 # Sun C++ 4.2, 5.x and Centerline C++
13143 archive_cmds_need_lc_CXX=yes
13144 no_undefined_flag_CXX=' -zdefs'
13145 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13146 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13147 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13149 hardcode_libdir_flag_spec_CXX='-R$libdir'
13150 hardcode_shlibpath_var_CXX=no
13151 case $host_os in
13152 solaris2.[0-5] | solaris2.[0-5].*) ;;
13154 # The compiler driver will combine and reorder linker options,
13155 # but understands `-z linker_flag'.
13156 # Supported since Solaris 2.6 (maybe 2.5.1?)
13157 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13159 esac
13160 link_all_deplibs_CXX=yes
13162 output_verbose_link_cmd='func_echo_all'
13164 # Archives containing C++ object files must be created using
13165 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13166 # necessary to make sure instantiated templates are included
13167 # in the archive.
13168 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13170 gcx*)
13171 # Green Hills C++ Compiler
13172 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13174 # The C++ compiler must be used to create the archive.
13175 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13178 # GNU C++ compiler with Solaris linker
13179 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13180 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13181 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13182 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13184 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13186 # Commands to make compiler produce verbose output that lists
13187 # what "hidden" libraries, object files and flags are used when
13188 # linking a shared library.
13189 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13190 else
13191 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13192 # platform.
13193 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13194 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13195 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13197 # Commands to make compiler produce verbose output that lists
13198 # what "hidden" libraries, object files and flags are used when
13199 # linking a shared library.
13200 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13203 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13204 case $host_os in
13205 solaris2.[0-5] | solaris2.[0-5].*) ;;
13207 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13209 esac
13212 esac
13215 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13216 no_undefined_flag_CXX='${wl}-z,text'
13217 archive_cmds_need_lc_CXX=no
13218 hardcode_shlibpath_var_CXX=no
13219 runpath_var='LD_RUN_PATH'
13221 case $cc_basename in
13222 CC*)
13223 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13227 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13228 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13230 esac
13233 sysv5* | sco3.2v5* | sco5v6*)
13234 # Note: We can NOT use -z defs as we might desire, because we do not
13235 # link with -lc, and that would cause any symbols used from libc to
13236 # always be unresolved, which means just about no library would
13237 # ever link correctly. If we're not using GNU ld we use -z text
13238 # though, which does catch some bad symbols but isn't as heavy-handed
13239 # as -z defs.
13240 no_undefined_flag_CXX='${wl}-z,text'
13241 allow_undefined_flag_CXX='${wl}-z,nodefs'
13242 archive_cmds_need_lc_CXX=no
13243 hardcode_shlibpath_var_CXX=no
13244 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13245 hardcode_libdir_separator_CXX=':'
13246 link_all_deplibs_CXX=yes
13247 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13248 runpath_var='LD_RUN_PATH'
13250 case $cc_basename in
13251 CC*)
13252 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13254 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13255 '"$old_archive_cmds_CXX"
13256 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13257 '"$reload_cmds_CXX"
13260 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13261 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13263 esac
13266 tandem*)
13267 case $cc_basename in
13268 NCC*)
13269 # NonStop-UX NCC 3.20
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13274 # FIXME: insert proper C++ library support
13275 ld_shlibs_CXX=no
13277 esac
13280 vxworks*)
13281 # FIXME: insert proper C++ library support
13282 ld_shlibs_CXX=no
13286 # FIXME: insert proper C++ library support
13287 ld_shlibs_CXX=no
13289 esac
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13292 $as_echo "$ld_shlibs_CXX" >&6; }
13293 test "$ld_shlibs_CXX" = no && can_build_shared=no
13295 GCC_CXX="$GXX"
13296 LD_CXX="$LD"
13298 ## CAVEAT EMPTOR:
13299 ## There is no encapsulation within the following macros, do not change
13300 ## the running order or otherwise move them around unless you know exactly
13301 ## what you are doing...
13302 # Dependencies to place before and after the object being linked:
13303 predep_objects_CXX=
13304 postdep_objects_CXX=
13305 predeps_CXX=
13306 postdeps_CXX=
13307 compiler_lib_search_path_CXX=
13309 cat > conftest.$ac_ext <<_LT_EOF
13310 class Foo
13312 public:
13313 Foo (void) { a = 0; }
13314 private:
13315 int a;
13317 _LT_EOF
13319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13320 (eval $ac_compile) 2>&5
13321 ac_status=$?
13322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13323 test $ac_status = 0; }; then
13324 # Parse the compiler output and extract the necessary
13325 # objects, libraries and library flags.
13327 # Sentinel used to keep track of whether or not we are before
13328 # the conftest object file.
13329 pre_test_object_deps_done=no
13331 for p in `eval "$output_verbose_link_cmd"`; do
13332 case $p in
13334 -L* | -R* | -l*)
13335 # Some compilers place space between "-{L,R}" and the path.
13336 # Remove the space.
13337 if test $p = "-L" ||
13338 test $p = "-R"; then
13339 prev=$p
13340 continue
13341 else
13342 prev=
13345 if test "$pre_test_object_deps_done" = no; then
13346 case $p in
13347 -L* | -R*)
13348 # Internal compiler library paths should come after those
13349 # provided the user. The postdeps already come after the
13350 # user supplied libs so there is no need to process them.
13351 if test -z "$compiler_lib_search_path_CXX"; then
13352 compiler_lib_search_path_CXX="${prev}${p}"
13353 else
13354 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13357 # The "-l" case would never come before the object being
13358 # linked, so don't bother handling this case.
13359 esac
13360 else
13361 if test -z "$postdeps_CXX"; then
13362 postdeps_CXX="${prev}${p}"
13363 else
13364 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13369 *.$objext)
13370 # This assumes that the test object file only shows up
13371 # once in the compiler output.
13372 if test "$p" = "conftest.$objext"; then
13373 pre_test_object_deps_done=yes
13374 continue
13377 if test "$pre_test_object_deps_done" = no; then
13378 if test -z "$predep_objects_CXX"; then
13379 predep_objects_CXX="$p"
13380 else
13381 predep_objects_CXX="$predep_objects_CXX $p"
13383 else
13384 if test -z "$postdep_objects_CXX"; then
13385 postdep_objects_CXX="$p"
13386 else
13387 postdep_objects_CXX="$postdep_objects_CXX $p"
13392 *) ;; # Ignore the rest.
13394 esac
13395 done
13397 # Clean up.
13398 rm -f a.out a.exe
13399 else
13400 echo "libtool.m4: error: problem compiling CXX test program"
13403 $RM -f confest.$objext
13405 # PORTME: override above test on systems where it is broken
13406 case $host_os in
13407 interix[3-9]*)
13408 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13409 # hack all around it, let's just trust "g++" to DTRT.
13410 predep_objects_CXX=
13411 postdep_objects_CXX=
13412 postdeps_CXX=
13415 linux*)
13416 case `$CC -V 2>&1 | sed 5q` in
13417 *Sun\ C*)
13418 # Sun C++ 5.9
13420 # The more standards-conforming stlport4 library is
13421 # incompatible with the Cstd library. Avoid specifying
13422 # it if it's in CXXFLAGS. Ignore libCrun as
13423 # -library=stlport4 depends on it.
13424 case " $CXX $CXXFLAGS " in
13425 *" -library=stlport4 "*)
13426 solaris_use_stlport4=yes
13428 esac
13430 if test "$solaris_use_stlport4" != yes; then
13431 postdeps_CXX='-library=Cstd -library=Crun'
13434 esac
13437 solaris*)
13438 case $cc_basename in
13439 CC*)
13440 # The more standards-conforming stlport4 library is
13441 # incompatible with the Cstd library. Avoid specifying
13442 # it if it's in CXXFLAGS. Ignore libCrun as
13443 # -library=stlport4 depends on it.
13444 case " $CXX $CXXFLAGS " in
13445 *" -library=stlport4 "*)
13446 solaris_use_stlport4=yes
13448 esac
13450 # Adding this requires a known-good setup of shared libraries for
13451 # Sun compiler versions before 5.6, else PIC objects from an old
13452 # archive will be linked into the output, leading to subtle bugs.
13453 if test "$solaris_use_stlport4" != yes; then
13454 postdeps_CXX='-library=Cstd -library=Crun'
13457 esac
13459 esac
13462 case " $postdeps_CXX " in
13463 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13464 esac
13465 compiler_lib_search_dirs_CXX=
13466 if test -n "${compiler_lib_search_path_CXX}"; then
13467 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13500 lt_prog_compiler_wl_CXX=
13501 lt_prog_compiler_pic_CXX=
13502 lt_prog_compiler_static_CXX=
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13507 # C++ specific cases for pic, static, wl, etc.
13508 if test "$GXX" = yes; then
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_static_CXX='-static'
13512 case $host_os in
13513 aix*)
13514 # All AIX code is PIC.
13515 if test "$host_cpu" = ia64; then
13516 # AIX 5 now supports IA64 processor
13517 lt_prog_compiler_static_CXX='-Bstatic'
13519 lt_prog_compiler_pic_CXX='-fPIC'
13522 amigaos*)
13523 case $host_cpu in
13524 powerpc)
13525 # see comment about AmigaOS4 .so support
13526 lt_prog_compiler_pic_CXX='-fPIC'
13528 m68k)
13529 # FIXME: we need at least 68020 code to build shared libraries, but
13530 # adding the `-m68020' flag to GCC prevents building anything better,
13531 # like `-m68040'.
13532 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13534 esac
13537 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13538 # PIC is the default for these OSes.
13540 mingw* | cygwin* | os2* | pw32* | cegcc*)
13541 # This hack is so that the source file can tell whether it is being
13542 # built for inclusion in a dll (and should export symbols for example).
13543 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13544 # (--disable-auto-import) libraries
13545 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13547 darwin* | rhapsody*)
13548 # PIC is the default on this platform
13549 # Common symbols not allowed in MH_DYLIB files
13550 lt_prog_compiler_pic_CXX='-fno-common'
13552 *djgpp*)
13553 # DJGPP does not support shared libraries at all
13554 lt_prog_compiler_pic_CXX=
13556 haiku*)
13557 # PIC is the default for Haiku.
13558 # The "-static" flag exists, but is broken.
13559 lt_prog_compiler_static_CXX=
13561 interix[3-9]*)
13562 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13563 # Instead, we relocate shared libraries at runtime.
13565 sysv4*MP*)
13566 if test -d /usr/nec; then
13567 lt_prog_compiler_pic_CXX=-Kconform_pic
13570 hpux*)
13571 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13572 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13573 # sets the default TLS model and affects inlining.
13574 case $host_cpu in
13575 hppa*64*)
13578 lt_prog_compiler_pic_CXX='-fPIC'
13580 esac
13582 *qnx* | *nto*)
13583 # QNX uses GNU C++, but need to define -shared option too, otherwise
13584 # it will coredump.
13585 lt_prog_compiler_pic_CXX='-fPIC -shared'
13588 lt_prog_compiler_pic_CXX='-fPIC'
13590 esac
13591 else
13592 case $host_os in
13593 aix[4-9]*)
13594 # All AIX code is PIC.
13595 if test "$host_cpu" = ia64; then
13596 # AIX 5 now supports IA64 processor
13597 lt_prog_compiler_static_CXX='-Bstatic'
13598 else
13599 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13602 chorus*)
13603 case $cc_basename in
13604 cxch68*)
13605 # Green Hills C++ Compiler
13606 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13608 esac
13610 dgux*)
13611 case $cc_basename in
13612 ec++*)
13613 lt_prog_compiler_pic_CXX='-KPIC'
13615 ghcx*)
13616 # Green Hills C++ Compiler
13617 lt_prog_compiler_pic_CXX='-pic'
13621 esac
13623 freebsd* | dragonfly*)
13624 # FreeBSD uses GNU C++
13626 hpux9* | hpux10* | hpux11*)
13627 case $cc_basename in
13628 CC*)
13629 lt_prog_compiler_wl_CXX='-Wl,'
13630 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13631 if test "$host_cpu" != ia64; then
13632 lt_prog_compiler_pic_CXX='+Z'
13635 aCC*)
13636 lt_prog_compiler_wl_CXX='-Wl,'
13637 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13638 case $host_cpu in
13639 hppa*64*|ia64*)
13640 # +Z the default
13643 lt_prog_compiler_pic_CXX='+Z'
13645 esac
13649 esac
13651 interix*)
13652 # This is c89, which is MS Visual C++ (no shared libs)
13653 # Anyone wants to do a port?
13655 irix5* | irix6* | nonstopux*)
13656 case $cc_basename in
13657 CC*)
13658 lt_prog_compiler_wl_CXX='-Wl,'
13659 lt_prog_compiler_static_CXX='-non_shared'
13660 # CC pic flag -KPIC is the default.
13664 esac
13666 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13667 case $cc_basename in
13668 KCC*)
13669 # KAI C++ Compiler
13670 lt_prog_compiler_wl_CXX='--backend -Wl,'
13671 lt_prog_compiler_pic_CXX='-fPIC'
13673 ecpc* )
13674 # old Intel C++ for x86_64 which still supported -KPIC.
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-KPIC'
13677 lt_prog_compiler_static_CXX='-static'
13679 icpc* )
13680 # Intel C++, used to be incompatible with GCC.
13681 # ICC 10 doesn't accept -KPIC any more.
13682 lt_prog_compiler_wl_CXX='-Wl,'
13683 lt_prog_compiler_pic_CXX='-fPIC'
13684 lt_prog_compiler_static_CXX='-static'
13686 pgCC* | pgcpp*)
13687 # Portland Group C++ compiler
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-fpic'
13690 lt_prog_compiler_static_CXX='-Bstatic'
13692 cxx*)
13693 # Compaq C++
13694 # Make sure the PIC flag is empty. It appears that all Alpha
13695 # Linux and Compaq Tru64 Unix objects are PIC.
13696 lt_prog_compiler_pic_CXX=
13697 lt_prog_compiler_static_CXX='-non_shared'
13699 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13700 # IBM XL 8.0, 9.0 on PPC and BlueGene
13701 lt_prog_compiler_wl_CXX='-Wl,'
13702 lt_prog_compiler_pic_CXX='-qpic'
13703 lt_prog_compiler_static_CXX='-qstaticlink'
13706 case `$CC -V 2>&1 | sed 5q` in
13707 *Sun\ C*)
13708 # Sun C++ 5.9
13709 lt_prog_compiler_pic_CXX='-KPIC'
13710 lt_prog_compiler_static_CXX='-Bstatic'
13711 lt_prog_compiler_wl_CXX='-Qoption ld '
13713 esac
13715 esac
13717 lynxos*)
13719 m88k*)
13721 mvs*)
13722 case $cc_basename in
13723 cxx*)
13724 lt_prog_compiler_pic_CXX='-W c,exportall'
13728 esac
13730 netbsd*)
13732 *qnx* | *nto*)
13733 # QNX uses GNU C++, but need to define -shared option too, otherwise
13734 # it will coredump.
13735 lt_prog_compiler_pic_CXX='-fPIC -shared'
13737 osf3* | osf4* | osf5*)
13738 case $cc_basename in
13739 KCC*)
13740 lt_prog_compiler_wl_CXX='--backend -Wl,'
13742 RCC*)
13743 # Rational C++ 2.4.1
13744 lt_prog_compiler_pic_CXX='-pic'
13746 cxx*)
13747 # Digital/Compaq C++
13748 lt_prog_compiler_wl_CXX='-Wl,'
13749 # Make sure the PIC flag is empty. It appears that all Alpha
13750 # Linux and Compaq Tru64 Unix objects are PIC.
13751 lt_prog_compiler_pic_CXX=
13752 lt_prog_compiler_static_CXX='-non_shared'
13756 esac
13758 psos*)
13760 solaris*)
13761 case $cc_basename in
13762 CC*)
13763 # Sun C++ 4.2, 5.x and Centerline C++
13764 lt_prog_compiler_pic_CXX='-KPIC'
13765 lt_prog_compiler_static_CXX='-Bstatic'
13766 lt_prog_compiler_wl_CXX='-Qoption ld '
13768 gcx*)
13769 # Green Hills C++ Compiler
13770 lt_prog_compiler_pic_CXX='-PIC'
13774 esac
13776 sunos4*)
13777 case $cc_basename in
13778 CC*)
13779 # Sun C++ 4.x
13780 lt_prog_compiler_pic_CXX='-pic'
13781 lt_prog_compiler_static_CXX='-Bstatic'
13783 lcc*)
13784 # Lucid
13785 lt_prog_compiler_pic_CXX='-pic'
13789 esac
13791 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13792 case $cc_basename in
13793 CC*)
13794 lt_prog_compiler_wl_CXX='-Wl,'
13795 lt_prog_compiler_pic_CXX='-KPIC'
13796 lt_prog_compiler_static_CXX='-Bstatic'
13798 esac
13800 tandem*)
13801 case $cc_basename in
13802 NCC*)
13803 # NonStop-UX NCC 3.20
13804 lt_prog_compiler_pic_CXX='-KPIC'
13808 esac
13810 vxworks*)
13813 lt_prog_compiler_can_build_shared_CXX=no
13815 esac
13818 case $host_os in
13819 # For platforms which do not support PIC, -DPIC is meaningless:
13820 *djgpp*)
13821 lt_prog_compiler_pic_CXX=
13824 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13826 esac
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13828 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13833 # Check to make sure the PIC flag actually works.
13835 if test -n "$lt_prog_compiler_pic_CXX"; then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13837 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13838 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 lt_cv_prog_compiler_pic_works_CXX=no
13842 ac_outfile=conftest.$ac_objext
13843 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13844 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13845 # Insert the option either (1) after the last *FLAGS variable, or
13846 # (2) before a word containing "conftest.", or (3) at the end.
13847 # Note that $ac_compile itself does not contain backslashes and begins
13848 # with a dollar sign (not a hyphen), so the echo should work correctly.
13849 # The option is referenced via a variable to avoid confusing sed.
13850 lt_compile=`echo "$ac_compile" | $SED \
13851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13853 -e 's:$: $lt_compiler_flag:'`
13854 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13855 (eval "$lt_compile" 2>conftest.err)
13856 ac_status=$?
13857 cat conftest.err >&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 if (exit $ac_status) && test -s "$ac_outfile"; then
13860 # The compiler can only warn and ignore the option if not recognized
13861 # So say no if there are warnings other than the usual output.
13862 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13863 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13864 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13865 lt_cv_prog_compiler_pic_works_CXX=yes
13868 $RM conftest*
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13872 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13874 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13875 case $lt_prog_compiler_pic_CXX in
13876 "" | " "*) ;;
13877 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13878 esac
13879 else
13880 lt_prog_compiler_pic_CXX=
13881 lt_prog_compiler_can_build_shared_CXX=no
13889 # Check to make sure the static flag actually works.
13891 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13893 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13894 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 lt_cv_prog_compiler_static_works_CXX=no
13898 save_LDFLAGS="$LDFLAGS"
13899 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13900 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13901 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13902 # The linker can only warn and ignore the option if not recognized
13903 # So say no if there are warnings
13904 if test -s conftest.err; then
13905 # Append any errors to the config.log.
13906 cat conftest.err 1>&5
13907 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13908 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13909 if diff conftest.exp conftest.er2 >/dev/null; then
13910 lt_cv_prog_compiler_static_works_CXX=yes
13912 else
13913 lt_cv_prog_compiler_static_works_CXX=yes
13916 $RM -r conftest*
13917 LDFLAGS="$save_LDFLAGS"
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13921 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13923 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13925 else
13926 lt_prog_compiler_static_CXX=
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13934 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13935 $as_echo_n "(cached) " >&6
13936 else
13937 lt_cv_prog_compiler_c_o_CXX=no
13938 $RM -r conftest 2>/dev/null
13939 mkdir conftest
13940 cd conftest
13941 mkdir out
13942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13944 lt_compiler_flag="-o out/conftest2.$ac_objext"
13945 # Insert the option either (1) after the last *FLAGS variable, or
13946 # (2) before a word containing "conftest.", or (3) at the end.
13947 # Note that $ac_compile itself does not contain backslashes and begins
13948 # with a dollar sign (not a hyphen), so the echo should work correctly.
13949 lt_compile=`echo "$ac_compile" | $SED \
13950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13952 -e 's:$: $lt_compiler_flag:'`
13953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13954 (eval "$lt_compile" 2>out/conftest.err)
13955 ac_status=$?
13956 cat out/conftest.err >&5
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13959 then
13960 # The compiler can only warn and ignore the option if not recognized
13961 # So say no if there are warnings
13962 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13963 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13964 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13965 lt_cv_prog_compiler_c_o_CXX=yes
13968 chmod u+w . 2>&5
13969 $RM conftest*
13970 # SGI C++ compiler will create directory out/ii_files/ for
13971 # template instantiation
13972 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13973 $RM out/* && rmdir out
13974 cd ..
13975 $RM -r conftest
13976 $RM conftest*
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13980 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13985 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13986 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13987 $as_echo_n "(cached) " >&6
13988 else
13989 lt_cv_prog_compiler_c_o_CXX=no
13990 $RM -r conftest 2>/dev/null
13991 mkdir conftest
13992 cd conftest
13993 mkdir out
13994 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13996 lt_compiler_flag="-o out/conftest2.$ac_objext"
13997 # Insert the option either (1) after the last *FLAGS variable, or
13998 # (2) before a word containing "conftest.", or (3) at the end.
13999 # Note that $ac_compile itself does not contain backslashes and begins
14000 # with a dollar sign (not a hyphen), so the echo should work correctly.
14001 lt_compile=`echo "$ac_compile" | $SED \
14002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14004 -e 's:$: $lt_compiler_flag:'`
14005 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14006 (eval "$lt_compile" 2>out/conftest.err)
14007 ac_status=$?
14008 cat out/conftest.err >&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14011 then
14012 # The compiler can only warn and ignore the option if not recognized
14013 # So say no if there are warnings
14014 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14015 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14016 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14017 lt_cv_prog_compiler_c_o_CXX=yes
14020 chmod u+w . 2>&5
14021 $RM conftest*
14022 # SGI C++ compiler will create directory out/ii_files/ for
14023 # template instantiation
14024 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14025 $RM out/* && rmdir out
14026 cd ..
14027 $RM -r conftest
14028 $RM conftest*
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14032 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14037 hard_links="nottested"
14038 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14039 # do not overwrite the value of need_locks provided by the user
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14041 $as_echo_n "checking if we can lock with hard links... " >&6; }
14042 hard_links=yes
14043 $RM conftest*
14044 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14045 touch conftest.a
14046 ln conftest.a conftest.b 2>&5 || hard_links=no
14047 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14049 $as_echo "$hard_links" >&6; }
14050 if test "$hard_links" = no; then
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14052 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14053 need_locks=warn
14055 else
14056 need_locks=no
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14062 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14064 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14065 case $host_os in
14066 aix[4-9]*)
14067 # If we're using GNU nm, then we don't want the "-C" option.
14068 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14069 # Also, AIX nm treats weak defined symbols like other global defined
14070 # symbols, whereas GNU nm marks them as "W".
14071 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14072 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14073 else
14074 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14077 pw32*)
14078 export_symbols_cmds_CXX="$ltdll_cmds"
14080 cygwin* | mingw* | cegcc*)
14081 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14084 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14086 esac
14087 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14090 $as_echo "$ld_shlibs_CXX" >&6; }
14091 test "$ld_shlibs_CXX" = no && can_build_shared=no
14093 with_gnu_ld_CXX=$with_gnu_ld
14101 # Do we need to explicitly link libc?
14103 case "x$archive_cmds_need_lc_CXX" in
14104 x|xyes)
14105 # Assume -lc should be added
14106 archive_cmds_need_lc_CXX=yes
14108 if test "$enable_shared" = yes && test "$GCC" = yes; then
14109 case $archive_cmds_CXX in
14110 *'~'*)
14111 # FIXME: we may have to deal with multi-command sequences.
14113 '$CC '*)
14114 # Test whether the compiler implicitly links with -lc since on some
14115 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14116 # to ld, don't add -lc before -lgcc.
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14118 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14119 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14120 $as_echo_n "(cached) " >&6
14121 else
14122 $RM conftest*
14123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14126 (eval $ac_compile) 2>&5
14127 ac_status=$?
14128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14129 test $ac_status = 0; } 2>conftest.err; then
14130 soname=conftest
14131 lib=conftest
14132 libobjs=conftest.$ac_objext
14133 deplibs=
14134 wl=$lt_prog_compiler_wl_CXX
14135 pic_flag=$lt_prog_compiler_pic_CXX
14136 compiler_flags=-v
14137 linker_flags=-v
14138 verstring=
14139 output_objdir=.
14140 libname=conftest
14141 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14142 allow_undefined_flag_CXX=
14143 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14144 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14145 ac_status=$?
14146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14147 test $ac_status = 0; }
14148 then
14149 lt_cv_archive_cmds_need_lc_CXX=no
14150 else
14151 lt_cv_archive_cmds_need_lc_CXX=yes
14153 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14154 else
14155 cat conftest.err 1>&5
14157 $RM conftest*
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14161 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14162 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14164 esac
14167 esac
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14233 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14235 library_names_spec=
14236 libname_spec='lib$name'
14237 soname_spec=
14238 shrext_cmds=".so"
14239 postinstall_cmds=
14240 postuninstall_cmds=
14241 finish_cmds=
14242 finish_eval=
14243 shlibpath_var=
14244 shlibpath_overrides_runpath=unknown
14245 version_type=none
14246 dynamic_linker="$host_os ld.so"
14247 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14248 need_lib_prefix=unknown
14249 hardcode_into_libs=no
14251 # when you set need_version to no, make sure it does not cause -set_version
14252 # flags to be left without arguments
14253 need_version=unknown
14255 case $host_os in
14256 aix3*)
14257 version_type=linux
14258 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14259 shlibpath_var=LIBPATH
14261 # AIX 3 has no versioning support, so we append a major version to the name.
14262 soname_spec='${libname}${release}${shared_ext}$major'
14265 aix[4-9]*)
14266 version_type=linux
14267 need_lib_prefix=no
14268 need_version=no
14269 hardcode_into_libs=yes
14270 if test "$host_cpu" = ia64; then
14271 # AIX 5 supports IA64
14272 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14273 shlibpath_var=LD_LIBRARY_PATH
14274 else
14275 # With GCC up to 2.95.x, collect2 would create an import file
14276 # for dependence libraries. The import file would start with
14277 # the line `#! .'. This would cause the generated library to
14278 # depend on `.', always an invalid library. This was fixed in
14279 # development snapshots of GCC prior to 3.0.
14280 case $host_os in
14281 aix4 | aix4.[01] | aix4.[01].*)
14282 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14283 echo ' yes '
14284 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14286 else
14287 can_build_shared=no
14290 esac
14291 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14292 # soname into executable. Probably we can add versioning support to
14293 # collect2, so additional links can be useful in future.
14294 if test "$aix_use_runtimelinking" = yes; then
14295 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14296 # instead of lib<name>.a to let people know that these are not
14297 # typical AIX shared libraries.
14298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14299 else
14300 # We preserve .a as extension for shared libraries through AIX4.2
14301 # and later when we are not doing run time linking.
14302 library_names_spec='${libname}${release}.a $libname.a'
14303 soname_spec='${libname}${release}${shared_ext}$major'
14305 shlibpath_var=LIBPATH
14309 amigaos*)
14310 case $host_cpu in
14311 powerpc)
14312 # Since July 2007 AmigaOS4 officially supports .so libraries.
14313 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14316 m68k)
14317 library_names_spec='$libname.ixlibrary $libname.a'
14318 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14319 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14321 esac
14324 beos*)
14325 library_names_spec='${libname}${shared_ext}'
14326 dynamic_linker="$host_os ld.so"
14327 shlibpath_var=LIBRARY_PATH
14330 bsdi[45]*)
14331 version_type=linux
14332 need_version=no
14333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14334 soname_spec='${libname}${release}${shared_ext}$major'
14335 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14336 shlibpath_var=LD_LIBRARY_PATH
14337 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14338 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14339 # the default ld.so.conf also contains /usr/contrib/lib and
14340 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14341 # libtool to hard-code these into programs
14344 cygwin* | mingw* | pw32* | cegcc*)
14345 version_type=windows
14346 shrext_cmds=".dll"
14347 need_version=no
14348 need_lib_prefix=no
14350 case $GCC,$host_os in
14351 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14352 library_names_spec='$libname.dll.a'
14353 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14354 postinstall_cmds='base_file=`basename \${file}`~
14355 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14356 dldir=$destdir/`dirname \$dlpath`~
14357 test -d \$dldir || mkdir -p \$dldir~
14358 $install_prog $dir/$dlname \$dldir/$dlname~
14359 chmod a+x \$dldir/$dlname~
14360 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14361 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14363 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14364 dlpath=$dir/\$dldll~
14365 $RM \$dlpath'
14366 shlibpath_overrides_runpath=yes
14368 case $host_os in
14369 cygwin*)
14370 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14371 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14374 mingw* | cegcc*)
14375 # MinGW DLLs use traditional 'lib' prefix
14376 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14378 pw32*)
14379 # pw32 DLLs use 'pw' prefix rather than 'lib'
14380 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14382 esac
14386 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14388 esac
14389 dynamic_linker='Win32 ld.exe'
14390 # FIXME: first we should search . and the directory the executable is in
14391 shlibpath_var=PATH
14394 darwin* | rhapsody*)
14395 dynamic_linker="$host_os dyld"
14396 version_type=darwin
14397 need_lib_prefix=no
14398 need_version=no
14399 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14400 soname_spec='${libname}${release}${major}$shared_ext'
14401 shlibpath_overrides_runpath=yes
14402 shlibpath_var=DYLD_LIBRARY_PATH
14403 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14405 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14408 dgux*)
14409 version_type=linux
14410 need_lib_prefix=no
14411 need_version=no
14412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14413 soname_spec='${libname}${release}${shared_ext}$major'
14414 shlibpath_var=LD_LIBRARY_PATH
14417 freebsd* | dragonfly*)
14418 # DragonFly does not have aout. When/if they implement a new
14419 # versioning mechanism, adjust this.
14420 if test -x /usr/bin/objformat; then
14421 objformat=`/usr/bin/objformat`
14422 else
14423 case $host_os in
14424 freebsd[23].*) objformat=aout ;;
14425 *) objformat=elf ;;
14426 esac
14428 version_type=freebsd-$objformat
14429 case $version_type in
14430 freebsd-elf*)
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14432 need_version=no
14433 need_lib_prefix=no
14435 freebsd-*)
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14437 need_version=yes
14439 esac
14440 shlibpath_var=LD_LIBRARY_PATH
14441 case $host_os in
14442 freebsd2.*)
14443 shlibpath_overrides_runpath=yes
14445 freebsd3.[01]* | freebsdelf3.[01]*)
14446 shlibpath_overrides_runpath=yes
14447 hardcode_into_libs=yes
14449 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14450 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14451 shlibpath_overrides_runpath=no
14452 hardcode_into_libs=yes
14454 *) # from 4.6 on, and DragonFly
14455 shlibpath_overrides_runpath=yes
14456 hardcode_into_libs=yes
14458 esac
14461 gnu*)
14462 version_type=linux
14463 need_lib_prefix=no
14464 need_version=no
14465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 shlibpath_var=LD_LIBRARY_PATH
14468 hardcode_into_libs=yes
14471 haiku*)
14472 version_type=linux
14473 need_lib_prefix=no
14474 need_version=no
14475 dynamic_linker="$host_os runtime_loader"
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14477 soname_spec='${libname}${release}${shared_ext}$major'
14478 shlibpath_var=LIBRARY_PATH
14479 shlibpath_overrides_runpath=yes
14480 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14481 hardcode_into_libs=yes
14484 hpux9* | hpux10* | hpux11*)
14485 # Give a soname corresponding to the major version so that dld.sl refuses to
14486 # link against other versions.
14487 version_type=sunos
14488 need_lib_prefix=no
14489 need_version=no
14490 case $host_cpu in
14491 ia64*)
14492 shrext_cmds='.so'
14493 hardcode_into_libs=yes
14494 dynamic_linker="$host_os dld.so"
14495 shlibpath_var=LD_LIBRARY_PATH
14496 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 if test "X$HPUX_IA64_MODE" = X32; then
14500 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14501 else
14502 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14506 hppa*64*)
14507 shrext_cmds='.sl'
14508 hardcode_into_libs=yes
14509 dynamic_linker="$host_os dld.sl"
14510 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14511 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 soname_spec='${libname}${release}${shared_ext}$major'
14514 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14515 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14518 shrext_cmds='.sl'
14519 dynamic_linker="$host_os dld.sl"
14520 shlibpath_var=SHLIB_PATH
14521 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14523 soname_spec='${libname}${release}${shared_ext}$major'
14525 esac
14526 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14527 postinstall_cmds='chmod 555 $lib'
14528 # or fails outright, so override atomically:
14529 install_override_mode=555
14532 interix[3-9]*)
14533 version_type=linux
14534 need_lib_prefix=no
14535 need_version=no
14536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14537 soname_spec='${libname}${release}${shared_ext}$major'
14538 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14539 shlibpath_var=LD_LIBRARY_PATH
14540 shlibpath_overrides_runpath=no
14541 hardcode_into_libs=yes
14544 irix5* | irix6* | nonstopux*)
14545 case $host_os in
14546 nonstopux*) version_type=nonstopux ;;
14548 if test "$lt_cv_prog_gnu_ld" = yes; then
14549 version_type=linux
14550 else
14551 version_type=irix
14552 fi ;;
14553 esac
14554 need_lib_prefix=no
14555 need_version=no
14556 soname_spec='${libname}${release}${shared_ext}$major'
14557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14558 case $host_os in
14559 irix5* | nonstopux*)
14560 libsuff= shlibsuff=
14563 case $LD in # libtool.m4 will add one of these switches to LD
14564 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14565 libsuff= shlibsuff= libmagic=32-bit;;
14566 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14567 libsuff=32 shlibsuff=N32 libmagic=N32;;
14568 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14569 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14570 *) libsuff= shlibsuff= libmagic=never-match;;
14571 esac
14573 esac
14574 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14575 shlibpath_overrides_runpath=no
14576 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14577 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14578 hardcode_into_libs=yes
14581 # No shared lib support for Linux oldld, aout, or coff.
14582 linux*oldld* | linux*aout* | linux*coff*)
14583 dynamic_linker=no
14586 # This must be Linux ELF.
14587 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14588 version_type=linux
14589 need_lib_prefix=no
14590 need_version=no
14591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14592 soname_spec='${libname}${release}${shared_ext}$major'
14593 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=no
14597 # Some binutils ld are patched to set DT_RUNPATH
14598 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14599 $as_echo_n "(cached) " >&6
14600 else
14601 lt_cv_shlibpath_overrides_runpath=no
14602 save_LDFLAGS=$LDFLAGS
14603 save_libdir=$libdir
14604 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14605 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14606 if test x$gcc_no_link = xyes; then
14607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14613 main ()
14617 return 0;
14619 _ACEOF
14620 if ac_fn_cxx_try_link "$LINENO"; then :
14621 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14622 lt_cv_shlibpath_overrides_runpath=yes
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14627 LDFLAGS=$save_LDFLAGS
14628 libdir=$save_libdir
14632 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14634 # This implies no fast_install, which is unacceptable.
14635 # Some rework will be needed to allow for fast_install
14636 # before this can be enabled.
14637 hardcode_into_libs=yes
14639 # Append ld.so.conf contents to the search path
14640 if test -f /etc/ld.so.conf; then
14641 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14642 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14645 # We used to test for /lib/ld.so.1 and disable shared libraries on
14646 # powerpc, because MkLinux only supported shared libraries with the
14647 # GNU dynamic linker. Since this was broken with cross compilers,
14648 # most powerpc-linux boxes support dynamic linking these days and
14649 # people can always --disable-shared, the test was removed, and we
14650 # assume the GNU/Linux dynamic linker is in use.
14651 dynamic_linker='GNU/Linux ld.so'
14654 netbsd*)
14655 version_type=sunos
14656 need_lib_prefix=no
14657 need_version=no
14658 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14660 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14661 dynamic_linker='NetBSD (a.out) ld.so'
14662 else
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14664 soname_spec='${libname}${release}${shared_ext}$major'
14665 dynamic_linker='NetBSD ld.elf_so'
14667 shlibpath_var=LD_LIBRARY_PATH
14668 shlibpath_overrides_runpath=yes
14669 hardcode_into_libs=yes
14672 newsos6)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 shlibpath_overrides_runpath=yes
14679 *nto* | *qnx*)
14680 version_type=qnx
14681 need_lib_prefix=no
14682 need_version=no
14683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14684 soname_spec='${libname}${release}${shared_ext}$major'
14685 shlibpath_var=LD_LIBRARY_PATH
14686 shlibpath_overrides_runpath=no
14687 hardcode_into_libs=yes
14688 dynamic_linker='ldqnx.so'
14691 openbsd*)
14692 version_type=sunos
14693 sys_lib_dlsearch_path_spec="/usr/lib"
14694 need_lib_prefix=no
14695 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14696 case $host_os in
14697 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14698 *) need_version=no ;;
14699 esac
14700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14701 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14702 shlibpath_var=LD_LIBRARY_PATH
14703 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14704 case $host_os in
14705 openbsd2.[89] | openbsd2.[89].*)
14706 shlibpath_overrides_runpath=no
14709 shlibpath_overrides_runpath=yes
14711 esac
14712 else
14713 shlibpath_overrides_runpath=yes
14717 os2*)
14718 libname_spec='$name'
14719 shrext_cmds=".dll"
14720 need_lib_prefix=no
14721 library_names_spec='$libname${shared_ext} $libname.a'
14722 dynamic_linker='OS/2 ld.exe'
14723 shlibpath_var=LIBPATH
14726 osf3* | osf4* | osf5*)
14727 version_type=osf
14728 need_lib_prefix=no
14729 need_version=no
14730 soname_spec='${libname}${release}${shared_ext}$major'
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14734 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14737 rdos*)
14738 dynamic_linker=no
14741 solaris*)
14742 version_type=linux
14743 need_lib_prefix=no
14744 need_version=no
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14746 soname_spec='${libname}${release}${shared_ext}$major'
14747 shlibpath_var=LD_LIBRARY_PATH
14748 shlibpath_overrides_runpath=yes
14749 hardcode_into_libs=yes
14750 # ldd complains unless libraries are executable
14751 postinstall_cmds='chmod +x $lib'
14754 sunos4*)
14755 version_type=sunos
14756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14757 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14758 shlibpath_var=LD_LIBRARY_PATH
14759 shlibpath_overrides_runpath=yes
14760 if test "$with_gnu_ld" = yes; then
14761 need_lib_prefix=no
14763 need_version=yes
14766 sysv4 | sysv4.3*)
14767 version_type=linux
14768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14769 soname_spec='${libname}${release}${shared_ext}$major'
14770 shlibpath_var=LD_LIBRARY_PATH
14771 case $host_vendor in
14772 sni)
14773 shlibpath_overrides_runpath=no
14774 need_lib_prefix=no
14775 runpath_var=LD_RUN_PATH
14777 siemens)
14778 need_lib_prefix=no
14780 motorola)
14781 need_lib_prefix=no
14782 need_version=no
14783 shlibpath_overrides_runpath=no
14784 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14786 esac
14789 sysv4*MP*)
14790 if test -d /usr/nec ;then
14791 version_type=linux
14792 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14793 soname_spec='$libname${shared_ext}.$major'
14794 shlibpath_var=LD_LIBRARY_PATH
14798 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14799 version_type=freebsd-elf
14800 need_lib_prefix=no
14801 need_version=no
14802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14803 soname_spec='${libname}${release}${shared_ext}$major'
14804 shlibpath_var=LD_LIBRARY_PATH
14805 shlibpath_overrides_runpath=yes
14806 hardcode_into_libs=yes
14807 if test "$with_gnu_ld" = yes; then
14808 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14809 else
14810 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14811 case $host_os in
14812 sco3.2v5*)
14813 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14815 esac
14817 sys_lib_dlsearch_path_spec='/usr/lib'
14820 tpf*)
14821 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14822 version_type=linux
14823 need_lib_prefix=no
14824 need_version=no
14825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14826 shlibpath_var=LD_LIBRARY_PATH
14827 shlibpath_overrides_runpath=no
14828 hardcode_into_libs=yes
14831 uts4*)
14832 version_type=linux
14833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14834 soname_spec='${libname}${release}${shared_ext}$major'
14835 shlibpath_var=LD_LIBRARY_PATH
14839 dynamic_linker=no
14841 esac
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14843 $as_echo "$dynamic_linker" >&6; }
14844 test "$dynamic_linker" = no && can_build_shared=no
14846 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14847 if test "$GCC" = yes; then
14848 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14851 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14852 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14854 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14855 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14896 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14897 hardcode_action_CXX=
14898 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14899 test -n "$runpath_var_CXX" ||
14900 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14902 # We can hardcode non-existent directories.
14903 if test "$hardcode_direct_CXX" != no &&
14904 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14905 # have to relink, otherwise we might link with an installed library
14906 # when we should be linking with a yet-to-be-installed one
14907 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14908 test "$hardcode_minus_L_CXX" != no; then
14909 # Linking always hardcodes the temporary library directory.
14910 hardcode_action_CXX=relink
14911 else
14912 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14913 hardcode_action_CXX=immediate
14915 else
14916 # We cannot hardcode anything, or else we can only hardcode existing
14917 # directories.
14918 hardcode_action_CXX=unsupported
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14921 $as_echo "$hardcode_action_CXX" >&6; }
14923 if test "$hardcode_action_CXX" = relink ||
14924 test "$inherit_rpath_CXX" = yes; then
14925 # Fast installation is not supported
14926 enable_fast_install=no
14927 elif test "$shlibpath_overrides_runpath" = yes ||
14928 test "$enable_shared" = no; then
14929 # Fast installation is not necessary
14930 enable_fast_install=needless
14939 fi # test -n "$compiler"
14941 CC=$lt_save_CC
14942 LDCXX=$LD
14943 LD=$lt_save_LD
14944 GCC=$lt_save_GCC
14945 with_gnu_ld=$lt_save_with_gnu_ld
14946 lt_cv_path_LDCXX=$lt_cv_path_LD
14947 lt_cv_path_LD=$lt_save_path_LD
14948 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14949 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14950 fi # test "$_lt_caught_CXX_error" != yes
14952 ac_ext=c
14953 ac_cpp='$CPP $CPPFLAGS'
14954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14970 ac_config_commands="$ac_config_commands libtool"
14975 # Only expand once:
14981 case $host in
14982 *-cygwin* | *-mingw*)
14983 # 'host' will be top-level target in the case of a target lib,
14984 # we must compare to with_cross_host to decide if this is a native
14985 # or cross-compiler and select where to install dlls appropriately.
14986 if test -n "$with_cross_host" &&
14987 test x"$with_cross_host" != x"no"; then
14988 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14989 else
14990 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14994 lt_host_flags=
14996 esac
15003 if test "$enable_vtable_verify" = yes; then
15004 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15005 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15009 # libtool variables for C++ shared and position-independent compiles.
15011 # Use glibcxx_lt_pic_flag to designate the automake variable
15012 # used to encapsulate the default libtool approach to creating objects
15013 # with position-independent code. Default: -prefer-pic.
15015 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15016 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15018 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15019 # creating position-independent objects. This varies with the target
15020 # hardware and operating system, but is often: -DPIC -fPIC.
15021 if test "$enable_shared" = yes; then
15022 glibcxx_lt_pic_flag="-prefer-pic"
15023 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15024 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15026 else
15027 glibcxx_lt_pic_flag=
15028 glibcxx_compiler_pic_flag=
15029 glibcxx_compiler_shared_flag=
15035 # Override the libtool's pic_flag and pic_mode.
15036 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15037 # NB: this impacts --with-pic and --without-pic.
15038 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15039 pic_mode='default'
15041 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15042 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15044 # Possibly disable most of the library.
15045 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15046 ## than just ignoring the results. Faster /and/ more correct, win win.
15048 # Check whether --enable-hosted-libstdcxx was given.
15049 if test "${enable_hosted_libstdcxx+set}" = set; then :
15050 enableval=$enable_hosted_libstdcxx;
15051 else
15052 case "$host" in
15053 arm*-*-symbianelf*)
15054 enable_hosted_libstdcxx=no
15057 enable_hosted_libstdcxx=yes
15059 esac
15062 if test "$enable_hosted_libstdcxx" = no; then
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15064 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15065 is_hosted=no
15066 hosted_define=0
15067 enable_abi_check=no
15068 enable_libstdcxx_pch=no
15069 else
15070 is_hosted=yes
15071 hosted_define=1
15075 cat >>confdefs.h <<_ACEOF
15076 #define _GLIBCXX_HOSTED $hosted_define
15077 _ACEOF
15081 # Enable descriptive messages to standard output on termination.
15083 # Check whether --enable-libstdcxx-verbose was given.
15084 if test "${enable_libstdcxx_verbose+set}" = set; then :
15085 enableval=$enable_libstdcxx_verbose;
15086 else
15087 enable_libstdcxx_verbose=yes
15090 if test x"$enable_libstdcxx_verbose" = xyes; then
15091 verbose_define=1
15092 else
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15094 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15095 verbose_define=0
15098 cat >>confdefs.h <<_ACEOF
15099 #define _GLIBCXX_VERBOSE $verbose_define
15100 _ACEOF
15104 # Enable compiler support that doesn't require linking.
15106 # Check whether --enable-libstdcxx-pch was given.
15107 if test "${enable_libstdcxx_pch+set}" = set; then :
15108 enableval=$enable_libstdcxx_pch;
15109 case "$enableval" in
15110 yes|no) ;;
15111 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15112 esac
15114 else
15115 enable_libstdcxx_pch=$is_hosted
15119 if test $enable_libstdcxx_pch = yes; then
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15121 $as_echo_n "checking for compiler with PCH support... " >&6; }
15122 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 ac_save_CXXFLAGS="$CXXFLAGS"
15126 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15128 ac_ext=cpp
15129 ac_cpp='$CXXCPP $CPPFLAGS'
15130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15134 echo '#include <math.h>' > conftest.h
15135 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15136 -o conftest.h.gch 1>&5 2>&1 &&
15137 echo '#error "pch failed"' > conftest.h &&
15138 echo '#include "conftest.h"' > conftest.cc &&
15139 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15140 then
15141 glibcxx_cv_prog_CXX_pch=yes
15142 else
15143 glibcxx_cv_prog_CXX_pch=no
15145 rm -f conftest*
15146 CXXFLAGS=$ac_save_CXXFLAGS
15147 ac_ext=c
15148 ac_cpp='$CPP $CPPFLAGS'
15149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15156 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15157 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15161 $as_echo_n "checking for enabled PCH... " >&6; }
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15163 $as_echo "$enable_libstdcxx_pch" >&6; }
15166 if test $enable_libstdcxx_pch = yes; then
15167 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15168 else
15169 glibcxx_PCHFLAGS=""
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15175 $as_echo_n "checking for thread model used by GCC... " >&6; }
15176 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15178 $as_echo "$target_thread_file" >&6; }
15180 case $target_thread_file in
15181 aix) thread_header=config/rs6000/gthr-aix.h ;;
15182 dce) thread_header=config/pa/gthr-dce.h ;;
15183 lynx) thread_header=config/gthr-lynx.h ;;
15184 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15185 posix) thread_header=gthr-posix.h ;;
15186 rtems) thread_header=config/gthr-rtems.h ;;
15187 single) thread_header=gthr-single.h ;;
15188 tpf) thread_header=config/s390/gthr-tpf.h ;;
15189 vxworks) thread_header=config/gthr-vxworks.h ;;
15190 win32) thread_header=config/i386/gthr-win32.h ;;
15191 esac
15197 ac_ext=cpp
15198 ac_cpp='$CXXCPP $CPPFLAGS'
15199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15203 old_CXXFLAGS="$CXXFLAGS"
15205 # Do link tests if possible, instead asm tests, limited to some platforms
15206 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15207 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15208 atomic_builtins_link_tests=no
15209 if test x$gcc_no_link != xyes; then
15210 # Can do link tests. Limit to some tested platforms
15211 case "$host" in
15212 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15213 atomic_builtins_link_tests=yes
15215 esac
15218 if test x$atomic_builtins_link_tests = xyes; then
15220 # Do link tests.
15222 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15225 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15226 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15227 $as_echo_n "(cached) " >&6
15228 else
15230 if test x$gcc_no_link = xyes; then
15231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15237 main ()
15239 typedef bool atomic_type;
15240 atomic_type c1;
15241 atomic_type c2;
15242 atomic_type c3(0);
15243 // N.B. __atomic_fetch_add is not supported for bool.
15244 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15245 __ATOMIC_RELAXED);
15246 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15247 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15250 return 0;
15252 _ACEOF
15253 if ac_fn_cxx_try_link "$LINENO"; then :
15254 glibcxx_cv_atomic_bool=yes
15255 else
15256 glibcxx_cv_atomic_bool=no
15258 rm -f core conftest.err conftest.$ac_objext \
15259 conftest$ac_exeext conftest.$ac_ext
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15264 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15267 $as_echo_n "checking for atomic builtins for short... " >&6; }
15268 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15269 $as_echo_n "(cached) " >&6
15270 else
15272 if test x$gcc_no_link = xyes; then
15273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15279 main ()
15281 typedef short atomic_type;
15282 atomic_type c1;
15283 atomic_type c2;
15284 atomic_type c3(0);
15285 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15286 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15287 __ATOMIC_RELAXED);
15288 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15289 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15292 return 0;
15294 _ACEOF
15295 if ac_fn_cxx_try_link "$LINENO"; then :
15296 glibcxx_cv_atomic_short=yes
15297 else
15298 glibcxx_cv_atomic_short=no
15300 rm -f core conftest.err conftest.$ac_objext \
15301 conftest$ac_exeext conftest.$ac_ext
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15306 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15309 $as_echo_n "checking for atomic builtins for int... " >&6; }
15310 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15311 $as_echo_n "(cached) " >&6
15312 else
15314 if test x$gcc_no_link = xyes; then
15315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15318 /* end confdefs.h. */
15321 main ()
15323 typedef int atomic_type;
15324 atomic_type c1;
15325 atomic_type c2;
15326 atomic_type c3(0);
15327 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15328 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15329 __ATOMIC_RELAXED);
15330 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15331 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15334 return 0;
15336 _ACEOF
15337 if ac_fn_cxx_try_link "$LINENO"; then :
15338 glibcxx_cv_atomic_int=yes
15339 else
15340 glibcxx_cv_atomic_int=no
15342 rm -f core conftest.err conftest.$ac_objext \
15343 conftest$ac_exeext conftest.$ac_ext
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15348 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15351 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15352 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15353 $as_echo_n "(cached) " >&6
15354 else
15356 if test x$gcc_no_link = xyes; then
15357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15363 main ()
15365 typedef long long atomic_type;
15366 atomic_type c1;
15367 atomic_type c2;
15368 atomic_type c3(0);
15369 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15370 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15371 __ATOMIC_RELAXED);
15372 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15373 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15376 return 0;
15378 _ACEOF
15379 if ac_fn_cxx_try_link "$LINENO"; then :
15380 glibcxx_cv_atomic_long_long=yes
15381 else
15382 glibcxx_cv_atomic_long_long=no
15384 rm -f core conftest.err conftest.$ac_objext \
15385 conftest$ac_exeext conftest.$ac_ext
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15390 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15392 else
15394 # Do asm tests.
15396 # Compile unoptimized.
15397 CXXFLAGS='-O0 -S'
15399 # Fake what AC_TRY_COMPILE does.
15401 cat > conftest.$ac_ext << EOF
15402 #line 15402 "configure"
15403 int main()
15405 typedef bool atomic_type;
15406 atomic_type c1;
15407 atomic_type c2;
15408 atomic_type c3(0);
15409 // N.B. __atomic_fetch_add is not supported for bool.
15410 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15411 __ATOMIC_RELAXED);
15412 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15413 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15415 return 0;
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15420 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15422 (eval $ac_compile) 2>&5
15423 ac_status=$?
15424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15425 test $ac_status = 0; }; then
15426 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15427 glibcxx_cv_atomic_bool=no
15428 else
15429 glibcxx_cv_atomic_bool=yes
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15433 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15434 rm -f conftest*
15436 cat > conftest.$ac_ext << EOF
15437 #line 15437 "configure"
15438 int main()
15440 typedef short atomic_type;
15441 atomic_type c1;
15442 atomic_type c2;
15443 atomic_type c3(0);
15444 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15445 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15446 __ATOMIC_RELAXED);
15447 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15448 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15450 return 0;
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15455 $as_echo_n "checking for atomic builtins for short... " >&6; }
15456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15457 (eval $ac_compile) 2>&5
15458 ac_status=$?
15459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15460 test $ac_status = 0; }; then
15461 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15462 glibcxx_cv_atomic_short=no
15463 else
15464 glibcxx_cv_atomic_short=yes
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15468 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15469 rm -f conftest*
15471 cat > conftest.$ac_ext << EOF
15472 #line 15472 "configure"
15473 int main()
15475 // NB: _Atomic_word not necessarily int.
15476 typedef int atomic_type;
15477 atomic_type c1;
15478 atomic_type c2;
15479 atomic_type c3(0);
15480 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15481 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15482 __ATOMIC_RELAXED);
15483 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15484 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15486 return 0;
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15491 $as_echo_n "checking for atomic builtins for int... " >&6; }
15492 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15493 (eval $ac_compile) 2>&5
15494 ac_status=$?
15495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15496 test $ac_status = 0; }; then
15497 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15498 glibcxx_cv_atomic_int=no
15499 else
15500 glibcxx_cv_atomic_int=yes
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15504 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15505 rm -f conftest*
15507 cat > conftest.$ac_ext << EOF
15508 #line 15508 "configure"
15509 int main()
15511 typedef long long atomic_type;
15512 atomic_type c1;
15513 atomic_type c2;
15514 atomic_type c3(0);
15515 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15516 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15517 __ATOMIC_RELAXED);
15518 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15519 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15521 return 0;
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15526 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15528 (eval $ac_compile) 2>&5
15529 ac_status=$?
15530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15531 test $ac_status = 0; }; then
15532 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15533 glibcxx_cv_atomic_long_long=no
15534 else
15535 glibcxx_cv_atomic_long_long=yes
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15539 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15540 rm -f conftest*
15544 CXXFLAGS="$old_CXXFLAGS"
15545 ac_ext=c
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15552 # Set atomicity_dir to builtins if all but the long long test above passes,
15553 # or if the builtins were already chosen (e.g. by configure.host).
15554 if { test "$glibcxx_cv_atomic_bool" = yes \
15555 && test "$glibcxx_cv_atomic_short" = yes \
15556 && test "$glibcxx_cv_atomic_int" = yes; } \
15557 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15559 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15561 atomicity_dir=cpu/generic/atomicity_builtins
15564 # If still generic, set to mutex.
15565 if test $atomicity_dir = "cpu/generic" ; then
15566 atomicity_dir=cpu/generic/atomicity_mutex
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15568 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15569 if test "x$target_thread_file" = xsingle; then
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15571 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15573 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15574 else
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15576 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15578 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15585 # Fake what AC_TRY_COMPILE does, without linking as this is
15586 # unnecessary for this test.
15588 cat > conftest.$ac_ext << EOF
15589 #line 15589 "configure"
15590 int main()
15592 _Decimal32 d1;
15593 _Decimal64 d2;
15594 _Decimal128 d3;
15595 return 0;
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15600 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15602 (eval $ac_compile) 2>&5
15603 ac_status=$?
15604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15605 test $ac_status = 0; }; then
15607 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15609 enable_dfp=yes
15610 else
15611 enable_dfp=no
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15614 $as_echo "$enable_dfp" >&6; }
15615 rm -f conftest*
15620 ac_ext=cpp
15621 ac_cpp='$CXXCPP $CPPFLAGS'
15622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15627 # Fake what AC_TRY_COMPILE does, without linking as this is
15628 # unnecessary for this test.
15630 cat > conftest.$ac_ext << EOF
15631 #line 15631 "configure"
15632 template<typename T1, typename T2>
15633 struct same
15634 { typedef T2 type; };
15636 template<typename T>
15637 struct same<T, T>;
15639 int main()
15641 typename same<long, __int128>::type i1;
15642 typename same<long long, __int128>::type i2;
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15647 $as_echo_n "checking for __int128... " >&6; }
15648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15649 (eval $ac_compile) 2>&5
15650 ac_status=$?
15651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15652 test $ac_status = 0; }; then
15654 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15656 enable_int128=yes
15657 else
15658 enable_int128=no
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15661 $as_echo "$enable_int128" >&6; }
15662 rm -f conftest*
15664 cat > conftest.$ac_ext << EOF
15665 #line 15665 "configure"
15666 template<typename T1, typename T2>
15667 struct same
15668 { typedef T2 type; };
15670 template<typename T>
15671 struct same<T, T>;
15673 int main()
15675 typename same<double, __float128>::type f1;
15676 typename same<long double, __float128>::type f2;
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15681 $as_echo_n "checking for __float128... " >&6; }
15682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15683 (eval $ac_compile) 2>&5
15684 ac_status=$?
15685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15686 test $ac_status = 0; }; then
15688 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15690 enable_float128=yes
15691 else
15692 enable_float128=no
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15695 $as_echo "$enable_float128" >&6; }
15696 rm -f conftest*
15698 ac_ext=c
15699 ac_cpp='$CPP $CPPFLAGS'
15700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15705 if test "$enable_float128" = yes; then
15706 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15709 # Checks for compiler support that doesn't require linking.
15711 # All these tests are for C++; save the language and the compiler flags.
15712 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15713 # found in GLIBCXX_CONFIGURE.
15715 ac_ext=cpp
15716 ac_cpp='$CXXCPP $CPPFLAGS'
15717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15722 ac_save_CXXFLAGS="$CXXFLAGS"
15724 # Check for maintainer-mode bits.
15725 if test x"$USE_MAINTAINER_MODE" = xno; then
15726 WERROR=''
15727 else
15728 WERROR='-Werror'
15731 # Check for -ffunction-sections -fdata-sections
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15733 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15734 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 int foo; void bar() { };
15739 main ()
15743 return 0;
15745 _ACEOF
15746 if ac_fn_cxx_try_compile "$LINENO"; then :
15747 ac_fdsections=yes
15748 else
15749 ac_fdsections=no
15751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15752 if test "$ac_test_CXXFLAGS" = set; then
15753 CXXFLAGS="$ac_save_CXXFLAGS"
15754 else
15755 # this is the suspicious part
15756 CXXFLAGS=''
15758 if test x"$ac_fdsections" = x"yes"; then
15759 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15762 $as_echo "$ac_fdsections" >&6; }
15764 ac_ext=c
15765 ac_cpp='$CPP $CPPFLAGS'
15766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15774 # Enable all the variable C++ runtime options that don't require linking.
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15777 $as_echo_n "checking for underlying I/O to use... " >&6; }
15778 # Check whether --enable-cstdio was given.
15779 if test "${enable_cstdio+set}" = set; then :
15780 enableval=$enable_cstdio;
15781 case "$enableval" in
15782 stdio) ;;
15783 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15784 esac
15786 else
15787 enable_cstdio=stdio
15792 # Now that libio has been removed, you can have any color you want as long
15793 # as it's black. This is one big no-op until other packages are added, but
15794 # showing the framework never hurts.
15795 case ${enable_cstdio} in
15796 stdio)
15797 CSTDIO_H=config/io/c_io_stdio.h
15798 BASIC_FILE_H=config/io/basic_file_stdio.h
15799 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15801 $as_echo "stdio" >&6; }
15803 esac
15810 # Check whether --enable-clocale was given.
15811 if test "${enable_clocale+set}" = set; then :
15812 enableval=$enable_clocale;
15813 case "$enableval" in
15814 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15815 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15816 esac
15818 else
15819 enable_clocale=auto
15824 # Deal with gettext issues. Default to not using it (=no) until we detect
15825 # support for it later. Let the user turn it off via --e/d, but let that
15826 # default to on for easier handling.
15827 USE_NLS=no
15828 # Check whether --enable-nls was given.
15829 if test "${enable_nls+set}" = set; then :
15830 enableval=$enable_nls;
15831 else
15832 enable_nls=yes
15836 # Either a known package, or "auto"
15837 if test $enable_clocale = no || test $enable_clocale = yes; then
15838 enable_clocale=auto
15840 enable_clocale_flag=$enable_clocale
15842 # Probe for locale model to use if none specified.
15843 # Default to "generic".
15844 if test $enable_clocale_flag = auto; then
15845 case ${target_os} in
15846 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15847 enable_clocale_flag=gnu
15849 darwin*)
15850 enable_clocale_flag=darwin
15852 dragonfly* | freebsd*)
15853 enable_clocale_flag=dragonfly
15855 openbsd*)
15856 enable_clocale_flag=newlib
15859 if test x"$with_newlib" = x"yes"; then
15860 enable_clocale_flag=newlib
15861 else
15862 enable_clocale_flag=generic
15865 esac
15868 # Sanity check model, and test for special functionality.
15869 if test $enable_clocale_flag = gnu; then
15870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h. */
15873 #include <features.h>
15874 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15875 _GLIBCXX_ok
15876 #endif
15878 _ACEOF
15879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15880 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15881 enable_clocale_flag=gnu
15882 else
15883 enable_clocale_flag=generic
15885 rm -f conftest*
15888 # Set it to scream when it hurts.
15889 ac_save_CFLAGS="$CFLAGS"
15890 CFLAGS="-Wimplicit-function-declaration -Werror"
15892 # Use strxfrm_l if available.
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895 #define _GNU_SOURCE 1
15896 #include <string.h>
15897 #include <locale.h>
15899 main ()
15901 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15903 return 0;
15905 _ACEOF
15906 if ac_fn_c_try_compile "$LINENO"; then :
15908 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15913 # Use strerror_l if available.
15914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h. */
15916 #define _GNU_SOURCE 1
15917 #include <string.h>
15918 #include <locale.h>
15920 main ()
15922 __locale_t loc; strerror_l(5, loc);
15924 return 0;
15926 _ACEOF
15927 if ac_fn_c_try_compile "$LINENO"; then :
15929 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15934 CFLAGS="$ac_save_CFLAGS"
15937 # Perhaps use strerror_r if available, and strerror_l isn't.
15938 ac_save_CFLAGS="$CFLAGS"
15939 CFLAGS="-Wimplicit-function-declaration -Werror"
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15942 #define _GNU_SOURCE 1
15943 #include <string.h>
15944 #include <locale.h>
15946 main ()
15948 char s[128]; strerror_r(5, s, 128);
15950 return 0;
15952 _ACEOF
15953 if ac_fn_c_try_compile "$LINENO"; then :
15955 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15959 CFLAGS="$ac_save_CFLAGS"
15961 # Set configure bits for specified locale package
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15963 $as_echo_n "checking for C locale to use... " >&6; }
15964 case ${enable_clocale_flag} in
15965 generic)
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15967 $as_echo "generic" >&6; }
15969 CLOCALE_H=config/locale/generic/c_locale.h
15970 CLOCALE_CC=config/locale/generic/c_locale.cc
15971 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15972 CCOLLATE_CC=config/locale/generic/collate_members.cc
15973 CCTYPE_CC=config/locale/generic/ctype_members.cc
15974 CMESSAGES_H=config/locale/generic/messages_members.h
15975 CMESSAGES_CC=config/locale/generic/messages_members.cc
15976 CMONEY_CC=config/locale/generic/monetary_members.cc
15977 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15978 CTIME_H=config/locale/generic/time_members.h
15979 CTIME_CC=config/locale/generic/time_members.cc
15980 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15982 darwin)
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15984 $as_echo "darwin" >&6; }
15986 CLOCALE_H=config/locale/generic/c_locale.h
15987 CLOCALE_CC=config/locale/generic/c_locale.cc
15988 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15989 CCOLLATE_CC=config/locale/generic/collate_members.cc
15990 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15991 CMESSAGES_H=config/locale/generic/messages_members.h
15992 CMESSAGES_CC=config/locale/generic/messages_members.cc
15993 CMONEY_CC=config/locale/generic/monetary_members.cc
15994 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15995 CTIME_H=config/locale/generic/time_members.h
15996 CTIME_CC=config/locale/generic/time_members.cc
15997 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16000 dragonfly)
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16002 $as_echo "dragonfly or freebsd" >&6; }
16004 CLOCALE_H=config/locale/dragonfly/c_locale.h
16005 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16006 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16007 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16008 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16009 CMESSAGES_H=config/locale/generic/messages_members.h
16010 CMESSAGES_CC=config/locale/generic/messages_members.cc
16011 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16012 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16013 CTIME_H=config/locale/dragonfly/time_members.h
16014 CTIME_CC=config/locale/dragonfly/time_members.cc
16015 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16018 gnu)
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16020 $as_echo "gnu" >&6; }
16022 # Declare intention to use gettext, and add support for specific
16023 # languages.
16024 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16025 ALL_LINGUAS="de fr"
16027 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16028 # Extract the first word of "msgfmt", so it can be a program name with args.
16029 set dummy msgfmt; ac_word=$2
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16031 $as_echo_n "checking for $ac_word... " >&6; }
16032 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16033 $as_echo_n "(cached) " >&6
16034 else
16035 if test -n "$check_msgfmt"; then
16036 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16037 else
16038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16039 for as_dir in $PATH
16041 IFS=$as_save_IFS
16042 test -z "$as_dir" && as_dir=.
16043 for ac_exec_ext in '' $ac_executable_extensions; do
16044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16045 ac_cv_prog_check_msgfmt="yes"
16046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16047 break 2
16049 done
16050 done
16051 IFS=$as_save_IFS
16053 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16056 check_msgfmt=$ac_cv_prog_check_msgfmt
16057 if test -n "$check_msgfmt"; then
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16059 $as_echo "$check_msgfmt" >&6; }
16060 else
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16062 $as_echo "no" >&6; }
16066 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16067 USE_NLS=yes
16069 # Export the build objects.
16070 for ling in $ALL_LINGUAS; do \
16071 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16072 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16073 done
16077 CLOCALE_H=config/locale/gnu/c_locale.h
16078 CLOCALE_CC=config/locale/gnu/c_locale.cc
16079 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16080 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16081 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16082 CMESSAGES_H=config/locale/gnu/messages_members.h
16083 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16084 CMONEY_CC=config/locale/gnu/monetary_members.cc
16085 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16086 CTIME_H=config/locale/gnu/time_members.h
16087 CTIME_CC=config/locale/gnu/time_members.cc
16088 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16090 ieee_1003.1-2001)
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16092 $as_echo "IEEE 1003.1" >&6; }
16094 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16095 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16096 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16097 CCOLLATE_CC=config/locale/generic/collate_members.cc
16098 CCTYPE_CC=config/locale/generic/ctype_members.cc
16099 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16100 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16101 CMONEY_CC=config/locale/generic/monetary_members.cc
16102 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16103 CTIME_H=config/locale/generic/time_members.h
16104 CTIME_CC=config/locale/generic/time_members.cc
16105 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16107 newlib)
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16109 $as_echo "newlib" >&6; }
16111 CLOCALE_H=config/locale/generic/c_locale.h
16112 CLOCALE_CC=config/locale/generic/c_locale.cc
16113 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16114 CCOLLATE_CC=config/locale/generic/collate_members.cc
16115 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16116 CMESSAGES_H=config/locale/generic/messages_members.h
16117 CMESSAGES_CC=config/locale/generic/messages_members.cc
16118 CMONEY_CC=config/locale/generic/monetary_members.cc
16119 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16120 CTIME_H=config/locale/generic/time_members.h
16121 CTIME_CC=config/locale/generic/time_members.cc
16122 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16124 esac
16126 # This is where the testsuite looks for locale catalogs, using the
16127 # -DLOCALEDIR define during testsuite compilation.
16128 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16131 # A standalone libintl (e.g., GNU libintl) may be in use.
16132 if test $USE_NLS = yes; then
16133 for ac_header in libintl.h
16134 do :
16135 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16136 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_LIBINTL_H 1
16139 _ACEOF
16141 else
16142 USE_NLS=no
16145 done
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16148 $as_echo_n "checking for library containing gettext... " >&6; }
16149 if test "${ac_cv_search_gettext+set}" = set; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 ac_func_search_save_LIBS=$LIBS
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16156 /* Override any GCC internal prototype to avoid an error.
16157 Use char because int might match the return type of a GCC
16158 builtin and then its argument prototype would still apply. */
16159 #ifdef __cplusplus
16160 extern "C"
16161 #endif
16162 char gettext ();
16164 main ()
16166 return gettext ();
16168 return 0;
16170 _ACEOF
16171 for ac_lib in '' intl; do
16172 if test -z "$ac_lib"; then
16173 ac_res="none required"
16174 else
16175 ac_res=-l$ac_lib
16176 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16178 if test x$gcc_no_link = xyes; then
16179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16181 if ac_fn_c_try_link "$LINENO"; then :
16182 ac_cv_search_gettext=$ac_res
16184 rm -f core conftest.err conftest.$ac_objext \
16185 conftest$ac_exeext
16186 if test "${ac_cv_search_gettext+set}" = set; then :
16187 break
16189 done
16190 if test "${ac_cv_search_gettext+set}" = set; then :
16192 else
16193 ac_cv_search_gettext=no
16195 rm conftest.$ac_ext
16196 LIBS=$ac_func_search_save_LIBS
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16199 $as_echo "$ac_cv_search_gettext" >&6; }
16200 ac_res=$ac_cv_search_gettext
16201 if test "$ac_res" != no; then :
16202 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16204 else
16205 USE_NLS=no
16209 if test $USE_NLS = yes; then
16211 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16231 $as_echo_n "checking for std::allocator base class... " >&6; }
16232 # Check whether --enable-libstdcxx-allocator was given.
16233 if test "${enable_libstdcxx_allocator+set}" = set; then :
16234 enableval=$enable_libstdcxx_allocator;
16235 case "$enableval" in
16236 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16237 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16238 esac
16240 else
16241 enable_libstdcxx_allocator=auto
16246 # If they didn't use this option switch, or if they specified --enable
16247 # with no specific model, we'll have to look for one. If they
16248 # specified --disable (???), do likewise.
16249 if test $enable_libstdcxx_allocator = no ||
16250 test $enable_libstdcxx_allocator = yes;
16251 then
16252 enable_libstdcxx_allocator=auto
16255 # Either a known package, or "auto". Auto implies the default choice
16256 # for a particular platform.
16257 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16259 # Probe for host-specific support if no specific model is specified.
16260 # Default to "new".
16261 if test $enable_libstdcxx_allocator_flag = auto; then
16262 case ${target_os} in
16263 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16264 enable_libstdcxx_allocator_flag=new
16267 enable_libstdcxx_allocator_flag=new
16269 esac
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16272 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16275 # Set configure bits for specified locale package
16276 case ${enable_libstdcxx_allocator_flag} in
16277 bitmap)
16278 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16279 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16281 malloc)
16282 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16283 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16286 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16287 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16289 new)
16290 ALLOCATOR_H=config/allocator/new_allocator_base.h
16291 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16293 pool)
16294 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16295 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16297 esac
16304 # Check whether --enable-cheaders was given.
16305 if test "${enable_cheaders+set}" = set; then :
16306 enableval=$enable_cheaders;
16307 case "$enableval" in
16308 c|c_std|c_global) ;;
16309 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16310 esac
16312 else
16313 enable_cheaders=$c_model
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16318 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16320 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16322 # Allow overrides to configure.host here.
16323 if test $enable_cheaders = c_global; then
16324 c_compatibility=yes
16333 # Check whether --enable-long-long was given.
16334 if test "${enable_long_long+set}" = set; then :
16335 enableval=$enable_long_long;
16336 case "$enableval" in
16337 yes|no) ;;
16338 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16339 esac
16341 else
16342 enable_long_long=yes
16346 if test $enable_long_long = yes; then
16348 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16352 $as_echo_n "checking for enabled long long specializations... " >&6; }
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16354 $as_echo "$enable_long_long" >&6; }
16357 # Check whether --enable-wchar_t was given.
16358 if test "${enable_wchar_t+set}" = set; then :
16359 enableval=$enable_wchar_t;
16360 case "$enableval" in
16361 yes|no) ;;
16362 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16363 esac
16365 else
16366 enable_wchar_t=yes
16371 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16372 for ac_header in wchar.h
16373 do :
16374 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCHAR_H 1
16378 _ACEOF
16379 ac_has_wchar_h=yes
16380 else
16381 ac_has_wchar_h=no
16384 done
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16387 $as_echo_n "checking for mbstate_t... " >&6; }
16388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h. */
16390 #include <wchar.h>
16392 main ()
16394 mbstate_t teststate;
16396 return 0;
16398 _ACEOF
16399 if ac_fn_c_try_compile "$LINENO"; then :
16400 have_mbstate_t=yes
16401 else
16402 have_mbstate_t=no
16404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16406 $as_echo "$have_mbstate_t" >&6; }
16407 if test x"$have_mbstate_t" = xyes; then
16409 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16413 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16414 # ac_has_wchar_h.
16415 for ac_header in wctype.h
16416 do :
16417 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16418 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16419 cat >>confdefs.h <<_ACEOF
16420 #define HAVE_WCTYPE_H 1
16421 _ACEOF
16422 ac_has_wctype_h=yes
16423 else
16424 ac_has_wctype_h=no
16427 done
16430 if test x"$enable_wchar_t" = x"yes"; then
16433 ac_ext=cpp
16434 ac_cpp='$CXXCPP $CPPFLAGS'
16435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16440 if test x"$ac_has_wchar_h" = xyes &&
16441 test x"$ac_has_wctype_h" = xyes; then
16442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16444 #include <wchar.h>
16445 #include <stddef.h>
16446 wint_t i;
16447 long l = WEOF;
16448 long j = WCHAR_MIN;
16449 long k = WCHAR_MAX;
16450 namespace test
16452 using ::btowc;
16453 using ::fgetwc;
16454 using ::fgetws;
16455 using ::fputwc;
16456 using ::fputws;
16457 using ::fwide;
16458 using ::fwprintf;
16459 using ::fwscanf;
16460 using ::getwc;
16461 using ::getwchar;
16462 using ::mbrlen;
16463 using ::mbrtowc;
16464 using ::mbsinit;
16465 using ::mbsrtowcs;
16466 using ::putwc;
16467 using ::putwchar;
16468 using ::swprintf;
16469 using ::swscanf;
16470 using ::ungetwc;
16471 using ::vfwprintf;
16472 using ::vswprintf;
16473 using ::vwprintf;
16474 using ::wcrtomb;
16475 using ::wcscat;
16476 using ::wcschr;
16477 using ::wcscmp;
16478 using ::wcscoll;
16479 using ::wcscpy;
16480 using ::wcscspn;
16481 using ::wcsftime;
16482 using ::wcslen;
16483 using ::wcsncat;
16484 using ::wcsncmp;
16485 using ::wcsncpy;
16486 using ::wcspbrk;
16487 using ::wcsrchr;
16488 using ::wcsrtombs;
16489 using ::wcsspn;
16490 using ::wcsstr;
16491 using ::wcstod;
16492 using ::wcstok;
16493 using ::wcstol;
16494 using ::wcstoul;
16495 using ::wcsxfrm;
16496 using ::wctob;
16497 using ::wmemchr;
16498 using ::wmemcmp;
16499 using ::wmemcpy;
16500 using ::wmemmove;
16501 using ::wmemset;
16502 using ::wprintf;
16503 using ::wscanf;
16507 main ()
16511 return 0;
16513 _ACEOF
16514 if ac_fn_cxx_try_compile "$LINENO"; then :
16516 else
16517 enable_wchar_t=no
16519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16520 else
16521 enable_wchar_t=no
16524 ac_ext=c
16525 ac_cpp='$CPP $CPPFLAGS'
16526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16532 if test x"$enable_wchar_t" = x"yes"; then
16534 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16539 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16541 $as_echo "$enable_wchar_t" >&6; }
16545 # Check whether --enable-c99 was given.
16546 if test "${enable_c99+set}" = set; then :
16547 enableval=$enable_c99;
16548 case "$enableval" in
16549 yes|no) ;;
16550 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16551 esac
16553 else
16554 enable_c99=yes
16559 if test x"$enable_c99" = x"yes"; then
16561 ac_ext=cpp
16562 ac_cpp='$CXXCPP $CPPFLAGS'
16563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16568 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16569 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16570 # to be spuriously enabled.
16571 ac_save_CXXFLAGS="$CXXFLAGS"
16572 CXXFLAGS="$CXXFLAGS -std=c++98"
16573 ac_save_LIBS="$LIBS"
16574 ac_save_gcc_no_link="$gcc_no_link"
16576 if test x$gcc_no_link != xyes; then
16577 # Use -fno-exceptions to that the C driver can link these tests without
16578 # hitting undefined references to personality routines.
16579 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16581 $as_echo_n "checking for sin in -lm... " >&6; }
16582 if test "${ac_cv_lib_m_sin+set}" = set; then :
16583 $as_echo_n "(cached) " >&6
16584 else
16585 ac_check_lib_save_LIBS=$LIBS
16586 LIBS="-lm $LIBS"
16587 if test x$gcc_no_link = xyes; then
16588 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16593 /* Override any GCC internal prototype to avoid an error.
16594 Use char because int might match the return type of a GCC
16595 builtin and then its argument prototype would still apply. */
16596 #ifdef __cplusplus
16597 extern "C"
16598 #endif
16599 char sin ();
16601 main ()
16603 return sin ();
16605 return 0;
16607 _ACEOF
16608 if ac_fn_cxx_try_link "$LINENO"; then :
16609 ac_cv_lib_m_sin=yes
16610 else
16611 ac_cv_lib_m_sin=no
16613 rm -f core conftest.err conftest.$ac_objext \
16614 conftest$ac_exeext conftest.$ac_ext
16615 LIBS=$ac_check_lib_save_LIBS
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16618 $as_echo "$ac_cv_lib_m_sin" >&6; }
16619 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16620 LIBS="$LIBS -lm"
16621 else
16623 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16624 gcc_no_link=yes
16630 # Check for the existence of <math.h> functions used if C99 is enabled.
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16632 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16633 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16634 $as_echo_n "(cached) " >&6
16635 else
16637 if test x$gcc_no_link = xyes; then
16638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16640 #include <math.h>
16641 volatile double d1, d2;
16642 volatile int i;
16644 main ()
16646 i = fpclassify(d1);
16647 i = isfinite(d1);
16648 i = isinf(d1);
16649 i = isnan(d1);
16650 i = isnormal(d1);
16651 i = signbit(d1);
16652 i = isgreater(d1, d2);
16653 i = isgreaterequal(d1, d2);
16654 i = isless(d1, d2);
16655 i = islessequal(d1, d2);
16656 i = islessgreater(d1, d2);
16657 i = islessgreater(d1, d2);
16658 i = isunordered(d1, d2);
16661 return 0;
16663 _ACEOF
16664 if ac_fn_cxx_try_compile "$LINENO"; then :
16665 glibcxx_cv_c99_math_cxx98=yes
16666 else
16667 glibcxx_cv_c99_math_cxx98=no
16669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16670 else
16671 if test x$gcc_no_link = xyes; then
16672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16676 #include <math.h>
16677 volatile double d1, d2;
16678 volatile int i;
16680 main ()
16682 i = fpclassify(d1);
16683 i = isfinite(d1);
16684 i = isinf(d1);
16685 i = isnan(d1);
16686 i = isnormal(d1);
16687 i = signbit(d1);
16688 i = isgreater(d1, d2);
16689 i = isgreaterequal(d1, d2);
16690 i = isless(d1, d2);
16691 i = islessequal(d1, d2);
16692 i = islessgreater(d1, d2);
16693 i = islessgreater(d1, d2);
16694 i = isunordered(d1, d2);
16697 return 0;
16699 _ACEOF
16700 if ac_fn_cxx_try_link "$LINENO"; then :
16701 glibcxx_cv_c99_math_cxx98=yes
16702 else
16703 glibcxx_cv_c99_math_cxx98=no
16705 rm -f core conftest.err conftest.$ac_objext \
16706 conftest$ac_exeext conftest.$ac_ext
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16712 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16713 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16715 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16719 # Check for the existence of <complex.h> complex math functions.
16720 # This is necessary even though libstdc++ uses the builtin versions
16721 # of these functions, because if the builtin cannot be used, a reference
16722 # to the library function is emitted.
16723 for ac_header in tgmath.h
16724 do :
16725 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16726 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16727 cat >>confdefs.h <<_ACEOF
16728 #define HAVE_TGMATH_H 1
16729 _ACEOF
16730 ac_has_tgmath_h=yes
16731 else
16732 ac_has_tgmath_h=no
16735 done
16737 for ac_header in complex.h
16738 do :
16739 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16740 if test "x$ac_cv_header_complex_h" = x""yes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_COMPLEX_H 1
16743 _ACEOF
16744 ac_has_complex_h=yes
16745 else
16746 ac_has_complex_h=no
16749 done
16751 if test x"$ac_has_complex_h" = x"yes"; then
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16753 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16754 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16755 $as_echo_n "(cached) " >&6
16756 else
16758 if test x$gcc_no_link = xyes; then
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16761 #include <complex.h>
16762 typedef __complex__ float float_type;
16763 typedef __complex__ double double_type;
16764 typedef __complex__ long double ld_type;
16765 volatile float_type tmpf;
16766 volatile double_type tmpd;
16767 volatile ld_type tmpld;
16768 volatile float f;
16769 volatile double d;
16770 volatile long double ld;
16772 main ()
16774 f = cabsf(tmpf);
16775 f = cargf(tmpf);
16776 tmpf = ccosf(tmpf);
16777 tmpf = ccoshf(tmpf);
16778 tmpf = cexpf(tmpf);
16779 tmpf = clogf(tmpf);
16780 tmpf = csinf(tmpf);
16781 tmpf = csinhf(tmpf);
16782 tmpf = csqrtf(tmpf);
16783 tmpf = ctanf(tmpf);
16784 tmpf = ctanhf(tmpf);
16785 tmpf = cpowf(tmpf, tmpf);
16786 tmpf = cprojf(tmpf);
16787 d = cabs(tmpd);
16788 d = carg(tmpd);
16789 tmpd = ccos(tmpd);
16790 tmpd = ccosh(tmpd);
16791 tmpd = cexp(tmpd);
16792 tmpd = clog(tmpd);
16793 tmpd = csin(tmpd);
16794 tmpd = csinh(tmpd);
16795 tmpd = csqrt(tmpd);
16796 tmpd = ctan(tmpd);
16797 tmpd = ctanh(tmpd);
16798 tmpd = cpow(tmpd, tmpd);
16799 tmpd = cproj(tmpd);
16800 ld = cabsl(tmpld);
16801 ld = cargl(tmpld);
16802 tmpld = ccosl(tmpld);
16803 tmpld = ccoshl(tmpld);
16804 tmpld = cexpl(tmpld);
16805 tmpld = clogl(tmpld);
16806 tmpld = csinl(tmpld);
16807 tmpld = csinhl(tmpld);
16808 tmpld = csqrtl(tmpld);
16809 tmpld = ctanl(tmpld);
16810 tmpld = ctanhl(tmpld);
16811 tmpld = cpowl(tmpld, tmpld);
16812 tmpld = cprojl(tmpld);
16815 return 0;
16817 _ACEOF
16818 if ac_fn_cxx_try_compile "$LINENO"; then :
16819 glibcxx_cv_c99_complex_cxx98=yes
16820 else
16821 glibcxx_cv_c99_complex_cxx98=no
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16824 else
16825 if test x$gcc_no_link = xyes; then
16826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16830 #include <complex.h>
16831 typedef __complex__ float float_type;
16832 typedef __complex__ double double_type;
16833 typedef __complex__ long double ld_type;
16834 volatile float_type tmpf;
16835 volatile double_type tmpd;
16836 volatile ld_type tmpld;
16837 volatile float f;
16838 volatile double d;
16839 volatile long double ld;
16841 main ()
16843 f = cabsf(tmpf);
16844 f = cargf(tmpf);
16845 tmpf = ccosf(tmpf);
16846 tmpf = ccoshf(tmpf);
16847 tmpf = cexpf(tmpf);
16848 tmpf = clogf(tmpf);
16849 tmpf = csinf(tmpf);
16850 tmpf = csinhf(tmpf);
16851 tmpf = csqrtf(tmpf);
16852 tmpf = ctanf(tmpf);
16853 tmpf = ctanhf(tmpf);
16854 tmpf = cpowf(tmpf, tmpf);
16855 tmpf = cprojf(tmpf);
16856 d = cabs(tmpd);
16857 d = carg(tmpd);
16858 tmpd = ccos(tmpd);
16859 tmpd = ccosh(tmpd);
16860 tmpd = cexp(tmpd);
16861 tmpd = clog(tmpd);
16862 tmpd = csin(tmpd);
16863 tmpd = csinh(tmpd);
16864 tmpd = csqrt(tmpd);
16865 tmpd = ctan(tmpd);
16866 tmpd = ctanh(tmpd);
16867 tmpd = cpow(tmpd, tmpd);
16868 tmpd = cproj(tmpd);
16869 ld = cabsl(tmpld);
16870 ld = cargl(tmpld);
16871 tmpld = ccosl(tmpld);
16872 tmpld = ccoshl(tmpld);
16873 tmpld = cexpl(tmpld);
16874 tmpld = clogl(tmpld);
16875 tmpld = csinl(tmpld);
16876 tmpld = csinhl(tmpld);
16877 tmpld = csqrtl(tmpld);
16878 tmpld = ctanl(tmpld);
16879 tmpld = ctanhl(tmpld);
16880 tmpld = cpowl(tmpld, tmpld);
16881 tmpld = cprojl(tmpld);
16884 return 0;
16886 _ACEOF
16887 if ac_fn_cxx_try_link "$LINENO"; then :
16888 glibcxx_cv_c99_complex_cxx98=yes
16889 else
16890 glibcxx_cv_c99_complex_cxx98=no
16892 rm -f core conftest.err conftest.$ac_objext \
16893 conftest$ac_exeext conftest.$ac_ext
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16900 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16901 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16903 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16907 # Check for the existence in <stdio.h> of vscanf, et. al.
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16909 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16910 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16911 $as_echo_n "(cached) " >&6
16912 else
16914 if test x$gcc_no_link = xyes; then
16915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16917 #include <stdio.h>
16918 #include <stdarg.h>
16919 void foo(char* fmt, ...)
16921 va_list args; va_start(args, fmt);
16922 vfscanf(stderr, "%i", args);
16923 vscanf("%i", args);
16924 vsnprintf(fmt, 0, "%i", args);
16925 vsscanf(fmt, "%i", args);
16926 snprintf(fmt, 0, "%i");
16929 main ()
16933 return 0;
16935 _ACEOF
16936 if ac_fn_cxx_try_compile "$LINENO"; then :
16937 glibcxx_cv_c99_stdio_cxx98=yes
16938 else
16939 glibcxx_cv_c99_stdio_cxx98=no
16941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16942 else
16943 if test x$gcc_no_link = xyes; then
16944 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h. */
16948 #include <stdio.h>
16949 #include <stdarg.h>
16950 void foo(char* fmt, ...)
16952 va_list args; va_start(args, fmt);
16953 vfscanf(stderr, "%i", args);
16954 vscanf("%i", args);
16955 vsnprintf(fmt, 0, "%i", args);
16956 vsscanf(fmt, "%i", args);
16957 snprintf(fmt, 0, "%i");
16960 main ()
16964 return 0;
16966 _ACEOF
16967 if ac_fn_cxx_try_link "$LINENO"; then :
16968 glibcxx_cv_c99_stdio_cxx98=yes
16969 else
16970 glibcxx_cv_c99_stdio_cxx98=no
16972 rm -f core conftest.err conftest.$ac_objext \
16973 conftest$ac_exeext conftest.$ac_ext
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16979 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16980 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16982 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16986 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16988 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16989 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16990 $as_echo_n "(cached) " >&6
16991 else
16993 if test x$gcc_no_link = xyes; then
16994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h. */
16996 #include <stdlib.h>
16997 volatile float f;
16998 volatile long double ld;
16999 volatile unsigned long long ll;
17000 lldiv_t mydivt;
17002 main ()
17004 char* tmp;
17005 f = strtof("gnu", &tmp);
17006 ld = strtold("gnu", &tmp);
17007 ll = strtoll("gnu", &tmp, 10);
17008 ll = strtoull("gnu", &tmp, 10);
17009 ll = llabs(10);
17010 mydivt = lldiv(10,1);
17011 ll = mydivt.quot;
17012 ll = mydivt.rem;
17013 ll = atoll("10");
17014 _Exit(0);
17017 return 0;
17019 _ACEOF
17020 if ac_fn_cxx_try_compile "$LINENO"; then :
17021 glibcxx_cv_c99_stdlib_cxx98=yes
17022 else
17023 glibcxx_cv_c99_stdlib_cxx98=no
17025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17026 else
17027 if test x$gcc_no_link = xyes; then
17028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 #include <stdlib.h>
17033 volatile float f;
17034 volatile long double ld;
17035 volatile unsigned long long ll;
17036 lldiv_t mydivt;
17038 main ()
17040 char* tmp;
17041 f = strtof("gnu", &tmp);
17042 ld = strtold("gnu", &tmp);
17043 ll = strtoll("gnu", &tmp, 10);
17044 ll = strtoull("gnu", &tmp, 10);
17045 ll = llabs(10);
17046 mydivt = lldiv(10,1);
17047 ll = mydivt.quot;
17048 ll = mydivt.rem;
17049 ll = atoll("10");
17050 _Exit(0);
17053 return 0;
17055 _ACEOF
17056 if ac_fn_cxx_try_link "$LINENO"; then :
17057 glibcxx_cv_c99_stdlib_cxx98=yes
17058 else
17059 glibcxx_cv_c99_stdlib_cxx98=no
17061 rm -f core conftest.err conftest.$ac_objext \
17062 conftest$ac_exeext conftest.$ac_ext
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17068 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17069 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17071 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17075 # Check for the existence in <wchar.h> of wcstold, etc.
17076 if test x"$ac_has_wchar_h" = xyes &&
17077 test x"$ac_has_wctype_h" = xyes; then
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17079 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17080 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17081 $as_echo_n "(cached) " >&6
17082 else
17084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17085 /* end confdefs.h. */
17086 #include <wchar.h>
17087 namespace test
17089 using ::wcstold;
17090 using ::wcstoll;
17091 using ::wcstoull;
17095 main ()
17099 return 0;
17101 _ACEOF
17102 if ac_fn_cxx_try_compile "$LINENO"; then :
17103 glibcxx_cv_c99_wchar_cxx98=yes
17104 else
17105 glibcxx_cv_c99_wchar_cxx98=no
17107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17112 # Checks for wide character functions that may not be present.
17113 # Injection of these is wrapped with guard macros.
17114 # NB: only put functions here, instead of immediately above, if
17115 # absolutely necessary.
17116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17117 /* end confdefs.h. */
17118 #include <wchar.h>
17119 namespace test { using ::vfwscanf; }
17121 main ()
17125 return 0;
17127 _ACEOF
17128 if ac_fn_cxx_try_compile "$LINENO"; then :
17130 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17137 #include <wchar.h>
17138 namespace test { using ::vswscanf; }
17140 main ()
17144 return 0;
17146 _ACEOF
17147 if ac_fn_cxx_try_compile "$LINENO"; then :
17149 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h. */
17156 #include <wchar.h>
17157 namespace test { using ::vwscanf; }
17159 main ()
17163 return 0;
17165 _ACEOF
17166 if ac_fn_cxx_try_compile "$LINENO"; then :
17168 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17174 /* end confdefs.h. */
17175 #include <wchar.h>
17176 namespace test { using ::wcstof; }
17178 main ()
17182 return 0;
17184 _ACEOF
17185 if ac_fn_cxx_try_compile "$LINENO"; then :
17187 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17193 /* end confdefs.h. */
17194 #include <wctype.h>
17196 main ()
17198 wint_t t; int i = iswblank(t);
17200 return 0;
17202 _ACEOF
17203 if ac_fn_cxx_try_compile "$LINENO"; then :
17205 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17211 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17212 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17214 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17219 # Option parsed, now set things appropriately.
17220 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17221 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17222 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17223 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17224 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17225 enable_c99=no;
17226 else
17228 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17232 gcc_no_link="$ac_save_gcc_no_link"
17233 LIBS="$ac_save_LIBS"
17234 CXXFLAGS="$ac_save_CXXFLAGS"
17235 ac_ext=c
17236 ac_cpp='$CPP $CPPFLAGS'
17237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17243 ac_ext=cpp
17244 ac_cpp='$CXXCPP $CPPFLAGS'
17245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17250 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17251 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17252 ac_save_CXXFLAGS="$CXXFLAGS"
17253 CXXFLAGS="$CXXFLAGS -std=c++11"
17254 ac_save_LIBS="$LIBS"
17255 ac_save_gcc_no_link="$gcc_no_link"
17257 if test x$gcc_no_link != xyes; then
17258 # Use -fno-exceptions to that the C driver can link these tests without
17259 # hitting undefined references to personality routines.
17260 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17262 $as_echo_n "checking for sin in -lm... " >&6; }
17263 if test "${ac_cv_lib_m_sin+set}" = set; then :
17264 $as_echo_n "(cached) " >&6
17265 else
17266 ac_check_lib_save_LIBS=$LIBS
17267 LIBS="-lm $LIBS"
17268 if test x$gcc_no_link = xyes; then
17269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17274 /* Override any GCC internal prototype to avoid an error.
17275 Use char because int might match the return type of a GCC
17276 builtin and then its argument prototype would still apply. */
17277 #ifdef __cplusplus
17278 extern "C"
17279 #endif
17280 char sin ();
17282 main ()
17284 return sin ();
17286 return 0;
17288 _ACEOF
17289 if ac_fn_cxx_try_link "$LINENO"; then :
17290 ac_cv_lib_m_sin=yes
17291 else
17292 ac_cv_lib_m_sin=no
17294 rm -f core conftest.err conftest.$ac_objext \
17295 conftest$ac_exeext conftest.$ac_ext
17296 LIBS=$ac_check_lib_save_LIBS
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17299 $as_echo "$ac_cv_lib_m_sin" >&6; }
17300 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17301 LIBS="$LIBS -lm"
17302 else
17304 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17305 gcc_no_link=yes
17311 # Check for the existence of <math.h> functions used if C99 is enabled.
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17313 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17314 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17315 $as_echo_n "(cached) " >&6
17316 else
17318 if test x$gcc_no_link = xyes; then
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17321 #include <math.h>
17322 volatile double d1, d2;
17323 volatile int i;
17325 main ()
17327 i = fpclassify(d1);
17328 i = isfinite(d1);
17329 i = isinf(d1);
17330 i = isnan(d1);
17331 i = isnormal(d1);
17332 i = signbit(d1);
17333 i = isgreater(d1, d2);
17334 i = isgreaterequal(d1, d2);
17335 i = isless(d1, d2);
17336 i = islessequal(d1, d2);
17337 i = islessgreater(d1, d2);
17338 i = islessgreater(d1, d2);
17339 i = isunordered(d1, d2);
17342 return 0;
17344 _ACEOF
17345 if ac_fn_cxx_try_compile "$LINENO"; then :
17346 glibcxx_cv_c99_math_cxx11=yes
17347 else
17348 glibcxx_cv_c99_math_cxx11=no
17350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17351 else
17352 if test x$gcc_no_link = xyes; then
17353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 #include <math.h>
17358 volatile double d1, d2;
17359 volatile int i;
17361 main ()
17363 i = fpclassify(d1);
17364 i = isfinite(d1);
17365 i = isinf(d1);
17366 i = isnan(d1);
17367 i = isnormal(d1);
17368 i = signbit(d1);
17369 i = isgreater(d1, d2);
17370 i = isgreaterequal(d1, d2);
17371 i = isless(d1, d2);
17372 i = islessequal(d1, d2);
17373 i = islessgreater(d1, d2);
17374 i = islessgreater(d1, d2);
17375 i = isunordered(d1, d2);
17378 return 0;
17380 _ACEOF
17381 if ac_fn_cxx_try_link "$LINENO"; then :
17382 glibcxx_cv_c99_math_cxx11=yes
17383 else
17384 glibcxx_cv_c99_math_cxx11=no
17386 rm -f core conftest.err conftest.$ac_objext \
17387 conftest$ac_exeext conftest.$ac_ext
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17393 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17394 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17396 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17400 # Check for the existence of <complex.h> complex math functions.
17401 # This is necessary even though libstdc++ uses the builtin versions
17402 # of these functions, because if the builtin cannot be used, a reference
17403 # to the library function is emitted.
17404 for ac_header in tgmath.h
17405 do :
17406 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17407 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17408 cat >>confdefs.h <<_ACEOF
17409 #define HAVE_TGMATH_H 1
17410 _ACEOF
17411 ac_has_tgmath_h=yes
17412 else
17413 ac_has_tgmath_h=no
17416 done
17418 for ac_header in complex.h
17419 do :
17420 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17421 if test "x$ac_cv_header_complex_h" = x""yes; then :
17422 cat >>confdefs.h <<_ACEOF
17423 #define HAVE_COMPLEX_H 1
17424 _ACEOF
17425 ac_has_complex_h=yes
17426 else
17427 ac_has_complex_h=no
17430 done
17432 if test x"$ac_has_complex_h" = x"yes"; then
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17434 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17435 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17439 if test x$gcc_no_link = xyes; then
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 #include <complex.h>
17443 typedef __complex__ float float_type;
17444 typedef __complex__ double double_type;
17445 typedef __complex__ long double ld_type;
17446 volatile float_type tmpf;
17447 volatile double_type tmpd;
17448 volatile ld_type tmpld;
17449 volatile float f;
17450 volatile double d;
17451 volatile long double ld;
17453 main ()
17455 f = cabsf(tmpf);
17456 f = cargf(tmpf);
17457 tmpf = ccosf(tmpf);
17458 tmpf = ccoshf(tmpf);
17459 tmpf = cexpf(tmpf);
17460 tmpf = clogf(tmpf);
17461 tmpf = csinf(tmpf);
17462 tmpf = csinhf(tmpf);
17463 tmpf = csqrtf(tmpf);
17464 tmpf = ctanf(tmpf);
17465 tmpf = ctanhf(tmpf);
17466 tmpf = cpowf(tmpf, tmpf);
17467 tmpf = cprojf(tmpf);
17468 d = cabs(tmpd);
17469 d = carg(tmpd);
17470 tmpd = ccos(tmpd);
17471 tmpd = ccosh(tmpd);
17472 tmpd = cexp(tmpd);
17473 tmpd = clog(tmpd);
17474 tmpd = csin(tmpd);
17475 tmpd = csinh(tmpd);
17476 tmpd = csqrt(tmpd);
17477 tmpd = ctan(tmpd);
17478 tmpd = ctanh(tmpd);
17479 tmpd = cpow(tmpd, tmpd);
17480 tmpd = cproj(tmpd);
17481 ld = cabsl(tmpld);
17482 ld = cargl(tmpld);
17483 tmpld = ccosl(tmpld);
17484 tmpld = ccoshl(tmpld);
17485 tmpld = cexpl(tmpld);
17486 tmpld = clogl(tmpld);
17487 tmpld = csinl(tmpld);
17488 tmpld = csinhl(tmpld);
17489 tmpld = csqrtl(tmpld);
17490 tmpld = ctanl(tmpld);
17491 tmpld = ctanhl(tmpld);
17492 tmpld = cpowl(tmpld, tmpld);
17493 tmpld = cprojl(tmpld);
17496 return 0;
17498 _ACEOF
17499 if ac_fn_cxx_try_compile "$LINENO"; then :
17500 glibcxx_cv_c99_complex_cxx11=yes
17501 else
17502 glibcxx_cv_c99_complex_cxx11=no
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17505 else
17506 if test x$gcc_no_link = xyes; then
17507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17511 #include <complex.h>
17512 typedef __complex__ float float_type;
17513 typedef __complex__ double double_type;
17514 typedef __complex__ long double ld_type;
17515 volatile float_type tmpf;
17516 volatile double_type tmpd;
17517 volatile ld_type tmpld;
17518 volatile float f;
17519 volatile double d;
17520 volatile long double ld;
17522 main ()
17524 f = cabsf(tmpf);
17525 f = cargf(tmpf);
17526 tmpf = ccosf(tmpf);
17527 tmpf = ccoshf(tmpf);
17528 tmpf = cexpf(tmpf);
17529 tmpf = clogf(tmpf);
17530 tmpf = csinf(tmpf);
17531 tmpf = csinhf(tmpf);
17532 tmpf = csqrtf(tmpf);
17533 tmpf = ctanf(tmpf);
17534 tmpf = ctanhf(tmpf);
17535 tmpf = cpowf(tmpf, tmpf);
17536 tmpf = cprojf(tmpf);
17537 d = cabs(tmpd);
17538 d = carg(tmpd);
17539 tmpd = ccos(tmpd);
17540 tmpd = ccosh(tmpd);
17541 tmpd = cexp(tmpd);
17542 tmpd = clog(tmpd);
17543 tmpd = csin(tmpd);
17544 tmpd = csinh(tmpd);
17545 tmpd = csqrt(tmpd);
17546 tmpd = ctan(tmpd);
17547 tmpd = ctanh(tmpd);
17548 tmpd = cpow(tmpd, tmpd);
17549 tmpd = cproj(tmpd);
17550 ld = cabsl(tmpld);
17551 ld = cargl(tmpld);
17552 tmpld = ccosl(tmpld);
17553 tmpld = ccoshl(tmpld);
17554 tmpld = cexpl(tmpld);
17555 tmpld = clogl(tmpld);
17556 tmpld = csinl(tmpld);
17557 tmpld = csinhl(tmpld);
17558 tmpld = csqrtl(tmpld);
17559 tmpld = ctanl(tmpld);
17560 tmpld = ctanhl(tmpld);
17561 tmpld = cpowl(tmpld, tmpld);
17562 tmpld = cprojl(tmpld);
17565 return 0;
17567 _ACEOF
17568 if ac_fn_cxx_try_link "$LINENO"; then :
17569 glibcxx_cv_c99_complex_cxx11=yes
17570 else
17571 glibcxx_cv_c99_complex_cxx11=no
17573 rm -f core conftest.err conftest.$ac_objext \
17574 conftest$ac_exeext conftest.$ac_ext
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17581 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17582 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17584 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17588 # Check for the existence in <stdio.h> of vscanf, et. al.
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17590 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17591 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17595 if test x$gcc_no_link = xyes; then
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17598 #include <stdio.h>
17599 #include <stdarg.h>
17600 void foo(char* fmt, ...)
17602 va_list args; va_start(args, fmt);
17603 vfscanf(stderr, "%i", args);
17604 vscanf("%i", args);
17605 vsnprintf(fmt, 0, "%i", args);
17606 vsscanf(fmt, "%i", args);
17607 snprintf(fmt, 0, "%i");
17610 main ()
17614 return 0;
17616 _ACEOF
17617 if ac_fn_cxx_try_compile "$LINENO"; then :
17618 glibcxx_cv_c99_stdio_cxx11=yes
17619 else
17620 glibcxx_cv_c99_stdio_cxx11=no
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623 else
17624 if test x$gcc_no_link = xyes; then
17625 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 #include <stdio.h>
17630 #include <stdarg.h>
17631 void foo(char* fmt, ...)
17633 va_list args; va_start(args, fmt);
17634 vfscanf(stderr, "%i", args);
17635 vscanf("%i", args);
17636 vsnprintf(fmt, 0, "%i", args);
17637 vsscanf(fmt, "%i", args);
17638 snprintf(fmt, 0, "%i");
17641 main ()
17645 return 0;
17647 _ACEOF
17648 if ac_fn_cxx_try_link "$LINENO"; then :
17649 glibcxx_cv_c99_stdio_cxx11=yes
17650 else
17651 glibcxx_cv_c99_stdio_cxx11=no
17653 rm -f core conftest.err conftest.$ac_objext \
17654 conftest$ac_exeext conftest.$ac_ext
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17660 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17661 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17663 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17667 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17669 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17670 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17671 $as_echo_n "(cached) " >&6
17672 else
17674 if test x$gcc_no_link = xyes; then
17675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17676 /* end confdefs.h. */
17677 #include <stdlib.h>
17678 volatile float f;
17679 volatile long double ld;
17680 volatile unsigned long long ll;
17681 lldiv_t mydivt;
17683 main ()
17685 char* tmp;
17686 f = strtof("gnu", &tmp);
17687 ld = strtold("gnu", &tmp);
17688 ll = strtoll("gnu", &tmp, 10);
17689 ll = strtoull("gnu", &tmp, 10);
17690 ll = llabs(10);
17691 mydivt = lldiv(10,1);
17692 ll = mydivt.quot;
17693 ll = mydivt.rem;
17694 ll = atoll("10");
17695 _Exit(0);
17698 return 0;
17700 _ACEOF
17701 if ac_fn_cxx_try_compile "$LINENO"; then :
17702 glibcxx_cv_c99_stdlib_cxx11=yes
17703 else
17704 glibcxx_cv_c99_stdlib_cxx11=no
17706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 else
17708 if test x$gcc_no_link = xyes; then
17709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 #include <stdlib.h>
17714 volatile float f;
17715 volatile long double ld;
17716 volatile unsigned long long ll;
17717 lldiv_t mydivt;
17719 main ()
17721 char* tmp;
17722 f = strtof("gnu", &tmp);
17723 ld = strtold("gnu", &tmp);
17724 ll = strtoll("gnu", &tmp, 10);
17725 ll = strtoull("gnu", &tmp, 10);
17726 ll = llabs(10);
17727 mydivt = lldiv(10,1);
17728 ll = mydivt.quot;
17729 ll = mydivt.rem;
17730 ll = atoll("10");
17731 _Exit(0);
17734 return 0;
17736 _ACEOF
17737 if ac_fn_cxx_try_link "$LINENO"; then :
17738 glibcxx_cv_c99_stdlib_cxx11=yes
17739 else
17740 glibcxx_cv_c99_stdlib_cxx11=no
17742 rm -f core conftest.err conftest.$ac_objext \
17743 conftest$ac_exeext conftest.$ac_ext
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17749 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17750 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17752 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17756 # Check for the existence in <wchar.h> of wcstold, etc.
17757 if test x"$ac_has_wchar_h" = xyes &&
17758 test x"$ac_has_wctype_h" = xyes; then
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17760 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17761 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17762 $as_echo_n "(cached) " >&6
17763 else
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h. */
17767 #include <wchar.h>
17768 namespace test
17770 using ::wcstold;
17771 using ::wcstoll;
17772 using ::wcstoull;
17776 main ()
17780 return 0;
17782 _ACEOF
17783 if ac_fn_cxx_try_compile "$LINENO"; then :
17784 glibcxx_cv_c99_wchar_cxx11=yes
17785 else
17786 glibcxx_cv_c99_wchar_cxx11=no
17788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17793 # Checks for wide character functions that may not be present.
17794 # Injection of these is wrapped with guard macros.
17795 # NB: only put functions here, instead of immediately above, if
17796 # absolutely necessary.
17797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17798 /* end confdefs.h. */
17799 #include <wchar.h>
17800 namespace test { using ::vfwscanf; }
17802 main ()
17806 return 0;
17808 _ACEOF
17809 if ac_fn_cxx_try_compile "$LINENO"; then :
17811 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17817 /* end confdefs.h. */
17818 #include <wchar.h>
17819 namespace test { using ::vswscanf; }
17821 main ()
17825 return 0;
17827 _ACEOF
17828 if ac_fn_cxx_try_compile "$LINENO"; then :
17830 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17837 #include <wchar.h>
17838 namespace test { using ::vwscanf; }
17840 main ()
17844 return 0;
17846 _ACEOF
17847 if ac_fn_cxx_try_compile "$LINENO"; then :
17849 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 #include <wchar.h>
17857 namespace test { using ::wcstof; }
17859 main ()
17863 return 0;
17865 _ACEOF
17866 if ac_fn_cxx_try_compile "$LINENO"; then :
17868 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h. */
17875 #include <wctype.h>
17877 main ()
17879 wint_t t; int i = iswblank(t);
17881 return 0;
17883 _ACEOF
17884 if ac_fn_cxx_try_compile "$LINENO"; then :
17886 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17892 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17893 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17895 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17900 gcc_no_link="$ac_save_gcc_no_link"
17901 LIBS="$ac_save_LIBS"
17902 CXXFLAGS="$ac_save_CXXFLAGS"
17903 ac_ext=c
17904 ac_cpp='$CPP $CPPFLAGS'
17905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17912 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17914 $as_echo "$enable_c99" >&6; }
17917 # Check whether --enable-concept-checks was given.
17918 if test "${enable_concept_checks+set}" = set; then :
17919 enableval=$enable_concept_checks;
17920 case "$enableval" in
17921 yes|no) ;;
17922 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17923 esac
17925 else
17926 enable_concept_checks=no
17930 if test $enable_concept_checks = yes; then
17932 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17937 # Check whether --enable-libstdcxx-debug-flags was given.
17938 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17939 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17940 xno | x) enable_libstdcxx_debug_flags= ;;
17941 x-*) ;;
17942 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17943 esac
17944 else
17945 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17950 # Option parsed, now set things appropriately
17951 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17955 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17959 $as_echo_n "checking for additional debug build... " >&6; }
17960 # Check whether --enable-libstdcxx-debug was given.
17961 if test "${enable_libstdcxx_debug+set}" = set; then :
17962 enableval=$enable_libstdcxx_debug;
17963 case "$enableval" in
17964 yes|no) ;;
17965 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17966 esac
17968 else
17969 enable_libstdcxx_debug=no
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17974 $as_echo "$enable_libstdcxx_debug" >&6; }
17979 enable_parallel=no;
17981 # See if configured libgomp/omp.h exists. (libgomp may be in
17982 # noconfigdirs but not explicitly disabled.)
17983 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17984 enable_parallel=yes;
17985 else
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17987 $as_echo "$as_me: target-libgomp not built" >&6;}
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17991 $as_echo_n "checking for parallel mode support... " >&6; }
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17993 $as_echo "$enable_parallel" >&6; }
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17996 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17997 # Check whether --enable-cxx-flags was given.
17998 if test "${enable_cxx_flags+set}" = set; then :
17999 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18000 xno | x) enable_cxx_flags= ;;
18001 x-*) ;;
18002 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18003 esac
18004 else
18005 enable_cxx_flags=
18010 # Run through flags (either default or command-line) and set anything
18011 # extra (e.g., #defines) that must accompany particular g++ options.
18012 if test -n "$enable_cxx_flags"; then
18013 for f in $enable_cxx_flags; do
18014 case "$f" in
18015 -fhonor-std) ;;
18016 -*) ;;
18017 *) # and we're trying to pass /what/ exactly?
18018 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18019 esac
18020 done
18023 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18025 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18029 # Check whether --enable-fully-dynamic-string was given.
18030 if test "${enable_fully_dynamic_string+set}" = set; then :
18031 enableval=$enable_fully_dynamic_string;
18032 case "$enableval" in
18033 yes|no) ;;
18034 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18035 esac
18037 else
18038 enable_fully_dynamic_string=no
18042 if test $enable_fully_dynamic_string = yes; then
18043 enable_fully_dynamic_string_def=1
18044 else
18045 enable_fully_dynamic_string_def=0
18048 cat >>confdefs.h <<_ACEOF
18049 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18050 _ACEOF
18055 # Check whether --enable-extern-template was given.
18056 if test "${enable_extern_template+set}" = set; then :
18057 enableval=$enable_extern_template;
18058 case "$enableval" in
18059 yes|no) ;;
18060 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18061 esac
18063 else
18064 enable_extern_template=yes
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18070 $as_echo_n "checking for extern template support... " >&6; }
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18072 $as_echo "$enable_extern_template" >&6; }
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18079 $as_echo_n "checking for custom python install directory... " >&6; }
18081 # Check whether --with-python-dir was given.
18082 if test "${with_python_dir+set}" = set; then :
18083 withval=$with_python_dir; with_python_dir=$withval
18084 else
18085 with_python_dir="no"
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18089 $as_echo "${with_python_dir}" >&6; }
18091 # Needed for installing Python modules during make install.
18092 python_mod_dir="${with_python_dir}"
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18098 $as_echo_n "checking for -Werror... " >&6; }
18099 # Check whether --enable-werror was given.
18100 if test "${enable_werror+set}" = set; then :
18101 enableval=$enable_werror;
18102 case "$enableval" in
18103 yes|no) ;;
18104 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18105 esac
18107 else
18108 enable_werror=yes
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18113 $as_echo "$enable_werror" >&6; }
18118 # Check whether --enable-vtable-verify was given.
18119 if test "${enable_vtable_verify+set}" = set; then :
18120 enableval=$enable_vtable_verify;
18121 case "$enableval" in
18122 yes|no) ;;
18123 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18124 esac
18126 else
18127 enable_vtable_verify=no
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18133 $as_echo_n "checking for vtable verify support... " >&6; }
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18135 $as_echo "$enable_vtable_verify" >&6; }
18137 vtv_cygmin=no
18138 if test $enable_vtable_verify = yes; then
18139 case ${target_os} in
18140 cygwin*|mingw32*)
18141 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18142 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18143 vtv_cygmin=yes
18145 darwin*)
18146 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18147 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18149 solaris2*)
18150 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18151 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18154 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18155 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18157 esac
18158 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18159 else
18160 VTV_CXXFLAGS=
18161 VTV_PCH_CXXFLAGS=
18162 VTV_CXXLINKFLAGS=
18168 if test x$vtv_cygmin = xyes; then
18169 VTV_CYGMIN_TRUE=
18170 VTV_CYGMIN_FALSE='#'
18171 else
18172 VTV_CYGMIN_TRUE='#'
18173 VTV_CYGMIN_FALSE=
18179 # Checks for operating systems support that doesn't require linking.
18183 ac_ext=cpp
18184 ac_cpp='$CXXCPP $CPPFLAGS'
18185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18189 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18190 # and we don't need a declaration for C++14 anyway.
18191 ac_save_CXXFLAGS="$CXXFLAGS"
18192 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18195 $as_echo_n "checking for gets declaration... " >&6; }
18196 if test "${glibcxx_cv_gets+set}" = set; then :
18197 $as_echo_n "(cached) " >&6
18198 else
18200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h. */
18202 #include <stdio.h>
18203 namespace test
18205 using ::gets;
18208 _ACEOF
18209 if ac_fn_cxx_try_compile "$LINENO"; then :
18210 glibcxx_cv_gets=yes
18211 else
18212 glibcxx_cv_gets=no
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 if test $glibcxx_cv_gets = yes; then
18221 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18225 $as_echo "$glibcxx_cv_gets" >&6; }
18227 CXXFLAGS="$ac_save_CXXFLAGS"
18228 ac_ext=c
18229 ac_cpp='$CPP $CPPFLAGS'
18230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18238 ac_ext=cpp
18239 ac_cpp='$CXXCPP $CPPFLAGS'
18240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18244 ac_save_CXXFLAGS="$CXXFLAGS"
18245 CXXFLAGS="$CXXFLAGS -std=c++11"
18247 case "$host" in
18248 *-*-solaris2.*)
18249 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18250 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18252 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18253 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18254 $as_echo_n "(cached) " >&6
18255 else
18257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18258 /* end confdefs.h. */
18259 #include <math.h>
18260 #undef isfinite
18261 namespace std {
18262 inline bool isfinite(float __x)
18263 { return __builtin_isfinite(__x); }
18266 _ACEOF
18267 if ac_fn_cxx_try_compile "$LINENO"; then :
18268 glibcxx_cv_math11_fp_overload=no
18269 else
18270 glibcxx_cv_math11_fp_overload=yes
18273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18277 # autoheader cannot handle indented templates.
18280 if test $glibcxx_cv_math11_fp_overload = yes; then
18281 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18285 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18287 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18288 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18290 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18291 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18292 $as_echo_n "(cached) " >&6
18293 else
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18297 #include <math.h>
18298 namespace std {
18299 template<typename _Tp>
18300 struct __is_integer;
18301 template<>
18302 struct __is_integer<int>
18304 enum { __value = 1 };
18307 namespace __gnu_cxx {
18308 template<bool, typename>
18309 struct __enable_if;
18310 template<typename _Tp>
18311 struct __enable_if<true, _Tp>
18312 { typedef _Tp __type; };
18314 namespace std {
18315 template<typename _Tp>
18316 constexpr typename __gnu_cxx::__enable_if
18317 <__is_integer<_Tp>::__value, double>::__type
18318 log2(_Tp __x)
18319 { return __builtin_log2(__x); }
18322 main (void)
18324 int i = 1000;
18325 return std::log2(i);
18328 _ACEOF
18329 if ac_fn_cxx_try_compile "$LINENO"; then :
18330 glibcxx_cv_math11_int_overload=no
18331 else
18332 glibcxx_cv_math11_int_overload=yes
18335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18339 # autoheader cannot handle indented templates.
18342 if test $glibcxx_cv_math11_int_overload = yes; then
18343 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18347 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18350 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18351 # functions (instead of or as well as the C99 generic macros) then we
18352 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18353 # and must use the ones from <math.h> instead.
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18355 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18356 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18357 $as_echo_n "(cached) " >&6
18358 else
18360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18362 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18363 #include <math.h>
18364 #undef isinf
18365 namespace std {
18366 using ::isinf;
18367 bool isinf(float);
18368 bool isinf(long double);
18370 using std::isinf;
18371 bool b = isinf(0.0);
18373 _ACEOF
18374 if ac_fn_cxx_try_compile "$LINENO"; then :
18375 glibcxx_cv_obsolete_isinf=yes
18376 else
18377 glibcxx_cv_obsolete_isinf=no
18380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18384 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18385 if test $glibcxx_cv_obsolete_isinf = yes; then
18387 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18392 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18393 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18394 $as_echo_n "(cached) " >&6
18395 else
18397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18398 /* end confdefs.h. */
18399 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18400 #include <math.h>
18401 #undef isnan
18402 namespace std {
18403 using ::isnan;
18404 bool isnan(float);
18405 bool isnan(long double);
18407 using std::isnan;
18408 bool b = isnan(0.0);
18410 _ACEOF
18411 if ac_fn_cxx_try_compile "$LINENO"; then :
18412 glibcxx_cv_obsolete_isnan=yes
18413 else
18414 glibcxx_cv_obsolete_isnan=no
18417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18421 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18422 if test $glibcxx_cv_obsolete_isnan = yes; then
18424 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18428 esac
18430 CXXFLAGS="$ac_save_CXXFLAGS"
18431 ac_ext=c
18432 ac_cpp='$CPP $CPPFLAGS'
18433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18441 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18442 if test "${glibcxx_cv_system_error1+set}" = set; then :
18443 $as_echo_n "(cached) " >&6
18444 else
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18448 #include <errno.h>
18450 main ()
18452 int i = EOWNERDEAD;
18454 return 0;
18456 _ACEOF
18457 if ac_fn_c_try_compile "$LINENO"; then :
18458 glibcxx_cv_system_error1=yes
18459 else
18460 glibcxx_cv_system_error1=no
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18467 $as_echo "$glibcxx_cv_system_error1" >&6; }
18468 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18470 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18474 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18475 if test "${glibcxx_cv_system_error2+set}" = set; then :
18476 $as_echo_n "(cached) " >&6
18477 else
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 #include <errno.h>
18483 main ()
18485 int i = ENOTRECOVERABLE;
18487 return 0;
18489 _ACEOF
18490 if ac_fn_c_try_compile "$LINENO"; then :
18491 glibcxx_cv_system_error2=yes
18492 else
18493 glibcxx_cv_system_error2=no
18495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18500 $as_echo "$glibcxx_cv_system_error2" >&6; }
18501 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18503 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18507 $as_echo_n "checking for ENOLINK... " >&6; }
18508 if test "${glibcxx_cv_system_error3+set}" = set; then :
18509 $as_echo_n "(cached) " >&6
18510 else
18512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h. */
18514 #include <errno.h>
18516 main ()
18518 int i = ENOLINK;
18520 return 0;
18522 _ACEOF
18523 if ac_fn_c_try_compile "$LINENO"; then :
18524 glibcxx_cv_system_error3=yes
18525 else
18526 glibcxx_cv_system_error3=no
18528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18533 $as_echo "$glibcxx_cv_system_error3" >&6; }
18534 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18536 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18540 $as_echo_n "checking for EPROTO... " >&6; }
18541 if test "${glibcxx_cv_system_error4+set}" = set; then :
18542 $as_echo_n "(cached) " >&6
18543 else
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h. */
18547 #include <errno.h>
18549 main ()
18551 int i = EPROTO;
18553 return 0;
18555 _ACEOF
18556 if ac_fn_c_try_compile "$LINENO"; then :
18557 glibcxx_cv_system_error4=yes
18558 else
18559 glibcxx_cv_system_error4=no
18561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18566 $as_echo "$glibcxx_cv_system_error4" >&6; }
18567 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18569 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18573 $as_echo_n "checking for ENODATA... " >&6; }
18574 if test "${glibcxx_cv_system_error5+set}" = set; then :
18575 $as_echo_n "(cached) " >&6
18576 else
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18580 #include <errno.h>
18582 main ()
18584 int i = ENODATA;
18586 return 0;
18588 _ACEOF
18589 if ac_fn_c_try_compile "$LINENO"; then :
18590 glibcxx_cv_system_error5=yes
18591 else
18592 glibcxx_cv_system_error5=no
18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18599 $as_echo "$glibcxx_cv_system_error5" >&6; }
18600 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18602 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18606 $as_echo_n "checking for ENOSR... " >&6; }
18607 if test "${glibcxx_cv_system_error6+set}" = set; then :
18608 $as_echo_n "(cached) " >&6
18609 else
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 #include <errno.h>
18615 main ()
18617 int i = ENOSR;
18619 return 0;
18621 _ACEOF
18622 if ac_fn_c_try_compile "$LINENO"; then :
18623 glibcxx_cv_system_error6=yes
18624 else
18625 glibcxx_cv_system_error6=no
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18632 $as_echo "$glibcxx_cv_system_error6" >&6; }
18633 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18635 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18639 $as_echo_n "checking for ENOSTR... " >&6; }
18640 if test "${glibcxx_cv_system_error7+set}" = set; then :
18641 $as_echo_n "(cached) " >&6
18642 else
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 #include <errno.h>
18648 main ()
18650 int i = ENOSTR;
18652 return 0;
18654 _ACEOF
18655 if ac_fn_c_try_compile "$LINENO"; then :
18656 glibcxx_cv_system_error7=yes
18657 else
18658 glibcxx_cv_system_error7=no
18660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18665 $as_echo "$glibcxx_cv_system_error7" >&6; }
18666 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18668 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18672 $as_echo_n "checking for ETIME... " >&6; }
18673 if test "${glibcxx_cv_system_error8+set}" = set; then :
18674 $as_echo_n "(cached) " >&6
18675 else
18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h. */
18679 #include <errno.h>
18681 main ()
18683 int i = ETIME;
18685 return 0;
18687 _ACEOF
18688 if ac_fn_c_try_compile "$LINENO"; then :
18689 glibcxx_cv_system_error8=yes
18690 else
18691 glibcxx_cv_system_error8=no
18693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18698 $as_echo "$glibcxx_cv_system_error8" >&6; }
18699 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18701 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18705 $as_echo_n "checking for EBADMSG... " >&6; }
18706 if test "${glibcxx_cv_system_error9+set}" = set; then :
18707 $as_echo_n "(cached) " >&6
18708 else
18710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h. */
18712 #include <errno.h>
18714 main ()
18716 int i = EBADMSG;
18718 return 0;
18720 _ACEOF
18721 if ac_fn_c_try_compile "$LINENO"; then :
18722 glibcxx_cv_system_error9=yes
18723 else
18724 glibcxx_cv_system_error9=no
18726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18731 $as_echo "$glibcxx_cv_system_error9" >&6; }
18732 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18734 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18738 $as_echo_n "checking for ECANCELED... " >&6; }
18739 if test "${glibcxx_cv_system_error10+set}" = set; then :
18740 $as_echo_n "(cached) " >&6
18741 else
18743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18744 /* end confdefs.h. */
18745 #include <errno.h>
18747 main ()
18749 int i = ECANCELED;
18751 return 0;
18753 _ACEOF
18754 if ac_fn_c_try_compile "$LINENO"; then :
18755 glibcxx_cv_system_error10=yes
18756 else
18757 glibcxx_cv_system_error10=no
18759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18764 $as_echo "$glibcxx_cv_system_error10" >&6; }
18765 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18767 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18771 $as_echo_n "checking for EOVERFLOW... " >&6; }
18772 if test "${glibcxx_cv_system_error11+set}" = set; then :
18773 $as_echo_n "(cached) " >&6
18774 else
18776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18778 #include <errno.h>
18780 main ()
18782 int i = EOVERFLOW;
18784 return 0;
18786 _ACEOF
18787 if ac_fn_c_try_compile "$LINENO"; then :
18788 glibcxx_cv_system_error11=yes
18789 else
18790 glibcxx_cv_system_error11=no
18792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18797 $as_echo "$glibcxx_cv_system_error11" >&6; }
18798 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18800 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18804 $as_echo_n "checking for ENOTSUP... " >&6; }
18805 if test "${glibcxx_cv_system_error12+set}" = set; then :
18806 $as_echo_n "(cached) " >&6
18807 else
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18811 #include <errno.h>
18813 main ()
18815 int i = ENOTSUP;
18817 return 0;
18819 _ACEOF
18820 if ac_fn_c_try_compile "$LINENO"; then :
18821 glibcxx_cv_system_error12=yes
18822 else
18823 glibcxx_cv_system_error12=no
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18830 $as_echo "$glibcxx_cv_system_error12" >&6; }
18831 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18833 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18837 $as_echo_n "checking for EIDRM... " >&6; }
18838 if test "${glibcxx_cv_system_error13+set}" = set; then :
18839 $as_echo_n "(cached) " >&6
18840 else
18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18844 #include <errno.h>
18846 main ()
18848 int i = EIDRM;
18850 return 0;
18852 _ACEOF
18853 if ac_fn_c_try_compile "$LINENO"; then :
18854 glibcxx_cv_system_error13=yes
18855 else
18856 glibcxx_cv_system_error13=no
18858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18863 $as_echo "$glibcxx_cv_system_error13" >&6; }
18864 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18866 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18870 $as_echo_n "checking for ETXTBSY... " >&6; }
18871 if test "${glibcxx_cv_system_error14+set}" = set; then :
18872 $as_echo_n "(cached) " >&6
18873 else
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h. */
18877 #include <errno.h>
18879 main ()
18881 int i = ETXTBSY;
18883 return 0;
18885 _ACEOF
18886 if ac_fn_c_try_compile "$LINENO"; then :
18887 glibcxx_cv_system_error14=yes
18888 else
18889 glibcxx_cv_system_error14=no
18891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18896 $as_echo "$glibcxx_cv_system_error14" >&6; }
18897 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18899 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18903 $as_echo_n "checking for ECHILD... " >&6; }
18904 if test "${glibcxx_cv_system_error15+set}" = set; then :
18905 $as_echo_n "(cached) " >&6
18906 else
18908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18909 /* end confdefs.h. */
18910 #include <errno.h>
18912 main ()
18914 int i = ECHILD;
18916 return 0;
18918 _ACEOF
18919 if ac_fn_c_try_compile "$LINENO"; then :
18920 glibcxx_cv_system_error15=yes
18921 else
18922 glibcxx_cv_system_error15=no
18924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18929 $as_echo "$glibcxx_cv_system_error15" >&6; }
18930 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18932 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18936 $as_echo_n "checking for ENOSPC... " >&6; }
18937 if test "${glibcxx_cv_system_error16+set}" = set; then :
18938 $as_echo_n "(cached) " >&6
18939 else
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h. */
18943 #include <errno.h>
18945 main ()
18947 int i = ENOSPC;
18949 return 0;
18951 _ACEOF
18952 if ac_fn_c_try_compile "$LINENO"; then :
18953 glibcxx_cv_system_error16=yes
18954 else
18955 glibcxx_cv_system_error16=no
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18962 $as_echo "$glibcxx_cv_system_error16" >&6; }
18963 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18965 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18969 $as_echo_n "checking for EPERM... " >&6; }
18970 if test "${glibcxx_cv_system_error17+set}" = set; then :
18971 $as_echo_n "(cached) " >&6
18972 else
18974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18976 #include <errno.h>
18978 main ()
18980 int i = EPERM;
18982 return 0;
18984 _ACEOF
18985 if ac_fn_c_try_compile "$LINENO"; then :
18986 glibcxx_cv_system_error17=yes
18987 else
18988 glibcxx_cv_system_error17=no
18990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18995 $as_echo "$glibcxx_cv_system_error17" >&6; }
18996 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18998 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19002 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19003 if test "${glibcxx_cv_system_error18+set}" = set; then :
19004 $as_echo_n "(cached) " >&6
19005 else
19007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19008 /* end confdefs.h. */
19009 #include <errno.h>
19011 main ()
19013 int i = ETIMEDOUT;
19015 return 0;
19017 _ACEOF
19018 if ac_fn_c_try_compile "$LINENO"; then :
19019 glibcxx_cv_system_error18=yes
19020 else
19021 glibcxx_cv_system_error18=no
19023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19028 $as_echo "$glibcxx_cv_system_error18" >&6; }
19029 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19031 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19035 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19036 if test "${glibcxx_cv_system_error19+set}" = set; then :
19037 $as_echo_n "(cached) " >&6
19038 else
19040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19041 /* end confdefs.h. */
19042 #include <errno.h>
19044 main ()
19046 int i = EWOULDBLOCK;
19048 return 0;
19050 _ACEOF
19051 if ac_fn_c_try_compile "$LINENO"; then :
19052 glibcxx_cv_system_error19=yes
19053 else
19054 glibcxx_cv_system_error19=no
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19061 $as_echo "$glibcxx_cv_system_error19" >&6; }
19062 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19064 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19071 # Test uchar.h.
19072 for ac_header in uchar.h
19073 do :
19074 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19075 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_UCHAR_H 1
19078 _ACEOF
19079 ac_has_uchar_h=yes
19080 else
19081 ac_has_uchar_h=no
19084 done
19088 ac_ext=cpp
19089 ac_cpp='$CXXCPP $CPPFLAGS'
19090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19094 ac_save_CXXFLAGS="$CXXFLAGS"
19095 CXXFLAGS="$CXXFLAGS -std=c++11"
19097 if test x"$ac_has_uchar_h" = x"yes"; then
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19099 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19101 /* end confdefs.h. */
19102 #include <uchar.h>
19103 #ifdef __STDC_UTF_16__
19104 long i = __STDC_UTF_16__;
19105 #endif
19106 #ifdef __STDC_UTF_32__
19107 long j = __STDC_UTF_32__;
19108 #endif
19109 namespace test
19111 using ::c16rtomb;
19112 using ::c32rtomb;
19113 using ::mbrtoc16;
19114 using ::mbrtoc32;
19118 main ()
19122 return 0;
19124 _ACEOF
19125 if ac_fn_cxx_try_compile "$LINENO"; then :
19126 ac_c11_uchar_cxx11=yes
19127 else
19128 ac_c11_uchar_cxx11=no
19130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19131 else
19132 ac_c11_uchar_cxx11=no
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19135 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19136 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19138 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19142 CXXFLAGS="$ac_save_CXXFLAGS"
19143 ac_ext=c
19144 ac_cpp='$CPP $CPPFLAGS'
19145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19151 # For the streamoff typedef.
19155 ac_ext=cpp
19156 ac_cpp='$CXXCPP $CPPFLAGS'
19157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19163 $as_echo_n "checking for int64_t... " >&6; }
19164 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19165 $as_echo_n "(cached) " >&6
19166 else
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19170 #include <stdint.h>
19172 main ()
19174 int64_t var;
19176 return 0;
19178 _ACEOF
19179 if ac_fn_cxx_try_compile "$LINENO"; then :
19180 glibcxx_cv_INT64_T=yes
19181 else
19182 glibcxx_cv_INT64_T=no
19184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19189 if test $glibcxx_cv_INT64_T = yes; then
19191 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19194 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19197 $as_echo_n "checking for int64_t as long... " >&6; }
19198 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19199 $as_echo_n "(cached) " >&6
19200 else
19202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h. */
19204 #include <stdint.h>
19205 template<typename, typename> struct same { enum { value = -1 }; };
19206 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19207 int array[same<int64_t, long>::value];
19209 main ()
19213 return 0;
19215 _ACEOF
19216 if ac_fn_cxx_try_compile "$LINENO"; then :
19217 glibcxx_cv_int64_t_long=yes
19218 else
19219 glibcxx_cv_int64_t_long=no
19221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19226 if test $glibcxx_cv_int64_t_long = yes; then
19228 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19231 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19235 $as_echo_n "checking for int64_t as long long... " >&6; }
19236 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19237 $as_echo_n "(cached) " >&6
19238 else
19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241 /* end confdefs.h. */
19242 #include <stdint.h>
19243 template<typename, typename> struct same { enum { value = -1 }; };
19244 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19245 int array[same<int64_t, long long>::value];
19247 main ()
19251 return 0;
19253 _ACEOF
19254 if ac_fn_cxx_try_compile "$LINENO"; then :
19255 glibcxx_cv_int64_t_long_long=yes
19256 else
19257 glibcxx_cv_int64_t_long_long=no
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19264 if test $glibcxx_cv_int64_t_long_long = yes; then
19266 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19269 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19273 ac_ext=c
19274 ac_cpp='$CPP $CPPFLAGS'
19275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19281 # For LFS support.
19284 ac_ext=cpp
19285 ac_cpp='$CXXCPP $CPPFLAGS'
19286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19290 ac_save_CXXFLAGS="$CXXFLAGS"
19291 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19293 $as_echo_n "checking for LFS support... " >&6; }
19294 if test "${glibcxx_cv_LFS+set}" = set; then :
19295 $as_echo_n "(cached) " >&6
19296 else
19298 if test x$gcc_no_link = xyes; then
19299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19300 /* end confdefs.h. */
19301 #include <unistd.h>
19302 #include <stdio.h>
19303 #include <sys/stat.h>
19306 main ()
19308 FILE* fp;
19309 fopen64("t", "w");
19310 fseeko64(fp, 0, SEEK_CUR);
19311 ftello64(fp);
19312 lseek64(1, 0, SEEK_CUR);
19313 struct stat64 buf;
19314 fstat64(1, &buf);
19316 return 0;
19318 _ACEOF
19319 if ac_fn_cxx_try_compile "$LINENO"; then :
19320 glibcxx_cv_LFS=yes
19321 else
19322 glibcxx_cv_LFS=no
19324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19325 else
19326 if test x$gcc_no_link = xyes; then
19327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 #include <unistd.h>
19332 #include <stdio.h>
19333 #include <sys/stat.h>
19336 main ()
19338 FILE* fp;
19339 fopen64("t", "w");
19340 fseeko64(fp, 0, SEEK_CUR);
19341 ftello64(fp);
19342 lseek64(1, 0, SEEK_CUR);
19343 struct stat64 buf;
19344 fstat64(1, &buf);
19346 return 0;
19348 _ACEOF
19349 if ac_fn_cxx_try_link "$LINENO"; then :
19350 glibcxx_cv_LFS=yes
19351 else
19352 glibcxx_cv_LFS=no
19354 rm -f core conftest.err conftest.$ac_objext \
19355 conftest$ac_exeext conftest.$ac_ext
19360 if test $glibcxx_cv_LFS = yes; then
19362 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19366 $as_echo "$glibcxx_cv_LFS" >&6; }
19367 CXXFLAGS="$ac_save_CXXFLAGS"
19368 ac_ext=c
19369 ac_cpp='$CPP $CPPFLAGS'
19370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19376 # For showmanyc_helper().
19377 for ac_header in sys/ioctl.h sys/filio.h
19378 do :
19379 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19380 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19381 eval as_val=\$$as_ac_Header
19382 if test "x$as_val" = x""yes; then :
19383 cat >>confdefs.h <<_ACEOF
19384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19385 _ACEOF
19389 done
19394 ac_ext=cpp
19395 ac_cpp='$CXXCPP $CPPFLAGS'
19396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19400 ac_save_CXXFLAGS="$CXXFLAGS"
19401 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19404 $as_echo_n "checking for poll... " >&6; }
19405 if test "${glibcxx_cv_POLL+set}" = set; then :
19406 $as_echo_n "(cached) " >&6
19407 else
19409 if test x$gcc_no_link = xyes; then
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 #include <poll.h>
19414 main ()
19416 struct pollfd pfd[1];
19417 pfd[0].events = POLLIN;
19418 poll(pfd, 1, 0);
19420 return 0;
19422 _ACEOF
19423 if ac_fn_cxx_try_compile "$LINENO"; then :
19424 glibcxx_cv_POLL=yes
19425 else
19426 glibcxx_cv_POLL=no
19428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19429 else
19430 if test x$gcc_no_link = xyes; then
19431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <poll.h>
19437 main ()
19439 struct pollfd pfd[1];
19440 pfd[0].events = POLLIN;
19441 poll(pfd, 1, 0);
19443 return 0;
19445 _ACEOF
19446 if ac_fn_cxx_try_link "$LINENO"; then :
19447 glibcxx_cv_POLL=yes
19448 else
19449 glibcxx_cv_POLL=no
19451 rm -f core conftest.err conftest.$ac_objext \
19452 conftest$ac_exeext conftest.$ac_ext
19457 if test $glibcxx_cv_POLL = yes; then
19459 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19463 $as_echo "$glibcxx_cv_POLL" >&6; }
19465 CXXFLAGS="$ac_save_CXXFLAGS"
19466 ac_ext=c
19467 ac_cpp='$CPP $CPPFLAGS'
19468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19476 ac_ext=cpp
19477 ac_cpp='$CXXCPP $CPPFLAGS'
19478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19482 ac_save_CXXFLAGS="$CXXFLAGS"
19483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19486 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19487 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19488 $as_echo_n "(cached) " >&6
19489 else
19491 if test x$gcc_no_link = xyes; then
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #include <sys/stat.h>
19496 main ()
19498 struct stat buffer;
19499 fstat(0, &buffer);
19500 S_ISREG(buffer.st_mode);
19502 return 0;
19504 _ACEOF
19505 if ac_fn_cxx_try_compile "$LINENO"; then :
19506 glibcxx_cv_S_ISREG=yes
19507 else
19508 glibcxx_cv_S_ISREG=no
19510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 else
19512 if test x$gcc_no_link = xyes; then
19513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h. */
19517 #include <sys/stat.h>
19519 main ()
19521 struct stat buffer;
19522 fstat(0, &buffer);
19523 S_ISREG(buffer.st_mode);
19525 return 0;
19527 _ACEOF
19528 if ac_fn_cxx_try_link "$LINENO"; then :
19529 glibcxx_cv_S_ISREG=yes
19530 else
19531 glibcxx_cv_S_ISREG=no
19533 rm -f core conftest.err conftest.$ac_objext \
19534 conftest$ac_exeext conftest.$ac_ext
19539 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19543 if test x$gcc_no_link = xyes; then
19544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19546 #include <sys/stat.h>
19548 main ()
19550 struct stat buffer;
19551 fstat(0, &buffer);
19552 S_IFREG & buffer.st_mode;
19554 return 0;
19556 _ACEOF
19557 if ac_fn_cxx_try_compile "$LINENO"; then :
19558 glibcxx_cv_S_IFREG=yes
19559 else
19560 glibcxx_cv_S_IFREG=no
19562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 else
19564 if test x$gcc_no_link = xyes; then
19565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19569 #include <sys/stat.h>
19571 main ()
19573 struct stat buffer;
19574 fstat(0, &buffer);
19575 S_IFREG & buffer.st_mode;
19577 return 0;
19579 _ACEOF
19580 if ac_fn_cxx_try_link "$LINENO"; then :
19581 glibcxx_cv_S_IFREG=yes
19582 else
19583 glibcxx_cv_S_IFREG=no
19585 rm -f core conftest.err conftest.$ac_objext \
19586 conftest$ac_exeext conftest.$ac_ext
19591 res=no
19592 if test $glibcxx_cv_S_ISREG = yes; then
19594 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19596 res=S_ISREG
19597 elif test $glibcxx_cv_S_IFREG = yes; then
19599 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19601 res=S_IFREG
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19604 $as_echo "$res" >&6; }
19606 CXXFLAGS="$ac_save_CXXFLAGS"
19607 ac_ext=c
19608 ac_cpp='$CPP $CPPFLAGS'
19609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19615 # For xsputn_2().
19616 for ac_header in sys/uio.h
19617 do :
19618 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19619 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19620 cat >>confdefs.h <<_ACEOF
19621 #define HAVE_SYS_UIO_H 1
19622 _ACEOF
19626 done
19631 ac_ext=cpp
19632 ac_cpp='$CXXCPP $CPPFLAGS'
19633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19637 ac_save_CXXFLAGS="$CXXFLAGS"
19638 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19641 $as_echo_n "checking for writev... " >&6; }
19642 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19646 if test x$gcc_no_link = xyes; then
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19649 #include <sys/uio.h>
19651 main ()
19653 struct iovec iov[2];
19654 writev(0, iov, 0);
19656 return 0;
19658 _ACEOF
19659 if ac_fn_cxx_try_compile "$LINENO"; then :
19660 glibcxx_cv_WRITEV=yes
19661 else
19662 glibcxx_cv_WRITEV=no
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19665 else
19666 if test x$gcc_no_link = xyes; then
19667 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671 #include <sys/uio.h>
19673 main ()
19675 struct iovec iov[2];
19676 writev(0, iov, 0);
19678 return 0;
19680 _ACEOF
19681 if ac_fn_cxx_try_link "$LINENO"; then :
19682 glibcxx_cv_WRITEV=yes
19683 else
19684 glibcxx_cv_WRITEV=no
19686 rm -f core conftest.err conftest.$ac_objext \
19687 conftest$ac_exeext conftest.$ac_ext
19692 if test $glibcxx_cv_WRITEV = yes; then
19694 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19698 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19700 CXXFLAGS="$ac_save_CXXFLAGS"
19701 ac_ext=c
19702 ac_cpp='$CPP $CPPFLAGS'
19703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19709 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19710 # so that the check is done with the C compiler (not C++).
19711 # Checking with C++ can break a canadian cross build if either
19712 # file does not exist in C but does in C++.
19713 for ac_header in fenv.h complex.h
19714 do :
19715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19716 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19717 eval as_val=\$$as_ac_Header
19718 if test "x$as_val" = x""yes; then :
19719 cat >>confdefs.h <<_ACEOF
19720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19721 _ACEOF
19725 done
19728 # For C99 support to TR1.
19732 ac_ext=cpp
19733 ac_cpp='$CXXCPP $CPPFLAGS'
19734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19739 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19740 # undefined and fake C99 facilities may be spuriously enabled.
19741 ac_save_CXXFLAGS="$CXXFLAGS"
19742 CXXFLAGS="$CXXFLAGS -std=c++98"
19744 # Check for the existence of <complex.h> complex math functions used
19745 # by tr1/complex.
19746 for ac_header in complex.h
19747 do :
19748 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19749 if test "x$ac_cv_header_complex_h" = x""yes; then :
19750 cat >>confdefs.h <<_ACEOF
19751 #define HAVE_COMPLEX_H 1
19752 _ACEOF
19753 ac_has_complex_h=yes
19754 else
19755 ac_has_complex_h=no
19758 done
19760 ac_c99_complex_tr1=no;
19761 if test x"$ac_has_complex_h" = x"yes"; then
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19763 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19765 /* end confdefs.h. */
19766 #include <complex.h>
19768 main ()
19770 typedef __complex__ float float_type; float_type tmpf;
19771 cacosf(tmpf);
19772 casinf(tmpf);
19773 catanf(tmpf);
19774 cacoshf(tmpf);
19775 casinhf(tmpf);
19776 catanhf(tmpf);
19777 typedef __complex__ double double_type; double_type tmpd;
19778 cacos(tmpd);
19779 casin(tmpd);
19780 catan(tmpd);
19781 cacosh(tmpd);
19782 casinh(tmpd);
19783 catanh(tmpd);
19784 typedef __complex__ long double ld_type; ld_type tmpld;
19785 cacosl(tmpld);
19786 casinl(tmpld);
19787 catanl(tmpld);
19788 cacoshl(tmpld);
19789 casinhl(tmpld);
19790 catanhl(tmpld);
19793 return 0;
19795 _ACEOF
19796 if ac_fn_cxx_try_compile "$LINENO"; then :
19797 ac_c99_complex_tr1=yes
19798 else
19799 ac_c99_complex_tr1=no
19801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19804 $as_echo "$ac_c99_complex_tr1" >&6; }
19805 if test x"$ac_c99_complex_tr1" = x"yes"; then
19807 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19811 # Check for the existence of <ctype.h> functions.
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19813 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19814 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19815 $as_echo_n "(cached) " >&6
19816 else
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19820 #include <ctype.h>
19822 main ()
19824 int ch;
19825 int ret;
19826 ret = isblank(ch);
19829 return 0;
19831 _ACEOF
19832 if ac_fn_cxx_try_compile "$LINENO"; then :
19833 glibcxx_cv_c99_ctype_tr1=yes
19834 else
19835 glibcxx_cv_c99_ctype_tr1=no
19837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19842 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19843 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19845 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19849 # Check for the existence of <fenv.h> functions.
19850 for ac_header in fenv.h
19851 do :
19852 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19853 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19854 cat >>confdefs.h <<_ACEOF
19855 #define HAVE_FENV_H 1
19856 _ACEOF
19857 ac_has_fenv_h=yes
19858 else
19859 ac_has_fenv_h=no
19862 done
19864 ac_c99_fenv_tr1=no;
19865 if test x"$ac_has_fenv_h" = x"yes"; then
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19867 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h. */
19870 #include <fenv.h>
19872 main ()
19874 int except, mode;
19875 fexcept_t* pflag;
19876 fenv_t* penv;
19877 int ret;
19878 ret = feclearexcept(except);
19879 ret = fegetexceptflag(pflag, except);
19880 ret = feraiseexcept(except);
19881 ret = fesetexceptflag(pflag, except);
19882 ret = fetestexcept(except);
19883 ret = fegetround();
19884 ret = fesetround(mode);
19885 ret = fegetenv(penv);
19886 ret = feholdexcept(penv);
19887 ret = fesetenv(penv);
19888 ret = feupdateenv(penv);
19891 return 0;
19893 _ACEOF
19894 if ac_fn_cxx_try_compile "$LINENO"; then :
19895 ac_c99_fenv_tr1=yes
19896 else
19897 ac_c99_fenv_tr1=no
19899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19902 $as_echo "$ac_c99_fenv_tr1" >&6; }
19903 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19905 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19909 # Check for the existence of <stdint.h> types.
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19911 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19912 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19913 $as_echo_n "(cached) " >&6
19914 else
19916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19917 /* end confdefs.h. */
19918 #define __STDC_LIMIT_MACROS
19919 #define __STDC_CONSTANT_MACROS
19920 #include <stdint.h>
19922 main ()
19924 typedef int8_t my_int8_t;
19925 my_int8_t i8 = INT8_MIN;
19926 i8 = INT8_MAX;
19927 typedef int16_t my_int16_t;
19928 my_int16_t i16 = INT16_MIN;
19929 i16 = INT16_MAX;
19930 typedef int32_t my_int32_t;
19931 my_int32_t i32 = INT32_MIN;
19932 i32 = INT32_MAX;
19933 typedef int64_t my_int64_t;
19934 my_int64_t i64 = INT64_MIN;
19935 i64 = INT64_MAX;
19936 typedef int_fast8_t my_int_fast8_t;
19937 my_int_fast8_t if8 = INT_FAST8_MIN;
19938 if8 = INT_FAST8_MAX;
19939 typedef int_fast16_t my_int_fast16_t;
19940 my_int_fast16_t if16 = INT_FAST16_MIN;
19941 if16 = INT_FAST16_MAX;
19942 typedef int_fast32_t my_int_fast32_t;
19943 my_int_fast32_t if32 = INT_FAST32_MIN;
19944 if32 = INT_FAST32_MAX;
19945 typedef int_fast64_t my_int_fast64_t;
19946 my_int_fast64_t if64 = INT_FAST64_MIN;
19947 if64 = INT_FAST64_MAX;
19948 typedef int_least8_t my_int_least8_t;
19949 my_int_least8_t il8 = INT_LEAST8_MIN;
19950 il8 = INT_LEAST8_MAX;
19951 typedef int_least16_t my_int_least16_t;
19952 my_int_least16_t il16 = INT_LEAST16_MIN;
19953 il16 = INT_LEAST16_MAX;
19954 typedef int_least32_t my_int_least32_t;
19955 my_int_least32_t il32 = INT_LEAST32_MIN;
19956 il32 = INT_LEAST32_MAX;
19957 typedef int_least64_t my_int_least64_t;
19958 my_int_least64_t il64 = INT_LEAST64_MIN;
19959 il64 = INT_LEAST64_MAX;
19960 typedef intmax_t my_intmax_t;
19961 my_intmax_t im = INTMAX_MAX;
19962 im = INTMAX_MIN;
19963 typedef intptr_t my_intptr_t;
19964 my_intptr_t ip = INTPTR_MAX;
19965 ip = INTPTR_MIN;
19966 typedef uint8_t my_uint8_t;
19967 my_uint8_t ui8 = UINT8_MAX;
19968 ui8 = UINT8_MAX;
19969 typedef uint16_t my_uint16_t;
19970 my_uint16_t ui16 = UINT16_MAX;
19971 ui16 = UINT16_MAX;
19972 typedef uint32_t my_uint32_t;
19973 my_uint32_t ui32 = UINT32_MAX;
19974 ui32 = UINT32_MAX;
19975 typedef uint64_t my_uint64_t;
19976 my_uint64_t ui64 = UINT64_MAX;
19977 ui64 = UINT64_MAX;
19978 typedef uint_fast8_t my_uint_fast8_t;
19979 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19980 uif8 = UINT_FAST8_MAX;
19981 typedef uint_fast16_t my_uint_fast16_t;
19982 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19983 uif16 = UINT_FAST16_MAX;
19984 typedef uint_fast32_t my_uint_fast32_t;
19985 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19986 uif32 = UINT_FAST32_MAX;
19987 typedef uint_fast64_t my_uint_fast64_t;
19988 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19989 uif64 = UINT_FAST64_MAX;
19990 typedef uint_least8_t my_uint_least8_t;
19991 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19992 uil8 = UINT_LEAST8_MAX;
19993 typedef uint_least16_t my_uint_least16_t;
19994 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19995 uil16 = UINT_LEAST16_MAX;
19996 typedef uint_least32_t my_uint_least32_t;
19997 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19998 uil32 = UINT_LEAST32_MAX;
19999 typedef uint_least64_t my_uint_least64_t;
20000 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20001 uil64 = UINT_LEAST64_MAX;
20002 typedef uintmax_t my_uintmax_t;
20003 my_uintmax_t uim = UINTMAX_MAX;
20004 uim = UINTMAX_MAX;
20005 typedef uintptr_t my_uintptr_t;
20006 my_uintptr_t uip = UINTPTR_MAX;
20007 uip = UINTPTR_MAX;
20010 return 0;
20012 _ACEOF
20013 if ac_fn_cxx_try_compile "$LINENO"; then :
20014 glibcxx_cv_c99_stdint_tr1=yes
20015 else
20016 glibcxx_cv_c99_stdint_tr1=no
20018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20023 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20024 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20026 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20030 # Check for the existence of <math.h> functions.
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20032 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20033 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20034 $as_echo_n "(cached) " >&6
20035 else
20037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20038 /* end confdefs.h. */
20039 #include <math.h>
20041 main ()
20043 typedef double_t my_double_t;
20044 typedef float_t my_float_t;
20045 acosh(0.0);
20046 acoshf(0.0f);
20047 acoshl(0.0l);
20048 asinh(0.0);
20049 asinhf(0.0f);
20050 asinhl(0.0l);
20051 atanh(0.0);
20052 atanhf(0.0f);
20053 atanhl(0.0l);
20054 cbrt(0.0);
20055 cbrtf(0.0f);
20056 cbrtl(0.0l);
20057 copysign(0.0, 0.0);
20058 copysignf(0.0f, 0.0f);
20059 copysignl(0.0l, 0.0l);
20060 erf(0.0);
20061 erff(0.0f);
20062 erfl(0.0l);
20063 erfc(0.0);
20064 erfcf(0.0f);
20065 erfcl(0.0l);
20066 exp2(0.0);
20067 exp2f(0.0f);
20068 exp2l(0.0l);
20069 expm1(0.0);
20070 expm1f(0.0f);
20071 expm1l(0.0l);
20072 fdim(0.0, 0.0);
20073 fdimf(0.0f, 0.0f);
20074 fdiml(0.0l, 0.0l);
20075 fma(0.0, 0.0, 0.0);
20076 fmaf(0.0f, 0.0f, 0.0f);
20077 fmal(0.0l, 0.0l, 0.0l);
20078 fmax(0.0, 0.0);
20079 fmaxf(0.0f, 0.0f);
20080 fmaxl(0.0l, 0.0l);
20081 fmin(0.0, 0.0);
20082 fminf(0.0f, 0.0f);
20083 fminl(0.0l, 0.0l);
20084 hypot(0.0, 0.0);
20085 hypotf(0.0f, 0.0f);
20086 hypotl(0.0l, 0.0l);
20087 ilogb(0.0);
20088 ilogbf(0.0f);
20089 ilogbl(0.0l);
20090 lgamma(0.0);
20091 lgammaf(0.0f);
20092 lgammal(0.0l);
20093 #ifndef __APPLE__ /* see below */
20094 llrint(0.0);
20095 llrintf(0.0f);
20096 llrintl(0.0l);
20097 llround(0.0);
20098 llroundf(0.0f);
20099 llroundl(0.0l);
20100 #endif
20101 log1p(0.0);
20102 log1pf(0.0f);
20103 log1pl(0.0l);
20104 log2(0.0);
20105 log2f(0.0f);
20106 log2l(0.0l);
20107 logb(0.0);
20108 logbf(0.0f);
20109 logbl(0.0l);
20110 lrint(0.0);
20111 lrintf(0.0f);
20112 lrintl(0.0l);
20113 lround(0.0);
20114 lroundf(0.0f);
20115 lroundl(0.0l);
20116 nan(0);
20117 nanf(0);
20118 nanl(0);
20119 nearbyint(0.0);
20120 nearbyintf(0.0f);
20121 nearbyintl(0.0l);
20122 nextafter(0.0, 0.0);
20123 nextafterf(0.0f, 0.0f);
20124 nextafterl(0.0l, 0.0l);
20125 nexttoward(0.0, 0.0);
20126 nexttowardf(0.0f, 0.0f);
20127 nexttowardl(0.0l, 0.0l);
20128 remainder(0.0, 0.0);
20129 remainderf(0.0f, 0.0f);
20130 remainderl(0.0l, 0.0l);
20131 remquo(0.0, 0.0, 0);
20132 remquof(0.0f, 0.0f, 0);
20133 remquol(0.0l, 0.0l, 0);
20134 rint(0.0);
20135 rintf(0.0f);
20136 rintl(0.0l);
20137 round(0.0);
20138 roundf(0.0f);
20139 roundl(0.0l);
20140 scalbln(0.0, 0l);
20141 scalblnf(0.0f, 0l);
20142 scalblnl(0.0l, 0l);
20143 scalbn(0.0, 0);
20144 scalbnf(0.0f, 0);
20145 scalbnl(0.0l, 0);
20146 tgamma(0.0);
20147 tgammaf(0.0f);
20148 tgammal(0.0l);
20149 trunc(0.0);
20150 truncf(0.0f);
20151 truncl(0.0l);
20154 return 0;
20156 _ACEOF
20157 if ac_fn_cxx_try_compile "$LINENO"; then :
20158 glibcxx_cv_c99_math_tr1=yes
20159 else
20160 glibcxx_cv_c99_math_tr1=no
20162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20167 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20168 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20170 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20173 case "${target_os}" in
20174 darwin*)
20175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20176 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20177 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20178 $as_echo_n "(cached) " >&6
20179 else
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20183 #include <math.h>
20185 main ()
20187 llrint(0.0);
20188 llrintf(0.0f);
20189 llrintl(0.0l);
20190 llround(0.0);
20191 llroundf(0.0f);
20192 llroundl(0.0l);
20195 return 0;
20197 _ACEOF
20198 if ac_fn_cxx_try_compile "$LINENO"; then :
20199 glibcxx_cv_c99_math_llround=yes
20200 else
20201 glibcxx_cv_c99_math_llround=no
20203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20208 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20210 esac
20211 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20213 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20218 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20219 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20220 ac_c99_inttypes_tr1=no;
20221 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20223 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h. */
20226 #include <inttypes.h>
20228 main ()
20230 intmax_t i, numer, denom, base;
20231 const char* s;
20232 char** endptr;
20233 intmax_t ret = imaxabs(i);
20234 imaxdiv_t dret = imaxdiv(numer, denom);
20235 ret = strtoimax(s, endptr, base);
20236 uintmax_t uret = strtoumax(s, endptr, base);
20239 return 0;
20241 _ACEOF
20242 if ac_fn_cxx_try_compile "$LINENO"; then :
20243 ac_c99_inttypes_tr1=yes
20244 else
20245 ac_c99_inttypes_tr1=no
20247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20250 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20251 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20253 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20257 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20258 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20259 ac_c99_inttypes_wchar_t_tr1=no;
20260 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20262 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20264 /* end confdefs.h. */
20265 #include <inttypes.h>
20267 main ()
20269 intmax_t base;
20270 const wchar_t* s;
20271 wchar_t** endptr;
20272 intmax_t ret = wcstoimax(s, endptr, base);
20273 uintmax_t uret = wcstoumax(s, endptr, base);
20276 return 0;
20278 _ACEOF
20279 if ac_fn_cxx_try_compile "$LINENO"; then :
20280 ac_c99_inttypes_wchar_t_tr1=yes
20281 else
20282 ac_c99_inttypes_wchar_t_tr1=no
20284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20287 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20288 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20290 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20294 # Check for the existence of the <stdbool.h> header.
20295 for ac_header in stdbool.h
20296 do :
20297 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20298 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20299 cat >>confdefs.h <<_ACEOF
20300 #define HAVE_STDBOOL_H 1
20301 _ACEOF
20305 done
20308 # Check for the existence of the <stdalign.h> header.
20309 for ac_header in stdalign.h
20310 do :
20311 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20312 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20313 cat >>confdefs.h <<_ACEOF
20314 #define HAVE_STDALIGN_H 1
20315 _ACEOF
20319 done
20322 CXXFLAGS="$ac_save_CXXFLAGS"
20323 ac_ext=c
20324 ac_cpp='$CPP $CPPFLAGS'
20325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20331 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20335 $as_echo_n "checking for the value of EOF... " >&6; }
20336 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20337 $as_echo_n "(cached) " >&6
20338 else
20340 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20342 else
20343 as_fn_error "computing EOF failed" "$LINENO" 5
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20349 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20351 cat >>confdefs.h <<_ACEOF
20352 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20353 _ACEOF
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20357 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20358 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20359 $as_echo_n "(cached) " >&6
20360 else
20362 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20364 else
20365 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20371 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20373 cat >>confdefs.h <<_ACEOF
20374 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20375 _ACEOF
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20379 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20380 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20381 $as_echo_n "(cached) " >&6
20382 else
20384 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20386 else
20387 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20393 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20395 cat >>confdefs.h <<_ACEOF
20396 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20397 _ACEOF
20401 # For gettimeofday support.
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20405 $as_echo_n "checking for gettimeofday... " >&6; }
20408 ac_ext=cpp
20409 ac_cpp='$CXXCPP $CPPFLAGS'
20410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20414 ac_save_CXXFLAGS="$CXXFLAGS"
20415 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20417 ac_has_gettimeofday=no;
20418 for ac_header in sys/time.h
20419 do :
20420 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20421 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20422 cat >>confdefs.h <<_ACEOF
20423 #define HAVE_SYS_TIME_H 1
20424 _ACEOF
20425 ac_has_sys_time_h=yes
20426 else
20427 ac_has_sys_time_h=no
20430 done
20432 if test x"$ac_has_sys_time_h" = x"yes"; then
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20434 $as_echo_n "checking for gettimeofday... " >&6; }
20435 if test x$gcc_no_link = xyes; then
20436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h. */
20438 #include <sys/time.h>
20440 main ()
20442 timeval tv; gettimeofday(&tv, 0);
20444 return 0;
20446 _ACEOF
20447 if ac_fn_cxx_try_compile "$LINENO"; then :
20448 ac_has_gettimeofday=yes
20449 else
20450 ac_has_gettimeofday=no
20452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20453 else
20454 if test x$gcc_no_link = xyes; then
20455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20458 /* end confdefs.h. */
20459 #include <sys/time.h>
20461 main ()
20463 timeval tv; gettimeofday(&tv, 0);
20465 return 0;
20467 _ACEOF
20468 if ac_fn_cxx_try_link "$LINENO"; then :
20469 ac_has_gettimeofday=yes
20470 else
20471 ac_has_gettimeofday=no
20473 rm -f core conftest.err conftest.$ac_objext \
20474 conftest$ac_exeext conftest.$ac_ext
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20478 $as_echo "$ac_has_gettimeofday" >&6; }
20481 if test x"$ac_has_gettimeofday" = x"yes"; then
20483 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20487 CXXFLAGS="$ac_save_CXXFLAGS"
20488 ac_ext=c
20489 ac_cpp='$CPP $CPPFLAGS'
20490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20496 # For clock_gettime, nanosleep and sched_yield support.
20499 # Check whether --enable-libstdcxx-time was given.
20500 if test "${enable_libstdcxx_time+set}" = set; then :
20501 enableval=$enable_libstdcxx_time;
20502 case "$enableval" in
20503 yes|no|rt) ;;
20504 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20505 esac
20507 else
20508 enable_libstdcxx_time=auto
20514 ac_ext=cpp
20515 ac_cpp='$CXXCPP $CPPFLAGS'
20516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20520 ac_save_CXXFLAGS="$CXXFLAGS"
20521 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20522 ac_save_LIBS="$LIBS"
20524 ac_has_clock_monotonic=no
20525 ac_has_clock_realtime=no
20526 ac_has_nanosleep=no
20527 ac_has_sched_yield=no
20529 if test x"$enable_libstdcxx_time" = x"auto"; then
20531 case "${target_os}" in
20532 cygwin*)
20533 ac_has_nanosleep=yes
20535 darwin*)
20536 ac_has_nanosleep=yes
20537 ac_has_sched_yield=yes
20539 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20541 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20543 /* end confdefs.h. */
20544 #include <features.h>
20546 main ()
20549 #if ! __GLIBC_PREREQ(2, 17)
20550 #error
20551 #endif
20554 return 0;
20556 _ACEOF
20557 if ac_fn_cxx_try_compile "$LINENO"; then :
20558 glibcxx_glibc217=yes
20559 else
20560 glibcxx_glibc217=no
20562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20564 $as_echo "$glibcxx_glibc217" >&6; }
20566 if test x"$glibcxx_glibc217" = x"yes"; then
20567 ac_has_clock_monotonic=yes
20568 ac_has_clock_realtime=yes
20570 ac_has_nanosleep=yes
20571 ac_has_sched_yield=yes
20573 freebsd*|netbsd*|dragonfly*|rtems*)
20574 ac_has_clock_monotonic=yes
20575 ac_has_clock_realtime=yes
20576 ac_has_nanosleep=yes
20577 ac_has_sched_yield=yes
20579 openbsd*)
20580 ac_has_clock_monotonic=yes
20581 ac_has_clock_realtime=yes
20582 ac_has_nanosleep=yes
20584 solaris*)
20585 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20586 ac_has_clock_monotonic=yes
20587 ac_has_clock_realtime=yes
20588 ac_has_nanosleep=yes
20589 ac_has_sched_yield=yes
20591 esac
20593 elif test x"$enable_libstdcxx_time" != x"no"; then
20595 if test x"$enable_libstdcxx_time" = x"rt"; then
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20597 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20598 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20599 $as_echo_n "(cached) " >&6
20600 else
20601 ac_func_search_save_LIBS=$LIBS
20602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20603 /* end confdefs.h. */
20605 /* Override any GCC internal prototype to avoid an error.
20606 Use char because int might match the return type of a GCC
20607 builtin and then its argument prototype would still apply. */
20608 #ifdef __cplusplus
20609 extern "C"
20610 #endif
20611 char clock_gettime ();
20613 main ()
20615 return clock_gettime ();
20617 return 0;
20619 _ACEOF
20620 for ac_lib in '' rt posix4; do
20621 if test -z "$ac_lib"; then
20622 ac_res="none required"
20623 else
20624 ac_res=-l$ac_lib
20625 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20627 if test x$gcc_no_link = xyes; then
20628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20630 if ac_fn_cxx_try_link "$LINENO"; then :
20631 ac_cv_search_clock_gettime=$ac_res
20633 rm -f core conftest.err conftest.$ac_objext \
20634 conftest$ac_exeext
20635 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20636 break
20638 done
20639 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20641 else
20642 ac_cv_search_clock_gettime=no
20644 rm conftest.$ac_ext
20645 LIBS=$ac_func_search_save_LIBS
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20648 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20649 ac_res=$ac_cv_search_clock_gettime
20650 if test "$ac_res" != no; then :
20651 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20656 $as_echo_n "checking for library containing nanosleep... " >&6; }
20657 if test "${ac_cv_search_nanosleep+set}" = set; then :
20658 $as_echo_n "(cached) " >&6
20659 else
20660 ac_func_search_save_LIBS=$LIBS
20661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h. */
20664 /* Override any GCC internal prototype to avoid an error.
20665 Use char because int might match the return type of a GCC
20666 builtin and then its argument prototype would still apply. */
20667 #ifdef __cplusplus
20668 extern "C"
20669 #endif
20670 char nanosleep ();
20672 main ()
20674 return nanosleep ();
20676 return 0;
20678 _ACEOF
20679 for ac_lib in '' rt posix4; do
20680 if test -z "$ac_lib"; then
20681 ac_res="none required"
20682 else
20683 ac_res=-l$ac_lib
20684 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20686 if test x$gcc_no_link = xyes; then
20687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20689 if ac_fn_cxx_try_link "$LINENO"; then :
20690 ac_cv_search_nanosleep=$ac_res
20692 rm -f core conftest.err conftest.$ac_objext \
20693 conftest$ac_exeext
20694 if test "${ac_cv_search_nanosleep+set}" = set; then :
20695 break
20697 done
20698 if test "${ac_cv_search_nanosleep+set}" = set; then :
20700 else
20701 ac_cv_search_nanosleep=no
20703 rm conftest.$ac_ext
20704 LIBS=$ac_func_search_save_LIBS
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20707 $as_echo "$ac_cv_search_nanosleep" >&6; }
20708 ac_res=$ac_cv_search_nanosleep
20709 if test "$ac_res" != no; then :
20710 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20714 else
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20716 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20717 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20718 $as_echo_n "(cached) " >&6
20719 else
20720 ac_func_search_save_LIBS=$LIBS
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h. */
20724 /* Override any GCC internal prototype to avoid an error.
20725 Use char because int might match the return type of a GCC
20726 builtin and then its argument prototype would still apply. */
20727 #ifdef __cplusplus
20728 extern "C"
20729 #endif
20730 char clock_gettime ();
20732 main ()
20734 return clock_gettime ();
20736 return 0;
20738 _ACEOF
20739 for ac_lib in '' posix4; do
20740 if test -z "$ac_lib"; then
20741 ac_res="none required"
20742 else
20743 ac_res=-l$ac_lib
20744 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20746 if test x$gcc_no_link = xyes; then
20747 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20749 if ac_fn_cxx_try_link "$LINENO"; then :
20750 ac_cv_search_clock_gettime=$ac_res
20752 rm -f core conftest.err conftest.$ac_objext \
20753 conftest$ac_exeext
20754 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20755 break
20757 done
20758 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20760 else
20761 ac_cv_search_clock_gettime=no
20763 rm conftest.$ac_ext
20764 LIBS=$ac_func_search_save_LIBS
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20767 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20768 ac_res=$ac_cv_search_clock_gettime
20769 if test "$ac_res" != no; then :
20770 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20775 $as_echo_n "checking for library containing nanosleep... " >&6; }
20776 if test "${ac_cv_search_nanosleep+set}" = set; then :
20777 $as_echo_n "(cached) " >&6
20778 else
20779 ac_func_search_save_LIBS=$LIBS
20780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20781 /* end confdefs.h. */
20783 /* Override any GCC internal prototype to avoid an error.
20784 Use char because int might match the return type of a GCC
20785 builtin and then its argument prototype would still apply. */
20786 #ifdef __cplusplus
20787 extern "C"
20788 #endif
20789 char nanosleep ();
20791 main ()
20793 return nanosleep ();
20795 return 0;
20797 _ACEOF
20798 for ac_lib in '' posix4; do
20799 if test -z "$ac_lib"; then
20800 ac_res="none required"
20801 else
20802 ac_res=-l$ac_lib
20803 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20805 if test x$gcc_no_link = xyes; then
20806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20808 if ac_fn_cxx_try_link "$LINENO"; then :
20809 ac_cv_search_nanosleep=$ac_res
20811 rm -f core conftest.err conftest.$ac_objext \
20812 conftest$ac_exeext
20813 if test "${ac_cv_search_nanosleep+set}" = set; then :
20814 break
20816 done
20817 if test "${ac_cv_search_nanosleep+set}" = set; then :
20819 else
20820 ac_cv_search_nanosleep=no
20822 rm conftest.$ac_ext
20823 LIBS=$ac_func_search_save_LIBS
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20826 $as_echo "$ac_cv_search_nanosleep" >&6; }
20827 ac_res=$ac_cv_search_nanosleep
20828 if test "$ac_res" != no; then :
20829 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20835 case "$ac_cv_search_clock_gettime" in
20836 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20838 esac
20839 case "$ac_cv_search_nanosleep" in
20840 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20842 esac
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20845 $as_echo_n "checking for library containing sched_yield... " >&6; }
20846 if test "${ac_cv_search_sched_yield+set}" = set; then :
20847 $as_echo_n "(cached) " >&6
20848 else
20849 ac_func_search_save_LIBS=$LIBS
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h. */
20853 /* Override any GCC internal prototype to avoid an error.
20854 Use char because int might match the return type of a GCC
20855 builtin and then its argument prototype would still apply. */
20856 #ifdef __cplusplus
20857 extern "C"
20858 #endif
20859 char sched_yield ();
20861 main ()
20863 return sched_yield ();
20865 return 0;
20867 _ACEOF
20868 for ac_lib in '' rt posix4; do
20869 if test -z "$ac_lib"; then
20870 ac_res="none required"
20871 else
20872 ac_res=-l$ac_lib
20873 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20875 if test x$gcc_no_link = xyes; then
20876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20878 if ac_fn_cxx_try_link "$LINENO"; then :
20879 ac_cv_search_sched_yield=$ac_res
20881 rm -f core conftest.err conftest.$ac_objext \
20882 conftest$ac_exeext
20883 if test "${ac_cv_search_sched_yield+set}" = set; then :
20884 break
20886 done
20887 if test "${ac_cv_search_sched_yield+set}" = set; then :
20889 else
20890 ac_cv_search_sched_yield=no
20892 rm conftest.$ac_ext
20893 LIBS=$ac_func_search_save_LIBS
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20896 $as_echo "$ac_cv_search_sched_yield" >&6; }
20897 ac_res=$ac_cv_search_sched_yield
20898 if test "$ac_res" != no; then :
20899 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20904 case "$ac_cv_search_sched_yield" in
20905 -lposix4*)
20906 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20907 ac_has_sched_yield=yes
20909 -lrt*)
20910 if test x"$enable_libstdcxx_time" = x"rt"; then
20911 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20912 ac_has_sched_yield=yes
20916 ac_has_sched_yield=yes
20918 esac
20920 for ac_header in unistd.h
20921 do :
20922 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20923 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20924 cat >>confdefs.h <<_ACEOF
20925 #define HAVE_UNISTD_H 1
20926 _ACEOF
20927 ac_has_unistd_h=yes
20928 else
20929 ac_has_unistd_h=no
20932 done
20935 if test x"$ac_has_unistd_h" = x"yes"; then
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20937 $as_echo_n "checking for monotonic clock... " >&6; }
20938 if test x$gcc_no_link = xyes; then
20939 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h. */
20943 #include <unistd.h>
20944 #include <time.h>
20947 main ()
20949 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20950 timespec tp;
20951 #endif
20952 clock_gettime(CLOCK_MONOTONIC, &tp);
20955 return 0;
20957 _ACEOF
20958 if ac_fn_cxx_try_link "$LINENO"; then :
20959 ac_has_clock_monotonic=yes
20960 else
20961 ac_has_clock_monotonic=no
20963 rm -f core conftest.err conftest.$ac_objext \
20964 conftest$ac_exeext conftest.$ac_ext
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20967 $as_echo "$ac_has_clock_monotonic" >&6; }
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20970 $as_echo_n "checking for realtime clock... " >&6; }
20971 if test x$gcc_no_link = xyes; then
20972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20975 /* end confdefs.h. */
20976 #include <unistd.h>
20977 #include <time.h>
20980 main ()
20982 #if _POSIX_TIMERS > 0
20983 timespec tp;
20984 #endif
20985 clock_gettime(CLOCK_REALTIME, &tp);
20988 return 0;
20990 _ACEOF
20991 if ac_fn_cxx_try_link "$LINENO"; then :
20992 ac_has_clock_realtime=yes
20993 else
20994 ac_has_clock_realtime=no
20996 rm -f core conftest.err conftest.$ac_objext \
20997 conftest$ac_exeext conftest.$ac_ext
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21000 $as_echo "$ac_has_clock_realtime" >&6; }
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21003 $as_echo_n "checking for nanosleep... " >&6; }
21004 if test x$gcc_no_link = xyes; then
21005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21008 /* end confdefs.h. */
21009 #include <unistd.h>
21010 #include <time.h>
21013 main ()
21015 #if _POSIX_TIMERS > 0
21016 timespec tp;
21017 #endif
21018 nanosleep(&tp, 0);
21021 return 0;
21023 _ACEOF
21024 if ac_fn_cxx_try_link "$LINENO"; then :
21025 ac_has_nanosleep=yes
21026 else
21027 ac_has_nanosleep=no
21029 rm -f core conftest.err conftest.$ac_objext \
21030 conftest$ac_exeext conftest.$ac_ext
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21033 $as_echo "$ac_has_nanosleep" >&6; }
21037 if test x"$ac_has_clock_monotonic" != x"yes"; then
21038 case ${target_os} in
21039 linux*)
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21041 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21043 /* end confdefs.h. */
21044 #include <unistd.h>
21045 #include <time.h>
21046 #include <sys/syscall.h>
21049 main ()
21051 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21052 timespec tp;
21053 #endif
21054 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21055 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21058 return 0;
21060 _ACEOF
21061 if ac_fn_cxx_try_compile "$LINENO"; then :
21062 ac_has_clock_monotonic_syscall=yes
21063 else
21064 ac_has_clock_monotonic_syscall=no
21066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21068 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21069 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21071 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21073 ac_has_clock_monotonic=yes
21074 ac_has_clock_realtime=yes
21075 fi;;
21076 esac
21079 if test x"$ac_has_clock_monotonic" = x"yes"; then
21081 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21085 if test x"$ac_has_clock_realtime" = x"yes"; then
21087 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21091 if test x"$ac_has_sched_yield" = x"yes"; then
21093 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21097 if test x"$ac_has_nanosleep" = x"yes"; then
21099 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21101 else
21102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21103 $as_echo_n "checking for sleep... " >&6; }
21104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h. */
21106 #include <unistd.h>
21108 main ()
21110 sleep(1)
21112 return 0;
21114 _ACEOF
21115 if ac_fn_cxx_try_compile "$LINENO"; then :
21116 ac_has_sleep=yes
21117 else
21118 ac_has_sleep=no
21120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21121 if test x"$ac_has_sleep" = x"yes"; then
21123 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21127 $as_echo "$ac_has_sleep" >&6; }
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21129 $as_echo_n "checking for usleep... " >&6; }
21130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21131 /* end confdefs.h. */
21132 #include <unistd.h>
21134 main ()
21136 sleep(1);
21137 usleep(100);
21139 return 0;
21141 _ACEOF
21142 if ac_fn_cxx_try_compile "$LINENO"; then :
21143 ac_has_usleep=yes
21144 else
21145 ac_has_usleep=no
21147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21148 if test x"$ac_has_usleep" = x"yes"; then
21150 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21154 $as_echo "$ac_has_usleep" >&6; }
21157 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21159 $as_echo_n "checking for Sleep... " >&6; }
21160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21161 /* end confdefs.h. */
21162 #include <windows.h>
21164 main ()
21166 Sleep(1)
21168 return 0;
21170 _ACEOF
21171 if ac_fn_cxx_try_compile "$LINENO"; then :
21172 ac_has_win32_sleep=yes
21173 else
21174 ac_has_win32_sleep=no
21176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21177 if test x"$ac_has_win32_sleep" = x"yes"; then
21179 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21183 $as_echo "$ac_has_win32_sleep" >&6; }
21188 CXXFLAGS="$ac_save_CXXFLAGS"
21189 LIBS="$ac_save_LIBS"
21190 ac_ext=c
21191 ac_cpp='$CPP $CPPFLAGS'
21192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21198 # Check for tmpnam which is obsolescent in POSIX.1-2008
21200 ac_ext=cpp
21201 ac_cpp='$CXXCPP $CPPFLAGS'
21202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21206 ac_save_CXXFLAGS="$CXXFLAGS"
21207 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21209 $as_echo_n "checking for tmpnam... " >&6; }
21210 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21211 $as_echo_n "(cached) " >&6
21212 else
21213 if test x$gcc_no_link = xyes; then
21214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21215 /* end confdefs.h. */
21216 #include <stdio.h>
21218 main ()
21220 char *tmp = tmpnam(NULL);
21222 return 0;
21224 _ACEOF
21225 if ac_fn_cxx_try_compile "$LINENO"; then :
21226 glibcxx_cv_TMPNAM=yes
21227 else
21228 glibcxx_cv_TMPNAM=no
21230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21231 else
21232 if test x$gcc_no_link = xyes; then
21233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21236 /* end confdefs.h. */
21237 #include <stdio.h>
21239 main ()
21241 char *tmp = tmpnam(NULL);
21243 return 0;
21245 _ACEOF
21246 if ac_fn_cxx_try_link "$LINENO"; then :
21247 glibcxx_cv_TMPNAM=yes
21248 else
21249 glibcxx_cv_TMPNAM=no
21251 rm -f core conftest.err conftest.$ac_objext \
21252 conftest$ac_exeext conftest.$ac_ext
21257 if test $glibcxx_cv_TMPNAM = yes; then
21259 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21263 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21264 CXXFLAGS="$ac_save_CXXFLAGS"
21265 ac_ext=c
21266 ac_cpp='$CPP $CPPFLAGS'
21267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21274 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21275 if test "x$ac_cv_header_locale_h" = x""yes; then :
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21278 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21279 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21280 $as_echo_n "(cached) " >&6
21281 else
21282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21283 /* end confdefs.h. */
21284 #include <locale.h>
21286 main ()
21288 return LC_MESSAGES
21290 return 0;
21292 _ACEOF
21293 if ac_fn_c_try_compile "$LINENO"; then :
21294 ac_cv_val_LC_MESSAGES=yes
21295 else
21296 ac_cv_val_LC_MESSAGES=no
21298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21301 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21302 if test $ac_cv_val_LC_MESSAGES = yes; then
21304 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21313 # For hardware_concurrency
21314 for ac_header in sys/sysinfo.h
21315 do :
21316 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21317 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21318 cat >>confdefs.h <<_ACEOF
21319 #define HAVE_SYS_SYSINFO_H 1
21320 _ACEOF
21324 done
21329 ac_ext=cpp
21330 ac_cpp='$CXXCPP $CPPFLAGS'
21331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21335 ac_save_CXXFLAGS="$CXXFLAGS"
21336 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21339 $as_echo_n "checking for get_nprocs... " >&6; }
21340 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21341 $as_echo_n "(cached) " >&6
21342 else
21344 if test x$gcc_no_link = xyes; then
21345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21346 /* end confdefs.h. */
21347 #include <sys/sysinfo.h>
21349 main ()
21351 int n = get_nprocs();
21353 return 0;
21355 _ACEOF
21356 if ac_fn_cxx_try_compile "$LINENO"; then :
21357 glibcxx_cv_GET_NPROCS=yes
21358 else
21359 glibcxx_cv_GET_NPROCS=no
21361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21362 else
21363 if test x$gcc_no_link = xyes; then
21364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21367 /* end confdefs.h. */
21368 #include <sys/sysinfo.h>
21370 main ()
21372 int n = get_nprocs();
21374 return 0;
21376 _ACEOF
21377 if ac_fn_cxx_try_link "$LINENO"; then :
21378 glibcxx_cv_GET_NPROCS=yes
21379 else
21380 glibcxx_cv_GET_NPROCS=no
21382 rm -f core conftest.err conftest.$ac_objext \
21383 conftest$ac_exeext conftest.$ac_ext
21388 if test $glibcxx_cv_GET_NPROCS = yes; then
21390 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21394 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21396 CXXFLAGS="$ac_save_CXXFLAGS"
21397 ac_ext=c
21398 ac_cpp='$CPP $CPPFLAGS'
21399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21404 for ac_header in unistd.h
21405 do :
21406 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21407 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21408 cat >>confdefs.h <<_ACEOF
21409 #define HAVE_UNISTD_H 1
21410 _ACEOF
21414 done
21419 ac_ext=cpp
21420 ac_cpp='$CXXCPP $CPPFLAGS'
21421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21425 ac_save_CXXFLAGS="$CXXFLAGS"
21426 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21429 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21430 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21431 $as_echo_n "(cached) " >&6
21432 else
21434 if test x$gcc_no_link = xyes; then
21435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 /* end confdefs.h. */
21437 #include <unistd.h>
21439 main ()
21441 int n = sysconf(_SC_NPROCESSORS_ONLN);
21443 return 0;
21445 _ACEOF
21446 if ac_fn_cxx_try_compile "$LINENO"; then :
21447 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21448 else
21449 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 else
21453 if test x$gcc_no_link = xyes; then
21454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21457 /* end confdefs.h. */
21458 #include <unistd.h>
21460 main ()
21462 int n = sysconf(_SC_NPROCESSORS_ONLN);
21464 return 0;
21466 _ACEOF
21467 if ac_fn_cxx_try_link "$LINENO"; then :
21468 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21469 else
21470 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21472 rm -f core conftest.err conftest.$ac_objext \
21473 conftest$ac_exeext conftest.$ac_ext
21478 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21480 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21484 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21486 CXXFLAGS="$ac_save_CXXFLAGS"
21487 ac_ext=c
21488 ac_cpp='$CPP $CPPFLAGS'
21489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21497 ac_ext=cpp
21498 ac_cpp='$CXXCPP $CPPFLAGS'
21499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21503 ac_save_CXXFLAGS="$CXXFLAGS"
21504 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21507 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21508 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21509 $as_echo_n "(cached) " >&6
21510 else
21512 if test x$gcc_no_link = xyes; then
21513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21514 /* end confdefs.h. */
21515 #include <unistd.h>
21517 main ()
21519 int n = sysconf(_SC_NPROC_ONLN);
21521 return 0;
21523 _ACEOF
21524 if ac_fn_cxx_try_compile "$LINENO"; then :
21525 glibcxx_cv_SC_NPROC_ONLN=yes
21526 else
21527 glibcxx_cv_SC_NPROC_ONLN=no
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 else
21531 if test x$gcc_no_link = xyes; then
21532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <unistd.h>
21538 main ()
21540 int n = sysconf(_SC_NPROC_ONLN);
21542 return 0;
21544 _ACEOF
21545 if ac_fn_cxx_try_link "$LINENO"; then :
21546 glibcxx_cv_SC_NPROC_ONLN=yes
21547 else
21548 glibcxx_cv_SC_NPROC_ONLN=no
21550 rm -f core conftest.err conftest.$ac_objext \
21551 conftest$ac_exeext conftest.$ac_ext
21556 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21558 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21562 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21564 CXXFLAGS="$ac_save_CXXFLAGS"
21565 ac_ext=c
21566 ac_cpp='$CPP $CPPFLAGS'
21567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21575 ac_ext=cpp
21576 ac_cpp='$CXXCPP $CPPFLAGS'
21577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21581 ac_save_CXXFLAGS="$CXXFLAGS"
21582 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21585 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21586 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21588 else
21590 if test x$gcc_no_link = xyes; then
21591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21592 /* end confdefs.h. */
21593 #include <pthread.h>
21595 main ()
21597 int n = pthread_num_processors_np();
21599 return 0;
21601 _ACEOF
21602 if ac_fn_cxx_try_compile "$LINENO"; then :
21603 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21604 else
21605 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21608 else
21609 if test x$gcc_no_link = xyes; then
21610 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21613 /* end confdefs.h. */
21614 #include <pthread.h>
21616 main ()
21618 int n = pthread_num_processors_np();
21620 return 0;
21622 _ACEOF
21623 if ac_fn_cxx_try_link "$LINENO"; then :
21624 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21625 else
21626 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21628 rm -f core conftest.err conftest.$ac_objext \
21629 conftest$ac_exeext conftest.$ac_ext
21634 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21636 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21640 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21642 CXXFLAGS="$ac_save_CXXFLAGS"
21643 ac_ext=c
21644 ac_cpp='$CPP $CPPFLAGS'
21645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21653 ac_ext=cpp
21654 ac_cpp='$CXXCPP $CPPFLAGS'
21655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21659 ac_save_CXXFLAGS="$CXXFLAGS"
21660 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21663 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21664 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21665 $as_echo_n "(cached) " >&6
21666 else
21668 if test x$gcc_no_link = xyes; then
21669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21670 /* end confdefs.h. */
21672 #include <stddef.h>
21673 #include <sys/sysctl.h>
21676 main ()
21679 int count;
21680 size_t size = sizeof(count);
21681 int mib[] = { CTL_HW, HW_NCPU };
21682 sysctl(mib, 2, &count, &size, NULL, 0);
21685 return 0;
21687 _ACEOF
21688 if ac_fn_cxx_try_compile "$LINENO"; then :
21689 glibcxx_cv_SYSCTL_HW_NCPU=yes
21690 else
21691 glibcxx_cv_SYSCTL_HW_NCPU=no
21693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 else
21695 if test x$gcc_no_link = xyes; then
21696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21699 /* end confdefs.h. */
21701 #include <stddef.h>
21702 #include <sys/sysctl.h>
21705 main ()
21708 int count;
21709 size_t size = sizeof(count);
21710 int mib[] = { CTL_HW, HW_NCPU };
21711 sysctl(mib, 2, &count, &size, NULL, 0);
21714 return 0;
21716 _ACEOF
21717 if ac_fn_cxx_try_link "$LINENO"; then :
21718 glibcxx_cv_SYSCTL_HW_NCPU=yes
21719 else
21720 glibcxx_cv_SYSCTL_HW_NCPU=no
21722 rm -f core conftest.err conftest.$ac_objext \
21723 conftest$ac_exeext conftest.$ac_ext
21728 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21730 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21734 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21736 CXXFLAGS="$ac_save_CXXFLAGS"
21737 ac_ext=c
21738 ac_cpp='$CPP $CPPFLAGS'
21739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21746 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21747 # Note that this test has to be run with the C language.
21748 # Otherwise, sdt.h will try to include some headers from
21749 # libstdc++ itself.
21751 ac_ext=c
21752 ac_cpp='$CPP $CPPFLAGS'
21753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21757 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21758 $as_echo_n "(cached) " >&6
21759 else
21761 # Because we have to run the test in C, we use grep rather
21762 # than the compiler to check for the bug. The bug is that
21763 # were strings without trailing whitespace, causing g++
21764 # to look for operator"". The pattern searches for the fixed
21765 # output.
21766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21767 /* end confdefs.h. */
21769 #include <sys/sdt.h>
21770 int f() { STAP_PROBE(hi, bob); }
21772 _ACEOF
21773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21774 $EGREP " \",\" " >/dev/null 2>&1; then :
21775 glibcxx_cv_sys_sdt_h=yes
21776 else
21777 glibcxx_cv_sys_sdt_h=no
21779 rm -f conftest*
21784 ac_ext=c
21785 ac_cpp='$CPP $CPPFLAGS'
21786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21790 if test $glibcxx_cv_sys_sdt_h = yes; then
21792 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21796 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21799 # Check for available headers.
21800 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21801 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21802 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21803 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21804 wchar.h wctype.h linux/types.h
21805 do :
21806 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21807 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21808 eval as_val=\$$as_ac_Header
21809 if test "x$as_val" = x""yes; then :
21810 cat >>confdefs.h <<_ACEOF
21811 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21812 _ACEOF
21816 done
21819 for ac_header in linux/random.h
21820 do :
21821 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21822 # include <linux/types.h>
21823 #endif
21826 if test "x$ac_cv_header_linux_random_h" = x""yes; then :
21827 cat >>confdefs.h <<_ACEOF
21828 #define HAVE_LINUX_RANDOM_H 1
21829 _ACEOF
21833 done
21836 # Only do link tests if native. Else, hardcode.
21837 if $GLIBCXX_IS_NATIVE; then
21839 # We can do more elaborate tests that assume a working linker.
21840 CANADIAN=no
21844 # Check whether --with-gnu-ld was given.
21845 if test "${with_gnu_ld+set}" = set; then :
21846 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21847 else
21848 with_gnu_ld=no
21851 ac_prog=ld
21852 if test "$GCC" = yes; then
21853 # Check if gcc -print-prog-name=ld gives a path.
21854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21855 $as_echo_n "checking for ld used by $CC... " >&6; }
21856 case $host in
21857 *-*-mingw*)
21858 # gcc leaves a trailing carriage return which upsets mingw
21859 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21861 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21862 esac
21863 case $ac_prog in
21864 # Accept absolute paths.
21865 [\\/]* | ?:[\\/]*)
21866 re_direlt='/[^/][^/]*/\.\./'
21867 # Canonicalize the pathname of ld
21868 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21869 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21870 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21871 done
21872 test -z "$LD" && LD="$ac_prog"
21875 # If it fails, then pretend we aren't using GCC.
21876 ac_prog=ld
21879 # If it is relative, then search for the first ld in PATH.
21880 with_gnu_ld=unknown
21882 esac
21883 elif test "$with_gnu_ld" = yes; then
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21885 $as_echo_n "checking for GNU ld... " >&6; }
21886 else
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21888 $as_echo_n "checking for non-GNU ld... " >&6; }
21890 if test "${lt_cv_path_LD+set}" = set; then :
21891 $as_echo_n "(cached) " >&6
21892 else
21893 if test -z "$LD"; then
21894 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21895 for ac_dir in $PATH; do
21896 IFS="$lt_save_ifs"
21897 test -z "$ac_dir" && ac_dir=.
21898 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21899 lt_cv_path_LD="$ac_dir/$ac_prog"
21900 # Check to see if the program is GNU ld. I'd rather use --version,
21901 # but apparently some variants of GNU ld only accept -v.
21902 # Break only if it was the GNU/non-GNU ld that we prefer.
21903 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21904 *GNU* | *'with BFD'*)
21905 test "$with_gnu_ld" != no && break
21908 test "$with_gnu_ld" != yes && break
21910 esac
21912 done
21913 IFS="$lt_save_ifs"
21914 else
21915 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21919 LD="$lt_cv_path_LD"
21920 if test -n "$LD"; then
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21922 $as_echo "$LD" >&6; }
21923 else
21924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21925 $as_echo "no" >&6; }
21927 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21929 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21930 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21931 $as_echo_n "(cached) " >&6
21932 else
21933 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21934 case `$LD -v 2>&1 </dev/null` in
21935 *GNU* | *'with BFD'*)
21936 lt_cv_prog_gnu_ld=yes
21939 lt_cv_prog_gnu_ld=no
21941 esac
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21944 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21945 with_gnu_ld=$lt_cv_prog_gnu_ld
21953 # If we're not using GNU ld, then there's no point in even trying these
21954 # tests. Check for that first. We should have already tested for gld
21955 # by now (in libtool), but require it now just to be safe...
21956 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21957 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21961 # The name set by libtool depends on the version of libtool. Shame on us
21962 # for depending on an impl detail, but c'est la vie. Older versions used
21963 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21964 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21965 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21966 # set (hence we're using an older libtool), then set it.
21967 if test x${with_gnu_ld+set} != xset; then
21968 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21969 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21970 with_gnu_ld=no
21971 else
21972 with_gnu_ld=$ac_cv_prog_gnu_ld
21976 # Start by getting the version number. I think the libtool test already
21977 # does some of this, but throws away the result.
21978 glibcxx_ld_is_gold=no
21979 if test x"$with_gnu_ld" = x"yes"; then
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21981 $as_echo_n "checking for ld version... " >&6; }
21983 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21984 glibcxx_ld_is_gold=yes
21986 ldver=`$LD --version 2>/dev/null |
21987 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'`
21989 glibcxx_gnu_ld_version=`echo $ldver | \
21990 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21992 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21995 # Set --gc-sections.
21996 glibcxx_have_gc_sections=no
21997 if test "$glibcxx_ld_is_gold" = "yes"; then
21998 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21999 glibcxx_have_gc_sections=yes
22001 else
22002 glibcxx_gcsections_min_ld=21602
22003 if test x"$with_gnu_ld" = x"yes" &&
22004 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22005 glibcxx_have_gc_sections=yes
22008 if test "$glibcxx_have_gc_sections" = "yes"; then
22009 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22010 # NB: This flag only works reliably after 2.16.1. Configure tests
22011 # for this are difficult, so hard wire a value that should work.
22013 ac_test_CFLAGS="${CFLAGS+set}"
22014 ac_save_CFLAGS="$CFLAGS"
22015 CFLAGS='-Wl,--gc-sections'
22017 # Check for -Wl,--gc-sections
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22019 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22020 if test x$gcc_no_link = xyes; then
22021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22024 /* end confdefs.h. */
22025 int one(void) { return 1; }
22026 int two(void) { return 2; }
22029 main ()
22031 two();
22033 return 0;
22035 _ACEOF
22036 if ac_fn_c_try_link "$LINENO"; then :
22037 ac_gcsections=yes
22038 else
22039 ac_gcsections=no
22041 rm -f core conftest.err conftest.$ac_objext \
22042 conftest$ac_exeext conftest.$ac_ext
22043 if test "$ac_gcsections" = "yes"; then
22044 rm -f conftest.c
22045 touch conftest.c
22046 if $CC -c conftest.c; then
22047 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22048 grep "Warning: gc-sections option ignored" > /dev/null; then
22049 ac_gcsections=no
22052 rm -f conftest.c conftest.o conftest
22054 if test "$ac_gcsections" = "yes"; then
22055 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22058 $as_echo "$ac_gcsections" >&6; }
22060 if test "$ac_test_CFLAGS" = set; then
22061 CFLAGS="$ac_save_CFLAGS"
22062 else
22063 # this is the suspicious part
22064 CFLAGS=''
22068 # Set -z,relro.
22069 # Note this is only for shared objects.
22070 ac_ld_relro=no
22071 if test x"$with_gnu_ld" = x"yes"; then
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22073 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22074 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22075 if test -n "$cxx_z_relo"; then
22076 OPT_LDFLAGS="-Wl,-z,relro"
22077 ac_ld_relro=yes
22079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22080 $as_echo "$ac_ld_relro" >&6; }
22083 # Set linker optimization flags.
22084 if test x"$with_gnu_ld" = x"yes"; then
22085 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22092 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22093 ac_save_CXXFLAGS="$CXXFLAGS"
22094 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22097 $as_echo_n "checking for sin in -lm... " >&6; }
22098 if test "${ac_cv_lib_m_sin+set}" = set; then :
22099 $as_echo_n "(cached) " >&6
22100 else
22101 ac_check_lib_save_LIBS=$LIBS
22102 LIBS="-lm $LIBS"
22103 if test x$gcc_no_link = xyes; then
22104 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22107 /* end confdefs.h. */
22109 /* Override any GCC internal prototype to avoid an error.
22110 Use char because int might match the return type of a GCC
22111 builtin and then its argument prototype would still apply. */
22112 #ifdef __cplusplus
22113 extern "C"
22114 #endif
22115 char sin ();
22117 main ()
22119 return sin ();
22121 return 0;
22123 _ACEOF
22124 if ac_fn_c_try_link "$LINENO"; then :
22125 ac_cv_lib_m_sin=yes
22126 else
22127 ac_cv_lib_m_sin=no
22129 rm -f core conftest.err conftest.$ac_objext \
22130 conftest$ac_exeext conftest.$ac_ext
22131 LIBS=$ac_check_lib_save_LIBS
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22134 $as_echo "$ac_cv_lib_m_sin" >&6; }
22135 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22136 libm="-lm"
22139 ac_save_LIBS="$LIBS"
22140 LIBS="$LIBS $libm"
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22145 $as_echo_n "checking for isinf declaration... " >&6; }
22146 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22147 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22148 $as_echo_n "(cached) " >&6
22149 else
22152 ac_ext=cpp
22153 ac_cpp='$CXXCPP $CPPFLAGS'
22154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22159 /* end confdefs.h. */
22160 #include <math.h>
22161 #ifdef HAVE_IEEEFP_H
22162 #include <ieeefp.h>
22163 #endif
22166 main ()
22168 isinf(0);
22170 return 0;
22172 _ACEOF
22173 if ac_fn_cxx_try_compile "$LINENO"; then :
22174 glibcxx_cv_func_isinf_use=yes
22175 else
22176 glibcxx_cv_func_isinf_use=no
22178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22179 ac_ext=c
22180 ac_cpp='$CPP $CPPFLAGS'
22181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22190 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22192 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22193 for ac_func in isinf
22194 do :
22195 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22196 if test "x$ac_cv_func_isinf" = x""yes; then :
22197 cat >>confdefs.h <<_ACEOF
22198 #define HAVE_ISINF 1
22199 _ACEOF
22202 done
22204 else
22206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22207 $as_echo_n "checking for _isinf declaration... " >&6; }
22208 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22209 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22210 $as_echo_n "(cached) " >&6
22211 else
22214 ac_ext=cpp
22215 ac_cpp='$CXXCPP $CPPFLAGS'
22216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22221 /* end confdefs.h. */
22222 #include <math.h>
22223 #ifdef HAVE_IEEEFP_H
22224 #include <ieeefp.h>
22225 #endif
22228 main ()
22230 _isinf(0);
22232 return 0;
22234 _ACEOF
22235 if ac_fn_cxx_try_compile "$LINENO"; then :
22236 glibcxx_cv_func__isinf_use=yes
22237 else
22238 glibcxx_cv_func__isinf_use=no
22240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22241 ac_ext=c
22242 ac_cpp='$CPP $CPPFLAGS'
22243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22252 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22254 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22255 for ac_func in _isinf
22256 do :
22257 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22258 if test "x$ac_cv_func__isinf" = x""yes; then :
22259 cat >>confdefs.h <<_ACEOF
22260 #define HAVE__ISINF 1
22261 _ACEOF
22264 done
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22274 $as_echo_n "checking for isnan declaration... " >&6; }
22275 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22276 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22277 $as_echo_n "(cached) " >&6
22278 else
22281 ac_ext=cpp
22282 ac_cpp='$CXXCPP $CPPFLAGS'
22283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22288 /* end confdefs.h. */
22289 #include <math.h>
22290 #ifdef HAVE_IEEEFP_H
22291 #include <ieeefp.h>
22292 #endif
22295 main ()
22297 isnan(0);
22299 return 0;
22301 _ACEOF
22302 if ac_fn_cxx_try_compile "$LINENO"; then :
22303 glibcxx_cv_func_isnan_use=yes
22304 else
22305 glibcxx_cv_func_isnan_use=no
22307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22308 ac_ext=c
22309 ac_cpp='$CPP $CPPFLAGS'
22310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22319 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22321 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22322 for ac_func in isnan
22323 do :
22324 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22325 if test "x$ac_cv_func_isnan" = x""yes; then :
22326 cat >>confdefs.h <<_ACEOF
22327 #define HAVE_ISNAN 1
22328 _ACEOF
22331 done
22333 else
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22336 $as_echo_n "checking for _isnan declaration... " >&6; }
22337 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22338 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22339 $as_echo_n "(cached) " >&6
22340 else
22343 ac_ext=cpp
22344 ac_cpp='$CXXCPP $CPPFLAGS'
22345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22350 /* end confdefs.h. */
22351 #include <math.h>
22352 #ifdef HAVE_IEEEFP_H
22353 #include <ieeefp.h>
22354 #endif
22357 main ()
22359 _isnan(0);
22361 return 0;
22363 _ACEOF
22364 if ac_fn_cxx_try_compile "$LINENO"; then :
22365 glibcxx_cv_func__isnan_use=yes
22366 else
22367 glibcxx_cv_func__isnan_use=no
22369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22370 ac_ext=c
22371 ac_cpp='$CPP $CPPFLAGS'
22372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22381 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22383 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22384 for ac_func in _isnan
22385 do :
22386 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22387 if test "x$ac_cv_func__isnan" = x""yes; then :
22388 cat >>confdefs.h <<_ACEOF
22389 #define HAVE__ISNAN 1
22390 _ACEOF
22393 done
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22403 $as_echo_n "checking for finite declaration... " >&6; }
22404 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22405 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22406 $as_echo_n "(cached) " >&6
22407 else
22410 ac_ext=cpp
22411 ac_cpp='$CXXCPP $CPPFLAGS'
22412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22417 /* end confdefs.h. */
22418 #include <math.h>
22419 #ifdef HAVE_IEEEFP_H
22420 #include <ieeefp.h>
22421 #endif
22424 main ()
22426 finite(0);
22428 return 0;
22430 _ACEOF
22431 if ac_fn_cxx_try_compile "$LINENO"; then :
22432 glibcxx_cv_func_finite_use=yes
22433 else
22434 glibcxx_cv_func_finite_use=no
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437 ac_ext=c
22438 ac_cpp='$CPP $CPPFLAGS'
22439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22448 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22450 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22451 for ac_func in finite
22452 do :
22453 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22454 if test "x$ac_cv_func_finite" = x""yes; then :
22455 cat >>confdefs.h <<_ACEOF
22456 #define HAVE_FINITE 1
22457 _ACEOF
22460 done
22462 else
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22465 $as_echo_n "checking for _finite declaration... " >&6; }
22466 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22467 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22468 $as_echo_n "(cached) " >&6
22469 else
22472 ac_ext=cpp
22473 ac_cpp='$CXXCPP $CPPFLAGS'
22474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22479 /* end confdefs.h. */
22480 #include <math.h>
22481 #ifdef HAVE_IEEEFP_H
22482 #include <ieeefp.h>
22483 #endif
22486 main ()
22488 _finite(0);
22490 return 0;
22492 _ACEOF
22493 if ac_fn_cxx_try_compile "$LINENO"; then :
22494 glibcxx_cv_func__finite_use=yes
22495 else
22496 glibcxx_cv_func__finite_use=no
22498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22499 ac_ext=c
22500 ac_cpp='$CPP $CPPFLAGS'
22501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22510 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22512 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22513 for ac_func in _finite
22514 do :
22515 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22516 if test "x$ac_cv_func__finite" = x""yes; then :
22517 cat >>confdefs.h <<_ACEOF
22518 #define HAVE__FINITE 1
22519 _ACEOF
22522 done
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22532 $as_echo_n "checking for sincos declaration... " >&6; }
22533 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22534 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22535 $as_echo_n "(cached) " >&6
22536 else
22539 ac_ext=cpp
22540 ac_cpp='$CXXCPP $CPPFLAGS'
22541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22546 /* end confdefs.h. */
22547 #include <math.h>
22549 main ()
22551 sincos(0, 0, 0);
22553 return 0;
22555 _ACEOF
22556 if ac_fn_cxx_try_compile "$LINENO"; then :
22557 glibcxx_cv_func_sincos_use=yes
22558 else
22559 glibcxx_cv_func_sincos_use=no
22561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22562 ac_ext=c
22563 ac_cpp='$CPP $CPPFLAGS'
22564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22573 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22575 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22576 for ac_func in sincos
22577 do :
22578 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22579 if test "x$ac_cv_func_sincos" = x""yes; then :
22580 cat >>confdefs.h <<_ACEOF
22581 #define HAVE_SINCOS 1
22582 _ACEOF
22585 done
22587 else
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22590 $as_echo_n "checking for _sincos declaration... " >&6; }
22591 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22592 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22593 $as_echo_n "(cached) " >&6
22594 else
22597 ac_ext=cpp
22598 ac_cpp='$CXXCPP $CPPFLAGS'
22599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22604 /* end confdefs.h. */
22605 #include <math.h>
22607 main ()
22609 _sincos(0, 0, 0);
22611 return 0;
22613 _ACEOF
22614 if ac_fn_cxx_try_compile "$LINENO"; then :
22615 glibcxx_cv_func__sincos_use=yes
22616 else
22617 glibcxx_cv_func__sincos_use=no
22619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22620 ac_ext=c
22621 ac_cpp='$CPP $CPPFLAGS'
22622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22631 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22633 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22634 for ac_func in _sincos
22635 do :
22636 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22637 if test "x$ac_cv_func__sincos" = x""yes; then :
22638 cat >>confdefs.h <<_ACEOF
22639 #define HAVE__SINCOS 1
22640 _ACEOF
22643 done
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22653 $as_echo_n "checking for fpclass declaration... " >&6; }
22654 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22655 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22656 $as_echo_n "(cached) " >&6
22657 else
22660 ac_ext=cpp
22661 ac_cpp='$CXXCPP $CPPFLAGS'
22662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22667 /* end confdefs.h. */
22668 #include <math.h>
22669 #ifdef HAVE_IEEEFP_H
22670 #include <ieeefp.h>
22671 #endif
22674 main ()
22676 fpclass(0);
22678 return 0;
22680 _ACEOF
22681 if ac_fn_cxx_try_compile "$LINENO"; then :
22682 glibcxx_cv_func_fpclass_use=yes
22683 else
22684 glibcxx_cv_func_fpclass_use=no
22686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22687 ac_ext=c
22688 ac_cpp='$CPP $CPPFLAGS'
22689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22698 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22700 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22701 for ac_func in fpclass
22702 do :
22703 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22704 if test "x$ac_cv_func_fpclass" = x""yes; then :
22705 cat >>confdefs.h <<_ACEOF
22706 #define HAVE_FPCLASS 1
22707 _ACEOF
22710 done
22712 else
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22715 $as_echo_n "checking for _fpclass declaration... " >&6; }
22716 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22717 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22718 $as_echo_n "(cached) " >&6
22719 else
22722 ac_ext=cpp
22723 ac_cpp='$CXXCPP $CPPFLAGS'
22724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22729 /* end confdefs.h. */
22730 #include <math.h>
22731 #ifdef HAVE_IEEEFP_H
22732 #include <ieeefp.h>
22733 #endif
22736 main ()
22738 _fpclass(0);
22740 return 0;
22742 _ACEOF
22743 if ac_fn_cxx_try_compile "$LINENO"; then :
22744 glibcxx_cv_func__fpclass_use=yes
22745 else
22746 glibcxx_cv_func__fpclass_use=no
22748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749 ac_ext=c
22750 ac_cpp='$CPP $CPPFLAGS'
22751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22760 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22762 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22763 for ac_func in _fpclass
22764 do :
22765 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22766 if test "x$ac_cv_func__fpclass" = x""yes; then :
22767 cat >>confdefs.h <<_ACEOF
22768 #define HAVE__FPCLASS 1
22769 _ACEOF
22772 done
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22782 $as_echo_n "checking for qfpclass declaration... " >&6; }
22783 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22784 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22785 $as_echo_n "(cached) " >&6
22786 else
22789 ac_ext=cpp
22790 ac_cpp='$CXXCPP $CPPFLAGS'
22791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22796 /* end confdefs.h. */
22797 #include <math.h>
22798 #ifdef HAVE_IEEEFP_H
22799 #include <ieeefp.h>
22800 #endif
22803 main ()
22805 qfpclass(0);
22807 return 0;
22809 _ACEOF
22810 if ac_fn_cxx_try_compile "$LINENO"; then :
22811 glibcxx_cv_func_qfpclass_use=yes
22812 else
22813 glibcxx_cv_func_qfpclass_use=no
22815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22816 ac_ext=c
22817 ac_cpp='$CPP $CPPFLAGS'
22818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22827 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22829 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22830 for ac_func in qfpclass
22831 do :
22832 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22833 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22834 cat >>confdefs.h <<_ACEOF
22835 #define HAVE_QFPCLASS 1
22836 _ACEOF
22839 done
22841 else
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22844 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22845 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22846 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22847 $as_echo_n "(cached) " >&6
22848 else
22851 ac_ext=cpp
22852 ac_cpp='$CXXCPP $CPPFLAGS'
22853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22858 /* end confdefs.h. */
22859 #include <math.h>
22860 #ifdef HAVE_IEEEFP_H
22861 #include <ieeefp.h>
22862 #endif
22865 main ()
22867 _qfpclass(0);
22869 return 0;
22871 _ACEOF
22872 if ac_fn_cxx_try_compile "$LINENO"; then :
22873 glibcxx_cv_func__qfpclass_use=yes
22874 else
22875 glibcxx_cv_func__qfpclass_use=no
22877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22878 ac_ext=c
22879 ac_cpp='$CPP $CPPFLAGS'
22880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22889 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22891 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22892 for ac_func in _qfpclass
22893 do :
22894 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22895 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22896 cat >>confdefs.h <<_ACEOF
22897 #define HAVE__QFPCLASS 1
22898 _ACEOF
22901 done
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22911 $as_echo_n "checking for hypot declaration... " >&6; }
22912 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22913 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22914 $as_echo_n "(cached) " >&6
22915 else
22918 ac_ext=cpp
22919 ac_cpp='$CXXCPP $CPPFLAGS'
22920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22925 /* end confdefs.h. */
22926 #include <math.h>
22928 main ()
22930 hypot(0, 0);
22932 return 0;
22934 _ACEOF
22935 if ac_fn_cxx_try_compile "$LINENO"; then :
22936 glibcxx_cv_func_hypot_use=yes
22937 else
22938 glibcxx_cv_func_hypot_use=no
22940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22941 ac_ext=c
22942 ac_cpp='$CPP $CPPFLAGS'
22943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22952 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22954 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22955 for ac_func in hypot
22956 do :
22957 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22958 if test "x$ac_cv_func_hypot" = x""yes; then :
22959 cat >>confdefs.h <<_ACEOF
22960 #define HAVE_HYPOT 1
22961 _ACEOF
22964 done
22966 else
22968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22969 $as_echo_n "checking for _hypot declaration... " >&6; }
22970 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22971 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22972 $as_echo_n "(cached) " >&6
22973 else
22976 ac_ext=cpp
22977 ac_cpp='$CXXCPP $CPPFLAGS'
22978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22983 /* end confdefs.h. */
22984 #include <math.h>
22986 main ()
22988 _hypot(0, 0);
22990 return 0;
22992 _ACEOF
22993 if ac_fn_cxx_try_compile "$LINENO"; then :
22994 glibcxx_cv_func__hypot_use=yes
22995 else
22996 glibcxx_cv_func__hypot_use=no
22998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22999 ac_ext=c
23000 ac_cpp='$CPP $CPPFLAGS'
23001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23010 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23012 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23013 for ac_func in _hypot
23014 do :
23015 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23016 if test "x$ac_cv_func__hypot" = x""yes; then :
23017 cat >>confdefs.h <<_ACEOF
23018 #define HAVE__HYPOT 1
23019 _ACEOF
23022 done
23031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23032 $as_echo_n "checking for float trig functions... " >&6; }
23033 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23034 $as_echo_n "(cached) " >&6
23035 else
23038 ac_ext=cpp
23039 ac_cpp='$CXXCPP $CPPFLAGS'
23040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23045 /* end confdefs.h. */
23046 #include <math.h>
23048 main ()
23050 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23052 return 0;
23054 _ACEOF
23055 if ac_fn_cxx_try_compile "$LINENO"; then :
23056 glibcxx_cv_func_float_trig_use=yes
23057 else
23058 glibcxx_cv_func_float_trig_use=no
23060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23061 ac_ext=c
23062 ac_cpp='$CPP $CPPFLAGS'
23063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23070 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23071 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23072 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23073 do :
23074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23076 eval as_val=\$$as_ac_var
23077 if test "x$as_val" = x""yes; then :
23078 cat >>confdefs.h <<_ACEOF
23079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23080 _ACEOF
23083 done
23085 else
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23087 $as_echo_n "checking for _float trig functions... " >&6; }
23088 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23089 $as_echo_n "(cached) " >&6
23090 else
23093 ac_ext=cpp
23094 ac_cpp='$CXXCPP $CPPFLAGS'
23095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23100 /* end confdefs.h. */
23101 #include <math.h>
23103 main ()
23105 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23107 return 0;
23109 _ACEOF
23110 if ac_fn_cxx_try_compile "$LINENO"; then :
23111 glibcxx_cv_func__float_trig_use=yes
23112 else
23113 glibcxx_cv_func__float_trig_use=no
23115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23116 ac_ext=c
23117 ac_cpp='$CPP $CPPFLAGS'
23118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23125 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23126 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23127 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23128 do :
23129 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23130 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23131 eval as_val=\$$as_ac_var
23132 if test "x$as_val" = x""yes; then :
23133 cat >>confdefs.h <<_ACEOF
23134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23135 _ACEOF
23138 done
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23148 $as_echo_n "checking for float round functions... " >&6; }
23149 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23150 $as_echo_n "(cached) " >&6
23151 else
23154 ac_ext=cpp
23155 ac_cpp='$CXXCPP $CPPFLAGS'
23156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23161 /* end confdefs.h. */
23162 #include <math.h>
23164 main ()
23166 ceilf (0); floorf (0);
23168 return 0;
23170 _ACEOF
23171 if ac_fn_cxx_try_compile "$LINENO"; then :
23172 glibcxx_cv_func_float_round_use=yes
23173 else
23174 glibcxx_cv_func_float_round_use=no
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177 ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23186 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23187 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23188 for ac_func in ceilf floorf
23189 do :
23190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23192 eval as_val=\$$as_ac_var
23193 if test "x$as_val" = x""yes; then :
23194 cat >>confdefs.h <<_ACEOF
23195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23196 _ACEOF
23199 done
23201 else
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23203 $as_echo_n "checking for _float round functions... " >&6; }
23204 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23205 $as_echo_n "(cached) " >&6
23206 else
23209 ac_ext=cpp
23210 ac_cpp='$CXXCPP $CPPFLAGS'
23211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23216 /* end confdefs.h. */
23217 #include <math.h>
23219 main ()
23221 _ceilf (0); _floorf (0);
23223 return 0;
23225 _ACEOF
23226 if ac_fn_cxx_try_compile "$LINENO"; then :
23227 glibcxx_cv_func__float_round_use=yes
23228 else
23229 glibcxx_cv_func__float_round_use=no
23231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23232 ac_ext=c
23233 ac_cpp='$CPP $CPPFLAGS'
23234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23241 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23242 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23243 for ac_func in _ceilf _floorf
23244 do :
23245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23247 eval as_val=\$$as_ac_var
23248 if test "x$as_val" = x""yes; then :
23249 cat >>confdefs.h <<_ACEOF
23250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23251 _ACEOF
23254 done
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23265 $as_echo_n "checking for expf declaration... " >&6; }
23266 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23267 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23268 $as_echo_n "(cached) " >&6
23269 else
23272 ac_ext=cpp
23273 ac_cpp='$CXXCPP $CPPFLAGS'
23274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23279 /* end confdefs.h. */
23280 #include <math.h>
23281 #ifdef HAVE_IEEEFP_H
23282 #include <ieeefp.h>
23283 #endif
23286 main ()
23288 expf(0);
23290 return 0;
23292 _ACEOF
23293 if ac_fn_cxx_try_compile "$LINENO"; then :
23294 glibcxx_cv_func_expf_use=yes
23295 else
23296 glibcxx_cv_func_expf_use=no
23298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23299 ac_ext=c
23300 ac_cpp='$CPP $CPPFLAGS'
23301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23310 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23312 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23313 for ac_func in expf
23314 do :
23315 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23316 if test "x$ac_cv_func_expf" = x""yes; then :
23317 cat >>confdefs.h <<_ACEOF
23318 #define HAVE_EXPF 1
23319 _ACEOF
23322 done
23324 else
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23327 $as_echo_n "checking for _expf declaration... " >&6; }
23328 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23329 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23330 $as_echo_n "(cached) " >&6
23331 else
23334 ac_ext=cpp
23335 ac_cpp='$CXXCPP $CPPFLAGS'
23336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23341 /* end confdefs.h. */
23342 #include <math.h>
23343 #ifdef HAVE_IEEEFP_H
23344 #include <ieeefp.h>
23345 #endif
23348 main ()
23350 _expf(0);
23352 return 0;
23354 _ACEOF
23355 if ac_fn_cxx_try_compile "$LINENO"; then :
23356 glibcxx_cv_func__expf_use=yes
23357 else
23358 glibcxx_cv_func__expf_use=no
23360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23361 ac_ext=c
23362 ac_cpp='$CPP $CPPFLAGS'
23363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23372 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23374 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23375 for ac_func in _expf
23376 do :
23377 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23378 if test "x$ac_cv_func__expf" = x""yes; then :
23379 cat >>confdefs.h <<_ACEOF
23380 #define HAVE__EXPF 1
23381 _ACEOF
23384 done
23393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23394 $as_echo_n "checking for isnanf declaration... " >&6; }
23395 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23396 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23397 $as_echo_n "(cached) " >&6
23398 else
23401 ac_ext=cpp
23402 ac_cpp='$CXXCPP $CPPFLAGS'
23403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23408 /* end confdefs.h. */
23409 #include <math.h>
23410 #ifdef HAVE_IEEEFP_H
23411 #include <ieeefp.h>
23412 #endif
23415 main ()
23417 isnanf(0);
23419 return 0;
23421 _ACEOF
23422 if ac_fn_cxx_try_compile "$LINENO"; then :
23423 glibcxx_cv_func_isnanf_use=yes
23424 else
23425 glibcxx_cv_func_isnanf_use=no
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428 ac_ext=c
23429 ac_cpp='$CPP $CPPFLAGS'
23430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23439 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23441 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23442 for ac_func in isnanf
23443 do :
23444 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23445 if test "x$ac_cv_func_isnanf" = x""yes; then :
23446 cat >>confdefs.h <<_ACEOF
23447 #define HAVE_ISNANF 1
23448 _ACEOF
23451 done
23453 else
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23456 $as_echo_n "checking for _isnanf declaration... " >&6; }
23457 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23458 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23460 else
23463 ac_ext=cpp
23464 ac_cpp='$CXXCPP $CPPFLAGS'
23465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23470 /* end confdefs.h. */
23471 #include <math.h>
23472 #ifdef HAVE_IEEEFP_H
23473 #include <ieeefp.h>
23474 #endif
23477 main ()
23479 _isnanf(0);
23481 return 0;
23483 _ACEOF
23484 if ac_fn_cxx_try_compile "$LINENO"; then :
23485 glibcxx_cv_func__isnanf_use=yes
23486 else
23487 glibcxx_cv_func__isnanf_use=no
23489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23490 ac_ext=c
23491 ac_cpp='$CPP $CPPFLAGS'
23492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23501 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23503 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23504 for ac_func in _isnanf
23505 do :
23506 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23507 if test "x$ac_cv_func__isnanf" = x""yes; then :
23508 cat >>confdefs.h <<_ACEOF
23509 #define HAVE__ISNANF 1
23510 _ACEOF
23513 done
23522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23523 $as_echo_n "checking for isinff declaration... " >&6; }
23524 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23525 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23526 $as_echo_n "(cached) " >&6
23527 else
23530 ac_ext=cpp
23531 ac_cpp='$CXXCPP $CPPFLAGS'
23532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23537 /* end confdefs.h. */
23538 #include <math.h>
23539 #ifdef HAVE_IEEEFP_H
23540 #include <ieeefp.h>
23541 #endif
23544 main ()
23546 isinff(0);
23548 return 0;
23550 _ACEOF
23551 if ac_fn_cxx_try_compile "$LINENO"; then :
23552 glibcxx_cv_func_isinff_use=yes
23553 else
23554 glibcxx_cv_func_isinff_use=no
23556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23557 ac_ext=c
23558 ac_cpp='$CPP $CPPFLAGS'
23559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23568 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23570 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23571 for ac_func in isinff
23572 do :
23573 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23574 if test "x$ac_cv_func_isinff" = x""yes; then :
23575 cat >>confdefs.h <<_ACEOF
23576 #define HAVE_ISINFF 1
23577 _ACEOF
23580 done
23582 else
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23585 $as_echo_n "checking for _isinff declaration... " >&6; }
23586 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23587 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23588 $as_echo_n "(cached) " >&6
23589 else
23592 ac_ext=cpp
23593 ac_cpp='$CXXCPP $CPPFLAGS'
23594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23599 /* end confdefs.h. */
23600 #include <math.h>
23601 #ifdef HAVE_IEEEFP_H
23602 #include <ieeefp.h>
23603 #endif
23606 main ()
23608 _isinff(0);
23610 return 0;
23612 _ACEOF
23613 if ac_fn_cxx_try_compile "$LINENO"; then :
23614 glibcxx_cv_func__isinff_use=yes
23615 else
23616 glibcxx_cv_func__isinff_use=no
23618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23619 ac_ext=c
23620 ac_cpp='$CPP $CPPFLAGS'
23621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23630 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23632 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23633 for ac_func in _isinff
23634 do :
23635 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23636 if test "x$ac_cv_func__isinff" = x""yes; then :
23637 cat >>confdefs.h <<_ACEOF
23638 #define HAVE__ISINFF 1
23639 _ACEOF
23642 done
23651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23652 $as_echo_n "checking for atan2f declaration... " >&6; }
23653 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23654 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23655 $as_echo_n "(cached) " >&6
23656 else
23659 ac_ext=cpp
23660 ac_cpp='$CXXCPP $CPPFLAGS'
23661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23666 /* end confdefs.h. */
23667 #include <math.h>
23669 main ()
23671 atan2f(0, 0);
23673 return 0;
23675 _ACEOF
23676 if ac_fn_cxx_try_compile "$LINENO"; then :
23677 glibcxx_cv_func_atan2f_use=yes
23678 else
23679 glibcxx_cv_func_atan2f_use=no
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23682 ac_ext=c
23683 ac_cpp='$CPP $CPPFLAGS'
23684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23693 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23695 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23696 for ac_func in atan2f
23697 do :
23698 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23699 if test "x$ac_cv_func_atan2f" = x""yes; then :
23700 cat >>confdefs.h <<_ACEOF
23701 #define HAVE_ATAN2F 1
23702 _ACEOF
23705 done
23707 else
23709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23710 $as_echo_n "checking for _atan2f declaration... " >&6; }
23711 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23712 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23713 $as_echo_n "(cached) " >&6
23714 else
23717 ac_ext=cpp
23718 ac_cpp='$CXXCPP $CPPFLAGS'
23719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23724 /* end confdefs.h. */
23725 #include <math.h>
23727 main ()
23729 _atan2f(0, 0);
23731 return 0;
23733 _ACEOF
23734 if ac_fn_cxx_try_compile "$LINENO"; then :
23735 glibcxx_cv_func__atan2f_use=yes
23736 else
23737 glibcxx_cv_func__atan2f_use=no
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23740 ac_ext=c
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23751 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23753 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23754 for ac_func in _atan2f
23755 do :
23756 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23757 if test "x$ac_cv_func__atan2f" = x""yes; then :
23758 cat >>confdefs.h <<_ACEOF
23759 #define HAVE__ATAN2F 1
23760 _ACEOF
23763 done
23772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23773 $as_echo_n "checking for fabsf declaration... " >&6; }
23774 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23775 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23776 $as_echo_n "(cached) " >&6
23777 else
23780 ac_ext=cpp
23781 ac_cpp='$CXXCPP $CPPFLAGS'
23782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23787 /* end confdefs.h. */
23788 #include <math.h>
23789 #ifdef HAVE_IEEEFP_H
23790 #include <ieeefp.h>
23791 #endif
23794 main ()
23796 fabsf(0);
23798 return 0;
23800 _ACEOF
23801 if ac_fn_cxx_try_compile "$LINENO"; then :
23802 glibcxx_cv_func_fabsf_use=yes
23803 else
23804 glibcxx_cv_func_fabsf_use=no
23806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23807 ac_ext=c
23808 ac_cpp='$CPP $CPPFLAGS'
23809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23818 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23820 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23821 for ac_func in fabsf
23822 do :
23823 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23824 if test "x$ac_cv_func_fabsf" = x""yes; then :
23825 cat >>confdefs.h <<_ACEOF
23826 #define HAVE_FABSF 1
23827 _ACEOF
23830 done
23832 else
23834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23835 $as_echo_n "checking for _fabsf declaration... " >&6; }
23836 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23837 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23838 $as_echo_n "(cached) " >&6
23839 else
23842 ac_ext=cpp
23843 ac_cpp='$CXXCPP $CPPFLAGS'
23844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23849 /* end confdefs.h. */
23850 #include <math.h>
23851 #ifdef HAVE_IEEEFP_H
23852 #include <ieeefp.h>
23853 #endif
23856 main ()
23858 _fabsf(0);
23860 return 0;
23862 _ACEOF
23863 if ac_fn_cxx_try_compile "$LINENO"; then :
23864 glibcxx_cv_func__fabsf_use=yes
23865 else
23866 glibcxx_cv_func__fabsf_use=no
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23869 ac_ext=c
23870 ac_cpp='$CPP $CPPFLAGS'
23871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23880 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23882 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23883 for ac_func in _fabsf
23884 do :
23885 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23886 if test "x$ac_cv_func__fabsf" = x""yes; then :
23887 cat >>confdefs.h <<_ACEOF
23888 #define HAVE__FABSF 1
23889 _ACEOF
23892 done
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23902 $as_echo_n "checking for fmodf declaration... " >&6; }
23903 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23904 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23905 $as_echo_n "(cached) " >&6
23906 else
23909 ac_ext=cpp
23910 ac_cpp='$CXXCPP $CPPFLAGS'
23911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23917 #include <math.h>
23919 main ()
23921 fmodf(0, 0);
23923 return 0;
23925 _ACEOF
23926 if ac_fn_cxx_try_compile "$LINENO"; then :
23927 glibcxx_cv_func_fmodf_use=yes
23928 else
23929 glibcxx_cv_func_fmodf_use=no
23931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23932 ac_ext=c
23933 ac_cpp='$CPP $CPPFLAGS'
23934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23943 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23945 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23946 for ac_func in fmodf
23947 do :
23948 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23949 if test "x$ac_cv_func_fmodf" = x""yes; then :
23950 cat >>confdefs.h <<_ACEOF
23951 #define HAVE_FMODF 1
23952 _ACEOF
23955 done
23957 else
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23960 $as_echo_n "checking for _fmodf declaration... " >&6; }
23961 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23962 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23963 $as_echo_n "(cached) " >&6
23964 else
23967 ac_ext=cpp
23968 ac_cpp='$CXXCPP $CPPFLAGS'
23969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23974 /* end confdefs.h. */
23975 #include <math.h>
23977 main ()
23979 _fmodf(0, 0);
23981 return 0;
23983 _ACEOF
23984 if ac_fn_cxx_try_compile "$LINENO"; then :
23985 glibcxx_cv_func__fmodf_use=yes
23986 else
23987 glibcxx_cv_func__fmodf_use=no
23989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23990 ac_ext=c
23991 ac_cpp='$CPP $CPPFLAGS'
23992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24001 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24003 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24004 for ac_func in _fmodf
24005 do :
24006 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24007 if test "x$ac_cv_func__fmodf" = x""yes; then :
24008 cat >>confdefs.h <<_ACEOF
24009 #define HAVE__FMODF 1
24010 _ACEOF
24013 done
24022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24023 $as_echo_n "checking for frexpf declaration... " >&6; }
24024 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24025 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24026 $as_echo_n "(cached) " >&6
24027 else
24030 ac_ext=cpp
24031 ac_cpp='$CXXCPP $CPPFLAGS'
24032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24037 /* end confdefs.h. */
24038 #include <math.h>
24040 main ()
24042 frexpf(0, 0);
24044 return 0;
24046 _ACEOF
24047 if ac_fn_cxx_try_compile "$LINENO"; then :
24048 glibcxx_cv_func_frexpf_use=yes
24049 else
24050 glibcxx_cv_func_frexpf_use=no
24052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24053 ac_ext=c
24054 ac_cpp='$CPP $CPPFLAGS'
24055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24064 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24066 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24067 for ac_func in frexpf
24068 do :
24069 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24070 if test "x$ac_cv_func_frexpf" = x""yes; then :
24071 cat >>confdefs.h <<_ACEOF
24072 #define HAVE_FREXPF 1
24073 _ACEOF
24076 done
24078 else
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24081 $as_echo_n "checking for _frexpf declaration... " >&6; }
24082 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24083 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24084 $as_echo_n "(cached) " >&6
24085 else
24088 ac_ext=cpp
24089 ac_cpp='$CXXCPP $CPPFLAGS'
24090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24095 /* end confdefs.h. */
24096 #include <math.h>
24098 main ()
24100 _frexpf(0, 0);
24102 return 0;
24104 _ACEOF
24105 if ac_fn_cxx_try_compile "$LINENO"; then :
24106 glibcxx_cv_func__frexpf_use=yes
24107 else
24108 glibcxx_cv_func__frexpf_use=no
24110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24111 ac_ext=c
24112 ac_cpp='$CPP $CPPFLAGS'
24113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24122 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24124 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24125 for ac_func in _frexpf
24126 do :
24127 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24128 if test "x$ac_cv_func__frexpf" = x""yes; then :
24129 cat >>confdefs.h <<_ACEOF
24130 #define HAVE__FREXPF 1
24131 _ACEOF
24134 done
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24144 $as_echo_n "checking for hypotf declaration... " >&6; }
24145 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24146 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24147 $as_echo_n "(cached) " >&6
24148 else
24151 ac_ext=cpp
24152 ac_cpp='$CXXCPP $CPPFLAGS'
24153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24158 /* end confdefs.h. */
24159 #include <math.h>
24161 main ()
24163 hypotf(0, 0);
24165 return 0;
24167 _ACEOF
24168 if ac_fn_cxx_try_compile "$LINENO"; then :
24169 glibcxx_cv_func_hypotf_use=yes
24170 else
24171 glibcxx_cv_func_hypotf_use=no
24173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24174 ac_ext=c
24175 ac_cpp='$CPP $CPPFLAGS'
24176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24185 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24187 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24188 for ac_func in hypotf
24189 do :
24190 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24191 if test "x$ac_cv_func_hypotf" = x""yes; then :
24192 cat >>confdefs.h <<_ACEOF
24193 #define HAVE_HYPOTF 1
24194 _ACEOF
24197 done
24199 else
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24202 $as_echo_n "checking for _hypotf declaration... " >&6; }
24203 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24204 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24205 $as_echo_n "(cached) " >&6
24206 else
24209 ac_ext=cpp
24210 ac_cpp='$CXXCPP $CPPFLAGS'
24211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24216 /* end confdefs.h. */
24217 #include <math.h>
24219 main ()
24221 _hypotf(0, 0);
24223 return 0;
24225 _ACEOF
24226 if ac_fn_cxx_try_compile "$LINENO"; then :
24227 glibcxx_cv_func__hypotf_use=yes
24228 else
24229 glibcxx_cv_func__hypotf_use=no
24231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232 ac_ext=c
24233 ac_cpp='$CPP $CPPFLAGS'
24234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24243 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24245 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24246 for ac_func in _hypotf
24247 do :
24248 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24249 if test "x$ac_cv_func__hypotf" = x""yes; then :
24250 cat >>confdefs.h <<_ACEOF
24251 #define HAVE__HYPOTF 1
24252 _ACEOF
24255 done
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24265 $as_echo_n "checking for ldexpf declaration... " >&6; }
24266 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24267 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24268 $as_echo_n "(cached) " >&6
24269 else
24272 ac_ext=cpp
24273 ac_cpp='$CXXCPP $CPPFLAGS'
24274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h. */
24280 #include <math.h>
24282 main ()
24284 ldexpf(0, 0);
24286 return 0;
24288 _ACEOF
24289 if ac_fn_cxx_try_compile "$LINENO"; then :
24290 glibcxx_cv_func_ldexpf_use=yes
24291 else
24292 glibcxx_cv_func_ldexpf_use=no
24294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24295 ac_ext=c
24296 ac_cpp='$CPP $CPPFLAGS'
24297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24306 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24308 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24309 for ac_func in ldexpf
24310 do :
24311 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24312 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24313 cat >>confdefs.h <<_ACEOF
24314 #define HAVE_LDEXPF 1
24315 _ACEOF
24318 done
24320 else
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24323 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24324 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24325 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24326 $as_echo_n "(cached) " >&6
24327 else
24330 ac_ext=cpp
24331 ac_cpp='$CXXCPP $CPPFLAGS'
24332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24337 /* end confdefs.h. */
24338 #include <math.h>
24340 main ()
24342 _ldexpf(0, 0);
24344 return 0;
24346 _ACEOF
24347 if ac_fn_cxx_try_compile "$LINENO"; then :
24348 glibcxx_cv_func__ldexpf_use=yes
24349 else
24350 glibcxx_cv_func__ldexpf_use=no
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353 ac_ext=c
24354 ac_cpp='$CPP $CPPFLAGS'
24355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24364 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24366 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24367 for ac_func in _ldexpf
24368 do :
24369 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24370 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24371 cat >>confdefs.h <<_ACEOF
24372 #define HAVE__LDEXPF 1
24373 _ACEOF
24376 done
24385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24386 $as_echo_n "checking for logf declaration... " >&6; }
24387 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24388 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24389 $as_echo_n "(cached) " >&6
24390 else
24393 ac_ext=cpp
24394 ac_cpp='$CXXCPP $CPPFLAGS'
24395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24400 /* end confdefs.h. */
24401 #include <math.h>
24402 #ifdef HAVE_IEEEFP_H
24403 #include <ieeefp.h>
24404 #endif
24407 main ()
24409 logf(0);
24411 return 0;
24413 _ACEOF
24414 if ac_fn_cxx_try_compile "$LINENO"; then :
24415 glibcxx_cv_func_logf_use=yes
24416 else
24417 glibcxx_cv_func_logf_use=no
24419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24420 ac_ext=c
24421 ac_cpp='$CPP $CPPFLAGS'
24422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24431 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24433 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24434 for ac_func in logf
24435 do :
24436 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24437 if test "x$ac_cv_func_logf" = x""yes; then :
24438 cat >>confdefs.h <<_ACEOF
24439 #define HAVE_LOGF 1
24440 _ACEOF
24443 done
24445 else
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24448 $as_echo_n "checking for _logf declaration... " >&6; }
24449 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24450 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24451 $as_echo_n "(cached) " >&6
24452 else
24455 ac_ext=cpp
24456 ac_cpp='$CXXCPP $CPPFLAGS'
24457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h. */
24463 #include <math.h>
24464 #ifdef HAVE_IEEEFP_H
24465 #include <ieeefp.h>
24466 #endif
24469 main ()
24471 _logf(0);
24473 return 0;
24475 _ACEOF
24476 if ac_fn_cxx_try_compile "$LINENO"; then :
24477 glibcxx_cv_func__logf_use=yes
24478 else
24479 glibcxx_cv_func__logf_use=no
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24482 ac_ext=c
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24493 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24495 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24496 for ac_func in _logf
24497 do :
24498 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24499 if test "x$ac_cv_func__logf" = x""yes; then :
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE__LOGF 1
24502 _ACEOF
24505 done
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24515 $as_echo_n "checking for log10f declaration... " >&6; }
24516 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24517 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24518 $as_echo_n "(cached) " >&6
24519 else
24522 ac_ext=cpp
24523 ac_cpp='$CXXCPP $CPPFLAGS'
24524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h. */
24530 #include <math.h>
24531 #ifdef HAVE_IEEEFP_H
24532 #include <ieeefp.h>
24533 #endif
24536 main ()
24538 log10f(0);
24540 return 0;
24542 _ACEOF
24543 if ac_fn_cxx_try_compile "$LINENO"; then :
24544 glibcxx_cv_func_log10f_use=yes
24545 else
24546 glibcxx_cv_func_log10f_use=no
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549 ac_ext=c
24550 ac_cpp='$CPP $CPPFLAGS'
24551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24560 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24562 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24563 for ac_func in log10f
24564 do :
24565 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24566 if test "x$ac_cv_func_log10f" = x""yes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define HAVE_LOG10F 1
24569 _ACEOF
24572 done
24574 else
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24577 $as_echo_n "checking for _log10f declaration... " >&6; }
24578 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24579 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24580 $as_echo_n "(cached) " >&6
24581 else
24584 ac_ext=cpp
24585 ac_cpp='$CXXCPP $CPPFLAGS'
24586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h. */
24592 #include <math.h>
24593 #ifdef HAVE_IEEEFP_H
24594 #include <ieeefp.h>
24595 #endif
24598 main ()
24600 _log10f(0);
24602 return 0;
24604 _ACEOF
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606 glibcxx_cv_func__log10f_use=yes
24607 else
24608 glibcxx_cv_func__log10f_use=no
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611 ac_ext=c
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24622 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24624 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24625 for ac_func in _log10f
24626 do :
24627 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24628 if test "x$ac_cv_func__log10f" = x""yes; then :
24629 cat >>confdefs.h <<_ACEOF
24630 #define HAVE__LOG10F 1
24631 _ACEOF
24634 done
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24644 $as_echo_n "checking for modff declaration... " >&6; }
24645 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24646 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24647 $as_echo_n "(cached) " >&6
24648 else
24651 ac_ext=cpp
24652 ac_cpp='$CXXCPP $CPPFLAGS'
24653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24658 /* end confdefs.h. */
24659 #include <math.h>
24661 main ()
24663 modff(0, 0);
24665 return 0;
24667 _ACEOF
24668 if ac_fn_cxx_try_compile "$LINENO"; then :
24669 glibcxx_cv_func_modff_use=yes
24670 else
24671 glibcxx_cv_func_modff_use=no
24673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24674 ac_ext=c
24675 ac_cpp='$CPP $CPPFLAGS'
24676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24685 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24687 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24688 for ac_func in modff
24689 do :
24690 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24691 if test "x$ac_cv_func_modff" = x""yes; then :
24692 cat >>confdefs.h <<_ACEOF
24693 #define HAVE_MODFF 1
24694 _ACEOF
24697 done
24699 else
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24702 $as_echo_n "checking for _modff declaration... " >&6; }
24703 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24704 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24705 $as_echo_n "(cached) " >&6
24706 else
24709 ac_ext=cpp
24710 ac_cpp='$CXXCPP $CPPFLAGS'
24711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24716 /* end confdefs.h. */
24717 #include <math.h>
24719 main ()
24721 _modff(0, 0);
24723 return 0;
24725 _ACEOF
24726 if ac_fn_cxx_try_compile "$LINENO"; then :
24727 glibcxx_cv_func__modff_use=yes
24728 else
24729 glibcxx_cv_func__modff_use=no
24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24732 ac_ext=c
24733 ac_cpp='$CPP $CPPFLAGS'
24734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24743 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24745 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24746 for ac_func in _modff
24747 do :
24748 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24749 if test "x$ac_cv_func__modff" = x""yes; then :
24750 cat >>confdefs.h <<_ACEOF
24751 #define HAVE__MODFF 1
24752 _ACEOF
24755 done
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24765 $as_echo_n "checking for modf declaration... " >&6; }
24766 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24767 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24768 $as_echo_n "(cached) " >&6
24769 else
24772 ac_ext=cpp
24773 ac_cpp='$CXXCPP $CPPFLAGS'
24774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24779 /* end confdefs.h. */
24780 #include <math.h>
24782 main ()
24784 modf(0, 0);
24786 return 0;
24788 _ACEOF
24789 if ac_fn_cxx_try_compile "$LINENO"; then :
24790 glibcxx_cv_func_modf_use=yes
24791 else
24792 glibcxx_cv_func_modf_use=no
24794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795 ac_ext=c
24796 ac_cpp='$CPP $CPPFLAGS'
24797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24806 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24808 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24809 for ac_func in modf
24810 do :
24811 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24812 if test "x$ac_cv_func_modf" = x""yes; then :
24813 cat >>confdefs.h <<_ACEOF
24814 #define HAVE_MODF 1
24815 _ACEOF
24818 done
24820 else
24822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24823 $as_echo_n "checking for _modf declaration... " >&6; }
24824 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24825 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24826 $as_echo_n "(cached) " >&6
24827 else
24830 ac_ext=cpp
24831 ac_cpp='$CXXCPP $CPPFLAGS'
24832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24837 /* end confdefs.h. */
24838 #include <math.h>
24840 main ()
24842 _modf(0, 0);
24844 return 0;
24846 _ACEOF
24847 if ac_fn_cxx_try_compile "$LINENO"; then :
24848 glibcxx_cv_func__modf_use=yes
24849 else
24850 glibcxx_cv_func__modf_use=no
24852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24853 ac_ext=c
24854 ac_cpp='$CPP $CPPFLAGS'
24855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24864 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24866 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24867 for ac_func in _modf
24868 do :
24869 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24870 if test "x$ac_cv_func__modf" = x""yes; then :
24871 cat >>confdefs.h <<_ACEOF
24872 #define HAVE__MODF 1
24873 _ACEOF
24876 done
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24886 $as_echo_n "checking for powf declaration... " >&6; }
24887 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24888 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24889 $as_echo_n "(cached) " >&6
24890 else
24893 ac_ext=cpp
24894 ac_cpp='$CXXCPP $CPPFLAGS'
24895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24900 /* end confdefs.h. */
24901 #include <math.h>
24903 main ()
24905 powf(0, 0);
24907 return 0;
24909 _ACEOF
24910 if ac_fn_cxx_try_compile "$LINENO"; then :
24911 glibcxx_cv_func_powf_use=yes
24912 else
24913 glibcxx_cv_func_powf_use=no
24915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 ac_ext=c
24917 ac_cpp='$CPP $CPPFLAGS'
24918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24927 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24929 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24930 for ac_func in powf
24931 do :
24932 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24933 if test "x$ac_cv_func_powf" = x""yes; then :
24934 cat >>confdefs.h <<_ACEOF
24935 #define HAVE_POWF 1
24936 _ACEOF
24939 done
24941 else
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24944 $as_echo_n "checking for _powf declaration... " >&6; }
24945 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24946 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24947 $as_echo_n "(cached) " >&6
24948 else
24951 ac_ext=cpp
24952 ac_cpp='$CXXCPP $CPPFLAGS'
24953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24958 /* end confdefs.h. */
24959 #include <math.h>
24961 main ()
24963 _powf(0, 0);
24965 return 0;
24967 _ACEOF
24968 if ac_fn_cxx_try_compile "$LINENO"; then :
24969 glibcxx_cv_func__powf_use=yes
24970 else
24971 glibcxx_cv_func__powf_use=no
24973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974 ac_ext=c
24975 ac_cpp='$CPP $CPPFLAGS'
24976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24985 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24987 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24988 for ac_func in _powf
24989 do :
24990 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24991 if test "x$ac_cv_func__powf" = x""yes; then :
24992 cat >>confdefs.h <<_ACEOF
24993 #define HAVE__POWF 1
24994 _ACEOF
24997 done
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25007 $as_echo_n "checking for sqrtf declaration... " >&6; }
25008 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25009 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
25010 $as_echo_n "(cached) " >&6
25011 else
25014 ac_ext=cpp
25015 ac_cpp='$CXXCPP $CPPFLAGS'
25016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25021 /* end confdefs.h. */
25022 #include <math.h>
25023 #ifdef HAVE_IEEEFP_H
25024 #include <ieeefp.h>
25025 #endif
25028 main ()
25030 sqrtf(0);
25032 return 0;
25034 _ACEOF
25035 if ac_fn_cxx_try_compile "$LINENO"; then :
25036 glibcxx_cv_func_sqrtf_use=yes
25037 else
25038 glibcxx_cv_func_sqrtf_use=no
25040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25041 ac_ext=c
25042 ac_cpp='$CPP $CPPFLAGS'
25043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25052 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25054 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25055 for ac_func in sqrtf
25056 do :
25057 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25058 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25059 cat >>confdefs.h <<_ACEOF
25060 #define HAVE_SQRTF 1
25061 _ACEOF
25064 done
25066 else
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25069 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25070 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25071 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25072 $as_echo_n "(cached) " >&6
25073 else
25076 ac_ext=cpp
25077 ac_cpp='$CXXCPP $CPPFLAGS'
25078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25083 /* end confdefs.h. */
25084 #include <math.h>
25085 #ifdef HAVE_IEEEFP_H
25086 #include <ieeefp.h>
25087 #endif
25090 main ()
25092 _sqrtf(0);
25094 return 0;
25096 _ACEOF
25097 if ac_fn_cxx_try_compile "$LINENO"; then :
25098 glibcxx_cv_func__sqrtf_use=yes
25099 else
25100 glibcxx_cv_func__sqrtf_use=no
25102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25103 ac_ext=c
25104 ac_cpp='$CPP $CPPFLAGS'
25105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25114 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25116 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25117 for ac_func in _sqrtf
25118 do :
25119 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25120 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25121 cat >>confdefs.h <<_ACEOF
25122 #define HAVE__SQRTF 1
25123 _ACEOF
25126 done
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25136 $as_echo_n "checking for sincosf declaration... " >&6; }
25137 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25138 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25139 $as_echo_n "(cached) " >&6
25140 else
25143 ac_ext=cpp
25144 ac_cpp='$CXXCPP $CPPFLAGS'
25145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25150 /* end confdefs.h. */
25151 #include <math.h>
25153 main ()
25155 sincosf(0, 0, 0);
25157 return 0;
25159 _ACEOF
25160 if ac_fn_cxx_try_compile "$LINENO"; then :
25161 glibcxx_cv_func_sincosf_use=yes
25162 else
25163 glibcxx_cv_func_sincosf_use=no
25165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25166 ac_ext=c
25167 ac_cpp='$CPP $CPPFLAGS'
25168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25177 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25179 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25180 for ac_func in sincosf
25181 do :
25182 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25183 if test "x$ac_cv_func_sincosf" = x""yes; then :
25184 cat >>confdefs.h <<_ACEOF
25185 #define HAVE_SINCOSF 1
25186 _ACEOF
25189 done
25191 else
25193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25194 $as_echo_n "checking for _sincosf declaration... " >&6; }
25195 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25196 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25197 $as_echo_n "(cached) " >&6
25198 else
25201 ac_ext=cpp
25202 ac_cpp='$CXXCPP $CPPFLAGS'
25203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h. */
25209 #include <math.h>
25211 main ()
25213 _sincosf(0, 0, 0);
25215 return 0;
25217 _ACEOF
25218 if ac_fn_cxx_try_compile "$LINENO"; then :
25219 glibcxx_cv_func__sincosf_use=yes
25220 else
25221 glibcxx_cv_func__sincosf_use=no
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224 ac_ext=c
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25235 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25237 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25238 for ac_func in _sincosf
25239 do :
25240 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25241 if test "x$ac_cv_func__sincosf" = x""yes; then :
25242 cat >>confdefs.h <<_ACEOF
25243 #define HAVE__SINCOSF 1
25244 _ACEOF
25247 done
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25257 $as_echo_n "checking for finitef declaration... " >&6; }
25258 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25259 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25260 $as_echo_n "(cached) " >&6
25261 else
25264 ac_ext=cpp
25265 ac_cpp='$CXXCPP $CPPFLAGS'
25266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25271 /* end confdefs.h. */
25272 #include <math.h>
25273 #ifdef HAVE_IEEEFP_H
25274 #include <ieeefp.h>
25275 #endif
25278 main ()
25280 finitef(0);
25282 return 0;
25284 _ACEOF
25285 if ac_fn_cxx_try_compile "$LINENO"; then :
25286 glibcxx_cv_func_finitef_use=yes
25287 else
25288 glibcxx_cv_func_finitef_use=no
25290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25291 ac_ext=c
25292 ac_cpp='$CPP $CPPFLAGS'
25293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25302 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25304 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25305 for ac_func in finitef
25306 do :
25307 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25308 if test "x$ac_cv_func_finitef" = x""yes; then :
25309 cat >>confdefs.h <<_ACEOF
25310 #define HAVE_FINITEF 1
25311 _ACEOF
25314 done
25316 else
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25319 $as_echo_n "checking for _finitef declaration... " >&6; }
25320 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25321 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25322 $as_echo_n "(cached) " >&6
25323 else
25326 ac_ext=cpp
25327 ac_cpp='$CXXCPP $CPPFLAGS'
25328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25333 /* end confdefs.h. */
25334 #include <math.h>
25335 #ifdef HAVE_IEEEFP_H
25336 #include <ieeefp.h>
25337 #endif
25340 main ()
25342 _finitef(0);
25344 return 0;
25346 _ACEOF
25347 if ac_fn_cxx_try_compile "$LINENO"; then :
25348 glibcxx_cv_func__finitef_use=yes
25349 else
25350 glibcxx_cv_func__finitef_use=no
25352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25353 ac_ext=c
25354 ac_cpp='$CPP $CPPFLAGS'
25355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25364 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25366 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25367 for ac_func in _finitef
25368 do :
25369 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25370 if test "x$ac_cv_func__finitef" = x""yes; then :
25371 cat >>confdefs.h <<_ACEOF
25372 #define HAVE__FINITEF 1
25373 _ACEOF
25376 done
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25386 $as_echo_n "checking for long double trig functions... " >&6; }
25387 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25388 $as_echo_n "(cached) " >&6
25389 else
25392 ac_ext=cpp
25393 ac_cpp='$CXXCPP $CPPFLAGS'
25394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25399 /* end confdefs.h. */
25400 #include <math.h>
25402 main ()
25404 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25406 return 0;
25408 _ACEOF
25409 if ac_fn_cxx_try_compile "$LINENO"; then :
25410 glibcxx_cv_func_long_double_trig_use=yes
25411 else
25412 glibcxx_cv_func_long_double_trig_use=no
25414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25415 ac_ext=c
25416 ac_cpp='$CPP $CPPFLAGS'
25417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25424 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25425 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25426 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25427 do :
25428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25430 eval as_val=\$$as_ac_var
25431 if test "x$as_val" = x""yes; then :
25432 cat >>confdefs.h <<_ACEOF
25433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25434 _ACEOF
25437 done
25439 else
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25441 $as_echo_n "checking for _long double trig functions... " >&6; }
25442 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25443 $as_echo_n "(cached) " >&6
25444 else
25447 ac_ext=cpp
25448 ac_cpp='$CXXCPP $CPPFLAGS'
25449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25454 /* end confdefs.h. */
25455 #include <math.h>
25457 main ()
25459 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25461 return 0;
25463 _ACEOF
25464 if ac_fn_cxx_try_compile "$LINENO"; then :
25465 glibcxx_cv_func__long_double_trig_use=yes
25466 else
25467 glibcxx_cv_func__long_double_trig_use=no
25469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25470 ac_ext=c
25471 ac_cpp='$CPP $CPPFLAGS'
25472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25479 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25480 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25481 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25482 do :
25483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25485 eval as_val=\$$as_ac_var
25486 if test "x$as_val" = x""yes; then :
25487 cat >>confdefs.h <<_ACEOF
25488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25489 _ACEOF
25492 done
25501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25502 $as_echo_n "checking for long double round functions... " >&6; }
25503 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25504 $as_echo_n "(cached) " >&6
25505 else
25508 ac_ext=cpp
25509 ac_cpp='$CXXCPP $CPPFLAGS'
25510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25515 /* end confdefs.h. */
25516 #include <math.h>
25518 main ()
25520 ceill (0); floorl (0);
25522 return 0;
25524 _ACEOF
25525 if ac_fn_cxx_try_compile "$LINENO"; then :
25526 glibcxx_cv_func_long_double_round_use=yes
25527 else
25528 glibcxx_cv_func_long_double_round_use=no
25530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25531 ac_ext=c
25532 ac_cpp='$CPP $CPPFLAGS'
25533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25540 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25541 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25542 for ac_func in ceill floorl
25543 do :
25544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25546 eval as_val=\$$as_ac_var
25547 if test "x$as_val" = x""yes; then :
25548 cat >>confdefs.h <<_ACEOF
25549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25550 _ACEOF
25553 done
25555 else
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25557 $as_echo_n "checking for _long double round functions... " >&6; }
25558 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25559 $as_echo_n "(cached) " >&6
25560 else
25563 ac_ext=cpp
25564 ac_cpp='$CXXCPP $CPPFLAGS'
25565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25570 /* end confdefs.h. */
25571 #include <math.h>
25573 main ()
25575 _ceill (0); _floorl (0);
25577 return 0;
25579 _ACEOF
25580 if ac_fn_cxx_try_compile "$LINENO"; then :
25581 glibcxx_cv_func__long_double_round_use=yes
25582 else
25583 glibcxx_cv_func__long_double_round_use=no
25585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25586 ac_ext=c
25587 ac_cpp='$CPP $CPPFLAGS'
25588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25595 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25596 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25597 for ac_func in _ceill _floorl
25598 do :
25599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25601 eval as_val=\$$as_ac_var
25602 if test "x$as_val" = x""yes; then :
25603 cat >>confdefs.h <<_ACEOF
25604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25605 _ACEOF
25608 done
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25619 $as_echo_n "checking for isnanl declaration... " >&6; }
25620 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25621 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25622 $as_echo_n "(cached) " >&6
25623 else
25626 ac_ext=cpp
25627 ac_cpp='$CXXCPP $CPPFLAGS'
25628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25633 /* end confdefs.h. */
25634 #include <math.h>
25635 #ifdef HAVE_IEEEFP_H
25636 #include <ieeefp.h>
25637 #endif
25640 main ()
25642 isnanl(0);
25644 return 0;
25646 _ACEOF
25647 if ac_fn_cxx_try_compile "$LINENO"; then :
25648 glibcxx_cv_func_isnanl_use=yes
25649 else
25650 glibcxx_cv_func_isnanl_use=no
25652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25653 ac_ext=c
25654 ac_cpp='$CPP $CPPFLAGS'
25655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25664 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25666 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25667 for ac_func in isnanl
25668 do :
25669 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25670 if test "x$ac_cv_func_isnanl" = x""yes; then :
25671 cat >>confdefs.h <<_ACEOF
25672 #define HAVE_ISNANL 1
25673 _ACEOF
25676 done
25678 else
25680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25681 $as_echo_n "checking for _isnanl declaration... " >&6; }
25682 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25683 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25684 $as_echo_n "(cached) " >&6
25685 else
25688 ac_ext=cpp
25689 ac_cpp='$CXXCPP $CPPFLAGS'
25690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25695 /* end confdefs.h. */
25696 #include <math.h>
25697 #ifdef HAVE_IEEEFP_H
25698 #include <ieeefp.h>
25699 #endif
25702 main ()
25704 _isnanl(0);
25706 return 0;
25708 _ACEOF
25709 if ac_fn_cxx_try_compile "$LINENO"; then :
25710 glibcxx_cv_func__isnanl_use=yes
25711 else
25712 glibcxx_cv_func__isnanl_use=no
25714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25715 ac_ext=c
25716 ac_cpp='$CPP $CPPFLAGS'
25717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25726 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25728 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25729 for ac_func in _isnanl
25730 do :
25731 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25732 if test "x$ac_cv_func__isnanl" = x""yes; then :
25733 cat >>confdefs.h <<_ACEOF
25734 #define HAVE__ISNANL 1
25735 _ACEOF
25738 done
25747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25748 $as_echo_n "checking for isinfl declaration... " >&6; }
25749 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25750 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25751 $as_echo_n "(cached) " >&6
25752 else
25755 ac_ext=cpp
25756 ac_cpp='$CXXCPP $CPPFLAGS'
25757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25762 /* end confdefs.h. */
25763 #include <math.h>
25764 #ifdef HAVE_IEEEFP_H
25765 #include <ieeefp.h>
25766 #endif
25769 main ()
25771 isinfl(0);
25773 return 0;
25775 _ACEOF
25776 if ac_fn_cxx_try_compile "$LINENO"; then :
25777 glibcxx_cv_func_isinfl_use=yes
25778 else
25779 glibcxx_cv_func_isinfl_use=no
25781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25782 ac_ext=c
25783 ac_cpp='$CPP $CPPFLAGS'
25784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25793 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25795 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25796 for ac_func in isinfl
25797 do :
25798 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25799 if test "x$ac_cv_func_isinfl" = x""yes; then :
25800 cat >>confdefs.h <<_ACEOF
25801 #define HAVE_ISINFL 1
25802 _ACEOF
25805 done
25807 else
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25810 $as_echo_n "checking for _isinfl declaration... " >&6; }
25811 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25812 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25813 $as_echo_n "(cached) " >&6
25814 else
25817 ac_ext=cpp
25818 ac_cpp='$CXXCPP $CPPFLAGS'
25819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25824 /* end confdefs.h. */
25825 #include <math.h>
25826 #ifdef HAVE_IEEEFP_H
25827 #include <ieeefp.h>
25828 #endif
25831 main ()
25833 _isinfl(0);
25835 return 0;
25837 _ACEOF
25838 if ac_fn_cxx_try_compile "$LINENO"; then :
25839 glibcxx_cv_func__isinfl_use=yes
25840 else
25841 glibcxx_cv_func__isinfl_use=no
25843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25844 ac_ext=c
25845 ac_cpp='$CPP $CPPFLAGS'
25846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25855 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25857 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25858 for ac_func in _isinfl
25859 do :
25860 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25861 if test "x$ac_cv_func__isinfl" = x""yes; then :
25862 cat >>confdefs.h <<_ACEOF
25863 #define HAVE__ISINFL 1
25864 _ACEOF
25867 done
25876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25877 $as_echo_n "checking for atan2l declaration... " >&6; }
25878 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25879 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25880 $as_echo_n "(cached) " >&6
25881 else
25884 ac_ext=cpp
25885 ac_cpp='$CXXCPP $CPPFLAGS'
25886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25891 /* end confdefs.h. */
25892 #include <math.h>
25894 main ()
25896 atan2l(0, 0);
25898 return 0;
25900 _ACEOF
25901 if ac_fn_cxx_try_compile "$LINENO"; then :
25902 glibcxx_cv_func_atan2l_use=yes
25903 else
25904 glibcxx_cv_func_atan2l_use=no
25906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25907 ac_ext=c
25908 ac_cpp='$CPP $CPPFLAGS'
25909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25918 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25920 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25921 for ac_func in atan2l
25922 do :
25923 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25924 if test "x$ac_cv_func_atan2l" = x""yes; then :
25925 cat >>confdefs.h <<_ACEOF
25926 #define HAVE_ATAN2L 1
25927 _ACEOF
25930 done
25932 else
25934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25935 $as_echo_n "checking for _atan2l declaration... " >&6; }
25936 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25937 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25938 $as_echo_n "(cached) " >&6
25939 else
25942 ac_ext=cpp
25943 ac_cpp='$CXXCPP $CPPFLAGS'
25944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25949 /* end confdefs.h. */
25950 #include <math.h>
25952 main ()
25954 _atan2l(0, 0);
25956 return 0;
25958 _ACEOF
25959 if ac_fn_cxx_try_compile "$LINENO"; then :
25960 glibcxx_cv_func__atan2l_use=yes
25961 else
25962 glibcxx_cv_func__atan2l_use=no
25964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25965 ac_ext=c
25966 ac_cpp='$CPP $CPPFLAGS'
25967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25976 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25978 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25979 for ac_func in _atan2l
25980 do :
25981 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25982 if test "x$ac_cv_func__atan2l" = x""yes; then :
25983 cat >>confdefs.h <<_ACEOF
25984 #define HAVE__ATAN2L 1
25985 _ACEOF
25988 done
25997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25998 $as_echo_n "checking for expl declaration... " >&6; }
25999 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26000 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
26001 $as_echo_n "(cached) " >&6
26002 else
26005 ac_ext=cpp
26006 ac_cpp='$CXXCPP $CPPFLAGS'
26007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26012 /* end confdefs.h. */
26013 #include <math.h>
26014 #ifdef HAVE_IEEEFP_H
26015 #include <ieeefp.h>
26016 #endif
26019 main ()
26021 expl(0);
26023 return 0;
26025 _ACEOF
26026 if ac_fn_cxx_try_compile "$LINENO"; then :
26027 glibcxx_cv_func_expl_use=yes
26028 else
26029 glibcxx_cv_func_expl_use=no
26031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26032 ac_ext=c
26033 ac_cpp='$CPP $CPPFLAGS'
26034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26043 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26045 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26046 for ac_func in expl
26047 do :
26048 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26049 if test "x$ac_cv_func_expl" = x""yes; then :
26050 cat >>confdefs.h <<_ACEOF
26051 #define HAVE_EXPL 1
26052 _ACEOF
26055 done
26057 else
26059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26060 $as_echo_n "checking for _expl declaration... " >&6; }
26061 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26062 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26063 $as_echo_n "(cached) " >&6
26064 else
26067 ac_ext=cpp
26068 ac_cpp='$CXXCPP $CPPFLAGS'
26069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26074 /* end confdefs.h. */
26075 #include <math.h>
26076 #ifdef HAVE_IEEEFP_H
26077 #include <ieeefp.h>
26078 #endif
26081 main ()
26083 _expl(0);
26085 return 0;
26087 _ACEOF
26088 if ac_fn_cxx_try_compile "$LINENO"; then :
26089 glibcxx_cv_func__expl_use=yes
26090 else
26091 glibcxx_cv_func__expl_use=no
26093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26094 ac_ext=c
26095 ac_cpp='$CPP $CPPFLAGS'
26096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26105 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26107 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26108 for ac_func in _expl
26109 do :
26110 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26111 if test "x$ac_cv_func__expl" = x""yes; then :
26112 cat >>confdefs.h <<_ACEOF
26113 #define HAVE__EXPL 1
26114 _ACEOF
26117 done
26126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26127 $as_echo_n "checking for fabsl declaration... " >&6; }
26128 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26129 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26130 $as_echo_n "(cached) " >&6
26131 else
26134 ac_ext=cpp
26135 ac_cpp='$CXXCPP $CPPFLAGS'
26136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26141 /* end confdefs.h. */
26142 #include <math.h>
26143 #ifdef HAVE_IEEEFP_H
26144 #include <ieeefp.h>
26145 #endif
26148 main ()
26150 fabsl(0);
26152 return 0;
26154 _ACEOF
26155 if ac_fn_cxx_try_compile "$LINENO"; then :
26156 glibcxx_cv_func_fabsl_use=yes
26157 else
26158 glibcxx_cv_func_fabsl_use=no
26160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26161 ac_ext=c
26162 ac_cpp='$CPP $CPPFLAGS'
26163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26172 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26174 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26175 for ac_func in fabsl
26176 do :
26177 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26178 if test "x$ac_cv_func_fabsl" = x""yes; then :
26179 cat >>confdefs.h <<_ACEOF
26180 #define HAVE_FABSL 1
26181 _ACEOF
26184 done
26186 else
26188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26189 $as_echo_n "checking for _fabsl declaration... " >&6; }
26190 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26191 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26192 $as_echo_n "(cached) " >&6
26193 else
26196 ac_ext=cpp
26197 ac_cpp='$CXXCPP $CPPFLAGS'
26198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26203 /* end confdefs.h. */
26204 #include <math.h>
26205 #ifdef HAVE_IEEEFP_H
26206 #include <ieeefp.h>
26207 #endif
26210 main ()
26212 _fabsl(0);
26214 return 0;
26216 _ACEOF
26217 if ac_fn_cxx_try_compile "$LINENO"; then :
26218 glibcxx_cv_func__fabsl_use=yes
26219 else
26220 glibcxx_cv_func__fabsl_use=no
26222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26223 ac_ext=c
26224 ac_cpp='$CPP $CPPFLAGS'
26225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26234 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26236 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26237 for ac_func in _fabsl
26238 do :
26239 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26240 if test "x$ac_cv_func__fabsl" = x""yes; then :
26241 cat >>confdefs.h <<_ACEOF
26242 #define HAVE__FABSL 1
26243 _ACEOF
26246 done
26255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26256 $as_echo_n "checking for fmodl declaration... " >&6; }
26257 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26258 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26259 $as_echo_n "(cached) " >&6
26260 else
26263 ac_ext=cpp
26264 ac_cpp='$CXXCPP $CPPFLAGS'
26265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26270 /* end confdefs.h. */
26271 #include <math.h>
26273 main ()
26275 fmodl(0, 0);
26277 return 0;
26279 _ACEOF
26280 if ac_fn_cxx_try_compile "$LINENO"; then :
26281 glibcxx_cv_func_fmodl_use=yes
26282 else
26283 glibcxx_cv_func_fmodl_use=no
26285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26286 ac_ext=c
26287 ac_cpp='$CPP $CPPFLAGS'
26288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26297 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26299 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26300 for ac_func in fmodl
26301 do :
26302 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26303 if test "x$ac_cv_func_fmodl" = x""yes; then :
26304 cat >>confdefs.h <<_ACEOF
26305 #define HAVE_FMODL 1
26306 _ACEOF
26309 done
26311 else
26313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26314 $as_echo_n "checking for _fmodl declaration... " >&6; }
26315 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26316 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26317 $as_echo_n "(cached) " >&6
26318 else
26321 ac_ext=cpp
26322 ac_cpp='$CXXCPP $CPPFLAGS'
26323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26328 /* end confdefs.h. */
26329 #include <math.h>
26331 main ()
26333 _fmodl(0, 0);
26335 return 0;
26337 _ACEOF
26338 if ac_fn_cxx_try_compile "$LINENO"; then :
26339 glibcxx_cv_func__fmodl_use=yes
26340 else
26341 glibcxx_cv_func__fmodl_use=no
26343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26344 ac_ext=c
26345 ac_cpp='$CPP $CPPFLAGS'
26346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26355 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26357 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26358 for ac_func in _fmodl
26359 do :
26360 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26361 if test "x$ac_cv_func__fmodl" = x""yes; then :
26362 cat >>confdefs.h <<_ACEOF
26363 #define HAVE__FMODL 1
26364 _ACEOF
26367 done
26376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26377 $as_echo_n "checking for frexpl declaration... " >&6; }
26378 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26379 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26380 $as_echo_n "(cached) " >&6
26381 else
26384 ac_ext=cpp
26385 ac_cpp='$CXXCPP $CPPFLAGS'
26386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26391 /* end confdefs.h. */
26392 #include <math.h>
26394 main ()
26396 frexpl(0, 0);
26398 return 0;
26400 _ACEOF
26401 if ac_fn_cxx_try_compile "$LINENO"; then :
26402 glibcxx_cv_func_frexpl_use=yes
26403 else
26404 glibcxx_cv_func_frexpl_use=no
26406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26407 ac_ext=c
26408 ac_cpp='$CPP $CPPFLAGS'
26409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26418 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26420 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26421 for ac_func in frexpl
26422 do :
26423 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26424 if test "x$ac_cv_func_frexpl" = x""yes; then :
26425 cat >>confdefs.h <<_ACEOF
26426 #define HAVE_FREXPL 1
26427 _ACEOF
26430 done
26432 else
26434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26435 $as_echo_n "checking for _frexpl declaration... " >&6; }
26436 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26437 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26438 $as_echo_n "(cached) " >&6
26439 else
26442 ac_ext=cpp
26443 ac_cpp='$CXXCPP $CPPFLAGS'
26444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26449 /* end confdefs.h. */
26450 #include <math.h>
26452 main ()
26454 _frexpl(0, 0);
26456 return 0;
26458 _ACEOF
26459 if ac_fn_cxx_try_compile "$LINENO"; then :
26460 glibcxx_cv_func__frexpl_use=yes
26461 else
26462 glibcxx_cv_func__frexpl_use=no
26464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26465 ac_ext=c
26466 ac_cpp='$CPP $CPPFLAGS'
26467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26476 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26478 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26479 for ac_func in _frexpl
26480 do :
26481 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26482 if test "x$ac_cv_func__frexpl" = x""yes; then :
26483 cat >>confdefs.h <<_ACEOF
26484 #define HAVE__FREXPL 1
26485 _ACEOF
26488 done
26497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26498 $as_echo_n "checking for hypotl declaration... " >&6; }
26499 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26500 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26501 $as_echo_n "(cached) " >&6
26502 else
26505 ac_ext=cpp
26506 ac_cpp='$CXXCPP $CPPFLAGS'
26507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26512 /* end confdefs.h. */
26513 #include <math.h>
26515 main ()
26517 hypotl(0, 0);
26519 return 0;
26521 _ACEOF
26522 if ac_fn_cxx_try_compile "$LINENO"; then :
26523 glibcxx_cv_func_hypotl_use=yes
26524 else
26525 glibcxx_cv_func_hypotl_use=no
26527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26528 ac_ext=c
26529 ac_cpp='$CPP $CPPFLAGS'
26530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26539 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26541 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26542 for ac_func in hypotl
26543 do :
26544 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26545 if test "x$ac_cv_func_hypotl" = x""yes; then :
26546 cat >>confdefs.h <<_ACEOF
26547 #define HAVE_HYPOTL 1
26548 _ACEOF
26551 done
26553 else
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26556 $as_echo_n "checking for _hypotl declaration... " >&6; }
26557 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26558 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26559 $as_echo_n "(cached) " >&6
26560 else
26563 ac_ext=cpp
26564 ac_cpp='$CXXCPP $CPPFLAGS'
26565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26570 /* end confdefs.h. */
26571 #include <math.h>
26573 main ()
26575 _hypotl(0, 0);
26577 return 0;
26579 _ACEOF
26580 if ac_fn_cxx_try_compile "$LINENO"; then :
26581 glibcxx_cv_func__hypotl_use=yes
26582 else
26583 glibcxx_cv_func__hypotl_use=no
26585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26586 ac_ext=c
26587 ac_cpp='$CPP $CPPFLAGS'
26588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26597 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26599 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26600 for ac_func in _hypotl
26601 do :
26602 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26603 if test "x$ac_cv_func__hypotl" = x""yes; then :
26604 cat >>confdefs.h <<_ACEOF
26605 #define HAVE__HYPOTL 1
26606 _ACEOF
26609 done
26618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26619 $as_echo_n "checking for ldexpl declaration... " >&6; }
26620 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26621 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26622 $as_echo_n "(cached) " >&6
26623 else
26626 ac_ext=cpp
26627 ac_cpp='$CXXCPP $CPPFLAGS'
26628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26633 /* end confdefs.h. */
26634 #include <math.h>
26636 main ()
26638 ldexpl(0, 0);
26640 return 0;
26642 _ACEOF
26643 if ac_fn_cxx_try_compile "$LINENO"; then :
26644 glibcxx_cv_func_ldexpl_use=yes
26645 else
26646 glibcxx_cv_func_ldexpl_use=no
26648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26649 ac_ext=c
26650 ac_cpp='$CPP $CPPFLAGS'
26651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26660 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26662 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26663 for ac_func in ldexpl
26664 do :
26665 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26666 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26667 cat >>confdefs.h <<_ACEOF
26668 #define HAVE_LDEXPL 1
26669 _ACEOF
26672 done
26674 else
26676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26677 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26678 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26679 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26680 $as_echo_n "(cached) " >&6
26681 else
26684 ac_ext=cpp
26685 ac_cpp='$CXXCPP $CPPFLAGS'
26686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26691 /* end confdefs.h. */
26692 #include <math.h>
26694 main ()
26696 _ldexpl(0, 0);
26698 return 0;
26700 _ACEOF
26701 if ac_fn_cxx_try_compile "$LINENO"; then :
26702 glibcxx_cv_func__ldexpl_use=yes
26703 else
26704 glibcxx_cv_func__ldexpl_use=no
26706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26707 ac_ext=c
26708 ac_cpp='$CPP $CPPFLAGS'
26709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26718 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26720 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26721 for ac_func in _ldexpl
26722 do :
26723 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26724 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26725 cat >>confdefs.h <<_ACEOF
26726 #define HAVE__LDEXPL 1
26727 _ACEOF
26730 done
26739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26740 $as_echo_n "checking for logl declaration... " >&6; }
26741 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26742 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26743 $as_echo_n "(cached) " >&6
26744 else
26747 ac_ext=cpp
26748 ac_cpp='$CXXCPP $CPPFLAGS'
26749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26754 /* end confdefs.h. */
26755 #include <math.h>
26756 #ifdef HAVE_IEEEFP_H
26757 #include <ieeefp.h>
26758 #endif
26761 main ()
26763 logl(0);
26765 return 0;
26767 _ACEOF
26768 if ac_fn_cxx_try_compile "$LINENO"; then :
26769 glibcxx_cv_func_logl_use=yes
26770 else
26771 glibcxx_cv_func_logl_use=no
26773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26774 ac_ext=c
26775 ac_cpp='$CPP $CPPFLAGS'
26776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26785 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26787 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26788 for ac_func in logl
26789 do :
26790 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26791 if test "x$ac_cv_func_logl" = x""yes; then :
26792 cat >>confdefs.h <<_ACEOF
26793 #define HAVE_LOGL 1
26794 _ACEOF
26797 done
26799 else
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26802 $as_echo_n "checking for _logl declaration... " >&6; }
26803 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26804 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26805 $as_echo_n "(cached) " >&6
26806 else
26809 ac_ext=cpp
26810 ac_cpp='$CXXCPP $CPPFLAGS'
26811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26816 /* end confdefs.h. */
26817 #include <math.h>
26818 #ifdef HAVE_IEEEFP_H
26819 #include <ieeefp.h>
26820 #endif
26823 main ()
26825 _logl(0);
26827 return 0;
26829 _ACEOF
26830 if ac_fn_cxx_try_compile "$LINENO"; then :
26831 glibcxx_cv_func__logl_use=yes
26832 else
26833 glibcxx_cv_func__logl_use=no
26835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26836 ac_ext=c
26837 ac_cpp='$CPP $CPPFLAGS'
26838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26847 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26849 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26850 for ac_func in _logl
26851 do :
26852 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26853 if test "x$ac_cv_func__logl" = x""yes; then :
26854 cat >>confdefs.h <<_ACEOF
26855 #define HAVE__LOGL 1
26856 _ACEOF
26859 done
26868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26869 $as_echo_n "checking for log10l declaration... " >&6; }
26870 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26871 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26872 $as_echo_n "(cached) " >&6
26873 else
26876 ac_ext=cpp
26877 ac_cpp='$CXXCPP $CPPFLAGS'
26878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26883 /* end confdefs.h. */
26884 #include <math.h>
26885 #ifdef HAVE_IEEEFP_H
26886 #include <ieeefp.h>
26887 #endif
26890 main ()
26892 log10l(0);
26894 return 0;
26896 _ACEOF
26897 if ac_fn_cxx_try_compile "$LINENO"; then :
26898 glibcxx_cv_func_log10l_use=yes
26899 else
26900 glibcxx_cv_func_log10l_use=no
26902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26903 ac_ext=c
26904 ac_cpp='$CPP $CPPFLAGS'
26905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26914 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26916 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26917 for ac_func in log10l
26918 do :
26919 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26920 if test "x$ac_cv_func_log10l" = x""yes; then :
26921 cat >>confdefs.h <<_ACEOF
26922 #define HAVE_LOG10L 1
26923 _ACEOF
26926 done
26928 else
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26931 $as_echo_n "checking for _log10l declaration... " >&6; }
26932 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26933 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26934 $as_echo_n "(cached) " >&6
26935 else
26938 ac_ext=cpp
26939 ac_cpp='$CXXCPP $CPPFLAGS'
26940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26945 /* end confdefs.h. */
26946 #include <math.h>
26947 #ifdef HAVE_IEEEFP_H
26948 #include <ieeefp.h>
26949 #endif
26952 main ()
26954 _log10l(0);
26956 return 0;
26958 _ACEOF
26959 if ac_fn_cxx_try_compile "$LINENO"; then :
26960 glibcxx_cv_func__log10l_use=yes
26961 else
26962 glibcxx_cv_func__log10l_use=no
26964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26965 ac_ext=c
26966 ac_cpp='$CPP $CPPFLAGS'
26967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26976 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26978 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26979 for ac_func in _log10l
26980 do :
26981 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26982 if test "x$ac_cv_func__log10l" = x""yes; then :
26983 cat >>confdefs.h <<_ACEOF
26984 #define HAVE__LOG10L 1
26985 _ACEOF
26988 done
26997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26998 $as_echo_n "checking for modfl declaration... " >&6; }
26999 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27000 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
27001 $as_echo_n "(cached) " >&6
27002 else
27005 ac_ext=cpp
27006 ac_cpp='$CXXCPP $CPPFLAGS'
27007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27012 /* end confdefs.h. */
27013 #include <math.h>
27015 main ()
27017 modfl(0, 0);
27019 return 0;
27021 _ACEOF
27022 if ac_fn_cxx_try_compile "$LINENO"; then :
27023 glibcxx_cv_func_modfl_use=yes
27024 else
27025 glibcxx_cv_func_modfl_use=no
27027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27028 ac_ext=c
27029 ac_cpp='$CPP $CPPFLAGS'
27030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27039 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27041 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27042 for ac_func in modfl
27043 do :
27044 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27045 if test "x$ac_cv_func_modfl" = x""yes; then :
27046 cat >>confdefs.h <<_ACEOF
27047 #define HAVE_MODFL 1
27048 _ACEOF
27051 done
27053 else
27055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27056 $as_echo_n "checking for _modfl declaration... " >&6; }
27057 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27058 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27059 $as_echo_n "(cached) " >&6
27060 else
27063 ac_ext=cpp
27064 ac_cpp='$CXXCPP $CPPFLAGS'
27065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27070 /* end confdefs.h. */
27071 #include <math.h>
27073 main ()
27075 _modfl(0, 0);
27077 return 0;
27079 _ACEOF
27080 if ac_fn_cxx_try_compile "$LINENO"; then :
27081 glibcxx_cv_func__modfl_use=yes
27082 else
27083 glibcxx_cv_func__modfl_use=no
27085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27086 ac_ext=c
27087 ac_cpp='$CPP $CPPFLAGS'
27088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27097 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27099 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27100 for ac_func in _modfl
27101 do :
27102 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27103 if test "x$ac_cv_func__modfl" = x""yes; then :
27104 cat >>confdefs.h <<_ACEOF
27105 #define HAVE__MODFL 1
27106 _ACEOF
27109 done
27118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27119 $as_echo_n "checking for powl declaration... " >&6; }
27120 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27121 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27122 $as_echo_n "(cached) " >&6
27123 else
27126 ac_ext=cpp
27127 ac_cpp='$CXXCPP $CPPFLAGS'
27128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27133 /* end confdefs.h. */
27134 #include <math.h>
27136 main ()
27138 powl(0, 0);
27140 return 0;
27142 _ACEOF
27143 if ac_fn_cxx_try_compile "$LINENO"; then :
27144 glibcxx_cv_func_powl_use=yes
27145 else
27146 glibcxx_cv_func_powl_use=no
27148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27149 ac_ext=c
27150 ac_cpp='$CPP $CPPFLAGS'
27151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27160 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27162 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27163 for ac_func in powl
27164 do :
27165 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27166 if test "x$ac_cv_func_powl" = x""yes; then :
27167 cat >>confdefs.h <<_ACEOF
27168 #define HAVE_POWL 1
27169 _ACEOF
27172 done
27174 else
27176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27177 $as_echo_n "checking for _powl declaration... " >&6; }
27178 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27179 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27180 $as_echo_n "(cached) " >&6
27181 else
27184 ac_ext=cpp
27185 ac_cpp='$CXXCPP $CPPFLAGS'
27186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27191 /* end confdefs.h. */
27192 #include <math.h>
27194 main ()
27196 _powl(0, 0);
27198 return 0;
27200 _ACEOF
27201 if ac_fn_cxx_try_compile "$LINENO"; then :
27202 glibcxx_cv_func__powl_use=yes
27203 else
27204 glibcxx_cv_func__powl_use=no
27206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27207 ac_ext=c
27208 ac_cpp='$CPP $CPPFLAGS'
27209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27218 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27220 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27221 for ac_func in _powl
27222 do :
27223 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27224 if test "x$ac_cv_func__powl" = x""yes; then :
27225 cat >>confdefs.h <<_ACEOF
27226 #define HAVE__POWL 1
27227 _ACEOF
27230 done
27239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27240 $as_echo_n "checking for sqrtl declaration... " >&6; }
27241 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27242 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27243 $as_echo_n "(cached) " >&6
27244 else
27247 ac_ext=cpp
27248 ac_cpp='$CXXCPP $CPPFLAGS'
27249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27254 /* end confdefs.h. */
27255 #include <math.h>
27256 #ifdef HAVE_IEEEFP_H
27257 #include <ieeefp.h>
27258 #endif
27261 main ()
27263 sqrtl(0);
27265 return 0;
27267 _ACEOF
27268 if ac_fn_cxx_try_compile "$LINENO"; then :
27269 glibcxx_cv_func_sqrtl_use=yes
27270 else
27271 glibcxx_cv_func_sqrtl_use=no
27273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27274 ac_ext=c
27275 ac_cpp='$CPP $CPPFLAGS'
27276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27285 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27287 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27288 for ac_func in sqrtl
27289 do :
27290 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27291 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27292 cat >>confdefs.h <<_ACEOF
27293 #define HAVE_SQRTL 1
27294 _ACEOF
27297 done
27299 else
27301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27302 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27303 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27304 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27305 $as_echo_n "(cached) " >&6
27306 else
27309 ac_ext=cpp
27310 ac_cpp='$CXXCPP $CPPFLAGS'
27311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27316 /* end confdefs.h. */
27317 #include <math.h>
27318 #ifdef HAVE_IEEEFP_H
27319 #include <ieeefp.h>
27320 #endif
27323 main ()
27325 _sqrtl(0);
27327 return 0;
27329 _ACEOF
27330 if ac_fn_cxx_try_compile "$LINENO"; then :
27331 glibcxx_cv_func__sqrtl_use=yes
27332 else
27333 glibcxx_cv_func__sqrtl_use=no
27335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27336 ac_ext=c
27337 ac_cpp='$CPP $CPPFLAGS'
27338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27347 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27349 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27350 for ac_func in _sqrtl
27351 do :
27352 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27353 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27354 cat >>confdefs.h <<_ACEOF
27355 #define HAVE__SQRTL 1
27356 _ACEOF
27359 done
27368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27369 $as_echo_n "checking for sincosl declaration... " >&6; }
27370 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27371 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27372 $as_echo_n "(cached) " >&6
27373 else
27376 ac_ext=cpp
27377 ac_cpp='$CXXCPP $CPPFLAGS'
27378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27383 /* end confdefs.h. */
27384 #include <math.h>
27386 main ()
27388 sincosl(0, 0, 0);
27390 return 0;
27392 _ACEOF
27393 if ac_fn_cxx_try_compile "$LINENO"; then :
27394 glibcxx_cv_func_sincosl_use=yes
27395 else
27396 glibcxx_cv_func_sincosl_use=no
27398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27399 ac_ext=c
27400 ac_cpp='$CPP $CPPFLAGS'
27401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27410 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27412 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27413 for ac_func in sincosl
27414 do :
27415 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27416 if test "x$ac_cv_func_sincosl" = x""yes; then :
27417 cat >>confdefs.h <<_ACEOF
27418 #define HAVE_SINCOSL 1
27419 _ACEOF
27422 done
27424 else
27426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27427 $as_echo_n "checking for _sincosl declaration... " >&6; }
27428 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27429 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27430 $as_echo_n "(cached) " >&6
27431 else
27434 ac_ext=cpp
27435 ac_cpp='$CXXCPP $CPPFLAGS'
27436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27441 /* end confdefs.h. */
27442 #include <math.h>
27444 main ()
27446 _sincosl(0, 0, 0);
27448 return 0;
27450 _ACEOF
27451 if ac_fn_cxx_try_compile "$LINENO"; then :
27452 glibcxx_cv_func__sincosl_use=yes
27453 else
27454 glibcxx_cv_func__sincosl_use=no
27456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27457 ac_ext=c
27458 ac_cpp='$CPP $CPPFLAGS'
27459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27468 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27470 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27471 for ac_func in _sincosl
27472 do :
27473 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27474 if test "x$ac_cv_func__sincosl" = x""yes; then :
27475 cat >>confdefs.h <<_ACEOF
27476 #define HAVE__SINCOSL 1
27477 _ACEOF
27480 done
27489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27490 $as_echo_n "checking for finitel declaration... " >&6; }
27491 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27492 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27493 $as_echo_n "(cached) " >&6
27494 else
27497 ac_ext=cpp
27498 ac_cpp='$CXXCPP $CPPFLAGS'
27499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27504 /* end confdefs.h. */
27505 #include <math.h>
27506 #ifdef HAVE_IEEEFP_H
27507 #include <ieeefp.h>
27508 #endif
27511 main ()
27513 finitel(0);
27515 return 0;
27517 _ACEOF
27518 if ac_fn_cxx_try_compile "$LINENO"; then :
27519 glibcxx_cv_func_finitel_use=yes
27520 else
27521 glibcxx_cv_func_finitel_use=no
27523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27524 ac_ext=c
27525 ac_cpp='$CPP $CPPFLAGS'
27526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27535 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27537 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27538 for ac_func in finitel
27539 do :
27540 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27541 if test "x$ac_cv_func_finitel" = x""yes; then :
27542 cat >>confdefs.h <<_ACEOF
27543 #define HAVE_FINITEL 1
27544 _ACEOF
27547 done
27549 else
27551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27552 $as_echo_n "checking for _finitel declaration... " >&6; }
27553 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27554 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27555 $as_echo_n "(cached) " >&6
27556 else
27559 ac_ext=cpp
27560 ac_cpp='$CXXCPP $CPPFLAGS'
27561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27566 /* end confdefs.h. */
27567 #include <math.h>
27568 #ifdef HAVE_IEEEFP_H
27569 #include <ieeefp.h>
27570 #endif
27573 main ()
27575 _finitel(0);
27577 return 0;
27579 _ACEOF
27580 if ac_fn_cxx_try_compile "$LINENO"; then :
27581 glibcxx_cv_func__finitel_use=yes
27582 else
27583 glibcxx_cv_func__finitel_use=no
27585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27586 ac_ext=c
27587 ac_cpp='$CPP $CPPFLAGS'
27588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27597 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27599 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27600 for ac_func in _finitel
27601 do :
27602 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27603 if test "x$ac_cv_func__finitel" = x""yes; then :
27604 cat >>confdefs.h <<_ACEOF
27605 #define HAVE__FINITEL 1
27606 _ACEOF
27609 done
27617 LIBS="$ac_save_LIBS"
27618 CXXFLAGS="$ac_save_CXXFLAGS"
27621 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27622 ac_save_CXXFLAGS="$CXXFLAGS"
27623 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27627 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27628 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27629 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27630 $as_echo_n "(cached) " >&6
27631 else
27634 ac_ext=cpp
27635 ac_cpp='$CXXCPP $CPPFLAGS'
27636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27641 /* end confdefs.h. */
27642 #include <stdlib.h>
27644 main ()
27646 at_quick_exit(0);
27648 return 0;
27650 _ACEOF
27651 if ac_fn_cxx_try_compile "$LINENO"; then :
27652 glibcxx_cv_func_at_quick_exit_use=yes
27653 else
27654 glibcxx_cv_func_at_quick_exit_use=no
27656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27657 ac_ext=c
27658 ac_cpp='$CPP $CPPFLAGS'
27659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27668 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27669 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27670 for ac_func in at_quick_exit
27671 do :
27672 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27673 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27674 cat >>confdefs.h <<_ACEOF
27675 #define HAVE_AT_QUICK_EXIT 1
27676 _ACEOF
27679 done
27684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27685 $as_echo_n "checking for quick_exit declaration... " >&6; }
27686 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27687 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27688 $as_echo_n "(cached) " >&6
27689 else
27692 ac_ext=cpp
27693 ac_cpp='$CXXCPP $CPPFLAGS'
27694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27699 /* end confdefs.h. */
27700 #include <stdlib.h>
27702 main ()
27704 quick_exit(0);
27706 return 0;
27708 _ACEOF
27709 if ac_fn_cxx_try_compile "$LINENO"; then :
27710 glibcxx_cv_func_quick_exit_use=yes
27711 else
27712 glibcxx_cv_func_quick_exit_use=no
27714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27715 ac_ext=c
27716 ac_cpp='$CPP $CPPFLAGS'
27717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27726 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27727 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27728 for ac_func in quick_exit
27729 do :
27730 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27731 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27732 cat >>confdefs.h <<_ACEOF
27733 #define HAVE_QUICK_EXIT 1
27734 _ACEOF
27737 done
27742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27743 $as_echo_n "checking for strtold declaration... " >&6; }
27744 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27745 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27746 $as_echo_n "(cached) " >&6
27747 else
27750 ac_ext=cpp
27751 ac_cpp='$CXXCPP $CPPFLAGS'
27752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27757 /* end confdefs.h. */
27758 #include <stdlib.h>
27760 main ()
27762 strtold(0, 0);
27764 return 0;
27766 _ACEOF
27767 if ac_fn_cxx_try_compile "$LINENO"; then :
27768 glibcxx_cv_func_strtold_use=yes
27769 else
27770 glibcxx_cv_func_strtold_use=no
27772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27773 ac_ext=c
27774 ac_cpp='$CPP $CPPFLAGS'
27775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27784 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27785 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27786 for ac_func in strtold
27787 do :
27788 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27789 if test "x$ac_cv_func_strtold" = x""yes; then :
27790 cat >>confdefs.h <<_ACEOF
27791 #define HAVE_STRTOLD 1
27792 _ACEOF
27795 done
27802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27803 $as_echo_n "checking for strtof declaration... " >&6; }
27804 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27805 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27806 $as_echo_n "(cached) " >&6
27807 else
27810 ac_ext=cpp
27811 ac_cpp='$CXXCPP $CPPFLAGS'
27812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27817 /* end confdefs.h. */
27818 #include <stdlib.h>
27820 main ()
27822 strtof(0, 0);
27824 return 0;
27826 _ACEOF
27827 if ac_fn_cxx_try_compile "$LINENO"; then :
27828 glibcxx_cv_func_strtof_use=yes
27829 else
27830 glibcxx_cv_func_strtof_use=no
27832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27833 ac_ext=c
27834 ac_cpp='$CPP $CPPFLAGS'
27835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27844 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27845 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27846 for ac_func in strtof
27847 do :
27848 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27849 if test "x$ac_cv_func_strtof" = x""yes; then :
27850 cat >>confdefs.h <<_ACEOF
27851 #define HAVE_STRTOF 1
27852 _ACEOF
27855 done
27862 CXXFLAGS="$ac_save_CXXFLAGS"
27865 # For /dev/random and /dev/urandom for TR1.
27868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27869 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27870 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27871 $as_echo_n "(cached) " >&6
27872 else
27874 if test -r /dev/random && test -r /dev/urandom; then
27875 ## For MSys environment the test above is detect as false-positive
27876 ## on mingw-targets. So disable it explicit for them.
27877 case ${target_os} in
27878 *mingw*) glibcxx_cv_random_tr1=no ;;
27879 *) glibcxx_cv_random_tr1=yes ;;
27880 esac
27881 else
27882 glibcxx_cv_random_tr1=no;
27887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27888 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27890 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27892 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27898 # For TLS support.
27901 # Check whether --enable-tls was given.
27902 if test "${enable_tls+set}" = set; then :
27903 enableval=$enable_tls;
27904 case "$enableval" in
27905 yes|no) ;;
27906 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27907 esac
27909 else
27910 enable_tls=yes
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27915 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27916 if test "${gcc_cv_have_tls+set}" = set; then :
27917 $as_echo_n "(cached) " >&6
27918 else
27920 if test "$cross_compiling" = yes; then :
27921 if test x$gcc_no_link = xyes; then
27922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27925 /* end confdefs.h. */
27926 __thread int a; int b; int main() { return a = b; }
27927 _ACEOF
27928 if ac_fn_c_try_link "$LINENO"; then :
27929 chktls_save_LDFLAGS="$LDFLAGS"
27930 case $host in
27931 *-*-linux*)
27932 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27934 esac
27935 chktls_save_CFLAGS="$CFLAGS"
27936 CFLAGS="-fPIC $CFLAGS"
27937 if test x$gcc_no_link = xyes; then
27938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27941 /* end confdefs.h. */
27942 int f() { return 0; }
27943 _ACEOF
27944 if ac_fn_c_try_link "$LINENO"; then :
27945 if test x$gcc_no_link = xyes; then
27946 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27949 /* end confdefs.h. */
27950 __thread int a; int b; int f() { return a = b; }
27951 _ACEOF
27952 if ac_fn_c_try_link "$LINENO"; then :
27953 gcc_cv_have_tls=yes
27954 else
27955 gcc_cv_have_tls=no
27957 rm -f core conftest.err conftest.$ac_objext \
27958 conftest$ac_exeext conftest.$ac_ext
27959 else
27960 gcc_cv_have_tls=yes
27962 rm -f core conftest.err conftest.$ac_objext \
27963 conftest$ac_exeext conftest.$ac_ext
27964 CFLAGS="$chktls_save_CFLAGS"
27965 LDFLAGS="$chktls_save_LDFLAGS"
27966 else
27967 gcc_cv_have_tls=no
27969 rm -f core conftest.err conftest.$ac_objext \
27970 conftest$ac_exeext conftest.$ac_ext
27973 else
27974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27975 /* end confdefs.h. */
27976 __thread int a; int b; int main() { return a = b; }
27977 _ACEOF
27978 if ac_fn_c_try_run "$LINENO"; then :
27979 chktls_save_LDFLAGS="$LDFLAGS"
27980 LDFLAGS="-static $LDFLAGS"
27981 if test x$gcc_no_link = xyes; then
27982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27985 /* end confdefs.h. */
27986 int main() { return 0; }
27987 _ACEOF
27988 if ac_fn_c_try_link "$LINENO"; then :
27989 if test "$cross_compiling" = yes; then :
27990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27992 as_fn_error "cannot run test program while cross compiling
27993 See \`config.log' for more details." "$LINENO" 5; }
27994 else
27995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27996 /* end confdefs.h. */
27997 __thread int a; int b; int main() { return a = b; }
27998 _ACEOF
27999 if ac_fn_c_try_run "$LINENO"; then :
28000 gcc_cv_have_tls=yes
28001 else
28002 gcc_cv_have_tls=no
28004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28005 conftest.$ac_objext conftest.beam conftest.$ac_ext
28008 else
28009 gcc_cv_have_tls=yes
28011 rm -f core conftest.err conftest.$ac_objext \
28012 conftest$ac_exeext conftest.$ac_ext
28013 LDFLAGS="$chktls_save_LDFLAGS"
28014 if test $gcc_cv_have_tls = yes; then
28015 chktls_save_CFLAGS="$CFLAGS"
28016 thread_CFLAGS=failed
28017 for flag in '' '-pthread' '-lpthread'; do
28018 CFLAGS="$flag $chktls_save_CFLAGS"
28019 if test x$gcc_no_link = xyes; then
28020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28023 /* end confdefs.h. */
28024 #include <pthread.h>
28025 void *g(void *d) { return NULL; }
28027 main ()
28029 pthread_t t; pthread_create(&t,NULL,g,NULL);
28031 return 0;
28033 _ACEOF
28034 if ac_fn_c_try_link "$LINENO"; then :
28035 thread_CFLAGS="$flag"
28037 rm -f core conftest.err conftest.$ac_objext \
28038 conftest$ac_exeext conftest.$ac_ext
28039 if test "X$thread_CFLAGS" != Xfailed; then
28040 break
28042 done
28043 CFLAGS="$chktls_save_CFLAGS"
28044 if test "X$thread_CFLAGS" != Xfailed; then
28045 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28046 if test "$cross_compiling" = yes; then :
28047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28049 as_fn_error "cannot run test program while cross compiling
28050 See \`config.log' for more details." "$LINENO" 5; }
28051 else
28052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28053 /* end confdefs.h. */
28054 #include <pthread.h>
28055 __thread int a;
28056 static int *volatile a_in_other_thread;
28057 static void *
28058 thread_func (void *arg)
28060 a_in_other_thread = &a;
28061 return (void *)0;
28064 main ()
28066 pthread_t thread;
28067 void *thread_retval;
28068 int *volatile a_in_main_thread;
28069 a_in_main_thread = &a;
28070 if (pthread_create (&thread, (pthread_attr_t *)0,
28071 thread_func, (void *)0))
28072 return 0;
28073 if (pthread_join (thread, &thread_retval))
28074 return 0;
28075 return (a_in_other_thread == a_in_main_thread);
28077 return 0;
28079 _ACEOF
28080 if ac_fn_c_try_run "$LINENO"; then :
28081 gcc_cv_have_tls=yes
28082 else
28083 gcc_cv_have_tls=no
28085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28086 conftest.$ac_objext conftest.beam conftest.$ac_ext
28089 CFLAGS="$chktls_save_CFLAGS"
28092 else
28093 gcc_cv_have_tls=no
28095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28096 conftest.$ac_objext conftest.beam conftest.$ac_ext
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28101 $as_echo "$gcc_cv_have_tls" >&6; }
28102 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28104 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28108 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28109 do :
28110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28112 eval as_val=\$$as_ac_var
28113 if test "x$as_val" = x""yes; then :
28114 cat >>confdefs.h <<_ACEOF
28115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28116 _ACEOF
28119 done
28121 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28122 do :
28123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28125 eval as_val=\$$as_ac_var
28126 if test "x$as_val" = x""yes; then :
28127 cat >>confdefs.h <<_ACEOF
28128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28129 _ACEOF
28132 done
28135 # For iconv support.
28137 if test "X$prefix" = "XNONE"; then
28138 acl_final_prefix="$ac_default_prefix"
28139 else
28140 acl_final_prefix="$prefix"
28142 if test "X$exec_prefix" = "XNONE"; then
28143 acl_final_exec_prefix='${prefix}'
28144 else
28145 acl_final_exec_prefix="$exec_prefix"
28147 acl_save_prefix="$prefix"
28148 prefix="$acl_final_prefix"
28149 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28150 prefix="$acl_save_prefix"
28153 # Check whether --with-gnu-ld was given.
28154 if test "${with_gnu_ld+set}" = set; then :
28155 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28156 else
28157 with_gnu_ld=no
28160 # Prepare PATH_SEPARATOR.
28161 # The user is always right.
28162 if test "${PATH_SEPARATOR+set}" != set; then
28163 echo "#! /bin/sh" >conf$$.sh
28164 echo "exit 0" >>conf$$.sh
28165 chmod +x conf$$.sh
28166 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28167 PATH_SEPARATOR=';'
28168 else
28169 PATH_SEPARATOR=:
28171 rm -f conf$$.sh
28173 ac_prog=ld
28174 if test "$GCC" = yes; then
28175 # Check if gcc -print-prog-name=ld gives a path.
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28177 $as_echo_n "checking for ld used by GCC... " >&6; }
28178 case $host in
28179 *-*-mingw*)
28180 # gcc leaves a trailing carriage return which upsets mingw
28181 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28183 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28184 esac
28185 case $ac_prog in
28186 # Accept absolute paths.
28187 [\\/]* | [A-Za-z]:[\\/]*)
28188 re_direlt='/[^/][^/]*/\.\./'
28189 # Canonicalize the path of ld
28190 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28191 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28192 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28193 done
28194 test -z "$LD" && LD="$ac_prog"
28197 # If it fails, then pretend we aren't using GCC.
28198 ac_prog=ld
28201 # If it is relative, then search for the first ld in PATH.
28202 with_gnu_ld=unknown
28204 esac
28205 elif test "$with_gnu_ld" = yes; then
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28207 $as_echo_n "checking for GNU ld... " >&6; }
28208 else
28209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28210 $as_echo_n "checking for non-GNU ld... " >&6; }
28212 if test "${acl_cv_path_LD+set}" = set; then :
28213 $as_echo_n "(cached) " >&6
28214 else
28215 if test -z "$LD"; then
28216 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28217 for ac_dir in $PATH; do
28218 test -z "$ac_dir" && ac_dir=.
28219 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28220 acl_cv_path_LD="$ac_dir/$ac_prog"
28221 # Check to see if the program is GNU ld. I'd rather use --version,
28222 # but apparently some GNU ld's only accept -v.
28223 # Break only if it was the GNU/non-GNU ld that we prefer.
28224 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28225 test "$with_gnu_ld" != no && break
28226 else
28227 test "$with_gnu_ld" != yes && break
28230 done
28231 IFS="$ac_save_ifs"
28232 else
28233 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28237 LD="$acl_cv_path_LD"
28238 if test -n "$LD"; then
28239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28240 $as_echo "$LD" >&6; }
28241 else
28242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28243 $as_echo "no" >&6; }
28245 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28247 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28248 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28249 $as_echo_n "(cached) " >&6
28250 else
28251 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28252 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28253 acl_cv_prog_gnu_ld=yes
28254 else
28255 acl_cv_prog_gnu_ld=no
28258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28259 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28260 with_gnu_ld=$acl_cv_prog_gnu_ld
28264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28265 $as_echo_n "checking for shared library run path origin... " >&6; }
28266 if test "${acl_cv_rpath+set}" = set; then :
28267 $as_echo_n "(cached) " >&6
28268 else
28270 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28271 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28272 . ./conftest.sh
28273 rm -f ./conftest.sh
28274 acl_cv_rpath=done
28277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28278 $as_echo "$acl_cv_rpath" >&6; }
28279 wl="$acl_cv_wl"
28280 libext="$acl_cv_libext"
28281 shlibext="$acl_cv_shlibext"
28282 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28283 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28284 hardcode_direct="$acl_cv_hardcode_direct"
28285 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28286 # Check whether --enable-rpath was given.
28287 if test "${enable_rpath+set}" = set; then :
28288 enableval=$enable_rpath; :
28289 else
28290 enable_rpath=yes
28300 use_additional=yes
28302 acl_save_prefix="$prefix"
28303 prefix="$acl_final_prefix"
28304 acl_save_exec_prefix="$exec_prefix"
28305 exec_prefix="$acl_final_exec_prefix"
28307 eval additional_includedir=\"$includedir\"
28308 eval additional_libdir=\"$libdir\"
28310 exec_prefix="$acl_save_exec_prefix"
28311 prefix="$acl_save_prefix"
28314 # Check whether --with-libiconv-prefix was given.
28315 if test "${with_libiconv_prefix+set}" = set; then :
28316 withval=$with_libiconv_prefix;
28317 if test "X$withval" = "Xno"; then
28318 use_additional=no
28319 else
28320 if test "X$withval" = "X"; then
28322 acl_save_prefix="$prefix"
28323 prefix="$acl_final_prefix"
28324 acl_save_exec_prefix="$exec_prefix"
28325 exec_prefix="$acl_final_exec_prefix"
28327 eval additional_includedir=\"$includedir\"
28328 eval additional_libdir=\"$libdir\"
28330 exec_prefix="$acl_save_exec_prefix"
28331 prefix="$acl_save_prefix"
28333 else
28334 additional_includedir="$withval/include"
28335 additional_libdir="$withval/lib"
28341 LIBICONV=
28342 LTLIBICONV=
28343 INCICONV=
28344 rpathdirs=
28345 ltrpathdirs=
28346 names_already_handled=
28347 names_next_round='iconv '
28348 while test -n "$names_next_round"; do
28349 names_this_round="$names_next_round"
28350 names_next_round=
28351 for name in $names_this_round; do
28352 already_handled=
28353 for n in $names_already_handled; do
28354 if test "$n" = "$name"; then
28355 already_handled=yes
28356 break
28358 done
28359 if test -z "$already_handled"; then
28360 names_already_handled="$names_already_handled $name"
28361 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28362 eval value=\"\$HAVE_LIB$uppername\"
28363 if test -n "$value"; then
28364 if test "$value" = yes; then
28365 eval value=\"\$LIB$uppername\"
28366 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28367 eval value=\"\$LTLIB$uppername\"
28368 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28369 else
28372 else
28373 found_dir=
28374 found_la=
28375 found_so=
28376 found_a=
28377 if test $use_additional = yes; then
28378 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28379 found_dir="$additional_libdir"
28380 found_so="$additional_libdir/lib$name.$shlibext"
28381 if test -f "$additional_libdir/lib$name.la"; then
28382 found_la="$additional_libdir/lib$name.la"
28384 else
28385 if test -f "$additional_libdir/lib$name.$libext"; then
28386 found_dir="$additional_libdir"
28387 found_a="$additional_libdir/lib$name.$libext"
28388 if test -f "$additional_libdir/lib$name.la"; then
28389 found_la="$additional_libdir/lib$name.la"
28394 if test "X$found_dir" = "X"; then
28395 for x in $LDFLAGS $LTLIBICONV; do
28397 acl_save_prefix="$prefix"
28398 prefix="$acl_final_prefix"
28399 acl_save_exec_prefix="$exec_prefix"
28400 exec_prefix="$acl_final_exec_prefix"
28401 eval x=\"$x\"
28402 exec_prefix="$acl_save_exec_prefix"
28403 prefix="$acl_save_prefix"
28405 case "$x" in
28406 -L*)
28407 dir=`echo "X$x" | sed -e 's/^X-L//'`
28408 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28409 found_dir="$dir"
28410 found_so="$dir/lib$name.$shlibext"
28411 if test -f "$dir/lib$name.la"; then
28412 found_la="$dir/lib$name.la"
28414 else
28415 if test -f "$dir/lib$name.$libext"; then
28416 found_dir="$dir"
28417 found_a="$dir/lib$name.$libext"
28418 if test -f "$dir/lib$name.la"; then
28419 found_la="$dir/lib$name.la"
28424 esac
28425 if test "X$found_dir" != "X"; then
28426 break
28428 done
28430 if test "X$found_dir" != "X"; then
28431 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28432 if test "X$found_so" != "X"; then
28433 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28434 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28435 else
28436 haveit=
28437 for x in $ltrpathdirs; do
28438 if test "X$x" = "X$found_dir"; then
28439 haveit=yes
28440 break
28442 done
28443 if test -z "$haveit"; then
28444 ltrpathdirs="$ltrpathdirs $found_dir"
28446 if test "$hardcode_direct" = yes; then
28447 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28448 else
28449 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28450 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28451 haveit=
28452 for x in $rpathdirs; do
28453 if test "X$x" = "X$found_dir"; then
28454 haveit=yes
28455 break
28457 done
28458 if test -z "$haveit"; then
28459 rpathdirs="$rpathdirs $found_dir"
28461 else
28462 haveit=
28463 for x in $LDFLAGS $LIBICONV; do
28465 acl_save_prefix="$prefix"
28466 prefix="$acl_final_prefix"
28467 acl_save_exec_prefix="$exec_prefix"
28468 exec_prefix="$acl_final_exec_prefix"
28469 eval x=\"$x\"
28470 exec_prefix="$acl_save_exec_prefix"
28471 prefix="$acl_save_prefix"
28473 if test "X$x" = "X-L$found_dir"; then
28474 haveit=yes
28475 break
28477 done
28478 if test -z "$haveit"; then
28479 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28481 if test "$hardcode_minus_L" != no; then
28482 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28483 else
28484 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28489 else
28490 if test "X$found_a" != "X"; then
28491 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28492 else
28493 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28496 additional_includedir=
28497 case "$found_dir" in
28498 */lib | */lib/)
28499 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28500 additional_includedir="$basedir/include"
28502 esac
28503 if test "X$additional_includedir" != "X"; then
28504 if test "X$additional_includedir" != "X/usr/include"; then
28505 haveit=
28506 if test "X$additional_includedir" = "X/usr/local/include"; then
28507 if test -n "$GCC"; then
28508 case $host_os in
28509 linux*) haveit=yes;;
28510 esac
28513 if test -z "$haveit"; then
28514 for x in $CPPFLAGS $INCICONV; do
28516 acl_save_prefix="$prefix"
28517 prefix="$acl_final_prefix"
28518 acl_save_exec_prefix="$exec_prefix"
28519 exec_prefix="$acl_final_exec_prefix"
28520 eval x=\"$x\"
28521 exec_prefix="$acl_save_exec_prefix"
28522 prefix="$acl_save_prefix"
28524 if test "X$x" = "X-I$additional_includedir"; then
28525 haveit=yes
28526 break
28528 done
28529 if test -z "$haveit"; then
28530 if test -d "$additional_includedir"; then
28531 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28537 if test -n "$found_la"; then
28538 save_libdir="$libdir"
28539 case "$found_la" in
28540 */* | *\\*) . "$found_la" ;;
28541 *) . "./$found_la" ;;
28542 esac
28543 libdir="$save_libdir"
28544 for dep in $dependency_libs; do
28545 case "$dep" in
28546 -L*)
28547 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28548 if test "X$additional_libdir" != "X/usr/lib"; then
28549 haveit=
28550 if test "X$additional_libdir" = "X/usr/local/lib"; then
28551 if test -n "$GCC"; then
28552 case $host_os in
28553 linux*) haveit=yes;;
28554 esac
28557 if test -z "$haveit"; then
28558 haveit=
28559 for x in $LDFLAGS $LIBICONV; do
28561 acl_save_prefix="$prefix"
28562 prefix="$acl_final_prefix"
28563 acl_save_exec_prefix="$exec_prefix"
28564 exec_prefix="$acl_final_exec_prefix"
28565 eval x=\"$x\"
28566 exec_prefix="$acl_save_exec_prefix"
28567 prefix="$acl_save_prefix"
28569 if test "X$x" = "X-L$additional_libdir"; then
28570 haveit=yes
28571 break
28573 done
28574 if test -z "$haveit"; then
28575 if test -d "$additional_libdir"; then
28576 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28579 haveit=
28580 for x in $LDFLAGS $LTLIBICONV; do
28582 acl_save_prefix="$prefix"
28583 prefix="$acl_final_prefix"
28584 acl_save_exec_prefix="$exec_prefix"
28585 exec_prefix="$acl_final_exec_prefix"
28586 eval x=\"$x\"
28587 exec_prefix="$acl_save_exec_prefix"
28588 prefix="$acl_save_prefix"
28590 if test "X$x" = "X-L$additional_libdir"; then
28591 haveit=yes
28592 break
28594 done
28595 if test -z "$haveit"; then
28596 if test -d "$additional_libdir"; then
28597 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28603 -R*)
28604 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28605 if test "$enable_rpath" != no; then
28606 haveit=
28607 for x in $rpathdirs; do
28608 if test "X$x" = "X$dir"; then
28609 haveit=yes
28610 break
28612 done
28613 if test -z "$haveit"; then
28614 rpathdirs="$rpathdirs $dir"
28616 haveit=
28617 for x in $ltrpathdirs; do
28618 if test "X$x" = "X$dir"; then
28619 haveit=yes
28620 break
28622 done
28623 if test -z "$haveit"; then
28624 ltrpathdirs="$ltrpathdirs $dir"
28628 -l*)
28629 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28631 *.la)
28632 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28635 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28636 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28638 esac
28639 done
28641 else
28642 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28643 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28647 done
28648 done
28649 if test "X$rpathdirs" != "X"; then
28650 if test -n "$hardcode_libdir_separator"; then
28651 alldirs=
28652 for found_dir in $rpathdirs; do
28653 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28654 done
28655 acl_save_libdir="$libdir"
28656 libdir="$alldirs"
28657 eval flag=\"$hardcode_libdir_flag_spec\"
28658 libdir="$acl_save_libdir"
28659 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28660 else
28661 for found_dir in $rpathdirs; do
28662 acl_save_libdir="$libdir"
28663 libdir="$found_dir"
28664 eval flag=\"$hardcode_libdir_flag_spec\"
28665 libdir="$acl_save_libdir"
28666 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28667 done
28670 if test "X$ltrpathdirs" != "X"; then
28671 for found_dir in $ltrpathdirs; do
28672 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28673 done
28682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28683 $as_echo_n "checking for iconv... " >&6; }
28684 if test "${am_cv_func_iconv+set}" = set; then :
28685 $as_echo_n "(cached) " >&6
28686 else
28688 am_cv_func_iconv="no, consider installing GNU libiconv"
28689 am_cv_lib_iconv=no
28690 am_save_CPPFLAGS="$CPPFLAGS"
28691 CPPFLAGS="$CPPFLAGS $INCICONV"
28692 if test x$gcc_no_link = xyes; then
28693 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28696 /* end confdefs.h. */
28697 #include <stdlib.h>
28698 #include <iconv.h>
28700 main ()
28702 iconv_t cd = iconv_open("","");
28703 iconv(cd,NULL,NULL,NULL,NULL);
28704 iconv_close(cd);
28706 return 0;
28708 _ACEOF
28709 if ac_fn_c_try_link "$LINENO"; then :
28710 am_cv_func_iconv=yes
28712 rm -f core conftest.err conftest.$ac_objext \
28713 conftest$ac_exeext conftest.$ac_ext
28714 CPPFLAGS="$am_save_CPPFLAGS"
28716 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28717 for _libs in .libs _libs; do
28718 am_save_CPPFLAGS="$CPPFLAGS"
28719 am_save_LIBS="$LIBS"
28720 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28721 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28722 if test x$gcc_no_link = xyes; then
28723 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28726 /* end confdefs.h. */
28727 #include <stdlib.h>
28728 #include <iconv.h>
28730 main ()
28732 iconv_t cd = iconv_open("","");
28733 iconv(cd,NULL,NULL,NULL,NULL);
28734 iconv_close(cd);
28736 return 0;
28738 _ACEOF
28739 if ac_fn_c_try_link "$LINENO"; then :
28740 INCICONV="-I../libiconv/include"
28741 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28742 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28743 am_cv_lib_iconv=yes
28744 am_cv_func_iconv=yes
28746 rm -f core conftest.err conftest.$ac_objext \
28747 conftest$ac_exeext conftest.$ac_ext
28748 CPPFLAGS="$am_save_CPPFLAGS"
28749 LIBS="$am_save_LIBS"
28750 if test "$am_cv_func_iconv" = "yes"; then
28751 break
28753 done
28756 if test "$am_cv_func_iconv" != yes; then
28757 am_save_CPPFLAGS="$CPPFLAGS"
28758 am_save_LIBS="$LIBS"
28759 CPPFLAGS="$LIBS $INCICONV"
28760 LIBS="$LIBS $LIBICONV"
28761 if test x$gcc_no_link = xyes; then
28762 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28765 /* end confdefs.h. */
28766 #include <stdlib.h>
28767 #include <iconv.h>
28769 main ()
28771 iconv_t cd = iconv_open("","");
28772 iconv(cd,NULL,NULL,NULL,NULL);
28773 iconv_close(cd);
28775 return 0;
28777 _ACEOF
28778 if ac_fn_c_try_link "$LINENO"; then :
28779 am_cv_lib_iconv=yes
28780 am_cv_func_iconv=yes
28782 rm -f core conftest.err conftest.$ac_objext \
28783 conftest$ac_exeext conftest.$ac_ext
28784 CPPFLAGS="$am_save_CPPFLAGS"
28785 LIBS="$am_save_LIBS"
28789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28790 $as_echo "$am_cv_func_iconv" >&6; }
28791 if test "$am_cv_func_iconv" = yes; then
28793 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28796 if test "$am_cv_lib_iconv" = yes; then
28798 for element in $INCICONV; do
28799 haveit=
28800 for x in $CPPFLAGS; do
28802 acl_save_prefix="$prefix"
28803 prefix="$acl_final_prefix"
28804 acl_save_exec_prefix="$exec_prefix"
28805 exec_prefix="$acl_final_exec_prefix"
28806 eval x=\"$x\"
28807 exec_prefix="$acl_save_exec_prefix"
28808 prefix="$acl_save_prefix"
28810 if test "X$x" = "X$element"; then
28811 haveit=yes
28812 break
28814 done
28815 if test -z "$haveit"; then
28816 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28818 done
28820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28821 $as_echo_n "checking how to link with libiconv... " >&6; }
28822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28823 $as_echo "$LIBICONV" >&6; }
28824 else
28825 LIBICONV=
28826 LTLIBICONV=
28831 if test "$am_cv_func_iconv" = yes; then
28832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28833 $as_echo_n "checking for iconv declaration... " >&6; }
28834 if test "${am_cv_proto_iconv+set}" = set; then :
28835 $as_echo_n "(cached) " >&6
28836 else
28838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28839 /* end confdefs.h. */
28841 #include <stdlib.h>
28842 #include <iconv.h>
28843 extern
28844 #ifdef __cplusplus
28846 #endif
28847 #if defined(__STDC__) || defined(__cplusplus)
28848 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28849 #else
28850 size_t iconv();
28851 #endif
28854 main ()
28858 return 0;
28860 _ACEOF
28861 if ac_fn_c_try_compile "$LINENO"; then :
28862 am_cv_proto_iconv_arg1=""
28863 else
28864 am_cv_proto_iconv_arg1="const"
28866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28867 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);"
28870 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28872 }$am_cv_proto_iconv" >&5
28873 $as_echo "${ac_t:-
28874 }$am_cv_proto_iconv" >&6; }
28876 cat >>confdefs.h <<_ACEOF
28877 #define ICONV_CONST $am_cv_proto_iconv_arg1
28878 _ACEOF
28883 else
28885 # This lets us hard-code the functionality we know we'll have in the cross
28886 # target environment. "Let" is a sugar-coated word placed on an especially
28887 # dull and tedious hack, actually.
28889 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28890 # that involve linking, can't be used:
28891 # "cannot open sim-crt0.o"
28892 # "cannot open crt0.o"
28893 # etc. All this is because there currently exists no unified, consistent
28894 # way for top level CC information to be passed down to target directories:
28895 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28896 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28897 # crosses can be removed.
28899 # If Canadian cross, then don't pick up tools from the build directory.
28900 # Used only in GLIBCXX_EXPORT_INCLUDES.
28901 if test -n "$with_cross_host" &&
28902 test x"$build_alias" != x"$with_cross_host" &&
28903 test x"$build" != x"$target";
28904 then
28905 CANADIAN=yes
28906 else
28907 CANADIAN=no
28910 # Construct crosses by hand, eliminating bits that need ld...
28911 # GLIBCXX_CHECK_MATH_SUPPORT
28913 # First, test for "known" system libraries. We may be using newlib even
28914 # on a hosted environment.
28915 if test "x${with_newlib}" = "xyes"; then
28916 os_include_dir="os/newlib"
28917 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28920 # GLIBCXX_CHECK_STDLIB_SUPPORT
28921 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28924 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28926 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28928 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28930 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28932 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28934 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28936 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28938 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28940 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28942 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28944 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28946 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28948 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28950 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28952 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28954 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28956 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28958 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28960 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28962 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28964 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28966 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28969 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28971 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28973 else
28975 # Base decisions on target environment.
28976 case "${host}" in
28977 arm*-*-symbianelf*)
28978 # This is a freestanding configuration; there is nothing to do here.
28981 avr*-*-*)
28982 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28984 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28986 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28988 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28990 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28992 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28994 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28996 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28998 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29000 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29002 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29004 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29006 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29008 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29010 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29012 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29014 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29016 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29018 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29020 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29022 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29024 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29026 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29030 mips*-sde-elf*)
29031 # These definitions are for the SDE C library rather than newlib.
29032 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29035 # All these tests are for C++; save the language and the compiler flags.
29036 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29037 # found in GLIBCXX_CONFIGURE.
29039 ac_ext=cpp
29040 ac_cpp='$CXXCPP $CPPFLAGS'
29041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29045 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29046 ac_save_CXXFLAGS="$CXXFLAGS"
29048 # Check for maintainer-mode bits.
29049 if test x"$USE_MAINTAINER_MODE" = xno; then
29050 WERROR=''
29051 else
29052 WERROR='-Werror'
29055 # Check for -ffunction-sections -fdata-sections
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29057 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29058 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29060 /* end confdefs.h. */
29061 int foo; void bar() { };
29063 main ()
29067 return 0;
29069 _ACEOF
29070 if ac_fn_cxx_try_compile "$LINENO"; then :
29071 ac_fdsections=yes
29072 else
29073 ac_fdsections=no
29075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29076 if test "$ac_test_CXXFLAGS" = set; then
29077 CXXFLAGS="$ac_save_CXXFLAGS"
29078 else
29079 # this is the suspicious part
29080 CXXFLAGS=''
29082 if test x"$ac_fdsections" = x"yes"; then
29083 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29086 $as_echo "$ac_fdsections" >&6; }
29088 ac_ext=c
29089 ac_cpp='$CPP $CPPFLAGS'
29090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29098 # If we're not using GNU ld, then there's no point in even trying these
29099 # tests. Check for that first. We should have already tested for gld
29100 # by now (in libtool), but require it now just to be safe...
29101 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29102 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29106 # The name set by libtool depends on the version of libtool. Shame on us
29107 # for depending on an impl detail, but c'est la vie. Older versions used
29108 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29109 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29110 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29111 # set (hence we're using an older libtool), then set it.
29112 if test x${with_gnu_ld+set} != xset; then
29113 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29114 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29115 with_gnu_ld=no
29116 else
29117 with_gnu_ld=$ac_cv_prog_gnu_ld
29121 # Start by getting the version number. I think the libtool test already
29122 # does some of this, but throws away the result.
29123 glibcxx_ld_is_gold=no
29124 if test x"$with_gnu_ld" = x"yes"; then
29125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29126 $as_echo_n "checking for ld version... " >&6; }
29128 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29129 glibcxx_ld_is_gold=yes
29131 ldver=`$LD --version 2>/dev/null |
29132 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'`
29134 glibcxx_gnu_ld_version=`echo $ldver | \
29135 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29137 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29140 # Set --gc-sections.
29141 glibcxx_have_gc_sections=no
29142 if test "$glibcxx_ld_is_gold" = "yes"; then
29143 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29144 glibcxx_have_gc_sections=yes
29146 else
29147 glibcxx_gcsections_min_ld=21602
29148 if test x"$with_gnu_ld" = x"yes" &&
29149 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29150 glibcxx_have_gc_sections=yes
29153 if test "$glibcxx_have_gc_sections" = "yes"; then
29154 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29155 # NB: This flag only works reliably after 2.16.1. Configure tests
29156 # for this are difficult, so hard wire a value that should work.
29158 ac_test_CFLAGS="${CFLAGS+set}"
29159 ac_save_CFLAGS="$CFLAGS"
29160 CFLAGS='-Wl,--gc-sections'
29162 # Check for -Wl,--gc-sections
29163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29164 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29165 if test x$gcc_no_link = xyes; then
29166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29169 /* end confdefs.h. */
29170 int one(void) { return 1; }
29171 int two(void) { return 2; }
29174 main ()
29176 two();
29178 return 0;
29180 _ACEOF
29181 if ac_fn_c_try_link "$LINENO"; then :
29182 ac_gcsections=yes
29183 else
29184 ac_gcsections=no
29186 rm -f core conftest.err conftest.$ac_objext \
29187 conftest$ac_exeext conftest.$ac_ext
29188 if test "$ac_gcsections" = "yes"; then
29189 rm -f conftest.c
29190 touch conftest.c
29191 if $CC -c conftest.c; then
29192 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29193 grep "Warning: gc-sections option ignored" > /dev/null; then
29194 ac_gcsections=no
29197 rm -f conftest.c conftest.o conftest
29199 if test "$ac_gcsections" = "yes"; then
29200 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29203 $as_echo "$ac_gcsections" >&6; }
29205 if test "$ac_test_CFLAGS" = set; then
29206 CFLAGS="$ac_save_CFLAGS"
29207 else
29208 # this is the suspicious part
29209 CFLAGS=''
29213 # Set -z,relro.
29214 # Note this is only for shared objects.
29215 ac_ld_relro=no
29216 if test x"$with_gnu_ld" = x"yes"; then
29217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29218 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29219 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29220 if test -n "$cxx_z_relo"; then
29221 OPT_LDFLAGS="-Wl,-z,relro"
29222 ac_ld_relro=yes
29224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29225 $as_echo "$ac_ld_relro" >&6; }
29228 # Set linker optimization flags.
29229 if test x"$with_gnu_ld" = x"yes"; then
29230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29238 ac_save_CXXFLAGS="$CXXFLAGS"
29239 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29242 $as_echo_n "checking for sin in -lm... " >&6; }
29243 if test "${ac_cv_lib_m_sin+set}" = set; then :
29244 $as_echo_n "(cached) " >&6
29245 else
29246 ac_check_lib_save_LIBS=$LIBS
29247 LIBS="-lm $LIBS"
29248 if test x$gcc_no_link = xyes; then
29249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29252 /* end confdefs.h. */
29254 /* Override any GCC internal prototype to avoid an error.
29255 Use char because int might match the return type of a GCC
29256 builtin and then its argument prototype would still apply. */
29257 #ifdef __cplusplus
29258 extern "C"
29259 #endif
29260 char sin ();
29262 main ()
29264 return sin ();
29266 return 0;
29268 _ACEOF
29269 if ac_fn_c_try_link "$LINENO"; then :
29270 ac_cv_lib_m_sin=yes
29271 else
29272 ac_cv_lib_m_sin=no
29274 rm -f core conftest.err conftest.$ac_objext \
29275 conftest$ac_exeext conftest.$ac_ext
29276 LIBS=$ac_check_lib_save_LIBS
29278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29279 $as_echo "$ac_cv_lib_m_sin" >&6; }
29280 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29281 libm="-lm"
29284 ac_save_LIBS="$LIBS"
29285 LIBS="$LIBS $libm"
29289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29290 $as_echo_n "checking for isinf declaration... " >&6; }
29291 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29292 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29293 $as_echo_n "(cached) " >&6
29294 else
29297 ac_ext=cpp
29298 ac_cpp='$CXXCPP $CPPFLAGS'
29299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29304 /* end confdefs.h. */
29305 #include <math.h>
29306 #ifdef HAVE_IEEEFP_H
29307 #include <ieeefp.h>
29308 #endif
29311 main ()
29313 isinf(0);
29315 return 0;
29317 _ACEOF
29318 if ac_fn_cxx_try_compile "$LINENO"; then :
29319 glibcxx_cv_func_isinf_use=yes
29320 else
29321 glibcxx_cv_func_isinf_use=no
29323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29324 ac_ext=c
29325 ac_cpp='$CPP $CPPFLAGS'
29326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29335 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29337 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29338 for ac_func in isinf
29339 do :
29340 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29341 if test "x$ac_cv_func_isinf" = x""yes; then :
29342 cat >>confdefs.h <<_ACEOF
29343 #define HAVE_ISINF 1
29344 _ACEOF
29347 done
29349 else
29351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29352 $as_echo_n "checking for _isinf declaration... " >&6; }
29353 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29354 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29355 $as_echo_n "(cached) " >&6
29356 else
29359 ac_ext=cpp
29360 ac_cpp='$CXXCPP $CPPFLAGS'
29361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29366 /* end confdefs.h. */
29367 #include <math.h>
29368 #ifdef HAVE_IEEEFP_H
29369 #include <ieeefp.h>
29370 #endif
29373 main ()
29375 _isinf(0);
29377 return 0;
29379 _ACEOF
29380 if ac_fn_cxx_try_compile "$LINENO"; then :
29381 glibcxx_cv_func__isinf_use=yes
29382 else
29383 glibcxx_cv_func__isinf_use=no
29385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29386 ac_ext=c
29387 ac_cpp='$CPP $CPPFLAGS'
29388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29397 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29399 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29400 for ac_func in _isinf
29401 do :
29402 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29403 if test "x$ac_cv_func__isinf" = x""yes; then :
29404 cat >>confdefs.h <<_ACEOF
29405 #define HAVE__ISINF 1
29406 _ACEOF
29409 done
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29419 $as_echo_n "checking for isnan declaration... " >&6; }
29420 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29421 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29422 $as_echo_n "(cached) " >&6
29423 else
29426 ac_ext=cpp
29427 ac_cpp='$CXXCPP $CPPFLAGS'
29428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29433 /* end confdefs.h. */
29434 #include <math.h>
29435 #ifdef HAVE_IEEEFP_H
29436 #include <ieeefp.h>
29437 #endif
29440 main ()
29442 isnan(0);
29444 return 0;
29446 _ACEOF
29447 if ac_fn_cxx_try_compile "$LINENO"; then :
29448 glibcxx_cv_func_isnan_use=yes
29449 else
29450 glibcxx_cv_func_isnan_use=no
29452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29453 ac_ext=c
29454 ac_cpp='$CPP $CPPFLAGS'
29455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29464 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29466 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29467 for ac_func in isnan
29468 do :
29469 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29470 if test "x$ac_cv_func_isnan" = x""yes; then :
29471 cat >>confdefs.h <<_ACEOF
29472 #define HAVE_ISNAN 1
29473 _ACEOF
29476 done
29478 else
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29481 $as_echo_n "checking for _isnan declaration... " >&6; }
29482 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29483 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29484 $as_echo_n "(cached) " >&6
29485 else
29488 ac_ext=cpp
29489 ac_cpp='$CXXCPP $CPPFLAGS'
29490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29495 /* end confdefs.h. */
29496 #include <math.h>
29497 #ifdef HAVE_IEEEFP_H
29498 #include <ieeefp.h>
29499 #endif
29502 main ()
29504 _isnan(0);
29506 return 0;
29508 _ACEOF
29509 if ac_fn_cxx_try_compile "$LINENO"; then :
29510 glibcxx_cv_func__isnan_use=yes
29511 else
29512 glibcxx_cv_func__isnan_use=no
29514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29515 ac_ext=c
29516 ac_cpp='$CPP $CPPFLAGS'
29517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29526 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29528 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29529 for ac_func in _isnan
29530 do :
29531 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29532 if test "x$ac_cv_func__isnan" = x""yes; then :
29533 cat >>confdefs.h <<_ACEOF
29534 #define HAVE__ISNAN 1
29535 _ACEOF
29538 done
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29548 $as_echo_n "checking for finite declaration... " >&6; }
29549 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29550 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29551 $as_echo_n "(cached) " >&6
29552 else
29555 ac_ext=cpp
29556 ac_cpp='$CXXCPP $CPPFLAGS'
29557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29562 /* end confdefs.h. */
29563 #include <math.h>
29564 #ifdef HAVE_IEEEFP_H
29565 #include <ieeefp.h>
29566 #endif
29569 main ()
29571 finite(0);
29573 return 0;
29575 _ACEOF
29576 if ac_fn_cxx_try_compile "$LINENO"; then :
29577 glibcxx_cv_func_finite_use=yes
29578 else
29579 glibcxx_cv_func_finite_use=no
29581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29582 ac_ext=c
29583 ac_cpp='$CPP $CPPFLAGS'
29584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29593 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29595 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29596 for ac_func in finite
29597 do :
29598 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29599 if test "x$ac_cv_func_finite" = x""yes; then :
29600 cat >>confdefs.h <<_ACEOF
29601 #define HAVE_FINITE 1
29602 _ACEOF
29605 done
29607 else
29609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29610 $as_echo_n "checking for _finite declaration... " >&6; }
29611 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29612 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29613 $as_echo_n "(cached) " >&6
29614 else
29617 ac_ext=cpp
29618 ac_cpp='$CXXCPP $CPPFLAGS'
29619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29624 /* end confdefs.h. */
29625 #include <math.h>
29626 #ifdef HAVE_IEEEFP_H
29627 #include <ieeefp.h>
29628 #endif
29631 main ()
29633 _finite(0);
29635 return 0;
29637 _ACEOF
29638 if ac_fn_cxx_try_compile "$LINENO"; then :
29639 glibcxx_cv_func__finite_use=yes
29640 else
29641 glibcxx_cv_func__finite_use=no
29643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29644 ac_ext=c
29645 ac_cpp='$CPP $CPPFLAGS'
29646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29655 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29657 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29658 for ac_func in _finite
29659 do :
29660 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29661 if test "x$ac_cv_func__finite" = x""yes; then :
29662 cat >>confdefs.h <<_ACEOF
29663 #define HAVE__FINITE 1
29664 _ACEOF
29667 done
29676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29677 $as_echo_n "checking for sincos declaration... " >&6; }
29678 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29679 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29680 $as_echo_n "(cached) " >&6
29681 else
29684 ac_ext=cpp
29685 ac_cpp='$CXXCPP $CPPFLAGS'
29686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29691 /* end confdefs.h. */
29692 #include <math.h>
29694 main ()
29696 sincos(0, 0, 0);
29698 return 0;
29700 _ACEOF
29701 if ac_fn_cxx_try_compile "$LINENO"; then :
29702 glibcxx_cv_func_sincos_use=yes
29703 else
29704 glibcxx_cv_func_sincos_use=no
29706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29707 ac_ext=c
29708 ac_cpp='$CPP $CPPFLAGS'
29709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29718 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29720 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29721 for ac_func in sincos
29722 do :
29723 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29724 if test "x$ac_cv_func_sincos" = x""yes; then :
29725 cat >>confdefs.h <<_ACEOF
29726 #define HAVE_SINCOS 1
29727 _ACEOF
29730 done
29732 else
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29735 $as_echo_n "checking for _sincos declaration... " >&6; }
29736 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29737 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29738 $as_echo_n "(cached) " >&6
29739 else
29742 ac_ext=cpp
29743 ac_cpp='$CXXCPP $CPPFLAGS'
29744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29749 /* end confdefs.h. */
29750 #include <math.h>
29752 main ()
29754 _sincos(0, 0, 0);
29756 return 0;
29758 _ACEOF
29759 if ac_fn_cxx_try_compile "$LINENO"; then :
29760 glibcxx_cv_func__sincos_use=yes
29761 else
29762 glibcxx_cv_func__sincos_use=no
29764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29765 ac_ext=c
29766 ac_cpp='$CPP $CPPFLAGS'
29767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29776 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29778 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29779 for ac_func in _sincos
29780 do :
29781 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29782 if test "x$ac_cv_func__sincos" = x""yes; then :
29783 cat >>confdefs.h <<_ACEOF
29784 #define HAVE__SINCOS 1
29785 _ACEOF
29788 done
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29798 $as_echo_n "checking for fpclass declaration... " >&6; }
29799 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29800 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29801 $as_echo_n "(cached) " >&6
29802 else
29805 ac_ext=cpp
29806 ac_cpp='$CXXCPP $CPPFLAGS'
29807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29812 /* end confdefs.h. */
29813 #include <math.h>
29814 #ifdef HAVE_IEEEFP_H
29815 #include <ieeefp.h>
29816 #endif
29819 main ()
29821 fpclass(0);
29823 return 0;
29825 _ACEOF
29826 if ac_fn_cxx_try_compile "$LINENO"; then :
29827 glibcxx_cv_func_fpclass_use=yes
29828 else
29829 glibcxx_cv_func_fpclass_use=no
29831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29832 ac_ext=c
29833 ac_cpp='$CPP $CPPFLAGS'
29834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29843 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29845 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29846 for ac_func in fpclass
29847 do :
29848 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29849 if test "x$ac_cv_func_fpclass" = x""yes; then :
29850 cat >>confdefs.h <<_ACEOF
29851 #define HAVE_FPCLASS 1
29852 _ACEOF
29855 done
29857 else
29859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29860 $as_echo_n "checking for _fpclass declaration... " >&6; }
29861 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29862 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29863 $as_echo_n "(cached) " >&6
29864 else
29867 ac_ext=cpp
29868 ac_cpp='$CXXCPP $CPPFLAGS'
29869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29874 /* end confdefs.h. */
29875 #include <math.h>
29876 #ifdef HAVE_IEEEFP_H
29877 #include <ieeefp.h>
29878 #endif
29881 main ()
29883 _fpclass(0);
29885 return 0;
29887 _ACEOF
29888 if ac_fn_cxx_try_compile "$LINENO"; then :
29889 glibcxx_cv_func__fpclass_use=yes
29890 else
29891 glibcxx_cv_func__fpclass_use=no
29893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29894 ac_ext=c
29895 ac_cpp='$CPP $CPPFLAGS'
29896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29905 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29907 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29908 for ac_func in _fpclass
29909 do :
29910 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29911 if test "x$ac_cv_func__fpclass" = x""yes; then :
29912 cat >>confdefs.h <<_ACEOF
29913 #define HAVE__FPCLASS 1
29914 _ACEOF
29917 done
29926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29927 $as_echo_n "checking for qfpclass declaration... " >&6; }
29928 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29929 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29930 $as_echo_n "(cached) " >&6
29931 else
29934 ac_ext=cpp
29935 ac_cpp='$CXXCPP $CPPFLAGS'
29936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29941 /* end confdefs.h. */
29942 #include <math.h>
29943 #ifdef HAVE_IEEEFP_H
29944 #include <ieeefp.h>
29945 #endif
29948 main ()
29950 qfpclass(0);
29952 return 0;
29954 _ACEOF
29955 if ac_fn_cxx_try_compile "$LINENO"; then :
29956 glibcxx_cv_func_qfpclass_use=yes
29957 else
29958 glibcxx_cv_func_qfpclass_use=no
29960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29961 ac_ext=c
29962 ac_cpp='$CPP $CPPFLAGS'
29963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29972 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29974 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29975 for ac_func in qfpclass
29976 do :
29977 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29978 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29979 cat >>confdefs.h <<_ACEOF
29980 #define HAVE_QFPCLASS 1
29981 _ACEOF
29984 done
29986 else
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29989 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29990 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29991 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29992 $as_echo_n "(cached) " >&6
29993 else
29996 ac_ext=cpp
29997 ac_cpp='$CXXCPP $CPPFLAGS'
29998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30003 /* end confdefs.h. */
30004 #include <math.h>
30005 #ifdef HAVE_IEEEFP_H
30006 #include <ieeefp.h>
30007 #endif
30010 main ()
30012 _qfpclass(0);
30014 return 0;
30016 _ACEOF
30017 if ac_fn_cxx_try_compile "$LINENO"; then :
30018 glibcxx_cv_func__qfpclass_use=yes
30019 else
30020 glibcxx_cv_func__qfpclass_use=no
30022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30023 ac_ext=c
30024 ac_cpp='$CPP $CPPFLAGS'
30025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30034 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30036 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30037 for ac_func in _qfpclass
30038 do :
30039 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30040 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30041 cat >>confdefs.h <<_ACEOF
30042 #define HAVE__QFPCLASS 1
30043 _ACEOF
30046 done
30055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30056 $as_echo_n "checking for hypot declaration... " >&6; }
30057 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30058 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30059 $as_echo_n "(cached) " >&6
30060 else
30063 ac_ext=cpp
30064 ac_cpp='$CXXCPP $CPPFLAGS'
30065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30070 /* end confdefs.h. */
30071 #include <math.h>
30073 main ()
30075 hypot(0, 0);
30077 return 0;
30079 _ACEOF
30080 if ac_fn_cxx_try_compile "$LINENO"; then :
30081 glibcxx_cv_func_hypot_use=yes
30082 else
30083 glibcxx_cv_func_hypot_use=no
30085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30086 ac_ext=c
30087 ac_cpp='$CPP $CPPFLAGS'
30088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30097 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30099 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30100 for ac_func in hypot
30101 do :
30102 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30103 if test "x$ac_cv_func_hypot" = x""yes; then :
30104 cat >>confdefs.h <<_ACEOF
30105 #define HAVE_HYPOT 1
30106 _ACEOF
30109 done
30111 else
30113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30114 $as_echo_n "checking for _hypot declaration... " >&6; }
30115 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30116 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30117 $as_echo_n "(cached) " >&6
30118 else
30121 ac_ext=cpp
30122 ac_cpp='$CXXCPP $CPPFLAGS'
30123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30128 /* end confdefs.h. */
30129 #include <math.h>
30131 main ()
30133 _hypot(0, 0);
30135 return 0;
30137 _ACEOF
30138 if ac_fn_cxx_try_compile "$LINENO"; then :
30139 glibcxx_cv_func__hypot_use=yes
30140 else
30141 glibcxx_cv_func__hypot_use=no
30143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30144 ac_ext=c
30145 ac_cpp='$CPP $CPPFLAGS'
30146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30155 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30157 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30158 for ac_func in _hypot
30159 do :
30160 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30161 if test "x$ac_cv_func__hypot" = x""yes; then :
30162 cat >>confdefs.h <<_ACEOF
30163 #define HAVE__HYPOT 1
30164 _ACEOF
30167 done
30176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30177 $as_echo_n "checking for float trig functions... " >&6; }
30178 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30179 $as_echo_n "(cached) " >&6
30180 else
30183 ac_ext=cpp
30184 ac_cpp='$CXXCPP $CPPFLAGS'
30185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30190 /* end confdefs.h. */
30191 #include <math.h>
30193 main ()
30195 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30197 return 0;
30199 _ACEOF
30200 if ac_fn_cxx_try_compile "$LINENO"; then :
30201 glibcxx_cv_func_float_trig_use=yes
30202 else
30203 glibcxx_cv_func_float_trig_use=no
30205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30206 ac_ext=c
30207 ac_cpp='$CPP $CPPFLAGS'
30208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30215 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30216 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30217 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30218 do :
30219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30221 eval as_val=\$$as_ac_var
30222 if test "x$as_val" = x""yes; then :
30223 cat >>confdefs.h <<_ACEOF
30224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30225 _ACEOF
30228 done
30230 else
30231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30232 $as_echo_n "checking for _float trig functions... " >&6; }
30233 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30234 $as_echo_n "(cached) " >&6
30235 else
30238 ac_ext=cpp
30239 ac_cpp='$CXXCPP $CPPFLAGS'
30240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30245 /* end confdefs.h. */
30246 #include <math.h>
30248 main ()
30250 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30252 return 0;
30254 _ACEOF
30255 if ac_fn_cxx_try_compile "$LINENO"; then :
30256 glibcxx_cv_func__float_trig_use=yes
30257 else
30258 glibcxx_cv_func__float_trig_use=no
30260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30261 ac_ext=c
30262 ac_cpp='$CPP $CPPFLAGS'
30263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30270 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30271 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30272 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30273 do :
30274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30276 eval as_val=\$$as_ac_var
30277 if test "x$as_val" = x""yes; then :
30278 cat >>confdefs.h <<_ACEOF
30279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30280 _ACEOF
30283 done
30292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30293 $as_echo_n "checking for float round functions... " >&6; }
30294 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30295 $as_echo_n "(cached) " >&6
30296 else
30299 ac_ext=cpp
30300 ac_cpp='$CXXCPP $CPPFLAGS'
30301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30306 /* end confdefs.h. */
30307 #include <math.h>
30309 main ()
30311 ceilf (0); floorf (0);
30313 return 0;
30315 _ACEOF
30316 if ac_fn_cxx_try_compile "$LINENO"; then :
30317 glibcxx_cv_func_float_round_use=yes
30318 else
30319 glibcxx_cv_func_float_round_use=no
30321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30322 ac_ext=c
30323 ac_cpp='$CPP $CPPFLAGS'
30324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30331 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30332 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30333 for ac_func in ceilf floorf
30334 do :
30335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30337 eval as_val=\$$as_ac_var
30338 if test "x$as_val" = x""yes; then :
30339 cat >>confdefs.h <<_ACEOF
30340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30341 _ACEOF
30344 done
30346 else
30347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30348 $as_echo_n "checking for _float round functions... " >&6; }
30349 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30350 $as_echo_n "(cached) " >&6
30351 else
30354 ac_ext=cpp
30355 ac_cpp='$CXXCPP $CPPFLAGS'
30356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30361 /* end confdefs.h. */
30362 #include <math.h>
30364 main ()
30366 _ceilf (0); _floorf (0);
30368 return 0;
30370 _ACEOF
30371 if ac_fn_cxx_try_compile "$LINENO"; then :
30372 glibcxx_cv_func__float_round_use=yes
30373 else
30374 glibcxx_cv_func__float_round_use=no
30376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30377 ac_ext=c
30378 ac_cpp='$CPP $CPPFLAGS'
30379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30386 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30387 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30388 for ac_func in _ceilf _floorf
30389 do :
30390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30392 eval as_val=\$$as_ac_var
30393 if test "x$as_val" = x""yes; then :
30394 cat >>confdefs.h <<_ACEOF
30395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30396 _ACEOF
30399 done
30409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30410 $as_echo_n "checking for expf declaration... " >&6; }
30411 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30412 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30413 $as_echo_n "(cached) " >&6
30414 else
30417 ac_ext=cpp
30418 ac_cpp='$CXXCPP $CPPFLAGS'
30419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30424 /* end confdefs.h. */
30425 #include <math.h>
30426 #ifdef HAVE_IEEEFP_H
30427 #include <ieeefp.h>
30428 #endif
30431 main ()
30433 expf(0);
30435 return 0;
30437 _ACEOF
30438 if ac_fn_cxx_try_compile "$LINENO"; then :
30439 glibcxx_cv_func_expf_use=yes
30440 else
30441 glibcxx_cv_func_expf_use=no
30443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30444 ac_ext=c
30445 ac_cpp='$CPP $CPPFLAGS'
30446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30455 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30457 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30458 for ac_func in expf
30459 do :
30460 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30461 if test "x$ac_cv_func_expf" = x""yes; then :
30462 cat >>confdefs.h <<_ACEOF
30463 #define HAVE_EXPF 1
30464 _ACEOF
30467 done
30469 else
30471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30472 $as_echo_n "checking for _expf declaration... " >&6; }
30473 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30474 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30475 $as_echo_n "(cached) " >&6
30476 else
30479 ac_ext=cpp
30480 ac_cpp='$CXXCPP $CPPFLAGS'
30481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30486 /* end confdefs.h. */
30487 #include <math.h>
30488 #ifdef HAVE_IEEEFP_H
30489 #include <ieeefp.h>
30490 #endif
30493 main ()
30495 _expf(0);
30497 return 0;
30499 _ACEOF
30500 if ac_fn_cxx_try_compile "$LINENO"; then :
30501 glibcxx_cv_func__expf_use=yes
30502 else
30503 glibcxx_cv_func__expf_use=no
30505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30506 ac_ext=c
30507 ac_cpp='$CPP $CPPFLAGS'
30508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30517 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30519 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30520 for ac_func in _expf
30521 do :
30522 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30523 if test "x$ac_cv_func__expf" = x""yes; then :
30524 cat >>confdefs.h <<_ACEOF
30525 #define HAVE__EXPF 1
30526 _ACEOF
30529 done
30538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30539 $as_echo_n "checking for isnanf declaration... " >&6; }
30540 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30541 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30542 $as_echo_n "(cached) " >&6
30543 else
30546 ac_ext=cpp
30547 ac_cpp='$CXXCPP $CPPFLAGS'
30548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30553 /* end confdefs.h. */
30554 #include <math.h>
30555 #ifdef HAVE_IEEEFP_H
30556 #include <ieeefp.h>
30557 #endif
30560 main ()
30562 isnanf(0);
30564 return 0;
30566 _ACEOF
30567 if ac_fn_cxx_try_compile "$LINENO"; then :
30568 glibcxx_cv_func_isnanf_use=yes
30569 else
30570 glibcxx_cv_func_isnanf_use=no
30572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30573 ac_ext=c
30574 ac_cpp='$CPP $CPPFLAGS'
30575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30584 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30586 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30587 for ac_func in isnanf
30588 do :
30589 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30590 if test "x$ac_cv_func_isnanf" = x""yes; then :
30591 cat >>confdefs.h <<_ACEOF
30592 #define HAVE_ISNANF 1
30593 _ACEOF
30596 done
30598 else
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30601 $as_echo_n "checking for _isnanf declaration... " >&6; }
30602 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30603 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30604 $as_echo_n "(cached) " >&6
30605 else
30608 ac_ext=cpp
30609 ac_cpp='$CXXCPP $CPPFLAGS'
30610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30615 /* end confdefs.h. */
30616 #include <math.h>
30617 #ifdef HAVE_IEEEFP_H
30618 #include <ieeefp.h>
30619 #endif
30622 main ()
30624 _isnanf(0);
30626 return 0;
30628 _ACEOF
30629 if ac_fn_cxx_try_compile "$LINENO"; then :
30630 glibcxx_cv_func__isnanf_use=yes
30631 else
30632 glibcxx_cv_func__isnanf_use=no
30634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30635 ac_ext=c
30636 ac_cpp='$CPP $CPPFLAGS'
30637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30646 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30648 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30649 for ac_func in _isnanf
30650 do :
30651 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30652 if test "x$ac_cv_func__isnanf" = x""yes; then :
30653 cat >>confdefs.h <<_ACEOF
30654 #define HAVE__ISNANF 1
30655 _ACEOF
30658 done
30667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30668 $as_echo_n "checking for isinff declaration... " >&6; }
30669 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30670 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30671 $as_echo_n "(cached) " >&6
30672 else
30675 ac_ext=cpp
30676 ac_cpp='$CXXCPP $CPPFLAGS'
30677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30682 /* end confdefs.h. */
30683 #include <math.h>
30684 #ifdef HAVE_IEEEFP_H
30685 #include <ieeefp.h>
30686 #endif
30689 main ()
30691 isinff(0);
30693 return 0;
30695 _ACEOF
30696 if ac_fn_cxx_try_compile "$LINENO"; then :
30697 glibcxx_cv_func_isinff_use=yes
30698 else
30699 glibcxx_cv_func_isinff_use=no
30701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30702 ac_ext=c
30703 ac_cpp='$CPP $CPPFLAGS'
30704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30713 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30715 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30716 for ac_func in isinff
30717 do :
30718 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30719 if test "x$ac_cv_func_isinff" = x""yes; then :
30720 cat >>confdefs.h <<_ACEOF
30721 #define HAVE_ISINFF 1
30722 _ACEOF
30725 done
30727 else
30729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30730 $as_echo_n "checking for _isinff declaration... " >&6; }
30731 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30732 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30733 $as_echo_n "(cached) " >&6
30734 else
30737 ac_ext=cpp
30738 ac_cpp='$CXXCPP $CPPFLAGS'
30739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30744 /* end confdefs.h. */
30745 #include <math.h>
30746 #ifdef HAVE_IEEEFP_H
30747 #include <ieeefp.h>
30748 #endif
30751 main ()
30753 _isinff(0);
30755 return 0;
30757 _ACEOF
30758 if ac_fn_cxx_try_compile "$LINENO"; then :
30759 glibcxx_cv_func__isinff_use=yes
30760 else
30761 glibcxx_cv_func__isinff_use=no
30763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30764 ac_ext=c
30765 ac_cpp='$CPP $CPPFLAGS'
30766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30775 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30777 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30778 for ac_func in _isinff
30779 do :
30780 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30781 if test "x$ac_cv_func__isinff" = x""yes; then :
30782 cat >>confdefs.h <<_ACEOF
30783 #define HAVE__ISINFF 1
30784 _ACEOF
30787 done
30796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30797 $as_echo_n "checking for atan2f declaration... " >&6; }
30798 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30799 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30800 $as_echo_n "(cached) " >&6
30801 else
30804 ac_ext=cpp
30805 ac_cpp='$CXXCPP $CPPFLAGS'
30806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30811 /* end confdefs.h. */
30812 #include <math.h>
30814 main ()
30816 atan2f(0, 0);
30818 return 0;
30820 _ACEOF
30821 if ac_fn_cxx_try_compile "$LINENO"; then :
30822 glibcxx_cv_func_atan2f_use=yes
30823 else
30824 glibcxx_cv_func_atan2f_use=no
30826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30827 ac_ext=c
30828 ac_cpp='$CPP $CPPFLAGS'
30829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30838 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30840 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30841 for ac_func in atan2f
30842 do :
30843 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30844 if test "x$ac_cv_func_atan2f" = x""yes; then :
30845 cat >>confdefs.h <<_ACEOF
30846 #define HAVE_ATAN2F 1
30847 _ACEOF
30850 done
30852 else
30854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30855 $as_echo_n "checking for _atan2f declaration... " >&6; }
30856 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30857 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30858 $as_echo_n "(cached) " >&6
30859 else
30862 ac_ext=cpp
30863 ac_cpp='$CXXCPP $CPPFLAGS'
30864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30869 /* end confdefs.h. */
30870 #include <math.h>
30872 main ()
30874 _atan2f(0, 0);
30876 return 0;
30878 _ACEOF
30879 if ac_fn_cxx_try_compile "$LINENO"; then :
30880 glibcxx_cv_func__atan2f_use=yes
30881 else
30882 glibcxx_cv_func__atan2f_use=no
30884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30885 ac_ext=c
30886 ac_cpp='$CPP $CPPFLAGS'
30887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30896 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30898 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30899 for ac_func in _atan2f
30900 do :
30901 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30902 if test "x$ac_cv_func__atan2f" = x""yes; then :
30903 cat >>confdefs.h <<_ACEOF
30904 #define HAVE__ATAN2F 1
30905 _ACEOF
30908 done
30917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30918 $as_echo_n "checking for fabsf declaration... " >&6; }
30919 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30920 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30921 $as_echo_n "(cached) " >&6
30922 else
30925 ac_ext=cpp
30926 ac_cpp='$CXXCPP $CPPFLAGS'
30927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30932 /* end confdefs.h. */
30933 #include <math.h>
30934 #ifdef HAVE_IEEEFP_H
30935 #include <ieeefp.h>
30936 #endif
30939 main ()
30941 fabsf(0);
30943 return 0;
30945 _ACEOF
30946 if ac_fn_cxx_try_compile "$LINENO"; then :
30947 glibcxx_cv_func_fabsf_use=yes
30948 else
30949 glibcxx_cv_func_fabsf_use=no
30951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30952 ac_ext=c
30953 ac_cpp='$CPP $CPPFLAGS'
30954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30963 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30965 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30966 for ac_func in fabsf
30967 do :
30968 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30969 if test "x$ac_cv_func_fabsf" = x""yes; then :
30970 cat >>confdefs.h <<_ACEOF
30971 #define HAVE_FABSF 1
30972 _ACEOF
30975 done
30977 else
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30980 $as_echo_n "checking for _fabsf declaration... " >&6; }
30981 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30982 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30983 $as_echo_n "(cached) " >&6
30984 else
30987 ac_ext=cpp
30988 ac_cpp='$CXXCPP $CPPFLAGS'
30989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30994 /* end confdefs.h. */
30995 #include <math.h>
30996 #ifdef HAVE_IEEEFP_H
30997 #include <ieeefp.h>
30998 #endif
31001 main ()
31003 _fabsf(0);
31005 return 0;
31007 _ACEOF
31008 if ac_fn_cxx_try_compile "$LINENO"; then :
31009 glibcxx_cv_func__fabsf_use=yes
31010 else
31011 glibcxx_cv_func__fabsf_use=no
31013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31014 ac_ext=c
31015 ac_cpp='$CPP $CPPFLAGS'
31016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31025 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31027 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31028 for ac_func in _fabsf
31029 do :
31030 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31031 if test "x$ac_cv_func__fabsf" = x""yes; then :
31032 cat >>confdefs.h <<_ACEOF
31033 #define HAVE__FABSF 1
31034 _ACEOF
31037 done
31046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31047 $as_echo_n "checking for fmodf declaration... " >&6; }
31048 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31049 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31050 $as_echo_n "(cached) " >&6
31051 else
31054 ac_ext=cpp
31055 ac_cpp='$CXXCPP $CPPFLAGS'
31056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31061 /* end confdefs.h. */
31062 #include <math.h>
31064 main ()
31066 fmodf(0, 0);
31068 return 0;
31070 _ACEOF
31071 if ac_fn_cxx_try_compile "$LINENO"; then :
31072 glibcxx_cv_func_fmodf_use=yes
31073 else
31074 glibcxx_cv_func_fmodf_use=no
31076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31077 ac_ext=c
31078 ac_cpp='$CPP $CPPFLAGS'
31079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31088 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31090 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31091 for ac_func in fmodf
31092 do :
31093 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31094 if test "x$ac_cv_func_fmodf" = x""yes; then :
31095 cat >>confdefs.h <<_ACEOF
31096 #define HAVE_FMODF 1
31097 _ACEOF
31100 done
31102 else
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31105 $as_echo_n "checking for _fmodf declaration... " >&6; }
31106 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31107 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31108 $as_echo_n "(cached) " >&6
31109 else
31112 ac_ext=cpp
31113 ac_cpp='$CXXCPP $CPPFLAGS'
31114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31119 /* end confdefs.h. */
31120 #include <math.h>
31122 main ()
31124 _fmodf(0, 0);
31126 return 0;
31128 _ACEOF
31129 if ac_fn_cxx_try_compile "$LINENO"; then :
31130 glibcxx_cv_func__fmodf_use=yes
31131 else
31132 glibcxx_cv_func__fmodf_use=no
31134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31135 ac_ext=c
31136 ac_cpp='$CPP $CPPFLAGS'
31137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31146 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31148 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31149 for ac_func in _fmodf
31150 do :
31151 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31152 if test "x$ac_cv_func__fmodf" = x""yes; then :
31153 cat >>confdefs.h <<_ACEOF
31154 #define HAVE__FMODF 1
31155 _ACEOF
31158 done
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31168 $as_echo_n "checking for frexpf declaration... " >&6; }
31169 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31170 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31171 $as_echo_n "(cached) " >&6
31172 else
31175 ac_ext=cpp
31176 ac_cpp='$CXXCPP $CPPFLAGS'
31177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31182 /* end confdefs.h. */
31183 #include <math.h>
31185 main ()
31187 frexpf(0, 0);
31189 return 0;
31191 _ACEOF
31192 if ac_fn_cxx_try_compile "$LINENO"; then :
31193 glibcxx_cv_func_frexpf_use=yes
31194 else
31195 glibcxx_cv_func_frexpf_use=no
31197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31198 ac_ext=c
31199 ac_cpp='$CPP $CPPFLAGS'
31200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31209 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31211 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31212 for ac_func in frexpf
31213 do :
31214 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31215 if test "x$ac_cv_func_frexpf" = x""yes; then :
31216 cat >>confdefs.h <<_ACEOF
31217 #define HAVE_FREXPF 1
31218 _ACEOF
31221 done
31223 else
31225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31226 $as_echo_n "checking for _frexpf declaration... " >&6; }
31227 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31228 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31229 $as_echo_n "(cached) " >&6
31230 else
31233 ac_ext=cpp
31234 ac_cpp='$CXXCPP $CPPFLAGS'
31235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31240 /* end confdefs.h. */
31241 #include <math.h>
31243 main ()
31245 _frexpf(0, 0);
31247 return 0;
31249 _ACEOF
31250 if ac_fn_cxx_try_compile "$LINENO"; then :
31251 glibcxx_cv_func__frexpf_use=yes
31252 else
31253 glibcxx_cv_func__frexpf_use=no
31255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31256 ac_ext=c
31257 ac_cpp='$CPP $CPPFLAGS'
31258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31267 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31269 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31270 for ac_func in _frexpf
31271 do :
31272 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31273 if test "x$ac_cv_func__frexpf" = x""yes; then :
31274 cat >>confdefs.h <<_ACEOF
31275 #define HAVE__FREXPF 1
31276 _ACEOF
31279 done
31288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31289 $as_echo_n "checking for hypotf declaration... " >&6; }
31290 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31291 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31292 $as_echo_n "(cached) " >&6
31293 else
31296 ac_ext=cpp
31297 ac_cpp='$CXXCPP $CPPFLAGS'
31298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31303 /* end confdefs.h. */
31304 #include <math.h>
31306 main ()
31308 hypotf(0, 0);
31310 return 0;
31312 _ACEOF
31313 if ac_fn_cxx_try_compile "$LINENO"; then :
31314 glibcxx_cv_func_hypotf_use=yes
31315 else
31316 glibcxx_cv_func_hypotf_use=no
31318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31319 ac_ext=c
31320 ac_cpp='$CPP $CPPFLAGS'
31321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31330 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31332 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31333 for ac_func in hypotf
31334 do :
31335 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31336 if test "x$ac_cv_func_hypotf" = x""yes; then :
31337 cat >>confdefs.h <<_ACEOF
31338 #define HAVE_HYPOTF 1
31339 _ACEOF
31342 done
31344 else
31346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31347 $as_echo_n "checking for _hypotf declaration... " >&6; }
31348 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31349 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31350 $as_echo_n "(cached) " >&6
31351 else
31354 ac_ext=cpp
31355 ac_cpp='$CXXCPP $CPPFLAGS'
31356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31361 /* end confdefs.h. */
31362 #include <math.h>
31364 main ()
31366 _hypotf(0, 0);
31368 return 0;
31370 _ACEOF
31371 if ac_fn_cxx_try_compile "$LINENO"; then :
31372 glibcxx_cv_func__hypotf_use=yes
31373 else
31374 glibcxx_cv_func__hypotf_use=no
31376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31377 ac_ext=c
31378 ac_cpp='$CPP $CPPFLAGS'
31379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31388 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31390 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31391 for ac_func in _hypotf
31392 do :
31393 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31394 if test "x$ac_cv_func__hypotf" = x""yes; then :
31395 cat >>confdefs.h <<_ACEOF
31396 #define HAVE__HYPOTF 1
31397 _ACEOF
31400 done
31409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31410 $as_echo_n "checking for ldexpf declaration... " >&6; }
31411 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31412 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31413 $as_echo_n "(cached) " >&6
31414 else
31417 ac_ext=cpp
31418 ac_cpp='$CXXCPP $CPPFLAGS'
31419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31424 /* end confdefs.h. */
31425 #include <math.h>
31427 main ()
31429 ldexpf(0, 0);
31431 return 0;
31433 _ACEOF
31434 if ac_fn_cxx_try_compile "$LINENO"; then :
31435 glibcxx_cv_func_ldexpf_use=yes
31436 else
31437 glibcxx_cv_func_ldexpf_use=no
31439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31440 ac_ext=c
31441 ac_cpp='$CPP $CPPFLAGS'
31442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31451 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31453 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31454 for ac_func in ldexpf
31455 do :
31456 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31457 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31458 cat >>confdefs.h <<_ACEOF
31459 #define HAVE_LDEXPF 1
31460 _ACEOF
31463 done
31465 else
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31468 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31469 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31470 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31471 $as_echo_n "(cached) " >&6
31472 else
31475 ac_ext=cpp
31476 ac_cpp='$CXXCPP $CPPFLAGS'
31477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31482 /* end confdefs.h. */
31483 #include <math.h>
31485 main ()
31487 _ldexpf(0, 0);
31489 return 0;
31491 _ACEOF
31492 if ac_fn_cxx_try_compile "$LINENO"; then :
31493 glibcxx_cv_func__ldexpf_use=yes
31494 else
31495 glibcxx_cv_func__ldexpf_use=no
31497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31498 ac_ext=c
31499 ac_cpp='$CPP $CPPFLAGS'
31500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31509 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31511 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31512 for ac_func in _ldexpf
31513 do :
31514 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31515 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31516 cat >>confdefs.h <<_ACEOF
31517 #define HAVE__LDEXPF 1
31518 _ACEOF
31521 done
31530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31531 $as_echo_n "checking for logf declaration... " >&6; }
31532 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31533 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31534 $as_echo_n "(cached) " >&6
31535 else
31538 ac_ext=cpp
31539 ac_cpp='$CXXCPP $CPPFLAGS'
31540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31545 /* end confdefs.h. */
31546 #include <math.h>
31547 #ifdef HAVE_IEEEFP_H
31548 #include <ieeefp.h>
31549 #endif
31552 main ()
31554 logf(0);
31556 return 0;
31558 _ACEOF
31559 if ac_fn_cxx_try_compile "$LINENO"; then :
31560 glibcxx_cv_func_logf_use=yes
31561 else
31562 glibcxx_cv_func_logf_use=no
31564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31565 ac_ext=c
31566 ac_cpp='$CPP $CPPFLAGS'
31567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31576 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31578 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31579 for ac_func in logf
31580 do :
31581 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31582 if test "x$ac_cv_func_logf" = x""yes; then :
31583 cat >>confdefs.h <<_ACEOF
31584 #define HAVE_LOGF 1
31585 _ACEOF
31588 done
31590 else
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31593 $as_echo_n "checking for _logf declaration... " >&6; }
31594 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31595 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31596 $as_echo_n "(cached) " >&6
31597 else
31600 ac_ext=cpp
31601 ac_cpp='$CXXCPP $CPPFLAGS'
31602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31607 /* end confdefs.h. */
31608 #include <math.h>
31609 #ifdef HAVE_IEEEFP_H
31610 #include <ieeefp.h>
31611 #endif
31614 main ()
31616 _logf(0);
31618 return 0;
31620 _ACEOF
31621 if ac_fn_cxx_try_compile "$LINENO"; then :
31622 glibcxx_cv_func__logf_use=yes
31623 else
31624 glibcxx_cv_func__logf_use=no
31626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31627 ac_ext=c
31628 ac_cpp='$CPP $CPPFLAGS'
31629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31638 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31640 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31641 for ac_func in _logf
31642 do :
31643 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31644 if test "x$ac_cv_func__logf" = x""yes; then :
31645 cat >>confdefs.h <<_ACEOF
31646 #define HAVE__LOGF 1
31647 _ACEOF
31650 done
31659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31660 $as_echo_n "checking for log10f declaration... " >&6; }
31661 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31662 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31663 $as_echo_n "(cached) " >&6
31664 else
31667 ac_ext=cpp
31668 ac_cpp='$CXXCPP $CPPFLAGS'
31669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31674 /* end confdefs.h. */
31675 #include <math.h>
31676 #ifdef HAVE_IEEEFP_H
31677 #include <ieeefp.h>
31678 #endif
31681 main ()
31683 log10f(0);
31685 return 0;
31687 _ACEOF
31688 if ac_fn_cxx_try_compile "$LINENO"; then :
31689 glibcxx_cv_func_log10f_use=yes
31690 else
31691 glibcxx_cv_func_log10f_use=no
31693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31694 ac_ext=c
31695 ac_cpp='$CPP $CPPFLAGS'
31696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31705 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31707 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31708 for ac_func in log10f
31709 do :
31710 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31711 if test "x$ac_cv_func_log10f" = x""yes; then :
31712 cat >>confdefs.h <<_ACEOF
31713 #define HAVE_LOG10F 1
31714 _ACEOF
31717 done
31719 else
31721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31722 $as_echo_n "checking for _log10f declaration... " >&6; }
31723 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31724 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31725 $as_echo_n "(cached) " >&6
31726 else
31729 ac_ext=cpp
31730 ac_cpp='$CXXCPP $CPPFLAGS'
31731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31736 /* end confdefs.h. */
31737 #include <math.h>
31738 #ifdef HAVE_IEEEFP_H
31739 #include <ieeefp.h>
31740 #endif
31743 main ()
31745 _log10f(0);
31747 return 0;
31749 _ACEOF
31750 if ac_fn_cxx_try_compile "$LINENO"; then :
31751 glibcxx_cv_func__log10f_use=yes
31752 else
31753 glibcxx_cv_func__log10f_use=no
31755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31756 ac_ext=c
31757 ac_cpp='$CPP $CPPFLAGS'
31758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31767 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31769 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31770 for ac_func in _log10f
31771 do :
31772 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31773 if test "x$ac_cv_func__log10f" = x""yes; then :
31774 cat >>confdefs.h <<_ACEOF
31775 #define HAVE__LOG10F 1
31776 _ACEOF
31779 done
31788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31789 $as_echo_n "checking for modff declaration... " >&6; }
31790 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31791 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31792 $as_echo_n "(cached) " >&6
31793 else
31796 ac_ext=cpp
31797 ac_cpp='$CXXCPP $CPPFLAGS'
31798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31803 /* end confdefs.h. */
31804 #include <math.h>
31806 main ()
31808 modff(0, 0);
31810 return 0;
31812 _ACEOF
31813 if ac_fn_cxx_try_compile "$LINENO"; then :
31814 glibcxx_cv_func_modff_use=yes
31815 else
31816 glibcxx_cv_func_modff_use=no
31818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31819 ac_ext=c
31820 ac_cpp='$CPP $CPPFLAGS'
31821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31830 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31832 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31833 for ac_func in modff
31834 do :
31835 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31836 if test "x$ac_cv_func_modff" = x""yes; then :
31837 cat >>confdefs.h <<_ACEOF
31838 #define HAVE_MODFF 1
31839 _ACEOF
31842 done
31844 else
31846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31847 $as_echo_n "checking for _modff declaration... " >&6; }
31848 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31849 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31850 $as_echo_n "(cached) " >&6
31851 else
31854 ac_ext=cpp
31855 ac_cpp='$CXXCPP $CPPFLAGS'
31856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31861 /* end confdefs.h. */
31862 #include <math.h>
31864 main ()
31866 _modff(0, 0);
31868 return 0;
31870 _ACEOF
31871 if ac_fn_cxx_try_compile "$LINENO"; then :
31872 glibcxx_cv_func__modff_use=yes
31873 else
31874 glibcxx_cv_func__modff_use=no
31876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31877 ac_ext=c
31878 ac_cpp='$CPP $CPPFLAGS'
31879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31888 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31890 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31891 for ac_func in _modff
31892 do :
31893 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31894 if test "x$ac_cv_func__modff" = x""yes; then :
31895 cat >>confdefs.h <<_ACEOF
31896 #define HAVE__MODFF 1
31897 _ACEOF
31900 done
31909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31910 $as_echo_n "checking for modf declaration... " >&6; }
31911 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31912 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31913 $as_echo_n "(cached) " >&6
31914 else
31917 ac_ext=cpp
31918 ac_cpp='$CXXCPP $CPPFLAGS'
31919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31924 /* end confdefs.h. */
31925 #include <math.h>
31927 main ()
31929 modf(0, 0);
31931 return 0;
31933 _ACEOF
31934 if ac_fn_cxx_try_compile "$LINENO"; then :
31935 glibcxx_cv_func_modf_use=yes
31936 else
31937 glibcxx_cv_func_modf_use=no
31939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31940 ac_ext=c
31941 ac_cpp='$CPP $CPPFLAGS'
31942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31951 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31953 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31954 for ac_func in modf
31955 do :
31956 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31957 if test "x$ac_cv_func_modf" = x""yes; then :
31958 cat >>confdefs.h <<_ACEOF
31959 #define HAVE_MODF 1
31960 _ACEOF
31963 done
31965 else
31967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31968 $as_echo_n "checking for _modf declaration... " >&6; }
31969 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31970 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31971 $as_echo_n "(cached) " >&6
31972 else
31975 ac_ext=cpp
31976 ac_cpp='$CXXCPP $CPPFLAGS'
31977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31982 /* end confdefs.h. */
31983 #include <math.h>
31985 main ()
31987 _modf(0, 0);
31989 return 0;
31991 _ACEOF
31992 if ac_fn_cxx_try_compile "$LINENO"; then :
31993 glibcxx_cv_func__modf_use=yes
31994 else
31995 glibcxx_cv_func__modf_use=no
31997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31998 ac_ext=c
31999 ac_cpp='$CPP $CPPFLAGS'
32000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32009 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32011 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32012 for ac_func in _modf
32013 do :
32014 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32015 if test "x$ac_cv_func__modf" = x""yes; then :
32016 cat >>confdefs.h <<_ACEOF
32017 #define HAVE__MODF 1
32018 _ACEOF
32021 done
32030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32031 $as_echo_n "checking for powf declaration... " >&6; }
32032 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32033 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32034 $as_echo_n "(cached) " >&6
32035 else
32038 ac_ext=cpp
32039 ac_cpp='$CXXCPP $CPPFLAGS'
32040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32045 /* end confdefs.h. */
32046 #include <math.h>
32048 main ()
32050 powf(0, 0);
32052 return 0;
32054 _ACEOF
32055 if ac_fn_cxx_try_compile "$LINENO"; then :
32056 glibcxx_cv_func_powf_use=yes
32057 else
32058 glibcxx_cv_func_powf_use=no
32060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32061 ac_ext=c
32062 ac_cpp='$CPP $CPPFLAGS'
32063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32072 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32074 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32075 for ac_func in powf
32076 do :
32077 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32078 if test "x$ac_cv_func_powf" = x""yes; then :
32079 cat >>confdefs.h <<_ACEOF
32080 #define HAVE_POWF 1
32081 _ACEOF
32084 done
32086 else
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32089 $as_echo_n "checking for _powf declaration... " >&6; }
32090 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32091 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32092 $as_echo_n "(cached) " >&6
32093 else
32096 ac_ext=cpp
32097 ac_cpp='$CXXCPP $CPPFLAGS'
32098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32103 /* end confdefs.h. */
32104 #include <math.h>
32106 main ()
32108 _powf(0, 0);
32110 return 0;
32112 _ACEOF
32113 if ac_fn_cxx_try_compile "$LINENO"; then :
32114 glibcxx_cv_func__powf_use=yes
32115 else
32116 glibcxx_cv_func__powf_use=no
32118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32119 ac_ext=c
32120 ac_cpp='$CPP $CPPFLAGS'
32121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32130 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32132 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32133 for ac_func in _powf
32134 do :
32135 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32136 if test "x$ac_cv_func__powf" = x""yes; then :
32137 cat >>confdefs.h <<_ACEOF
32138 #define HAVE__POWF 1
32139 _ACEOF
32142 done
32151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32152 $as_echo_n "checking for sqrtf declaration... " >&6; }
32153 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32154 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32155 $as_echo_n "(cached) " >&6
32156 else
32159 ac_ext=cpp
32160 ac_cpp='$CXXCPP $CPPFLAGS'
32161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32166 /* end confdefs.h. */
32167 #include <math.h>
32168 #ifdef HAVE_IEEEFP_H
32169 #include <ieeefp.h>
32170 #endif
32173 main ()
32175 sqrtf(0);
32177 return 0;
32179 _ACEOF
32180 if ac_fn_cxx_try_compile "$LINENO"; then :
32181 glibcxx_cv_func_sqrtf_use=yes
32182 else
32183 glibcxx_cv_func_sqrtf_use=no
32185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32186 ac_ext=c
32187 ac_cpp='$CPP $CPPFLAGS'
32188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32197 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32199 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32200 for ac_func in sqrtf
32201 do :
32202 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32203 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32204 cat >>confdefs.h <<_ACEOF
32205 #define HAVE_SQRTF 1
32206 _ACEOF
32209 done
32211 else
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32214 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32215 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32216 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32217 $as_echo_n "(cached) " >&6
32218 else
32221 ac_ext=cpp
32222 ac_cpp='$CXXCPP $CPPFLAGS'
32223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32228 /* end confdefs.h. */
32229 #include <math.h>
32230 #ifdef HAVE_IEEEFP_H
32231 #include <ieeefp.h>
32232 #endif
32235 main ()
32237 _sqrtf(0);
32239 return 0;
32241 _ACEOF
32242 if ac_fn_cxx_try_compile "$LINENO"; then :
32243 glibcxx_cv_func__sqrtf_use=yes
32244 else
32245 glibcxx_cv_func__sqrtf_use=no
32247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32248 ac_ext=c
32249 ac_cpp='$CPP $CPPFLAGS'
32250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32259 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32261 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32262 for ac_func in _sqrtf
32263 do :
32264 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32265 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32266 cat >>confdefs.h <<_ACEOF
32267 #define HAVE__SQRTF 1
32268 _ACEOF
32271 done
32280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32281 $as_echo_n "checking for sincosf declaration... " >&6; }
32282 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32283 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32284 $as_echo_n "(cached) " >&6
32285 else
32288 ac_ext=cpp
32289 ac_cpp='$CXXCPP $CPPFLAGS'
32290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32295 /* end confdefs.h. */
32296 #include <math.h>
32298 main ()
32300 sincosf(0, 0, 0);
32302 return 0;
32304 _ACEOF
32305 if ac_fn_cxx_try_compile "$LINENO"; then :
32306 glibcxx_cv_func_sincosf_use=yes
32307 else
32308 glibcxx_cv_func_sincosf_use=no
32310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32311 ac_ext=c
32312 ac_cpp='$CPP $CPPFLAGS'
32313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32322 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32324 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32325 for ac_func in sincosf
32326 do :
32327 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32328 if test "x$ac_cv_func_sincosf" = x""yes; then :
32329 cat >>confdefs.h <<_ACEOF
32330 #define HAVE_SINCOSF 1
32331 _ACEOF
32334 done
32336 else
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32339 $as_echo_n "checking for _sincosf declaration... " >&6; }
32340 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32341 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32342 $as_echo_n "(cached) " >&6
32343 else
32346 ac_ext=cpp
32347 ac_cpp='$CXXCPP $CPPFLAGS'
32348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32353 /* end confdefs.h. */
32354 #include <math.h>
32356 main ()
32358 _sincosf(0, 0, 0);
32360 return 0;
32362 _ACEOF
32363 if ac_fn_cxx_try_compile "$LINENO"; then :
32364 glibcxx_cv_func__sincosf_use=yes
32365 else
32366 glibcxx_cv_func__sincosf_use=no
32368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32369 ac_ext=c
32370 ac_cpp='$CPP $CPPFLAGS'
32371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32380 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32382 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32383 for ac_func in _sincosf
32384 do :
32385 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32386 if test "x$ac_cv_func__sincosf" = x""yes; then :
32387 cat >>confdefs.h <<_ACEOF
32388 #define HAVE__SINCOSF 1
32389 _ACEOF
32392 done
32401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32402 $as_echo_n "checking for finitef declaration... " >&6; }
32403 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32404 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32405 $as_echo_n "(cached) " >&6
32406 else
32409 ac_ext=cpp
32410 ac_cpp='$CXXCPP $CPPFLAGS'
32411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32416 /* end confdefs.h. */
32417 #include <math.h>
32418 #ifdef HAVE_IEEEFP_H
32419 #include <ieeefp.h>
32420 #endif
32423 main ()
32425 finitef(0);
32427 return 0;
32429 _ACEOF
32430 if ac_fn_cxx_try_compile "$LINENO"; then :
32431 glibcxx_cv_func_finitef_use=yes
32432 else
32433 glibcxx_cv_func_finitef_use=no
32435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32436 ac_ext=c
32437 ac_cpp='$CPP $CPPFLAGS'
32438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32447 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32449 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32450 for ac_func in finitef
32451 do :
32452 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32453 if test "x$ac_cv_func_finitef" = x""yes; then :
32454 cat >>confdefs.h <<_ACEOF
32455 #define HAVE_FINITEF 1
32456 _ACEOF
32459 done
32461 else
32463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32464 $as_echo_n "checking for _finitef declaration... " >&6; }
32465 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32466 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32467 $as_echo_n "(cached) " >&6
32468 else
32471 ac_ext=cpp
32472 ac_cpp='$CXXCPP $CPPFLAGS'
32473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32478 /* end confdefs.h. */
32479 #include <math.h>
32480 #ifdef HAVE_IEEEFP_H
32481 #include <ieeefp.h>
32482 #endif
32485 main ()
32487 _finitef(0);
32489 return 0;
32491 _ACEOF
32492 if ac_fn_cxx_try_compile "$LINENO"; then :
32493 glibcxx_cv_func__finitef_use=yes
32494 else
32495 glibcxx_cv_func__finitef_use=no
32497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32498 ac_ext=c
32499 ac_cpp='$CPP $CPPFLAGS'
32500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32509 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32511 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32512 for ac_func in _finitef
32513 do :
32514 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32515 if test "x$ac_cv_func__finitef" = x""yes; then :
32516 cat >>confdefs.h <<_ACEOF
32517 #define HAVE__FINITEF 1
32518 _ACEOF
32521 done
32530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32531 $as_echo_n "checking for long double trig functions... " >&6; }
32532 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32533 $as_echo_n "(cached) " >&6
32534 else
32537 ac_ext=cpp
32538 ac_cpp='$CXXCPP $CPPFLAGS'
32539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32544 /* end confdefs.h. */
32545 #include <math.h>
32547 main ()
32549 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32551 return 0;
32553 _ACEOF
32554 if ac_fn_cxx_try_compile "$LINENO"; then :
32555 glibcxx_cv_func_long_double_trig_use=yes
32556 else
32557 glibcxx_cv_func_long_double_trig_use=no
32559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32560 ac_ext=c
32561 ac_cpp='$CPP $CPPFLAGS'
32562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32569 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32570 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32571 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32572 do :
32573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32575 eval as_val=\$$as_ac_var
32576 if test "x$as_val" = x""yes; then :
32577 cat >>confdefs.h <<_ACEOF
32578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32579 _ACEOF
32582 done
32584 else
32585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32586 $as_echo_n "checking for _long double trig functions... " >&6; }
32587 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32588 $as_echo_n "(cached) " >&6
32589 else
32592 ac_ext=cpp
32593 ac_cpp='$CXXCPP $CPPFLAGS'
32594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32599 /* end confdefs.h. */
32600 #include <math.h>
32602 main ()
32604 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32606 return 0;
32608 _ACEOF
32609 if ac_fn_cxx_try_compile "$LINENO"; then :
32610 glibcxx_cv_func__long_double_trig_use=yes
32611 else
32612 glibcxx_cv_func__long_double_trig_use=no
32614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32615 ac_ext=c
32616 ac_cpp='$CPP $CPPFLAGS'
32617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32624 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32625 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32626 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32627 do :
32628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32630 eval as_val=\$$as_ac_var
32631 if test "x$as_val" = x""yes; then :
32632 cat >>confdefs.h <<_ACEOF
32633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32634 _ACEOF
32637 done
32646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32647 $as_echo_n "checking for long double round functions... " >&6; }
32648 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32649 $as_echo_n "(cached) " >&6
32650 else
32653 ac_ext=cpp
32654 ac_cpp='$CXXCPP $CPPFLAGS'
32655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32660 /* end confdefs.h. */
32661 #include <math.h>
32663 main ()
32665 ceill (0); floorl (0);
32667 return 0;
32669 _ACEOF
32670 if ac_fn_cxx_try_compile "$LINENO"; then :
32671 glibcxx_cv_func_long_double_round_use=yes
32672 else
32673 glibcxx_cv_func_long_double_round_use=no
32675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32676 ac_ext=c
32677 ac_cpp='$CPP $CPPFLAGS'
32678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32685 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32686 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32687 for ac_func in ceill floorl
32688 do :
32689 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32691 eval as_val=\$$as_ac_var
32692 if test "x$as_val" = x""yes; then :
32693 cat >>confdefs.h <<_ACEOF
32694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32695 _ACEOF
32698 done
32700 else
32701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32702 $as_echo_n "checking for _long double round functions... " >&6; }
32703 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32704 $as_echo_n "(cached) " >&6
32705 else
32708 ac_ext=cpp
32709 ac_cpp='$CXXCPP $CPPFLAGS'
32710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32715 /* end confdefs.h. */
32716 #include <math.h>
32718 main ()
32720 _ceill (0); _floorl (0);
32722 return 0;
32724 _ACEOF
32725 if ac_fn_cxx_try_compile "$LINENO"; then :
32726 glibcxx_cv_func__long_double_round_use=yes
32727 else
32728 glibcxx_cv_func__long_double_round_use=no
32730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32731 ac_ext=c
32732 ac_cpp='$CPP $CPPFLAGS'
32733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32740 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32741 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32742 for ac_func in _ceill _floorl
32743 do :
32744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32746 eval as_val=\$$as_ac_var
32747 if test "x$as_val" = x""yes; then :
32748 cat >>confdefs.h <<_ACEOF
32749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32750 _ACEOF
32753 done
32763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32764 $as_echo_n "checking for isnanl declaration... " >&6; }
32765 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32766 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32767 $as_echo_n "(cached) " >&6
32768 else
32771 ac_ext=cpp
32772 ac_cpp='$CXXCPP $CPPFLAGS'
32773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32778 /* end confdefs.h. */
32779 #include <math.h>
32780 #ifdef HAVE_IEEEFP_H
32781 #include <ieeefp.h>
32782 #endif
32785 main ()
32787 isnanl(0);
32789 return 0;
32791 _ACEOF
32792 if ac_fn_cxx_try_compile "$LINENO"; then :
32793 glibcxx_cv_func_isnanl_use=yes
32794 else
32795 glibcxx_cv_func_isnanl_use=no
32797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32798 ac_ext=c
32799 ac_cpp='$CPP $CPPFLAGS'
32800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32809 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32811 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32812 for ac_func in isnanl
32813 do :
32814 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32815 if test "x$ac_cv_func_isnanl" = x""yes; then :
32816 cat >>confdefs.h <<_ACEOF
32817 #define HAVE_ISNANL 1
32818 _ACEOF
32821 done
32823 else
32825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32826 $as_echo_n "checking for _isnanl declaration... " >&6; }
32827 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32828 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32829 $as_echo_n "(cached) " >&6
32830 else
32833 ac_ext=cpp
32834 ac_cpp='$CXXCPP $CPPFLAGS'
32835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32840 /* end confdefs.h. */
32841 #include <math.h>
32842 #ifdef HAVE_IEEEFP_H
32843 #include <ieeefp.h>
32844 #endif
32847 main ()
32849 _isnanl(0);
32851 return 0;
32853 _ACEOF
32854 if ac_fn_cxx_try_compile "$LINENO"; then :
32855 glibcxx_cv_func__isnanl_use=yes
32856 else
32857 glibcxx_cv_func__isnanl_use=no
32859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32860 ac_ext=c
32861 ac_cpp='$CPP $CPPFLAGS'
32862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32871 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32873 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32874 for ac_func in _isnanl
32875 do :
32876 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32877 if test "x$ac_cv_func__isnanl" = x""yes; then :
32878 cat >>confdefs.h <<_ACEOF
32879 #define HAVE__ISNANL 1
32880 _ACEOF
32883 done
32892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32893 $as_echo_n "checking for isinfl declaration... " >&6; }
32894 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32895 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32896 $as_echo_n "(cached) " >&6
32897 else
32900 ac_ext=cpp
32901 ac_cpp='$CXXCPP $CPPFLAGS'
32902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32907 /* end confdefs.h. */
32908 #include <math.h>
32909 #ifdef HAVE_IEEEFP_H
32910 #include <ieeefp.h>
32911 #endif
32914 main ()
32916 isinfl(0);
32918 return 0;
32920 _ACEOF
32921 if ac_fn_cxx_try_compile "$LINENO"; then :
32922 glibcxx_cv_func_isinfl_use=yes
32923 else
32924 glibcxx_cv_func_isinfl_use=no
32926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32927 ac_ext=c
32928 ac_cpp='$CPP $CPPFLAGS'
32929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32938 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32940 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32941 for ac_func in isinfl
32942 do :
32943 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32944 if test "x$ac_cv_func_isinfl" = x""yes; then :
32945 cat >>confdefs.h <<_ACEOF
32946 #define HAVE_ISINFL 1
32947 _ACEOF
32950 done
32952 else
32954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32955 $as_echo_n "checking for _isinfl declaration... " >&6; }
32956 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32957 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32958 $as_echo_n "(cached) " >&6
32959 else
32962 ac_ext=cpp
32963 ac_cpp='$CXXCPP $CPPFLAGS'
32964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32969 /* end confdefs.h. */
32970 #include <math.h>
32971 #ifdef HAVE_IEEEFP_H
32972 #include <ieeefp.h>
32973 #endif
32976 main ()
32978 _isinfl(0);
32980 return 0;
32982 _ACEOF
32983 if ac_fn_cxx_try_compile "$LINENO"; then :
32984 glibcxx_cv_func__isinfl_use=yes
32985 else
32986 glibcxx_cv_func__isinfl_use=no
32988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32989 ac_ext=c
32990 ac_cpp='$CPP $CPPFLAGS'
32991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33000 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33002 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33003 for ac_func in _isinfl
33004 do :
33005 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33006 if test "x$ac_cv_func__isinfl" = x""yes; then :
33007 cat >>confdefs.h <<_ACEOF
33008 #define HAVE__ISINFL 1
33009 _ACEOF
33012 done
33021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33022 $as_echo_n "checking for atan2l declaration... " >&6; }
33023 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33024 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33025 $as_echo_n "(cached) " >&6
33026 else
33029 ac_ext=cpp
33030 ac_cpp='$CXXCPP $CPPFLAGS'
33031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33036 /* end confdefs.h. */
33037 #include <math.h>
33039 main ()
33041 atan2l(0, 0);
33043 return 0;
33045 _ACEOF
33046 if ac_fn_cxx_try_compile "$LINENO"; then :
33047 glibcxx_cv_func_atan2l_use=yes
33048 else
33049 glibcxx_cv_func_atan2l_use=no
33051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33052 ac_ext=c
33053 ac_cpp='$CPP $CPPFLAGS'
33054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33063 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33065 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33066 for ac_func in atan2l
33067 do :
33068 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33069 if test "x$ac_cv_func_atan2l" = x""yes; then :
33070 cat >>confdefs.h <<_ACEOF
33071 #define HAVE_ATAN2L 1
33072 _ACEOF
33075 done
33077 else
33079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33080 $as_echo_n "checking for _atan2l declaration... " >&6; }
33081 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33082 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33083 $as_echo_n "(cached) " >&6
33084 else
33087 ac_ext=cpp
33088 ac_cpp='$CXXCPP $CPPFLAGS'
33089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33094 /* end confdefs.h. */
33095 #include <math.h>
33097 main ()
33099 _atan2l(0, 0);
33101 return 0;
33103 _ACEOF
33104 if ac_fn_cxx_try_compile "$LINENO"; then :
33105 glibcxx_cv_func__atan2l_use=yes
33106 else
33107 glibcxx_cv_func__atan2l_use=no
33109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33110 ac_ext=c
33111 ac_cpp='$CPP $CPPFLAGS'
33112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33121 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33123 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33124 for ac_func in _atan2l
33125 do :
33126 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33127 if test "x$ac_cv_func__atan2l" = x""yes; then :
33128 cat >>confdefs.h <<_ACEOF
33129 #define HAVE__ATAN2L 1
33130 _ACEOF
33133 done
33142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33143 $as_echo_n "checking for expl declaration... " >&6; }
33144 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33145 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33146 $as_echo_n "(cached) " >&6
33147 else
33150 ac_ext=cpp
33151 ac_cpp='$CXXCPP $CPPFLAGS'
33152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33157 /* end confdefs.h. */
33158 #include <math.h>
33159 #ifdef HAVE_IEEEFP_H
33160 #include <ieeefp.h>
33161 #endif
33164 main ()
33166 expl(0);
33168 return 0;
33170 _ACEOF
33171 if ac_fn_cxx_try_compile "$LINENO"; then :
33172 glibcxx_cv_func_expl_use=yes
33173 else
33174 glibcxx_cv_func_expl_use=no
33176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33177 ac_ext=c
33178 ac_cpp='$CPP $CPPFLAGS'
33179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33188 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33190 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33191 for ac_func in expl
33192 do :
33193 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33194 if test "x$ac_cv_func_expl" = x""yes; then :
33195 cat >>confdefs.h <<_ACEOF
33196 #define HAVE_EXPL 1
33197 _ACEOF
33200 done
33202 else
33204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33205 $as_echo_n "checking for _expl declaration... " >&6; }
33206 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33207 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33208 $as_echo_n "(cached) " >&6
33209 else
33212 ac_ext=cpp
33213 ac_cpp='$CXXCPP $CPPFLAGS'
33214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33219 /* end confdefs.h. */
33220 #include <math.h>
33221 #ifdef HAVE_IEEEFP_H
33222 #include <ieeefp.h>
33223 #endif
33226 main ()
33228 _expl(0);
33230 return 0;
33232 _ACEOF
33233 if ac_fn_cxx_try_compile "$LINENO"; then :
33234 glibcxx_cv_func__expl_use=yes
33235 else
33236 glibcxx_cv_func__expl_use=no
33238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33239 ac_ext=c
33240 ac_cpp='$CPP $CPPFLAGS'
33241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33250 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33252 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33253 for ac_func in _expl
33254 do :
33255 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33256 if test "x$ac_cv_func__expl" = x""yes; then :
33257 cat >>confdefs.h <<_ACEOF
33258 #define HAVE__EXPL 1
33259 _ACEOF
33262 done
33271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33272 $as_echo_n "checking for fabsl declaration... " >&6; }
33273 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33274 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33275 $as_echo_n "(cached) " >&6
33276 else
33279 ac_ext=cpp
33280 ac_cpp='$CXXCPP $CPPFLAGS'
33281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33286 /* end confdefs.h. */
33287 #include <math.h>
33288 #ifdef HAVE_IEEEFP_H
33289 #include <ieeefp.h>
33290 #endif
33293 main ()
33295 fabsl(0);
33297 return 0;
33299 _ACEOF
33300 if ac_fn_cxx_try_compile "$LINENO"; then :
33301 glibcxx_cv_func_fabsl_use=yes
33302 else
33303 glibcxx_cv_func_fabsl_use=no
33305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33306 ac_ext=c
33307 ac_cpp='$CPP $CPPFLAGS'
33308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33317 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33319 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33320 for ac_func in fabsl
33321 do :
33322 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33323 if test "x$ac_cv_func_fabsl" = x""yes; then :
33324 cat >>confdefs.h <<_ACEOF
33325 #define HAVE_FABSL 1
33326 _ACEOF
33329 done
33331 else
33333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33334 $as_echo_n "checking for _fabsl declaration... " >&6; }
33335 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33336 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33337 $as_echo_n "(cached) " >&6
33338 else
33341 ac_ext=cpp
33342 ac_cpp='$CXXCPP $CPPFLAGS'
33343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33348 /* end confdefs.h. */
33349 #include <math.h>
33350 #ifdef HAVE_IEEEFP_H
33351 #include <ieeefp.h>
33352 #endif
33355 main ()
33357 _fabsl(0);
33359 return 0;
33361 _ACEOF
33362 if ac_fn_cxx_try_compile "$LINENO"; then :
33363 glibcxx_cv_func__fabsl_use=yes
33364 else
33365 glibcxx_cv_func__fabsl_use=no
33367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33368 ac_ext=c
33369 ac_cpp='$CPP $CPPFLAGS'
33370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33379 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33381 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33382 for ac_func in _fabsl
33383 do :
33384 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33385 if test "x$ac_cv_func__fabsl" = x""yes; then :
33386 cat >>confdefs.h <<_ACEOF
33387 #define HAVE__FABSL 1
33388 _ACEOF
33391 done
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33401 $as_echo_n "checking for fmodl declaration... " >&6; }
33402 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33403 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33404 $as_echo_n "(cached) " >&6
33405 else
33408 ac_ext=cpp
33409 ac_cpp='$CXXCPP $CPPFLAGS'
33410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33415 /* end confdefs.h. */
33416 #include <math.h>
33418 main ()
33420 fmodl(0, 0);
33422 return 0;
33424 _ACEOF
33425 if ac_fn_cxx_try_compile "$LINENO"; then :
33426 glibcxx_cv_func_fmodl_use=yes
33427 else
33428 glibcxx_cv_func_fmodl_use=no
33430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33431 ac_ext=c
33432 ac_cpp='$CPP $CPPFLAGS'
33433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33442 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33444 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33445 for ac_func in fmodl
33446 do :
33447 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33448 if test "x$ac_cv_func_fmodl" = x""yes; then :
33449 cat >>confdefs.h <<_ACEOF
33450 #define HAVE_FMODL 1
33451 _ACEOF
33454 done
33456 else
33458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33459 $as_echo_n "checking for _fmodl declaration... " >&6; }
33460 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33461 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33462 $as_echo_n "(cached) " >&6
33463 else
33466 ac_ext=cpp
33467 ac_cpp='$CXXCPP $CPPFLAGS'
33468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33473 /* end confdefs.h. */
33474 #include <math.h>
33476 main ()
33478 _fmodl(0, 0);
33480 return 0;
33482 _ACEOF
33483 if ac_fn_cxx_try_compile "$LINENO"; then :
33484 glibcxx_cv_func__fmodl_use=yes
33485 else
33486 glibcxx_cv_func__fmodl_use=no
33488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33489 ac_ext=c
33490 ac_cpp='$CPP $CPPFLAGS'
33491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33500 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33502 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33503 for ac_func in _fmodl
33504 do :
33505 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33506 if test "x$ac_cv_func__fmodl" = x""yes; then :
33507 cat >>confdefs.h <<_ACEOF
33508 #define HAVE__FMODL 1
33509 _ACEOF
33512 done
33521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33522 $as_echo_n "checking for frexpl declaration... " >&6; }
33523 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33524 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33525 $as_echo_n "(cached) " >&6
33526 else
33529 ac_ext=cpp
33530 ac_cpp='$CXXCPP $CPPFLAGS'
33531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33536 /* end confdefs.h. */
33537 #include <math.h>
33539 main ()
33541 frexpl(0, 0);
33543 return 0;
33545 _ACEOF
33546 if ac_fn_cxx_try_compile "$LINENO"; then :
33547 glibcxx_cv_func_frexpl_use=yes
33548 else
33549 glibcxx_cv_func_frexpl_use=no
33551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33552 ac_ext=c
33553 ac_cpp='$CPP $CPPFLAGS'
33554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33563 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33565 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33566 for ac_func in frexpl
33567 do :
33568 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33569 if test "x$ac_cv_func_frexpl" = x""yes; then :
33570 cat >>confdefs.h <<_ACEOF
33571 #define HAVE_FREXPL 1
33572 _ACEOF
33575 done
33577 else
33579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33580 $as_echo_n "checking for _frexpl declaration... " >&6; }
33581 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33582 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33583 $as_echo_n "(cached) " >&6
33584 else
33587 ac_ext=cpp
33588 ac_cpp='$CXXCPP $CPPFLAGS'
33589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33594 /* end confdefs.h. */
33595 #include <math.h>
33597 main ()
33599 _frexpl(0, 0);
33601 return 0;
33603 _ACEOF
33604 if ac_fn_cxx_try_compile "$LINENO"; then :
33605 glibcxx_cv_func__frexpl_use=yes
33606 else
33607 glibcxx_cv_func__frexpl_use=no
33609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33610 ac_ext=c
33611 ac_cpp='$CPP $CPPFLAGS'
33612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33621 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33623 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33624 for ac_func in _frexpl
33625 do :
33626 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33627 if test "x$ac_cv_func__frexpl" = x""yes; then :
33628 cat >>confdefs.h <<_ACEOF
33629 #define HAVE__FREXPL 1
33630 _ACEOF
33633 done
33642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33643 $as_echo_n "checking for hypotl declaration... " >&6; }
33644 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33645 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33646 $as_echo_n "(cached) " >&6
33647 else
33650 ac_ext=cpp
33651 ac_cpp='$CXXCPP $CPPFLAGS'
33652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33657 /* end confdefs.h. */
33658 #include <math.h>
33660 main ()
33662 hypotl(0, 0);
33664 return 0;
33666 _ACEOF
33667 if ac_fn_cxx_try_compile "$LINENO"; then :
33668 glibcxx_cv_func_hypotl_use=yes
33669 else
33670 glibcxx_cv_func_hypotl_use=no
33672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33673 ac_ext=c
33674 ac_cpp='$CPP $CPPFLAGS'
33675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33684 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33686 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33687 for ac_func in hypotl
33688 do :
33689 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33690 if test "x$ac_cv_func_hypotl" = x""yes; then :
33691 cat >>confdefs.h <<_ACEOF
33692 #define HAVE_HYPOTL 1
33693 _ACEOF
33696 done
33698 else
33700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33701 $as_echo_n "checking for _hypotl declaration... " >&6; }
33702 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33703 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33704 $as_echo_n "(cached) " >&6
33705 else
33708 ac_ext=cpp
33709 ac_cpp='$CXXCPP $CPPFLAGS'
33710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33715 /* end confdefs.h. */
33716 #include <math.h>
33718 main ()
33720 _hypotl(0, 0);
33722 return 0;
33724 _ACEOF
33725 if ac_fn_cxx_try_compile "$LINENO"; then :
33726 glibcxx_cv_func__hypotl_use=yes
33727 else
33728 glibcxx_cv_func__hypotl_use=no
33730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33731 ac_ext=c
33732 ac_cpp='$CPP $CPPFLAGS'
33733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33742 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33744 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33745 for ac_func in _hypotl
33746 do :
33747 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33748 if test "x$ac_cv_func__hypotl" = x""yes; then :
33749 cat >>confdefs.h <<_ACEOF
33750 #define HAVE__HYPOTL 1
33751 _ACEOF
33754 done
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33764 $as_echo_n "checking for ldexpl declaration... " >&6; }
33765 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33766 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33767 $as_echo_n "(cached) " >&6
33768 else
33771 ac_ext=cpp
33772 ac_cpp='$CXXCPP $CPPFLAGS'
33773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33778 /* end confdefs.h. */
33779 #include <math.h>
33781 main ()
33783 ldexpl(0, 0);
33785 return 0;
33787 _ACEOF
33788 if ac_fn_cxx_try_compile "$LINENO"; then :
33789 glibcxx_cv_func_ldexpl_use=yes
33790 else
33791 glibcxx_cv_func_ldexpl_use=no
33793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33794 ac_ext=c
33795 ac_cpp='$CPP $CPPFLAGS'
33796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33805 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33807 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33808 for ac_func in ldexpl
33809 do :
33810 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33811 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33812 cat >>confdefs.h <<_ACEOF
33813 #define HAVE_LDEXPL 1
33814 _ACEOF
33817 done
33819 else
33821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33822 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33823 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33824 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33825 $as_echo_n "(cached) " >&6
33826 else
33829 ac_ext=cpp
33830 ac_cpp='$CXXCPP $CPPFLAGS'
33831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33836 /* end confdefs.h. */
33837 #include <math.h>
33839 main ()
33841 _ldexpl(0, 0);
33843 return 0;
33845 _ACEOF
33846 if ac_fn_cxx_try_compile "$LINENO"; then :
33847 glibcxx_cv_func__ldexpl_use=yes
33848 else
33849 glibcxx_cv_func__ldexpl_use=no
33851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33852 ac_ext=c
33853 ac_cpp='$CPP $CPPFLAGS'
33854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33863 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33865 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33866 for ac_func in _ldexpl
33867 do :
33868 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33869 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33870 cat >>confdefs.h <<_ACEOF
33871 #define HAVE__LDEXPL 1
33872 _ACEOF
33875 done
33884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33885 $as_echo_n "checking for logl declaration... " >&6; }
33886 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33887 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33888 $as_echo_n "(cached) " >&6
33889 else
33892 ac_ext=cpp
33893 ac_cpp='$CXXCPP $CPPFLAGS'
33894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33899 /* end confdefs.h. */
33900 #include <math.h>
33901 #ifdef HAVE_IEEEFP_H
33902 #include <ieeefp.h>
33903 #endif
33906 main ()
33908 logl(0);
33910 return 0;
33912 _ACEOF
33913 if ac_fn_cxx_try_compile "$LINENO"; then :
33914 glibcxx_cv_func_logl_use=yes
33915 else
33916 glibcxx_cv_func_logl_use=no
33918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33919 ac_ext=c
33920 ac_cpp='$CPP $CPPFLAGS'
33921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33930 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33932 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33933 for ac_func in logl
33934 do :
33935 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33936 if test "x$ac_cv_func_logl" = x""yes; then :
33937 cat >>confdefs.h <<_ACEOF
33938 #define HAVE_LOGL 1
33939 _ACEOF
33942 done
33944 else
33946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33947 $as_echo_n "checking for _logl declaration... " >&6; }
33948 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33949 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33950 $as_echo_n "(cached) " >&6
33951 else
33954 ac_ext=cpp
33955 ac_cpp='$CXXCPP $CPPFLAGS'
33956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33961 /* end confdefs.h. */
33962 #include <math.h>
33963 #ifdef HAVE_IEEEFP_H
33964 #include <ieeefp.h>
33965 #endif
33968 main ()
33970 _logl(0);
33972 return 0;
33974 _ACEOF
33975 if ac_fn_cxx_try_compile "$LINENO"; then :
33976 glibcxx_cv_func__logl_use=yes
33977 else
33978 glibcxx_cv_func__logl_use=no
33980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33981 ac_ext=c
33982 ac_cpp='$CPP $CPPFLAGS'
33983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33992 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33994 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33995 for ac_func in _logl
33996 do :
33997 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33998 if test "x$ac_cv_func__logl" = x""yes; then :
33999 cat >>confdefs.h <<_ACEOF
34000 #define HAVE__LOGL 1
34001 _ACEOF
34004 done
34013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34014 $as_echo_n "checking for log10l declaration... " >&6; }
34015 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34016 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
34017 $as_echo_n "(cached) " >&6
34018 else
34021 ac_ext=cpp
34022 ac_cpp='$CXXCPP $CPPFLAGS'
34023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34028 /* end confdefs.h. */
34029 #include <math.h>
34030 #ifdef HAVE_IEEEFP_H
34031 #include <ieeefp.h>
34032 #endif
34035 main ()
34037 log10l(0);
34039 return 0;
34041 _ACEOF
34042 if ac_fn_cxx_try_compile "$LINENO"; then :
34043 glibcxx_cv_func_log10l_use=yes
34044 else
34045 glibcxx_cv_func_log10l_use=no
34047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34048 ac_ext=c
34049 ac_cpp='$CPP $CPPFLAGS'
34050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34059 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34061 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34062 for ac_func in log10l
34063 do :
34064 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34065 if test "x$ac_cv_func_log10l" = x""yes; then :
34066 cat >>confdefs.h <<_ACEOF
34067 #define HAVE_LOG10L 1
34068 _ACEOF
34071 done
34073 else
34075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34076 $as_echo_n "checking for _log10l declaration... " >&6; }
34077 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34078 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34079 $as_echo_n "(cached) " >&6
34080 else
34083 ac_ext=cpp
34084 ac_cpp='$CXXCPP $CPPFLAGS'
34085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34090 /* end confdefs.h. */
34091 #include <math.h>
34092 #ifdef HAVE_IEEEFP_H
34093 #include <ieeefp.h>
34094 #endif
34097 main ()
34099 _log10l(0);
34101 return 0;
34103 _ACEOF
34104 if ac_fn_cxx_try_compile "$LINENO"; then :
34105 glibcxx_cv_func__log10l_use=yes
34106 else
34107 glibcxx_cv_func__log10l_use=no
34109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34110 ac_ext=c
34111 ac_cpp='$CPP $CPPFLAGS'
34112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34121 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34123 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34124 for ac_func in _log10l
34125 do :
34126 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34127 if test "x$ac_cv_func__log10l" = x""yes; then :
34128 cat >>confdefs.h <<_ACEOF
34129 #define HAVE__LOG10L 1
34130 _ACEOF
34133 done
34142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34143 $as_echo_n "checking for modfl declaration... " >&6; }
34144 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34145 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34146 $as_echo_n "(cached) " >&6
34147 else
34150 ac_ext=cpp
34151 ac_cpp='$CXXCPP $CPPFLAGS'
34152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34157 /* end confdefs.h. */
34158 #include <math.h>
34160 main ()
34162 modfl(0, 0);
34164 return 0;
34166 _ACEOF
34167 if ac_fn_cxx_try_compile "$LINENO"; then :
34168 glibcxx_cv_func_modfl_use=yes
34169 else
34170 glibcxx_cv_func_modfl_use=no
34172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34173 ac_ext=c
34174 ac_cpp='$CPP $CPPFLAGS'
34175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34184 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34186 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34187 for ac_func in modfl
34188 do :
34189 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34190 if test "x$ac_cv_func_modfl" = x""yes; then :
34191 cat >>confdefs.h <<_ACEOF
34192 #define HAVE_MODFL 1
34193 _ACEOF
34196 done
34198 else
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34201 $as_echo_n "checking for _modfl declaration... " >&6; }
34202 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34203 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34204 $as_echo_n "(cached) " >&6
34205 else
34208 ac_ext=cpp
34209 ac_cpp='$CXXCPP $CPPFLAGS'
34210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34215 /* end confdefs.h. */
34216 #include <math.h>
34218 main ()
34220 _modfl(0, 0);
34222 return 0;
34224 _ACEOF
34225 if ac_fn_cxx_try_compile "$LINENO"; then :
34226 glibcxx_cv_func__modfl_use=yes
34227 else
34228 glibcxx_cv_func__modfl_use=no
34230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34231 ac_ext=c
34232 ac_cpp='$CPP $CPPFLAGS'
34233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34242 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34244 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34245 for ac_func in _modfl
34246 do :
34247 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34248 if test "x$ac_cv_func__modfl" = x""yes; then :
34249 cat >>confdefs.h <<_ACEOF
34250 #define HAVE__MODFL 1
34251 _ACEOF
34254 done
34263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34264 $as_echo_n "checking for powl declaration... " >&6; }
34265 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34266 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34267 $as_echo_n "(cached) " >&6
34268 else
34271 ac_ext=cpp
34272 ac_cpp='$CXXCPP $CPPFLAGS'
34273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34278 /* end confdefs.h. */
34279 #include <math.h>
34281 main ()
34283 powl(0, 0);
34285 return 0;
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289 glibcxx_cv_func_powl_use=yes
34290 else
34291 glibcxx_cv_func_powl_use=no
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294 ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34305 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34307 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34308 for ac_func in powl
34309 do :
34310 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34311 if test "x$ac_cv_func_powl" = x""yes; then :
34312 cat >>confdefs.h <<_ACEOF
34313 #define HAVE_POWL 1
34314 _ACEOF
34317 done
34319 else
34321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34322 $as_echo_n "checking for _powl declaration... " >&6; }
34323 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34324 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34325 $as_echo_n "(cached) " >&6
34326 else
34329 ac_ext=cpp
34330 ac_cpp='$CXXCPP $CPPFLAGS'
34331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34336 /* end confdefs.h. */
34337 #include <math.h>
34339 main ()
34341 _powl(0, 0);
34343 return 0;
34345 _ACEOF
34346 if ac_fn_cxx_try_compile "$LINENO"; then :
34347 glibcxx_cv_func__powl_use=yes
34348 else
34349 glibcxx_cv_func__powl_use=no
34351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34352 ac_ext=c
34353 ac_cpp='$CPP $CPPFLAGS'
34354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34363 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34365 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34366 for ac_func in _powl
34367 do :
34368 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34369 if test "x$ac_cv_func__powl" = x""yes; then :
34370 cat >>confdefs.h <<_ACEOF
34371 #define HAVE__POWL 1
34372 _ACEOF
34375 done
34384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34385 $as_echo_n "checking for sqrtl declaration... " >&6; }
34386 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34387 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34388 $as_echo_n "(cached) " >&6
34389 else
34392 ac_ext=cpp
34393 ac_cpp='$CXXCPP $CPPFLAGS'
34394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34399 /* end confdefs.h. */
34400 #include <math.h>
34401 #ifdef HAVE_IEEEFP_H
34402 #include <ieeefp.h>
34403 #endif
34406 main ()
34408 sqrtl(0);
34410 return 0;
34412 _ACEOF
34413 if ac_fn_cxx_try_compile "$LINENO"; then :
34414 glibcxx_cv_func_sqrtl_use=yes
34415 else
34416 glibcxx_cv_func_sqrtl_use=no
34418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34419 ac_ext=c
34420 ac_cpp='$CPP $CPPFLAGS'
34421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34430 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34432 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34433 for ac_func in sqrtl
34434 do :
34435 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34436 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34437 cat >>confdefs.h <<_ACEOF
34438 #define HAVE_SQRTL 1
34439 _ACEOF
34442 done
34444 else
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34447 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34448 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34449 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34450 $as_echo_n "(cached) " >&6
34451 else
34454 ac_ext=cpp
34455 ac_cpp='$CXXCPP $CPPFLAGS'
34456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34461 /* end confdefs.h. */
34462 #include <math.h>
34463 #ifdef HAVE_IEEEFP_H
34464 #include <ieeefp.h>
34465 #endif
34468 main ()
34470 _sqrtl(0);
34472 return 0;
34474 _ACEOF
34475 if ac_fn_cxx_try_compile "$LINENO"; then :
34476 glibcxx_cv_func__sqrtl_use=yes
34477 else
34478 glibcxx_cv_func__sqrtl_use=no
34480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34481 ac_ext=c
34482 ac_cpp='$CPP $CPPFLAGS'
34483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34492 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34494 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34495 for ac_func in _sqrtl
34496 do :
34497 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34498 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34499 cat >>confdefs.h <<_ACEOF
34500 #define HAVE__SQRTL 1
34501 _ACEOF
34504 done
34513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34514 $as_echo_n "checking for sincosl declaration... " >&6; }
34515 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34516 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34517 $as_echo_n "(cached) " >&6
34518 else
34521 ac_ext=cpp
34522 ac_cpp='$CXXCPP $CPPFLAGS'
34523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34528 /* end confdefs.h. */
34529 #include <math.h>
34531 main ()
34533 sincosl(0, 0, 0);
34535 return 0;
34537 _ACEOF
34538 if ac_fn_cxx_try_compile "$LINENO"; then :
34539 glibcxx_cv_func_sincosl_use=yes
34540 else
34541 glibcxx_cv_func_sincosl_use=no
34543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34544 ac_ext=c
34545 ac_cpp='$CPP $CPPFLAGS'
34546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34555 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34557 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34558 for ac_func in sincosl
34559 do :
34560 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34561 if test "x$ac_cv_func_sincosl" = x""yes; then :
34562 cat >>confdefs.h <<_ACEOF
34563 #define HAVE_SINCOSL 1
34564 _ACEOF
34567 done
34569 else
34571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34572 $as_echo_n "checking for _sincosl declaration... " >&6; }
34573 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34574 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34575 $as_echo_n "(cached) " >&6
34576 else
34579 ac_ext=cpp
34580 ac_cpp='$CXXCPP $CPPFLAGS'
34581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34586 /* end confdefs.h. */
34587 #include <math.h>
34589 main ()
34591 _sincosl(0, 0, 0);
34593 return 0;
34595 _ACEOF
34596 if ac_fn_cxx_try_compile "$LINENO"; then :
34597 glibcxx_cv_func__sincosl_use=yes
34598 else
34599 glibcxx_cv_func__sincosl_use=no
34601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34602 ac_ext=c
34603 ac_cpp='$CPP $CPPFLAGS'
34604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34613 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34615 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34616 for ac_func in _sincosl
34617 do :
34618 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34619 if test "x$ac_cv_func__sincosl" = x""yes; then :
34620 cat >>confdefs.h <<_ACEOF
34621 #define HAVE__SINCOSL 1
34622 _ACEOF
34625 done
34634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34635 $as_echo_n "checking for finitel declaration... " >&6; }
34636 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34637 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34638 $as_echo_n "(cached) " >&6
34639 else
34642 ac_ext=cpp
34643 ac_cpp='$CXXCPP $CPPFLAGS'
34644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34649 /* end confdefs.h. */
34650 #include <math.h>
34651 #ifdef HAVE_IEEEFP_H
34652 #include <ieeefp.h>
34653 #endif
34656 main ()
34658 finitel(0);
34660 return 0;
34662 _ACEOF
34663 if ac_fn_cxx_try_compile "$LINENO"; then :
34664 glibcxx_cv_func_finitel_use=yes
34665 else
34666 glibcxx_cv_func_finitel_use=no
34668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34669 ac_ext=c
34670 ac_cpp='$CPP $CPPFLAGS'
34671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34680 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34682 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34683 for ac_func in finitel
34684 do :
34685 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34686 if test "x$ac_cv_func_finitel" = x""yes; then :
34687 cat >>confdefs.h <<_ACEOF
34688 #define HAVE_FINITEL 1
34689 _ACEOF
34692 done
34694 else
34696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34697 $as_echo_n "checking for _finitel declaration... " >&6; }
34698 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34699 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34700 $as_echo_n "(cached) " >&6
34701 else
34704 ac_ext=cpp
34705 ac_cpp='$CXXCPP $CPPFLAGS'
34706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34711 /* end confdefs.h. */
34712 #include <math.h>
34713 #ifdef HAVE_IEEEFP_H
34714 #include <ieeefp.h>
34715 #endif
34718 main ()
34720 _finitel(0);
34722 return 0;
34724 _ACEOF
34725 if ac_fn_cxx_try_compile "$LINENO"; then :
34726 glibcxx_cv_func__finitel_use=yes
34727 else
34728 glibcxx_cv_func__finitel_use=no
34730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34731 ac_ext=c
34732 ac_cpp='$CPP $CPPFLAGS'
34733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34742 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34744 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34745 for ac_func in _finitel
34746 do :
34747 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34748 if test "x$ac_cv_func__finitel" = x""yes; then :
34749 cat >>confdefs.h <<_ACEOF
34750 #define HAVE__FINITEL 1
34751 _ACEOF
34754 done
34762 LIBS="$ac_save_LIBS"
34763 CXXFLAGS="$ac_save_CXXFLAGS"
34766 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34767 ac_save_CXXFLAGS="$CXXFLAGS"
34768 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34772 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34773 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34774 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34775 $as_echo_n "(cached) " >&6
34776 else
34779 ac_ext=cpp
34780 ac_cpp='$CXXCPP $CPPFLAGS'
34781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34786 /* end confdefs.h. */
34787 #include <stdlib.h>
34789 main ()
34791 at_quick_exit(0);
34793 return 0;
34795 _ACEOF
34796 if ac_fn_cxx_try_compile "$LINENO"; then :
34797 glibcxx_cv_func_at_quick_exit_use=yes
34798 else
34799 glibcxx_cv_func_at_quick_exit_use=no
34801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34802 ac_ext=c
34803 ac_cpp='$CPP $CPPFLAGS'
34804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34813 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34814 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34815 for ac_func in at_quick_exit
34816 do :
34817 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34818 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34819 cat >>confdefs.h <<_ACEOF
34820 #define HAVE_AT_QUICK_EXIT 1
34821 _ACEOF
34824 done
34829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34830 $as_echo_n "checking for quick_exit declaration... " >&6; }
34831 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34832 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34833 $as_echo_n "(cached) " >&6
34834 else
34837 ac_ext=cpp
34838 ac_cpp='$CXXCPP $CPPFLAGS'
34839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34844 /* end confdefs.h. */
34845 #include <stdlib.h>
34847 main ()
34849 quick_exit(0);
34851 return 0;
34853 _ACEOF
34854 if ac_fn_cxx_try_compile "$LINENO"; then :
34855 glibcxx_cv_func_quick_exit_use=yes
34856 else
34857 glibcxx_cv_func_quick_exit_use=no
34859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34860 ac_ext=c
34861 ac_cpp='$CPP $CPPFLAGS'
34862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34871 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34872 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34873 for ac_func in quick_exit
34874 do :
34875 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34876 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34877 cat >>confdefs.h <<_ACEOF
34878 #define HAVE_QUICK_EXIT 1
34879 _ACEOF
34882 done
34887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34888 $as_echo_n "checking for strtold declaration... " >&6; }
34889 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34890 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34891 $as_echo_n "(cached) " >&6
34892 else
34895 ac_ext=cpp
34896 ac_cpp='$CXXCPP $CPPFLAGS'
34897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34902 /* end confdefs.h. */
34903 #include <stdlib.h>
34905 main ()
34907 strtold(0, 0);
34909 return 0;
34911 _ACEOF
34912 if ac_fn_cxx_try_compile "$LINENO"; then :
34913 glibcxx_cv_func_strtold_use=yes
34914 else
34915 glibcxx_cv_func_strtold_use=no
34917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34918 ac_ext=c
34919 ac_cpp='$CPP $CPPFLAGS'
34920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34929 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34930 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34931 for ac_func in strtold
34932 do :
34933 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34934 if test "x$ac_cv_func_strtold" = x""yes; then :
34935 cat >>confdefs.h <<_ACEOF
34936 #define HAVE_STRTOLD 1
34937 _ACEOF
34940 done
34947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34948 $as_echo_n "checking for strtof declaration... " >&6; }
34949 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34950 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34951 $as_echo_n "(cached) " >&6
34952 else
34955 ac_ext=cpp
34956 ac_cpp='$CXXCPP $CPPFLAGS'
34957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34962 /* end confdefs.h. */
34963 #include <stdlib.h>
34965 main ()
34967 strtof(0, 0);
34969 return 0;
34971 _ACEOF
34972 if ac_fn_cxx_try_compile "$LINENO"; then :
34973 glibcxx_cv_func_strtof_use=yes
34974 else
34975 glibcxx_cv_func_strtof_use=no
34977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34978 ac_ext=c
34979 ac_cpp='$CPP $CPPFLAGS'
34980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34989 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34990 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34991 for ac_func in strtof
34992 do :
34993 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34994 if test "x$ac_cv_func_strtof" = x""yes; then :
34995 cat >>confdefs.h <<_ACEOF
34996 #define HAVE_STRTOF 1
34997 _ACEOF
35000 done
35007 CXXFLAGS="$ac_save_CXXFLAGS"
35010 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35012 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35014 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35016 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35019 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35021 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35023 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35027 spu-*-elf*)
35029 # All these tests are for C++; save the language and the compiler flags.
35030 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35031 # found in GLIBCXX_CONFIGURE.
35033 ac_ext=cpp
35034 ac_cpp='$CXXCPP $CPPFLAGS'
35035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35039 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35040 ac_save_CXXFLAGS="$CXXFLAGS"
35042 # Check for maintainer-mode bits.
35043 if test x"$USE_MAINTAINER_MODE" = xno; then
35044 WERROR=''
35045 else
35046 WERROR='-Werror'
35049 # Check for -ffunction-sections -fdata-sections
35050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35051 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35052 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35054 /* end confdefs.h. */
35055 int foo; void bar() { };
35057 main ()
35061 return 0;
35063 _ACEOF
35064 if ac_fn_cxx_try_compile "$LINENO"; then :
35065 ac_fdsections=yes
35066 else
35067 ac_fdsections=no
35069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35070 if test "$ac_test_CXXFLAGS" = set; then
35071 CXXFLAGS="$ac_save_CXXFLAGS"
35072 else
35073 # this is the suspicious part
35074 CXXFLAGS=''
35076 if test x"$ac_fdsections" = x"yes"; then
35077 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35080 $as_echo "$ac_fdsections" >&6; }
35082 ac_ext=c
35083 ac_cpp='$CPP $CPPFLAGS'
35084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35092 # If we're not using GNU ld, then there's no point in even trying these
35093 # tests. Check for that first. We should have already tested for gld
35094 # by now (in libtool), but require it now just to be safe...
35095 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35096 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35100 # The name set by libtool depends on the version of libtool. Shame on us
35101 # for depending on an impl detail, but c'est la vie. Older versions used
35102 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35103 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35104 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35105 # set (hence we're using an older libtool), then set it.
35106 if test x${with_gnu_ld+set} != xset; then
35107 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35108 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35109 with_gnu_ld=no
35110 else
35111 with_gnu_ld=$ac_cv_prog_gnu_ld
35115 # Start by getting the version number. I think the libtool test already
35116 # does some of this, but throws away the result.
35117 glibcxx_ld_is_gold=no
35118 if test x"$with_gnu_ld" = x"yes"; then
35119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35120 $as_echo_n "checking for ld version... " >&6; }
35122 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35123 glibcxx_ld_is_gold=yes
35125 ldver=`$LD --version 2>/dev/null |
35126 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'`
35128 glibcxx_gnu_ld_version=`echo $ldver | \
35129 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35131 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35134 # Set --gc-sections.
35135 glibcxx_have_gc_sections=no
35136 if test "$glibcxx_ld_is_gold" = "yes"; then
35137 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35138 glibcxx_have_gc_sections=yes
35140 else
35141 glibcxx_gcsections_min_ld=21602
35142 if test x"$with_gnu_ld" = x"yes" &&
35143 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35144 glibcxx_have_gc_sections=yes
35147 if test "$glibcxx_have_gc_sections" = "yes"; then
35148 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35149 # NB: This flag only works reliably after 2.16.1. Configure tests
35150 # for this are difficult, so hard wire a value that should work.
35152 ac_test_CFLAGS="${CFLAGS+set}"
35153 ac_save_CFLAGS="$CFLAGS"
35154 CFLAGS='-Wl,--gc-sections'
35156 # Check for -Wl,--gc-sections
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35158 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35159 if test x$gcc_no_link = xyes; then
35160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35163 /* end confdefs.h. */
35164 int one(void) { return 1; }
35165 int two(void) { return 2; }
35168 main ()
35170 two();
35172 return 0;
35174 _ACEOF
35175 if ac_fn_c_try_link "$LINENO"; then :
35176 ac_gcsections=yes
35177 else
35178 ac_gcsections=no
35180 rm -f core conftest.err conftest.$ac_objext \
35181 conftest$ac_exeext conftest.$ac_ext
35182 if test "$ac_gcsections" = "yes"; then
35183 rm -f conftest.c
35184 touch conftest.c
35185 if $CC -c conftest.c; then
35186 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35187 grep "Warning: gc-sections option ignored" > /dev/null; then
35188 ac_gcsections=no
35191 rm -f conftest.c conftest.o conftest
35193 if test "$ac_gcsections" = "yes"; then
35194 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35197 $as_echo "$ac_gcsections" >&6; }
35199 if test "$ac_test_CFLAGS" = set; then
35200 CFLAGS="$ac_save_CFLAGS"
35201 else
35202 # this is the suspicious part
35203 CFLAGS=''
35207 # Set -z,relro.
35208 # Note this is only for shared objects.
35209 ac_ld_relro=no
35210 if test x"$with_gnu_ld" = x"yes"; then
35211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35212 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35213 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35214 if test -n "$cxx_z_relo"; then
35215 OPT_LDFLAGS="-Wl,-z,relro"
35216 ac_ld_relro=yes
35218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35219 $as_echo "$ac_ld_relro" >&6; }
35222 # Set linker optimization flags.
35223 if test x"$with_gnu_ld" = x"yes"; then
35224 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35231 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35232 ac_save_CXXFLAGS="$CXXFLAGS"
35233 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35236 $as_echo_n "checking for sin in -lm... " >&6; }
35237 if test "${ac_cv_lib_m_sin+set}" = set; then :
35238 $as_echo_n "(cached) " >&6
35239 else
35240 ac_check_lib_save_LIBS=$LIBS
35241 LIBS="-lm $LIBS"
35242 if test x$gcc_no_link = xyes; then
35243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35246 /* end confdefs.h. */
35248 /* Override any GCC internal prototype to avoid an error.
35249 Use char because int might match the return type of a GCC
35250 builtin and then its argument prototype would still apply. */
35251 #ifdef __cplusplus
35252 extern "C"
35253 #endif
35254 char sin ();
35256 main ()
35258 return sin ();
35260 return 0;
35262 _ACEOF
35263 if ac_fn_c_try_link "$LINENO"; then :
35264 ac_cv_lib_m_sin=yes
35265 else
35266 ac_cv_lib_m_sin=no
35268 rm -f core conftest.err conftest.$ac_objext \
35269 conftest$ac_exeext conftest.$ac_ext
35270 LIBS=$ac_check_lib_save_LIBS
35272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35273 $as_echo "$ac_cv_lib_m_sin" >&6; }
35274 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35275 libm="-lm"
35278 ac_save_LIBS="$LIBS"
35279 LIBS="$LIBS $libm"
35283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35284 $as_echo_n "checking for isinf declaration... " >&6; }
35285 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35286 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35287 $as_echo_n "(cached) " >&6
35288 else
35291 ac_ext=cpp
35292 ac_cpp='$CXXCPP $CPPFLAGS'
35293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35298 /* end confdefs.h. */
35299 #include <math.h>
35300 #ifdef HAVE_IEEEFP_H
35301 #include <ieeefp.h>
35302 #endif
35305 main ()
35307 isinf(0);
35309 return 0;
35311 _ACEOF
35312 if ac_fn_cxx_try_compile "$LINENO"; then :
35313 glibcxx_cv_func_isinf_use=yes
35314 else
35315 glibcxx_cv_func_isinf_use=no
35317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35318 ac_ext=c
35319 ac_cpp='$CPP $CPPFLAGS'
35320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35329 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35331 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35332 for ac_func in isinf
35333 do :
35334 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35335 if test "x$ac_cv_func_isinf" = x""yes; then :
35336 cat >>confdefs.h <<_ACEOF
35337 #define HAVE_ISINF 1
35338 _ACEOF
35341 done
35343 else
35345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35346 $as_echo_n "checking for _isinf declaration... " >&6; }
35347 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35348 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35349 $as_echo_n "(cached) " >&6
35350 else
35353 ac_ext=cpp
35354 ac_cpp='$CXXCPP $CPPFLAGS'
35355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35360 /* end confdefs.h. */
35361 #include <math.h>
35362 #ifdef HAVE_IEEEFP_H
35363 #include <ieeefp.h>
35364 #endif
35367 main ()
35369 _isinf(0);
35371 return 0;
35373 _ACEOF
35374 if ac_fn_cxx_try_compile "$LINENO"; then :
35375 glibcxx_cv_func__isinf_use=yes
35376 else
35377 glibcxx_cv_func__isinf_use=no
35379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35380 ac_ext=c
35381 ac_cpp='$CPP $CPPFLAGS'
35382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35391 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35393 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35394 for ac_func in _isinf
35395 do :
35396 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35397 if test "x$ac_cv_func__isinf" = x""yes; then :
35398 cat >>confdefs.h <<_ACEOF
35399 #define HAVE__ISINF 1
35400 _ACEOF
35403 done
35412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35413 $as_echo_n "checking for isnan declaration... " >&6; }
35414 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35415 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35416 $as_echo_n "(cached) " >&6
35417 else
35420 ac_ext=cpp
35421 ac_cpp='$CXXCPP $CPPFLAGS'
35422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35427 /* end confdefs.h. */
35428 #include <math.h>
35429 #ifdef HAVE_IEEEFP_H
35430 #include <ieeefp.h>
35431 #endif
35434 main ()
35436 isnan(0);
35438 return 0;
35440 _ACEOF
35441 if ac_fn_cxx_try_compile "$LINENO"; then :
35442 glibcxx_cv_func_isnan_use=yes
35443 else
35444 glibcxx_cv_func_isnan_use=no
35446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35447 ac_ext=c
35448 ac_cpp='$CPP $CPPFLAGS'
35449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35458 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35460 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35461 for ac_func in isnan
35462 do :
35463 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35464 if test "x$ac_cv_func_isnan" = x""yes; then :
35465 cat >>confdefs.h <<_ACEOF
35466 #define HAVE_ISNAN 1
35467 _ACEOF
35470 done
35472 else
35474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35475 $as_echo_n "checking for _isnan declaration... " >&6; }
35476 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35477 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35478 $as_echo_n "(cached) " >&6
35479 else
35482 ac_ext=cpp
35483 ac_cpp='$CXXCPP $CPPFLAGS'
35484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35489 /* end confdefs.h. */
35490 #include <math.h>
35491 #ifdef HAVE_IEEEFP_H
35492 #include <ieeefp.h>
35493 #endif
35496 main ()
35498 _isnan(0);
35500 return 0;
35502 _ACEOF
35503 if ac_fn_cxx_try_compile "$LINENO"; then :
35504 glibcxx_cv_func__isnan_use=yes
35505 else
35506 glibcxx_cv_func__isnan_use=no
35508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35509 ac_ext=c
35510 ac_cpp='$CPP $CPPFLAGS'
35511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35520 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35522 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35523 for ac_func in _isnan
35524 do :
35525 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35526 if test "x$ac_cv_func__isnan" = x""yes; then :
35527 cat >>confdefs.h <<_ACEOF
35528 #define HAVE__ISNAN 1
35529 _ACEOF
35532 done
35541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35542 $as_echo_n "checking for finite declaration... " >&6; }
35543 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35544 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35545 $as_echo_n "(cached) " >&6
35546 else
35549 ac_ext=cpp
35550 ac_cpp='$CXXCPP $CPPFLAGS'
35551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35556 /* end confdefs.h. */
35557 #include <math.h>
35558 #ifdef HAVE_IEEEFP_H
35559 #include <ieeefp.h>
35560 #endif
35563 main ()
35565 finite(0);
35567 return 0;
35569 _ACEOF
35570 if ac_fn_cxx_try_compile "$LINENO"; then :
35571 glibcxx_cv_func_finite_use=yes
35572 else
35573 glibcxx_cv_func_finite_use=no
35575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35576 ac_ext=c
35577 ac_cpp='$CPP $CPPFLAGS'
35578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35587 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35589 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35590 for ac_func in finite
35591 do :
35592 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35593 if test "x$ac_cv_func_finite" = x""yes; then :
35594 cat >>confdefs.h <<_ACEOF
35595 #define HAVE_FINITE 1
35596 _ACEOF
35599 done
35601 else
35603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35604 $as_echo_n "checking for _finite declaration... " >&6; }
35605 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35606 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35607 $as_echo_n "(cached) " >&6
35608 else
35611 ac_ext=cpp
35612 ac_cpp='$CXXCPP $CPPFLAGS'
35613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35618 /* end confdefs.h. */
35619 #include <math.h>
35620 #ifdef HAVE_IEEEFP_H
35621 #include <ieeefp.h>
35622 #endif
35625 main ()
35627 _finite(0);
35629 return 0;
35631 _ACEOF
35632 if ac_fn_cxx_try_compile "$LINENO"; then :
35633 glibcxx_cv_func__finite_use=yes
35634 else
35635 glibcxx_cv_func__finite_use=no
35637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35638 ac_ext=c
35639 ac_cpp='$CPP $CPPFLAGS'
35640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35649 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35651 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35652 for ac_func in _finite
35653 do :
35654 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35655 if test "x$ac_cv_func__finite" = x""yes; then :
35656 cat >>confdefs.h <<_ACEOF
35657 #define HAVE__FINITE 1
35658 _ACEOF
35661 done
35670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35671 $as_echo_n "checking for sincos declaration... " >&6; }
35672 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35673 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35674 $as_echo_n "(cached) " >&6
35675 else
35678 ac_ext=cpp
35679 ac_cpp='$CXXCPP $CPPFLAGS'
35680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35685 /* end confdefs.h. */
35686 #include <math.h>
35688 main ()
35690 sincos(0, 0, 0);
35692 return 0;
35694 _ACEOF
35695 if ac_fn_cxx_try_compile "$LINENO"; then :
35696 glibcxx_cv_func_sincos_use=yes
35697 else
35698 glibcxx_cv_func_sincos_use=no
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701 ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35712 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35714 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35715 for ac_func in sincos
35716 do :
35717 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35718 if test "x$ac_cv_func_sincos" = x""yes; then :
35719 cat >>confdefs.h <<_ACEOF
35720 #define HAVE_SINCOS 1
35721 _ACEOF
35724 done
35726 else
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35729 $as_echo_n "checking for _sincos declaration... " >&6; }
35730 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35731 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35732 $as_echo_n "(cached) " >&6
35733 else
35736 ac_ext=cpp
35737 ac_cpp='$CXXCPP $CPPFLAGS'
35738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35743 /* end confdefs.h. */
35744 #include <math.h>
35746 main ()
35748 _sincos(0, 0, 0);
35750 return 0;
35752 _ACEOF
35753 if ac_fn_cxx_try_compile "$LINENO"; then :
35754 glibcxx_cv_func__sincos_use=yes
35755 else
35756 glibcxx_cv_func__sincos_use=no
35758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35759 ac_ext=c
35760 ac_cpp='$CPP $CPPFLAGS'
35761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35770 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35772 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35773 for ac_func in _sincos
35774 do :
35775 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35776 if test "x$ac_cv_func__sincos" = x""yes; then :
35777 cat >>confdefs.h <<_ACEOF
35778 #define HAVE__SINCOS 1
35779 _ACEOF
35782 done
35791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35792 $as_echo_n "checking for fpclass declaration... " >&6; }
35793 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35794 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35795 $as_echo_n "(cached) " >&6
35796 else
35799 ac_ext=cpp
35800 ac_cpp='$CXXCPP $CPPFLAGS'
35801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35806 /* end confdefs.h. */
35807 #include <math.h>
35808 #ifdef HAVE_IEEEFP_H
35809 #include <ieeefp.h>
35810 #endif
35813 main ()
35815 fpclass(0);
35817 return 0;
35819 _ACEOF
35820 if ac_fn_cxx_try_compile "$LINENO"; then :
35821 glibcxx_cv_func_fpclass_use=yes
35822 else
35823 glibcxx_cv_func_fpclass_use=no
35825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35826 ac_ext=c
35827 ac_cpp='$CPP $CPPFLAGS'
35828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35837 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35839 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35840 for ac_func in fpclass
35841 do :
35842 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35843 if test "x$ac_cv_func_fpclass" = x""yes; then :
35844 cat >>confdefs.h <<_ACEOF
35845 #define HAVE_FPCLASS 1
35846 _ACEOF
35849 done
35851 else
35853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35854 $as_echo_n "checking for _fpclass declaration... " >&6; }
35855 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35856 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35857 $as_echo_n "(cached) " >&6
35858 else
35861 ac_ext=cpp
35862 ac_cpp='$CXXCPP $CPPFLAGS'
35863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35868 /* end confdefs.h. */
35869 #include <math.h>
35870 #ifdef HAVE_IEEEFP_H
35871 #include <ieeefp.h>
35872 #endif
35875 main ()
35877 _fpclass(0);
35879 return 0;
35881 _ACEOF
35882 if ac_fn_cxx_try_compile "$LINENO"; then :
35883 glibcxx_cv_func__fpclass_use=yes
35884 else
35885 glibcxx_cv_func__fpclass_use=no
35887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35888 ac_ext=c
35889 ac_cpp='$CPP $CPPFLAGS'
35890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35899 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35901 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35902 for ac_func in _fpclass
35903 do :
35904 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35905 if test "x$ac_cv_func__fpclass" = x""yes; then :
35906 cat >>confdefs.h <<_ACEOF
35907 #define HAVE__FPCLASS 1
35908 _ACEOF
35911 done
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35921 $as_echo_n "checking for qfpclass declaration... " >&6; }
35922 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35923 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35924 $as_echo_n "(cached) " >&6
35925 else
35928 ac_ext=cpp
35929 ac_cpp='$CXXCPP $CPPFLAGS'
35930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35935 /* end confdefs.h. */
35936 #include <math.h>
35937 #ifdef HAVE_IEEEFP_H
35938 #include <ieeefp.h>
35939 #endif
35942 main ()
35944 qfpclass(0);
35946 return 0;
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950 glibcxx_cv_func_qfpclass_use=yes
35951 else
35952 glibcxx_cv_func_qfpclass_use=no
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955 ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35966 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35968 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35969 for ac_func in qfpclass
35970 do :
35971 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35972 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35973 cat >>confdefs.h <<_ACEOF
35974 #define HAVE_QFPCLASS 1
35975 _ACEOF
35978 done
35980 else
35982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35983 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35984 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35985 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35986 $as_echo_n "(cached) " >&6
35987 else
35990 ac_ext=cpp
35991 ac_cpp='$CXXCPP $CPPFLAGS'
35992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35997 /* end confdefs.h. */
35998 #include <math.h>
35999 #ifdef HAVE_IEEEFP_H
36000 #include <ieeefp.h>
36001 #endif
36004 main ()
36006 _qfpclass(0);
36008 return 0;
36010 _ACEOF
36011 if ac_fn_cxx_try_compile "$LINENO"; then :
36012 glibcxx_cv_func__qfpclass_use=yes
36013 else
36014 glibcxx_cv_func__qfpclass_use=no
36016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36017 ac_ext=c
36018 ac_cpp='$CPP $CPPFLAGS'
36019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36028 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36030 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36031 for ac_func in _qfpclass
36032 do :
36033 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36034 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36035 cat >>confdefs.h <<_ACEOF
36036 #define HAVE__QFPCLASS 1
36037 _ACEOF
36040 done
36049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36050 $as_echo_n "checking for hypot declaration... " >&6; }
36051 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36052 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36053 $as_echo_n "(cached) " >&6
36054 else
36057 ac_ext=cpp
36058 ac_cpp='$CXXCPP $CPPFLAGS'
36059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36064 /* end confdefs.h. */
36065 #include <math.h>
36067 main ()
36069 hypot(0, 0);
36071 return 0;
36073 _ACEOF
36074 if ac_fn_cxx_try_compile "$LINENO"; then :
36075 glibcxx_cv_func_hypot_use=yes
36076 else
36077 glibcxx_cv_func_hypot_use=no
36079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36080 ac_ext=c
36081 ac_cpp='$CPP $CPPFLAGS'
36082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36091 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36093 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36094 for ac_func in hypot
36095 do :
36096 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36097 if test "x$ac_cv_func_hypot" = x""yes; then :
36098 cat >>confdefs.h <<_ACEOF
36099 #define HAVE_HYPOT 1
36100 _ACEOF
36103 done
36105 else
36107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36108 $as_echo_n "checking for _hypot declaration... " >&6; }
36109 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36110 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36111 $as_echo_n "(cached) " >&6
36112 else
36115 ac_ext=cpp
36116 ac_cpp='$CXXCPP $CPPFLAGS'
36117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36122 /* end confdefs.h. */
36123 #include <math.h>
36125 main ()
36127 _hypot(0, 0);
36129 return 0;
36131 _ACEOF
36132 if ac_fn_cxx_try_compile "$LINENO"; then :
36133 glibcxx_cv_func__hypot_use=yes
36134 else
36135 glibcxx_cv_func__hypot_use=no
36137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36138 ac_ext=c
36139 ac_cpp='$CPP $CPPFLAGS'
36140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36149 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36151 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36152 for ac_func in _hypot
36153 do :
36154 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36155 if test "x$ac_cv_func__hypot" = x""yes; then :
36156 cat >>confdefs.h <<_ACEOF
36157 #define HAVE__HYPOT 1
36158 _ACEOF
36161 done
36170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36171 $as_echo_n "checking for float trig functions... " >&6; }
36172 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36173 $as_echo_n "(cached) " >&6
36174 else
36177 ac_ext=cpp
36178 ac_cpp='$CXXCPP $CPPFLAGS'
36179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36184 /* end confdefs.h. */
36185 #include <math.h>
36187 main ()
36189 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36191 return 0;
36193 _ACEOF
36194 if ac_fn_cxx_try_compile "$LINENO"; then :
36195 glibcxx_cv_func_float_trig_use=yes
36196 else
36197 glibcxx_cv_func_float_trig_use=no
36199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36200 ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36209 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36210 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36211 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36212 do :
36213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36215 eval as_val=\$$as_ac_var
36216 if test "x$as_val" = x""yes; then :
36217 cat >>confdefs.h <<_ACEOF
36218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36219 _ACEOF
36222 done
36224 else
36225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36226 $as_echo_n "checking for _float trig functions... " >&6; }
36227 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36228 $as_echo_n "(cached) " >&6
36229 else
36232 ac_ext=cpp
36233 ac_cpp='$CXXCPP $CPPFLAGS'
36234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36239 /* end confdefs.h. */
36240 #include <math.h>
36242 main ()
36244 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36246 return 0;
36248 _ACEOF
36249 if ac_fn_cxx_try_compile "$LINENO"; then :
36250 glibcxx_cv_func__float_trig_use=yes
36251 else
36252 glibcxx_cv_func__float_trig_use=no
36254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36255 ac_ext=c
36256 ac_cpp='$CPP $CPPFLAGS'
36257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36264 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36265 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36266 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36267 do :
36268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36270 eval as_val=\$$as_ac_var
36271 if test "x$as_val" = x""yes; then :
36272 cat >>confdefs.h <<_ACEOF
36273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36274 _ACEOF
36277 done
36286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36287 $as_echo_n "checking for float round functions... " >&6; }
36288 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36289 $as_echo_n "(cached) " >&6
36290 else
36293 ac_ext=cpp
36294 ac_cpp='$CXXCPP $CPPFLAGS'
36295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36300 /* end confdefs.h. */
36301 #include <math.h>
36303 main ()
36305 ceilf (0); floorf (0);
36307 return 0;
36309 _ACEOF
36310 if ac_fn_cxx_try_compile "$LINENO"; then :
36311 glibcxx_cv_func_float_round_use=yes
36312 else
36313 glibcxx_cv_func_float_round_use=no
36315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36316 ac_ext=c
36317 ac_cpp='$CPP $CPPFLAGS'
36318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36325 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36326 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36327 for ac_func in ceilf floorf
36328 do :
36329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36331 eval as_val=\$$as_ac_var
36332 if test "x$as_val" = x""yes; then :
36333 cat >>confdefs.h <<_ACEOF
36334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36335 _ACEOF
36338 done
36340 else
36341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36342 $as_echo_n "checking for _float round functions... " >&6; }
36343 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36344 $as_echo_n "(cached) " >&6
36345 else
36348 ac_ext=cpp
36349 ac_cpp='$CXXCPP $CPPFLAGS'
36350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36355 /* end confdefs.h. */
36356 #include <math.h>
36358 main ()
36360 _ceilf (0); _floorf (0);
36362 return 0;
36364 _ACEOF
36365 if ac_fn_cxx_try_compile "$LINENO"; then :
36366 glibcxx_cv_func__float_round_use=yes
36367 else
36368 glibcxx_cv_func__float_round_use=no
36370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36371 ac_ext=c
36372 ac_cpp='$CPP $CPPFLAGS'
36373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36380 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36381 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36382 for ac_func in _ceilf _floorf
36383 do :
36384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36386 eval as_val=\$$as_ac_var
36387 if test "x$as_val" = x""yes; then :
36388 cat >>confdefs.h <<_ACEOF
36389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36390 _ACEOF
36393 done
36403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36404 $as_echo_n "checking for expf declaration... " >&6; }
36405 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36406 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36407 $as_echo_n "(cached) " >&6
36408 else
36411 ac_ext=cpp
36412 ac_cpp='$CXXCPP $CPPFLAGS'
36413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36418 /* end confdefs.h. */
36419 #include <math.h>
36420 #ifdef HAVE_IEEEFP_H
36421 #include <ieeefp.h>
36422 #endif
36425 main ()
36427 expf(0);
36429 return 0;
36431 _ACEOF
36432 if ac_fn_cxx_try_compile "$LINENO"; then :
36433 glibcxx_cv_func_expf_use=yes
36434 else
36435 glibcxx_cv_func_expf_use=no
36437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36438 ac_ext=c
36439 ac_cpp='$CPP $CPPFLAGS'
36440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36449 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36451 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36452 for ac_func in expf
36453 do :
36454 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36455 if test "x$ac_cv_func_expf" = x""yes; then :
36456 cat >>confdefs.h <<_ACEOF
36457 #define HAVE_EXPF 1
36458 _ACEOF
36461 done
36463 else
36465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36466 $as_echo_n "checking for _expf declaration... " >&6; }
36467 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36468 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36469 $as_echo_n "(cached) " >&6
36470 else
36473 ac_ext=cpp
36474 ac_cpp='$CXXCPP $CPPFLAGS'
36475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36480 /* end confdefs.h. */
36481 #include <math.h>
36482 #ifdef HAVE_IEEEFP_H
36483 #include <ieeefp.h>
36484 #endif
36487 main ()
36489 _expf(0);
36491 return 0;
36493 _ACEOF
36494 if ac_fn_cxx_try_compile "$LINENO"; then :
36495 glibcxx_cv_func__expf_use=yes
36496 else
36497 glibcxx_cv_func__expf_use=no
36499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36500 ac_ext=c
36501 ac_cpp='$CPP $CPPFLAGS'
36502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36511 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36513 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36514 for ac_func in _expf
36515 do :
36516 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36517 if test "x$ac_cv_func__expf" = x""yes; then :
36518 cat >>confdefs.h <<_ACEOF
36519 #define HAVE__EXPF 1
36520 _ACEOF
36523 done
36532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36533 $as_echo_n "checking for isnanf declaration... " >&6; }
36534 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36535 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36536 $as_echo_n "(cached) " >&6
36537 else
36540 ac_ext=cpp
36541 ac_cpp='$CXXCPP $CPPFLAGS'
36542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36547 /* end confdefs.h. */
36548 #include <math.h>
36549 #ifdef HAVE_IEEEFP_H
36550 #include <ieeefp.h>
36551 #endif
36554 main ()
36556 isnanf(0);
36558 return 0;
36560 _ACEOF
36561 if ac_fn_cxx_try_compile "$LINENO"; then :
36562 glibcxx_cv_func_isnanf_use=yes
36563 else
36564 glibcxx_cv_func_isnanf_use=no
36566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36567 ac_ext=c
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36578 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36580 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36581 for ac_func in isnanf
36582 do :
36583 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36584 if test "x$ac_cv_func_isnanf" = x""yes; then :
36585 cat >>confdefs.h <<_ACEOF
36586 #define HAVE_ISNANF 1
36587 _ACEOF
36590 done
36592 else
36594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36595 $as_echo_n "checking for _isnanf declaration... " >&6; }
36596 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36597 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36598 $as_echo_n "(cached) " >&6
36599 else
36602 ac_ext=cpp
36603 ac_cpp='$CXXCPP $CPPFLAGS'
36604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36609 /* end confdefs.h. */
36610 #include <math.h>
36611 #ifdef HAVE_IEEEFP_H
36612 #include <ieeefp.h>
36613 #endif
36616 main ()
36618 _isnanf(0);
36620 return 0;
36622 _ACEOF
36623 if ac_fn_cxx_try_compile "$LINENO"; then :
36624 glibcxx_cv_func__isnanf_use=yes
36625 else
36626 glibcxx_cv_func__isnanf_use=no
36628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36629 ac_ext=c
36630 ac_cpp='$CPP $CPPFLAGS'
36631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36640 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36642 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36643 for ac_func in _isnanf
36644 do :
36645 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36646 if test "x$ac_cv_func__isnanf" = x""yes; then :
36647 cat >>confdefs.h <<_ACEOF
36648 #define HAVE__ISNANF 1
36649 _ACEOF
36652 done
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36662 $as_echo_n "checking for isinff declaration... " >&6; }
36663 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36664 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36665 $as_echo_n "(cached) " >&6
36666 else
36669 ac_ext=cpp
36670 ac_cpp='$CXXCPP $CPPFLAGS'
36671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36676 /* end confdefs.h. */
36677 #include <math.h>
36678 #ifdef HAVE_IEEEFP_H
36679 #include <ieeefp.h>
36680 #endif
36683 main ()
36685 isinff(0);
36687 return 0;
36689 _ACEOF
36690 if ac_fn_cxx_try_compile "$LINENO"; then :
36691 glibcxx_cv_func_isinff_use=yes
36692 else
36693 glibcxx_cv_func_isinff_use=no
36695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36696 ac_ext=c
36697 ac_cpp='$CPP $CPPFLAGS'
36698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36707 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36709 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36710 for ac_func in isinff
36711 do :
36712 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36713 if test "x$ac_cv_func_isinff" = x""yes; then :
36714 cat >>confdefs.h <<_ACEOF
36715 #define HAVE_ISINFF 1
36716 _ACEOF
36719 done
36721 else
36723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36724 $as_echo_n "checking for _isinff declaration... " >&6; }
36725 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36726 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36727 $as_echo_n "(cached) " >&6
36728 else
36731 ac_ext=cpp
36732 ac_cpp='$CXXCPP $CPPFLAGS'
36733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36738 /* end confdefs.h. */
36739 #include <math.h>
36740 #ifdef HAVE_IEEEFP_H
36741 #include <ieeefp.h>
36742 #endif
36745 main ()
36747 _isinff(0);
36749 return 0;
36751 _ACEOF
36752 if ac_fn_cxx_try_compile "$LINENO"; then :
36753 glibcxx_cv_func__isinff_use=yes
36754 else
36755 glibcxx_cv_func__isinff_use=no
36757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36758 ac_ext=c
36759 ac_cpp='$CPP $CPPFLAGS'
36760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36769 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36771 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36772 for ac_func in _isinff
36773 do :
36774 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36775 if test "x$ac_cv_func__isinff" = x""yes; then :
36776 cat >>confdefs.h <<_ACEOF
36777 #define HAVE__ISINFF 1
36778 _ACEOF
36781 done
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36791 $as_echo_n "checking for atan2f declaration... " >&6; }
36792 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36793 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36794 $as_echo_n "(cached) " >&6
36795 else
36798 ac_ext=cpp
36799 ac_cpp='$CXXCPP $CPPFLAGS'
36800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36805 /* end confdefs.h. */
36806 #include <math.h>
36808 main ()
36810 atan2f(0, 0);
36812 return 0;
36814 _ACEOF
36815 if ac_fn_cxx_try_compile "$LINENO"; then :
36816 glibcxx_cv_func_atan2f_use=yes
36817 else
36818 glibcxx_cv_func_atan2f_use=no
36820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36821 ac_ext=c
36822 ac_cpp='$CPP $CPPFLAGS'
36823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36832 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36834 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36835 for ac_func in atan2f
36836 do :
36837 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36838 if test "x$ac_cv_func_atan2f" = x""yes; then :
36839 cat >>confdefs.h <<_ACEOF
36840 #define HAVE_ATAN2F 1
36841 _ACEOF
36844 done
36846 else
36848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36849 $as_echo_n "checking for _atan2f declaration... " >&6; }
36850 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36851 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36852 $as_echo_n "(cached) " >&6
36853 else
36856 ac_ext=cpp
36857 ac_cpp='$CXXCPP $CPPFLAGS'
36858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36863 /* end confdefs.h. */
36864 #include <math.h>
36866 main ()
36868 _atan2f(0, 0);
36870 return 0;
36872 _ACEOF
36873 if ac_fn_cxx_try_compile "$LINENO"; then :
36874 glibcxx_cv_func__atan2f_use=yes
36875 else
36876 glibcxx_cv_func__atan2f_use=no
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36879 ac_ext=c
36880 ac_cpp='$CPP $CPPFLAGS'
36881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36890 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36892 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36893 for ac_func in _atan2f
36894 do :
36895 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36896 if test "x$ac_cv_func__atan2f" = x""yes; then :
36897 cat >>confdefs.h <<_ACEOF
36898 #define HAVE__ATAN2F 1
36899 _ACEOF
36902 done
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36912 $as_echo_n "checking for fabsf declaration... " >&6; }
36913 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36914 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36915 $as_echo_n "(cached) " >&6
36916 else
36919 ac_ext=cpp
36920 ac_cpp='$CXXCPP $CPPFLAGS'
36921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36926 /* end confdefs.h. */
36927 #include <math.h>
36928 #ifdef HAVE_IEEEFP_H
36929 #include <ieeefp.h>
36930 #endif
36933 main ()
36935 fabsf(0);
36937 return 0;
36939 _ACEOF
36940 if ac_fn_cxx_try_compile "$LINENO"; then :
36941 glibcxx_cv_func_fabsf_use=yes
36942 else
36943 glibcxx_cv_func_fabsf_use=no
36945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36946 ac_ext=c
36947 ac_cpp='$CPP $CPPFLAGS'
36948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36957 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36959 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36960 for ac_func in fabsf
36961 do :
36962 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36963 if test "x$ac_cv_func_fabsf" = x""yes; then :
36964 cat >>confdefs.h <<_ACEOF
36965 #define HAVE_FABSF 1
36966 _ACEOF
36969 done
36971 else
36973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36974 $as_echo_n "checking for _fabsf declaration... " >&6; }
36975 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36976 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36977 $as_echo_n "(cached) " >&6
36978 else
36981 ac_ext=cpp
36982 ac_cpp='$CXXCPP $CPPFLAGS'
36983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36988 /* end confdefs.h. */
36989 #include <math.h>
36990 #ifdef HAVE_IEEEFP_H
36991 #include <ieeefp.h>
36992 #endif
36995 main ()
36997 _fabsf(0);
36999 return 0;
37001 _ACEOF
37002 if ac_fn_cxx_try_compile "$LINENO"; then :
37003 glibcxx_cv_func__fabsf_use=yes
37004 else
37005 glibcxx_cv_func__fabsf_use=no
37007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37008 ac_ext=c
37009 ac_cpp='$CPP $CPPFLAGS'
37010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37019 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37021 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37022 for ac_func in _fabsf
37023 do :
37024 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37025 if test "x$ac_cv_func__fabsf" = x""yes; then :
37026 cat >>confdefs.h <<_ACEOF
37027 #define HAVE__FABSF 1
37028 _ACEOF
37031 done
37040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37041 $as_echo_n "checking for fmodf declaration... " >&6; }
37042 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37043 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37044 $as_echo_n "(cached) " >&6
37045 else
37048 ac_ext=cpp
37049 ac_cpp='$CXXCPP $CPPFLAGS'
37050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37055 /* end confdefs.h. */
37056 #include <math.h>
37058 main ()
37060 fmodf(0, 0);
37062 return 0;
37064 _ACEOF
37065 if ac_fn_cxx_try_compile "$LINENO"; then :
37066 glibcxx_cv_func_fmodf_use=yes
37067 else
37068 glibcxx_cv_func_fmodf_use=no
37070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37071 ac_ext=c
37072 ac_cpp='$CPP $CPPFLAGS'
37073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37082 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37084 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37085 for ac_func in fmodf
37086 do :
37087 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37088 if test "x$ac_cv_func_fmodf" = x""yes; then :
37089 cat >>confdefs.h <<_ACEOF
37090 #define HAVE_FMODF 1
37091 _ACEOF
37094 done
37096 else
37098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37099 $as_echo_n "checking for _fmodf declaration... " >&6; }
37100 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37101 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37102 $as_echo_n "(cached) " >&6
37103 else
37106 ac_ext=cpp
37107 ac_cpp='$CXXCPP $CPPFLAGS'
37108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37113 /* end confdefs.h. */
37114 #include <math.h>
37116 main ()
37118 _fmodf(0, 0);
37120 return 0;
37122 _ACEOF
37123 if ac_fn_cxx_try_compile "$LINENO"; then :
37124 glibcxx_cv_func__fmodf_use=yes
37125 else
37126 glibcxx_cv_func__fmodf_use=no
37128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37129 ac_ext=c
37130 ac_cpp='$CPP $CPPFLAGS'
37131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37140 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37142 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37143 for ac_func in _fmodf
37144 do :
37145 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37146 if test "x$ac_cv_func__fmodf" = x""yes; then :
37147 cat >>confdefs.h <<_ACEOF
37148 #define HAVE__FMODF 1
37149 _ACEOF
37152 done
37161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37162 $as_echo_n "checking for frexpf declaration... " >&6; }
37163 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37164 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37165 $as_echo_n "(cached) " >&6
37166 else
37169 ac_ext=cpp
37170 ac_cpp='$CXXCPP $CPPFLAGS'
37171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37176 /* end confdefs.h. */
37177 #include <math.h>
37179 main ()
37181 frexpf(0, 0);
37183 return 0;
37185 _ACEOF
37186 if ac_fn_cxx_try_compile "$LINENO"; then :
37187 glibcxx_cv_func_frexpf_use=yes
37188 else
37189 glibcxx_cv_func_frexpf_use=no
37191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37192 ac_ext=c
37193 ac_cpp='$CPP $CPPFLAGS'
37194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37203 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37205 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37206 for ac_func in frexpf
37207 do :
37208 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37209 if test "x$ac_cv_func_frexpf" = x""yes; then :
37210 cat >>confdefs.h <<_ACEOF
37211 #define HAVE_FREXPF 1
37212 _ACEOF
37215 done
37217 else
37219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37220 $as_echo_n "checking for _frexpf declaration... " >&6; }
37221 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37222 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37223 $as_echo_n "(cached) " >&6
37224 else
37227 ac_ext=cpp
37228 ac_cpp='$CXXCPP $CPPFLAGS'
37229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37234 /* end confdefs.h. */
37235 #include <math.h>
37237 main ()
37239 _frexpf(0, 0);
37241 return 0;
37243 _ACEOF
37244 if ac_fn_cxx_try_compile "$LINENO"; then :
37245 glibcxx_cv_func__frexpf_use=yes
37246 else
37247 glibcxx_cv_func__frexpf_use=no
37249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37250 ac_ext=c
37251 ac_cpp='$CPP $CPPFLAGS'
37252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37261 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37263 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37264 for ac_func in _frexpf
37265 do :
37266 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37267 if test "x$ac_cv_func__frexpf" = x""yes; then :
37268 cat >>confdefs.h <<_ACEOF
37269 #define HAVE__FREXPF 1
37270 _ACEOF
37273 done
37282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37283 $as_echo_n "checking for hypotf declaration... " >&6; }
37284 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37285 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37286 $as_echo_n "(cached) " >&6
37287 else
37290 ac_ext=cpp
37291 ac_cpp='$CXXCPP $CPPFLAGS'
37292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37297 /* end confdefs.h. */
37298 #include <math.h>
37300 main ()
37302 hypotf(0, 0);
37304 return 0;
37306 _ACEOF
37307 if ac_fn_cxx_try_compile "$LINENO"; then :
37308 glibcxx_cv_func_hypotf_use=yes
37309 else
37310 glibcxx_cv_func_hypotf_use=no
37312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37313 ac_ext=c
37314 ac_cpp='$CPP $CPPFLAGS'
37315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37324 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37326 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37327 for ac_func in hypotf
37328 do :
37329 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37330 if test "x$ac_cv_func_hypotf" = x""yes; then :
37331 cat >>confdefs.h <<_ACEOF
37332 #define HAVE_HYPOTF 1
37333 _ACEOF
37336 done
37338 else
37340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37341 $as_echo_n "checking for _hypotf declaration... " >&6; }
37342 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37343 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37344 $as_echo_n "(cached) " >&6
37345 else
37348 ac_ext=cpp
37349 ac_cpp='$CXXCPP $CPPFLAGS'
37350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37355 /* end confdefs.h. */
37356 #include <math.h>
37358 main ()
37360 _hypotf(0, 0);
37362 return 0;
37364 _ACEOF
37365 if ac_fn_cxx_try_compile "$LINENO"; then :
37366 glibcxx_cv_func__hypotf_use=yes
37367 else
37368 glibcxx_cv_func__hypotf_use=no
37370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37371 ac_ext=c
37372 ac_cpp='$CPP $CPPFLAGS'
37373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37382 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37384 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37385 for ac_func in _hypotf
37386 do :
37387 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37388 if test "x$ac_cv_func__hypotf" = x""yes; then :
37389 cat >>confdefs.h <<_ACEOF
37390 #define HAVE__HYPOTF 1
37391 _ACEOF
37394 done
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37404 $as_echo_n "checking for ldexpf declaration... " >&6; }
37405 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37406 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37407 $as_echo_n "(cached) " >&6
37408 else
37411 ac_ext=cpp
37412 ac_cpp='$CXXCPP $CPPFLAGS'
37413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37418 /* end confdefs.h. */
37419 #include <math.h>
37421 main ()
37423 ldexpf(0, 0);
37425 return 0;
37427 _ACEOF
37428 if ac_fn_cxx_try_compile "$LINENO"; then :
37429 glibcxx_cv_func_ldexpf_use=yes
37430 else
37431 glibcxx_cv_func_ldexpf_use=no
37433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37434 ac_ext=c
37435 ac_cpp='$CPP $CPPFLAGS'
37436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37445 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37447 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37448 for ac_func in ldexpf
37449 do :
37450 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37451 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37452 cat >>confdefs.h <<_ACEOF
37453 #define HAVE_LDEXPF 1
37454 _ACEOF
37457 done
37459 else
37461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37462 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37463 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37464 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37465 $as_echo_n "(cached) " >&6
37466 else
37469 ac_ext=cpp
37470 ac_cpp='$CXXCPP $CPPFLAGS'
37471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37476 /* end confdefs.h. */
37477 #include <math.h>
37479 main ()
37481 _ldexpf(0, 0);
37483 return 0;
37485 _ACEOF
37486 if ac_fn_cxx_try_compile "$LINENO"; then :
37487 glibcxx_cv_func__ldexpf_use=yes
37488 else
37489 glibcxx_cv_func__ldexpf_use=no
37491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37492 ac_ext=c
37493 ac_cpp='$CPP $CPPFLAGS'
37494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37503 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37505 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37506 for ac_func in _ldexpf
37507 do :
37508 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37509 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37510 cat >>confdefs.h <<_ACEOF
37511 #define HAVE__LDEXPF 1
37512 _ACEOF
37515 done
37524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37525 $as_echo_n "checking for logf declaration... " >&6; }
37526 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37527 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37528 $as_echo_n "(cached) " >&6
37529 else
37532 ac_ext=cpp
37533 ac_cpp='$CXXCPP $CPPFLAGS'
37534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37539 /* end confdefs.h. */
37540 #include <math.h>
37541 #ifdef HAVE_IEEEFP_H
37542 #include <ieeefp.h>
37543 #endif
37546 main ()
37548 logf(0);
37550 return 0;
37552 _ACEOF
37553 if ac_fn_cxx_try_compile "$LINENO"; then :
37554 glibcxx_cv_func_logf_use=yes
37555 else
37556 glibcxx_cv_func_logf_use=no
37558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37559 ac_ext=c
37560 ac_cpp='$CPP $CPPFLAGS'
37561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37570 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37572 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37573 for ac_func in logf
37574 do :
37575 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37576 if test "x$ac_cv_func_logf" = x""yes; then :
37577 cat >>confdefs.h <<_ACEOF
37578 #define HAVE_LOGF 1
37579 _ACEOF
37582 done
37584 else
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37587 $as_echo_n "checking for _logf declaration... " >&6; }
37588 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37589 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37590 $as_echo_n "(cached) " >&6
37591 else
37594 ac_ext=cpp
37595 ac_cpp='$CXXCPP $CPPFLAGS'
37596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37601 /* end confdefs.h. */
37602 #include <math.h>
37603 #ifdef HAVE_IEEEFP_H
37604 #include <ieeefp.h>
37605 #endif
37608 main ()
37610 _logf(0);
37612 return 0;
37614 _ACEOF
37615 if ac_fn_cxx_try_compile "$LINENO"; then :
37616 glibcxx_cv_func__logf_use=yes
37617 else
37618 glibcxx_cv_func__logf_use=no
37620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37621 ac_ext=c
37622 ac_cpp='$CPP $CPPFLAGS'
37623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37632 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37634 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37635 for ac_func in _logf
37636 do :
37637 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37638 if test "x$ac_cv_func__logf" = x""yes; then :
37639 cat >>confdefs.h <<_ACEOF
37640 #define HAVE__LOGF 1
37641 _ACEOF
37644 done
37653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37654 $as_echo_n "checking for log10f declaration... " >&6; }
37655 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37656 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37657 $as_echo_n "(cached) " >&6
37658 else
37661 ac_ext=cpp
37662 ac_cpp='$CXXCPP $CPPFLAGS'
37663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37668 /* end confdefs.h. */
37669 #include <math.h>
37670 #ifdef HAVE_IEEEFP_H
37671 #include <ieeefp.h>
37672 #endif
37675 main ()
37677 log10f(0);
37679 return 0;
37681 _ACEOF
37682 if ac_fn_cxx_try_compile "$LINENO"; then :
37683 glibcxx_cv_func_log10f_use=yes
37684 else
37685 glibcxx_cv_func_log10f_use=no
37687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37688 ac_ext=c
37689 ac_cpp='$CPP $CPPFLAGS'
37690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37699 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37701 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37702 for ac_func in log10f
37703 do :
37704 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37705 if test "x$ac_cv_func_log10f" = x""yes; then :
37706 cat >>confdefs.h <<_ACEOF
37707 #define HAVE_LOG10F 1
37708 _ACEOF
37711 done
37713 else
37715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37716 $as_echo_n "checking for _log10f declaration... " >&6; }
37717 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37718 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37719 $as_echo_n "(cached) " >&6
37720 else
37723 ac_ext=cpp
37724 ac_cpp='$CXXCPP $CPPFLAGS'
37725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37730 /* end confdefs.h. */
37731 #include <math.h>
37732 #ifdef HAVE_IEEEFP_H
37733 #include <ieeefp.h>
37734 #endif
37737 main ()
37739 _log10f(0);
37741 return 0;
37743 _ACEOF
37744 if ac_fn_cxx_try_compile "$LINENO"; then :
37745 glibcxx_cv_func__log10f_use=yes
37746 else
37747 glibcxx_cv_func__log10f_use=no
37749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37750 ac_ext=c
37751 ac_cpp='$CPP $CPPFLAGS'
37752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37761 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37763 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37764 for ac_func in _log10f
37765 do :
37766 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37767 if test "x$ac_cv_func__log10f" = x""yes; then :
37768 cat >>confdefs.h <<_ACEOF
37769 #define HAVE__LOG10F 1
37770 _ACEOF
37773 done
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37783 $as_echo_n "checking for modff declaration... " >&6; }
37784 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37785 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37786 $as_echo_n "(cached) " >&6
37787 else
37790 ac_ext=cpp
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37797 /* end confdefs.h. */
37798 #include <math.h>
37800 main ()
37802 modff(0, 0);
37804 return 0;
37806 _ACEOF
37807 if ac_fn_cxx_try_compile "$LINENO"; then :
37808 glibcxx_cv_func_modff_use=yes
37809 else
37810 glibcxx_cv_func_modff_use=no
37812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37813 ac_ext=c
37814 ac_cpp='$CPP $CPPFLAGS'
37815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37824 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37826 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37827 for ac_func in modff
37828 do :
37829 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37830 if test "x$ac_cv_func_modff" = x""yes; then :
37831 cat >>confdefs.h <<_ACEOF
37832 #define HAVE_MODFF 1
37833 _ACEOF
37836 done
37838 else
37840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37841 $as_echo_n "checking for _modff declaration... " >&6; }
37842 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37843 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37844 $as_echo_n "(cached) " >&6
37845 else
37848 ac_ext=cpp
37849 ac_cpp='$CXXCPP $CPPFLAGS'
37850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37855 /* end confdefs.h. */
37856 #include <math.h>
37858 main ()
37860 _modff(0, 0);
37862 return 0;
37864 _ACEOF
37865 if ac_fn_cxx_try_compile "$LINENO"; then :
37866 glibcxx_cv_func__modff_use=yes
37867 else
37868 glibcxx_cv_func__modff_use=no
37870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37871 ac_ext=c
37872 ac_cpp='$CPP $CPPFLAGS'
37873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37882 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37884 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37885 for ac_func in _modff
37886 do :
37887 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37888 if test "x$ac_cv_func__modff" = x""yes; then :
37889 cat >>confdefs.h <<_ACEOF
37890 #define HAVE__MODFF 1
37891 _ACEOF
37894 done
37903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37904 $as_echo_n "checking for modf declaration... " >&6; }
37905 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37906 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37907 $as_echo_n "(cached) " >&6
37908 else
37911 ac_ext=cpp
37912 ac_cpp='$CXXCPP $CPPFLAGS'
37913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37918 /* end confdefs.h. */
37919 #include <math.h>
37921 main ()
37923 modf(0, 0);
37925 return 0;
37927 _ACEOF
37928 if ac_fn_cxx_try_compile "$LINENO"; then :
37929 glibcxx_cv_func_modf_use=yes
37930 else
37931 glibcxx_cv_func_modf_use=no
37933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37934 ac_ext=c
37935 ac_cpp='$CPP $CPPFLAGS'
37936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37945 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37947 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37948 for ac_func in modf
37949 do :
37950 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37951 if test "x$ac_cv_func_modf" = x""yes; then :
37952 cat >>confdefs.h <<_ACEOF
37953 #define HAVE_MODF 1
37954 _ACEOF
37957 done
37959 else
37961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37962 $as_echo_n "checking for _modf declaration... " >&6; }
37963 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37964 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37965 $as_echo_n "(cached) " >&6
37966 else
37969 ac_ext=cpp
37970 ac_cpp='$CXXCPP $CPPFLAGS'
37971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37976 /* end confdefs.h. */
37977 #include <math.h>
37979 main ()
37981 _modf(0, 0);
37983 return 0;
37985 _ACEOF
37986 if ac_fn_cxx_try_compile "$LINENO"; then :
37987 glibcxx_cv_func__modf_use=yes
37988 else
37989 glibcxx_cv_func__modf_use=no
37991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37992 ac_ext=c
37993 ac_cpp='$CPP $CPPFLAGS'
37994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38003 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38005 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38006 for ac_func in _modf
38007 do :
38008 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38009 if test "x$ac_cv_func__modf" = x""yes; then :
38010 cat >>confdefs.h <<_ACEOF
38011 #define HAVE__MODF 1
38012 _ACEOF
38015 done
38024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38025 $as_echo_n "checking for powf declaration... " >&6; }
38026 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38027 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38028 $as_echo_n "(cached) " >&6
38029 else
38032 ac_ext=cpp
38033 ac_cpp='$CXXCPP $CPPFLAGS'
38034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38039 /* end confdefs.h. */
38040 #include <math.h>
38042 main ()
38044 powf(0, 0);
38046 return 0;
38048 _ACEOF
38049 if ac_fn_cxx_try_compile "$LINENO"; then :
38050 glibcxx_cv_func_powf_use=yes
38051 else
38052 glibcxx_cv_func_powf_use=no
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055 ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38066 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38068 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38069 for ac_func in powf
38070 do :
38071 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38072 if test "x$ac_cv_func_powf" = x""yes; then :
38073 cat >>confdefs.h <<_ACEOF
38074 #define HAVE_POWF 1
38075 _ACEOF
38078 done
38080 else
38082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38083 $as_echo_n "checking for _powf declaration... " >&6; }
38084 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38085 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38086 $as_echo_n "(cached) " >&6
38087 else
38090 ac_ext=cpp
38091 ac_cpp='$CXXCPP $CPPFLAGS'
38092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38097 /* end confdefs.h. */
38098 #include <math.h>
38100 main ()
38102 _powf(0, 0);
38104 return 0;
38106 _ACEOF
38107 if ac_fn_cxx_try_compile "$LINENO"; then :
38108 glibcxx_cv_func__powf_use=yes
38109 else
38110 glibcxx_cv_func__powf_use=no
38112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38113 ac_ext=c
38114 ac_cpp='$CPP $CPPFLAGS'
38115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38124 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38126 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38127 for ac_func in _powf
38128 do :
38129 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38130 if test "x$ac_cv_func__powf" = x""yes; then :
38131 cat >>confdefs.h <<_ACEOF
38132 #define HAVE__POWF 1
38133 _ACEOF
38136 done
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38146 $as_echo_n "checking for sqrtf declaration... " >&6; }
38147 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38148 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38149 $as_echo_n "(cached) " >&6
38150 else
38153 ac_ext=cpp
38154 ac_cpp='$CXXCPP $CPPFLAGS'
38155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38160 /* end confdefs.h. */
38161 #include <math.h>
38162 #ifdef HAVE_IEEEFP_H
38163 #include <ieeefp.h>
38164 #endif
38167 main ()
38169 sqrtf(0);
38171 return 0;
38173 _ACEOF
38174 if ac_fn_cxx_try_compile "$LINENO"; then :
38175 glibcxx_cv_func_sqrtf_use=yes
38176 else
38177 glibcxx_cv_func_sqrtf_use=no
38179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38180 ac_ext=c
38181 ac_cpp='$CPP $CPPFLAGS'
38182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38191 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38193 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38194 for ac_func in sqrtf
38195 do :
38196 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38197 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38198 cat >>confdefs.h <<_ACEOF
38199 #define HAVE_SQRTF 1
38200 _ACEOF
38203 done
38205 else
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38208 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38209 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38210 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38211 $as_echo_n "(cached) " >&6
38212 else
38215 ac_ext=cpp
38216 ac_cpp='$CXXCPP $CPPFLAGS'
38217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38222 /* end confdefs.h. */
38223 #include <math.h>
38224 #ifdef HAVE_IEEEFP_H
38225 #include <ieeefp.h>
38226 #endif
38229 main ()
38231 _sqrtf(0);
38233 return 0;
38235 _ACEOF
38236 if ac_fn_cxx_try_compile "$LINENO"; then :
38237 glibcxx_cv_func__sqrtf_use=yes
38238 else
38239 glibcxx_cv_func__sqrtf_use=no
38241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38242 ac_ext=c
38243 ac_cpp='$CPP $CPPFLAGS'
38244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38253 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38255 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38256 for ac_func in _sqrtf
38257 do :
38258 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38259 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38260 cat >>confdefs.h <<_ACEOF
38261 #define HAVE__SQRTF 1
38262 _ACEOF
38265 done
38274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38275 $as_echo_n "checking for sincosf declaration... " >&6; }
38276 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38277 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38278 $as_echo_n "(cached) " >&6
38279 else
38282 ac_ext=cpp
38283 ac_cpp='$CXXCPP $CPPFLAGS'
38284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38289 /* end confdefs.h. */
38290 #include <math.h>
38292 main ()
38294 sincosf(0, 0, 0);
38296 return 0;
38298 _ACEOF
38299 if ac_fn_cxx_try_compile "$LINENO"; then :
38300 glibcxx_cv_func_sincosf_use=yes
38301 else
38302 glibcxx_cv_func_sincosf_use=no
38304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38305 ac_ext=c
38306 ac_cpp='$CPP $CPPFLAGS'
38307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38316 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38318 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38319 for ac_func in sincosf
38320 do :
38321 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38322 if test "x$ac_cv_func_sincosf" = x""yes; then :
38323 cat >>confdefs.h <<_ACEOF
38324 #define HAVE_SINCOSF 1
38325 _ACEOF
38328 done
38330 else
38332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38333 $as_echo_n "checking for _sincosf declaration... " >&6; }
38334 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38335 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38336 $as_echo_n "(cached) " >&6
38337 else
38340 ac_ext=cpp
38341 ac_cpp='$CXXCPP $CPPFLAGS'
38342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38347 /* end confdefs.h. */
38348 #include <math.h>
38350 main ()
38352 _sincosf(0, 0, 0);
38354 return 0;
38356 _ACEOF
38357 if ac_fn_cxx_try_compile "$LINENO"; then :
38358 glibcxx_cv_func__sincosf_use=yes
38359 else
38360 glibcxx_cv_func__sincosf_use=no
38362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38363 ac_ext=c
38364 ac_cpp='$CPP $CPPFLAGS'
38365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38374 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38376 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38377 for ac_func in _sincosf
38378 do :
38379 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38380 if test "x$ac_cv_func__sincosf" = x""yes; then :
38381 cat >>confdefs.h <<_ACEOF
38382 #define HAVE__SINCOSF 1
38383 _ACEOF
38386 done
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38396 $as_echo_n "checking for finitef declaration... " >&6; }
38397 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38398 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38399 $as_echo_n "(cached) " >&6
38400 else
38403 ac_ext=cpp
38404 ac_cpp='$CXXCPP $CPPFLAGS'
38405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38410 /* end confdefs.h. */
38411 #include <math.h>
38412 #ifdef HAVE_IEEEFP_H
38413 #include <ieeefp.h>
38414 #endif
38417 main ()
38419 finitef(0);
38421 return 0;
38423 _ACEOF
38424 if ac_fn_cxx_try_compile "$LINENO"; then :
38425 glibcxx_cv_func_finitef_use=yes
38426 else
38427 glibcxx_cv_func_finitef_use=no
38429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38430 ac_ext=c
38431 ac_cpp='$CPP $CPPFLAGS'
38432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38441 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38443 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38444 for ac_func in finitef
38445 do :
38446 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38447 if test "x$ac_cv_func_finitef" = x""yes; then :
38448 cat >>confdefs.h <<_ACEOF
38449 #define HAVE_FINITEF 1
38450 _ACEOF
38453 done
38455 else
38457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38458 $as_echo_n "checking for _finitef declaration... " >&6; }
38459 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38460 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38461 $as_echo_n "(cached) " >&6
38462 else
38465 ac_ext=cpp
38466 ac_cpp='$CXXCPP $CPPFLAGS'
38467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38472 /* end confdefs.h. */
38473 #include <math.h>
38474 #ifdef HAVE_IEEEFP_H
38475 #include <ieeefp.h>
38476 #endif
38479 main ()
38481 _finitef(0);
38483 return 0;
38485 _ACEOF
38486 if ac_fn_cxx_try_compile "$LINENO"; then :
38487 glibcxx_cv_func__finitef_use=yes
38488 else
38489 glibcxx_cv_func__finitef_use=no
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38492 ac_ext=c
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38503 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38505 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38506 for ac_func in _finitef
38507 do :
38508 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38509 if test "x$ac_cv_func__finitef" = x""yes; then :
38510 cat >>confdefs.h <<_ACEOF
38511 #define HAVE__FINITEF 1
38512 _ACEOF
38515 done
38524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38525 $as_echo_n "checking for long double trig functions... " >&6; }
38526 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38527 $as_echo_n "(cached) " >&6
38528 else
38531 ac_ext=cpp
38532 ac_cpp='$CXXCPP $CPPFLAGS'
38533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38538 /* end confdefs.h. */
38539 #include <math.h>
38541 main ()
38543 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38545 return 0;
38547 _ACEOF
38548 if ac_fn_cxx_try_compile "$LINENO"; then :
38549 glibcxx_cv_func_long_double_trig_use=yes
38550 else
38551 glibcxx_cv_func_long_double_trig_use=no
38553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38554 ac_ext=c
38555 ac_cpp='$CPP $CPPFLAGS'
38556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38563 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38564 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38565 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38566 do :
38567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38569 eval as_val=\$$as_ac_var
38570 if test "x$as_val" = x""yes; then :
38571 cat >>confdefs.h <<_ACEOF
38572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38573 _ACEOF
38576 done
38578 else
38579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38580 $as_echo_n "checking for _long double trig functions... " >&6; }
38581 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38582 $as_echo_n "(cached) " >&6
38583 else
38586 ac_ext=cpp
38587 ac_cpp='$CXXCPP $CPPFLAGS'
38588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38593 /* end confdefs.h. */
38594 #include <math.h>
38596 main ()
38598 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38600 return 0;
38602 _ACEOF
38603 if ac_fn_cxx_try_compile "$LINENO"; then :
38604 glibcxx_cv_func__long_double_trig_use=yes
38605 else
38606 glibcxx_cv_func__long_double_trig_use=no
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38609 ac_ext=c
38610 ac_cpp='$CPP $CPPFLAGS'
38611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38618 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38619 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38620 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38621 do :
38622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38624 eval as_val=\$$as_ac_var
38625 if test "x$as_val" = x""yes; then :
38626 cat >>confdefs.h <<_ACEOF
38627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38628 _ACEOF
38631 done
38640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38641 $as_echo_n "checking for long double round functions... " >&6; }
38642 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38643 $as_echo_n "(cached) " >&6
38644 else
38647 ac_ext=cpp
38648 ac_cpp='$CXXCPP $CPPFLAGS'
38649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38654 /* end confdefs.h. */
38655 #include <math.h>
38657 main ()
38659 ceill (0); floorl (0);
38661 return 0;
38663 _ACEOF
38664 if ac_fn_cxx_try_compile "$LINENO"; then :
38665 glibcxx_cv_func_long_double_round_use=yes
38666 else
38667 glibcxx_cv_func_long_double_round_use=no
38669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38670 ac_ext=c
38671 ac_cpp='$CPP $CPPFLAGS'
38672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38679 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38680 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38681 for ac_func in ceill floorl
38682 do :
38683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38685 eval as_val=\$$as_ac_var
38686 if test "x$as_val" = x""yes; then :
38687 cat >>confdefs.h <<_ACEOF
38688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38689 _ACEOF
38692 done
38694 else
38695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38696 $as_echo_n "checking for _long double round functions... " >&6; }
38697 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38698 $as_echo_n "(cached) " >&6
38699 else
38702 ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38709 /* end confdefs.h. */
38710 #include <math.h>
38712 main ()
38714 _ceill (0); _floorl (0);
38716 return 0;
38718 _ACEOF
38719 if ac_fn_cxx_try_compile "$LINENO"; then :
38720 glibcxx_cv_func__long_double_round_use=yes
38721 else
38722 glibcxx_cv_func__long_double_round_use=no
38724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38725 ac_ext=c
38726 ac_cpp='$CPP $CPPFLAGS'
38727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38734 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38735 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38736 for ac_func in _ceill _floorl
38737 do :
38738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38740 eval as_val=\$$as_ac_var
38741 if test "x$as_val" = x""yes; then :
38742 cat >>confdefs.h <<_ACEOF
38743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38744 _ACEOF
38747 done
38757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38758 $as_echo_n "checking for isnanl declaration... " >&6; }
38759 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38760 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38761 $as_echo_n "(cached) " >&6
38762 else
38765 ac_ext=cpp
38766 ac_cpp='$CXXCPP $CPPFLAGS'
38767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38772 /* end confdefs.h. */
38773 #include <math.h>
38774 #ifdef HAVE_IEEEFP_H
38775 #include <ieeefp.h>
38776 #endif
38779 main ()
38781 isnanl(0);
38783 return 0;
38785 _ACEOF
38786 if ac_fn_cxx_try_compile "$LINENO"; then :
38787 glibcxx_cv_func_isnanl_use=yes
38788 else
38789 glibcxx_cv_func_isnanl_use=no
38791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38792 ac_ext=c
38793 ac_cpp='$CPP $CPPFLAGS'
38794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38803 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38805 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38806 for ac_func in isnanl
38807 do :
38808 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38809 if test "x$ac_cv_func_isnanl" = x""yes; then :
38810 cat >>confdefs.h <<_ACEOF
38811 #define HAVE_ISNANL 1
38812 _ACEOF
38815 done
38817 else
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38820 $as_echo_n "checking for _isnanl declaration... " >&6; }
38821 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38822 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38823 $as_echo_n "(cached) " >&6
38824 else
38827 ac_ext=cpp
38828 ac_cpp='$CXXCPP $CPPFLAGS'
38829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38834 /* end confdefs.h. */
38835 #include <math.h>
38836 #ifdef HAVE_IEEEFP_H
38837 #include <ieeefp.h>
38838 #endif
38841 main ()
38843 _isnanl(0);
38845 return 0;
38847 _ACEOF
38848 if ac_fn_cxx_try_compile "$LINENO"; then :
38849 glibcxx_cv_func__isnanl_use=yes
38850 else
38851 glibcxx_cv_func__isnanl_use=no
38853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38854 ac_ext=c
38855 ac_cpp='$CPP $CPPFLAGS'
38856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38865 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38867 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38868 for ac_func in _isnanl
38869 do :
38870 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38871 if test "x$ac_cv_func__isnanl" = x""yes; then :
38872 cat >>confdefs.h <<_ACEOF
38873 #define HAVE__ISNANL 1
38874 _ACEOF
38877 done
38886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38887 $as_echo_n "checking for isinfl declaration... " >&6; }
38888 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38889 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38890 $as_echo_n "(cached) " >&6
38891 else
38894 ac_ext=cpp
38895 ac_cpp='$CXXCPP $CPPFLAGS'
38896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38901 /* end confdefs.h. */
38902 #include <math.h>
38903 #ifdef HAVE_IEEEFP_H
38904 #include <ieeefp.h>
38905 #endif
38908 main ()
38910 isinfl(0);
38912 return 0;
38914 _ACEOF
38915 if ac_fn_cxx_try_compile "$LINENO"; then :
38916 glibcxx_cv_func_isinfl_use=yes
38917 else
38918 glibcxx_cv_func_isinfl_use=no
38920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38921 ac_ext=c
38922 ac_cpp='$CPP $CPPFLAGS'
38923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38932 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38934 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38935 for ac_func in isinfl
38936 do :
38937 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38938 if test "x$ac_cv_func_isinfl" = x""yes; then :
38939 cat >>confdefs.h <<_ACEOF
38940 #define HAVE_ISINFL 1
38941 _ACEOF
38944 done
38946 else
38948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38949 $as_echo_n "checking for _isinfl declaration... " >&6; }
38950 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38951 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38952 $as_echo_n "(cached) " >&6
38953 else
38956 ac_ext=cpp
38957 ac_cpp='$CXXCPP $CPPFLAGS'
38958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38963 /* end confdefs.h. */
38964 #include <math.h>
38965 #ifdef HAVE_IEEEFP_H
38966 #include <ieeefp.h>
38967 #endif
38970 main ()
38972 _isinfl(0);
38974 return 0;
38976 _ACEOF
38977 if ac_fn_cxx_try_compile "$LINENO"; then :
38978 glibcxx_cv_func__isinfl_use=yes
38979 else
38980 glibcxx_cv_func__isinfl_use=no
38982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38983 ac_ext=c
38984 ac_cpp='$CPP $CPPFLAGS'
38985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38994 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38996 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38997 for ac_func in _isinfl
38998 do :
38999 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39000 if test "x$ac_cv_func__isinfl" = x""yes; then :
39001 cat >>confdefs.h <<_ACEOF
39002 #define HAVE__ISINFL 1
39003 _ACEOF
39006 done
39015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39016 $as_echo_n "checking for atan2l declaration... " >&6; }
39017 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39018 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
39019 $as_echo_n "(cached) " >&6
39020 else
39023 ac_ext=cpp
39024 ac_cpp='$CXXCPP $CPPFLAGS'
39025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39030 /* end confdefs.h. */
39031 #include <math.h>
39033 main ()
39035 atan2l(0, 0);
39037 return 0;
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func_atan2l_use=yes
39042 else
39043 glibcxx_cv_func_atan2l_use=no
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39057 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39059 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39060 for ac_func in atan2l
39061 do :
39062 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39063 if test "x$ac_cv_func_atan2l" = x""yes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE_ATAN2L 1
39066 _ACEOF
39069 done
39071 else
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39074 $as_echo_n "checking for _atan2l declaration... " >&6; }
39075 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39076 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39077 $as_echo_n "(cached) " >&6
39078 else
39081 ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089 #include <math.h>
39091 main ()
39093 _atan2l(0, 0);
39095 return 0;
39097 _ACEOF
39098 if ac_fn_cxx_try_compile "$LINENO"; then :
39099 glibcxx_cv_func__atan2l_use=yes
39100 else
39101 glibcxx_cv_func__atan2l_use=no
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39104 ac_ext=c
39105 ac_cpp='$CPP $CPPFLAGS'
39106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39115 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39117 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39118 for ac_func in _atan2l
39119 do :
39120 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39121 if test "x$ac_cv_func__atan2l" = x""yes; then :
39122 cat >>confdefs.h <<_ACEOF
39123 #define HAVE__ATAN2L 1
39124 _ACEOF
39127 done
39136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39137 $as_echo_n "checking for expl declaration... " >&6; }
39138 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39139 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39140 $as_echo_n "(cached) " >&6
39141 else
39144 ac_ext=cpp
39145 ac_cpp='$CXXCPP $CPPFLAGS'
39146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39151 /* end confdefs.h. */
39152 #include <math.h>
39153 #ifdef HAVE_IEEEFP_H
39154 #include <ieeefp.h>
39155 #endif
39158 main ()
39160 expl(0);
39162 return 0;
39164 _ACEOF
39165 if ac_fn_cxx_try_compile "$LINENO"; then :
39166 glibcxx_cv_func_expl_use=yes
39167 else
39168 glibcxx_cv_func_expl_use=no
39170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39171 ac_ext=c
39172 ac_cpp='$CPP $CPPFLAGS'
39173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39182 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39184 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39185 for ac_func in expl
39186 do :
39187 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39188 if test "x$ac_cv_func_expl" = x""yes; then :
39189 cat >>confdefs.h <<_ACEOF
39190 #define HAVE_EXPL 1
39191 _ACEOF
39194 done
39196 else
39198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39199 $as_echo_n "checking for _expl declaration... " >&6; }
39200 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39201 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39202 $as_echo_n "(cached) " >&6
39203 else
39206 ac_ext=cpp
39207 ac_cpp='$CXXCPP $CPPFLAGS'
39208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39213 /* end confdefs.h. */
39214 #include <math.h>
39215 #ifdef HAVE_IEEEFP_H
39216 #include <ieeefp.h>
39217 #endif
39220 main ()
39222 _expl(0);
39224 return 0;
39226 _ACEOF
39227 if ac_fn_cxx_try_compile "$LINENO"; then :
39228 glibcxx_cv_func__expl_use=yes
39229 else
39230 glibcxx_cv_func__expl_use=no
39232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39233 ac_ext=c
39234 ac_cpp='$CPP $CPPFLAGS'
39235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39244 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39246 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39247 for ac_func in _expl
39248 do :
39249 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39250 if test "x$ac_cv_func__expl" = x""yes; then :
39251 cat >>confdefs.h <<_ACEOF
39252 #define HAVE__EXPL 1
39253 _ACEOF
39256 done
39265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39266 $as_echo_n "checking for fabsl declaration... " >&6; }
39267 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39268 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39269 $as_echo_n "(cached) " >&6
39270 else
39273 ac_ext=cpp
39274 ac_cpp='$CXXCPP $CPPFLAGS'
39275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39280 /* end confdefs.h. */
39281 #include <math.h>
39282 #ifdef HAVE_IEEEFP_H
39283 #include <ieeefp.h>
39284 #endif
39287 main ()
39289 fabsl(0);
39291 return 0;
39293 _ACEOF
39294 if ac_fn_cxx_try_compile "$LINENO"; then :
39295 glibcxx_cv_func_fabsl_use=yes
39296 else
39297 glibcxx_cv_func_fabsl_use=no
39299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39300 ac_ext=c
39301 ac_cpp='$CPP $CPPFLAGS'
39302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39311 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39313 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39314 for ac_func in fabsl
39315 do :
39316 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39317 if test "x$ac_cv_func_fabsl" = x""yes; then :
39318 cat >>confdefs.h <<_ACEOF
39319 #define HAVE_FABSL 1
39320 _ACEOF
39323 done
39325 else
39327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39328 $as_echo_n "checking for _fabsl declaration... " >&6; }
39329 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39330 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39331 $as_echo_n "(cached) " >&6
39332 else
39335 ac_ext=cpp
39336 ac_cpp='$CXXCPP $CPPFLAGS'
39337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39342 /* end confdefs.h. */
39343 #include <math.h>
39344 #ifdef HAVE_IEEEFP_H
39345 #include <ieeefp.h>
39346 #endif
39349 main ()
39351 _fabsl(0);
39353 return 0;
39355 _ACEOF
39356 if ac_fn_cxx_try_compile "$LINENO"; then :
39357 glibcxx_cv_func__fabsl_use=yes
39358 else
39359 glibcxx_cv_func__fabsl_use=no
39361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39362 ac_ext=c
39363 ac_cpp='$CPP $CPPFLAGS'
39364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39373 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39375 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39376 for ac_func in _fabsl
39377 do :
39378 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39379 if test "x$ac_cv_func__fabsl" = x""yes; then :
39380 cat >>confdefs.h <<_ACEOF
39381 #define HAVE__FABSL 1
39382 _ACEOF
39385 done
39394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39395 $as_echo_n "checking for fmodl declaration... " >&6; }
39396 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39397 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39398 $as_echo_n "(cached) " >&6
39399 else
39402 ac_ext=cpp
39403 ac_cpp='$CXXCPP $CPPFLAGS'
39404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39409 /* end confdefs.h. */
39410 #include <math.h>
39412 main ()
39414 fmodl(0, 0);
39416 return 0;
39418 _ACEOF
39419 if ac_fn_cxx_try_compile "$LINENO"; then :
39420 glibcxx_cv_func_fmodl_use=yes
39421 else
39422 glibcxx_cv_func_fmodl_use=no
39424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39425 ac_ext=c
39426 ac_cpp='$CPP $CPPFLAGS'
39427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39436 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39438 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39439 for ac_func in fmodl
39440 do :
39441 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39442 if test "x$ac_cv_func_fmodl" = x""yes; then :
39443 cat >>confdefs.h <<_ACEOF
39444 #define HAVE_FMODL 1
39445 _ACEOF
39448 done
39450 else
39452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39453 $as_echo_n "checking for _fmodl declaration... " >&6; }
39454 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39455 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39456 $as_echo_n "(cached) " >&6
39457 else
39460 ac_ext=cpp
39461 ac_cpp='$CXXCPP $CPPFLAGS'
39462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39467 /* end confdefs.h. */
39468 #include <math.h>
39470 main ()
39472 _fmodl(0, 0);
39474 return 0;
39476 _ACEOF
39477 if ac_fn_cxx_try_compile "$LINENO"; then :
39478 glibcxx_cv_func__fmodl_use=yes
39479 else
39480 glibcxx_cv_func__fmodl_use=no
39482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39483 ac_ext=c
39484 ac_cpp='$CPP $CPPFLAGS'
39485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39494 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39496 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39497 for ac_func in _fmodl
39498 do :
39499 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39500 if test "x$ac_cv_func__fmodl" = x""yes; then :
39501 cat >>confdefs.h <<_ACEOF
39502 #define HAVE__FMODL 1
39503 _ACEOF
39506 done
39515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39516 $as_echo_n "checking for frexpl declaration... " >&6; }
39517 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39518 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39519 $as_echo_n "(cached) " >&6
39520 else
39523 ac_ext=cpp
39524 ac_cpp='$CXXCPP $CPPFLAGS'
39525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39530 /* end confdefs.h. */
39531 #include <math.h>
39533 main ()
39535 frexpl(0, 0);
39537 return 0;
39539 _ACEOF
39540 if ac_fn_cxx_try_compile "$LINENO"; then :
39541 glibcxx_cv_func_frexpl_use=yes
39542 else
39543 glibcxx_cv_func_frexpl_use=no
39545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39546 ac_ext=c
39547 ac_cpp='$CPP $CPPFLAGS'
39548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39557 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39559 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39560 for ac_func in frexpl
39561 do :
39562 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39563 if test "x$ac_cv_func_frexpl" = x""yes; then :
39564 cat >>confdefs.h <<_ACEOF
39565 #define HAVE_FREXPL 1
39566 _ACEOF
39569 done
39571 else
39573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39574 $as_echo_n "checking for _frexpl declaration... " >&6; }
39575 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39576 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39577 $as_echo_n "(cached) " >&6
39578 else
39581 ac_ext=cpp
39582 ac_cpp='$CXXCPP $CPPFLAGS'
39583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39588 /* end confdefs.h. */
39589 #include <math.h>
39591 main ()
39593 _frexpl(0, 0);
39595 return 0;
39597 _ACEOF
39598 if ac_fn_cxx_try_compile "$LINENO"; then :
39599 glibcxx_cv_func__frexpl_use=yes
39600 else
39601 glibcxx_cv_func__frexpl_use=no
39603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39604 ac_ext=c
39605 ac_cpp='$CPP $CPPFLAGS'
39606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39615 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39617 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39618 for ac_func in _frexpl
39619 do :
39620 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39621 if test "x$ac_cv_func__frexpl" = x""yes; then :
39622 cat >>confdefs.h <<_ACEOF
39623 #define HAVE__FREXPL 1
39624 _ACEOF
39627 done
39636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39637 $as_echo_n "checking for hypotl declaration... " >&6; }
39638 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39639 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39640 $as_echo_n "(cached) " >&6
39641 else
39644 ac_ext=cpp
39645 ac_cpp='$CXXCPP $CPPFLAGS'
39646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39651 /* end confdefs.h. */
39652 #include <math.h>
39654 main ()
39656 hypotl(0, 0);
39658 return 0;
39660 _ACEOF
39661 if ac_fn_cxx_try_compile "$LINENO"; then :
39662 glibcxx_cv_func_hypotl_use=yes
39663 else
39664 glibcxx_cv_func_hypotl_use=no
39666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39667 ac_ext=c
39668 ac_cpp='$CPP $CPPFLAGS'
39669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39678 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39680 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39681 for ac_func in hypotl
39682 do :
39683 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39684 if test "x$ac_cv_func_hypotl" = x""yes; then :
39685 cat >>confdefs.h <<_ACEOF
39686 #define HAVE_HYPOTL 1
39687 _ACEOF
39690 done
39692 else
39694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39695 $as_echo_n "checking for _hypotl declaration... " >&6; }
39696 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39697 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39698 $as_echo_n "(cached) " >&6
39699 else
39702 ac_ext=cpp
39703 ac_cpp='$CXXCPP $CPPFLAGS'
39704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39709 /* end confdefs.h. */
39710 #include <math.h>
39712 main ()
39714 _hypotl(0, 0);
39716 return 0;
39718 _ACEOF
39719 if ac_fn_cxx_try_compile "$LINENO"; then :
39720 glibcxx_cv_func__hypotl_use=yes
39721 else
39722 glibcxx_cv_func__hypotl_use=no
39724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39725 ac_ext=c
39726 ac_cpp='$CPP $CPPFLAGS'
39727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39736 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39738 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39739 for ac_func in _hypotl
39740 do :
39741 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39742 if test "x$ac_cv_func__hypotl" = x""yes; then :
39743 cat >>confdefs.h <<_ACEOF
39744 #define HAVE__HYPOTL 1
39745 _ACEOF
39748 done
39757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39758 $as_echo_n "checking for ldexpl declaration... " >&6; }
39759 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39760 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39761 $as_echo_n "(cached) " >&6
39762 else
39765 ac_ext=cpp
39766 ac_cpp='$CXXCPP $CPPFLAGS'
39767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39772 /* end confdefs.h. */
39773 #include <math.h>
39775 main ()
39777 ldexpl(0, 0);
39779 return 0;
39781 _ACEOF
39782 if ac_fn_cxx_try_compile "$LINENO"; then :
39783 glibcxx_cv_func_ldexpl_use=yes
39784 else
39785 glibcxx_cv_func_ldexpl_use=no
39787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39788 ac_ext=c
39789 ac_cpp='$CPP $CPPFLAGS'
39790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39799 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39801 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39802 for ac_func in ldexpl
39803 do :
39804 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39805 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39806 cat >>confdefs.h <<_ACEOF
39807 #define HAVE_LDEXPL 1
39808 _ACEOF
39811 done
39813 else
39815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39816 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39817 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39818 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39819 $as_echo_n "(cached) " >&6
39820 else
39823 ac_ext=cpp
39824 ac_cpp='$CXXCPP $CPPFLAGS'
39825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39830 /* end confdefs.h. */
39831 #include <math.h>
39833 main ()
39835 _ldexpl(0, 0);
39837 return 0;
39839 _ACEOF
39840 if ac_fn_cxx_try_compile "$LINENO"; then :
39841 glibcxx_cv_func__ldexpl_use=yes
39842 else
39843 glibcxx_cv_func__ldexpl_use=no
39845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39846 ac_ext=c
39847 ac_cpp='$CPP $CPPFLAGS'
39848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39857 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39859 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39860 for ac_func in _ldexpl
39861 do :
39862 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39863 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39864 cat >>confdefs.h <<_ACEOF
39865 #define HAVE__LDEXPL 1
39866 _ACEOF
39869 done
39878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39879 $as_echo_n "checking for logl declaration... " >&6; }
39880 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39881 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39882 $as_echo_n "(cached) " >&6
39883 else
39886 ac_ext=cpp
39887 ac_cpp='$CXXCPP $CPPFLAGS'
39888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39893 /* end confdefs.h. */
39894 #include <math.h>
39895 #ifdef HAVE_IEEEFP_H
39896 #include <ieeefp.h>
39897 #endif
39900 main ()
39902 logl(0);
39904 return 0;
39906 _ACEOF
39907 if ac_fn_cxx_try_compile "$LINENO"; then :
39908 glibcxx_cv_func_logl_use=yes
39909 else
39910 glibcxx_cv_func_logl_use=no
39912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39913 ac_ext=c
39914 ac_cpp='$CPP $CPPFLAGS'
39915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39924 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39926 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39927 for ac_func in logl
39928 do :
39929 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39930 if test "x$ac_cv_func_logl" = x""yes; then :
39931 cat >>confdefs.h <<_ACEOF
39932 #define HAVE_LOGL 1
39933 _ACEOF
39936 done
39938 else
39940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39941 $as_echo_n "checking for _logl declaration... " >&6; }
39942 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39943 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39944 $as_echo_n "(cached) " >&6
39945 else
39948 ac_ext=cpp
39949 ac_cpp='$CXXCPP $CPPFLAGS'
39950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39955 /* end confdefs.h. */
39956 #include <math.h>
39957 #ifdef HAVE_IEEEFP_H
39958 #include <ieeefp.h>
39959 #endif
39962 main ()
39964 _logl(0);
39966 return 0;
39968 _ACEOF
39969 if ac_fn_cxx_try_compile "$LINENO"; then :
39970 glibcxx_cv_func__logl_use=yes
39971 else
39972 glibcxx_cv_func__logl_use=no
39974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39975 ac_ext=c
39976 ac_cpp='$CPP $CPPFLAGS'
39977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39986 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39988 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39989 for ac_func in _logl
39990 do :
39991 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39992 if test "x$ac_cv_func__logl" = x""yes; then :
39993 cat >>confdefs.h <<_ACEOF
39994 #define HAVE__LOGL 1
39995 _ACEOF
39998 done
40007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40008 $as_echo_n "checking for log10l declaration... " >&6; }
40009 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40010 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
40011 $as_echo_n "(cached) " >&6
40012 else
40015 ac_ext=cpp
40016 ac_cpp='$CXXCPP $CPPFLAGS'
40017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40022 /* end confdefs.h. */
40023 #include <math.h>
40024 #ifdef HAVE_IEEEFP_H
40025 #include <ieeefp.h>
40026 #endif
40029 main ()
40031 log10l(0);
40033 return 0;
40035 _ACEOF
40036 if ac_fn_cxx_try_compile "$LINENO"; then :
40037 glibcxx_cv_func_log10l_use=yes
40038 else
40039 glibcxx_cv_func_log10l_use=no
40041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40042 ac_ext=c
40043 ac_cpp='$CPP $CPPFLAGS'
40044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40053 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40055 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40056 for ac_func in log10l
40057 do :
40058 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40059 if test "x$ac_cv_func_log10l" = x""yes; then :
40060 cat >>confdefs.h <<_ACEOF
40061 #define HAVE_LOG10L 1
40062 _ACEOF
40065 done
40067 else
40069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40070 $as_echo_n "checking for _log10l declaration... " >&6; }
40071 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40072 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40073 $as_echo_n "(cached) " >&6
40074 else
40077 ac_ext=cpp
40078 ac_cpp='$CXXCPP $CPPFLAGS'
40079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40084 /* end confdefs.h. */
40085 #include <math.h>
40086 #ifdef HAVE_IEEEFP_H
40087 #include <ieeefp.h>
40088 #endif
40091 main ()
40093 _log10l(0);
40095 return 0;
40097 _ACEOF
40098 if ac_fn_cxx_try_compile "$LINENO"; then :
40099 glibcxx_cv_func__log10l_use=yes
40100 else
40101 glibcxx_cv_func__log10l_use=no
40103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40104 ac_ext=c
40105 ac_cpp='$CPP $CPPFLAGS'
40106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40115 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40117 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40118 for ac_func in _log10l
40119 do :
40120 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40121 if test "x$ac_cv_func__log10l" = x""yes; then :
40122 cat >>confdefs.h <<_ACEOF
40123 #define HAVE__LOG10L 1
40124 _ACEOF
40127 done
40136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40137 $as_echo_n "checking for modfl declaration... " >&6; }
40138 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40139 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40140 $as_echo_n "(cached) " >&6
40141 else
40144 ac_ext=cpp
40145 ac_cpp='$CXXCPP $CPPFLAGS'
40146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40151 /* end confdefs.h. */
40152 #include <math.h>
40154 main ()
40156 modfl(0, 0);
40158 return 0;
40160 _ACEOF
40161 if ac_fn_cxx_try_compile "$LINENO"; then :
40162 glibcxx_cv_func_modfl_use=yes
40163 else
40164 glibcxx_cv_func_modfl_use=no
40166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40167 ac_ext=c
40168 ac_cpp='$CPP $CPPFLAGS'
40169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40178 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40180 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40181 for ac_func in modfl
40182 do :
40183 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40184 if test "x$ac_cv_func_modfl" = x""yes; then :
40185 cat >>confdefs.h <<_ACEOF
40186 #define HAVE_MODFL 1
40187 _ACEOF
40190 done
40192 else
40194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40195 $as_echo_n "checking for _modfl declaration... " >&6; }
40196 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40197 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40198 $as_echo_n "(cached) " >&6
40199 else
40202 ac_ext=cpp
40203 ac_cpp='$CXXCPP $CPPFLAGS'
40204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40209 /* end confdefs.h. */
40210 #include <math.h>
40212 main ()
40214 _modfl(0, 0);
40216 return 0;
40218 _ACEOF
40219 if ac_fn_cxx_try_compile "$LINENO"; then :
40220 glibcxx_cv_func__modfl_use=yes
40221 else
40222 glibcxx_cv_func__modfl_use=no
40224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40225 ac_ext=c
40226 ac_cpp='$CPP $CPPFLAGS'
40227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40236 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40238 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40239 for ac_func in _modfl
40240 do :
40241 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40242 if test "x$ac_cv_func__modfl" = x""yes; then :
40243 cat >>confdefs.h <<_ACEOF
40244 #define HAVE__MODFL 1
40245 _ACEOF
40248 done
40257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40258 $as_echo_n "checking for powl declaration... " >&6; }
40259 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40260 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40261 $as_echo_n "(cached) " >&6
40262 else
40265 ac_ext=cpp
40266 ac_cpp='$CXXCPP $CPPFLAGS'
40267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40272 /* end confdefs.h. */
40273 #include <math.h>
40275 main ()
40277 powl(0, 0);
40279 return 0;
40281 _ACEOF
40282 if ac_fn_cxx_try_compile "$LINENO"; then :
40283 glibcxx_cv_func_powl_use=yes
40284 else
40285 glibcxx_cv_func_powl_use=no
40287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40288 ac_ext=c
40289 ac_cpp='$CPP $CPPFLAGS'
40290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40299 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40301 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40302 for ac_func in powl
40303 do :
40304 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40305 if test "x$ac_cv_func_powl" = x""yes; then :
40306 cat >>confdefs.h <<_ACEOF
40307 #define HAVE_POWL 1
40308 _ACEOF
40311 done
40313 else
40315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40316 $as_echo_n "checking for _powl declaration... " >&6; }
40317 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40318 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40319 $as_echo_n "(cached) " >&6
40320 else
40323 ac_ext=cpp
40324 ac_cpp='$CXXCPP $CPPFLAGS'
40325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40330 /* end confdefs.h. */
40331 #include <math.h>
40333 main ()
40335 _powl(0, 0);
40337 return 0;
40339 _ACEOF
40340 if ac_fn_cxx_try_compile "$LINENO"; then :
40341 glibcxx_cv_func__powl_use=yes
40342 else
40343 glibcxx_cv_func__powl_use=no
40345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40346 ac_ext=c
40347 ac_cpp='$CPP $CPPFLAGS'
40348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40357 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40359 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40360 for ac_func in _powl
40361 do :
40362 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40363 if test "x$ac_cv_func__powl" = x""yes; then :
40364 cat >>confdefs.h <<_ACEOF
40365 #define HAVE__POWL 1
40366 _ACEOF
40369 done
40378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40379 $as_echo_n "checking for sqrtl declaration... " >&6; }
40380 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40381 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40382 $as_echo_n "(cached) " >&6
40383 else
40386 ac_ext=cpp
40387 ac_cpp='$CXXCPP $CPPFLAGS'
40388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40393 /* end confdefs.h. */
40394 #include <math.h>
40395 #ifdef HAVE_IEEEFP_H
40396 #include <ieeefp.h>
40397 #endif
40400 main ()
40402 sqrtl(0);
40404 return 0;
40406 _ACEOF
40407 if ac_fn_cxx_try_compile "$LINENO"; then :
40408 glibcxx_cv_func_sqrtl_use=yes
40409 else
40410 glibcxx_cv_func_sqrtl_use=no
40412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40413 ac_ext=c
40414 ac_cpp='$CPP $CPPFLAGS'
40415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40424 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40426 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40427 for ac_func in sqrtl
40428 do :
40429 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40430 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40431 cat >>confdefs.h <<_ACEOF
40432 #define HAVE_SQRTL 1
40433 _ACEOF
40436 done
40438 else
40440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40441 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40442 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40443 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40444 $as_echo_n "(cached) " >&6
40445 else
40448 ac_ext=cpp
40449 ac_cpp='$CXXCPP $CPPFLAGS'
40450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40455 /* end confdefs.h. */
40456 #include <math.h>
40457 #ifdef HAVE_IEEEFP_H
40458 #include <ieeefp.h>
40459 #endif
40462 main ()
40464 _sqrtl(0);
40466 return 0;
40468 _ACEOF
40469 if ac_fn_cxx_try_compile "$LINENO"; then :
40470 glibcxx_cv_func__sqrtl_use=yes
40471 else
40472 glibcxx_cv_func__sqrtl_use=no
40474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40475 ac_ext=c
40476 ac_cpp='$CPP $CPPFLAGS'
40477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40486 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40488 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40489 for ac_func in _sqrtl
40490 do :
40491 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40492 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40493 cat >>confdefs.h <<_ACEOF
40494 #define HAVE__SQRTL 1
40495 _ACEOF
40498 done
40507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40508 $as_echo_n "checking for sincosl declaration... " >&6; }
40509 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40510 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40511 $as_echo_n "(cached) " >&6
40512 else
40515 ac_ext=cpp
40516 ac_cpp='$CXXCPP $CPPFLAGS'
40517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40522 /* end confdefs.h. */
40523 #include <math.h>
40525 main ()
40527 sincosl(0, 0, 0);
40529 return 0;
40531 _ACEOF
40532 if ac_fn_cxx_try_compile "$LINENO"; then :
40533 glibcxx_cv_func_sincosl_use=yes
40534 else
40535 glibcxx_cv_func_sincosl_use=no
40537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40538 ac_ext=c
40539 ac_cpp='$CPP $CPPFLAGS'
40540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40549 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40551 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40552 for ac_func in sincosl
40553 do :
40554 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40555 if test "x$ac_cv_func_sincosl" = x""yes; then :
40556 cat >>confdefs.h <<_ACEOF
40557 #define HAVE_SINCOSL 1
40558 _ACEOF
40561 done
40563 else
40565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40566 $as_echo_n "checking for _sincosl declaration... " >&6; }
40567 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40568 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40569 $as_echo_n "(cached) " >&6
40570 else
40573 ac_ext=cpp
40574 ac_cpp='$CXXCPP $CPPFLAGS'
40575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40580 /* end confdefs.h. */
40581 #include <math.h>
40583 main ()
40585 _sincosl(0, 0, 0);
40587 return 0;
40589 _ACEOF
40590 if ac_fn_cxx_try_compile "$LINENO"; then :
40591 glibcxx_cv_func__sincosl_use=yes
40592 else
40593 glibcxx_cv_func__sincosl_use=no
40595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40596 ac_ext=c
40597 ac_cpp='$CPP $CPPFLAGS'
40598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40607 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40609 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40610 for ac_func in _sincosl
40611 do :
40612 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40613 if test "x$ac_cv_func__sincosl" = x""yes; then :
40614 cat >>confdefs.h <<_ACEOF
40615 #define HAVE__SINCOSL 1
40616 _ACEOF
40619 done
40628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40629 $as_echo_n "checking for finitel declaration... " >&6; }
40630 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40631 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40632 $as_echo_n "(cached) " >&6
40633 else
40636 ac_ext=cpp
40637 ac_cpp='$CXXCPP $CPPFLAGS'
40638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40643 /* end confdefs.h. */
40644 #include <math.h>
40645 #ifdef HAVE_IEEEFP_H
40646 #include <ieeefp.h>
40647 #endif
40650 main ()
40652 finitel(0);
40654 return 0;
40656 _ACEOF
40657 if ac_fn_cxx_try_compile "$LINENO"; then :
40658 glibcxx_cv_func_finitel_use=yes
40659 else
40660 glibcxx_cv_func_finitel_use=no
40662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40663 ac_ext=c
40664 ac_cpp='$CPP $CPPFLAGS'
40665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40674 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40676 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40677 for ac_func in finitel
40678 do :
40679 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40680 if test "x$ac_cv_func_finitel" = x""yes; then :
40681 cat >>confdefs.h <<_ACEOF
40682 #define HAVE_FINITEL 1
40683 _ACEOF
40686 done
40688 else
40690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40691 $as_echo_n "checking for _finitel declaration... " >&6; }
40692 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40693 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40694 $as_echo_n "(cached) " >&6
40695 else
40698 ac_ext=cpp
40699 ac_cpp='$CXXCPP $CPPFLAGS'
40700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40705 /* end confdefs.h. */
40706 #include <math.h>
40707 #ifdef HAVE_IEEEFP_H
40708 #include <ieeefp.h>
40709 #endif
40712 main ()
40714 _finitel(0);
40716 return 0;
40718 _ACEOF
40719 if ac_fn_cxx_try_compile "$LINENO"; then :
40720 glibcxx_cv_func__finitel_use=yes
40721 else
40722 glibcxx_cv_func__finitel_use=no
40724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40725 ac_ext=c
40726 ac_cpp='$CPP $CPPFLAGS'
40727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40736 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40738 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40739 for ac_func in _finitel
40740 do :
40741 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40742 if test "x$ac_cv_func__finitel" = x""yes; then :
40743 cat >>confdefs.h <<_ACEOF
40744 #define HAVE__FINITEL 1
40745 _ACEOF
40748 done
40756 LIBS="$ac_save_LIBS"
40757 CXXFLAGS="$ac_save_CXXFLAGS"
40760 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40761 ac_save_CXXFLAGS="$CXXFLAGS"
40762 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40766 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40767 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40768 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40769 $as_echo_n "(cached) " >&6
40770 else
40773 ac_ext=cpp
40774 ac_cpp='$CXXCPP $CPPFLAGS'
40775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40780 /* end confdefs.h. */
40781 #include <stdlib.h>
40783 main ()
40785 at_quick_exit(0);
40787 return 0;
40789 _ACEOF
40790 if ac_fn_cxx_try_compile "$LINENO"; then :
40791 glibcxx_cv_func_at_quick_exit_use=yes
40792 else
40793 glibcxx_cv_func_at_quick_exit_use=no
40795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40796 ac_ext=c
40797 ac_cpp='$CPP $CPPFLAGS'
40798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40807 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40808 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40809 for ac_func in at_quick_exit
40810 do :
40811 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40812 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40813 cat >>confdefs.h <<_ACEOF
40814 #define HAVE_AT_QUICK_EXIT 1
40815 _ACEOF
40818 done
40823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40824 $as_echo_n "checking for quick_exit declaration... " >&6; }
40825 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40826 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40827 $as_echo_n "(cached) " >&6
40828 else
40831 ac_ext=cpp
40832 ac_cpp='$CXXCPP $CPPFLAGS'
40833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40838 /* end confdefs.h. */
40839 #include <stdlib.h>
40841 main ()
40843 quick_exit(0);
40845 return 0;
40847 _ACEOF
40848 if ac_fn_cxx_try_compile "$LINENO"; then :
40849 glibcxx_cv_func_quick_exit_use=yes
40850 else
40851 glibcxx_cv_func_quick_exit_use=no
40853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40854 ac_ext=c
40855 ac_cpp='$CPP $CPPFLAGS'
40856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40865 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40866 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40867 for ac_func in quick_exit
40868 do :
40869 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40870 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40871 cat >>confdefs.h <<_ACEOF
40872 #define HAVE_QUICK_EXIT 1
40873 _ACEOF
40876 done
40881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40882 $as_echo_n "checking for strtold declaration... " >&6; }
40883 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40884 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40885 $as_echo_n "(cached) " >&6
40886 else
40889 ac_ext=cpp
40890 ac_cpp='$CXXCPP $CPPFLAGS'
40891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40896 /* end confdefs.h. */
40897 #include <stdlib.h>
40899 main ()
40901 strtold(0, 0);
40903 return 0;
40905 _ACEOF
40906 if ac_fn_cxx_try_compile "$LINENO"; then :
40907 glibcxx_cv_func_strtold_use=yes
40908 else
40909 glibcxx_cv_func_strtold_use=no
40911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40912 ac_ext=c
40913 ac_cpp='$CPP $CPPFLAGS'
40914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40923 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40924 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40925 for ac_func in strtold
40926 do :
40927 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40928 if test "x$ac_cv_func_strtold" = x""yes; then :
40929 cat >>confdefs.h <<_ACEOF
40930 #define HAVE_STRTOLD 1
40931 _ACEOF
40934 done
40941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40942 $as_echo_n "checking for strtof declaration... " >&6; }
40943 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40944 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40945 $as_echo_n "(cached) " >&6
40946 else
40949 ac_ext=cpp
40950 ac_cpp='$CXXCPP $CPPFLAGS'
40951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40956 /* end confdefs.h. */
40957 #include <stdlib.h>
40959 main ()
40961 strtof(0, 0);
40963 return 0;
40965 _ACEOF
40966 if ac_fn_cxx_try_compile "$LINENO"; then :
40967 glibcxx_cv_func_strtof_use=yes
40968 else
40969 glibcxx_cv_func_strtof_use=no
40971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40972 ac_ext=c
40973 ac_cpp='$CPP $CPPFLAGS'
40974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40983 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40984 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40985 for ac_func in strtof
40986 do :
40987 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40988 if test "x$ac_cv_func_strtof" = x""yes; then :
40989 cat >>confdefs.h <<_ACEOF
40990 #define HAVE_STRTOF 1
40991 _ACEOF
40994 done
41001 CXXFLAGS="$ac_save_CXXFLAGS"
41008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41009 $as_echo_n "checking for iconv... " >&6; }
41010 if test "${am_cv_func_iconv+set}" = set; then :
41011 $as_echo_n "(cached) " >&6
41012 else
41014 am_cv_func_iconv="no, consider installing GNU libiconv"
41015 am_cv_lib_iconv=no
41016 am_save_CPPFLAGS="$CPPFLAGS"
41017 CPPFLAGS="$CPPFLAGS $INCICONV"
41018 if test x$gcc_no_link = xyes; then
41019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41022 /* end confdefs.h. */
41023 #include <stdlib.h>
41024 #include <iconv.h>
41026 main ()
41028 iconv_t cd = iconv_open("","");
41029 iconv(cd,NULL,NULL,NULL,NULL);
41030 iconv_close(cd);
41032 return 0;
41034 _ACEOF
41035 if ac_fn_c_try_link "$LINENO"; then :
41036 am_cv_func_iconv=yes
41038 rm -f core conftest.err conftest.$ac_objext \
41039 conftest$ac_exeext conftest.$ac_ext
41040 CPPFLAGS="$am_save_CPPFLAGS"
41042 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41043 for _libs in .libs _libs; do
41044 am_save_CPPFLAGS="$CPPFLAGS"
41045 am_save_LIBS="$LIBS"
41046 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41047 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41048 if test x$gcc_no_link = xyes; then
41049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41052 /* end confdefs.h. */
41053 #include <stdlib.h>
41054 #include <iconv.h>
41056 main ()
41058 iconv_t cd = iconv_open("","");
41059 iconv(cd,NULL,NULL,NULL,NULL);
41060 iconv_close(cd);
41062 return 0;
41064 _ACEOF
41065 if ac_fn_c_try_link "$LINENO"; then :
41066 INCICONV="-I../libiconv/include"
41067 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41068 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41069 am_cv_lib_iconv=yes
41070 am_cv_func_iconv=yes
41072 rm -f core conftest.err conftest.$ac_objext \
41073 conftest$ac_exeext conftest.$ac_ext
41074 CPPFLAGS="$am_save_CPPFLAGS"
41075 LIBS="$am_save_LIBS"
41076 if test "$am_cv_func_iconv" = "yes"; then
41077 break
41079 done
41082 if test "$am_cv_func_iconv" != yes; then
41083 am_save_CPPFLAGS="$CPPFLAGS"
41084 am_save_LIBS="$LIBS"
41085 CPPFLAGS="$LIBS $INCICONV"
41086 LIBS="$LIBS $LIBICONV"
41087 if test x$gcc_no_link = xyes; then
41088 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41091 /* end confdefs.h. */
41092 #include <stdlib.h>
41093 #include <iconv.h>
41095 main ()
41097 iconv_t cd = iconv_open("","");
41098 iconv(cd,NULL,NULL,NULL,NULL);
41099 iconv_close(cd);
41101 return 0;
41103 _ACEOF
41104 if ac_fn_c_try_link "$LINENO"; then :
41105 am_cv_lib_iconv=yes
41106 am_cv_func_iconv=yes
41108 rm -f core conftest.err conftest.$ac_objext \
41109 conftest$ac_exeext conftest.$ac_ext
41110 CPPFLAGS="$am_save_CPPFLAGS"
41111 LIBS="$am_save_LIBS"
41115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41116 $as_echo "$am_cv_func_iconv" >&6; }
41117 if test "$am_cv_func_iconv" = yes; then
41119 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41122 if test "$am_cv_lib_iconv" = yes; then
41124 for element in $INCICONV; do
41125 haveit=
41126 for x in $CPPFLAGS; do
41128 acl_save_prefix="$prefix"
41129 prefix="$acl_final_prefix"
41130 acl_save_exec_prefix="$exec_prefix"
41131 exec_prefix="$acl_final_exec_prefix"
41132 eval x=\"$x\"
41133 exec_prefix="$acl_save_exec_prefix"
41134 prefix="$acl_save_prefix"
41136 if test "X$x" = "X$element"; then
41137 haveit=yes
41138 break
41140 done
41141 if test -z "$haveit"; then
41142 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41144 done
41146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41147 $as_echo_n "checking how to link with libiconv... " >&6; }
41148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41149 $as_echo "$LIBICONV" >&6; }
41150 else
41151 LIBICONV=
41152 LTLIBICONV=
41157 if test "$am_cv_func_iconv" = yes; then
41158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41159 $as_echo_n "checking for iconv declaration... " >&6; }
41160 if test "${am_cv_proto_iconv+set}" = set; then :
41161 $as_echo_n "(cached) " >&6
41162 else
41164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41165 /* end confdefs.h. */
41167 #include <stdlib.h>
41168 #include <iconv.h>
41169 extern
41170 #ifdef __cplusplus
41172 #endif
41173 #if defined(__STDC__) || defined(__cplusplus)
41174 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41175 #else
41176 size_t iconv();
41177 #endif
41180 main ()
41184 return 0;
41186 _ACEOF
41187 if ac_fn_c_try_compile "$LINENO"; then :
41188 am_cv_proto_iconv_arg1=""
41189 else
41190 am_cv_proto_iconv_arg1="const"
41192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41193 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);"
41196 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41198 }$am_cv_proto_iconv" >&5
41199 $as_echo "${ac_t:-
41200 }$am_cv_proto_iconv" >&6; }
41202 cat >>confdefs.h <<_ACEOF
41203 #define ICONV_CONST $am_cv_proto_iconv_arg1
41204 _ACEOF
41210 *-aix*)
41212 # If we're not using GNU ld, then there's no point in even trying these
41213 # tests. Check for that first. We should have already tested for gld
41214 # by now (in libtool), but require it now just to be safe...
41215 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41216 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41220 # The name set by libtool depends on the version of libtool. Shame on us
41221 # for depending on an impl detail, but c'est la vie. Older versions used
41222 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41223 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41224 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41225 # set (hence we're using an older libtool), then set it.
41226 if test x${with_gnu_ld+set} != xset; then
41227 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41228 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41229 with_gnu_ld=no
41230 else
41231 with_gnu_ld=$ac_cv_prog_gnu_ld
41235 # Start by getting the version number. I think the libtool test already
41236 # does some of this, but throws away the result.
41237 glibcxx_ld_is_gold=no
41238 if test x"$with_gnu_ld" = x"yes"; then
41239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41240 $as_echo_n "checking for ld version... " >&6; }
41242 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41243 glibcxx_ld_is_gold=yes
41245 ldver=`$LD --version 2>/dev/null |
41246 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'`
41248 glibcxx_gnu_ld_version=`echo $ldver | \
41249 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41251 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41254 # Set --gc-sections.
41255 glibcxx_have_gc_sections=no
41256 if test "$glibcxx_ld_is_gold" = "yes"; then
41257 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41258 glibcxx_have_gc_sections=yes
41260 else
41261 glibcxx_gcsections_min_ld=21602
41262 if test x"$with_gnu_ld" = x"yes" &&
41263 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41264 glibcxx_have_gc_sections=yes
41267 if test "$glibcxx_have_gc_sections" = "yes"; then
41268 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41269 # NB: This flag only works reliably after 2.16.1. Configure tests
41270 # for this are difficult, so hard wire a value that should work.
41272 ac_test_CFLAGS="${CFLAGS+set}"
41273 ac_save_CFLAGS="$CFLAGS"
41274 CFLAGS='-Wl,--gc-sections'
41276 # Check for -Wl,--gc-sections
41277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41278 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41279 if test x$gcc_no_link = xyes; then
41280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41283 /* end confdefs.h. */
41284 int one(void) { return 1; }
41285 int two(void) { return 2; }
41288 main ()
41290 two();
41292 return 0;
41294 _ACEOF
41295 if ac_fn_c_try_link "$LINENO"; then :
41296 ac_gcsections=yes
41297 else
41298 ac_gcsections=no
41300 rm -f core conftest.err conftest.$ac_objext \
41301 conftest$ac_exeext conftest.$ac_ext
41302 if test "$ac_gcsections" = "yes"; then
41303 rm -f conftest.c
41304 touch conftest.c
41305 if $CC -c conftest.c; then
41306 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41307 grep "Warning: gc-sections option ignored" > /dev/null; then
41308 ac_gcsections=no
41311 rm -f conftest.c conftest.o conftest
41313 if test "$ac_gcsections" = "yes"; then
41314 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41317 $as_echo "$ac_gcsections" >&6; }
41319 if test "$ac_test_CFLAGS" = set; then
41320 CFLAGS="$ac_save_CFLAGS"
41321 else
41322 # this is the suspicious part
41323 CFLAGS=''
41327 # Set -z,relro.
41328 # Note this is only for shared objects.
41329 ac_ld_relro=no
41330 if test x"$with_gnu_ld" = x"yes"; then
41331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41332 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41333 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41334 if test -n "$cxx_z_relo"; then
41335 OPT_LDFLAGS="-Wl,-z,relro"
41336 ac_ld_relro=yes
41338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41339 $as_echo "$ac_ld_relro" >&6; }
41342 # Set linker optimization flags.
41343 if test x"$with_gnu_ld" = x"yes"; then
41344 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41351 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41352 ac_save_CXXFLAGS="$CXXFLAGS"
41353 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41356 $as_echo_n "checking for sin in -lm... " >&6; }
41357 if test "${ac_cv_lib_m_sin+set}" = set; then :
41358 $as_echo_n "(cached) " >&6
41359 else
41360 ac_check_lib_save_LIBS=$LIBS
41361 LIBS="-lm $LIBS"
41362 if test x$gcc_no_link = xyes; then
41363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41366 /* end confdefs.h. */
41368 /* Override any GCC internal prototype to avoid an error.
41369 Use char because int might match the return type of a GCC
41370 builtin and then its argument prototype would still apply. */
41371 #ifdef __cplusplus
41372 extern "C"
41373 #endif
41374 char sin ();
41376 main ()
41378 return sin ();
41380 return 0;
41382 _ACEOF
41383 if ac_fn_c_try_link "$LINENO"; then :
41384 ac_cv_lib_m_sin=yes
41385 else
41386 ac_cv_lib_m_sin=no
41388 rm -f core conftest.err conftest.$ac_objext \
41389 conftest$ac_exeext conftest.$ac_ext
41390 LIBS=$ac_check_lib_save_LIBS
41392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41393 $as_echo "$ac_cv_lib_m_sin" >&6; }
41394 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41395 libm="-lm"
41398 ac_save_LIBS="$LIBS"
41399 LIBS="$LIBS $libm"
41403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41404 $as_echo_n "checking for isinf declaration... " >&6; }
41405 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41406 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41407 $as_echo_n "(cached) " >&6
41408 else
41411 ac_ext=cpp
41412 ac_cpp='$CXXCPP $CPPFLAGS'
41413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41418 /* end confdefs.h. */
41419 #include <math.h>
41420 #ifdef HAVE_IEEEFP_H
41421 #include <ieeefp.h>
41422 #endif
41425 main ()
41427 isinf(0);
41429 return 0;
41431 _ACEOF
41432 if ac_fn_cxx_try_compile "$LINENO"; then :
41433 glibcxx_cv_func_isinf_use=yes
41434 else
41435 glibcxx_cv_func_isinf_use=no
41437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41438 ac_ext=c
41439 ac_cpp='$CPP $CPPFLAGS'
41440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41449 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41451 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41452 for ac_func in isinf
41453 do :
41454 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41455 if test "x$ac_cv_func_isinf" = x""yes; then :
41456 cat >>confdefs.h <<_ACEOF
41457 #define HAVE_ISINF 1
41458 _ACEOF
41461 done
41463 else
41465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41466 $as_echo_n "checking for _isinf declaration... " >&6; }
41467 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41468 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41469 $as_echo_n "(cached) " >&6
41470 else
41473 ac_ext=cpp
41474 ac_cpp='$CXXCPP $CPPFLAGS'
41475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41480 /* end confdefs.h. */
41481 #include <math.h>
41482 #ifdef HAVE_IEEEFP_H
41483 #include <ieeefp.h>
41484 #endif
41487 main ()
41489 _isinf(0);
41491 return 0;
41493 _ACEOF
41494 if ac_fn_cxx_try_compile "$LINENO"; then :
41495 glibcxx_cv_func__isinf_use=yes
41496 else
41497 glibcxx_cv_func__isinf_use=no
41499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41500 ac_ext=c
41501 ac_cpp='$CPP $CPPFLAGS'
41502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41511 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41513 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41514 for ac_func in _isinf
41515 do :
41516 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41517 if test "x$ac_cv_func__isinf" = x""yes; then :
41518 cat >>confdefs.h <<_ACEOF
41519 #define HAVE__ISINF 1
41520 _ACEOF
41523 done
41532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41533 $as_echo_n "checking for isnan declaration... " >&6; }
41534 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41535 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41536 $as_echo_n "(cached) " >&6
41537 else
41540 ac_ext=cpp
41541 ac_cpp='$CXXCPP $CPPFLAGS'
41542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41547 /* end confdefs.h. */
41548 #include <math.h>
41549 #ifdef HAVE_IEEEFP_H
41550 #include <ieeefp.h>
41551 #endif
41554 main ()
41556 isnan(0);
41558 return 0;
41560 _ACEOF
41561 if ac_fn_cxx_try_compile "$LINENO"; then :
41562 glibcxx_cv_func_isnan_use=yes
41563 else
41564 glibcxx_cv_func_isnan_use=no
41566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41567 ac_ext=c
41568 ac_cpp='$CPP $CPPFLAGS'
41569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41578 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41580 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41581 for ac_func in isnan
41582 do :
41583 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41584 if test "x$ac_cv_func_isnan" = x""yes; then :
41585 cat >>confdefs.h <<_ACEOF
41586 #define HAVE_ISNAN 1
41587 _ACEOF
41590 done
41592 else
41594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41595 $as_echo_n "checking for _isnan declaration... " >&6; }
41596 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41597 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41598 $as_echo_n "(cached) " >&6
41599 else
41602 ac_ext=cpp
41603 ac_cpp='$CXXCPP $CPPFLAGS'
41604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41609 /* end confdefs.h. */
41610 #include <math.h>
41611 #ifdef HAVE_IEEEFP_H
41612 #include <ieeefp.h>
41613 #endif
41616 main ()
41618 _isnan(0);
41620 return 0;
41622 _ACEOF
41623 if ac_fn_cxx_try_compile "$LINENO"; then :
41624 glibcxx_cv_func__isnan_use=yes
41625 else
41626 glibcxx_cv_func__isnan_use=no
41628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41629 ac_ext=c
41630 ac_cpp='$CPP $CPPFLAGS'
41631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41640 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41642 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41643 for ac_func in _isnan
41644 do :
41645 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41646 if test "x$ac_cv_func__isnan" = x""yes; then :
41647 cat >>confdefs.h <<_ACEOF
41648 #define HAVE__ISNAN 1
41649 _ACEOF
41652 done
41661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41662 $as_echo_n "checking for finite declaration... " >&6; }
41663 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41664 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41665 $as_echo_n "(cached) " >&6
41666 else
41669 ac_ext=cpp
41670 ac_cpp='$CXXCPP $CPPFLAGS'
41671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41676 /* end confdefs.h. */
41677 #include <math.h>
41678 #ifdef HAVE_IEEEFP_H
41679 #include <ieeefp.h>
41680 #endif
41683 main ()
41685 finite(0);
41687 return 0;
41689 _ACEOF
41690 if ac_fn_cxx_try_compile "$LINENO"; then :
41691 glibcxx_cv_func_finite_use=yes
41692 else
41693 glibcxx_cv_func_finite_use=no
41695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41696 ac_ext=c
41697 ac_cpp='$CPP $CPPFLAGS'
41698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41707 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41709 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41710 for ac_func in finite
41711 do :
41712 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41713 if test "x$ac_cv_func_finite" = x""yes; then :
41714 cat >>confdefs.h <<_ACEOF
41715 #define HAVE_FINITE 1
41716 _ACEOF
41719 done
41721 else
41723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41724 $as_echo_n "checking for _finite declaration... " >&6; }
41725 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41726 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41727 $as_echo_n "(cached) " >&6
41728 else
41731 ac_ext=cpp
41732 ac_cpp='$CXXCPP $CPPFLAGS'
41733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41738 /* end confdefs.h. */
41739 #include <math.h>
41740 #ifdef HAVE_IEEEFP_H
41741 #include <ieeefp.h>
41742 #endif
41745 main ()
41747 _finite(0);
41749 return 0;
41751 _ACEOF
41752 if ac_fn_cxx_try_compile "$LINENO"; then :
41753 glibcxx_cv_func__finite_use=yes
41754 else
41755 glibcxx_cv_func__finite_use=no
41757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41758 ac_ext=c
41759 ac_cpp='$CPP $CPPFLAGS'
41760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41769 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41771 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41772 for ac_func in _finite
41773 do :
41774 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41775 if test "x$ac_cv_func__finite" = x""yes; then :
41776 cat >>confdefs.h <<_ACEOF
41777 #define HAVE__FINITE 1
41778 _ACEOF
41781 done
41790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41791 $as_echo_n "checking for sincos declaration... " >&6; }
41792 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41793 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41794 $as_echo_n "(cached) " >&6
41795 else
41798 ac_ext=cpp
41799 ac_cpp='$CXXCPP $CPPFLAGS'
41800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41805 /* end confdefs.h. */
41806 #include <math.h>
41808 main ()
41810 sincos(0, 0, 0);
41812 return 0;
41814 _ACEOF
41815 if ac_fn_cxx_try_compile "$LINENO"; then :
41816 glibcxx_cv_func_sincos_use=yes
41817 else
41818 glibcxx_cv_func_sincos_use=no
41820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41821 ac_ext=c
41822 ac_cpp='$CPP $CPPFLAGS'
41823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41832 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41834 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41835 for ac_func in sincos
41836 do :
41837 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41838 if test "x$ac_cv_func_sincos" = x""yes; then :
41839 cat >>confdefs.h <<_ACEOF
41840 #define HAVE_SINCOS 1
41841 _ACEOF
41844 done
41846 else
41848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41849 $as_echo_n "checking for _sincos declaration... " >&6; }
41850 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41851 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41852 $as_echo_n "(cached) " >&6
41853 else
41856 ac_ext=cpp
41857 ac_cpp='$CXXCPP $CPPFLAGS'
41858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41863 /* end confdefs.h. */
41864 #include <math.h>
41866 main ()
41868 _sincos(0, 0, 0);
41870 return 0;
41872 _ACEOF
41873 if ac_fn_cxx_try_compile "$LINENO"; then :
41874 glibcxx_cv_func__sincos_use=yes
41875 else
41876 glibcxx_cv_func__sincos_use=no
41878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41879 ac_ext=c
41880 ac_cpp='$CPP $CPPFLAGS'
41881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41890 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41892 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41893 for ac_func in _sincos
41894 do :
41895 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41896 if test "x$ac_cv_func__sincos" = x""yes; then :
41897 cat >>confdefs.h <<_ACEOF
41898 #define HAVE__SINCOS 1
41899 _ACEOF
41902 done
41911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41912 $as_echo_n "checking for fpclass declaration... " >&6; }
41913 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41914 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41915 $as_echo_n "(cached) " >&6
41916 else
41919 ac_ext=cpp
41920 ac_cpp='$CXXCPP $CPPFLAGS'
41921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41926 /* end confdefs.h. */
41927 #include <math.h>
41928 #ifdef HAVE_IEEEFP_H
41929 #include <ieeefp.h>
41930 #endif
41933 main ()
41935 fpclass(0);
41937 return 0;
41939 _ACEOF
41940 if ac_fn_cxx_try_compile "$LINENO"; then :
41941 glibcxx_cv_func_fpclass_use=yes
41942 else
41943 glibcxx_cv_func_fpclass_use=no
41945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41946 ac_ext=c
41947 ac_cpp='$CPP $CPPFLAGS'
41948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41957 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41959 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41960 for ac_func in fpclass
41961 do :
41962 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41963 if test "x$ac_cv_func_fpclass" = x""yes; then :
41964 cat >>confdefs.h <<_ACEOF
41965 #define HAVE_FPCLASS 1
41966 _ACEOF
41969 done
41971 else
41973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41974 $as_echo_n "checking for _fpclass declaration... " >&6; }
41975 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41976 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41977 $as_echo_n "(cached) " >&6
41978 else
41981 ac_ext=cpp
41982 ac_cpp='$CXXCPP $CPPFLAGS'
41983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41988 /* end confdefs.h. */
41989 #include <math.h>
41990 #ifdef HAVE_IEEEFP_H
41991 #include <ieeefp.h>
41992 #endif
41995 main ()
41997 _fpclass(0);
41999 return 0;
42001 _ACEOF
42002 if ac_fn_cxx_try_compile "$LINENO"; then :
42003 glibcxx_cv_func__fpclass_use=yes
42004 else
42005 glibcxx_cv_func__fpclass_use=no
42007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42008 ac_ext=c
42009 ac_cpp='$CPP $CPPFLAGS'
42010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42019 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42021 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42022 for ac_func in _fpclass
42023 do :
42024 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42025 if test "x$ac_cv_func__fpclass" = x""yes; then :
42026 cat >>confdefs.h <<_ACEOF
42027 #define HAVE__FPCLASS 1
42028 _ACEOF
42031 done
42040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42041 $as_echo_n "checking for qfpclass declaration... " >&6; }
42042 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42043 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42044 $as_echo_n "(cached) " >&6
42045 else
42048 ac_ext=cpp
42049 ac_cpp='$CXXCPP $CPPFLAGS'
42050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42055 /* end confdefs.h. */
42056 #include <math.h>
42057 #ifdef HAVE_IEEEFP_H
42058 #include <ieeefp.h>
42059 #endif
42062 main ()
42064 qfpclass(0);
42066 return 0;
42068 _ACEOF
42069 if ac_fn_cxx_try_compile "$LINENO"; then :
42070 glibcxx_cv_func_qfpclass_use=yes
42071 else
42072 glibcxx_cv_func_qfpclass_use=no
42074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42075 ac_ext=c
42076 ac_cpp='$CPP $CPPFLAGS'
42077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42086 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42088 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42089 for ac_func in qfpclass
42090 do :
42091 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42092 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42093 cat >>confdefs.h <<_ACEOF
42094 #define HAVE_QFPCLASS 1
42095 _ACEOF
42098 done
42100 else
42102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42103 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42104 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42105 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42106 $as_echo_n "(cached) " >&6
42107 else
42110 ac_ext=cpp
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117 /* end confdefs.h. */
42118 #include <math.h>
42119 #ifdef HAVE_IEEEFP_H
42120 #include <ieeefp.h>
42121 #endif
42124 main ()
42126 _qfpclass(0);
42128 return 0;
42130 _ACEOF
42131 if ac_fn_cxx_try_compile "$LINENO"; then :
42132 glibcxx_cv_func__qfpclass_use=yes
42133 else
42134 glibcxx_cv_func__qfpclass_use=no
42136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42137 ac_ext=c
42138 ac_cpp='$CPP $CPPFLAGS'
42139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42148 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42150 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42151 for ac_func in _qfpclass
42152 do :
42153 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42154 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42155 cat >>confdefs.h <<_ACEOF
42156 #define HAVE__QFPCLASS 1
42157 _ACEOF
42160 done
42169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42170 $as_echo_n "checking for hypot declaration... " >&6; }
42171 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42172 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42173 $as_echo_n "(cached) " >&6
42174 else
42177 ac_ext=cpp
42178 ac_cpp='$CXXCPP $CPPFLAGS'
42179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42184 /* end confdefs.h. */
42185 #include <math.h>
42187 main ()
42189 hypot(0, 0);
42191 return 0;
42193 _ACEOF
42194 if ac_fn_cxx_try_compile "$LINENO"; then :
42195 glibcxx_cv_func_hypot_use=yes
42196 else
42197 glibcxx_cv_func_hypot_use=no
42199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42200 ac_ext=c
42201 ac_cpp='$CPP $CPPFLAGS'
42202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42211 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42213 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42214 for ac_func in hypot
42215 do :
42216 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42217 if test "x$ac_cv_func_hypot" = x""yes; then :
42218 cat >>confdefs.h <<_ACEOF
42219 #define HAVE_HYPOT 1
42220 _ACEOF
42223 done
42225 else
42227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42228 $as_echo_n "checking for _hypot declaration... " >&6; }
42229 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42230 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42231 $as_echo_n "(cached) " >&6
42232 else
42235 ac_ext=cpp
42236 ac_cpp='$CXXCPP $CPPFLAGS'
42237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42242 /* end confdefs.h. */
42243 #include <math.h>
42245 main ()
42247 _hypot(0, 0);
42249 return 0;
42251 _ACEOF
42252 if ac_fn_cxx_try_compile "$LINENO"; then :
42253 glibcxx_cv_func__hypot_use=yes
42254 else
42255 glibcxx_cv_func__hypot_use=no
42257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42258 ac_ext=c
42259 ac_cpp='$CPP $CPPFLAGS'
42260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42269 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42271 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42272 for ac_func in _hypot
42273 do :
42274 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42275 if test "x$ac_cv_func__hypot" = x""yes; then :
42276 cat >>confdefs.h <<_ACEOF
42277 #define HAVE__HYPOT 1
42278 _ACEOF
42281 done
42290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42291 $as_echo_n "checking for float trig functions... " >&6; }
42292 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42293 $as_echo_n "(cached) " >&6
42294 else
42297 ac_ext=cpp
42298 ac_cpp='$CXXCPP $CPPFLAGS'
42299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42304 /* end confdefs.h. */
42305 #include <math.h>
42307 main ()
42309 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42311 return 0;
42313 _ACEOF
42314 if ac_fn_cxx_try_compile "$LINENO"; then :
42315 glibcxx_cv_func_float_trig_use=yes
42316 else
42317 glibcxx_cv_func_float_trig_use=no
42319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42320 ac_ext=c
42321 ac_cpp='$CPP $CPPFLAGS'
42322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42329 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42330 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42331 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42332 do :
42333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42335 eval as_val=\$$as_ac_var
42336 if test "x$as_val" = x""yes; then :
42337 cat >>confdefs.h <<_ACEOF
42338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42339 _ACEOF
42342 done
42344 else
42345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42346 $as_echo_n "checking for _float trig functions... " >&6; }
42347 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42348 $as_echo_n "(cached) " >&6
42349 else
42352 ac_ext=cpp
42353 ac_cpp='$CXXCPP $CPPFLAGS'
42354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42359 /* end confdefs.h. */
42360 #include <math.h>
42362 main ()
42364 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42366 return 0;
42368 _ACEOF
42369 if ac_fn_cxx_try_compile "$LINENO"; then :
42370 glibcxx_cv_func__float_trig_use=yes
42371 else
42372 glibcxx_cv_func__float_trig_use=no
42374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42375 ac_ext=c
42376 ac_cpp='$CPP $CPPFLAGS'
42377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42384 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42385 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42386 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42387 do :
42388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42390 eval as_val=\$$as_ac_var
42391 if test "x$as_val" = x""yes; then :
42392 cat >>confdefs.h <<_ACEOF
42393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42394 _ACEOF
42397 done
42406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42407 $as_echo_n "checking for float round functions... " >&6; }
42408 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42409 $as_echo_n "(cached) " >&6
42410 else
42413 ac_ext=cpp
42414 ac_cpp='$CXXCPP $CPPFLAGS'
42415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42420 /* end confdefs.h. */
42421 #include <math.h>
42423 main ()
42425 ceilf (0); floorf (0);
42427 return 0;
42429 _ACEOF
42430 if ac_fn_cxx_try_compile "$LINENO"; then :
42431 glibcxx_cv_func_float_round_use=yes
42432 else
42433 glibcxx_cv_func_float_round_use=no
42435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42436 ac_ext=c
42437 ac_cpp='$CPP $CPPFLAGS'
42438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42445 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42446 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42447 for ac_func in ceilf floorf
42448 do :
42449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42451 eval as_val=\$$as_ac_var
42452 if test "x$as_val" = x""yes; then :
42453 cat >>confdefs.h <<_ACEOF
42454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42455 _ACEOF
42458 done
42460 else
42461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42462 $as_echo_n "checking for _float round functions... " >&6; }
42463 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42464 $as_echo_n "(cached) " >&6
42465 else
42468 ac_ext=cpp
42469 ac_cpp='$CXXCPP $CPPFLAGS'
42470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42475 /* end confdefs.h. */
42476 #include <math.h>
42478 main ()
42480 _ceilf (0); _floorf (0);
42482 return 0;
42484 _ACEOF
42485 if ac_fn_cxx_try_compile "$LINENO"; then :
42486 glibcxx_cv_func__float_round_use=yes
42487 else
42488 glibcxx_cv_func__float_round_use=no
42490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42491 ac_ext=c
42492 ac_cpp='$CPP $CPPFLAGS'
42493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42500 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42501 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42502 for ac_func in _ceilf _floorf
42503 do :
42504 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42505 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42506 eval as_val=\$$as_ac_var
42507 if test "x$as_val" = x""yes; then :
42508 cat >>confdefs.h <<_ACEOF
42509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42510 _ACEOF
42513 done
42523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42524 $as_echo_n "checking for expf declaration... " >&6; }
42525 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42526 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42527 $as_echo_n "(cached) " >&6
42528 else
42531 ac_ext=cpp
42532 ac_cpp='$CXXCPP $CPPFLAGS'
42533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42538 /* end confdefs.h. */
42539 #include <math.h>
42540 #ifdef HAVE_IEEEFP_H
42541 #include <ieeefp.h>
42542 #endif
42545 main ()
42547 expf(0);
42549 return 0;
42551 _ACEOF
42552 if ac_fn_cxx_try_compile "$LINENO"; then :
42553 glibcxx_cv_func_expf_use=yes
42554 else
42555 glibcxx_cv_func_expf_use=no
42557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42558 ac_ext=c
42559 ac_cpp='$CPP $CPPFLAGS'
42560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42569 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42571 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42572 for ac_func in expf
42573 do :
42574 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42575 if test "x$ac_cv_func_expf" = x""yes; then :
42576 cat >>confdefs.h <<_ACEOF
42577 #define HAVE_EXPF 1
42578 _ACEOF
42581 done
42583 else
42585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42586 $as_echo_n "checking for _expf declaration... " >&6; }
42587 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42588 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42589 $as_echo_n "(cached) " >&6
42590 else
42593 ac_ext=cpp
42594 ac_cpp='$CXXCPP $CPPFLAGS'
42595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42600 /* end confdefs.h. */
42601 #include <math.h>
42602 #ifdef HAVE_IEEEFP_H
42603 #include <ieeefp.h>
42604 #endif
42607 main ()
42609 _expf(0);
42611 return 0;
42613 _ACEOF
42614 if ac_fn_cxx_try_compile "$LINENO"; then :
42615 glibcxx_cv_func__expf_use=yes
42616 else
42617 glibcxx_cv_func__expf_use=no
42619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42620 ac_ext=c
42621 ac_cpp='$CPP $CPPFLAGS'
42622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42631 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42633 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42634 for ac_func in _expf
42635 do :
42636 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42637 if test "x$ac_cv_func__expf" = x""yes; then :
42638 cat >>confdefs.h <<_ACEOF
42639 #define HAVE__EXPF 1
42640 _ACEOF
42643 done
42652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42653 $as_echo_n "checking for isnanf declaration... " >&6; }
42654 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42655 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42656 $as_echo_n "(cached) " >&6
42657 else
42660 ac_ext=cpp
42661 ac_cpp='$CXXCPP $CPPFLAGS'
42662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42667 /* end confdefs.h. */
42668 #include <math.h>
42669 #ifdef HAVE_IEEEFP_H
42670 #include <ieeefp.h>
42671 #endif
42674 main ()
42676 isnanf(0);
42678 return 0;
42680 _ACEOF
42681 if ac_fn_cxx_try_compile "$LINENO"; then :
42682 glibcxx_cv_func_isnanf_use=yes
42683 else
42684 glibcxx_cv_func_isnanf_use=no
42686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42687 ac_ext=c
42688 ac_cpp='$CPP $CPPFLAGS'
42689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42698 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42700 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42701 for ac_func in isnanf
42702 do :
42703 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42704 if test "x$ac_cv_func_isnanf" = x""yes; then :
42705 cat >>confdefs.h <<_ACEOF
42706 #define HAVE_ISNANF 1
42707 _ACEOF
42710 done
42712 else
42714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42715 $as_echo_n "checking for _isnanf declaration... " >&6; }
42716 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42717 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42718 $as_echo_n "(cached) " >&6
42719 else
42722 ac_ext=cpp
42723 ac_cpp='$CXXCPP $CPPFLAGS'
42724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42729 /* end confdefs.h. */
42730 #include <math.h>
42731 #ifdef HAVE_IEEEFP_H
42732 #include <ieeefp.h>
42733 #endif
42736 main ()
42738 _isnanf(0);
42740 return 0;
42742 _ACEOF
42743 if ac_fn_cxx_try_compile "$LINENO"; then :
42744 glibcxx_cv_func__isnanf_use=yes
42745 else
42746 glibcxx_cv_func__isnanf_use=no
42748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42749 ac_ext=c
42750 ac_cpp='$CPP $CPPFLAGS'
42751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42760 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42762 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42763 for ac_func in _isnanf
42764 do :
42765 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42766 if test "x$ac_cv_func__isnanf" = x""yes; then :
42767 cat >>confdefs.h <<_ACEOF
42768 #define HAVE__ISNANF 1
42769 _ACEOF
42772 done
42781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42782 $as_echo_n "checking for isinff declaration... " >&6; }
42783 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42784 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42785 $as_echo_n "(cached) " >&6
42786 else
42789 ac_ext=cpp
42790 ac_cpp='$CXXCPP $CPPFLAGS'
42791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42796 /* end confdefs.h. */
42797 #include <math.h>
42798 #ifdef HAVE_IEEEFP_H
42799 #include <ieeefp.h>
42800 #endif
42803 main ()
42805 isinff(0);
42807 return 0;
42809 _ACEOF
42810 if ac_fn_cxx_try_compile "$LINENO"; then :
42811 glibcxx_cv_func_isinff_use=yes
42812 else
42813 glibcxx_cv_func_isinff_use=no
42815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42816 ac_ext=c
42817 ac_cpp='$CPP $CPPFLAGS'
42818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42827 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42829 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42830 for ac_func in isinff
42831 do :
42832 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42833 if test "x$ac_cv_func_isinff" = x""yes; then :
42834 cat >>confdefs.h <<_ACEOF
42835 #define HAVE_ISINFF 1
42836 _ACEOF
42839 done
42841 else
42843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42844 $as_echo_n "checking for _isinff declaration... " >&6; }
42845 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42846 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42847 $as_echo_n "(cached) " >&6
42848 else
42851 ac_ext=cpp
42852 ac_cpp='$CXXCPP $CPPFLAGS'
42853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42858 /* end confdefs.h. */
42859 #include <math.h>
42860 #ifdef HAVE_IEEEFP_H
42861 #include <ieeefp.h>
42862 #endif
42865 main ()
42867 _isinff(0);
42869 return 0;
42871 _ACEOF
42872 if ac_fn_cxx_try_compile "$LINENO"; then :
42873 glibcxx_cv_func__isinff_use=yes
42874 else
42875 glibcxx_cv_func__isinff_use=no
42877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42878 ac_ext=c
42879 ac_cpp='$CPP $CPPFLAGS'
42880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42889 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42891 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42892 for ac_func in _isinff
42893 do :
42894 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42895 if test "x$ac_cv_func__isinff" = x""yes; then :
42896 cat >>confdefs.h <<_ACEOF
42897 #define HAVE__ISINFF 1
42898 _ACEOF
42901 done
42910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42911 $as_echo_n "checking for atan2f declaration... " >&6; }
42912 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42913 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42914 $as_echo_n "(cached) " >&6
42915 else
42918 ac_ext=cpp
42919 ac_cpp='$CXXCPP $CPPFLAGS'
42920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42925 /* end confdefs.h. */
42926 #include <math.h>
42928 main ()
42930 atan2f(0, 0);
42932 return 0;
42934 _ACEOF
42935 if ac_fn_cxx_try_compile "$LINENO"; then :
42936 glibcxx_cv_func_atan2f_use=yes
42937 else
42938 glibcxx_cv_func_atan2f_use=no
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941 ac_ext=c
42942 ac_cpp='$CPP $CPPFLAGS'
42943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42952 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42954 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42955 for ac_func in atan2f
42956 do :
42957 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42958 if test "x$ac_cv_func_atan2f" = x""yes; then :
42959 cat >>confdefs.h <<_ACEOF
42960 #define HAVE_ATAN2F 1
42961 _ACEOF
42964 done
42966 else
42968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42969 $as_echo_n "checking for _atan2f declaration... " >&6; }
42970 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42971 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42972 $as_echo_n "(cached) " >&6
42973 else
42976 ac_ext=cpp
42977 ac_cpp='$CXXCPP $CPPFLAGS'
42978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42983 /* end confdefs.h. */
42984 #include <math.h>
42986 main ()
42988 _atan2f(0, 0);
42990 return 0;
42992 _ACEOF
42993 if ac_fn_cxx_try_compile "$LINENO"; then :
42994 glibcxx_cv_func__atan2f_use=yes
42995 else
42996 glibcxx_cv_func__atan2f_use=no
42998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42999 ac_ext=c
43000 ac_cpp='$CPP $CPPFLAGS'
43001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43010 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43012 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43013 for ac_func in _atan2f
43014 do :
43015 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43016 if test "x$ac_cv_func__atan2f" = x""yes; then :
43017 cat >>confdefs.h <<_ACEOF
43018 #define HAVE__ATAN2F 1
43019 _ACEOF
43022 done
43031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43032 $as_echo_n "checking for fabsf declaration... " >&6; }
43033 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43034 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43035 $as_echo_n "(cached) " >&6
43036 else
43039 ac_ext=cpp
43040 ac_cpp='$CXXCPP $CPPFLAGS'
43041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43046 /* end confdefs.h. */
43047 #include <math.h>
43048 #ifdef HAVE_IEEEFP_H
43049 #include <ieeefp.h>
43050 #endif
43053 main ()
43055 fabsf(0);
43057 return 0;
43059 _ACEOF
43060 if ac_fn_cxx_try_compile "$LINENO"; then :
43061 glibcxx_cv_func_fabsf_use=yes
43062 else
43063 glibcxx_cv_func_fabsf_use=no
43065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43066 ac_ext=c
43067 ac_cpp='$CPP $CPPFLAGS'
43068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43077 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43079 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43080 for ac_func in fabsf
43081 do :
43082 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43083 if test "x$ac_cv_func_fabsf" = x""yes; then :
43084 cat >>confdefs.h <<_ACEOF
43085 #define HAVE_FABSF 1
43086 _ACEOF
43089 done
43091 else
43093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43094 $as_echo_n "checking for _fabsf declaration... " >&6; }
43095 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43096 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43097 $as_echo_n "(cached) " >&6
43098 else
43101 ac_ext=cpp
43102 ac_cpp='$CXXCPP $CPPFLAGS'
43103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43108 /* end confdefs.h. */
43109 #include <math.h>
43110 #ifdef HAVE_IEEEFP_H
43111 #include <ieeefp.h>
43112 #endif
43115 main ()
43117 _fabsf(0);
43119 return 0;
43121 _ACEOF
43122 if ac_fn_cxx_try_compile "$LINENO"; then :
43123 glibcxx_cv_func__fabsf_use=yes
43124 else
43125 glibcxx_cv_func__fabsf_use=no
43127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43128 ac_ext=c
43129 ac_cpp='$CPP $CPPFLAGS'
43130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43139 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43141 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43142 for ac_func in _fabsf
43143 do :
43144 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43145 if test "x$ac_cv_func__fabsf" = x""yes; then :
43146 cat >>confdefs.h <<_ACEOF
43147 #define HAVE__FABSF 1
43148 _ACEOF
43151 done
43160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43161 $as_echo_n "checking for fmodf declaration... " >&6; }
43162 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43163 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43164 $as_echo_n "(cached) " >&6
43165 else
43168 ac_ext=cpp
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43175 /* end confdefs.h. */
43176 #include <math.h>
43178 main ()
43180 fmodf(0, 0);
43182 return 0;
43184 _ACEOF
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186 glibcxx_cv_func_fmodf_use=yes
43187 else
43188 glibcxx_cv_func_fmodf_use=no
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43191 ac_ext=c
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43202 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43204 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43205 for ac_func in fmodf
43206 do :
43207 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43208 if test "x$ac_cv_func_fmodf" = x""yes; then :
43209 cat >>confdefs.h <<_ACEOF
43210 #define HAVE_FMODF 1
43211 _ACEOF
43214 done
43216 else
43218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43219 $as_echo_n "checking for _fmodf declaration... " >&6; }
43220 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43221 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43222 $as_echo_n "(cached) " >&6
43223 else
43226 ac_ext=cpp
43227 ac_cpp='$CXXCPP $CPPFLAGS'
43228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43233 /* end confdefs.h. */
43234 #include <math.h>
43236 main ()
43238 _fmodf(0, 0);
43240 return 0;
43242 _ACEOF
43243 if ac_fn_cxx_try_compile "$LINENO"; then :
43244 glibcxx_cv_func__fmodf_use=yes
43245 else
43246 glibcxx_cv_func__fmodf_use=no
43248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43249 ac_ext=c
43250 ac_cpp='$CPP $CPPFLAGS'
43251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43260 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43262 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43263 for ac_func in _fmodf
43264 do :
43265 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43266 if test "x$ac_cv_func__fmodf" = x""yes; then :
43267 cat >>confdefs.h <<_ACEOF
43268 #define HAVE__FMODF 1
43269 _ACEOF
43272 done
43281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43282 $as_echo_n "checking for frexpf declaration... " >&6; }
43283 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43284 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43285 $as_echo_n "(cached) " >&6
43286 else
43289 ac_ext=cpp
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h. */
43297 #include <math.h>
43299 main ()
43301 frexpf(0, 0);
43303 return 0;
43305 _ACEOF
43306 if ac_fn_cxx_try_compile "$LINENO"; then :
43307 glibcxx_cv_func_frexpf_use=yes
43308 else
43309 glibcxx_cv_func_frexpf_use=no
43311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43312 ac_ext=c
43313 ac_cpp='$CPP $CPPFLAGS'
43314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43323 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43325 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43326 for ac_func in frexpf
43327 do :
43328 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43329 if test "x$ac_cv_func_frexpf" = x""yes; then :
43330 cat >>confdefs.h <<_ACEOF
43331 #define HAVE_FREXPF 1
43332 _ACEOF
43335 done
43337 else
43339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43340 $as_echo_n "checking for _frexpf declaration... " >&6; }
43341 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43342 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43343 $as_echo_n "(cached) " >&6
43344 else
43347 ac_ext=cpp
43348 ac_cpp='$CXXCPP $CPPFLAGS'
43349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43354 /* end confdefs.h. */
43355 #include <math.h>
43357 main ()
43359 _frexpf(0, 0);
43361 return 0;
43363 _ACEOF
43364 if ac_fn_cxx_try_compile "$LINENO"; then :
43365 glibcxx_cv_func__frexpf_use=yes
43366 else
43367 glibcxx_cv_func__frexpf_use=no
43369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43370 ac_ext=c
43371 ac_cpp='$CPP $CPPFLAGS'
43372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43381 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43383 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43384 for ac_func in _frexpf
43385 do :
43386 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43387 if test "x$ac_cv_func__frexpf" = x""yes; then :
43388 cat >>confdefs.h <<_ACEOF
43389 #define HAVE__FREXPF 1
43390 _ACEOF
43393 done
43402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43403 $as_echo_n "checking for hypotf declaration... " >&6; }
43404 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43405 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43406 $as_echo_n "(cached) " >&6
43407 else
43410 ac_ext=cpp
43411 ac_cpp='$CXXCPP $CPPFLAGS'
43412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43417 /* end confdefs.h. */
43418 #include <math.h>
43420 main ()
43422 hypotf(0, 0);
43424 return 0;
43426 _ACEOF
43427 if ac_fn_cxx_try_compile "$LINENO"; then :
43428 glibcxx_cv_func_hypotf_use=yes
43429 else
43430 glibcxx_cv_func_hypotf_use=no
43432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43433 ac_ext=c
43434 ac_cpp='$CPP $CPPFLAGS'
43435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43444 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43446 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43447 for ac_func in hypotf
43448 do :
43449 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43450 if test "x$ac_cv_func_hypotf" = x""yes; then :
43451 cat >>confdefs.h <<_ACEOF
43452 #define HAVE_HYPOTF 1
43453 _ACEOF
43456 done
43458 else
43460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43461 $as_echo_n "checking for _hypotf declaration... " >&6; }
43462 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43463 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43464 $as_echo_n "(cached) " >&6
43465 else
43468 ac_ext=cpp
43469 ac_cpp='$CXXCPP $CPPFLAGS'
43470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43475 /* end confdefs.h. */
43476 #include <math.h>
43478 main ()
43480 _hypotf(0, 0);
43482 return 0;
43484 _ACEOF
43485 if ac_fn_cxx_try_compile "$LINENO"; then :
43486 glibcxx_cv_func__hypotf_use=yes
43487 else
43488 glibcxx_cv_func__hypotf_use=no
43490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43491 ac_ext=c
43492 ac_cpp='$CPP $CPPFLAGS'
43493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43502 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43504 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43505 for ac_func in _hypotf
43506 do :
43507 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43508 if test "x$ac_cv_func__hypotf" = x""yes; then :
43509 cat >>confdefs.h <<_ACEOF
43510 #define HAVE__HYPOTF 1
43511 _ACEOF
43514 done
43523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43524 $as_echo_n "checking for ldexpf declaration... " >&6; }
43525 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43526 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43527 $as_echo_n "(cached) " >&6
43528 else
43531 ac_ext=cpp
43532 ac_cpp='$CXXCPP $CPPFLAGS'
43533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43538 /* end confdefs.h. */
43539 #include <math.h>
43541 main ()
43543 ldexpf(0, 0);
43545 return 0;
43547 _ACEOF
43548 if ac_fn_cxx_try_compile "$LINENO"; then :
43549 glibcxx_cv_func_ldexpf_use=yes
43550 else
43551 glibcxx_cv_func_ldexpf_use=no
43553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43554 ac_ext=c
43555 ac_cpp='$CPP $CPPFLAGS'
43556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43565 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43567 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43568 for ac_func in ldexpf
43569 do :
43570 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43571 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43572 cat >>confdefs.h <<_ACEOF
43573 #define HAVE_LDEXPF 1
43574 _ACEOF
43577 done
43579 else
43581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43582 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43583 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43584 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43585 $as_echo_n "(cached) " >&6
43586 else
43589 ac_ext=cpp
43590 ac_cpp='$CXXCPP $CPPFLAGS'
43591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43596 /* end confdefs.h. */
43597 #include <math.h>
43599 main ()
43601 _ldexpf(0, 0);
43603 return 0;
43605 _ACEOF
43606 if ac_fn_cxx_try_compile "$LINENO"; then :
43607 glibcxx_cv_func__ldexpf_use=yes
43608 else
43609 glibcxx_cv_func__ldexpf_use=no
43611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43612 ac_ext=c
43613 ac_cpp='$CPP $CPPFLAGS'
43614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43623 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43625 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43626 for ac_func in _ldexpf
43627 do :
43628 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43629 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43630 cat >>confdefs.h <<_ACEOF
43631 #define HAVE__LDEXPF 1
43632 _ACEOF
43635 done
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43645 $as_echo_n "checking for logf declaration... " >&6; }
43646 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43647 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43648 $as_echo_n "(cached) " >&6
43649 else
43652 ac_ext=cpp
43653 ac_cpp='$CXXCPP $CPPFLAGS'
43654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43659 /* end confdefs.h. */
43660 #include <math.h>
43661 #ifdef HAVE_IEEEFP_H
43662 #include <ieeefp.h>
43663 #endif
43666 main ()
43668 logf(0);
43670 return 0;
43672 _ACEOF
43673 if ac_fn_cxx_try_compile "$LINENO"; then :
43674 glibcxx_cv_func_logf_use=yes
43675 else
43676 glibcxx_cv_func_logf_use=no
43678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43679 ac_ext=c
43680 ac_cpp='$CPP $CPPFLAGS'
43681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43690 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43692 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43693 for ac_func in logf
43694 do :
43695 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43696 if test "x$ac_cv_func_logf" = x""yes; then :
43697 cat >>confdefs.h <<_ACEOF
43698 #define HAVE_LOGF 1
43699 _ACEOF
43702 done
43704 else
43706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43707 $as_echo_n "checking for _logf declaration... " >&6; }
43708 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43709 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43710 $as_echo_n "(cached) " >&6
43711 else
43714 ac_ext=cpp
43715 ac_cpp='$CXXCPP $CPPFLAGS'
43716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43721 /* end confdefs.h. */
43722 #include <math.h>
43723 #ifdef HAVE_IEEEFP_H
43724 #include <ieeefp.h>
43725 #endif
43728 main ()
43730 _logf(0);
43732 return 0;
43734 _ACEOF
43735 if ac_fn_cxx_try_compile "$LINENO"; then :
43736 glibcxx_cv_func__logf_use=yes
43737 else
43738 glibcxx_cv_func__logf_use=no
43740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43741 ac_ext=c
43742 ac_cpp='$CPP $CPPFLAGS'
43743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43752 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43754 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43755 for ac_func in _logf
43756 do :
43757 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43758 if test "x$ac_cv_func__logf" = x""yes; then :
43759 cat >>confdefs.h <<_ACEOF
43760 #define HAVE__LOGF 1
43761 _ACEOF
43764 done
43773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43774 $as_echo_n "checking for log10f declaration... " >&6; }
43775 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43776 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43777 $as_echo_n "(cached) " >&6
43778 else
43781 ac_ext=cpp
43782 ac_cpp='$CXXCPP $CPPFLAGS'
43783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43788 /* end confdefs.h. */
43789 #include <math.h>
43790 #ifdef HAVE_IEEEFP_H
43791 #include <ieeefp.h>
43792 #endif
43795 main ()
43797 log10f(0);
43799 return 0;
43801 _ACEOF
43802 if ac_fn_cxx_try_compile "$LINENO"; then :
43803 glibcxx_cv_func_log10f_use=yes
43804 else
43805 glibcxx_cv_func_log10f_use=no
43807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43808 ac_ext=c
43809 ac_cpp='$CPP $CPPFLAGS'
43810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43819 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43821 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43822 for ac_func in log10f
43823 do :
43824 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43825 if test "x$ac_cv_func_log10f" = x""yes; then :
43826 cat >>confdefs.h <<_ACEOF
43827 #define HAVE_LOG10F 1
43828 _ACEOF
43831 done
43833 else
43835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43836 $as_echo_n "checking for _log10f declaration... " >&6; }
43837 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43838 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43839 $as_echo_n "(cached) " >&6
43840 else
43843 ac_ext=cpp
43844 ac_cpp='$CXXCPP $CPPFLAGS'
43845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43850 /* end confdefs.h. */
43851 #include <math.h>
43852 #ifdef HAVE_IEEEFP_H
43853 #include <ieeefp.h>
43854 #endif
43857 main ()
43859 _log10f(0);
43861 return 0;
43863 _ACEOF
43864 if ac_fn_cxx_try_compile "$LINENO"; then :
43865 glibcxx_cv_func__log10f_use=yes
43866 else
43867 glibcxx_cv_func__log10f_use=no
43869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43870 ac_ext=c
43871 ac_cpp='$CPP $CPPFLAGS'
43872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43881 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43883 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43884 for ac_func in _log10f
43885 do :
43886 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43887 if test "x$ac_cv_func__log10f" = x""yes; then :
43888 cat >>confdefs.h <<_ACEOF
43889 #define HAVE__LOG10F 1
43890 _ACEOF
43893 done
43902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43903 $as_echo_n "checking for modff declaration... " >&6; }
43904 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43905 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43906 $as_echo_n "(cached) " >&6
43907 else
43910 ac_ext=cpp
43911 ac_cpp='$CXXCPP $CPPFLAGS'
43912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43917 /* end confdefs.h. */
43918 #include <math.h>
43920 main ()
43922 modff(0, 0);
43924 return 0;
43926 _ACEOF
43927 if ac_fn_cxx_try_compile "$LINENO"; then :
43928 glibcxx_cv_func_modff_use=yes
43929 else
43930 glibcxx_cv_func_modff_use=no
43932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43933 ac_ext=c
43934 ac_cpp='$CPP $CPPFLAGS'
43935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43944 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43946 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43947 for ac_func in modff
43948 do :
43949 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43950 if test "x$ac_cv_func_modff" = x""yes; then :
43951 cat >>confdefs.h <<_ACEOF
43952 #define HAVE_MODFF 1
43953 _ACEOF
43956 done
43958 else
43960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43961 $as_echo_n "checking for _modff declaration... " >&6; }
43962 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43963 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43964 $as_echo_n "(cached) " >&6
43965 else
43968 ac_ext=cpp
43969 ac_cpp='$CXXCPP $CPPFLAGS'
43970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43975 /* end confdefs.h. */
43976 #include <math.h>
43978 main ()
43980 _modff(0, 0);
43982 return 0;
43984 _ACEOF
43985 if ac_fn_cxx_try_compile "$LINENO"; then :
43986 glibcxx_cv_func__modff_use=yes
43987 else
43988 glibcxx_cv_func__modff_use=no
43990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43991 ac_ext=c
43992 ac_cpp='$CPP $CPPFLAGS'
43993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44002 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44004 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44005 for ac_func in _modff
44006 do :
44007 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44008 if test "x$ac_cv_func__modff" = x""yes; then :
44009 cat >>confdefs.h <<_ACEOF
44010 #define HAVE__MODFF 1
44011 _ACEOF
44014 done
44023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44024 $as_echo_n "checking for modf declaration... " >&6; }
44025 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44026 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44027 $as_echo_n "(cached) " >&6
44028 else
44031 ac_ext=cpp
44032 ac_cpp='$CXXCPP $CPPFLAGS'
44033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44038 /* end confdefs.h. */
44039 #include <math.h>
44041 main ()
44043 modf(0, 0);
44045 return 0;
44047 _ACEOF
44048 if ac_fn_cxx_try_compile "$LINENO"; then :
44049 glibcxx_cv_func_modf_use=yes
44050 else
44051 glibcxx_cv_func_modf_use=no
44053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44054 ac_ext=c
44055 ac_cpp='$CPP $CPPFLAGS'
44056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44065 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44067 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44068 for ac_func in modf
44069 do :
44070 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44071 if test "x$ac_cv_func_modf" = x""yes; then :
44072 cat >>confdefs.h <<_ACEOF
44073 #define HAVE_MODF 1
44074 _ACEOF
44077 done
44079 else
44081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44082 $as_echo_n "checking for _modf declaration... " >&6; }
44083 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44084 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44085 $as_echo_n "(cached) " >&6
44086 else
44089 ac_ext=cpp
44090 ac_cpp='$CXXCPP $CPPFLAGS'
44091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44096 /* end confdefs.h. */
44097 #include <math.h>
44099 main ()
44101 _modf(0, 0);
44103 return 0;
44105 _ACEOF
44106 if ac_fn_cxx_try_compile "$LINENO"; then :
44107 glibcxx_cv_func__modf_use=yes
44108 else
44109 glibcxx_cv_func__modf_use=no
44111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44112 ac_ext=c
44113 ac_cpp='$CPP $CPPFLAGS'
44114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44123 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44125 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44126 for ac_func in _modf
44127 do :
44128 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44129 if test "x$ac_cv_func__modf" = x""yes; then :
44130 cat >>confdefs.h <<_ACEOF
44131 #define HAVE__MODF 1
44132 _ACEOF
44135 done
44144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44145 $as_echo_n "checking for powf declaration... " >&6; }
44146 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44147 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44148 $as_echo_n "(cached) " >&6
44149 else
44152 ac_ext=cpp
44153 ac_cpp='$CXXCPP $CPPFLAGS'
44154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44159 /* end confdefs.h. */
44160 #include <math.h>
44162 main ()
44164 powf(0, 0);
44166 return 0;
44168 _ACEOF
44169 if ac_fn_cxx_try_compile "$LINENO"; then :
44170 glibcxx_cv_func_powf_use=yes
44171 else
44172 glibcxx_cv_func_powf_use=no
44174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44175 ac_ext=c
44176 ac_cpp='$CPP $CPPFLAGS'
44177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44186 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44188 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44189 for ac_func in powf
44190 do :
44191 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44192 if test "x$ac_cv_func_powf" = x""yes; then :
44193 cat >>confdefs.h <<_ACEOF
44194 #define HAVE_POWF 1
44195 _ACEOF
44198 done
44200 else
44202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44203 $as_echo_n "checking for _powf declaration... " >&6; }
44204 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44205 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44206 $as_echo_n "(cached) " >&6
44207 else
44210 ac_ext=cpp
44211 ac_cpp='$CXXCPP $CPPFLAGS'
44212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44217 /* end confdefs.h. */
44218 #include <math.h>
44220 main ()
44222 _powf(0, 0);
44224 return 0;
44226 _ACEOF
44227 if ac_fn_cxx_try_compile "$LINENO"; then :
44228 glibcxx_cv_func__powf_use=yes
44229 else
44230 glibcxx_cv_func__powf_use=no
44232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44233 ac_ext=c
44234 ac_cpp='$CPP $CPPFLAGS'
44235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44244 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44246 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44247 for ac_func in _powf
44248 do :
44249 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44250 if test "x$ac_cv_func__powf" = x""yes; then :
44251 cat >>confdefs.h <<_ACEOF
44252 #define HAVE__POWF 1
44253 _ACEOF
44256 done
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44266 $as_echo_n "checking for sqrtf declaration... " >&6; }
44267 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44268 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44269 $as_echo_n "(cached) " >&6
44270 else
44273 ac_ext=cpp
44274 ac_cpp='$CXXCPP $CPPFLAGS'
44275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44280 /* end confdefs.h. */
44281 #include <math.h>
44282 #ifdef HAVE_IEEEFP_H
44283 #include <ieeefp.h>
44284 #endif
44287 main ()
44289 sqrtf(0);
44291 return 0;
44293 _ACEOF
44294 if ac_fn_cxx_try_compile "$LINENO"; then :
44295 glibcxx_cv_func_sqrtf_use=yes
44296 else
44297 glibcxx_cv_func_sqrtf_use=no
44299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44300 ac_ext=c
44301 ac_cpp='$CPP $CPPFLAGS'
44302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44311 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44313 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44314 for ac_func in sqrtf
44315 do :
44316 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44317 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44318 cat >>confdefs.h <<_ACEOF
44319 #define HAVE_SQRTF 1
44320 _ACEOF
44323 done
44325 else
44327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44328 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44329 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44330 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44331 $as_echo_n "(cached) " >&6
44332 else
44335 ac_ext=cpp
44336 ac_cpp='$CXXCPP $CPPFLAGS'
44337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44342 /* end confdefs.h. */
44343 #include <math.h>
44344 #ifdef HAVE_IEEEFP_H
44345 #include <ieeefp.h>
44346 #endif
44349 main ()
44351 _sqrtf(0);
44353 return 0;
44355 _ACEOF
44356 if ac_fn_cxx_try_compile "$LINENO"; then :
44357 glibcxx_cv_func__sqrtf_use=yes
44358 else
44359 glibcxx_cv_func__sqrtf_use=no
44361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44362 ac_ext=c
44363 ac_cpp='$CPP $CPPFLAGS'
44364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44373 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44375 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44376 for ac_func in _sqrtf
44377 do :
44378 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44379 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44380 cat >>confdefs.h <<_ACEOF
44381 #define HAVE__SQRTF 1
44382 _ACEOF
44385 done
44394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44395 $as_echo_n "checking for sincosf declaration... " >&6; }
44396 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44397 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44398 $as_echo_n "(cached) " >&6
44399 else
44402 ac_ext=cpp
44403 ac_cpp='$CXXCPP $CPPFLAGS'
44404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44409 /* end confdefs.h. */
44410 #include <math.h>
44412 main ()
44414 sincosf(0, 0, 0);
44416 return 0;
44418 _ACEOF
44419 if ac_fn_cxx_try_compile "$LINENO"; then :
44420 glibcxx_cv_func_sincosf_use=yes
44421 else
44422 glibcxx_cv_func_sincosf_use=no
44424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44425 ac_ext=c
44426 ac_cpp='$CPP $CPPFLAGS'
44427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44436 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44438 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44439 for ac_func in sincosf
44440 do :
44441 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44442 if test "x$ac_cv_func_sincosf" = x""yes; then :
44443 cat >>confdefs.h <<_ACEOF
44444 #define HAVE_SINCOSF 1
44445 _ACEOF
44448 done
44450 else
44452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44453 $as_echo_n "checking for _sincosf declaration... " >&6; }
44454 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44455 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44456 $as_echo_n "(cached) " >&6
44457 else
44460 ac_ext=cpp
44461 ac_cpp='$CXXCPP $CPPFLAGS'
44462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44467 /* end confdefs.h. */
44468 #include <math.h>
44470 main ()
44472 _sincosf(0, 0, 0);
44474 return 0;
44476 _ACEOF
44477 if ac_fn_cxx_try_compile "$LINENO"; then :
44478 glibcxx_cv_func__sincosf_use=yes
44479 else
44480 glibcxx_cv_func__sincosf_use=no
44482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44483 ac_ext=c
44484 ac_cpp='$CPP $CPPFLAGS'
44485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44494 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44496 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44497 for ac_func in _sincosf
44498 do :
44499 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44500 if test "x$ac_cv_func__sincosf" = x""yes; then :
44501 cat >>confdefs.h <<_ACEOF
44502 #define HAVE__SINCOSF 1
44503 _ACEOF
44506 done
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44516 $as_echo_n "checking for finitef declaration... " >&6; }
44517 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44518 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44519 $as_echo_n "(cached) " >&6
44520 else
44523 ac_ext=cpp
44524 ac_cpp='$CXXCPP $CPPFLAGS'
44525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44530 /* end confdefs.h. */
44531 #include <math.h>
44532 #ifdef HAVE_IEEEFP_H
44533 #include <ieeefp.h>
44534 #endif
44537 main ()
44539 finitef(0);
44541 return 0;
44543 _ACEOF
44544 if ac_fn_cxx_try_compile "$LINENO"; then :
44545 glibcxx_cv_func_finitef_use=yes
44546 else
44547 glibcxx_cv_func_finitef_use=no
44549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44550 ac_ext=c
44551 ac_cpp='$CPP $CPPFLAGS'
44552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44561 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44563 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44564 for ac_func in finitef
44565 do :
44566 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44567 if test "x$ac_cv_func_finitef" = x""yes; then :
44568 cat >>confdefs.h <<_ACEOF
44569 #define HAVE_FINITEF 1
44570 _ACEOF
44573 done
44575 else
44577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44578 $as_echo_n "checking for _finitef declaration... " >&6; }
44579 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44580 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44581 $as_echo_n "(cached) " >&6
44582 else
44585 ac_ext=cpp
44586 ac_cpp='$CXXCPP $CPPFLAGS'
44587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44592 /* end confdefs.h. */
44593 #include <math.h>
44594 #ifdef HAVE_IEEEFP_H
44595 #include <ieeefp.h>
44596 #endif
44599 main ()
44601 _finitef(0);
44603 return 0;
44605 _ACEOF
44606 if ac_fn_cxx_try_compile "$LINENO"; then :
44607 glibcxx_cv_func__finitef_use=yes
44608 else
44609 glibcxx_cv_func__finitef_use=no
44611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44612 ac_ext=c
44613 ac_cpp='$CPP $CPPFLAGS'
44614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44623 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44625 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44626 for ac_func in _finitef
44627 do :
44628 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44629 if test "x$ac_cv_func__finitef" = x""yes; then :
44630 cat >>confdefs.h <<_ACEOF
44631 #define HAVE__FINITEF 1
44632 _ACEOF
44635 done
44644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44645 $as_echo_n "checking for long double trig functions... " >&6; }
44646 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44647 $as_echo_n "(cached) " >&6
44648 else
44651 ac_ext=cpp
44652 ac_cpp='$CXXCPP $CPPFLAGS'
44653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44658 /* end confdefs.h. */
44659 #include <math.h>
44661 main ()
44663 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44665 return 0;
44667 _ACEOF
44668 if ac_fn_cxx_try_compile "$LINENO"; then :
44669 glibcxx_cv_func_long_double_trig_use=yes
44670 else
44671 glibcxx_cv_func_long_double_trig_use=no
44673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44674 ac_ext=c
44675 ac_cpp='$CPP $CPPFLAGS'
44676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44683 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44684 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44685 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44686 do :
44687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44689 eval as_val=\$$as_ac_var
44690 if test "x$as_val" = x""yes; then :
44691 cat >>confdefs.h <<_ACEOF
44692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44693 _ACEOF
44696 done
44698 else
44699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44700 $as_echo_n "checking for _long double trig functions... " >&6; }
44701 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44702 $as_echo_n "(cached) " >&6
44703 else
44706 ac_ext=cpp
44707 ac_cpp='$CXXCPP $CPPFLAGS'
44708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44713 /* end confdefs.h. */
44714 #include <math.h>
44716 main ()
44718 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44720 return 0;
44722 _ACEOF
44723 if ac_fn_cxx_try_compile "$LINENO"; then :
44724 glibcxx_cv_func__long_double_trig_use=yes
44725 else
44726 glibcxx_cv_func__long_double_trig_use=no
44728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44729 ac_ext=c
44730 ac_cpp='$CPP $CPPFLAGS'
44731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44738 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44739 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44740 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44741 do :
44742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44744 eval as_val=\$$as_ac_var
44745 if test "x$as_val" = x""yes; then :
44746 cat >>confdefs.h <<_ACEOF
44747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44748 _ACEOF
44751 done
44760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44761 $as_echo_n "checking for long double round functions... " >&6; }
44762 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44763 $as_echo_n "(cached) " >&6
44764 else
44767 ac_ext=cpp
44768 ac_cpp='$CXXCPP $CPPFLAGS'
44769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44774 /* end confdefs.h. */
44775 #include <math.h>
44777 main ()
44779 ceill (0); floorl (0);
44781 return 0;
44783 _ACEOF
44784 if ac_fn_cxx_try_compile "$LINENO"; then :
44785 glibcxx_cv_func_long_double_round_use=yes
44786 else
44787 glibcxx_cv_func_long_double_round_use=no
44789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44790 ac_ext=c
44791 ac_cpp='$CPP $CPPFLAGS'
44792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44799 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44800 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44801 for ac_func in ceill floorl
44802 do :
44803 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44805 eval as_val=\$$as_ac_var
44806 if test "x$as_val" = x""yes; then :
44807 cat >>confdefs.h <<_ACEOF
44808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44809 _ACEOF
44812 done
44814 else
44815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44816 $as_echo_n "checking for _long double round functions... " >&6; }
44817 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44818 $as_echo_n "(cached) " >&6
44819 else
44822 ac_ext=cpp
44823 ac_cpp='$CXXCPP $CPPFLAGS'
44824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44829 /* end confdefs.h. */
44830 #include <math.h>
44832 main ()
44834 _ceill (0); _floorl (0);
44836 return 0;
44838 _ACEOF
44839 if ac_fn_cxx_try_compile "$LINENO"; then :
44840 glibcxx_cv_func__long_double_round_use=yes
44841 else
44842 glibcxx_cv_func__long_double_round_use=no
44844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44845 ac_ext=c
44846 ac_cpp='$CPP $CPPFLAGS'
44847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44854 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44855 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44856 for ac_func in _ceill _floorl
44857 do :
44858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44860 eval as_val=\$$as_ac_var
44861 if test "x$as_val" = x""yes; then :
44862 cat >>confdefs.h <<_ACEOF
44863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44864 _ACEOF
44867 done
44877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44878 $as_echo_n "checking for isnanl declaration... " >&6; }
44879 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44880 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44881 $as_echo_n "(cached) " >&6
44882 else
44885 ac_ext=cpp
44886 ac_cpp='$CXXCPP $CPPFLAGS'
44887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44892 /* end confdefs.h. */
44893 #include <math.h>
44894 #ifdef HAVE_IEEEFP_H
44895 #include <ieeefp.h>
44896 #endif
44899 main ()
44901 isnanl(0);
44903 return 0;
44905 _ACEOF
44906 if ac_fn_cxx_try_compile "$LINENO"; then :
44907 glibcxx_cv_func_isnanl_use=yes
44908 else
44909 glibcxx_cv_func_isnanl_use=no
44911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44912 ac_ext=c
44913 ac_cpp='$CPP $CPPFLAGS'
44914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44923 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44925 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44926 for ac_func in isnanl
44927 do :
44928 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44929 if test "x$ac_cv_func_isnanl" = x""yes; then :
44930 cat >>confdefs.h <<_ACEOF
44931 #define HAVE_ISNANL 1
44932 _ACEOF
44935 done
44937 else
44939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44940 $as_echo_n "checking for _isnanl declaration... " >&6; }
44941 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44942 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44943 $as_echo_n "(cached) " >&6
44944 else
44947 ac_ext=cpp
44948 ac_cpp='$CXXCPP $CPPFLAGS'
44949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44954 /* end confdefs.h. */
44955 #include <math.h>
44956 #ifdef HAVE_IEEEFP_H
44957 #include <ieeefp.h>
44958 #endif
44961 main ()
44963 _isnanl(0);
44965 return 0;
44967 _ACEOF
44968 if ac_fn_cxx_try_compile "$LINENO"; then :
44969 glibcxx_cv_func__isnanl_use=yes
44970 else
44971 glibcxx_cv_func__isnanl_use=no
44973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44974 ac_ext=c
44975 ac_cpp='$CPP $CPPFLAGS'
44976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44985 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44987 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44988 for ac_func in _isnanl
44989 do :
44990 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44991 if test "x$ac_cv_func__isnanl" = x""yes; then :
44992 cat >>confdefs.h <<_ACEOF
44993 #define HAVE__ISNANL 1
44994 _ACEOF
44997 done
45006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45007 $as_echo_n "checking for isinfl declaration... " >&6; }
45008 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45009 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
45010 $as_echo_n "(cached) " >&6
45011 else
45014 ac_ext=cpp
45015 ac_cpp='$CXXCPP $CPPFLAGS'
45016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45021 /* end confdefs.h. */
45022 #include <math.h>
45023 #ifdef HAVE_IEEEFP_H
45024 #include <ieeefp.h>
45025 #endif
45028 main ()
45030 isinfl(0);
45032 return 0;
45034 _ACEOF
45035 if ac_fn_cxx_try_compile "$LINENO"; then :
45036 glibcxx_cv_func_isinfl_use=yes
45037 else
45038 glibcxx_cv_func_isinfl_use=no
45040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45041 ac_ext=c
45042 ac_cpp='$CPP $CPPFLAGS'
45043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45052 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45054 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45055 for ac_func in isinfl
45056 do :
45057 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45058 if test "x$ac_cv_func_isinfl" = x""yes; then :
45059 cat >>confdefs.h <<_ACEOF
45060 #define HAVE_ISINFL 1
45061 _ACEOF
45064 done
45066 else
45068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45069 $as_echo_n "checking for _isinfl declaration... " >&6; }
45070 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45071 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45072 $as_echo_n "(cached) " >&6
45073 else
45076 ac_ext=cpp
45077 ac_cpp='$CXXCPP $CPPFLAGS'
45078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45083 /* end confdefs.h. */
45084 #include <math.h>
45085 #ifdef HAVE_IEEEFP_H
45086 #include <ieeefp.h>
45087 #endif
45090 main ()
45092 _isinfl(0);
45094 return 0;
45096 _ACEOF
45097 if ac_fn_cxx_try_compile "$LINENO"; then :
45098 glibcxx_cv_func__isinfl_use=yes
45099 else
45100 glibcxx_cv_func__isinfl_use=no
45102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45103 ac_ext=c
45104 ac_cpp='$CPP $CPPFLAGS'
45105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45114 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45116 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45117 for ac_func in _isinfl
45118 do :
45119 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45120 if test "x$ac_cv_func__isinfl" = x""yes; then :
45121 cat >>confdefs.h <<_ACEOF
45122 #define HAVE__ISINFL 1
45123 _ACEOF
45126 done
45135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45136 $as_echo_n "checking for atan2l declaration... " >&6; }
45137 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45138 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45139 $as_echo_n "(cached) " >&6
45140 else
45143 ac_ext=cpp
45144 ac_cpp='$CXXCPP $CPPFLAGS'
45145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45150 /* end confdefs.h. */
45151 #include <math.h>
45153 main ()
45155 atan2l(0, 0);
45157 return 0;
45159 _ACEOF
45160 if ac_fn_cxx_try_compile "$LINENO"; then :
45161 glibcxx_cv_func_atan2l_use=yes
45162 else
45163 glibcxx_cv_func_atan2l_use=no
45165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45166 ac_ext=c
45167 ac_cpp='$CPP $CPPFLAGS'
45168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45177 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45179 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45180 for ac_func in atan2l
45181 do :
45182 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45183 if test "x$ac_cv_func_atan2l" = x""yes; then :
45184 cat >>confdefs.h <<_ACEOF
45185 #define HAVE_ATAN2L 1
45186 _ACEOF
45189 done
45191 else
45193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45194 $as_echo_n "checking for _atan2l declaration... " >&6; }
45195 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45196 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45197 $as_echo_n "(cached) " >&6
45198 else
45201 ac_ext=cpp
45202 ac_cpp='$CXXCPP $CPPFLAGS'
45203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45208 /* end confdefs.h. */
45209 #include <math.h>
45211 main ()
45213 _atan2l(0, 0);
45215 return 0;
45217 _ACEOF
45218 if ac_fn_cxx_try_compile "$LINENO"; then :
45219 glibcxx_cv_func__atan2l_use=yes
45220 else
45221 glibcxx_cv_func__atan2l_use=no
45223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45224 ac_ext=c
45225 ac_cpp='$CPP $CPPFLAGS'
45226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45235 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45237 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45238 for ac_func in _atan2l
45239 do :
45240 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45241 if test "x$ac_cv_func__atan2l" = x""yes; then :
45242 cat >>confdefs.h <<_ACEOF
45243 #define HAVE__ATAN2L 1
45244 _ACEOF
45247 done
45256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45257 $as_echo_n "checking for expl declaration... " >&6; }
45258 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45259 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45260 $as_echo_n "(cached) " >&6
45261 else
45264 ac_ext=cpp
45265 ac_cpp='$CXXCPP $CPPFLAGS'
45266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45271 /* end confdefs.h. */
45272 #include <math.h>
45273 #ifdef HAVE_IEEEFP_H
45274 #include <ieeefp.h>
45275 #endif
45278 main ()
45280 expl(0);
45282 return 0;
45284 _ACEOF
45285 if ac_fn_cxx_try_compile "$LINENO"; then :
45286 glibcxx_cv_func_expl_use=yes
45287 else
45288 glibcxx_cv_func_expl_use=no
45290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45291 ac_ext=c
45292 ac_cpp='$CPP $CPPFLAGS'
45293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45302 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45304 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45305 for ac_func in expl
45306 do :
45307 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45308 if test "x$ac_cv_func_expl" = x""yes; then :
45309 cat >>confdefs.h <<_ACEOF
45310 #define HAVE_EXPL 1
45311 _ACEOF
45314 done
45316 else
45318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45319 $as_echo_n "checking for _expl declaration... " >&6; }
45320 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45321 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45322 $as_echo_n "(cached) " >&6
45323 else
45326 ac_ext=cpp
45327 ac_cpp='$CXXCPP $CPPFLAGS'
45328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45333 /* end confdefs.h. */
45334 #include <math.h>
45335 #ifdef HAVE_IEEEFP_H
45336 #include <ieeefp.h>
45337 #endif
45340 main ()
45342 _expl(0);
45344 return 0;
45346 _ACEOF
45347 if ac_fn_cxx_try_compile "$LINENO"; then :
45348 glibcxx_cv_func__expl_use=yes
45349 else
45350 glibcxx_cv_func__expl_use=no
45352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45353 ac_ext=c
45354 ac_cpp='$CPP $CPPFLAGS'
45355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45364 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45366 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45367 for ac_func in _expl
45368 do :
45369 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45370 if test "x$ac_cv_func__expl" = x""yes; then :
45371 cat >>confdefs.h <<_ACEOF
45372 #define HAVE__EXPL 1
45373 _ACEOF
45376 done
45385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45386 $as_echo_n "checking for fabsl declaration... " >&6; }
45387 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45388 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45389 $as_echo_n "(cached) " >&6
45390 else
45393 ac_ext=cpp
45394 ac_cpp='$CXXCPP $CPPFLAGS'
45395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45400 /* end confdefs.h. */
45401 #include <math.h>
45402 #ifdef HAVE_IEEEFP_H
45403 #include <ieeefp.h>
45404 #endif
45407 main ()
45409 fabsl(0);
45411 return 0;
45413 _ACEOF
45414 if ac_fn_cxx_try_compile "$LINENO"; then :
45415 glibcxx_cv_func_fabsl_use=yes
45416 else
45417 glibcxx_cv_func_fabsl_use=no
45419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45420 ac_ext=c
45421 ac_cpp='$CPP $CPPFLAGS'
45422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45431 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45433 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45434 for ac_func in fabsl
45435 do :
45436 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45437 if test "x$ac_cv_func_fabsl" = x""yes; then :
45438 cat >>confdefs.h <<_ACEOF
45439 #define HAVE_FABSL 1
45440 _ACEOF
45443 done
45445 else
45447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45448 $as_echo_n "checking for _fabsl declaration... " >&6; }
45449 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45450 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45451 $as_echo_n "(cached) " >&6
45452 else
45455 ac_ext=cpp
45456 ac_cpp='$CXXCPP $CPPFLAGS'
45457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45462 /* end confdefs.h. */
45463 #include <math.h>
45464 #ifdef HAVE_IEEEFP_H
45465 #include <ieeefp.h>
45466 #endif
45469 main ()
45471 _fabsl(0);
45473 return 0;
45475 _ACEOF
45476 if ac_fn_cxx_try_compile "$LINENO"; then :
45477 glibcxx_cv_func__fabsl_use=yes
45478 else
45479 glibcxx_cv_func__fabsl_use=no
45481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45482 ac_ext=c
45483 ac_cpp='$CPP $CPPFLAGS'
45484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45493 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45495 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45496 for ac_func in _fabsl
45497 do :
45498 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45499 if test "x$ac_cv_func__fabsl" = x""yes; then :
45500 cat >>confdefs.h <<_ACEOF
45501 #define HAVE__FABSL 1
45502 _ACEOF
45505 done
45514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45515 $as_echo_n "checking for fmodl declaration... " >&6; }
45516 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45517 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45518 $as_echo_n "(cached) " >&6
45519 else
45522 ac_ext=cpp
45523 ac_cpp='$CXXCPP $CPPFLAGS'
45524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45529 /* end confdefs.h. */
45530 #include <math.h>
45532 main ()
45534 fmodl(0, 0);
45536 return 0;
45538 _ACEOF
45539 if ac_fn_cxx_try_compile "$LINENO"; then :
45540 glibcxx_cv_func_fmodl_use=yes
45541 else
45542 glibcxx_cv_func_fmodl_use=no
45544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45545 ac_ext=c
45546 ac_cpp='$CPP $CPPFLAGS'
45547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45556 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45558 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45559 for ac_func in fmodl
45560 do :
45561 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45562 if test "x$ac_cv_func_fmodl" = x""yes; then :
45563 cat >>confdefs.h <<_ACEOF
45564 #define HAVE_FMODL 1
45565 _ACEOF
45568 done
45570 else
45572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45573 $as_echo_n "checking for _fmodl declaration... " >&6; }
45574 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45575 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45576 $as_echo_n "(cached) " >&6
45577 else
45580 ac_ext=cpp
45581 ac_cpp='$CXXCPP $CPPFLAGS'
45582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45587 /* end confdefs.h. */
45588 #include <math.h>
45590 main ()
45592 _fmodl(0, 0);
45594 return 0;
45596 _ACEOF
45597 if ac_fn_cxx_try_compile "$LINENO"; then :
45598 glibcxx_cv_func__fmodl_use=yes
45599 else
45600 glibcxx_cv_func__fmodl_use=no
45602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45603 ac_ext=c
45604 ac_cpp='$CPP $CPPFLAGS'
45605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45614 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45616 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45617 for ac_func in _fmodl
45618 do :
45619 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45620 if test "x$ac_cv_func__fmodl" = x""yes; then :
45621 cat >>confdefs.h <<_ACEOF
45622 #define HAVE__FMODL 1
45623 _ACEOF
45626 done
45635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45636 $as_echo_n "checking for frexpl declaration... " >&6; }
45637 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45638 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45639 $as_echo_n "(cached) " >&6
45640 else
45643 ac_ext=cpp
45644 ac_cpp='$CXXCPP $CPPFLAGS'
45645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45650 /* end confdefs.h. */
45651 #include <math.h>
45653 main ()
45655 frexpl(0, 0);
45657 return 0;
45659 _ACEOF
45660 if ac_fn_cxx_try_compile "$LINENO"; then :
45661 glibcxx_cv_func_frexpl_use=yes
45662 else
45663 glibcxx_cv_func_frexpl_use=no
45665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45666 ac_ext=c
45667 ac_cpp='$CPP $CPPFLAGS'
45668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45677 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45679 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45680 for ac_func in frexpl
45681 do :
45682 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45683 if test "x$ac_cv_func_frexpl" = x""yes; then :
45684 cat >>confdefs.h <<_ACEOF
45685 #define HAVE_FREXPL 1
45686 _ACEOF
45689 done
45691 else
45693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45694 $as_echo_n "checking for _frexpl declaration... " >&6; }
45695 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45696 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45697 $as_echo_n "(cached) " >&6
45698 else
45701 ac_ext=cpp
45702 ac_cpp='$CXXCPP $CPPFLAGS'
45703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45708 /* end confdefs.h. */
45709 #include <math.h>
45711 main ()
45713 _frexpl(0, 0);
45715 return 0;
45717 _ACEOF
45718 if ac_fn_cxx_try_compile "$LINENO"; then :
45719 glibcxx_cv_func__frexpl_use=yes
45720 else
45721 glibcxx_cv_func__frexpl_use=no
45723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45724 ac_ext=c
45725 ac_cpp='$CPP $CPPFLAGS'
45726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45735 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45737 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45738 for ac_func in _frexpl
45739 do :
45740 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45741 if test "x$ac_cv_func__frexpl" = x""yes; then :
45742 cat >>confdefs.h <<_ACEOF
45743 #define HAVE__FREXPL 1
45744 _ACEOF
45747 done
45756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45757 $as_echo_n "checking for hypotl declaration... " >&6; }
45758 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45759 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45760 $as_echo_n "(cached) " >&6
45761 else
45764 ac_ext=cpp
45765 ac_cpp='$CXXCPP $CPPFLAGS'
45766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45771 /* end confdefs.h. */
45772 #include <math.h>
45774 main ()
45776 hypotl(0, 0);
45778 return 0;
45780 _ACEOF
45781 if ac_fn_cxx_try_compile "$LINENO"; then :
45782 glibcxx_cv_func_hypotl_use=yes
45783 else
45784 glibcxx_cv_func_hypotl_use=no
45786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45787 ac_ext=c
45788 ac_cpp='$CPP $CPPFLAGS'
45789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45798 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45800 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45801 for ac_func in hypotl
45802 do :
45803 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45804 if test "x$ac_cv_func_hypotl" = x""yes; then :
45805 cat >>confdefs.h <<_ACEOF
45806 #define HAVE_HYPOTL 1
45807 _ACEOF
45810 done
45812 else
45814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45815 $as_echo_n "checking for _hypotl declaration... " >&6; }
45816 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45817 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45818 $as_echo_n "(cached) " >&6
45819 else
45822 ac_ext=cpp
45823 ac_cpp='$CXXCPP $CPPFLAGS'
45824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45829 /* end confdefs.h. */
45830 #include <math.h>
45832 main ()
45834 _hypotl(0, 0);
45836 return 0;
45838 _ACEOF
45839 if ac_fn_cxx_try_compile "$LINENO"; then :
45840 glibcxx_cv_func__hypotl_use=yes
45841 else
45842 glibcxx_cv_func__hypotl_use=no
45844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45845 ac_ext=c
45846 ac_cpp='$CPP $CPPFLAGS'
45847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45856 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45858 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45859 for ac_func in _hypotl
45860 do :
45861 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45862 if test "x$ac_cv_func__hypotl" = x""yes; then :
45863 cat >>confdefs.h <<_ACEOF
45864 #define HAVE__HYPOTL 1
45865 _ACEOF
45868 done
45877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45878 $as_echo_n "checking for ldexpl declaration... " >&6; }
45879 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45880 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45881 $as_echo_n "(cached) " >&6
45882 else
45885 ac_ext=cpp
45886 ac_cpp='$CXXCPP $CPPFLAGS'
45887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45892 /* end confdefs.h. */
45893 #include <math.h>
45895 main ()
45897 ldexpl(0, 0);
45899 return 0;
45901 _ACEOF
45902 if ac_fn_cxx_try_compile "$LINENO"; then :
45903 glibcxx_cv_func_ldexpl_use=yes
45904 else
45905 glibcxx_cv_func_ldexpl_use=no
45907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45908 ac_ext=c
45909 ac_cpp='$CPP $CPPFLAGS'
45910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45919 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45921 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45922 for ac_func in ldexpl
45923 do :
45924 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45925 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45926 cat >>confdefs.h <<_ACEOF
45927 #define HAVE_LDEXPL 1
45928 _ACEOF
45931 done
45933 else
45935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45936 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45937 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45938 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45939 $as_echo_n "(cached) " >&6
45940 else
45943 ac_ext=cpp
45944 ac_cpp='$CXXCPP $CPPFLAGS'
45945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45950 /* end confdefs.h. */
45951 #include <math.h>
45953 main ()
45955 _ldexpl(0, 0);
45957 return 0;
45959 _ACEOF
45960 if ac_fn_cxx_try_compile "$LINENO"; then :
45961 glibcxx_cv_func__ldexpl_use=yes
45962 else
45963 glibcxx_cv_func__ldexpl_use=no
45965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45966 ac_ext=c
45967 ac_cpp='$CPP $CPPFLAGS'
45968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45977 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45979 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45980 for ac_func in _ldexpl
45981 do :
45982 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45983 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45984 cat >>confdefs.h <<_ACEOF
45985 #define HAVE__LDEXPL 1
45986 _ACEOF
45989 done
45998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45999 $as_echo_n "checking for logl declaration... " >&6; }
46000 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46001 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
46002 $as_echo_n "(cached) " >&6
46003 else
46006 ac_ext=cpp
46007 ac_cpp='$CXXCPP $CPPFLAGS'
46008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46013 /* end confdefs.h. */
46014 #include <math.h>
46015 #ifdef HAVE_IEEEFP_H
46016 #include <ieeefp.h>
46017 #endif
46020 main ()
46022 logl(0);
46024 return 0;
46026 _ACEOF
46027 if ac_fn_cxx_try_compile "$LINENO"; then :
46028 glibcxx_cv_func_logl_use=yes
46029 else
46030 glibcxx_cv_func_logl_use=no
46032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46033 ac_ext=c
46034 ac_cpp='$CPP $CPPFLAGS'
46035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46044 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46046 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46047 for ac_func in logl
46048 do :
46049 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46050 if test "x$ac_cv_func_logl" = x""yes; then :
46051 cat >>confdefs.h <<_ACEOF
46052 #define HAVE_LOGL 1
46053 _ACEOF
46056 done
46058 else
46060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46061 $as_echo_n "checking for _logl declaration... " >&6; }
46062 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46063 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46064 $as_echo_n "(cached) " >&6
46065 else
46068 ac_ext=cpp
46069 ac_cpp='$CXXCPP $CPPFLAGS'
46070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46075 /* end confdefs.h. */
46076 #include <math.h>
46077 #ifdef HAVE_IEEEFP_H
46078 #include <ieeefp.h>
46079 #endif
46082 main ()
46084 _logl(0);
46086 return 0;
46088 _ACEOF
46089 if ac_fn_cxx_try_compile "$LINENO"; then :
46090 glibcxx_cv_func__logl_use=yes
46091 else
46092 glibcxx_cv_func__logl_use=no
46094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46095 ac_ext=c
46096 ac_cpp='$CPP $CPPFLAGS'
46097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46106 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46108 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46109 for ac_func in _logl
46110 do :
46111 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46112 if test "x$ac_cv_func__logl" = x""yes; then :
46113 cat >>confdefs.h <<_ACEOF
46114 #define HAVE__LOGL 1
46115 _ACEOF
46118 done
46127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46128 $as_echo_n "checking for log10l declaration... " >&6; }
46129 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46130 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46131 $as_echo_n "(cached) " >&6
46132 else
46135 ac_ext=cpp
46136 ac_cpp='$CXXCPP $CPPFLAGS'
46137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46142 /* end confdefs.h. */
46143 #include <math.h>
46144 #ifdef HAVE_IEEEFP_H
46145 #include <ieeefp.h>
46146 #endif
46149 main ()
46151 log10l(0);
46153 return 0;
46155 _ACEOF
46156 if ac_fn_cxx_try_compile "$LINENO"; then :
46157 glibcxx_cv_func_log10l_use=yes
46158 else
46159 glibcxx_cv_func_log10l_use=no
46161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46162 ac_ext=c
46163 ac_cpp='$CPP $CPPFLAGS'
46164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46173 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46175 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46176 for ac_func in log10l
46177 do :
46178 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46179 if test "x$ac_cv_func_log10l" = x""yes; then :
46180 cat >>confdefs.h <<_ACEOF
46181 #define HAVE_LOG10L 1
46182 _ACEOF
46185 done
46187 else
46189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46190 $as_echo_n "checking for _log10l declaration... " >&6; }
46191 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46192 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46193 $as_echo_n "(cached) " >&6
46194 else
46197 ac_ext=cpp
46198 ac_cpp='$CXXCPP $CPPFLAGS'
46199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46204 /* end confdefs.h. */
46205 #include <math.h>
46206 #ifdef HAVE_IEEEFP_H
46207 #include <ieeefp.h>
46208 #endif
46211 main ()
46213 _log10l(0);
46215 return 0;
46217 _ACEOF
46218 if ac_fn_cxx_try_compile "$LINENO"; then :
46219 glibcxx_cv_func__log10l_use=yes
46220 else
46221 glibcxx_cv_func__log10l_use=no
46223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46224 ac_ext=c
46225 ac_cpp='$CPP $CPPFLAGS'
46226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46235 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46237 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46238 for ac_func in _log10l
46239 do :
46240 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46241 if test "x$ac_cv_func__log10l" = x""yes; then :
46242 cat >>confdefs.h <<_ACEOF
46243 #define HAVE__LOG10L 1
46244 _ACEOF
46247 done
46256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46257 $as_echo_n "checking for modfl declaration... " >&6; }
46258 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46259 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46260 $as_echo_n "(cached) " >&6
46261 else
46264 ac_ext=cpp
46265 ac_cpp='$CXXCPP $CPPFLAGS'
46266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46271 /* end confdefs.h. */
46272 #include <math.h>
46274 main ()
46276 modfl(0, 0);
46278 return 0;
46280 _ACEOF
46281 if ac_fn_cxx_try_compile "$LINENO"; then :
46282 glibcxx_cv_func_modfl_use=yes
46283 else
46284 glibcxx_cv_func_modfl_use=no
46286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46287 ac_ext=c
46288 ac_cpp='$CPP $CPPFLAGS'
46289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46298 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46300 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46301 for ac_func in modfl
46302 do :
46303 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46304 if test "x$ac_cv_func_modfl" = x""yes; then :
46305 cat >>confdefs.h <<_ACEOF
46306 #define HAVE_MODFL 1
46307 _ACEOF
46310 done
46312 else
46314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46315 $as_echo_n "checking for _modfl declaration... " >&6; }
46316 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46317 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46318 $as_echo_n "(cached) " >&6
46319 else
46322 ac_ext=cpp
46323 ac_cpp='$CXXCPP $CPPFLAGS'
46324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46329 /* end confdefs.h. */
46330 #include <math.h>
46332 main ()
46334 _modfl(0, 0);
46336 return 0;
46338 _ACEOF
46339 if ac_fn_cxx_try_compile "$LINENO"; then :
46340 glibcxx_cv_func__modfl_use=yes
46341 else
46342 glibcxx_cv_func__modfl_use=no
46344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46345 ac_ext=c
46346 ac_cpp='$CPP $CPPFLAGS'
46347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46356 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46358 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46359 for ac_func in _modfl
46360 do :
46361 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46362 if test "x$ac_cv_func__modfl" = x""yes; then :
46363 cat >>confdefs.h <<_ACEOF
46364 #define HAVE__MODFL 1
46365 _ACEOF
46368 done
46377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46378 $as_echo_n "checking for powl declaration... " >&6; }
46379 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46380 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46381 $as_echo_n "(cached) " >&6
46382 else
46385 ac_ext=cpp
46386 ac_cpp='$CXXCPP $CPPFLAGS'
46387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46392 /* end confdefs.h. */
46393 #include <math.h>
46395 main ()
46397 powl(0, 0);
46399 return 0;
46401 _ACEOF
46402 if ac_fn_cxx_try_compile "$LINENO"; then :
46403 glibcxx_cv_func_powl_use=yes
46404 else
46405 glibcxx_cv_func_powl_use=no
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 ac_ext=c
46409 ac_cpp='$CPP $CPPFLAGS'
46410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46419 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46421 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46422 for ac_func in powl
46423 do :
46424 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46425 if test "x$ac_cv_func_powl" = x""yes; then :
46426 cat >>confdefs.h <<_ACEOF
46427 #define HAVE_POWL 1
46428 _ACEOF
46431 done
46433 else
46435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46436 $as_echo_n "checking for _powl declaration... " >&6; }
46437 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46438 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46439 $as_echo_n "(cached) " >&6
46440 else
46443 ac_ext=cpp
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46450 /* end confdefs.h. */
46451 #include <math.h>
46453 main ()
46455 _powl(0, 0);
46457 return 0;
46459 _ACEOF
46460 if ac_fn_cxx_try_compile "$LINENO"; then :
46461 glibcxx_cv_func__powl_use=yes
46462 else
46463 glibcxx_cv_func__powl_use=no
46465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46466 ac_ext=c
46467 ac_cpp='$CPP $CPPFLAGS'
46468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46477 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46479 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46480 for ac_func in _powl
46481 do :
46482 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46483 if test "x$ac_cv_func__powl" = x""yes; then :
46484 cat >>confdefs.h <<_ACEOF
46485 #define HAVE__POWL 1
46486 _ACEOF
46489 done
46498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46499 $as_echo_n "checking for sqrtl declaration... " >&6; }
46500 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46501 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46502 $as_echo_n "(cached) " >&6
46503 else
46506 ac_ext=cpp
46507 ac_cpp='$CXXCPP $CPPFLAGS'
46508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46513 /* end confdefs.h. */
46514 #include <math.h>
46515 #ifdef HAVE_IEEEFP_H
46516 #include <ieeefp.h>
46517 #endif
46520 main ()
46522 sqrtl(0);
46524 return 0;
46526 _ACEOF
46527 if ac_fn_cxx_try_compile "$LINENO"; then :
46528 glibcxx_cv_func_sqrtl_use=yes
46529 else
46530 glibcxx_cv_func_sqrtl_use=no
46532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46533 ac_ext=c
46534 ac_cpp='$CPP $CPPFLAGS'
46535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46544 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46546 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46547 for ac_func in sqrtl
46548 do :
46549 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46550 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46551 cat >>confdefs.h <<_ACEOF
46552 #define HAVE_SQRTL 1
46553 _ACEOF
46556 done
46558 else
46560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46561 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46562 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46563 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46564 $as_echo_n "(cached) " >&6
46565 else
46568 ac_ext=cpp
46569 ac_cpp='$CXXCPP $CPPFLAGS'
46570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46575 /* end confdefs.h. */
46576 #include <math.h>
46577 #ifdef HAVE_IEEEFP_H
46578 #include <ieeefp.h>
46579 #endif
46582 main ()
46584 _sqrtl(0);
46586 return 0;
46588 _ACEOF
46589 if ac_fn_cxx_try_compile "$LINENO"; then :
46590 glibcxx_cv_func__sqrtl_use=yes
46591 else
46592 glibcxx_cv_func__sqrtl_use=no
46594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46595 ac_ext=c
46596 ac_cpp='$CPP $CPPFLAGS'
46597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46606 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46608 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46609 for ac_func in _sqrtl
46610 do :
46611 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46612 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46613 cat >>confdefs.h <<_ACEOF
46614 #define HAVE__SQRTL 1
46615 _ACEOF
46618 done
46627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46628 $as_echo_n "checking for sincosl declaration... " >&6; }
46629 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46630 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46631 $as_echo_n "(cached) " >&6
46632 else
46635 ac_ext=cpp
46636 ac_cpp='$CXXCPP $CPPFLAGS'
46637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46642 /* end confdefs.h. */
46643 #include <math.h>
46645 main ()
46647 sincosl(0, 0, 0);
46649 return 0;
46651 _ACEOF
46652 if ac_fn_cxx_try_compile "$LINENO"; then :
46653 glibcxx_cv_func_sincosl_use=yes
46654 else
46655 glibcxx_cv_func_sincosl_use=no
46657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46658 ac_ext=c
46659 ac_cpp='$CPP $CPPFLAGS'
46660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46669 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46671 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46672 for ac_func in sincosl
46673 do :
46674 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46675 if test "x$ac_cv_func_sincosl" = x""yes; then :
46676 cat >>confdefs.h <<_ACEOF
46677 #define HAVE_SINCOSL 1
46678 _ACEOF
46681 done
46683 else
46685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46686 $as_echo_n "checking for _sincosl declaration... " >&6; }
46687 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46688 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46689 $as_echo_n "(cached) " >&6
46690 else
46693 ac_ext=cpp
46694 ac_cpp='$CXXCPP $CPPFLAGS'
46695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46700 /* end confdefs.h. */
46701 #include <math.h>
46703 main ()
46705 _sincosl(0, 0, 0);
46707 return 0;
46709 _ACEOF
46710 if ac_fn_cxx_try_compile "$LINENO"; then :
46711 glibcxx_cv_func__sincosl_use=yes
46712 else
46713 glibcxx_cv_func__sincosl_use=no
46715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46716 ac_ext=c
46717 ac_cpp='$CPP $CPPFLAGS'
46718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46727 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46729 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46730 for ac_func in _sincosl
46731 do :
46732 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46733 if test "x$ac_cv_func__sincosl" = x""yes; then :
46734 cat >>confdefs.h <<_ACEOF
46735 #define HAVE__SINCOSL 1
46736 _ACEOF
46739 done
46748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46749 $as_echo_n "checking for finitel declaration... " >&6; }
46750 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46751 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46752 $as_echo_n "(cached) " >&6
46753 else
46756 ac_ext=cpp
46757 ac_cpp='$CXXCPP $CPPFLAGS'
46758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46763 /* end confdefs.h. */
46764 #include <math.h>
46765 #ifdef HAVE_IEEEFP_H
46766 #include <ieeefp.h>
46767 #endif
46770 main ()
46772 finitel(0);
46774 return 0;
46776 _ACEOF
46777 if ac_fn_cxx_try_compile "$LINENO"; then :
46778 glibcxx_cv_func_finitel_use=yes
46779 else
46780 glibcxx_cv_func_finitel_use=no
46782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46783 ac_ext=c
46784 ac_cpp='$CPP $CPPFLAGS'
46785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46794 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46796 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46797 for ac_func in finitel
46798 do :
46799 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46800 if test "x$ac_cv_func_finitel" = x""yes; then :
46801 cat >>confdefs.h <<_ACEOF
46802 #define HAVE_FINITEL 1
46803 _ACEOF
46806 done
46808 else
46810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46811 $as_echo_n "checking for _finitel declaration... " >&6; }
46812 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46813 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46814 $as_echo_n "(cached) " >&6
46815 else
46818 ac_ext=cpp
46819 ac_cpp='$CXXCPP $CPPFLAGS'
46820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46825 /* end confdefs.h. */
46826 #include <math.h>
46827 #ifdef HAVE_IEEEFP_H
46828 #include <ieeefp.h>
46829 #endif
46832 main ()
46834 _finitel(0);
46836 return 0;
46838 _ACEOF
46839 if ac_fn_cxx_try_compile "$LINENO"; then :
46840 glibcxx_cv_func__finitel_use=yes
46841 else
46842 glibcxx_cv_func__finitel_use=no
46844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46845 ac_ext=c
46846 ac_cpp='$CPP $CPPFLAGS'
46847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46856 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46858 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46859 for ac_func in _finitel
46860 do :
46861 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46862 if test "x$ac_cv_func__finitel" = x""yes; then :
46863 cat >>confdefs.h <<_ACEOF
46864 #define HAVE__FINITEL 1
46865 _ACEOF
46868 done
46876 LIBS="$ac_save_LIBS"
46877 CXXFLAGS="$ac_save_CXXFLAGS"
46880 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46881 ac_save_CXXFLAGS="$CXXFLAGS"
46882 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46886 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46887 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46888 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46889 $as_echo_n "(cached) " >&6
46890 else
46893 ac_ext=cpp
46894 ac_cpp='$CXXCPP $CPPFLAGS'
46895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46900 /* end confdefs.h. */
46901 #include <stdlib.h>
46903 main ()
46905 at_quick_exit(0);
46907 return 0;
46909 _ACEOF
46910 if ac_fn_cxx_try_compile "$LINENO"; then :
46911 glibcxx_cv_func_at_quick_exit_use=yes
46912 else
46913 glibcxx_cv_func_at_quick_exit_use=no
46915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46916 ac_ext=c
46917 ac_cpp='$CPP $CPPFLAGS'
46918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46927 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46928 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46929 for ac_func in at_quick_exit
46930 do :
46931 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46932 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46933 cat >>confdefs.h <<_ACEOF
46934 #define HAVE_AT_QUICK_EXIT 1
46935 _ACEOF
46938 done
46943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46944 $as_echo_n "checking for quick_exit declaration... " >&6; }
46945 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46946 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46947 $as_echo_n "(cached) " >&6
46948 else
46951 ac_ext=cpp
46952 ac_cpp='$CXXCPP $CPPFLAGS'
46953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46958 /* end confdefs.h. */
46959 #include <stdlib.h>
46961 main ()
46963 quick_exit(0);
46965 return 0;
46967 _ACEOF
46968 if ac_fn_cxx_try_compile "$LINENO"; then :
46969 glibcxx_cv_func_quick_exit_use=yes
46970 else
46971 glibcxx_cv_func_quick_exit_use=no
46973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46974 ac_ext=c
46975 ac_cpp='$CPP $CPPFLAGS'
46976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46985 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46986 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46987 for ac_func in quick_exit
46988 do :
46989 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46990 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46991 cat >>confdefs.h <<_ACEOF
46992 #define HAVE_QUICK_EXIT 1
46993 _ACEOF
46996 done
47001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47002 $as_echo_n "checking for strtold declaration... " >&6; }
47003 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47004 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
47005 $as_echo_n "(cached) " >&6
47006 else
47009 ac_ext=cpp
47010 ac_cpp='$CXXCPP $CPPFLAGS'
47011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47016 /* end confdefs.h. */
47017 #include <stdlib.h>
47019 main ()
47021 strtold(0, 0);
47023 return 0;
47025 _ACEOF
47026 if ac_fn_cxx_try_compile "$LINENO"; then :
47027 glibcxx_cv_func_strtold_use=yes
47028 else
47029 glibcxx_cv_func_strtold_use=no
47031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47032 ac_ext=c
47033 ac_cpp='$CPP $CPPFLAGS'
47034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47043 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47044 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47045 for ac_func in strtold
47046 do :
47047 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47048 if test "x$ac_cv_func_strtold" = x""yes; then :
47049 cat >>confdefs.h <<_ACEOF
47050 #define HAVE_STRTOLD 1
47051 _ACEOF
47054 done
47061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47062 $as_echo_n "checking for strtof declaration... " >&6; }
47063 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47064 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47065 $as_echo_n "(cached) " >&6
47066 else
47069 ac_ext=cpp
47070 ac_cpp='$CXXCPP $CPPFLAGS'
47071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47076 /* end confdefs.h. */
47077 #include <stdlib.h>
47079 main ()
47081 strtof(0, 0);
47083 return 0;
47085 _ACEOF
47086 if ac_fn_cxx_try_compile "$LINENO"; then :
47087 glibcxx_cv_func_strtof_use=yes
47088 else
47089 glibcxx_cv_func_strtof_use=no
47091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47092 ac_ext=c
47093 ac_cpp='$CPP $CPPFLAGS'
47094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47103 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47104 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47105 for ac_func in strtof
47106 do :
47107 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47108 if test "x$ac_cv_func_strtof" = x""yes; then :
47109 cat >>confdefs.h <<_ACEOF
47110 #define HAVE_STRTOF 1
47111 _ACEOF
47114 done
47121 CXXFLAGS="$ac_save_CXXFLAGS"
47123 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47125 # We don't yet support AIX's TLS ABI.
47126 #GCC_CHECK_TLS
47132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47133 $as_echo_n "checking for iconv... " >&6; }
47134 if test "${am_cv_func_iconv+set}" = set; then :
47135 $as_echo_n "(cached) " >&6
47136 else
47138 am_cv_func_iconv="no, consider installing GNU libiconv"
47139 am_cv_lib_iconv=no
47140 am_save_CPPFLAGS="$CPPFLAGS"
47141 CPPFLAGS="$CPPFLAGS $INCICONV"
47142 if test x$gcc_no_link = xyes; then
47143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47146 /* end confdefs.h. */
47147 #include <stdlib.h>
47148 #include <iconv.h>
47150 main ()
47152 iconv_t cd = iconv_open("","");
47153 iconv(cd,NULL,NULL,NULL,NULL);
47154 iconv_close(cd);
47156 return 0;
47158 _ACEOF
47159 if ac_fn_c_try_link "$LINENO"; then :
47160 am_cv_func_iconv=yes
47162 rm -f core conftest.err conftest.$ac_objext \
47163 conftest$ac_exeext conftest.$ac_ext
47164 CPPFLAGS="$am_save_CPPFLAGS"
47166 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47167 for _libs in .libs _libs; do
47168 am_save_CPPFLAGS="$CPPFLAGS"
47169 am_save_LIBS="$LIBS"
47170 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47171 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47172 if test x$gcc_no_link = xyes; then
47173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47176 /* end confdefs.h. */
47177 #include <stdlib.h>
47178 #include <iconv.h>
47180 main ()
47182 iconv_t cd = iconv_open("","");
47183 iconv(cd,NULL,NULL,NULL,NULL);
47184 iconv_close(cd);
47186 return 0;
47188 _ACEOF
47189 if ac_fn_c_try_link "$LINENO"; then :
47190 INCICONV="-I../libiconv/include"
47191 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47192 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47193 am_cv_lib_iconv=yes
47194 am_cv_func_iconv=yes
47196 rm -f core conftest.err conftest.$ac_objext \
47197 conftest$ac_exeext conftest.$ac_ext
47198 CPPFLAGS="$am_save_CPPFLAGS"
47199 LIBS="$am_save_LIBS"
47200 if test "$am_cv_func_iconv" = "yes"; then
47201 break
47203 done
47206 if test "$am_cv_func_iconv" != yes; then
47207 am_save_CPPFLAGS="$CPPFLAGS"
47208 am_save_LIBS="$LIBS"
47209 CPPFLAGS="$LIBS $INCICONV"
47210 LIBS="$LIBS $LIBICONV"
47211 if test x$gcc_no_link = xyes; then
47212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47215 /* end confdefs.h. */
47216 #include <stdlib.h>
47217 #include <iconv.h>
47219 main ()
47221 iconv_t cd = iconv_open("","");
47222 iconv(cd,NULL,NULL,NULL,NULL);
47223 iconv_close(cd);
47225 return 0;
47227 _ACEOF
47228 if ac_fn_c_try_link "$LINENO"; then :
47229 am_cv_lib_iconv=yes
47230 am_cv_func_iconv=yes
47232 rm -f core conftest.err conftest.$ac_objext \
47233 conftest$ac_exeext conftest.$ac_ext
47234 CPPFLAGS="$am_save_CPPFLAGS"
47235 LIBS="$am_save_LIBS"
47239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47240 $as_echo "$am_cv_func_iconv" >&6; }
47241 if test "$am_cv_func_iconv" = yes; then
47243 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47246 if test "$am_cv_lib_iconv" = yes; then
47248 for element in $INCICONV; do
47249 haveit=
47250 for x in $CPPFLAGS; do
47252 acl_save_prefix="$prefix"
47253 prefix="$acl_final_prefix"
47254 acl_save_exec_prefix="$exec_prefix"
47255 exec_prefix="$acl_final_exec_prefix"
47256 eval x=\"$x\"
47257 exec_prefix="$acl_save_exec_prefix"
47258 prefix="$acl_save_prefix"
47260 if test "X$x" = "X$element"; then
47261 haveit=yes
47262 break
47264 done
47265 if test -z "$haveit"; then
47266 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47268 done
47270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47271 $as_echo_n "checking how to link with libiconv... " >&6; }
47272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47273 $as_echo "$LIBICONV" >&6; }
47274 else
47275 LIBICONV=
47276 LTLIBICONV=
47281 if test "$am_cv_func_iconv" = yes; then
47282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47283 $as_echo_n "checking for iconv declaration... " >&6; }
47284 if test "${am_cv_proto_iconv+set}" = set; then :
47285 $as_echo_n "(cached) " >&6
47286 else
47288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47289 /* end confdefs.h. */
47291 #include <stdlib.h>
47292 #include <iconv.h>
47293 extern
47294 #ifdef __cplusplus
47296 #endif
47297 #if defined(__STDC__) || defined(__cplusplus)
47298 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47299 #else
47300 size_t iconv();
47301 #endif
47304 main ()
47308 return 0;
47310 _ACEOF
47311 if ac_fn_c_try_compile "$LINENO"; then :
47312 am_cv_proto_iconv_arg1=""
47313 else
47314 am_cv_proto_iconv_arg1="const"
47316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47317 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);"
47320 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47322 }$am_cv_proto_iconv" >&5
47323 $as_echo "${ac_t:-
47324 }$am_cv_proto_iconv" >&6; }
47326 cat >>confdefs.h <<_ACEOF
47327 #define ICONV_CONST $am_cv_proto_iconv_arg1
47328 _ACEOF
47334 *-darwin*)
47335 # Darwin versions vary, but the linker should work in a cross environment,
47336 # so we just check for all the features here.
47337 # Check for available headers.
47339 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47341 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47342 ac_save_CXXFLAGS="$CXXFLAGS"
47343 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47346 $as_echo_n "checking for sin in -lm... " >&6; }
47347 if test "${ac_cv_lib_m_sin+set}" = set; then :
47348 $as_echo_n "(cached) " >&6
47349 else
47350 ac_check_lib_save_LIBS=$LIBS
47351 LIBS="-lm $LIBS"
47352 if test x$gcc_no_link = xyes; then
47353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47356 /* end confdefs.h. */
47358 /* Override any GCC internal prototype to avoid an error.
47359 Use char because int might match the return type of a GCC
47360 builtin and then its argument prototype would still apply. */
47361 #ifdef __cplusplus
47362 extern "C"
47363 #endif
47364 char sin ();
47366 main ()
47368 return sin ();
47370 return 0;
47372 _ACEOF
47373 if ac_fn_c_try_link "$LINENO"; then :
47374 ac_cv_lib_m_sin=yes
47375 else
47376 ac_cv_lib_m_sin=no
47378 rm -f core conftest.err conftest.$ac_objext \
47379 conftest$ac_exeext conftest.$ac_ext
47380 LIBS=$ac_check_lib_save_LIBS
47382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47383 $as_echo "$ac_cv_lib_m_sin" >&6; }
47384 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47385 libm="-lm"
47388 ac_save_LIBS="$LIBS"
47389 LIBS="$LIBS $libm"
47393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47394 $as_echo_n "checking for isinf declaration... " >&6; }
47395 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47396 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47397 $as_echo_n "(cached) " >&6
47398 else
47401 ac_ext=cpp
47402 ac_cpp='$CXXCPP $CPPFLAGS'
47403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47408 /* end confdefs.h. */
47409 #include <math.h>
47410 #ifdef HAVE_IEEEFP_H
47411 #include <ieeefp.h>
47412 #endif
47415 main ()
47417 isinf(0);
47419 return 0;
47421 _ACEOF
47422 if ac_fn_cxx_try_compile "$LINENO"; then :
47423 glibcxx_cv_func_isinf_use=yes
47424 else
47425 glibcxx_cv_func_isinf_use=no
47427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47428 ac_ext=c
47429 ac_cpp='$CPP $CPPFLAGS'
47430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47439 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47441 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47442 for ac_func in isinf
47443 do :
47444 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47445 if test "x$ac_cv_func_isinf" = x""yes; then :
47446 cat >>confdefs.h <<_ACEOF
47447 #define HAVE_ISINF 1
47448 _ACEOF
47451 done
47453 else
47455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47456 $as_echo_n "checking for _isinf declaration... " >&6; }
47457 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47458 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47459 $as_echo_n "(cached) " >&6
47460 else
47463 ac_ext=cpp
47464 ac_cpp='$CXXCPP $CPPFLAGS'
47465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47470 /* end confdefs.h. */
47471 #include <math.h>
47472 #ifdef HAVE_IEEEFP_H
47473 #include <ieeefp.h>
47474 #endif
47477 main ()
47479 _isinf(0);
47481 return 0;
47483 _ACEOF
47484 if ac_fn_cxx_try_compile "$LINENO"; then :
47485 glibcxx_cv_func__isinf_use=yes
47486 else
47487 glibcxx_cv_func__isinf_use=no
47489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47490 ac_ext=c
47491 ac_cpp='$CPP $CPPFLAGS'
47492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47501 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47503 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47504 for ac_func in _isinf
47505 do :
47506 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47507 if test "x$ac_cv_func__isinf" = x""yes; then :
47508 cat >>confdefs.h <<_ACEOF
47509 #define HAVE__ISINF 1
47510 _ACEOF
47513 done
47522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47523 $as_echo_n "checking for isnan declaration... " >&6; }
47524 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47525 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47526 $as_echo_n "(cached) " >&6
47527 else
47530 ac_ext=cpp
47531 ac_cpp='$CXXCPP $CPPFLAGS'
47532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47537 /* end confdefs.h. */
47538 #include <math.h>
47539 #ifdef HAVE_IEEEFP_H
47540 #include <ieeefp.h>
47541 #endif
47544 main ()
47546 isnan(0);
47548 return 0;
47550 _ACEOF
47551 if ac_fn_cxx_try_compile "$LINENO"; then :
47552 glibcxx_cv_func_isnan_use=yes
47553 else
47554 glibcxx_cv_func_isnan_use=no
47556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47557 ac_ext=c
47558 ac_cpp='$CPP $CPPFLAGS'
47559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47568 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47570 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47571 for ac_func in isnan
47572 do :
47573 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47574 if test "x$ac_cv_func_isnan" = x""yes; then :
47575 cat >>confdefs.h <<_ACEOF
47576 #define HAVE_ISNAN 1
47577 _ACEOF
47580 done
47582 else
47584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47585 $as_echo_n "checking for _isnan declaration... " >&6; }
47586 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47587 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47588 $as_echo_n "(cached) " >&6
47589 else
47592 ac_ext=cpp
47593 ac_cpp='$CXXCPP $CPPFLAGS'
47594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47599 /* end confdefs.h. */
47600 #include <math.h>
47601 #ifdef HAVE_IEEEFP_H
47602 #include <ieeefp.h>
47603 #endif
47606 main ()
47608 _isnan(0);
47610 return 0;
47612 _ACEOF
47613 if ac_fn_cxx_try_compile "$LINENO"; then :
47614 glibcxx_cv_func__isnan_use=yes
47615 else
47616 glibcxx_cv_func__isnan_use=no
47618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47619 ac_ext=c
47620 ac_cpp='$CPP $CPPFLAGS'
47621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47630 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47632 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47633 for ac_func in _isnan
47634 do :
47635 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47636 if test "x$ac_cv_func__isnan" = x""yes; then :
47637 cat >>confdefs.h <<_ACEOF
47638 #define HAVE__ISNAN 1
47639 _ACEOF
47642 done
47651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47652 $as_echo_n "checking for finite declaration... " >&6; }
47653 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47654 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47655 $as_echo_n "(cached) " >&6
47656 else
47659 ac_ext=cpp
47660 ac_cpp='$CXXCPP $CPPFLAGS'
47661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47666 /* end confdefs.h. */
47667 #include <math.h>
47668 #ifdef HAVE_IEEEFP_H
47669 #include <ieeefp.h>
47670 #endif
47673 main ()
47675 finite(0);
47677 return 0;
47679 _ACEOF
47680 if ac_fn_cxx_try_compile "$LINENO"; then :
47681 glibcxx_cv_func_finite_use=yes
47682 else
47683 glibcxx_cv_func_finite_use=no
47685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47686 ac_ext=c
47687 ac_cpp='$CPP $CPPFLAGS'
47688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47697 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47699 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47700 for ac_func in finite
47701 do :
47702 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47703 if test "x$ac_cv_func_finite" = x""yes; then :
47704 cat >>confdefs.h <<_ACEOF
47705 #define HAVE_FINITE 1
47706 _ACEOF
47709 done
47711 else
47713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47714 $as_echo_n "checking for _finite declaration... " >&6; }
47715 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47716 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47717 $as_echo_n "(cached) " >&6
47718 else
47721 ac_ext=cpp
47722 ac_cpp='$CXXCPP $CPPFLAGS'
47723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47728 /* end confdefs.h. */
47729 #include <math.h>
47730 #ifdef HAVE_IEEEFP_H
47731 #include <ieeefp.h>
47732 #endif
47735 main ()
47737 _finite(0);
47739 return 0;
47741 _ACEOF
47742 if ac_fn_cxx_try_compile "$LINENO"; then :
47743 glibcxx_cv_func__finite_use=yes
47744 else
47745 glibcxx_cv_func__finite_use=no
47747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47748 ac_ext=c
47749 ac_cpp='$CPP $CPPFLAGS'
47750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47759 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47761 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47762 for ac_func in _finite
47763 do :
47764 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47765 if test "x$ac_cv_func__finite" = x""yes; then :
47766 cat >>confdefs.h <<_ACEOF
47767 #define HAVE__FINITE 1
47768 _ACEOF
47771 done
47780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47781 $as_echo_n "checking for sincos declaration... " >&6; }
47782 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47783 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47784 $as_echo_n "(cached) " >&6
47785 else
47788 ac_ext=cpp
47789 ac_cpp='$CXXCPP $CPPFLAGS'
47790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47795 /* end confdefs.h. */
47796 #include <math.h>
47798 main ()
47800 sincos(0, 0, 0);
47802 return 0;
47804 _ACEOF
47805 if ac_fn_cxx_try_compile "$LINENO"; then :
47806 glibcxx_cv_func_sincos_use=yes
47807 else
47808 glibcxx_cv_func_sincos_use=no
47810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47811 ac_ext=c
47812 ac_cpp='$CPP $CPPFLAGS'
47813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47822 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47824 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47825 for ac_func in sincos
47826 do :
47827 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47828 if test "x$ac_cv_func_sincos" = x""yes; then :
47829 cat >>confdefs.h <<_ACEOF
47830 #define HAVE_SINCOS 1
47831 _ACEOF
47834 done
47836 else
47838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47839 $as_echo_n "checking for _sincos declaration... " >&6; }
47840 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47841 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47842 $as_echo_n "(cached) " >&6
47843 else
47846 ac_ext=cpp
47847 ac_cpp='$CXXCPP $CPPFLAGS'
47848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47853 /* end confdefs.h. */
47854 #include <math.h>
47856 main ()
47858 _sincos(0, 0, 0);
47860 return 0;
47862 _ACEOF
47863 if ac_fn_cxx_try_compile "$LINENO"; then :
47864 glibcxx_cv_func__sincos_use=yes
47865 else
47866 glibcxx_cv_func__sincos_use=no
47868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47869 ac_ext=c
47870 ac_cpp='$CPP $CPPFLAGS'
47871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47880 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47882 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47883 for ac_func in _sincos
47884 do :
47885 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47886 if test "x$ac_cv_func__sincos" = x""yes; then :
47887 cat >>confdefs.h <<_ACEOF
47888 #define HAVE__SINCOS 1
47889 _ACEOF
47892 done
47901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47902 $as_echo_n "checking for fpclass declaration... " >&6; }
47903 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47904 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47905 $as_echo_n "(cached) " >&6
47906 else
47909 ac_ext=cpp
47910 ac_cpp='$CXXCPP $CPPFLAGS'
47911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47916 /* end confdefs.h. */
47917 #include <math.h>
47918 #ifdef HAVE_IEEEFP_H
47919 #include <ieeefp.h>
47920 #endif
47923 main ()
47925 fpclass(0);
47927 return 0;
47929 _ACEOF
47930 if ac_fn_cxx_try_compile "$LINENO"; then :
47931 glibcxx_cv_func_fpclass_use=yes
47932 else
47933 glibcxx_cv_func_fpclass_use=no
47935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47936 ac_ext=c
47937 ac_cpp='$CPP $CPPFLAGS'
47938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47947 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47949 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47950 for ac_func in fpclass
47951 do :
47952 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47953 if test "x$ac_cv_func_fpclass" = x""yes; then :
47954 cat >>confdefs.h <<_ACEOF
47955 #define HAVE_FPCLASS 1
47956 _ACEOF
47959 done
47961 else
47963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47964 $as_echo_n "checking for _fpclass declaration... " >&6; }
47965 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47966 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47967 $as_echo_n "(cached) " >&6
47968 else
47971 ac_ext=cpp
47972 ac_cpp='$CXXCPP $CPPFLAGS'
47973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47978 /* end confdefs.h. */
47979 #include <math.h>
47980 #ifdef HAVE_IEEEFP_H
47981 #include <ieeefp.h>
47982 #endif
47985 main ()
47987 _fpclass(0);
47989 return 0;
47991 _ACEOF
47992 if ac_fn_cxx_try_compile "$LINENO"; then :
47993 glibcxx_cv_func__fpclass_use=yes
47994 else
47995 glibcxx_cv_func__fpclass_use=no
47997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47998 ac_ext=c
47999 ac_cpp='$CPP $CPPFLAGS'
48000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48009 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48011 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48012 for ac_func in _fpclass
48013 do :
48014 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48015 if test "x$ac_cv_func__fpclass" = x""yes; then :
48016 cat >>confdefs.h <<_ACEOF
48017 #define HAVE__FPCLASS 1
48018 _ACEOF
48021 done
48030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48031 $as_echo_n "checking for qfpclass declaration... " >&6; }
48032 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48033 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48034 $as_echo_n "(cached) " >&6
48035 else
48038 ac_ext=cpp
48039 ac_cpp='$CXXCPP $CPPFLAGS'
48040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48045 /* end confdefs.h. */
48046 #include <math.h>
48047 #ifdef HAVE_IEEEFP_H
48048 #include <ieeefp.h>
48049 #endif
48052 main ()
48054 qfpclass(0);
48056 return 0;
48058 _ACEOF
48059 if ac_fn_cxx_try_compile "$LINENO"; then :
48060 glibcxx_cv_func_qfpclass_use=yes
48061 else
48062 glibcxx_cv_func_qfpclass_use=no
48064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48065 ac_ext=c
48066 ac_cpp='$CPP $CPPFLAGS'
48067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48076 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48078 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48079 for ac_func in qfpclass
48080 do :
48081 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48082 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48083 cat >>confdefs.h <<_ACEOF
48084 #define HAVE_QFPCLASS 1
48085 _ACEOF
48088 done
48090 else
48092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48093 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48094 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48095 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48096 $as_echo_n "(cached) " >&6
48097 else
48100 ac_ext=cpp
48101 ac_cpp='$CXXCPP $CPPFLAGS'
48102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48107 /* end confdefs.h. */
48108 #include <math.h>
48109 #ifdef HAVE_IEEEFP_H
48110 #include <ieeefp.h>
48111 #endif
48114 main ()
48116 _qfpclass(0);
48118 return 0;
48120 _ACEOF
48121 if ac_fn_cxx_try_compile "$LINENO"; then :
48122 glibcxx_cv_func__qfpclass_use=yes
48123 else
48124 glibcxx_cv_func__qfpclass_use=no
48126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48127 ac_ext=c
48128 ac_cpp='$CPP $CPPFLAGS'
48129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48138 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48140 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48141 for ac_func in _qfpclass
48142 do :
48143 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48144 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48145 cat >>confdefs.h <<_ACEOF
48146 #define HAVE__QFPCLASS 1
48147 _ACEOF
48150 done
48159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48160 $as_echo_n "checking for hypot declaration... " >&6; }
48161 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48162 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48163 $as_echo_n "(cached) " >&6
48164 else
48167 ac_ext=cpp
48168 ac_cpp='$CXXCPP $CPPFLAGS'
48169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48174 /* end confdefs.h. */
48175 #include <math.h>
48177 main ()
48179 hypot(0, 0);
48181 return 0;
48183 _ACEOF
48184 if ac_fn_cxx_try_compile "$LINENO"; then :
48185 glibcxx_cv_func_hypot_use=yes
48186 else
48187 glibcxx_cv_func_hypot_use=no
48189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48190 ac_ext=c
48191 ac_cpp='$CPP $CPPFLAGS'
48192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48201 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48203 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48204 for ac_func in hypot
48205 do :
48206 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48207 if test "x$ac_cv_func_hypot" = x""yes; then :
48208 cat >>confdefs.h <<_ACEOF
48209 #define HAVE_HYPOT 1
48210 _ACEOF
48213 done
48215 else
48217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48218 $as_echo_n "checking for _hypot declaration... " >&6; }
48219 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48220 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48221 $as_echo_n "(cached) " >&6
48222 else
48225 ac_ext=cpp
48226 ac_cpp='$CXXCPP $CPPFLAGS'
48227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48232 /* end confdefs.h. */
48233 #include <math.h>
48235 main ()
48237 _hypot(0, 0);
48239 return 0;
48241 _ACEOF
48242 if ac_fn_cxx_try_compile "$LINENO"; then :
48243 glibcxx_cv_func__hypot_use=yes
48244 else
48245 glibcxx_cv_func__hypot_use=no
48247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48248 ac_ext=c
48249 ac_cpp='$CPP $CPPFLAGS'
48250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48259 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48261 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48262 for ac_func in _hypot
48263 do :
48264 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48265 if test "x$ac_cv_func__hypot" = x""yes; then :
48266 cat >>confdefs.h <<_ACEOF
48267 #define HAVE__HYPOT 1
48268 _ACEOF
48271 done
48280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48281 $as_echo_n "checking for float trig functions... " >&6; }
48282 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48283 $as_echo_n "(cached) " >&6
48284 else
48287 ac_ext=cpp
48288 ac_cpp='$CXXCPP $CPPFLAGS'
48289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48294 /* end confdefs.h. */
48295 #include <math.h>
48297 main ()
48299 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48301 return 0;
48303 _ACEOF
48304 if ac_fn_cxx_try_compile "$LINENO"; then :
48305 glibcxx_cv_func_float_trig_use=yes
48306 else
48307 glibcxx_cv_func_float_trig_use=no
48309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48310 ac_ext=c
48311 ac_cpp='$CPP $CPPFLAGS'
48312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48319 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48320 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48321 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48322 do :
48323 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48324 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48325 eval as_val=\$$as_ac_var
48326 if test "x$as_val" = x""yes; then :
48327 cat >>confdefs.h <<_ACEOF
48328 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48329 _ACEOF
48332 done
48334 else
48335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48336 $as_echo_n "checking for _float trig functions... " >&6; }
48337 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48338 $as_echo_n "(cached) " >&6
48339 else
48342 ac_ext=cpp
48343 ac_cpp='$CXXCPP $CPPFLAGS'
48344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48349 /* end confdefs.h. */
48350 #include <math.h>
48352 main ()
48354 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48356 return 0;
48358 _ACEOF
48359 if ac_fn_cxx_try_compile "$LINENO"; then :
48360 glibcxx_cv_func__float_trig_use=yes
48361 else
48362 glibcxx_cv_func__float_trig_use=no
48364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48365 ac_ext=c
48366 ac_cpp='$CPP $CPPFLAGS'
48367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48374 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48375 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48376 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48377 do :
48378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48380 eval as_val=\$$as_ac_var
48381 if test "x$as_val" = x""yes; then :
48382 cat >>confdefs.h <<_ACEOF
48383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48384 _ACEOF
48387 done
48396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48397 $as_echo_n "checking for float round functions... " >&6; }
48398 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48399 $as_echo_n "(cached) " >&6
48400 else
48403 ac_ext=cpp
48404 ac_cpp='$CXXCPP $CPPFLAGS'
48405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48410 /* end confdefs.h. */
48411 #include <math.h>
48413 main ()
48415 ceilf (0); floorf (0);
48417 return 0;
48419 _ACEOF
48420 if ac_fn_cxx_try_compile "$LINENO"; then :
48421 glibcxx_cv_func_float_round_use=yes
48422 else
48423 glibcxx_cv_func_float_round_use=no
48425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48426 ac_ext=c
48427 ac_cpp='$CPP $CPPFLAGS'
48428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48435 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48436 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48437 for ac_func in ceilf floorf
48438 do :
48439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48441 eval as_val=\$$as_ac_var
48442 if test "x$as_val" = x""yes; then :
48443 cat >>confdefs.h <<_ACEOF
48444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48445 _ACEOF
48448 done
48450 else
48451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48452 $as_echo_n "checking for _float round functions... " >&6; }
48453 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48454 $as_echo_n "(cached) " >&6
48455 else
48458 ac_ext=cpp
48459 ac_cpp='$CXXCPP $CPPFLAGS'
48460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48465 /* end confdefs.h. */
48466 #include <math.h>
48468 main ()
48470 _ceilf (0); _floorf (0);
48472 return 0;
48474 _ACEOF
48475 if ac_fn_cxx_try_compile "$LINENO"; then :
48476 glibcxx_cv_func__float_round_use=yes
48477 else
48478 glibcxx_cv_func__float_round_use=no
48480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48481 ac_ext=c
48482 ac_cpp='$CPP $CPPFLAGS'
48483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48490 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48491 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48492 for ac_func in _ceilf _floorf
48493 do :
48494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48496 eval as_val=\$$as_ac_var
48497 if test "x$as_val" = x""yes; then :
48498 cat >>confdefs.h <<_ACEOF
48499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48500 _ACEOF
48503 done
48513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48514 $as_echo_n "checking for expf declaration... " >&6; }
48515 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48516 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48517 $as_echo_n "(cached) " >&6
48518 else
48521 ac_ext=cpp
48522 ac_cpp='$CXXCPP $CPPFLAGS'
48523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48528 /* end confdefs.h. */
48529 #include <math.h>
48530 #ifdef HAVE_IEEEFP_H
48531 #include <ieeefp.h>
48532 #endif
48535 main ()
48537 expf(0);
48539 return 0;
48541 _ACEOF
48542 if ac_fn_cxx_try_compile "$LINENO"; then :
48543 glibcxx_cv_func_expf_use=yes
48544 else
48545 glibcxx_cv_func_expf_use=no
48547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48548 ac_ext=c
48549 ac_cpp='$CPP $CPPFLAGS'
48550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48559 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48561 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48562 for ac_func in expf
48563 do :
48564 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48565 if test "x$ac_cv_func_expf" = x""yes; then :
48566 cat >>confdefs.h <<_ACEOF
48567 #define HAVE_EXPF 1
48568 _ACEOF
48571 done
48573 else
48575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48576 $as_echo_n "checking for _expf declaration... " >&6; }
48577 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48578 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48579 $as_echo_n "(cached) " >&6
48580 else
48583 ac_ext=cpp
48584 ac_cpp='$CXXCPP $CPPFLAGS'
48585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48590 /* end confdefs.h. */
48591 #include <math.h>
48592 #ifdef HAVE_IEEEFP_H
48593 #include <ieeefp.h>
48594 #endif
48597 main ()
48599 _expf(0);
48601 return 0;
48603 _ACEOF
48604 if ac_fn_cxx_try_compile "$LINENO"; then :
48605 glibcxx_cv_func__expf_use=yes
48606 else
48607 glibcxx_cv_func__expf_use=no
48609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48610 ac_ext=c
48611 ac_cpp='$CPP $CPPFLAGS'
48612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48621 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48623 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48624 for ac_func in _expf
48625 do :
48626 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48627 if test "x$ac_cv_func__expf" = x""yes; then :
48628 cat >>confdefs.h <<_ACEOF
48629 #define HAVE__EXPF 1
48630 _ACEOF
48633 done
48642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48643 $as_echo_n "checking for isnanf declaration... " >&6; }
48644 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48645 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48646 $as_echo_n "(cached) " >&6
48647 else
48650 ac_ext=cpp
48651 ac_cpp='$CXXCPP $CPPFLAGS'
48652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48657 /* end confdefs.h. */
48658 #include <math.h>
48659 #ifdef HAVE_IEEEFP_H
48660 #include <ieeefp.h>
48661 #endif
48664 main ()
48666 isnanf(0);
48668 return 0;
48670 _ACEOF
48671 if ac_fn_cxx_try_compile "$LINENO"; then :
48672 glibcxx_cv_func_isnanf_use=yes
48673 else
48674 glibcxx_cv_func_isnanf_use=no
48676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48677 ac_ext=c
48678 ac_cpp='$CPP $CPPFLAGS'
48679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48688 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48690 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48691 for ac_func in isnanf
48692 do :
48693 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48694 if test "x$ac_cv_func_isnanf" = x""yes; then :
48695 cat >>confdefs.h <<_ACEOF
48696 #define HAVE_ISNANF 1
48697 _ACEOF
48700 done
48702 else
48704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48705 $as_echo_n "checking for _isnanf declaration... " >&6; }
48706 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48707 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48708 $as_echo_n "(cached) " >&6
48709 else
48712 ac_ext=cpp
48713 ac_cpp='$CXXCPP $CPPFLAGS'
48714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48719 /* end confdefs.h. */
48720 #include <math.h>
48721 #ifdef HAVE_IEEEFP_H
48722 #include <ieeefp.h>
48723 #endif
48726 main ()
48728 _isnanf(0);
48730 return 0;
48732 _ACEOF
48733 if ac_fn_cxx_try_compile "$LINENO"; then :
48734 glibcxx_cv_func__isnanf_use=yes
48735 else
48736 glibcxx_cv_func__isnanf_use=no
48738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48739 ac_ext=c
48740 ac_cpp='$CPP $CPPFLAGS'
48741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48750 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48752 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48753 for ac_func in _isnanf
48754 do :
48755 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48756 if test "x$ac_cv_func__isnanf" = x""yes; then :
48757 cat >>confdefs.h <<_ACEOF
48758 #define HAVE__ISNANF 1
48759 _ACEOF
48762 done
48771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48772 $as_echo_n "checking for isinff declaration... " >&6; }
48773 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48774 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48775 $as_echo_n "(cached) " >&6
48776 else
48779 ac_ext=cpp
48780 ac_cpp='$CXXCPP $CPPFLAGS'
48781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48786 /* end confdefs.h. */
48787 #include <math.h>
48788 #ifdef HAVE_IEEEFP_H
48789 #include <ieeefp.h>
48790 #endif
48793 main ()
48795 isinff(0);
48797 return 0;
48799 _ACEOF
48800 if ac_fn_cxx_try_compile "$LINENO"; then :
48801 glibcxx_cv_func_isinff_use=yes
48802 else
48803 glibcxx_cv_func_isinff_use=no
48805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48806 ac_ext=c
48807 ac_cpp='$CPP $CPPFLAGS'
48808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48817 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48819 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48820 for ac_func in isinff
48821 do :
48822 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48823 if test "x$ac_cv_func_isinff" = x""yes; then :
48824 cat >>confdefs.h <<_ACEOF
48825 #define HAVE_ISINFF 1
48826 _ACEOF
48829 done
48831 else
48833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48834 $as_echo_n "checking for _isinff declaration... " >&6; }
48835 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48836 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48837 $as_echo_n "(cached) " >&6
48838 else
48841 ac_ext=cpp
48842 ac_cpp='$CXXCPP $CPPFLAGS'
48843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48848 /* end confdefs.h. */
48849 #include <math.h>
48850 #ifdef HAVE_IEEEFP_H
48851 #include <ieeefp.h>
48852 #endif
48855 main ()
48857 _isinff(0);
48859 return 0;
48861 _ACEOF
48862 if ac_fn_cxx_try_compile "$LINENO"; then :
48863 glibcxx_cv_func__isinff_use=yes
48864 else
48865 glibcxx_cv_func__isinff_use=no
48867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48868 ac_ext=c
48869 ac_cpp='$CPP $CPPFLAGS'
48870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48879 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48881 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48882 for ac_func in _isinff
48883 do :
48884 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48885 if test "x$ac_cv_func__isinff" = x""yes; then :
48886 cat >>confdefs.h <<_ACEOF
48887 #define HAVE__ISINFF 1
48888 _ACEOF
48891 done
48900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48901 $as_echo_n "checking for atan2f declaration... " >&6; }
48902 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48903 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48904 $as_echo_n "(cached) " >&6
48905 else
48908 ac_ext=cpp
48909 ac_cpp='$CXXCPP $CPPFLAGS'
48910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48915 /* end confdefs.h. */
48916 #include <math.h>
48918 main ()
48920 atan2f(0, 0);
48922 return 0;
48924 _ACEOF
48925 if ac_fn_cxx_try_compile "$LINENO"; then :
48926 glibcxx_cv_func_atan2f_use=yes
48927 else
48928 glibcxx_cv_func_atan2f_use=no
48930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48931 ac_ext=c
48932 ac_cpp='$CPP $CPPFLAGS'
48933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48942 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48944 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48945 for ac_func in atan2f
48946 do :
48947 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48948 if test "x$ac_cv_func_atan2f" = x""yes; then :
48949 cat >>confdefs.h <<_ACEOF
48950 #define HAVE_ATAN2F 1
48951 _ACEOF
48954 done
48956 else
48958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48959 $as_echo_n "checking for _atan2f declaration... " >&6; }
48960 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48961 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48962 $as_echo_n "(cached) " >&6
48963 else
48966 ac_ext=cpp
48967 ac_cpp='$CXXCPP $CPPFLAGS'
48968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48973 /* end confdefs.h. */
48974 #include <math.h>
48976 main ()
48978 _atan2f(0, 0);
48980 return 0;
48982 _ACEOF
48983 if ac_fn_cxx_try_compile "$LINENO"; then :
48984 glibcxx_cv_func__atan2f_use=yes
48985 else
48986 glibcxx_cv_func__atan2f_use=no
48988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48989 ac_ext=c
48990 ac_cpp='$CPP $CPPFLAGS'
48991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49000 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49002 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49003 for ac_func in _atan2f
49004 do :
49005 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49006 if test "x$ac_cv_func__atan2f" = x""yes; then :
49007 cat >>confdefs.h <<_ACEOF
49008 #define HAVE__ATAN2F 1
49009 _ACEOF
49012 done
49021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49022 $as_echo_n "checking for fabsf declaration... " >&6; }
49023 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49024 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49025 $as_echo_n "(cached) " >&6
49026 else
49029 ac_ext=cpp
49030 ac_cpp='$CXXCPP $CPPFLAGS'
49031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49036 /* end confdefs.h. */
49037 #include <math.h>
49038 #ifdef HAVE_IEEEFP_H
49039 #include <ieeefp.h>
49040 #endif
49043 main ()
49045 fabsf(0);
49047 return 0;
49049 _ACEOF
49050 if ac_fn_cxx_try_compile "$LINENO"; then :
49051 glibcxx_cv_func_fabsf_use=yes
49052 else
49053 glibcxx_cv_func_fabsf_use=no
49055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49056 ac_ext=c
49057 ac_cpp='$CPP $CPPFLAGS'
49058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49067 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49069 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49070 for ac_func in fabsf
49071 do :
49072 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49073 if test "x$ac_cv_func_fabsf" = x""yes; then :
49074 cat >>confdefs.h <<_ACEOF
49075 #define HAVE_FABSF 1
49076 _ACEOF
49079 done
49081 else
49083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49084 $as_echo_n "checking for _fabsf declaration... " >&6; }
49085 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49086 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49087 $as_echo_n "(cached) " >&6
49088 else
49091 ac_ext=cpp
49092 ac_cpp='$CXXCPP $CPPFLAGS'
49093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49098 /* end confdefs.h. */
49099 #include <math.h>
49100 #ifdef HAVE_IEEEFP_H
49101 #include <ieeefp.h>
49102 #endif
49105 main ()
49107 _fabsf(0);
49109 return 0;
49111 _ACEOF
49112 if ac_fn_cxx_try_compile "$LINENO"; then :
49113 glibcxx_cv_func__fabsf_use=yes
49114 else
49115 glibcxx_cv_func__fabsf_use=no
49117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49118 ac_ext=c
49119 ac_cpp='$CPP $CPPFLAGS'
49120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49129 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49131 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49132 for ac_func in _fabsf
49133 do :
49134 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49135 if test "x$ac_cv_func__fabsf" = x""yes; then :
49136 cat >>confdefs.h <<_ACEOF
49137 #define HAVE__FABSF 1
49138 _ACEOF
49141 done
49150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49151 $as_echo_n "checking for fmodf declaration... " >&6; }
49152 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49153 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49154 $as_echo_n "(cached) " >&6
49155 else
49158 ac_ext=cpp
49159 ac_cpp='$CXXCPP $CPPFLAGS'
49160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49165 /* end confdefs.h. */
49166 #include <math.h>
49168 main ()
49170 fmodf(0, 0);
49172 return 0;
49174 _ACEOF
49175 if ac_fn_cxx_try_compile "$LINENO"; then :
49176 glibcxx_cv_func_fmodf_use=yes
49177 else
49178 glibcxx_cv_func_fmodf_use=no
49180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49181 ac_ext=c
49182 ac_cpp='$CPP $CPPFLAGS'
49183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49192 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49194 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49195 for ac_func in fmodf
49196 do :
49197 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49198 if test "x$ac_cv_func_fmodf" = x""yes; then :
49199 cat >>confdefs.h <<_ACEOF
49200 #define HAVE_FMODF 1
49201 _ACEOF
49204 done
49206 else
49208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49209 $as_echo_n "checking for _fmodf declaration... " >&6; }
49210 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49211 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49212 $as_echo_n "(cached) " >&6
49213 else
49216 ac_ext=cpp
49217 ac_cpp='$CXXCPP $CPPFLAGS'
49218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49223 /* end confdefs.h. */
49224 #include <math.h>
49226 main ()
49228 _fmodf(0, 0);
49230 return 0;
49232 _ACEOF
49233 if ac_fn_cxx_try_compile "$LINENO"; then :
49234 glibcxx_cv_func__fmodf_use=yes
49235 else
49236 glibcxx_cv_func__fmodf_use=no
49238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49239 ac_ext=c
49240 ac_cpp='$CPP $CPPFLAGS'
49241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49250 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49252 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49253 for ac_func in _fmodf
49254 do :
49255 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49256 if test "x$ac_cv_func__fmodf" = x""yes; then :
49257 cat >>confdefs.h <<_ACEOF
49258 #define HAVE__FMODF 1
49259 _ACEOF
49262 done
49271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49272 $as_echo_n "checking for frexpf declaration... " >&6; }
49273 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49274 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49275 $as_echo_n "(cached) " >&6
49276 else
49279 ac_ext=cpp
49280 ac_cpp='$CXXCPP $CPPFLAGS'
49281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49286 /* end confdefs.h. */
49287 #include <math.h>
49289 main ()
49291 frexpf(0, 0);
49293 return 0;
49295 _ACEOF
49296 if ac_fn_cxx_try_compile "$LINENO"; then :
49297 glibcxx_cv_func_frexpf_use=yes
49298 else
49299 glibcxx_cv_func_frexpf_use=no
49301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49302 ac_ext=c
49303 ac_cpp='$CPP $CPPFLAGS'
49304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49313 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49315 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49316 for ac_func in frexpf
49317 do :
49318 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49319 if test "x$ac_cv_func_frexpf" = x""yes; then :
49320 cat >>confdefs.h <<_ACEOF
49321 #define HAVE_FREXPF 1
49322 _ACEOF
49325 done
49327 else
49329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49330 $as_echo_n "checking for _frexpf declaration... " >&6; }
49331 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49332 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49333 $as_echo_n "(cached) " >&6
49334 else
49337 ac_ext=cpp
49338 ac_cpp='$CXXCPP $CPPFLAGS'
49339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49344 /* end confdefs.h. */
49345 #include <math.h>
49347 main ()
49349 _frexpf(0, 0);
49351 return 0;
49353 _ACEOF
49354 if ac_fn_cxx_try_compile "$LINENO"; then :
49355 glibcxx_cv_func__frexpf_use=yes
49356 else
49357 glibcxx_cv_func__frexpf_use=no
49359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49360 ac_ext=c
49361 ac_cpp='$CPP $CPPFLAGS'
49362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49371 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49373 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49374 for ac_func in _frexpf
49375 do :
49376 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49377 if test "x$ac_cv_func__frexpf" = x""yes; then :
49378 cat >>confdefs.h <<_ACEOF
49379 #define HAVE__FREXPF 1
49380 _ACEOF
49383 done
49392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49393 $as_echo_n "checking for hypotf declaration... " >&6; }
49394 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49395 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49396 $as_echo_n "(cached) " >&6
49397 else
49400 ac_ext=cpp
49401 ac_cpp='$CXXCPP $CPPFLAGS'
49402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49407 /* end confdefs.h. */
49408 #include <math.h>
49410 main ()
49412 hypotf(0, 0);
49414 return 0;
49416 _ACEOF
49417 if ac_fn_cxx_try_compile "$LINENO"; then :
49418 glibcxx_cv_func_hypotf_use=yes
49419 else
49420 glibcxx_cv_func_hypotf_use=no
49422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49423 ac_ext=c
49424 ac_cpp='$CPP $CPPFLAGS'
49425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49434 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49436 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49437 for ac_func in hypotf
49438 do :
49439 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49440 if test "x$ac_cv_func_hypotf" = x""yes; then :
49441 cat >>confdefs.h <<_ACEOF
49442 #define HAVE_HYPOTF 1
49443 _ACEOF
49446 done
49448 else
49450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49451 $as_echo_n "checking for _hypotf declaration... " >&6; }
49452 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49453 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49454 $as_echo_n "(cached) " >&6
49455 else
49458 ac_ext=cpp
49459 ac_cpp='$CXXCPP $CPPFLAGS'
49460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49465 /* end confdefs.h. */
49466 #include <math.h>
49468 main ()
49470 _hypotf(0, 0);
49472 return 0;
49474 _ACEOF
49475 if ac_fn_cxx_try_compile "$LINENO"; then :
49476 glibcxx_cv_func__hypotf_use=yes
49477 else
49478 glibcxx_cv_func__hypotf_use=no
49480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49481 ac_ext=c
49482 ac_cpp='$CPP $CPPFLAGS'
49483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49492 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49494 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49495 for ac_func in _hypotf
49496 do :
49497 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49498 if test "x$ac_cv_func__hypotf" = x""yes; then :
49499 cat >>confdefs.h <<_ACEOF
49500 #define HAVE__HYPOTF 1
49501 _ACEOF
49504 done
49513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49514 $as_echo_n "checking for ldexpf declaration... " >&6; }
49515 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49516 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49517 $as_echo_n "(cached) " >&6
49518 else
49521 ac_ext=cpp
49522 ac_cpp='$CXXCPP $CPPFLAGS'
49523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49528 /* end confdefs.h. */
49529 #include <math.h>
49531 main ()
49533 ldexpf(0, 0);
49535 return 0;
49537 _ACEOF
49538 if ac_fn_cxx_try_compile "$LINENO"; then :
49539 glibcxx_cv_func_ldexpf_use=yes
49540 else
49541 glibcxx_cv_func_ldexpf_use=no
49543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49544 ac_ext=c
49545 ac_cpp='$CPP $CPPFLAGS'
49546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49555 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49557 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49558 for ac_func in ldexpf
49559 do :
49560 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49561 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49562 cat >>confdefs.h <<_ACEOF
49563 #define HAVE_LDEXPF 1
49564 _ACEOF
49567 done
49569 else
49571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49572 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49573 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49574 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49575 $as_echo_n "(cached) " >&6
49576 else
49579 ac_ext=cpp
49580 ac_cpp='$CXXCPP $CPPFLAGS'
49581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49586 /* end confdefs.h. */
49587 #include <math.h>
49589 main ()
49591 _ldexpf(0, 0);
49593 return 0;
49595 _ACEOF
49596 if ac_fn_cxx_try_compile "$LINENO"; then :
49597 glibcxx_cv_func__ldexpf_use=yes
49598 else
49599 glibcxx_cv_func__ldexpf_use=no
49601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49602 ac_ext=c
49603 ac_cpp='$CPP $CPPFLAGS'
49604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49613 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49615 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49616 for ac_func in _ldexpf
49617 do :
49618 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49619 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49620 cat >>confdefs.h <<_ACEOF
49621 #define HAVE__LDEXPF 1
49622 _ACEOF
49625 done
49634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49635 $as_echo_n "checking for logf declaration... " >&6; }
49636 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49637 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49638 $as_echo_n "(cached) " >&6
49639 else
49642 ac_ext=cpp
49643 ac_cpp='$CXXCPP $CPPFLAGS'
49644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49649 /* end confdefs.h. */
49650 #include <math.h>
49651 #ifdef HAVE_IEEEFP_H
49652 #include <ieeefp.h>
49653 #endif
49656 main ()
49658 logf(0);
49660 return 0;
49662 _ACEOF
49663 if ac_fn_cxx_try_compile "$LINENO"; then :
49664 glibcxx_cv_func_logf_use=yes
49665 else
49666 glibcxx_cv_func_logf_use=no
49668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49669 ac_ext=c
49670 ac_cpp='$CPP $CPPFLAGS'
49671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49680 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49682 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49683 for ac_func in logf
49684 do :
49685 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49686 if test "x$ac_cv_func_logf" = x""yes; then :
49687 cat >>confdefs.h <<_ACEOF
49688 #define HAVE_LOGF 1
49689 _ACEOF
49692 done
49694 else
49696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49697 $as_echo_n "checking for _logf declaration... " >&6; }
49698 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49699 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49700 $as_echo_n "(cached) " >&6
49701 else
49704 ac_ext=cpp
49705 ac_cpp='$CXXCPP $CPPFLAGS'
49706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49711 /* end confdefs.h. */
49712 #include <math.h>
49713 #ifdef HAVE_IEEEFP_H
49714 #include <ieeefp.h>
49715 #endif
49718 main ()
49720 _logf(0);
49722 return 0;
49724 _ACEOF
49725 if ac_fn_cxx_try_compile "$LINENO"; then :
49726 glibcxx_cv_func__logf_use=yes
49727 else
49728 glibcxx_cv_func__logf_use=no
49730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49731 ac_ext=c
49732 ac_cpp='$CPP $CPPFLAGS'
49733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49742 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49744 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49745 for ac_func in _logf
49746 do :
49747 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49748 if test "x$ac_cv_func__logf" = x""yes; then :
49749 cat >>confdefs.h <<_ACEOF
49750 #define HAVE__LOGF 1
49751 _ACEOF
49754 done
49763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49764 $as_echo_n "checking for log10f declaration... " >&6; }
49765 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49766 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49767 $as_echo_n "(cached) " >&6
49768 else
49771 ac_ext=cpp
49772 ac_cpp='$CXXCPP $CPPFLAGS'
49773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49778 /* end confdefs.h. */
49779 #include <math.h>
49780 #ifdef HAVE_IEEEFP_H
49781 #include <ieeefp.h>
49782 #endif
49785 main ()
49787 log10f(0);
49789 return 0;
49791 _ACEOF
49792 if ac_fn_cxx_try_compile "$LINENO"; then :
49793 glibcxx_cv_func_log10f_use=yes
49794 else
49795 glibcxx_cv_func_log10f_use=no
49797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49798 ac_ext=c
49799 ac_cpp='$CPP $CPPFLAGS'
49800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49809 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49811 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49812 for ac_func in log10f
49813 do :
49814 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49815 if test "x$ac_cv_func_log10f" = x""yes; then :
49816 cat >>confdefs.h <<_ACEOF
49817 #define HAVE_LOG10F 1
49818 _ACEOF
49821 done
49823 else
49825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49826 $as_echo_n "checking for _log10f declaration... " >&6; }
49827 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49828 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49829 $as_echo_n "(cached) " >&6
49830 else
49833 ac_ext=cpp
49834 ac_cpp='$CXXCPP $CPPFLAGS'
49835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49840 /* end confdefs.h. */
49841 #include <math.h>
49842 #ifdef HAVE_IEEEFP_H
49843 #include <ieeefp.h>
49844 #endif
49847 main ()
49849 _log10f(0);
49851 return 0;
49853 _ACEOF
49854 if ac_fn_cxx_try_compile "$LINENO"; then :
49855 glibcxx_cv_func__log10f_use=yes
49856 else
49857 glibcxx_cv_func__log10f_use=no
49859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49860 ac_ext=c
49861 ac_cpp='$CPP $CPPFLAGS'
49862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49871 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49873 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49874 for ac_func in _log10f
49875 do :
49876 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49877 if test "x$ac_cv_func__log10f" = x""yes; then :
49878 cat >>confdefs.h <<_ACEOF
49879 #define HAVE__LOG10F 1
49880 _ACEOF
49883 done
49892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49893 $as_echo_n "checking for modff declaration... " >&6; }
49894 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49895 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49896 $as_echo_n "(cached) " >&6
49897 else
49900 ac_ext=cpp
49901 ac_cpp='$CXXCPP $CPPFLAGS'
49902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49907 /* end confdefs.h. */
49908 #include <math.h>
49910 main ()
49912 modff(0, 0);
49914 return 0;
49916 _ACEOF
49917 if ac_fn_cxx_try_compile "$LINENO"; then :
49918 glibcxx_cv_func_modff_use=yes
49919 else
49920 glibcxx_cv_func_modff_use=no
49922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49923 ac_ext=c
49924 ac_cpp='$CPP $CPPFLAGS'
49925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49934 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49936 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49937 for ac_func in modff
49938 do :
49939 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49940 if test "x$ac_cv_func_modff" = x""yes; then :
49941 cat >>confdefs.h <<_ACEOF
49942 #define HAVE_MODFF 1
49943 _ACEOF
49946 done
49948 else
49950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49951 $as_echo_n "checking for _modff declaration... " >&6; }
49952 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49953 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49954 $as_echo_n "(cached) " >&6
49955 else
49958 ac_ext=cpp
49959 ac_cpp='$CXXCPP $CPPFLAGS'
49960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49965 /* end confdefs.h. */
49966 #include <math.h>
49968 main ()
49970 _modff(0, 0);
49972 return 0;
49974 _ACEOF
49975 if ac_fn_cxx_try_compile "$LINENO"; then :
49976 glibcxx_cv_func__modff_use=yes
49977 else
49978 glibcxx_cv_func__modff_use=no
49980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49981 ac_ext=c
49982 ac_cpp='$CPP $CPPFLAGS'
49983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49992 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49994 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49995 for ac_func in _modff
49996 do :
49997 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49998 if test "x$ac_cv_func__modff" = x""yes; then :
49999 cat >>confdefs.h <<_ACEOF
50000 #define HAVE__MODFF 1
50001 _ACEOF
50004 done
50013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50014 $as_echo_n "checking for modf declaration... " >&6; }
50015 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50016 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
50017 $as_echo_n "(cached) " >&6
50018 else
50021 ac_ext=cpp
50022 ac_cpp='$CXXCPP $CPPFLAGS'
50023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50028 /* end confdefs.h. */
50029 #include <math.h>
50031 main ()
50033 modf(0, 0);
50035 return 0;
50037 _ACEOF
50038 if ac_fn_cxx_try_compile "$LINENO"; then :
50039 glibcxx_cv_func_modf_use=yes
50040 else
50041 glibcxx_cv_func_modf_use=no
50043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50044 ac_ext=c
50045 ac_cpp='$CPP $CPPFLAGS'
50046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50055 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50057 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50058 for ac_func in modf
50059 do :
50060 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50061 if test "x$ac_cv_func_modf" = x""yes; then :
50062 cat >>confdefs.h <<_ACEOF
50063 #define HAVE_MODF 1
50064 _ACEOF
50067 done
50069 else
50071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50072 $as_echo_n "checking for _modf declaration... " >&6; }
50073 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50074 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50075 $as_echo_n "(cached) " >&6
50076 else
50079 ac_ext=cpp
50080 ac_cpp='$CXXCPP $CPPFLAGS'
50081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50086 /* end confdefs.h. */
50087 #include <math.h>
50089 main ()
50091 _modf(0, 0);
50093 return 0;
50095 _ACEOF
50096 if ac_fn_cxx_try_compile "$LINENO"; then :
50097 glibcxx_cv_func__modf_use=yes
50098 else
50099 glibcxx_cv_func__modf_use=no
50101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50102 ac_ext=c
50103 ac_cpp='$CPP $CPPFLAGS'
50104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50113 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50115 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50116 for ac_func in _modf
50117 do :
50118 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50119 if test "x$ac_cv_func__modf" = x""yes; then :
50120 cat >>confdefs.h <<_ACEOF
50121 #define HAVE__MODF 1
50122 _ACEOF
50125 done
50134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50135 $as_echo_n "checking for powf declaration... " >&6; }
50136 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50137 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50138 $as_echo_n "(cached) " >&6
50139 else
50142 ac_ext=cpp
50143 ac_cpp='$CXXCPP $CPPFLAGS'
50144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50149 /* end confdefs.h. */
50150 #include <math.h>
50152 main ()
50154 powf(0, 0);
50156 return 0;
50158 _ACEOF
50159 if ac_fn_cxx_try_compile "$LINENO"; then :
50160 glibcxx_cv_func_powf_use=yes
50161 else
50162 glibcxx_cv_func_powf_use=no
50164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50165 ac_ext=c
50166 ac_cpp='$CPP $CPPFLAGS'
50167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50176 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50178 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50179 for ac_func in powf
50180 do :
50181 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50182 if test "x$ac_cv_func_powf" = x""yes; then :
50183 cat >>confdefs.h <<_ACEOF
50184 #define HAVE_POWF 1
50185 _ACEOF
50188 done
50190 else
50192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50193 $as_echo_n "checking for _powf declaration... " >&6; }
50194 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50195 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50196 $as_echo_n "(cached) " >&6
50197 else
50200 ac_ext=cpp
50201 ac_cpp='$CXXCPP $CPPFLAGS'
50202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50207 /* end confdefs.h. */
50208 #include <math.h>
50210 main ()
50212 _powf(0, 0);
50214 return 0;
50216 _ACEOF
50217 if ac_fn_cxx_try_compile "$LINENO"; then :
50218 glibcxx_cv_func__powf_use=yes
50219 else
50220 glibcxx_cv_func__powf_use=no
50222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50223 ac_ext=c
50224 ac_cpp='$CPP $CPPFLAGS'
50225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50234 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50236 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50237 for ac_func in _powf
50238 do :
50239 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50240 if test "x$ac_cv_func__powf" = x""yes; then :
50241 cat >>confdefs.h <<_ACEOF
50242 #define HAVE__POWF 1
50243 _ACEOF
50246 done
50255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50256 $as_echo_n "checking for sqrtf declaration... " >&6; }
50257 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50258 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50259 $as_echo_n "(cached) " >&6
50260 else
50263 ac_ext=cpp
50264 ac_cpp='$CXXCPP $CPPFLAGS'
50265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50270 /* end confdefs.h. */
50271 #include <math.h>
50272 #ifdef HAVE_IEEEFP_H
50273 #include <ieeefp.h>
50274 #endif
50277 main ()
50279 sqrtf(0);
50281 return 0;
50283 _ACEOF
50284 if ac_fn_cxx_try_compile "$LINENO"; then :
50285 glibcxx_cv_func_sqrtf_use=yes
50286 else
50287 glibcxx_cv_func_sqrtf_use=no
50289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50290 ac_ext=c
50291 ac_cpp='$CPP $CPPFLAGS'
50292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50301 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50303 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50304 for ac_func in sqrtf
50305 do :
50306 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50307 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50308 cat >>confdefs.h <<_ACEOF
50309 #define HAVE_SQRTF 1
50310 _ACEOF
50313 done
50315 else
50317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50318 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50319 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50320 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50321 $as_echo_n "(cached) " >&6
50322 else
50325 ac_ext=cpp
50326 ac_cpp='$CXXCPP $CPPFLAGS'
50327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50332 /* end confdefs.h. */
50333 #include <math.h>
50334 #ifdef HAVE_IEEEFP_H
50335 #include <ieeefp.h>
50336 #endif
50339 main ()
50341 _sqrtf(0);
50343 return 0;
50345 _ACEOF
50346 if ac_fn_cxx_try_compile "$LINENO"; then :
50347 glibcxx_cv_func__sqrtf_use=yes
50348 else
50349 glibcxx_cv_func__sqrtf_use=no
50351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50352 ac_ext=c
50353 ac_cpp='$CPP $CPPFLAGS'
50354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50363 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50365 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50366 for ac_func in _sqrtf
50367 do :
50368 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50369 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50370 cat >>confdefs.h <<_ACEOF
50371 #define HAVE__SQRTF 1
50372 _ACEOF
50375 done
50384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50385 $as_echo_n "checking for sincosf declaration... " >&6; }
50386 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50387 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50388 $as_echo_n "(cached) " >&6
50389 else
50392 ac_ext=cpp
50393 ac_cpp='$CXXCPP $CPPFLAGS'
50394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50399 /* end confdefs.h. */
50400 #include <math.h>
50402 main ()
50404 sincosf(0, 0, 0);
50406 return 0;
50408 _ACEOF
50409 if ac_fn_cxx_try_compile "$LINENO"; then :
50410 glibcxx_cv_func_sincosf_use=yes
50411 else
50412 glibcxx_cv_func_sincosf_use=no
50414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50415 ac_ext=c
50416 ac_cpp='$CPP $CPPFLAGS'
50417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50426 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50428 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50429 for ac_func in sincosf
50430 do :
50431 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50432 if test "x$ac_cv_func_sincosf" = x""yes; then :
50433 cat >>confdefs.h <<_ACEOF
50434 #define HAVE_SINCOSF 1
50435 _ACEOF
50438 done
50440 else
50442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50443 $as_echo_n "checking for _sincosf declaration... " >&6; }
50444 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50445 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50446 $as_echo_n "(cached) " >&6
50447 else
50450 ac_ext=cpp
50451 ac_cpp='$CXXCPP $CPPFLAGS'
50452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50457 /* end confdefs.h. */
50458 #include <math.h>
50460 main ()
50462 _sincosf(0, 0, 0);
50464 return 0;
50466 _ACEOF
50467 if ac_fn_cxx_try_compile "$LINENO"; then :
50468 glibcxx_cv_func__sincosf_use=yes
50469 else
50470 glibcxx_cv_func__sincosf_use=no
50472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50473 ac_ext=c
50474 ac_cpp='$CPP $CPPFLAGS'
50475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50484 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50486 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50487 for ac_func in _sincosf
50488 do :
50489 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50490 if test "x$ac_cv_func__sincosf" = x""yes; then :
50491 cat >>confdefs.h <<_ACEOF
50492 #define HAVE__SINCOSF 1
50493 _ACEOF
50496 done
50505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50506 $as_echo_n "checking for finitef declaration... " >&6; }
50507 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50508 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50509 $as_echo_n "(cached) " >&6
50510 else
50513 ac_ext=cpp
50514 ac_cpp='$CXXCPP $CPPFLAGS'
50515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50520 /* end confdefs.h. */
50521 #include <math.h>
50522 #ifdef HAVE_IEEEFP_H
50523 #include <ieeefp.h>
50524 #endif
50527 main ()
50529 finitef(0);
50531 return 0;
50533 _ACEOF
50534 if ac_fn_cxx_try_compile "$LINENO"; then :
50535 glibcxx_cv_func_finitef_use=yes
50536 else
50537 glibcxx_cv_func_finitef_use=no
50539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50540 ac_ext=c
50541 ac_cpp='$CPP $CPPFLAGS'
50542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50551 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50553 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50554 for ac_func in finitef
50555 do :
50556 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50557 if test "x$ac_cv_func_finitef" = x""yes; then :
50558 cat >>confdefs.h <<_ACEOF
50559 #define HAVE_FINITEF 1
50560 _ACEOF
50563 done
50565 else
50567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50568 $as_echo_n "checking for _finitef declaration... " >&6; }
50569 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50570 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50571 $as_echo_n "(cached) " >&6
50572 else
50575 ac_ext=cpp
50576 ac_cpp='$CXXCPP $CPPFLAGS'
50577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50582 /* end confdefs.h. */
50583 #include <math.h>
50584 #ifdef HAVE_IEEEFP_H
50585 #include <ieeefp.h>
50586 #endif
50589 main ()
50591 _finitef(0);
50593 return 0;
50595 _ACEOF
50596 if ac_fn_cxx_try_compile "$LINENO"; then :
50597 glibcxx_cv_func__finitef_use=yes
50598 else
50599 glibcxx_cv_func__finitef_use=no
50601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50602 ac_ext=c
50603 ac_cpp='$CPP $CPPFLAGS'
50604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50613 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50615 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50616 for ac_func in _finitef
50617 do :
50618 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50619 if test "x$ac_cv_func__finitef" = x""yes; then :
50620 cat >>confdefs.h <<_ACEOF
50621 #define HAVE__FINITEF 1
50622 _ACEOF
50625 done
50634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50635 $as_echo_n "checking for long double trig functions... " >&6; }
50636 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50637 $as_echo_n "(cached) " >&6
50638 else
50641 ac_ext=cpp
50642 ac_cpp='$CXXCPP $CPPFLAGS'
50643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50648 /* end confdefs.h. */
50649 #include <math.h>
50651 main ()
50653 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50655 return 0;
50657 _ACEOF
50658 if ac_fn_cxx_try_compile "$LINENO"; then :
50659 glibcxx_cv_func_long_double_trig_use=yes
50660 else
50661 glibcxx_cv_func_long_double_trig_use=no
50663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50664 ac_ext=c
50665 ac_cpp='$CPP $CPPFLAGS'
50666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50673 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50674 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50675 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50676 do :
50677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50679 eval as_val=\$$as_ac_var
50680 if test "x$as_val" = x""yes; then :
50681 cat >>confdefs.h <<_ACEOF
50682 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50683 _ACEOF
50686 done
50688 else
50689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50690 $as_echo_n "checking for _long double trig functions... " >&6; }
50691 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50692 $as_echo_n "(cached) " >&6
50693 else
50696 ac_ext=cpp
50697 ac_cpp='$CXXCPP $CPPFLAGS'
50698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50703 /* end confdefs.h. */
50704 #include <math.h>
50706 main ()
50708 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50710 return 0;
50712 _ACEOF
50713 if ac_fn_cxx_try_compile "$LINENO"; then :
50714 glibcxx_cv_func__long_double_trig_use=yes
50715 else
50716 glibcxx_cv_func__long_double_trig_use=no
50718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50719 ac_ext=c
50720 ac_cpp='$CPP $CPPFLAGS'
50721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50728 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50729 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50730 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50731 do :
50732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50734 eval as_val=\$$as_ac_var
50735 if test "x$as_val" = x""yes; then :
50736 cat >>confdefs.h <<_ACEOF
50737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50738 _ACEOF
50741 done
50750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50751 $as_echo_n "checking for long double round functions... " >&6; }
50752 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50753 $as_echo_n "(cached) " >&6
50754 else
50757 ac_ext=cpp
50758 ac_cpp='$CXXCPP $CPPFLAGS'
50759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50764 /* end confdefs.h. */
50765 #include <math.h>
50767 main ()
50769 ceill (0); floorl (0);
50771 return 0;
50773 _ACEOF
50774 if ac_fn_cxx_try_compile "$LINENO"; then :
50775 glibcxx_cv_func_long_double_round_use=yes
50776 else
50777 glibcxx_cv_func_long_double_round_use=no
50779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50780 ac_ext=c
50781 ac_cpp='$CPP $CPPFLAGS'
50782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50789 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50790 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50791 for ac_func in ceill floorl
50792 do :
50793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50795 eval as_val=\$$as_ac_var
50796 if test "x$as_val" = x""yes; then :
50797 cat >>confdefs.h <<_ACEOF
50798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50799 _ACEOF
50802 done
50804 else
50805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50806 $as_echo_n "checking for _long double round functions... " >&6; }
50807 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50808 $as_echo_n "(cached) " >&6
50809 else
50812 ac_ext=cpp
50813 ac_cpp='$CXXCPP $CPPFLAGS'
50814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50819 /* end confdefs.h. */
50820 #include <math.h>
50822 main ()
50824 _ceill (0); _floorl (0);
50826 return 0;
50828 _ACEOF
50829 if ac_fn_cxx_try_compile "$LINENO"; then :
50830 glibcxx_cv_func__long_double_round_use=yes
50831 else
50832 glibcxx_cv_func__long_double_round_use=no
50834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50835 ac_ext=c
50836 ac_cpp='$CPP $CPPFLAGS'
50837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50844 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50845 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50846 for ac_func in _ceill _floorl
50847 do :
50848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50850 eval as_val=\$$as_ac_var
50851 if test "x$as_val" = x""yes; then :
50852 cat >>confdefs.h <<_ACEOF
50853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50854 _ACEOF
50857 done
50867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50868 $as_echo_n "checking for isnanl declaration... " >&6; }
50869 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50870 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50871 $as_echo_n "(cached) " >&6
50872 else
50875 ac_ext=cpp
50876 ac_cpp='$CXXCPP $CPPFLAGS'
50877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50882 /* end confdefs.h. */
50883 #include <math.h>
50884 #ifdef HAVE_IEEEFP_H
50885 #include <ieeefp.h>
50886 #endif
50889 main ()
50891 isnanl(0);
50893 return 0;
50895 _ACEOF
50896 if ac_fn_cxx_try_compile "$LINENO"; then :
50897 glibcxx_cv_func_isnanl_use=yes
50898 else
50899 glibcxx_cv_func_isnanl_use=no
50901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50902 ac_ext=c
50903 ac_cpp='$CPP $CPPFLAGS'
50904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50913 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50915 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50916 for ac_func in isnanl
50917 do :
50918 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50919 if test "x$ac_cv_func_isnanl" = x""yes; then :
50920 cat >>confdefs.h <<_ACEOF
50921 #define HAVE_ISNANL 1
50922 _ACEOF
50925 done
50927 else
50929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50930 $as_echo_n "checking for _isnanl declaration... " >&6; }
50931 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50932 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50933 $as_echo_n "(cached) " >&6
50934 else
50937 ac_ext=cpp
50938 ac_cpp='$CXXCPP $CPPFLAGS'
50939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50944 /* end confdefs.h. */
50945 #include <math.h>
50946 #ifdef HAVE_IEEEFP_H
50947 #include <ieeefp.h>
50948 #endif
50951 main ()
50953 _isnanl(0);
50955 return 0;
50957 _ACEOF
50958 if ac_fn_cxx_try_compile "$LINENO"; then :
50959 glibcxx_cv_func__isnanl_use=yes
50960 else
50961 glibcxx_cv_func__isnanl_use=no
50963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50964 ac_ext=c
50965 ac_cpp='$CPP $CPPFLAGS'
50966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50975 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50977 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50978 for ac_func in _isnanl
50979 do :
50980 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50981 if test "x$ac_cv_func__isnanl" = x""yes; then :
50982 cat >>confdefs.h <<_ACEOF
50983 #define HAVE__ISNANL 1
50984 _ACEOF
50987 done
50996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50997 $as_echo_n "checking for isinfl declaration... " >&6; }
50998 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50999 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
51000 $as_echo_n "(cached) " >&6
51001 else
51004 ac_ext=cpp
51005 ac_cpp='$CXXCPP $CPPFLAGS'
51006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51011 /* end confdefs.h. */
51012 #include <math.h>
51013 #ifdef HAVE_IEEEFP_H
51014 #include <ieeefp.h>
51015 #endif
51018 main ()
51020 isinfl(0);
51022 return 0;
51024 _ACEOF
51025 if ac_fn_cxx_try_compile "$LINENO"; then :
51026 glibcxx_cv_func_isinfl_use=yes
51027 else
51028 glibcxx_cv_func_isinfl_use=no
51030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51031 ac_ext=c
51032 ac_cpp='$CPP $CPPFLAGS'
51033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51042 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51044 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51045 for ac_func in isinfl
51046 do :
51047 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51048 if test "x$ac_cv_func_isinfl" = x""yes; then :
51049 cat >>confdefs.h <<_ACEOF
51050 #define HAVE_ISINFL 1
51051 _ACEOF
51054 done
51056 else
51058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51059 $as_echo_n "checking for _isinfl declaration... " >&6; }
51060 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51061 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51062 $as_echo_n "(cached) " >&6
51063 else
51066 ac_ext=cpp
51067 ac_cpp='$CXXCPP $CPPFLAGS'
51068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51073 /* end confdefs.h. */
51074 #include <math.h>
51075 #ifdef HAVE_IEEEFP_H
51076 #include <ieeefp.h>
51077 #endif
51080 main ()
51082 _isinfl(0);
51084 return 0;
51086 _ACEOF
51087 if ac_fn_cxx_try_compile "$LINENO"; then :
51088 glibcxx_cv_func__isinfl_use=yes
51089 else
51090 glibcxx_cv_func__isinfl_use=no
51092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51093 ac_ext=c
51094 ac_cpp='$CPP $CPPFLAGS'
51095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51104 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51106 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51107 for ac_func in _isinfl
51108 do :
51109 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51110 if test "x$ac_cv_func__isinfl" = x""yes; then :
51111 cat >>confdefs.h <<_ACEOF
51112 #define HAVE__ISINFL 1
51113 _ACEOF
51116 done
51125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51126 $as_echo_n "checking for atan2l declaration... " >&6; }
51127 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51128 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51129 $as_echo_n "(cached) " >&6
51130 else
51133 ac_ext=cpp
51134 ac_cpp='$CXXCPP $CPPFLAGS'
51135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51140 /* end confdefs.h. */
51141 #include <math.h>
51143 main ()
51145 atan2l(0, 0);
51147 return 0;
51149 _ACEOF
51150 if ac_fn_cxx_try_compile "$LINENO"; then :
51151 glibcxx_cv_func_atan2l_use=yes
51152 else
51153 glibcxx_cv_func_atan2l_use=no
51155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51156 ac_ext=c
51157 ac_cpp='$CPP $CPPFLAGS'
51158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51167 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51169 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51170 for ac_func in atan2l
51171 do :
51172 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51173 if test "x$ac_cv_func_atan2l" = x""yes; then :
51174 cat >>confdefs.h <<_ACEOF
51175 #define HAVE_ATAN2L 1
51176 _ACEOF
51179 done
51181 else
51183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51184 $as_echo_n "checking for _atan2l declaration... " >&6; }
51185 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51186 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51187 $as_echo_n "(cached) " >&6
51188 else
51191 ac_ext=cpp
51192 ac_cpp='$CXXCPP $CPPFLAGS'
51193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51198 /* end confdefs.h. */
51199 #include <math.h>
51201 main ()
51203 _atan2l(0, 0);
51205 return 0;
51207 _ACEOF
51208 if ac_fn_cxx_try_compile "$LINENO"; then :
51209 glibcxx_cv_func__atan2l_use=yes
51210 else
51211 glibcxx_cv_func__atan2l_use=no
51213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51214 ac_ext=c
51215 ac_cpp='$CPP $CPPFLAGS'
51216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51225 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51227 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51228 for ac_func in _atan2l
51229 do :
51230 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51231 if test "x$ac_cv_func__atan2l" = x""yes; then :
51232 cat >>confdefs.h <<_ACEOF
51233 #define HAVE__ATAN2L 1
51234 _ACEOF
51237 done
51246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51247 $as_echo_n "checking for expl declaration... " >&6; }
51248 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51249 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51250 $as_echo_n "(cached) " >&6
51251 else
51254 ac_ext=cpp
51255 ac_cpp='$CXXCPP $CPPFLAGS'
51256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51261 /* end confdefs.h. */
51262 #include <math.h>
51263 #ifdef HAVE_IEEEFP_H
51264 #include <ieeefp.h>
51265 #endif
51268 main ()
51270 expl(0);
51272 return 0;
51274 _ACEOF
51275 if ac_fn_cxx_try_compile "$LINENO"; then :
51276 glibcxx_cv_func_expl_use=yes
51277 else
51278 glibcxx_cv_func_expl_use=no
51280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51281 ac_ext=c
51282 ac_cpp='$CPP $CPPFLAGS'
51283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51292 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51294 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51295 for ac_func in expl
51296 do :
51297 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51298 if test "x$ac_cv_func_expl" = x""yes; then :
51299 cat >>confdefs.h <<_ACEOF
51300 #define HAVE_EXPL 1
51301 _ACEOF
51304 done
51306 else
51308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51309 $as_echo_n "checking for _expl declaration... " >&6; }
51310 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51311 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51312 $as_echo_n "(cached) " >&6
51313 else
51316 ac_ext=cpp
51317 ac_cpp='$CXXCPP $CPPFLAGS'
51318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51323 /* end confdefs.h. */
51324 #include <math.h>
51325 #ifdef HAVE_IEEEFP_H
51326 #include <ieeefp.h>
51327 #endif
51330 main ()
51332 _expl(0);
51334 return 0;
51336 _ACEOF
51337 if ac_fn_cxx_try_compile "$LINENO"; then :
51338 glibcxx_cv_func__expl_use=yes
51339 else
51340 glibcxx_cv_func__expl_use=no
51342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51343 ac_ext=c
51344 ac_cpp='$CPP $CPPFLAGS'
51345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51354 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51356 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51357 for ac_func in _expl
51358 do :
51359 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51360 if test "x$ac_cv_func__expl" = x""yes; then :
51361 cat >>confdefs.h <<_ACEOF
51362 #define HAVE__EXPL 1
51363 _ACEOF
51366 done
51375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51376 $as_echo_n "checking for fabsl declaration... " >&6; }
51377 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51378 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51379 $as_echo_n "(cached) " >&6
51380 else
51383 ac_ext=cpp
51384 ac_cpp='$CXXCPP $CPPFLAGS'
51385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51390 /* end confdefs.h. */
51391 #include <math.h>
51392 #ifdef HAVE_IEEEFP_H
51393 #include <ieeefp.h>
51394 #endif
51397 main ()
51399 fabsl(0);
51401 return 0;
51403 _ACEOF
51404 if ac_fn_cxx_try_compile "$LINENO"; then :
51405 glibcxx_cv_func_fabsl_use=yes
51406 else
51407 glibcxx_cv_func_fabsl_use=no
51409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51410 ac_ext=c
51411 ac_cpp='$CPP $CPPFLAGS'
51412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51421 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51423 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51424 for ac_func in fabsl
51425 do :
51426 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51427 if test "x$ac_cv_func_fabsl" = x""yes; then :
51428 cat >>confdefs.h <<_ACEOF
51429 #define HAVE_FABSL 1
51430 _ACEOF
51433 done
51435 else
51437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51438 $as_echo_n "checking for _fabsl declaration... " >&6; }
51439 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51440 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51441 $as_echo_n "(cached) " >&6
51442 else
51445 ac_ext=cpp
51446 ac_cpp='$CXXCPP $CPPFLAGS'
51447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51452 /* end confdefs.h. */
51453 #include <math.h>
51454 #ifdef HAVE_IEEEFP_H
51455 #include <ieeefp.h>
51456 #endif
51459 main ()
51461 _fabsl(0);
51463 return 0;
51465 _ACEOF
51466 if ac_fn_cxx_try_compile "$LINENO"; then :
51467 glibcxx_cv_func__fabsl_use=yes
51468 else
51469 glibcxx_cv_func__fabsl_use=no
51471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51472 ac_ext=c
51473 ac_cpp='$CPP $CPPFLAGS'
51474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51483 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51485 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51486 for ac_func in _fabsl
51487 do :
51488 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51489 if test "x$ac_cv_func__fabsl" = x""yes; then :
51490 cat >>confdefs.h <<_ACEOF
51491 #define HAVE__FABSL 1
51492 _ACEOF
51495 done
51504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51505 $as_echo_n "checking for fmodl declaration... " >&6; }
51506 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51507 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51508 $as_echo_n "(cached) " >&6
51509 else
51512 ac_ext=cpp
51513 ac_cpp='$CXXCPP $CPPFLAGS'
51514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51519 /* end confdefs.h. */
51520 #include <math.h>
51522 main ()
51524 fmodl(0, 0);
51526 return 0;
51528 _ACEOF
51529 if ac_fn_cxx_try_compile "$LINENO"; then :
51530 glibcxx_cv_func_fmodl_use=yes
51531 else
51532 glibcxx_cv_func_fmodl_use=no
51534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51535 ac_ext=c
51536 ac_cpp='$CPP $CPPFLAGS'
51537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51546 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51548 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51549 for ac_func in fmodl
51550 do :
51551 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51552 if test "x$ac_cv_func_fmodl" = x""yes; then :
51553 cat >>confdefs.h <<_ACEOF
51554 #define HAVE_FMODL 1
51555 _ACEOF
51558 done
51560 else
51562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51563 $as_echo_n "checking for _fmodl declaration... " >&6; }
51564 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51565 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51566 $as_echo_n "(cached) " >&6
51567 else
51570 ac_ext=cpp
51571 ac_cpp='$CXXCPP $CPPFLAGS'
51572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51577 /* end confdefs.h. */
51578 #include <math.h>
51580 main ()
51582 _fmodl(0, 0);
51584 return 0;
51586 _ACEOF
51587 if ac_fn_cxx_try_compile "$LINENO"; then :
51588 glibcxx_cv_func__fmodl_use=yes
51589 else
51590 glibcxx_cv_func__fmodl_use=no
51592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51593 ac_ext=c
51594 ac_cpp='$CPP $CPPFLAGS'
51595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51604 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51606 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51607 for ac_func in _fmodl
51608 do :
51609 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51610 if test "x$ac_cv_func__fmodl" = x""yes; then :
51611 cat >>confdefs.h <<_ACEOF
51612 #define HAVE__FMODL 1
51613 _ACEOF
51616 done
51625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51626 $as_echo_n "checking for frexpl declaration... " >&6; }
51627 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51628 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51629 $as_echo_n "(cached) " >&6
51630 else
51633 ac_ext=cpp
51634 ac_cpp='$CXXCPP $CPPFLAGS'
51635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51640 /* end confdefs.h. */
51641 #include <math.h>
51643 main ()
51645 frexpl(0, 0);
51647 return 0;
51649 _ACEOF
51650 if ac_fn_cxx_try_compile "$LINENO"; then :
51651 glibcxx_cv_func_frexpl_use=yes
51652 else
51653 glibcxx_cv_func_frexpl_use=no
51655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51656 ac_ext=c
51657 ac_cpp='$CPP $CPPFLAGS'
51658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51667 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51669 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51670 for ac_func in frexpl
51671 do :
51672 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51673 if test "x$ac_cv_func_frexpl" = x""yes; then :
51674 cat >>confdefs.h <<_ACEOF
51675 #define HAVE_FREXPL 1
51676 _ACEOF
51679 done
51681 else
51683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51684 $as_echo_n "checking for _frexpl declaration... " >&6; }
51685 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51686 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51687 $as_echo_n "(cached) " >&6
51688 else
51691 ac_ext=cpp
51692 ac_cpp='$CXXCPP $CPPFLAGS'
51693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51698 /* end confdefs.h. */
51699 #include <math.h>
51701 main ()
51703 _frexpl(0, 0);
51705 return 0;
51707 _ACEOF
51708 if ac_fn_cxx_try_compile "$LINENO"; then :
51709 glibcxx_cv_func__frexpl_use=yes
51710 else
51711 glibcxx_cv_func__frexpl_use=no
51713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51714 ac_ext=c
51715 ac_cpp='$CPP $CPPFLAGS'
51716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51725 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51727 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51728 for ac_func in _frexpl
51729 do :
51730 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51731 if test "x$ac_cv_func__frexpl" = x""yes; then :
51732 cat >>confdefs.h <<_ACEOF
51733 #define HAVE__FREXPL 1
51734 _ACEOF
51737 done
51746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51747 $as_echo_n "checking for hypotl declaration... " >&6; }
51748 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51749 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51750 $as_echo_n "(cached) " >&6
51751 else
51754 ac_ext=cpp
51755 ac_cpp='$CXXCPP $CPPFLAGS'
51756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51761 /* end confdefs.h. */
51762 #include <math.h>
51764 main ()
51766 hypotl(0, 0);
51768 return 0;
51770 _ACEOF
51771 if ac_fn_cxx_try_compile "$LINENO"; then :
51772 glibcxx_cv_func_hypotl_use=yes
51773 else
51774 glibcxx_cv_func_hypotl_use=no
51776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51777 ac_ext=c
51778 ac_cpp='$CPP $CPPFLAGS'
51779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51788 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51790 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51791 for ac_func in hypotl
51792 do :
51793 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51794 if test "x$ac_cv_func_hypotl" = x""yes; then :
51795 cat >>confdefs.h <<_ACEOF
51796 #define HAVE_HYPOTL 1
51797 _ACEOF
51800 done
51802 else
51804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51805 $as_echo_n "checking for _hypotl declaration... " >&6; }
51806 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51807 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51808 $as_echo_n "(cached) " >&6
51809 else
51812 ac_ext=cpp
51813 ac_cpp='$CXXCPP $CPPFLAGS'
51814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51819 /* end confdefs.h. */
51820 #include <math.h>
51822 main ()
51824 _hypotl(0, 0);
51826 return 0;
51828 _ACEOF
51829 if ac_fn_cxx_try_compile "$LINENO"; then :
51830 glibcxx_cv_func__hypotl_use=yes
51831 else
51832 glibcxx_cv_func__hypotl_use=no
51834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51835 ac_ext=c
51836 ac_cpp='$CPP $CPPFLAGS'
51837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51846 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51848 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51849 for ac_func in _hypotl
51850 do :
51851 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51852 if test "x$ac_cv_func__hypotl" = x""yes; then :
51853 cat >>confdefs.h <<_ACEOF
51854 #define HAVE__HYPOTL 1
51855 _ACEOF
51858 done
51867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51868 $as_echo_n "checking for ldexpl declaration... " >&6; }
51869 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51870 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51871 $as_echo_n "(cached) " >&6
51872 else
51875 ac_ext=cpp
51876 ac_cpp='$CXXCPP $CPPFLAGS'
51877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51882 /* end confdefs.h. */
51883 #include <math.h>
51885 main ()
51887 ldexpl(0, 0);
51889 return 0;
51891 _ACEOF
51892 if ac_fn_cxx_try_compile "$LINENO"; then :
51893 glibcxx_cv_func_ldexpl_use=yes
51894 else
51895 glibcxx_cv_func_ldexpl_use=no
51897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51898 ac_ext=c
51899 ac_cpp='$CPP $CPPFLAGS'
51900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51909 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51911 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51912 for ac_func in ldexpl
51913 do :
51914 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51915 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51916 cat >>confdefs.h <<_ACEOF
51917 #define HAVE_LDEXPL 1
51918 _ACEOF
51921 done
51923 else
51925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51926 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51927 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51928 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51929 $as_echo_n "(cached) " >&6
51930 else
51933 ac_ext=cpp
51934 ac_cpp='$CXXCPP $CPPFLAGS'
51935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51940 /* end confdefs.h. */
51941 #include <math.h>
51943 main ()
51945 _ldexpl(0, 0);
51947 return 0;
51949 _ACEOF
51950 if ac_fn_cxx_try_compile "$LINENO"; then :
51951 glibcxx_cv_func__ldexpl_use=yes
51952 else
51953 glibcxx_cv_func__ldexpl_use=no
51955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51956 ac_ext=c
51957 ac_cpp='$CPP $CPPFLAGS'
51958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51967 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51969 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51970 for ac_func in _ldexpl
51971 do :
51972 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51973 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51974 cat >>confdefs.h <<_ACEOF
51975 #define HAVE__LDEXPL 1
51976 _ACEOF
51979 done
51988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51989 $as_echo_n "checking for logl declaration... " >&6; }
51990 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51991 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51992 $as_echo_n "(cached) " >&6
51993 else
51996 ac_ext=cpp
51997 ac_cpp='$CXXCPP $CPPFLAGS'
51998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52003 /* end confdefs.h. */
52004 #include <math.h>
52005 #ifdef HAVE_IEEEFP_H
52006 #include <ieeefp.h>
52007 #endif
52010 main ()
52012 logl(0);
52014 return 0;
52016 _ACEOF
52017 if ac_fn_cxx_try_compile "$LINENO"; then :
52018 glibcxx_cv_func_logl_use=yes
52019 else
52020 glibcxx_cv_func_logl_use=no
52022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52023 ac_ext=c
52024 ac_cpp='$CPP $CPPFLAGS'
52025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52034 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52036 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52037 for ac_func in logl
52038 do :
52039 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52040 if test "x$ac_cv_func_logl" = x""yes; then :
52041 cat >>confdefs.h <<_ACEOF
52042 #define HAVE_LOGL 1
52043 _ACEOF
52046 done
52048 else
52050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52051 $as_echo_n "checking for _logl declaration... " >&6; }
52052 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52053 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52054 $as_echo_n "(cached) " >&6
52055 else
52058 ac_ext=cpp
52059 ac_cpp='$CXXCPP $CPPFLAGS'
52060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52065 /* end confdefs.h. */
52066 #include <math.h>
52067 #ifdef HAVE_IEEEFP_H
52068 #include <ieeefp.h>
52069 #endif
52072 main ()
52074 _logl(0);
52076 return 0;
52078 _ACEOF
52079 if ac_fn_cxx_try_compile "$LINENO"; then :
52080 glibcxx_cv_func__logl_use=yes
52081 else
52082 glibcxx_cv_func__logl_use=no
52084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52085 ac_ext=c
52086 ac_cpp='$CPP $CPPFLAGS'
52087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52096 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52098 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52099 for ac_func in _logl
52100 do :
52101 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52102 if test "x$ac_cv_func__logl" = x""yes; then :
52103 cat >>confdefs.h <<_ACEOF
52104 #define HAVE__LOGL 1
52105 _ACEOF
52108 done
52117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52118 $as_echo_n "checking for log10l declaration... " >&6; }
52119 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52120 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52121 $as_echo_n "(cached) " >&6
52122 else
52125 ac_ext=cpp
52126 ac_cpp='$CXXCPP $CPPFLAGS'
52127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52132 /* end confdefs.h. */
52133 #include <math.h>
52134 #ifdef HAVE_IEEEFP_H
52135 #include <ieeefp.h>
52136 #endif
52139 main ()
52141 log10l(0);
52143 return 0;
52145 _ACEOF
52146 if ac_fn_cxx_try_compile "$LINENO"; then :
52147 glibcxx_cv_func_log10l_use=yes
52148 else
52149 glibcxx_cv_func_log10l_use=no
52151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52152 ac_ext=c
52153 ac_cpp='$CPP $CPPFLAGS'
52154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52163 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52165 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52166 for ac_func in log10l
52167 do :
52168 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52169 if test "x$ac_cv_func_log10l" = x""yes; then :
52170 cat >>confdefs.h <<_ACEOF
52171 #define HAVE_LOG10L 1
52172 _ACEOF
52175 done
52177 else
52179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52180 $as_echo_n "checking for _log10l declaration... " >&6; }
52181 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52182 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52183 $as_echo_n "(cached) " >&6
52184 else
52187 ac_ext=cpp
52188 ac_cpp='$CXXCPP $CPPFLAGS'
52189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52194 /* end confdefs.h. */
52195 #include <math.h>
52196 #ifdef HAVE_IEEEFP_H
52197 #include <ieeefp.h>
52198 #endif
52201 main ()
52203 _log10l(0);
52205 return 0;
52207 _ACEOF
52208 if ac_fn_cxx_try_compile "$LINENO"; then :
52209 glibcxx_cv_func__log10l_use=yes
52210 else
52211 glibcxx_cv_func__log10l_use=no
52213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52214 ac_ext=c
52215 ac_cpp='$CPP $CPPFLAGS'
52216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52225 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52227 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52228 for ac_func in _log10l
52229 do :
52230 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52231 if test "x$ac_cv_func__log10l" = x""yes; then :
52232 cat >>confdefs.h <<_ACEOF
52233 #define HAVE__LOG10L 1
52234 _ACEOF
52237 done
52246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52247 $as_echo_n "checking for modfl declaration... " >&6; }
52248 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52249 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52250 $as_echo_n "(cached) " >&6
52251 else
52254 ac_ext=cpp
52255 ac_cpp='$CXXCPP $CPPFLAGS'
52256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52261 /* end confdefs.h. */
52262 #include <math.h>
52264 main ()
52266 modfl(0, 0);
52268 return 0;
52270 _ACEOF
52271 if ac_fn_cxx_try_compile "$LINENO"; then :
52272 glibcxx_cv_func_modfl_use=yes
52273 else
52274 glibcxx_cv_func_modfl_use=no
52276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52277 ac_ext=c
52278 ac_cpp='$CPP $CPPFLAGS'
52279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52288 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52290 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52291 for ac_func in modfl
52292 do :
52293 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52294 if test "x$ac_cv_func_modfl" = x""yes; then :
52295 cat >>confdefs.h <<_ACEOF
52296 #define HAVE_MODFL 1
52297 _ACEOF
52300 done
52302 else
52304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52305 $as_echo_n "checking for _modfl declaration... " >&6; }
52306 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52307 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52308 $as_echo_n "(cached) " >&6
52309 else
52312 ac_ext=cpp
52313 ac_cpp='$CXXCPP $CPPFLAGS'
52314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52319 /* end confdefs.h. */
52320 #include <math.h>
52322 main ()
52324 _modfl(0, 0);
52326 return 0;
52328 _ACEOF
52329 if ac_fn_cxx_try_compile "$LINENO"; then :
52330 glibcxx_cv_func__modfl_use=yes
52331 else
52332 glibcxx_cv_func__modfl_use=no
52334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52335 ac_ext=c
52336 ac_cpp='$CPP $CPPFLAGS'
52337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52346 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52348 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52349 for ac_func in _modfl
52350 do :
52351 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52352 if test "x$ac_cv_func__modfl" = x""yes; then :
52353 cat >>confdefs.h <<_ACEOF
52354 #define HAVE__MODFL 1
52355 _ACEOF
52358 done
52367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52368 $as_echo_n "checking for powl declaration... " >&6; }
52369 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52370 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52371 $as_echo_n "(cached) " >&6
52372 else
52375 ac_ext=cpp
52376 ac_cpp='$CXXCPP $CPPFLAGS'
52377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52382 /* end confdefs.h. */
52383 #include <math.h>
52385 main ()
52387 powl(0, 0);
52389 return 0;
52391 _ACEOF
52392 if ac_fn_cxx_try_compile "$LINENO"; then :
52393 glibcxx_cv_func_powl_use=yes
52394 else
52395 glibcxx_cv_func_powl_use=no
52397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52398 ac_ext=c
52399 ac_cpp='$CPP $CPPFLAGS'
52400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52409 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52411 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52412 for ac_func in powl
52413 do :
52414 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52415 if test "x$ac_cv_func_powl" = x""yes; then :
52416 cat >>confdefs.h <<_ACEOF
52417 #define HAVE_POWL 1
52418 _ACEOF
52421 done
52423 else
52425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52426 $as_echo_n "checking for _powl declaration... " >&6; }
52427 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52428 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52429 $as_echo_n "(cached) " >&6
52430 else
52433 ac_ext=cpp
52434 ac_cpp='$CXXCPP $CPPFLAGS'
52435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52440 /* end confdefs.h. */
52441 #include <math.h>
52443 main ()
52445 _powl(0, 0);
52447 return 0;
52449 _ACEOF
52450 if ac_fn_cxx_try_compile "$LINENO"; then :
52451 glibcxx_cv_func__powl_use=yes
52452 else
52453 glibcxx_cv_func__powl_use=no
52455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52456 ac_ext=c
52457 ac_cpp='$CPP $CPPFLAGS'
52458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52467 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52469 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52470 for ac_func in _powl
52471 do :
52472 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52473 if test "x$ac_cv_func__powl" = x""yes; then :
52474 cat >>confdefs.h <<_ACEOF
52475 #define HAVE__POWL 1
52476 _ACEOF
52479 done
52488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52489 $as_echo_n "checking for sqrtl declaration... " >&6; }
52490 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52491 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52492 $as_echo_n "(cached) " >&6
52493 else
52496 ac_ext=cpp
52497 ac_cpp='$CXXCPP $CPPFLAGS'
52498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52503 /* end confdefs.h. */
52504 #include <math.h>
52505 #ifdef HAVE_IEEEFP_H
52506 #include <ieeefp.h>
52507 #endif
52510 main ()
52512 sqrtl(0);
52514 return 0;
52516 _ACEOF
52517 if ac_fn_cxx_try_compile "$LINENO"; then :
52518 glibcxx_cv_func_sqrtl_use=yes
52519 else
52520 glibcxx_cv_func_sqrtl_use=no
52522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52523 ac_ext=c
52524 ac_cpp='$CPP $CPPFLAGS'
52525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52534 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52536 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52537 for ac_func in sqrtl
52538 do :
52539 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52540 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52541 cat >>confdefs.h <<_ACEOF
52542 #define HAVE_SQRTL 1
52543 _ACEOF
52546 done
52548 else
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52551 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52552 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52553 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52554 $as_echo_n "(cached) " >&6
52555 else
52558 ac_ext=cpp
52559 ac_cpp='$CXXCPP $CPPFLAGS'
52560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52565 /* end confdefs.h. */
52566 #include <math.h>
52567 #ifdef HAVE_IEEEFP_H
52568 #include <ieeefp.h>
52569 #endif
52572 main ()
52574 _sqrtl(0);
52576 return 0;
52578 _ACEOF
52579 if ac_fn_cxx_try_compile "$LINENO"; then :
52580 glibcxx_cv_func__sqrtl_use=yes
52581 else
52582 glibcxx_cv_func__sqrtl_use=no
52584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52585 ac_ext=c
52586 ac_cpp='$CPP $CPPFLAGS'
52587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52596 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52598 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52599 for ac_func in _sqrtl
52600 do :
52601 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52602 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52603 cat >>confdefs.h <<_ACEOF
52604 #define HAVE__SQRTL 1
52605 _ACEOF
52608 done
52617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52618 $as_echo_n "checking for sincosl declaration... " >&6; }
52619 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52620 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52621 $as_echo_n "(cached) " >&6
52622 else
52625 ac_ext=cpp
52626 ac_cpp='$CXXCPP $CPPFLAGS'
52627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52632 /* end confdefs.h. */
52633 #include <math.h>
52635 main ()
52637 sincosl(0, 0, 0);
52639 return 0;
52641 _ACEOF
52642 if ac_fn_cxx_try_compile "$LINENO"; then :
52643 glibcxx_cv_func_sincosl_use=yes
52644 else
52645 glibcxx_cv_func_sincosl_use=no
52647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52648 ac_ext=c
52649 ac_cpp='$CPP $CPPFLAGS'
52650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52659 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52661 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52662 for ac_func in sincosl
52663 do :
52664 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52665 if test "x$ac_cv_func_sincosl" = x""yes; then :
52666 cat >>confdefs.h <<_ACEOF
52667 #define HAVE_SINCOSL 1
52668 _ACEOF
52671 done
52673 else
52675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52676 $as_echo_n "checking for _sincosl declaration... " >&6; }
52677 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52678 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52679 $as_echo_n "(cached) " >&6
52680 else
52683 ac_ext=cpp
52684 ac_cpp='$CXXCPP $CPPFLAGS'
52685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52690 /* end confdefs.h. */
52691 #include <math.h>
52693 main ()
52695 _sincosl(0, 0, 0);
52697 return 0;
52699 _ACEOF
52700 if ac_fn_cxx_try_compile "$LINENO"; then :
52701 glibcxx_cv_func__sincosl_use=yes
52702 else
52703 glibcxx_cv_func__sincosl_use=no
52705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52706 ac_ext=c
52707 ac_cpp='$CPP $CPPFLAGS'
52708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52717 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52719 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52720 for ac_func in _sincosl
52721 do :
52722 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52723 if test "x$ac_cv_func__sincosl" = x""yes; then :
52724 cat >>confdefs.h <<_ACEOF
52725 #define HAVE__SINCOSL 1
52726 _ACEOF
52729 done
52738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52739 $as_echo_n "checking for finitel declaration... " >&6; }
52740 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52741 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52742 $as_echo_n "(cached) " >&6
52743 else
52746 ac_ext=cpp
52747 ac_cpp='$CXXCPP $CPPFLAGS'
52748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52753 /* end confdefs.h. */
52754 #include <math.h>
52755 #ifdef HAVE_IEEEFP_H
52756 #include <ieeefp.h>
52757 #endif
52760 main ()
52762 finitel(0);
52764 return 0;
52766 _ACEOF
52767 if ac_fn_cxx_try_compile "$LINENO"; then :
52768 glibcxx_cv_func_finitel_use=yes
52769 else
52770 glibcxx_cv_func_finitel_use=no
52772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52773 ac_ext=c
52774 ac_cpp='$CPP $CPPFLAGS'
52775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52784 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52786 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52787 for ac_func in finitel
52788 do :
52789 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52790 if test "x$ac_cv_func_finitel" = x""yes; then :
52791 cat >>confdefs.h <<_ACEOF
52792 #define HAVE_FINITEL 1
52793 _ACEOF
52796 done
52798 else
52800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52801 $as_echo_n "checking for _finitel declaration... " >&6; }
52802 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52803 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52804 $as_echo_n "(cached) " >&6
52805 else
52808 ac_ext=cpp
52809 ac_cpp='$CXXCPP $CPPFLAGS'
52810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52815 /* end confdefs.h. */
52816 #include <math.h>
52817 #ifdef HAVE_IEEEFP_H
52818 #include <ieeefp.h>
52819 #endif
52822 main ()
52824 _finitel(0);
52826 return 0;
52828 _ACEOF
52829 if ac_fn_cxx_try_compile "$LINENO"; then :
52830 glibcxx_cv_func__finitel_use=yes
52831 else
52832 glibcxx_cv_func__finitel_use=no
52834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52835 ac_ext=c
52836 ac_cpp='$CPP $CPPFLAGS'
52837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52846 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52848 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52849 for ac_func in _finitel
52850 do :
52851 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52852 if test "x$ac_cv_func__finitel" = x""yes; then :
52853 cat >>confdefs.h <<_ACEOF
52854 #define HAVE__FINITEL 1
52855 _ACEOF
52858 done
52866 LIBS="$ac_save_LIBS"
52867 CXXFLAGS="$ac_save_CXXFLAGS"
52870 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52871 ac_save_CXXFLAGS="$CXXFLAGS"
52872 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52876 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52877 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52878 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52879 $as_echo_n "(cached) " >&6
52880 else
52883 ac_ext=cpp
52884 ac_cpp='$CXXCPP $CPPFLAGS'
52885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52890 /* end confdefs.h. */
52891 #include <stdlib.h>
52893 main ()
52895 at_quick_exit(0);
52897 return 0;
52899 _ACEOF
52900 if ac_fn_cxx_try_compile "$LINENO"; then :
52901 glibcxx_cv_func_at_quick_exit_use=yes
52902 else
52903 glibcxx_cv_func_at_quick_exit_use=no
52905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52906 ac_ext=c
52907 ac_cpp='$CPP $CPPFLAGS'
52908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52917 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52918 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52919 for ac_func in at_quick_exit
52920 do :
52921 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52922 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52923 cat >>confdefs.h <<_ACEOF
52924 #define HAVE_AT_QUICK_EXIT 1
52925 _ACEOF
52928 done
52933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52934 $as_echo_n "checking for quick_exit declaration... " >&6; }
52935 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52936 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52937 $as_echo_n "(cached) " >&6
52938 else
52941 ac_ext=cpp
52942 ac_cpp='$CXXCPP $CPPFLAGS'
52943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52948 /* end confdefs.h. */
52949 #include <stdlib.h>
52951 main ()
52953 quick_exit(0);
52955 return 0;
52957 _ACEOF
52958 if ac_fn_cxx_try_compile "$LINENO"; then :
52959 glibcxx_cv_func_quick_exit_use=yes
52960 else
52961 glibcxx_cv_func_quick_exit_use=no
52963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52964 ac_ext=c
52965 ac_cpp='$CPP $CPPFLAGS'
52966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52975 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52976 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52977 for ac_func in quick_exit
52978 do :
52979 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52980 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52981 cat >>confdefs.h <<_ACEOF
52982 #define HAVE_QUICK_EXIT 1
52983 _ACEOF
52986 done
52991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52992 $as_echo_n "checking for strtold declaration... " >&6; }
52993 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52994 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52995 $as_echo_n "(cached) " >&6
52996 else
52999 ac_ext=cpp
53000 ac_cpp='$CXXCPP $CPPFLAGS'
53001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53006 /* end confdefs.h. */
53007 #include <stdlib.h>
53009 main ()
53011 strtold(0, 0);
53013 return 0;
53015 _ACEOF
53016 if ac_fn_cxx_try_compile "$LINENO"; then :
53017 glibcxx_cv_func_strtold_use=yes
53018 else
53019 glibcxx_cv_func_strtold_use=no
53021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53022 ac_ext=c
53023 ac_cpp='$CPP $CPPFLAGS'
53024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53033 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53034 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53035 for ac_func in strtold
53036 do :
53037 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53038 if test "x$ac_cv_func_strtold" = x""yes; then :
53039 cat >>confdefs.h <<_ACEOF
53040 #define HAVE_STRTOLD 1
53041 _ACEOF
53044 done
53051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53052 $as_echo_n "checking for strtof declaration... " >&6; }
53053 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53054 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53055 $as_echo_n "(cached) " >&6
53056 else
53059 ac_ext=cpp
53060 ac_cpp='$CXXCPP $CPPFLAGS'
53061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53066 /* end confdefs.h. */
53067 #include <stdlib.h>
53069 main ()
53071 strtof(0, 0);
53073 return 0;
53075 _ACEOF
53076 if ac_fn_cxx_try_compile "$LINENO"; then :
53077 glibcxx_cv_func_strtof_use=yes
53078 else
53079 glibcxx_cv_func_strtof_use=no
53081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53082 ac_ext=c
53083 ac_cpp='$CPP $CPPFLAGS'
53084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53093 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53094 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53095 for ac_func in strtof
53096 do :
53097 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53098 if test "x$ac_cv_func_strtof" = x""yes; then :
53099 cat >>confdefs.h <<_ACEOF
53100 #define HAVE_STRTOF 1
53101 _ACEOF
53104 done
53111 CXXFLAGS="$ac_save_CXXFLAGS"
53115 *djgpp)
53116 # GLIBCXX_CHECK_MATH_SUPPORT
53117 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53119 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53121 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53123 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53125 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53129 *-freebsd*)
53130 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53133 # If we're not using GNU ld, then there's no point in even trying these
53134 # tests. Check for that first. We should have already tested for gld
53135 # by now (in libtool), but require it now just to be safe...
53136 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53137 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53141 # The name set by libtool depends on the version of libtool. Shame on us
53142 # for depending on an impl detail, but c'est la vie. Older versions used
53143 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53144 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53145 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53146 # set (hence we're using an older libtool), then set it.
53147 if test x${with_gnu_ld+set} != xset; then
53148 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53149 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53150 with_gnu_ld=no
53151 else
53152 with_gnu_ld=$ac_cv_prog_gnu_ld
53156 # Start by getting the version number. I think the libtool test already
53157 # does some of this, but throws away the result.
53158 glibcxx_ld_is_gold=no
53159 if test x"$with_gnu_ld" = x"yes"; then
53160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53161 $as_echo_n "checking for ld version... " >&6; }
53163 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53164 glibcxx_ld_is_gold=yes
53166 ldver=`$LD --version 2>/dev/null |
53167 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'`
53169 glibcxx_gnu_ld_version=`echo $ldver | \
53170 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53172 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53175 # Set --gc-sections.
53176 glibcxx_have_gc_sections=no
53177 if test "$glibcxx_ld_is_gold" = "yes"; then
53178 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53179 glibcxx_have_gc_sections=yes
53181 else
53182 glibcxx_gcsections_min_ld=21602
53183 if test x"$with_gnu_ld" = x"yes" &&
53184 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53185 glibcxx_have_gc_sections=yes
53188 if test "$glibcxx_have_gc_sections" = "yes"; then
53189 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53190 # NB: This flag only works reliably after 2.16.1. Configure tests
53191 # for this are difficult, so hard wire a value that should work.
53193 ac_test_CFLAGS="${CFLAGS+set}"
53194 ac_save_CFLAGS="$CFLAGS"
53195 CFLAGS='-Wl,--gc-sections'
53197 # Check for -Wl,--gc-sections
53198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53199 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53200 if test x$gcc_no_link = xyes; then
53201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53204 /* end confdefs.h. */
53205 int one(void) { return 1; }
53206 int two(void) { return 2; }
53209 main ()
53211 two();
53213 return 0;
53215 _ACEOF
53216 if ac_fn_c_try_link "$LINENO"; then :
53217 ac_gcsections=yes
53218 else
53219 ac_gcsections=no
53221 rm -f core conftest.err conftest.$ac_objext \
53222 conftest$ac_exeext conftest.$ac_ext
53223 if test "$ac_gcsections" = "yes"; then
53224 rm -f conftest.c
53225 touch conftest.c
53226 if $CC -c conftest.c; then
53227 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53228 grep "Warning: gc-sections option ignored" > /dev/null; then
53229 ac_gcsections=no
53232 rm -f conftest.c conftest.o conftest
53234 if test "$ac_gcsections" = "yes"; then
53235 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53238 $as_echo "$ac_gcsections" >&6; }
53240 if test "$ac_test_CFLAGS" = set; then
53241 CFLAGS="$ac_save_CFLAGS"
53242 else
53243 # this is the suspicious part
53244 CFLAGS=''
53248 # Set -z,relro.
53249 # Note this is only for shared objects.
53250 ac_ld_relro=no
53251 if test x"$with_gnu_ld" = x"yes"; then
53252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53253 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53254 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53255 if test -n "$cxx_z_relo"; then
53256 OPT_LDFLAGS="-Wl,-z,relro"
53257 ac_ld_relro=yes
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53260 $as_echo "$ac_ld_relro" >&6; }
53263 # Set linker optimization flags.
53264 if test x"$with_gnu_ld" = x"yes"; then
53265 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53271 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53273 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53275 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53277 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53279 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53281 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53283 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53285 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53287 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53290 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53292 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53294 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53296 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53298 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53300 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53302 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53304 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53306 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53308 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53310 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53312 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53314 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53316 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53318 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53320 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53322 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53324 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53326 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53328 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53330 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53332 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53334 if test x"long_double_math_on_this_cpu" = x"yes"; then
53335 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53337 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53339 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53342 for ac_func in __cxa_thread_atexit
53343 do :
53344 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53345 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53346 cat >>confdefs.h <<_ACEOF
53347 #define HAVE___CXA_THREAD_ATEXIT 1
53348 _ACEOF
53351 done
53353 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53354 do :
53355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53357 eval as_val=\$$as_ac_var
53358 if test "x$as_val" = x""yes; then :
53359 cat >>confdefs.h <<_ACEOF
53360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53361 _ACEOF
53364 done
53368 *-fuchsia*)
53369 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53373 *-hpux*)
53374 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53377 # If we're not using GNU ld, then there's no point in even trying these
53378 # tests. Check for that first. We should have already tested for gld
53379 # by now (in libtool), but require it now just to be safe...
53380 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53381 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53385 # The name set by libtool depends on the version of libtool. Shame on us
53386 # for depending on an impl detail, but c'est la vie. Older versions used
53387 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53388 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53389 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53390 # set (hence we're using an older libtool), then set it.
53391 if test x${with_gnu_ld+set} != xset; then
53392 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53393 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53394 with_gnu_ld=no
53395 else
53396 with_gnu_ld=$ac_cv_prog_gnu_ld
53400 # Start by getting the version number. I think the libtool test already
53401 # does some of this, but throws away the result.
53402 glibcxx_ld_is_gold=no
53403 if test x"$with_gnu_ld" = x"yes"; then
53404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53405 $as_echo_n "checking for ld version... " >&6; }
53407 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53408 glibcxx_ld_is_gold=yes
53410 ldver=`$LD --version 2>/dev/null |
53411 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'`
53413 glibcxx_gnu_ld_version=`echo $ldver | \
53414 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53416 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53419 # Set --gc-sections.
53420 glibcxx_have_gc_sections=no
53421 if test "$glibcxx_ld_is_gold" = "yes"; then
53422 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53423 glibcxx_have_gc_sections=yes
53425 else
53426 glibcxx_gcsections_min_ld=21602
53427 if test x"$with_gnu_ld" = x"yes" &&
53428 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53429 glibcxx_have_gc_sections=yes
53432 if test "$glibcxx_have_gc_sections" = "yes"; then
53433 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53434 # NB: This flag only works reliably after 2.16.1. Configure tests
53435 # for this are difficult, so hard wire a value that should work.
53437 ac_test_CFLAGS="${CFLAGS+set}"
53438 ac_save_CFLAGS="$CFLAGS"
53439 CFLAGS='-Wl,--gc-sections'
53441 # Check for -Wl,--gc-sections
53442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53443 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53444 if test x$gcc_no_link = xyes; then
53445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53448 /* end confdefs.h. */
53449 int one(void) { return 1; }
53450 int two(void) { return 2; }
53453 main ()
53455 two();
53457 return 0;
53459 _ACEOF
53460 if ac_fn_c_try_link "$LINENO"; then :
53461 ac_gcsections=yes
53462 else
53463 ac_gcsections=no
53465 rm -f core conftest.err conftest.$ac_objext \
53466 conftest$ac_exeext conftest.$ac_ext
53467 if test "$ac_gcsections" = "yes"; then
53468 rm -f conftest.c
53469 touch conftest.c
53470 if $CC -c conftest.c; then
53471 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53472 grep "Warning: gc-sections option ignored" > /dev/null; then
53473 ac_gcsections=no
53476 rm -f conftest.c conftest.o conftest
53478 if test "$ac_gcsections" = "yes"; then
53479 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53482 $as_echo "$ac_gcsections" >&6; }
53484 if test "$ac_test_CFLAGS" = set; then
53485 CFLAGS="$ac_save_CFLAGS"
53486 else
53487 # this is the suspicious part
53488 CFLAGS=''
53492 # Set -z,relro.
53493 # Note this is only for shared objects.
53494 ac_ld_relro=no
53495 if test x"$with_gnu_ld" = x"yes"; then
53496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53497 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53498 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53499 if test -n "$cxx_z_relo"; then
53500 OPT_LDFLAGS="-Wl,-z,relro"
53501 ac_ld_relro=yes
53503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53504 $as_echo "$ac_ld_relro" >&6; }
53507 # Set linker optimization flags.
53508 if test x"$with_gnu_ld" = x"yes"; then
53509 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53516 # GLIBCXX_CHECK_MATH_SUPPORT
53517 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53519 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53521 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53523 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53525 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53527 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53529 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53531 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53533 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53535 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53537 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53539 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53541 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53543 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53545 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53547 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53549 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53551 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53553 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53555 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53557 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53560 # GLIBCXX_CHECK_STDLIB_SUPPORT
53561 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53566 # Check whether --enable-tls was given.
53567 if test "${enable_tls+set}" = set; then :
53568 enableval=$enable_tls;
53569 case "$enableval" in
53570 yes|no) ;;
53571 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53572 esac
53574 else
53575 enable_tls=yes
53579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53580 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53581 if test "${gcc_cv_have_tls+set}" = set; then :
53582 $as_echo_n "(cached) " >&6
53583 else
53585 if test "$cross_compiling" = yes; then :
53586 if test x$gcc_no_link = xyes; then
53587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53590 /* end confdefs.h. */
53591 __thread int a; int b; int main() { return a = b; }
53592 _ACEOF
53593 if ac_fn_c_try_link "$LINENO"; then :
53594 chktls_save_LDFLAGS="$LDFLAGS"
53595 case $host in
53596 *-*-linux*)
53597 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53599 esac
53600 chktls_save_CFLAGS="$CFLAGS"
53601 CFLAGS="-fPIC $CFLAGS"
53602 if test x$gcc_no_link = xyes; then
53603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53606 /* end confdefs.h. */
53607 int f() { return 0; }
53608 _ACEOF
53609 if ac_fn_c_try_link "$LINENO"; then :
53610 if test x$gcc_no_link = xyes; then
53611 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53614 /* end confdefs.h. */
53615 __thread int a; int b; int f() { return a = b; }
53616 _ACEOF
53617 if ac_fn_c_try_link "$LINENO"; then :
53618 gcc_cv_have_tls=yes
53619 else
53620 gcc_cv_have_tls=no
53622 rm -f core conftest.err conftest.$ac_objext \
53623 conftest$ac_exeext conftest.$ac_ext
53624 else
53625 gcc_cv_have_tls=yes
53627 rm -f core conftest.err conftest.$ac_objext \
53628 conftest$ac_exeext conftest.$ac_ext
53629 CFLAGS="$chktls_save_CFLAGS"
53630 LDFLAGS="$chktls_save_LDFLAGS"
53631 else
53632 gcc_cv_have_tls=no
53634 rm -f core conftest.err conftest.$ac_objext \
53635 conftest$ac_exeext conftest.$ac_ext
53638 else
53639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53640 /* end confdefs.h. */
53641 __thread int a; int b; int main() { return a = b; }
53642 _ACEOF
53643 if ac_fn_c_try_run "$LINENO"; then :
53644 chktls_save_LDFLAGS="$LDFLAGS"
53645 LDFLAGS="-static $LDFLAGS"
53646 if test x$gcc_no_link = xyes; then
53647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53650 /* end confdefs.h. */
53651 int main() { return 0; }
53652 _ACEOF
53653 if ac_fn_c_try_link "$LINENO"; then :
53654 if test "$cross_compiling" = yes; then :
53655 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53657 as_fn_error "cannot run test program while cross compiling
53658 See \`config.log' for more details." "$LINENO" 5; }
53659 else
53660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53661 /* end confdefs.h. */
53662 __thread int a; int b; int main() { return a = b; }
53663 _ACEOF
53664 if ac_fn_c_try_run "$LINENO"; then :
53665 gcc_cv_have_tls=yes
53666 else
53667 gcc_cv_have_tls=no
53669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53670 conftest.$ac_objext conftest.beam conftest.$ac_ext
53673 else
53674 gcc_cv_have_tls=yes
53676 rm -f core conftest.err conftest.$ac_objext \
53677 conftest$ac_exeext conftest.$ac_ext
53678 LDFLAGS="$chktls_save_LDFLAGS"
53679 if test $gcc_cv_have_tls = yes; then
53680 chktls_save_CFLAGS="$CFLAGS"
53681 thread_CFLAGS=failed
53682 for flag in '' '-pthread' '-lpthread'; do
53683 CFLAGS="$flag $chktls_save_CFLAGS"
53684 if test x$gcc_no_link = xyes; then
53685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53688 /* end confdefs.h. */
53689 #include <pthread.h>
53690 void *g(void *d) { return NULL; }
53692 main ()
53694 pthread_t t; pthread_create(&t,NULL,g,NULL);
53696 return 0;
53698 _ACEOF
53699 if ac_fn_c_try_link "$LINENO"; then :
53700 thread_CFLAGS="$flag"
53702 rm -f core conftest.err conftest.$ac_objext \
53703 conftest$ac_exeext conftest.$ac_ext
53704 if test "X$thread_CFLAGS" != Xfailed; then
53705 break
53707 done
53708 CFLAGS="$chktls_save_CFLAGS"
53709 if test "X$thread_CFLAGS" != Xfailed; then
53710 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53711 if test "$cross_compiling" = yes; then :
53712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53714 as_fn_error "cannot run test program while cross compiling
53715 See \`config.log' for more details." "$LINENO" 5; }
53716 else
53717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53718 /* end confdefs.h. */
53719 #include <pthread.h>
53720 __thread int a;
53721 static int *volatile a_in_other_thread;
53722 static void *
53723 thread_func (void *arg)
53725 a_in_other_thread = &a;
53726 return (void *)0;
53729 main ()
53731 pthread_t thread;
53732 void *thread_retval;
53733 int *volatile a_in_main_thread;
53734 a_in_main_thread = &a;
53735 if (pthread_create (&thread, (pthread_attr_t *)0,
53736 thread_func, (void *)0))
53737 return 0;
53738 if (pthread_join (thread, &thread_retval))
53739 return 0;
53740 return (a_in_other_thread == a_in_main_thread);
53742 return 0;
53744 _ACEOF
53745 if ac_fn_c_try_run "$LINENO"; then :
53746 gcc_cv_have_tls=yes
53747 else
53748 gcc_cv_have_tls=no
53750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53751 conftest.$ac_objext conftest.beam conftest.$ac_ext
53754 CFLAGS="$chktls_save_CFLAGS"
53757 else
53758 gcc_cv_have_tls=no
53760 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53761 conftest.$ac_objext conftest.beam conftest.$ac_ext
53765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53766 $as_echo "$gcc_cv_have_tls" >&6; }
53767 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53769 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53772 case "$target" in
53773 *-hpux10*)
53774 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53776 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53778 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53780 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53782 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53785 esac
53787 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53789 # All these tests are for C++; save the language and the compiler flags.
53790 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53791 # found in GLIBCXX_CONFIGURE.
53793 ac_ext=cpp
53794 ac_cpp='$CXXCPP $CPPFLAGS'
53795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53799 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53800 ac_save_CXXFLAGS="$CXXFLAGS"
53802 # Check for maintainer-mode bits.
53803 if test x"$USE_MAINTAINER_MODE" = xno; then
53804 WERROR=''
53805 else
53806 WERROR='-Werror'
53809 # Check for -ffunction-sections -fdata-sections
53810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53811 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53812 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53814 /* end confdefs.h. */
53815 int foo; void bar() { };
53817 main ()
53821 return 0;
53823 _ACEOF
53824 if ac_fn_cxx_try_compile "$LINENO"; then :
53825 ac_fdsections=yes
53826 else
53827 ac_fdsections=no
53829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53830 if test "$ac_test_CXXFLAGS" = set; then
53831 CXXFLAGS="$ac_save_CXXFLAGS"
53832 else
53833 # this is the suspicious part
53834 CXXFLAGS=''
53836 if test x"$ac_fdsections" = x"yes"; then
53837 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53840 $as_echo "$ac_fdsections" >&6; }
53842 ac_ext=c
53843 ac_cpp='$CPP $CPPFLAGS'
53844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53852 # If we're not using GNU ld, then there's no point in even trying these
53853 # tests. Check for that first. We should have already tested for gld
53854 # by now (in libtool), but require it now just to be safe...
53855 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53856 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53860 # The name set by libtool depends on the version of libtool. Shame on us
53861 # for depending on an impl detail, but c'est la vie. Older versions used
53862 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53863 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53864 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53865 # set (hence we're using an older libtool), then set it.
53866 if test x${with_gnu_ld+set} != xset; then
53867 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53868 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53869 with_gnu_ld=no
53870 else
53871 with_gnu_ld=$ac_cv_prog_gnu_ld
53875 # Start by getting the version number. I think the libtool test already
53876 # does some of this, but throws away the result.
53877 glibcxx_ld_is_gold=no
53878 if test x"$with_gnu_ld" = x"yes"; then
53879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53880 $as_echo_n "checking for ld version... " >&6; }
53882 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53883 glibcxx_ld_is_gold=yes
53885 ldver=`$LD --version 2>/dev/null |
53886 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'`
53888 glibcxx_gnu_ld_version=`echo $ldver | \
53889 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53891 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53894 # Set --gc-sections.
53895 glibcxx_have_gc_sections=no
53896 if test "$glibcxx_ld_is_gold" = "yes"; then
53897 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53898 glibcxx_have_gc_sections=yes
53900 else
53901 glibcxx_gcsections_min_ld=21602
53902 if test x"$with_gnu_ld" = x"yes" &&
53903 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53904 glibcxx_have_gc_sections=yes
53907 if test "$glibcxx_have_gc_sections" = "yes"; then
53908 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53909 # NB: This flag only works reliably after 2.16.1. Configure tests
53910 # for this are difficult, so hard wire a value that should work.
53912 ac_test_CFLAGS="${CFLAGS+set}"
53913 ac_save_CFLAGS="$CFLAGS"
53914 CFLAGS='-Wl,--gc-sections'
53916 # Check for -Wl,--gc-sections
53917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53918 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53919 if test x$gcc_no_link = xyes; then
53920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53923 /* end confdefs.h. */
53924 int one(void) { return 1; }
53925 int two(void) { return 2; }
53928 main ()
53930 two();
53932 return 0;
53934 _ACEOF
53935 if ac_fn_c_try_link "$LINENO"; then :
53936 ac_gcsections=yes
53937 else
53938 ac_gcsections=no
53940 rm -f core conftest.err conftest.$ac_objext \
53941 conftest$ac_exeext conftest.$ac_ext
53942 if test "$ac_gcsections" = "yes"; then
53943 rm -f conftest.c
53944 touch conftest.c
53945 if $CC -c conftest.c; then
53946 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53947 grep "Warning: gc-sections option ignored" > /dev/null; then
53948 ac_gcsections=no
53951 rm -f conftest.c conftest.o conftest
53953 if test "$ac_gcsections" = "yes"; then
53954 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53957 $as_echo "$ac_gcsections" >&6; }
53959 if test "$ac_test_CFLAGS" = set; then
53960 CFLAGS="$ac_save_CFLAGS"
53961 else
53962 # this is the suspicious part
53963 CFLAGS=''
53967 # Set -z,relro.
53968 # Note this is only for shared objects.
53969 ac_ld_relro=no
53970 if test x"$with_gnu_ld" = x"yes"; then
53971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53972 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53973 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53974 if test -n "$cxx_z_relo"; then
53975 OPT_LDFLAGS="-Wl,-z,relro"
53976 ac_ld_relro=yes
53978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53979 $as_echo "$ac_ld_relro" >&6; }
53982 # Set linker optimization flags.
53983 if test x"$with_gnu_ld" = x"yes"; then
53984 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53991 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53992 ac_save_CXXFLAGS="$CXXFLAGS"
53993 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53996 $as_echo_n "checking for sin in -lm... " >&6; }
53997 if test "${ac_cv_lib_m_sin+set}" = set; then :
53998 $as_echo_n "(cached) " >&6
53999 else
54000 ac_check_lib_save_LIBS=$LIBS
54001 LIBS="-lm $LIBS"
54002 if test x$gcc_no_link = xyes; then
54003 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54006 /* end confdefs.h. */
54008 /* Override any GCC internal prototype to avoid an error.
54009 Use char because int might match the return type of a GCC
54010 builtin and then its argument prototype would still apply. */
54011 #ifdef __cplusplus
54012 extern "C"
54013 #endif
54014 char sin ();
54016 main ()
54018 return sin ();
54020 return 0;
54022 _ACEOF
54023 if ac_fn_c_try_link "$LINENO"; then :
54024 ac_cv_lib_m_sin=yes
54025 else
54026 ac_cv_lib_m_sin=no
54028 rm -f core conftest.err conftest.$ac_objext \
54029 conftest$ac_exeext conftest.$ac_ext
54030 LIBS=$ac_check_lib_save_LIBS
54032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54033 $as_echo "$ac_cv_lib_m_sin" >&6; }
54034 if test "x$ac_cv_lib_m_sin" = x""yes; then :
54035 libm="-lm"
54038 ac_save_LIBS="$LIBS"
54039 LIBS="$LIBS $libm"
54043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54044 $as_echo_n "checking for isinf declaration... " >&6; }
54045 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54046 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54047 $as_echo_n "(cached) " >&6
54048 else
54051 ac_ext=cpp
54052 ac_cpp='$CXXCPP $CPPFLAGS'
54053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54058 /* end confdefs.h. */
54059 #include <math.h>
54060 #ifdef HAVE_IEEEFP_H
54061 #include <ieeefp.h>
54062 #endif
54065 main ()
54067 isinf(0);
54069 return 0;
54071 _ACEOF
54072 if ac_fn_cxx_try_compile "$LINENO"; then :
54073 glibcxx_cv_func_isinf_use=yes
54074 else
54075 glibcxx_cv_func_isinf_use=no
54077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54078 ac_ext=c
54079 ac_cpp='$CPP $CPPFLAGS'
54080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54089 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54091 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54092 for ac_func in isinf
54093 do :
54094 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54095 if test "x$ac_cv_func_isinf" = x""yes; then :
54096 cat >>confdefs.h <<_ACEOF
54097 #define HAVE_ISINF 1
54098 _ACEOF
54101 done
54103 else
54105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54106 $as_echo_n "checking for _isinf declaration... " >&6; }
54107 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54108 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54109 $as_echo_n "(cached) " >&6
54110 else
54113 ac_ext=cpp
54114 ac_cpp='$CXXCPP $CPPFLAGS'
54115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54120 /* end confdefs.h. */
54121 #include <math.h>
54122 #ifdef HAVE_IEEEFP_H
54123 #include <ieeefp.h>
54124 #endif
54127 main ()
54129 _isinf(0);
54131 return 0;
54133 _ACEOF
54134 if ac_fn_cxx_try_compile "$LINENO"; then :
54135 glibcxx_cv_func__isinf_use=yes
54136 else
54137 glibcxx_cv_func__isinf_use=no
54139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54140 ac_ext=c
54141 ac_cpp='$CPP $CPPFLAGS'
54142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54151 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54153 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54154 for ac_func in _isinf
54155 do :
54156 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54157 if test "x$ac_cv_func__isinf" = x""yes; then :
54158 cat >>confdefs.h <<_ACEOF
54159 #define HAVE__ISINF 1
54160 _ACEOF
54163 done
54172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54173 $as_echo_n "checking for isnan declaration... " >&6; }
54174 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54175 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54176 $as_echo_n "(cached) " >&6
54177 else
54180 ac_ext=cpp
54181 ac_cpp='$CXXCPP $CPPFLAGS'
54182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54187 /* end confdefs.h. */
54188 #include <math.h>
54189 #ifdef HAVE_IEEEFP_H
54190 #include <ieeefp.h>
54191 #endif
54194 main ()
54196 isnan(0);
54198 return 0;
54200 _ACEOF
54201 if ac_fn_cxx_try_compile "$LINENO"; then :
54202 glibcxx_cv_func_isnan_use=yes
54203 else
54204 glibcxx_cv_func_isnan_use=no
54206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54207 ac_ext=c
54208 ac_cpp='$CPP $CPPFLAGS'
54209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54218 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54220 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54221 for ac_func in isnan
54222 do :
54223 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54224 if test "x$ac_cv_func_isnan" = x""yes; then :
54225 cat >>confdefs.h <<_ACEOF
54226 #define HAVE_ISNAN 1
54227 _ACEOF
54230 done
54232 else
54234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54235 $as_echo_n "checking for _isnan declaration... " >&6; }
54236 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54237 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54238 $as_echo_n "(cached) " >&6
54239 else
54242 ac_ext=cpp
54243 ac_cpp='$CXXCPP $CPPFLAGS'
54244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54249 /* end confdefs.h. */
54250 #include <math.h>
54251 #ifdef HAVE_IEEEFP_H
54252 #include <ieeefp.h>
54253 #endif
54256 main ()
54258 _isnan(0);
54260 return 0;
54262 _ACEOF
54263 if ac_fn_cxx_try_compile "$LINENO"; then :
54264 glibcxx_cv_func__isnan_use=yes
54265 else
54266 glibcxx_cv_func__isnan_use=no
54268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54269 ac_ext=c
54270 ac_cpp='$CPP $CPPFLAGS'
54271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54280 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54282 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54283 for ac_func in _isnan
54284 do :
54285 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54286 if test "x$ac_cv_func__isnan" = x""yes; then :
54287 cat >>confdefs.h <<_ACEOF
54288 #define HAVE__ISNAN 1
54289 _ACEOF
54292 done
54301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54302 $as_echo_n "checking for finite declaration... " >&6; }
54303 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54304 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54305 $as_echo_n "(cached) " >&6
54306 else
54309 ac_ext=cpp
54310 ac_cpp='$CXXCPP $CPPFLAGS'
54311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54316 /* end confdefs.h. */
54317 #include <math.h>
54318 #ifdef HAVE_IEEEFP_H
54319 #include <ieeefp.h>
54320 #endif
54323 main ()
54325 finite(0);
54327 return 0;
54329 _ACEOF
54330 if ac_fn_cxx_try_compile "$LINENO"; then :
54331 glibcxx_cv_func_finite_use=yes
54332 else
54333 glibcxx_cv_func_finite_use=no
54335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54336 ac_ext=c
54337 ac_cpp='$CPP $CPPFLAGS'
54338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54347 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54349 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54350 for ac_func in finite
54351 do :
54352 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54353 if test "x$ac_cv_func_finite" = x""yes; then :
54354 cat >>confdefs.h <<_ACEOF
54355 #define HAVE_FINITE 1
54356 _ACEOF
54359 done
54361 else
54363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54364 $as_echo_n "checking for _finite declaration... " >&6; }
54365 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54366 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54367 $as_echo_n "(cached) " >&6
54368 else
54371 ac_ext=cpp
54372 ac_cpp='$CXXCPP $CPPFLAGS'
54373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54378 /* end confdefs.h. */
54379 #include <math.h>
54380 #ifdef HAVE_IEEEFP_H
54381 #include <ieeefp.h>
54382 #endif
54385 main ()
54387 _finite(0);
54389 return 0;
54391 _ACEOF
54392 if ac_fn_cxx_try_compile "$LINENO"; then :
54393 glibcxx_cv_func__finite_use=yes
54394 else
54395 glibcxx_cv_func__finite_use=no
54397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54398 ac_ext=c
54399 ac_cpp='$CPP $CPPFLAGS'
54400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54409 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54411 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54412 for ac_func in _finite
54413 do :
54414 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54415 if test "x$ac_cv_func__finite" = x""yes; then :
54416 cat >>confdefs.h <<_ACEOF
54417 #define HAVE__FINITE 1
54418 _ACEOF
54421 done
54430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54431 $as_echo_n "checking for sincos declaration... " >&6; }
54432 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54433 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54434 $as_echo_n "(cached) " >&6
54435 else
54438 ac_ext=cpp
54439 ac_cpp='$CXXCPP $CPPFLAGS'
54440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54445 /* end confdefs.h. */
54446 #include <math.h>
54448 main ()
54450 sincos(0, 0, 0);
54452 return 0;
54454 _ACEOF
54455 if ac_fn_cxx_try_compile "$LINENO"; then :
54456 glibcxx_cv_func_sincos_use=yes
54457 else
54458 glibcxx_cv_func_sincos_use=no
54460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54461 ac_ext=c
54462 ac_cpp='$CPP $CPPFLAGS'
54463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54472 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54474 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54475 for ac_func in sincos
54476 do :
54477 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54478 if test "x$ac_cv_func_sincos" = x""yes; then :
54479 cat >>confdefs.h <<_ACEOF
54480 #define HAVE_SINCOS 1
54481 _ACEOF
54484 done
54486 else
54488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54489 $as_echo_n "checking for _sincos declaration... " >&6; }
54490 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54491 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54492 $as_echo_n "(cached) " >&6
54493 else
54496 ac_ext=cpp
54497 ac_cpp='$CXXCPP $CPPFLAGS'
54498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54503 /* end confdefs.h. */
54504 #include <math.h>
54506 main ()
54508 _sincos(0, 0, 0);
54510 return 0;
54512 _ACEOF
54513 if ac_fn_cxx_try_compile "$LINENO"; then :
54514 glibcxx_cv_func__sincos_use=yes
54515 else
54516 glibcxx_cv_func__sincos_use=no
54518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54519 ac_ext=c
54520 ac_cpp='$CPP $CPPFLAGS'
54521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54530 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54532 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54533 for ac_func in _sincos
54534 do :
54535 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54536 if test "x$ac_cv_func__sincos" = x""yes; then :
54537 cat >>confdefs.h <<_ACEOF
54538 #define HAVE__SINCOS 1
54539 _ACEOF
54542 done
54551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54552 $as_echo_n "checking for fpclass declaration... " >&6; }
54553 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54554 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54555 $as_echo_n "(cached) " >&6
54556 else
54559 ac_ext=cpp
54560 ac_cpp='$CXXCPP $CPPFLAGS'
54561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54566 /* end confdefs.h. */
54567 #include <math.h>
54568 #ifdef HAVE_IEEEFP_H
54569 #include <ieeefp.h>
54570 #endif
54573 main ()
54575 fpclass(0);
54577 return 0;
54579 _ACEOF
54580 if ac_fn_cxx_try_compile "$LINENO"; then :
54581 glibcxx_cv_func_fpclass_use=yes
54582 else
54583 glibcxx_cv_func_fpclass_use=no
54585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54586 ac_ext=c
54587 ac_cpp='$CPP $CPPFLAGS'
54588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54597 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54599 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54600 for ac_func in fpclass
54601 do :
54602 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54603 if test "x$ac_cv_func_fpclass" = x""yes; then :
54604 cat >>confdefs.h <<_ACEOF
54605 #define HAVE_FPCLASS 1
54606 _ACEOF
54609 done
54611 else
54613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54614 $as_echo_n "checking for _fpclass declaration... " >&6; }
54615 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54616 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54617 $as_echo_n "(cached) " >&6
54618 else
54621 ac_ext=cpp
54622 ac_cpp='$CXXCPP $CPPFLAGS'
54623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54628 /* end confdefs.h. */
54629 #include <math.h>
54630 #ifdef HAVE_IEEEFP_H
54631 #include <ieeefp.h>
54632 #endif
54635 main ()
54637 _fpclass(0);
54639 return 0;
54641 _ACEOF
54642 if ac_fn_cxx_try_compile "$LINENO"; then :
54643 glibcxx_cv_func__fpclass_use=yes
54644 else
54645 glibcxx_cv_func__fpclass_use=no
54647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54648 ac_ext=c
54649 ac_cpp='$CPP $CPPFLAGS'
54650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54659 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54661 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54662 for ac_func in _fpclass
54663 do :
54664 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54665 if test "x$ac_cv_func__fpclass" = x""yes; then :
54666 cat >>confdefs.h <<_ACEOF
54667 #define HAVE__FPCLASS 1
54668 _ACEOF
54671 done
54680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54681 $as_echo_n "checking for qfpclass declaration... " >&6; }
54682 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54683 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54684 $as_echo_n "(cached) " >&6
54685 else
54688 ac_ext=cpp
54689 ac_cpp='$CXXCPP $CPPFLAGS'
54690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54695 /* end confdefs.h. */
54696 #include <math.h>
54697 #ifdef HAVE_IEEEFP_H
54698 #include <ieeefp.h>
54699 #endif
54702 main ()
54704 qfpclass(0);
54706 return 0;
54708 _ACEOF
54709 if ac_fn_cxx_try_compile "$LINENO"; then :
54710 glibcxx_cv_func_qfpclass_use=yes
54711 else
54712 glibcxx_cv_func_qfpclass_use=no
54714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54715 ac_ext=c
54716 ac_cpp='$CPP $CPPFLAGS'
54717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54726 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54728 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54729 for ac_func in qfpclass
54730 do :
54731 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54732 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54733 cat >>confdefs.h <<_ACEOF
54734 #define HAVE_QFPCLASS 1
54735 _ACEOF
54738 done
54740 else
54742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54743 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54744 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54745 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54746 $as_echo_n "(cached) " >&6
54747 else
54750 ac_ext=cpp
54751 ac_cpp='$CXXCPP $CPPFLAGS'
54752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54757 /* end confdefs.h. */
54758 #include <math.h>
54759 #ifdef HAVE_IEEEFP_H
54760 #include <ieeefp.h>
54761 #endif
54764 main ()
54766 _qfpclass(0);
54768 return 0;
54770 _ACEOF
54771 if ac_fn_cxx_try_compile "$LINENO"; then :
54772 glibcxx_cv_func__qfpclass_use=yes
54773 else
54774 glibcxx_cv_func__qfpclass_use=no
54776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54777 ac_ext=c
54778 ac_cpp='$CPP $CPPFLAGS'
54779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54788 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54790 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54791 for ac_func in _qfpclass
54792 do :
54793 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54794 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54795 cat >>confdefs.h <<_ACEOF
54796 #define HAVE__QFPCLASS 1
54797 _ACEOF
54800 done
54809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54810 $as_echo_n "checking for hypot declaration... " >&6; }
54811 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54812 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54813 $as_echo_n "(cached) " >&6
54814 else
54817 ac_ext=cpp
54818 ac_cpp='$CXXCPP $CPPFLAGS'
54819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54824 /* end confdefs.h. */
54825 #include <math.h>
54827 main ()
54829 hypot(0, 0);
54831 return 0;
54833 _ACEOF
54834 if ac_fn_cxx_try_compile "$LINENO"; then :
54835 glibcxx_cv_func_hypot_use=yes
54836 else
54837 glibcxx_cv_func_hypot_use=no
54839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54840 ac_ext=c
54841 ac_cpp='$CPP $CPPFLAGS'
54842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54851 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54853 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54854 for ac_func in hypot
54855 do :
54856 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54857 if test "x$ac_cv_func_hypot" = x""yes; then :
54858 cat >>confdefs.h <<_ACEOF
54859 #define HAVE_HYPOT 1
54860 _ACEOF
54863 done
54865 else
54867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54868 $as_echo_n "checking for _hypot declaration... " >&6; }
54869 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54870 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54871 $as_echo_n "(cached) " >&6
54872 else
54875 ac_ext=cpp
54876 ac_cpp='$CXXCPP $CPPFLAGS'
54877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54882 /* end confdefs.h. */
54883 #include <math.h>
54885 main ()
54887 _hypot(0, 0);
54889 return 0;
54891 _ACEOF
54892 if ac_fn_cxx_try_compile "$LINENO"; then :
54893 glibcxx_cv_func__hypot_use=yes
54894 else
54895 glibcxx_cv_func__hypot_use=no
54897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54898 ac_ext=c
54899 ac_cpp='$CPP $CPPFLAGS'
54900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54909 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54911 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54912 for ac_func in _hypot
54913 do :
54914 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54915 if test "x$ac_cv_func__hypot" = x""yes; then :
54916 cat >>confdefs.h <<_ACEOF
54917 #define HAVE__HYPOT 1
54918 _ACEOF
54921 done
54930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54931 $as_echo_n "checking for float trig functions... " >&6; }
54932 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54933 $as_echo_n "(cached) " >&6
54934 else
54937 ac_ext=cpp
54938 ac_cpp='$CXXCPP $CPPFLAGS'
54939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54944 /* end confdefs.h. */
54945 #include <math.h>
54947 main ()
54949 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54951 return 0;
54953 _ACEOF
54954 if ac_fn_cxx_try_compile "$LINENO"; then :
54955 glibcxx_cv_func_float_trig_use=yes
54956 else
54957 glibcxx_cv_func_float_trig_use=no
54959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54960 ac_ext=c
54961 ac_cpp='$CPP $CPPFLAGS'
54962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54969 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54970 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54971 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54972 do :
54973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54975 eval as_val=\$$as_ac_var
54976 if test "x$as_val" = x""yes; then :
54977 cat >>confdefs.h <<_ACEOF
54978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54979 _ACEOF
54982 done
54984 else
54985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54986 $as_echo_n "checking for _float trig functions... " >&6; }
54987 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54988 $as_echo_n "(cached) " >&6
54989 else
54992 ac_ext=cpp
54993 ac_cpp='$CXXCPP $CPPFLAGS'
54994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54999 /* end confdefs.h. */
55000 #include <math.h>
55002 main ()
55004 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55006 return 0;
55008 _ACEOF
55009 if ac_fn_cxx_try_compile "$LINENO"; then :
55010 glibcxx_cv_func__float_trig_use=yes
55011 else
55012 glibcxx_cv_func__float_trig_use=no
55014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55015 ac_ext=c
55016 ac_cpp='$CPP $CPPFLAGS'
55017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55024 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55025 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55026 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55027 do :
55028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55030 eval as_val=\$$as_ac_var
55031 if test "x$as_val" = x""yes; then :
55032 cat >>confdefs.h <<_ACEOF
55033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55034 _ACEOF
55037 done
55046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55047 $as_echo_n "checking for float round functions... " >&6; }
55048 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55049 $as_echo_n "(cached) " >&6
55050 else
55053 ac_ext=cpp
55054 ac_cpp='$CXXCPP $CPPFLAGS'
55055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55060 /* end confdefs.h. */
55061 #include <math.h>
55063 main ()
55065 ceilf (0); floorf (0);
55067 return 0;
55069 _ACEOF
55070 if ac_fn_cxx_try_compile "$LINENO"; then :
55071 glibcxx_cv_func_float_round_use=yes
55072 else
55073 glibcxx_cv_func_float_round_use=no
55075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55076 ac_ext=c
55077 ac_cpp='$CPP $CPPFLAGS'
55078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55085 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55086 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55087 for ac_func in ceilf floorf
55088 do :
55089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55091 eval as_val=\$$as_ac_var
55092 if test "x$as_val" = x""yes; then :
55093 cat >>confdefs.h <<_ACEOF
55094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55095 _ACEOF
55098 done
55100 else
55101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55102 $as_echo_n "checking for _float round functions... " >&6; }
55103 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55104 $as_echo_n "(cached) " >&6
55105 else
55108 ac_ext=cpp
55109 ac_cpp='$CXXCPP $CPPFLAGS'
55110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55115 /* end confdefs.h. */
55116 #include <math.h>
55118 main ()
55120 _ceilf (0); _floorf (0);
55122 return 0;
55124 _ACEOF
55125 if ac_fn_cxx_try_compile "$LINENO"; then :
55126 glibcxx_cv_func__float_round_use=yes
55127 else
55128 glibcxx_cv_func__float_round_use=no
55130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55131 ac_ext=c
55132 ac_cpp='$CPP $CPPFLAGS'
55133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55140 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55141 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55142 for ac_func in _ceilf _floorf
55143 do :
55144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55146 eval as_val=\$$as_ac_var
55147 if test "x$as_val" = x""yes; then :
55148 cat >>confdefs.h <<_ACEOF
55149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55150 _ACEOF
55153 done
55163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55164 $as_echo_n "checking for expf declaration... " >&6; }
55165 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55166 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55167 $as_echo_n "(cached) " >&6
55168 else
55171 ac_ext=cpp
55172 ac_cpp='$CXXCPP $CPPFLAGS'
55173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55178 /* end confdefs.h. */
55179 #include <math.h>
55180 #ifdef HAVE_IEEEFP_H
55181 #include <ieeefp.h>
55182 #endif
55185 main ()
55187 expf(0);
55189 return 0;
55191 _ACEOF
55192 if ac_fn_cxx_try_compile "$LINENO"; then :
55193 glibcxx_cv_func_expf_use=yes
55194 else
55195 glibcxx_cv_func_expf_use=no
55197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55198 ac_ext=c
55199 ac_cpp='$CPP $CPPFLAGS'
55200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55209 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55211 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55212 for ac_func in expf
55213 do :
55214 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55215 if test "x$ac_cv_func_expf" = x""yes; then :
55216 cat >>confdefs.h <<_ACEOF
55217 #define HAVE_EXPF 1
55218 _ACEOF
55221 done
55223 else
55225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55226 $as_echo_n "checking for _expf declaration... " >&6; }
55227 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55228 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55229 $as_echo_n "(cached) " >&6
55230 else
55233 ac_ext=cpp
55234 ac_cpp='$CXXCPP $CPPFLAGS'
55235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55240 /* end confdefs.h. */
55241 #include <math.h>
55242 #ifdef HAVE_IEEEFP_H
55243 #include <ieeefp.h>
55244 #endif
55247 main ()
55249 _expf(0);
55251 return 0;
55253 _ACEOF
55254 if ac_fn_cxx_try_compile "$LINENO"; then :
55255 glibcxx_cv_func__expf_use=yes
55256 else
55257 glibcxx_cv_func__expf_use=no
55259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55260 ac_ext=c
55261 ac_cpp='$CPP $CPPFLAGS'
55262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55271 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55273 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55274 for ac_func in _expf
55275 do :
55276 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55277 if test "x$ac_cv_func__expf" = x""yes; then :
55278 cat >>confdefs.h <<_ACEOF
55279 #define HAVE__EXPF 1
55280 _ACEOF
55283 done
55292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55293 $as_echo_n "checking for isnanf declaration... " >&6; }
55294 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55295 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55296 $as_echo_n "(cached) " >&6
55297 else
55300 ac_ext=cpp
55301 ac_cpp='$CXXCPP $CPPFLAGS'
55302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55307 /* end confdefs.h. */
55308 #include <math.h>
55309 #ifdef HAVE_IEEEFP_H
55310 #include <ieeefp.h>
55311 #endif
55314 main ()
55316 isnanf(0);
55318 return 0;
55320 _ACEOF
55321 if ac_fn_cxx_try_compile "$LINENO"; then :
55322 glibcxx_cv_func_isnanf_use=yes
55323 else
55324 glibcxx_cv_func_isnanf_use=no
55326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55327 ac_ext=c
55328 ac_cpp='$CPP $CPPFLAGS'
55329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55338 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55340 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55341 for ac_func in isnanf
55342 do :
55343 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55344 if test "x$ac_cv_func_isnanf" = x""yes; then :
55345 cat >>confdefs.h <<_ACEOF
55346 #define HAVE_ISNANF 1
55347 _ACEOF
55350 done
55352 else
55354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55355 $as_echo_n "checking for _isnanf declaration... " >&6; }
55356 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55357 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55358 $as_echo_n "(cached) " >&6
55359 else
55362 ac_ext=cpp
55363 ac_cpp='$CXXCPP $CPPFLAGS'
55364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55369 /* end confdefs.h. */
55370 #include <math.h>
55371 #ifdef HAVE_IEEEFP_H
55372 #include <ieeefp.h>
55373 #endif
55376 main ()
55378 _isnanf(0);
55380 return 0;
55382 _ACEOF
55383 if ac_fn_cxx_try_compile "$LINENO"; then :
55384 glibcxx_cv_func__isnanf_use=yes
55385 else
55386 glibcxx_cv_func__isnanf_use=no
55388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55389 ac_ext=c
55390 ac_cpp='$CPP $CPPFLAGS'
55391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55400 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55402 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55403 for ac_func in _isnanf
55404 do :
55405 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55406 if test "x$ac_cv_func__isnanf" = x""yes; then :
55407 cat >>confdefs.h <<_ACEOF
55408 #define HAVE__ISNANF 1
55409 _ACEOF
55412 done
55421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55422 $as_echo_n "checking for isinff declaration... " >&6; }
55423 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55424 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55425 $as_echo_n "(cached) " >&6
55426 else
55429 ac_ext=cpp
55430 ac_cpp='$CXXCPP $CPPFLAGS'
55431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55436 /* end confdefs.h. */
55437 #include <math.h>
55438 #ifdef HAVE_IEEEFP_H
55439 #include <ieeefp.h>
55440 #endif
55443 main ()
55445 isinff(0);
55447 return 0;
55449 _ACEOF
55450 if ac_fn_cxx_try_compile "$LINENO"; then :
55451 glibcxx_cv_func_isinff_use=yes
55452 else
55453 glibcxx_cv_func_isinff_use=no
55455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55456 ac_ext=c
55457 ac_cpp='$CPP $CPPFLAGS'
55458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55467 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55469 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55470 for ac_func in isinff
55471 do :
55472 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55473 if test "x$ac_cv_func_isinff" = x""yes; then :
55474 cat >>confdefs.h <<_ACEOF
55475 #define HAVE_ISINFF 1
55476 _ACEOF
55479 done
55481 else
55483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55484 $as_echo_n "checking for _isinff declaration... " >&6; }
55485 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55486 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55487 $as_echo_n "(cached) " >&6
55488 else
55491 ac_ext=cpp
55492 ac_cpp='$CXXCPP $CPPFLAGS'
55493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55498 /* end confdefs.h. */
55499 #include <math.h>
55500 #ifdef HAVE_IEEEFP_H
55501 #include <ieeefp.h>
55502 #endif
55505 main ()
55507 _isinff(0);
55509 return 0;
55511 _ACEOF
55512 if ac_fn_cxx_try_compile "$LINENO"; then :
55513 glibcxx_cv_func__isinff_use=yes
55514 else
55515 glibcxx_cv_func__isinff_use=no
55517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55518 ac_ext=c
55519 ac_cpp='$CPP $CPPFLAGS'
55520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55529 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55531 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55532 for ac_func in _isinff
55533 do :
55534 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55535 if test "x$ac_cv_func__isinff" = x""yes; then :
55536 cat >>confdefs.h <<_ACEOF
55537 #define HAVE__ISINFF 1
55538 _ACEOF
55541 done
55550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55551 $as_echo_n "checking for atan2f declaration... " >&6; }
55552 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55553 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55554 $as_echo_n "(cached) " >&6
55555 else
55558 ac_ext=cpp
55559 ac_cpp='$CXXCPP $CPPFLAGS'
55560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55565 /* end confdefs.h. */
55566 #include <math.h>
55568 main ()
55570 atan2f(0, 0);
55572 return 0;
55574 _ACEOF
55575 if ac_fn_cxx_try_compile "$LINENO"; then :
55576 glibcxx_cv_func_atan2f_use=yes
55577 else
55578 glibcxx_cv_func_atan2f_use=no
55580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55581 ac_ext=c
55582 ac_cpp='$CPP $CPPFLAGS'
55583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55592 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55594 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55595 for ac_func in atan2f
55596 do :
55597 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55598 if test "x$ac_cv_func_atan2f" = x""yes; then :
55599 cat >>confdefs.h <<_ACEOF
55600 #define HAVE_ATAN2F 1
55601 _ACEOF
55604 done
55606 else
55608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55609 $as_echo_n "checking for _atan2f declaration... " >&6; }
55610 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55611 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55612 $as_echo_n "(cached) " >&6
55613 else
55616 ac_ext=cpp
55617 ac_cpp='$CXXCPP $CPPFLAGS'
55618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55623 /* end confdefs.h. */
55624 #include <math.h>
55626 main ()
55628 _atan2f(0, 0);
55630 return 0;
55632 _ACEOF
55633 if ac_fn_cxx_try_compile "$LINENO"; then :
55634 glibcxx_cv_func__atan2f_use=yes
55635 else
55636 glibcxx_cv_func__atan2f_use=no
55638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55639 ac_ext=c
55640 ac_cpp='$CPP $CPPFLAGS'
55641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55650 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55652 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55653 for ac_func in _atan2f
55654 do :
55655 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55656 if test "x$ac_cv_func__atan2f" = x""yes; then :
55657 cat >>confdefs.h <<_ACEOF
55658 #define HAVE__ATAN2F 1
55659 _ACEOF
55662 done
55671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55672 $as_echo_n "checking for fabsf declaration... " >&6; }
55673 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55674 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55675 $as_echo_n "(cached) " >&6
55676 else
55679 ac_ext=cpp
55680 ac_cpp='$CXXCPP $CPPFLAGS'
55681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55686 /* end confdefs.h. */
55687 #include <math.h>
55688 #ifdef HAVE_IEEEFP_H
55689 #include <ieeefp.h>
55690 #endif
55693 main ()
55695 fabsf(0);
55697 return 0;
55699 _ACEOF
55700 if ac_fn_cxx_try_compile "$LINENO"; then :
55701 glibcxx_cv_func_fabsf_use=yes
55702 else
55703 glibcxx_cv_func_fabsf_use=no
55705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55706 ac_ext=c
55707 ac_cpp='$CPP $CPPFLAGS'
55708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55717 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55719 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55720 for ac_func in fabsf
55721 do :
55722 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55723 if test "x$ac_cv_func_fabsf" = x""yes; then :
55724 cat >>confdefs.h <<_ACEOF
55725 #define HAVE_FABSF 1
55726 _ACEOF
55729 done
55731 else
55733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55734 $as_echo_n "checking for _fabsf declaration... " >&6; }
55735 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55736 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55737 $as_echo_n "(cached) " >&6
55738 else
55741 ac_ext=cpp
55742 ac_cpp='$CXXCPP $CPPFLAGS'
55743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55748 /* end confdefs.h. */
55749 #include <math.h>
55750 #ifdef HAVE_IEEEFP_H
55751 #include <ieeefp.h>
55752 #endif
55755 main ()
55757 _fabsf(0);
55759 return 0;
55761 _ACEOF
55762 if ac_fn_cxx_try_compile "$LINENO"; then :
55763 glibcxx_cv_func__fabsf_use=yes
55764 else
55765 glibcxx_cv_func__fabsf_use=no
55767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55768 ac_ext=c
55769 ac_cpp='$CPP $CPPFLAGS'
55770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55779 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55781 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55782 for ac_func in _fabsf
55783 do :
55784 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55785 if test "x$ac_cv_func__fabsf" = x""yes; then :
55786 cat >>confdefs.h <<_ACEOF
55787 #define HAVE__FABSF 1
55788 _ACEOF
55791 done
55800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55801 $as_echo_n "checking for fmodf declaration... " >&6; }
55802 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55803 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55804 $as_echo_n "(cached) " >&6
55805 else
55808 ac_ext=cpp
55809 ac_cpp='$CXXCPP $CPPFLAGS'
55810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55815 /* end confdefs.h. */
55816 #include <math.h>
55818 main ()
55820 fmodf(0, 0);
55822 return 0;
55824 _ACEOF
55825 if ac_fn_cxx_try_compile "$LINENO"; then :
55826 glibcxx_cv_func_fmodf_use=yes
55827 else
55828 glibcxx_cv_func_fmodf_use=no
55830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55831 ac_ext=c
55832 ac_cpp='$CPP $CPPFLAGS'
55833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55842 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55844 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55845 for ac_func in fmodf
55846 do :
55847 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55848 if test "x$ac_cv_func_fmodf" = x""yes; then :
55849 cat >>confdefs.h <<_ACEOF
55850 #define HAVE_FMODF 1
55851 _ACEOF
55854 done
55856 else
55858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55859 $as_echo_n "checking for _fmodf declaration... " >&6; }
55860 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55861 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55862 $as_echo_n "(cached) " >&6
55863 else
55866 ac_ext=cpp
55867 ac_cpp='$CXXCPP $CPPFLAGS'
55868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55873 /* end confdefs.h. */
55874 #include <math.h>
55876 main ()
55878 _fmodf(0, 0);
55880 return 0;
55882 _ACEOF
55883 if ac_fn_cxx_try_compile "$LINENO"; then :
55884 glibcxx_cv_func__fmodf_use=yes
55885 else
55886 glibcxx_cv_func__fmodf_use=no
55888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55889 ac_ext=c
55890 ac_cpp='$CPP $CPPFLAGS'
55891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55900 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55902 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55903 for ac_func in _fmodf
55904 do :
55905 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55906 if test "x$ac_cv_func__fmodf" = x""yes; then :
55907 cat >>confdefs.h <<_ACEOF
55908 #define HAVE__FMODF 1
55909 _ACEOF
55912 done
55921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55922 $as_echo_n "checking for frexpf declaration... " >&6; }
55923 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55924 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55925 $as_echo_n "(cached) " >&6
55926 else
55929 ac_ext=cpp
55930 ac_cpp='$CXXCPP $CPPFLAGS'
55931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55936 /* end confdefs.h. */
55937 #include <math.h>
55939 main ()
55941 frexpf(0, 0);
55943 return 0;
55945 _ACEOF
55946 if ac_fn_cxx_try_compile "$LINENO"; then :
55947 glibcxx_cv_func_frexpf_use=yes
55948 else
55949 glibcxx_cv_func_frexpf_use=no
55951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55952 ac_ext=c
55953 ac_cpp='$CPP $CPPFLAGS'
55954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55963 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55965 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55966 for ac_func in frexpf
55967 do :
55968 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55969 if test "x$ac_cv_func_frexpf" = x""yes; then :
55970 cat >>confdefs.h <<_ACEOF
55971 #define HAVE_FREXPF 1
55972 _ACEOF
55975 done
55977 else
55979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55980 $as_echo_n "checking for _frexpf declaration... " >&6; }
55981 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55982 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55983 $as_echo_n "(cached) " >&6
55984 else
55987 ac_ext=cpp
55988 ac_cpp='$CXXCPP $CPPFLAGS'
55989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55994 /* end confdefs.h. */
55995 #include <math.h>
55997 main ()
55999 _frexpf(0, 0);
56001 return 0;
56003 _ACEOF
56004 if ac_fn_cxx_try_compile "$LINENO"; then :
56005 glibcxx_cv_func__frexpf_use=yes
56006 else
56007 glibcxx_cv_func__frexpf_use=no
56009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56010 ac_ext=c
56011 ac_cpp='$CPP $CPPFLAGS'
56012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56021 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56023 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56024 for ac_func in _frexpf
56025 do :
56026 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56027 if test "x$ac_cv_func__frexpf" = x""yes; then :
56028 cat >>confdefs.h <<_ACEOF
56029 #define HAVE__FREXPF 1
56030 _ACEOF
56033 done
56042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56043 $as_echo_n "checking for hypotf declaration... " >&6; }
56044 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56045 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56046 $as_echo_n "(cached) " >&6
56047 else
56050 ac_ext=cpp
56051 ac_cpp='$CXXCPP $CPPFLAGS'
56052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56057 /* end confdefs.h. */
56058 #include <math.h>
56060 main ()
56062 hypotf(0, 0);
56064 return 0;
56066 _ACEOF
56067 if ac_fn_cxx_try_compile "$LINENO"; then :
56068 glibcxx_cv_func_hypotf_use=yes
56069 else
56070 glibcxx_cv_func_hypotf_use=no
56072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56073 ac_ext=c
56074 ac_cpp='$CPP $CPPFLAGS'
56075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56084 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56086 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56087 for ac_func in hypotf
56088 do :
56089 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56090 if test "x$ac_cv_func_hypotf" = x""yes; then :
56091 cat >>confdefs.h <<_ACEOF
56092 #define HAVE_HYPOTF 1
56093 _ACEOF
56096 done
56098 else
56100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56101 $as_echo_n "checking for _hypotf declaration... " >&6; }
56102 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56103 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56104 $as_echo_n "(cached) " >&6
56105 else
56108 ac_ext=cpp
56109 ac_cpp='$CXXCPP $CPPFLAGS'
56110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56115 /* end confdefs.h. */
56116 #include <math.h>
56118 main ()
56120 _hypotf(0, 0);
56122 return 0;
56124 _ACEOF
56125 if ac_fn_cxx_try_compile "$LINENO"; then :
56126 glibcxx_cv_func__hypotf_use=yes
56127 else
56128 glibcxx_cv_func__hypotf_use=no
56130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56131 ac_ext=c
56132 ac_cpp='$CPP $CPPFLAGS'
56133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56142 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56144 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56145 for ac_func in _hypotf
56146 do :
56147 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56148 if test "x$ac_cv_func__hypotf" = x""yes; then :
56149 cat >>confdefs.h <<_ACEOF
56150 #define HAVE__HYPOTF 1
56151 _ACEOF
56154 done
56163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56164 $as_echo_n "checking for ldexpf declaration... " >&6; }
56165 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56166 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56167 $as_echo_n "(cached) " >&6
56168 else
56171 ac_ext=cpp
56172 ac_cpp='$CXXCPP $CPPFLAGS'
56173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56178 /* end confdefs.h. */
56179 #include <math.h>
56181 main ()
56183 ldexpf(0, 0);
56185 return 0;
56187 _ACEOF
56188 if ac_fn_cxx_try_compile "$LINENO"; then :
56189 glibcxx_cv_func_ldexpf_use=yes
56190 else
56191 glibcxx_cv_func_ldexpf_use=no
56193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56194 ac_ext=c
56195 ac_cpp='$CPP $CPPFLAGS'
56196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56205 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56207 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56208 for ac_func in ldexpf
56209 do :
56210 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56211 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56212 cat >>confdefs.h <<_ACEOF
56213 #define HAVE_LDEXPF 1
56214 _ACEOF
56217 done
56219 else
56221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56222 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56223 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56224 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56225 $as_echo_n "(cached) " >&6
56226 else
56229 ac_ext=cpp
56230 ac_cpp='$CXXCPP $CPPFLAGS'
56231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56236 /* end confdefs.h. */
56237 #include <math.h>
56239 main ()
56241 _ldexpf(0, 0);
56243 return 0;
56245 _ACEOF
56246 if ac_fn_cxx_try_compile "$LINENO"; then :
56247 glibcxx_cv_func__ldexpf_use=yes
56248 else
56249 glibcxx_cv_func__ldexpf_use=no
56251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56252 ac_ext=c
56253 ac_cpp='$CPP $CPPFLAGS'
56254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56263 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56265 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56266 for ac_func in _ldexpf
56267 do :
56268 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56269 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56270 cat >>confdefs.h <<_ACEOF
56271 #define HAVE__LDEXPF 1
56272 _ACEOF
56275 done
56284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56285 $as_echo_n "checking for logf declaration... " >&6; }
56286 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56287 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56288 $as_echo_n "(cached) " >&6
56289 else
56292 ac_ext=cpp
56293 ac_cpp='$CXXCPP $CPPFLAGS'
56294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56299 /* end confdefs.h. */
56300 #include <math.h>
56301 #ifdef HAVE_IEEEFP_H
56302 #include <ieeefp.h>
56303 #endif
56306 main ()
56308 logf(0);
56310 return 0;
56312 _ACEOF
56313 if ac_fn_cxx_try_compile "$LINENO"; then :
56314 glibcxx_cv_func_logf_use=yes
56315 else
56316 glibcxx_cv_func_logf_use=no
56318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56319 ac_ext=c
56320 ac_cpp='$CPP $CPPFLAGS'
56321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56330 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56332 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56333 for ac_func in logf
56334 do :
56335 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56336 if test "x$ac_cv_func_logf" = x""yes; then :
56337 cat >>confdefs.h <<_ACEOF
56338 #define HAVE_LOGF 1
56339 _ACEOF
56342 done
56344 else
56346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56347 $as_echo_n "checking for _logf declaration... " >&6; }
56348 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56349 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56350 $as_echo_n "(cached) " >&6
56351 else
56354 ac_ext=cpp
56355 ac_cpp='$CXXCPP $CPPFLAGS'
56356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56361 /* end confdefs.h. */
56362 #include <math.h>
56363 #ifdef HAVE_IEEEFP_H
56364 #include <ieeefp.h>
56365 #endif
56368 main ()
56370 _logf(0);
56372 return 0;
56374 _ACEOF
56375 if ac_fn_cxx_try_compile "$LINENO"; then :
56376 glibcxx_cv_func__logf_use=yes
56377 else
56378 glibcxx_cv_func__logf_use=no
56380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56381 ac_ext=c
56382 ac_cpp='$CPP $CPPFLAGS'
56383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56392 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56394 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56395 for ac_func in _logf
56396 do :
56397 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56398 if test "x$ac_cv_func__logf" = x""yes; then :
56399 cat >>confdefs.h <<_ACEOF
56400 #define HAVE__LOGF 1
56401 _ACEOF
56404 done
56413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56414 $as_echo_n "checking for log10f declaration... " >&6; }
56415 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56416 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56417 $as_echo_n "(cached) " >&6
56418 else
56421 ac_ext=cpp
56422 ac_cpp='$CXXCPP $CPPFLAGS'
56423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56428 /* end confdefs.h. */
56429 #include <math.h>
56430 #ifdef HAVE_IEEEFP_H
56431 #include <ieeefp.h>
56432 #endif
56435 main ()
56437 log10f(0);
56439 return 0;
56441 _ACEOF
56442 if ac_fn_cxx_try_compile "$LINENO"; then :
56443 glibcxx_cv_func_log10f_use=yes
56444 else
56445 glibcxx_cv_func_log10f_use=no
56447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56448 ac_ext=c
56449 ac_cpp='$CPP $CPPFLAGS'
56450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56459 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56461 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56462 for ac_func in log10f
56463 do :
56464 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56465 if test "x$ac_cv_func_log10f" = x""yes; then :
56466 cat >>confdefs.h <<_ACEOF
56467 #define HAVE_LOG10F 1
56468 _ACEOF
56471 done
56473 else
56475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56476 $as_echo_n "checking for _log10f declaration... " >&6; }
56477 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56478 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56479 $as_echo_n "(cached) " >&6
56480 else
56483 ac_ext=cpp
56484 ac_cpp='$CXXCPP $CPPFLAGS'
56485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56490 /* end confdefs.h. */
56491 #include <math.h>
56492 #ifdef HAVE_IEEEFP_H
56493 #include <ieeefp.h>
56494 #endif
56497 main ()
56499 _log10f(0);
56501 return 0;
56503 _ACEOF
56504 if ac_fn_cxx_try_compile "$LINENO"; then :
56505 glibcxx_cv_func__log10f_use=yes
56506 else
56507 glibcxx_cv_func__log10f_use=no
56509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56510 ac_ext=c
56511 ac_cpp='$CPP $CPPFLAGS'
56512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56521 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56523 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56524 for ac_func in _log10f
56525 do :
56526 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56527 if test "x$ac_cv_func__log10f" = x""yes; then :
56528 cat >>confdefs.h <<_ACEOF
56529 #define HAVE__LOG10F 1
56530 _ACEOF
56533 done
56542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56543 $as_echo_n "checking for modff declaration... " >&6; }
56544 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56545 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56546 $as_echo_n "(cached) " >&6
56547 else
56550 ac_ext=cpp
56551 ac_cpp='$CXXCPP $CPPFLAGS'
56552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56557 /* end confdefs.h. */
56558 #include <math.h>
56560 main ()
56562 modff(0, 0);
56564 return 0;
56566 _ACEOF
56567 if ac_fn_cxx_try_compile "$LINENO"; then :
56568 glibcxx_cv_func_modff_use=yes
56569 else
56570 glibcxx_cv_func_modff_use=no
56572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56573 ac_ext=c
56574 ac_cpp='$CPP $CPPFLAGS'
56575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56584 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56586 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56587 for ac_func in modff
56588 do :
56589 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56590 if test "x$ac_cv_func_modff" = x""yes; then :
56591 cat >>confdefs.h <<_ACEOF
56592 #define HAVE_MODFF 1
56593 _ACEOF
56596 done
56598 else
56600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56601 $as_echo_n "checking for _modff declaration... " >&6; }
56602 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56603 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56604 $as_echo_n "(cached) " >&6
56605 else
56608 ac_ext=cpp
56609 ac_cpp='$CXXCPP $CPPFLAGS'
56610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56615 /* end confdefs.h. */
56616 #include <math.h>
56618 main ()
56620 _modff(0, 0);
56622 return 0;
56624 _ACEOF
56625 if ac_fn_cxx_try_compile "$LINENO"; then :
56626 glibcxx_cv_func__modff_use=yes
56627 else
56628 glibcxx_cv_func__modff_use=no
56630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56631 ac_ext=c
56632 ac_cpp='$CPP $CPPFLAGS'
56633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56642 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56644 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56645 for ac_func in _modff
56646 do :
56647 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56648 if test "x$ac_cv_func__modff" = x""yes; then :
56649 cat >>confdefs.h <<_ACEOF
56650 #define HAVE__MODFF 1
56651 _ACEOF
56654 done
56663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56664 $as_echo_n "checking for modf declaration... " >&6; }
56665 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56666 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56667 $as_echo_n "(cached) " >&6
56668 else
56671 ac_ext=cpp
56672 ac_cpp='$CXXCPP $CPPFLAGS'
56673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56678 /* end confdefs.h. */
56679 #include <math.h>
56681 main ()
56683 modf(0, 0);
56685 return 0;
56687 _ACEOF
56688 if ac_fn_cxx_try_compile "$LINENO"; then :
56689 glibcxx_cv_func_modf_use=yes
56690 else
56691 glibcxx_cv_func_modf_use=no
56693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56694 ac_ext=c
56695 ac_cpp='$CPP $CPPFLAGS'
56696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56705 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56707 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56708 for ac_func in modf
56709 do :
56710 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56711 if test "x$ac_cv_func_modf" = x""yes; then :
56712 cat >>confdefs.h <<_ACEOF
56713 #define HAVE_MODF 1
56714 _ACEOF
56717 done
56719 else
56721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56722 $as_echo_n "checking for _modf declaration... " >&6; }
56723 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56724 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56725 $as_echo_n "(cached) " >&6
56726 else
56729 ac_ext=cpp
56730 ac_cpp='$CXXCPP $CPPFLAGS'
56731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56736 /* end confdefs.h. */
56737 #include <math.h>
56739 main ()
56741 _modf(0, 0);
56743 return 0;
56745 _ACEOF
56746 if ac_fn_cxx_try_compile "$LINENO"; then :
56747 glibcxx_cv_func__modf_use=yes
56748 else
56749 glibcxx_cv_func__modf_use=no
56751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56752 ac_ext=c
56753 ac_cpp='$CPP $CPPFLAGS'
56754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56763 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56765 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56766 for ac_func in _modf
56767 do :
56768 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56769 if test "x$ac_cv_func__modf" = x""yes; then :
56770 cat >>confdefs.h <<_ACEOF
56771 #define HAVE__MODF 1
56772 _ACEOF
56775 done
56784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56785 $as_echo_n "checking for powf declaration... " >&6; }
56786 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56787 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56788 $as_echo_n "(cached) " >&6
56789 else
56792 ac_ext=cpp
56793 ac_cpp='$CXXCPP $CPPFLAGS'
56794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56799 /* end confdefs.h. */
56800 #include <math.h>
56802 main ()
56804 powf(0, 0);
56806 return 0;
56808 _ACEOF
56809 if ac_fn_cxx_try_compile "$LINENO"; then :
56810 glibcxx_cv_func_powf_use=yes
56811 else
56812 glibcxx_cv_func_powf_use=no
56814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56815 ac_ext=c
56816 ac_cpp='$CPP $CPPFLAGS'
56817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56826 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56828 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56829 for ac_func in powf
56830 do :
56831 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56832 if test "x$ac_cv_func_powf" = x""yes; then :
56833 cat >>confdefs.h <<_ACEOF
56834 #define HAVE_POWF 1
56835 _ACEOF
56838 done
56840 else
56842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56843 $as_echo_n "checking for _powf declaration... " >&6; }
56844 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56845 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56846 $as_echo_n "(cached) " >&6
56847 else
56850 ac_ext=cpp
56851 ac_cpp='$CXXCPP $CPPFLAGS'
56852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56857 /* end confdefs.h. */
56858 #include <math.h>
56860 main ()
56862 _powf(0, 0);
56864 return 0;
56866 _ACEOF
56867 if ac_fn_cxx_try_compile "$LINENO"; then :
56868 glibcxx_cv_func__powf_use=yes
56869 else
56870 glibcxx_cv_func__powf_use=no
56872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56873 ac_ext=c
56874 ac_cpp='$CPP $CPPFLAGS'
56875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56884 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56886 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56887 for ac_func in _powf
56888 do :
56889 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56890 if test "x$ac_cv_func__powf" = x""yes; then :
56891 cat >>confdefs.h <<_ACEOF
56892 #define HAVE__POWF 1
56893 _ACEOF
56896 done
56905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56906 $as_echo_n "checking for sqrtf declaration... " >&6; }
56907 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56908 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56909 $as_echo_n "(cached) " >&6
56910 else
56913 ac_ext=cpp
56914 ac_cpp='$CXXCPP $CPPFLAGS'
56915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56920 /* end confdefs.h. */
56921 #include <math.h>
56922 #ifdef HAVE_IEEEFP_H
56923 #include <ieeefp.h>
56924 #endif
56927 main ()
56929 sqrtf(0);
56931 return 0;
56933 _ACEOF
56934 if ac_fn_cxx_try_compile "$LINENO"; then :
56935 glibcxx_cv_func_sqrtf_use=yes
56936 else
56937 glibcxx_cv_func_sqrtf_use=no
56939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56940 ac_ext=c
56941 ac_cpp='$CPP $CPPFLAGS'
56942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56951 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56953 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56954 for ac_func in sqrtf
56955 do :
56956 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56957 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56958 cat >>confdefs.h <<_ACEOF
56959 #define HAVE_SQRTF 1
56960 _ACEOF
56963 done
56965 else
56967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56968 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56969 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56970 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56971 $as_echo_n "(cached) " >&6
56972 else
56975 ac_ext=cpp
56976 ac_cpp='$CXXCPP $CPPFLAGS'
56977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56982 /* end confdefs.h. */
56983 #include <math.h>
56984 #ifdef HAVE_IEEEFP_H
56985 #include <ieeefp.h>
56986 #endif
56989 main ()
56991 _sqrtf(0);
56993 return 0;
56995 _ACEOF
56996 if ac_fn_cxx_try_compile "$LINENO"; then :
56997 glibcxx_cv_func__sqrtf_use=yes
56998 else
56999 glibcxx_cv_func__sqrtf_use=no
57001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57002 ac_ext=c
57003 ac_cpp='$CPP $CPPFLAGS'
57004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57013 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57015 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57016 for ac_func in _sqrtf
57017 do :
57018 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57019 if test "x$ac_cv_func__sqrtf" = x""yes; then :
57020 cat >>confdefs.h <<_ACEOF
57021 #define HAVE__SQRTF 1
57022 _ACEOF
57025 done
57034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57035 $as_echo_n "checking for sincosf declaration... " >&6; }
57036 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57037 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57038 $as_echo_n "(cached) " >&6
57039 else
57042 ac_ext=cpp
57043 ac_cpp='$CXXCPP $CPPFLAGS'
57044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57049 /* end confdefs.h. */
57050 #include <math.h>
57052 main ()
57054 sincosf(0, 0, 0);
57056 return 0;
57058 _ACEOF
57059 if ac_fn_cxx_try_compile "$LINENO"; then :
57060 glibcxx_cv_func_sincosf_use=yes
57061 else
57062 glibcxx_cv_func_sincosf_use=no
57064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57065 ac_ext=c
57066 ac_cpp='$CPP $CPPFLAGS'
57067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57076 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57078 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57079 for ac_func in sincosf
57080 do :
57081 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57082 if test "x$ac_cv_func_sincosf" = x""yes; then :
57083 cat >>confdefs.h <<_ACEOF
57084 #define HAVE_SINCOSF 1
57085 _ACEOF
57088 done
57090 else
57092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57093 $as_echo_n "checking for _sincosf declaration... " >&6; }
57094 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57095 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57096 $as_echo_n "(cached) " >&6
57097 else
57100 ac_ext=cpp
57101 ac_cpp='$CXXCPP $CPPFLAGS'
57102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57107 /* end confdefs.h. */
57108 #include <math.h>
57110 main ()
57112 _sincosf(0, 0, 0);
57114 return 0;
57116 _ACEOF
57117 if ac_fn_cxx_try_compile "$LINENO"; then :
57118 glibcxx_cv_func__sincosf_use=yes
57119 else
57120 glibcxx_cv_func__sincosf_use=no
57122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57123 ac_ext=c
57124 ac_cpp='$CPP $CPPFLAGS'
57125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57134 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57136 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57137 for ac_func in _sincosf
57138 do :
57139 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57140 if test "x$ac_cv_func__sincosf" = x""yes; then :
57141 cat >>confdefs.h <<_ACEOF
57142 #define HAVE__SINCOSF 1
57143 _ACEOF
57146 done
57155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57156 $as_echo_n "checking for finitef declaration... " >&6; }
57157 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57158 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57159 $as_echo_n "(cached) " >&6
57160 else
57163 ac_ext=cpp
57164 ac_cpp='$CXXCPP $CPPFLAGS'
57165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57170 /* end confdefs.h. */
57171 #include <math.h>
57172 #ifdef HAVE_IEEEFP_H
57173 #include <ieeefp.h>
57174 #endif
57177 main ()
57179 finitef(0);
57181 return 0;
57183 _ACEOF
57184 if ac_fn_cxx_try_compile "$LINENO"; then :
57185 glibcxx_cv_func_finitef_use=yes
57186 else
57187 glibcxx_cv_func_finitef_use=no
57189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57190 ac_ext=c
57191 ac_cpp='$CPP $CPPFLAGS'
57192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57201 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57203 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57204 for ac_func in finitef
57205 do :
57206 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57207 if test "x$ac_cv_func_finitef" = x""yes; then :
57208 cat >>confdefs.h <<_ACEOF
57209 #define HAVE_FINITEF 1
57210 _ACEOF
57213 done
57215 else
57217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57218 $as_echo_n "checking for _finitef declaration... " >&6; }
57219 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57220 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57221 $as_echo_n "(cached) " >&6
57222 else
57225 ac_ext=cpp
57226 ac_cpp='$CXXCPP $CPPFLAGS'
57227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57232 /* end confdefs.h. */
57233 #include <math.h>
57234 #ifdef HAVE_IEEEFP_H
57235 #include <ieeefp.h>
57236 #endif
57239 main ()
57241 _finitef(0);
57243 return 0;
57245 _ACEOF
57246 if ac_fn_cxx_try_compile "$LINENO"; then :
57247 glibcxx_cv_func__finitef_use=yes
57248 else
57249 glibcxx_cv_func__finitef_use=no
57251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57252 ac_ext=c
57253 ac_cpp='$CPP $CPPFLAGS'
57254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57263 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57265 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57266 for ac_func in _finitef
57267 do :
57268 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57269 if test "x$ac_cv_func__finitef" = x""yes; then :
57270 cat >>confdefs.h <<_ACEOF
57271 #define HAVE__FINITEF 1
57272 _ACEOF
57275 done
57284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57285 $as_echo_n "checking for long double trig functions... " >&6; }
57286 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57287 $as_echo_n "(cached) " >&6
57288 else
57291 ac_ext=cpp
57292 ac_cpp='$CXXCPP $CPPFLAGS'
57293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57298 /* end confdefs.h. */
57299 #include <math.h>
57301 main ()
57303 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57305 return 0;
57307 _ACEOF
57308 if ac_fn_cxx_try_compile "$LINENO"; then :
57309 glibcxx_cv_func_long_double_trig_use=yes
57310 else
57311 glibcxx_cv_func_long_double_trig_use=no
57313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57314 ac_ext=c
57315 ac_cpp='$CPP $CPPFLAGS'
57316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57323 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57324 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57325 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57326 do :
57327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57329 eval as_val=\$$as_ac_var
57330 if test "x$as_val" = x""yes; then :
57331 cat >>confdefs.h <<_ACEOF
57332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57333 _ACEOF
57336 done
57338 else
57339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57340 $as_echo_n "checking for _long double trig functions... " >&6; }
57341 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57342 $as_echo_n "(cached) " >&6
57343 else
57346 ac_ext=cpp
57347 ac_cpp='$CXXCPP $CPPFLAGS'
57348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57353 /* end confdefs.h. */
57354 #include <math.h>
57356 main ()
57358 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57360 return 0;
57362 _ACEOF
57363 if ac_fn_cxx_try_compile "$LINENO"; then :
57364 glibcxx_cv_func__long_double_trig_use=yes
57365 else
57366 glibcxx_cv_func__long_double_trig_use=no
57368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57369 ac_ext=c
57370 ac_cpp='$CPP $CPPFLAGS'
57371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57378 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57379 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57380 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57381 do :
57382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57384 eval as_val=\$$as_ac_var
57385 if test "x$as_val" = x""yes; then :
57386 cat >>confdefs.h <<_ACEOF
57387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57388 _ACEOF
57391 done
57400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57401 $as_echo_n "checking for long double round functions... " >&6; }
57402 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57403 $as_echo_n "(cached) " >&6
57404 else
57407 ac_ext=cpp
57408 ac_cpp='$CXXCPP $CPPFLAGS'
57409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57414 /* end confdefs.h. */
57415 #include <math.h>
57417 main ()
57419 ceill (0); floorl (0);
57421 return 0;
57423 _ACEOF
57424 if ac_fn_cxx_try_compile "$LINENO"; then :
57425 glibcxx_cv_func_long_double_round_use=yes
57426 else
57427 glibcxx_cv_func_long_double_round_use=no
57429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57430 ac_ext=c
57431 ac_cpp='$CPP $CPPFLAGS'
57432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57439 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57440 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57441 for ac_func in ceill floorl
57442 do :
57443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57445 eval as_val=\$$as_ac_var
57446 if test "x$as_val" = x""yes; then :
57447 cat >>confdefs.h <<_ACEOF
57448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57449 _ACEOF
57452 done
57454 else
57455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57456 $as_echo_n "checking for _long double round functions... " >&6; }
57457 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57458 $as_echo_n "(cached) " >&6
57459 else
57462 ac_ext=cpp
57463 ac_cpp='$CXXCPP $CPPFLAGS'
57464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57469 /* end confdefs.h. */
57470 #include <math.h>
57472 main ()
57474 _ceill (0); _floorl (0);
57476 return 0;
57478 _ACEOF
57479 if ac_fn_cxx_try_compile "$LINENO"; then :
57480 glibcxx_cv_func__long_double_round_use=yes
57481 else
57482 glibcxx_cv_func__long_double_round_use=no
57484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57485 ac_ext=c
57486 ac_cpp='$CPP $CPPFLAGS'
57487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57494 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57495 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57496 for ac_func in _ceill _floorl
57497 do :
57498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57500 eval as_val=\$$as_ac_var
57501 if test "x$as_val" = x""yes; then :
57502 cat >>confdefs.h <<_ACEOF
57503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57504 _ACEOF
57507 done
57517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57518 $as_echo_n "checking for isnanl declaration... " >&6; }
57519 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57520 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57521 $as_echo_n "(cached) " >&6
57522 else
57525 ac_ext=cpp
57526 ac_cpp='$CXXCPP $CPPFLAGS'
57527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57532 /* end confdefs.h. */
57533 #include <math.h>
57534 #ifdef HAVE_IEEEFP_H
57535 #include <ieeefp.h>
57536 #endif
57539 main ()
57541 isnanl(0);
57543 return 0;
57545 _ACEOF
57546 if ac_fn_cxx_try_compile "$LINENO"; then :
57547 glibcxx_cv_func_isnanl_use=yes
57548 else
57549 glibcxx_cv_func_isnanl_use=no
57551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57552 ac_ext=c
57553 ac_cpp='$CPP $CPPFLAGS'
57554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57563 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57565 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57566 for ac_func in isnanl
57567 do :
57568 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57569 if test "x$ac_cv_func_isnanl" = x""yes; then :
57570 cat >>confdefs.h <<_ACEOF
57571 #define HAVE_ISNANL 1
57572 _ACEOF
57575 done
57577 else
57579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57580 $as_echo_n "checking for _isnanl declaration... " >&6; }
57581 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57582 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57583 $as_echo_n "(cached) " >&6
57584 else
57587 ac_ext=cpp
57588 ac_cpp='$CXXCPP $CPPFLAGS'
57589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57594 /* end confdefs.h. */
57595 #include <math.h>
57596 #ifdef HAVE_IEEEFP_H
57597 #include <ieeefp.h>
57598 #endif
57601 main ()
57603 _isnanl(0);
57605 return 0;
57607 _ACEOF
57608 if ac_fn_cxx_try_compile "$LINENO"; then :
57609 glibcxx_cv_func__isnanl_use=yes
57610 else
57611 glibcxx_cv_func__isnanl_use=no
57613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57614 ac_ext=c
57615 ac_cpp='$CPP $CPPFLAGS'
57616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57625 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57627 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57628 for ac_func in _isnanl
57629 do :
57630 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57631 if test "x$ac_cv_func__isnanl" = x""yes; then :
57632 cat >>confdefs.h <<_ACEOF
57633 #define HAVE__ISNANL 1
57634 _ACEOF
57637 done
57646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57647 $as_echo_n "checking for isinfl declaration... " >&6; }
57648 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57649 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57650 $as_echo_n "(cached) " >&6
57651 else
57654 ac_ext=cpp
57655 ac_cpp='$CXXCPP $CPPFLAGS'
57656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57661 /* end confdefs.h. */
57662 #include <math.h>
57663 #ifdef HAVE_IEEEFP_H
57664 #include <ieeefp.h>
57665 #endif
57668 main ()
57670 isinfl(0);
57672 return 0;
57674 _ACEOF
57675 if ac_fn_cxx_try_compile "$LINENO"; then :
57676 glibcxx_cv_func_isinfl_use=yes
57677 else
57678 glibcxx_cv_func_isinfl_use=no
57680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57681 ac_ext=c
57682 ac_cpp='$CPP $CPPFLAGS'
57683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57692 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57694 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57695 for ac_func in isinfl
57696 do :
57697 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57698 if test "x$ac_cv_func_isinfl" = x""yes; then :
57699 cat >>confdefs.h <<_ACEOF
57700 #define HAVE_ISINFL 1
57701 _ACEOF
57704 done
57706 else
57708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57709 $as_echo_n "checking for _isinfl declaration... " >&6; }
57710 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57711 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57712 $as_echo_n "(cached) " >&6
57713 else
57716 ac_ext=cpp
57717 ac_cpp='$CXXCPP $CPPFLAGS'
57718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57723 /* end confdefs.h. */
57724 #include <math.h>
57725 #ifdef HAVE_IEEEFP_H
57726 #include <ieeefp.h>
57727 #endif
57730 main ()
57732 _isinfl(0);
57734 return 0;
57736 _ACEOF
57737 if ac_fn_cxx_try_compile "$LINENO"; then :
57738 glibcxx_cv_func__isinfl_use=yes
57739 else
57740 glibcxx_cv_func__isinfl_use=no
57742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57743 ac_ext=c
57744 ac_cpp='$CPP $CPPFLAGS'
57745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57754 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57756 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57757 for ac_func in _isinfl
57758 do :
57759 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57760 if test "x$ac_cv_func__isinfl" = x""yes; then :
57761 cat >>confdefs.h <<_ACEOF
57762 #define HAVE__ISINFL 1
57763 _ACEOF
57766 done
57775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57776 $as_echo_n "checking for atan2l declaration... " >&6; }
57777 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57778 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57779 $as_echo_n "(cached) " >&6
57780 else
57783 ac_ext=cpp
57784 ac_cpp='$CXXCPP $CPPFLAGS'
57785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57790 /* end confdefs.h. */
57791 #include <math.h>
57793 main ()
57795 atan2l(0, 0);
57797 return 0;
57799 _ACEOF
57800 if ac_fn_cxx_try_compile "$LINENO"; then :
57801 glibcxx_cv_func_atan2l_use=yes
57802 else
57803 glibcxx_cv_func_atan2l_use=no
57805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57806 ac_ext=c
57807 ac_cpp='$CPP $CPPFLAGS'
57808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57817 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57819 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57820 for ac_func in atan2l
57821 do :
57822 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57823 if test "x$ac_cv_func_atan2l" = x""yes; then :
57824 cat >>confdefs.h <<_ACEOF
57825 #define HAVE_ATAN2L 1
57826 _ACEOF
57829 done
57831 else
57833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57834 $as_echo_n "checking for _atan2l declaration... " >&6; }
57835 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57836 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57837 $as_echo_n "(cached) " >&6
57838 else
57841 ac_ext=cpp
57842 ac_cpp='$CXXCPP $CPPFLAGS'
57843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57848 /* end confdefs.h. */
57849 #include <math.h>
57851 main ()
57853 _atan2l(0, 0);
57855 return 0;
57857 _ACEOF
57858 if ac_fn_cxx_try_compile "$LINENO"; then :
57859 glibcxx_cv_func__atan2l_use=yes
57860 else
57861 glibcxx_cv_func__atan2l_use=no
57863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57864 ac_ext=c
57865 ac_cpp='$CPP $CPPFLAGS'
57866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57875 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57877 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57878 for ac_func in _atan2l
57879 do :
57880 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57881 if test "x$ac_cv_func__atan2l" = x""yes; then :
57882 cat >>confdefs.h <<_ACEOF
57883 #define HAVE__ATAN2L 1
57884 _ACEOF
57887 done
57896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57897 $as_echo_n "checking for expl declaration... " >&6; }
57898 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57899 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57900 $as_echo_n "(cached) " >&6
57901 else
57904 ac_ext=cpp
57905 ac_cpp='$CXXCPP $CPPFLAGS'
57906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57911 /* end confdefs.h. */
57912 #include <math.h>
57913 #ifdef HAVE_IEEEFP_H
57914 #include <ieeefp.h>
57915 #endif
57918 main ()
57920 expl(0);
57922 return 0;
57924 _ACEOF
57925 if ac_fn_cxx_try_compile "$LINENO"; then :
57926 glibcxx_cv_func_expl_use=yes
57927 else
57928 glibcxx_cv_func_expl_use=no
57930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57931 ac_ext=c
57932 ac_cpp='$CPP $CPPFLAGS'
57933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57942 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57944 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57945 for ac_func in expl
57946 do :
57947 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57948 if test "x$ac_cv_func_expl" = x""yes; then :
57949 cat >>confdefs.h <<_ACEOF
57950 #define HAVE_EXPL 1
57951 _ACEOF
57954 done
57956 else
57958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57959 $as_echo_n "checking for _expl declaration... " >&6; }
57960 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57961 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57962 $as_echo_n "(cached) " >&6
57963 else
57966 ac_ext=cpp
57967 ac_cpp='$CXXCPP $CPPFLAGS'
57968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57973 /* end confdefs.h. */
57974 #include <math.h>
57975 #ifdef HAVE_IEEEFP_H
57976 #include <ieeefp.h>
57977 #endif
57980 main ()
57982 _expl(0);
57984 return 0;
57986 _ACEOF
57987 if ac_fn_cxx_try_compile "$LINENO"; then :
57988 glibcxx_cv_func__expl_use=yes
57989 else
57990 glibcxx_cv_func__expl_use=no
57992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57993 ac_ext=c
57994 ac_cpp='$CPP $CPPFLAGS'
57995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58004 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58006 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58007 for ac_func in _expl
58008 do :
58009 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58010 if test "x$ac_cv_func__expl" = x""yes; then :
58011 cat >>confdefs.h <<_ACEOF
58012 #define HAVE__EXPL 1
58013 _ACEOF
58016 done
58025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58026 $as_echo_n "checking for fabsl declaration... " >&6; }
58027 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58028 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
58029 $as_echo_n "(cached) " >&6
58030 else
58033 ac_ext=cpp
58034 ac_cpp='$CXXCPP $CPPFLAGS'
58035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58040 /* end confdefs.h. */
58041 #include <math.h>
58042 #ifdef HAVE_IEEEFP_H
58043 #include <ieeefp.h>
58044 #endif
58047 main ()
58049 fabsl(0);
58051 return 0;
58053 _ACEOF
58054 if ac_fn_cxx_try_compile "$LINENO"; then :
58055 glibcxx_cv_func_fabsl_use=yes
58056 else
58057 glibcxx_cv_func_fabsl_use=no
58059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58060 ac_ext=c
58061 ac_cpp='$CPP $CPPFLAGS'
58062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58071 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58073 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58074 for ac_func in fabsl
58075 do :
58076 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58077 if test "x$ac_cv_func_fabsl" = x""yes; then :
58078 cat >>confdefs.h <<_ACEOF
58079 #define HAVE_FABSL 1
58080 _ACEOF
58083 done
58085 else
58087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58088 $as_echo_n "checking for _fabsl declaration... " >&6; }
58089 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58090 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58091 $as_echo_n "(cached) " >&6
58092 else
58095 ac_ext=cpp
58096 ac_cpp='$CXXCPP $CPPFLAGS'
58097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58102 /* end confdefs.h. */
58103 #include <math.h>
58104 #ifdef HAVE_IEEEFP_H
58105 #include <ieeefp.h>
58106 #endif
58109 main ()
58111 _fabsl(0);
58113 return 0;
58115 _ACEOF
58116 if ac_fn_cxx_try_compile "$LINENO"; then :
58117 glibcxx_cv_func__fabsl_use=yes
58118 else
58119 glibcxx_cv_func__fabsl_use=no
58121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58122 ac_ext=c
58123 ac_cpp='$CPP $CPPFLAGS'
58124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58133 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58135 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58136 for ac_func in _fabsl
58137 do :
58138 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58139 if test "x$ac_cv_func__fabsl" = x""yes; then :
58140 cat >>confdefs.h <<_ACEOF
58141 #define HAVE__FABSL 1
58142 _ACEOF
58145 done
58154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58155 $as_echo_n "checking for fmodl declaration... " >&6; }
58156 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58157 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58158 $as_echo_n "(cached) " >&6
58159 else
58162 ac_ext=cpp
58163 ac_cpp='$CXXCPP $CPPFLAGS'
58164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58169 /* end confdefs.h. */
58170 #include <math.h>
58172 main ()
58174 fmodl(0, 0);
58176 return 0;
58178 _ACEOF
58179 if ac_fn_cxx_try_compile "$LINENO"; then :
58180 glibcxx_cv_func_fmodl_use=yes
58181 else
58182 glibcxx_cv_func_fmodl_use=no
58184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58185 ac_ext=c
58186 ac_cpp='$CPP $CPPFLAGS'
58187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58196 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58198 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58199 for ac_func in fmodl
58200 do :
58201 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58202 if test "x$ac_cv_func_fmodl" = x""yes; then :
58203 cat >>confdefs.h <<_ACEOF
58204 #define HAVE_FMODL 1
58205 _ACEOF
58208 done
58210 else
58212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58213 $as_echo_n "checking for _fmodl declaration... " >&6; }
58214 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58215 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58216 $as_echo_n "(cached) " >&6
58217 else
58220 ac_ext=cpp
58221 ac_cpp='$CXXCPP $CPPFLAGS'
58222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58227 /* end confdefs.h. */
58228 #include <math.h>
58230 main ()
58232 _fmodl(0, 0);
58234 return 0;
58236 _ACEOF
58237 if ac_fn_cxx_try_compile "$LINENO"; then :
58238 glibcxx_cv_func__fmodl_use=yes
58239 else
58240 glibcxx_cv_func__fmodl_use=no
58242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58243 ac_ext=c
58244 ac_cpp='$CPP $CPPFLAGS'
58245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58254 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58256 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58257 for ac_func in _fmodl
58258 do :
58259 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58260 if test "x$ac_cv_func__fmodl" = x""yes; then :
58261 cat >>confdefs.h <<_ACEOF
58262 #define HAVE__FMODL 1
58263 _ACEOF
58266 done
58275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58276 $as_echo_n "checking for frexpl declaration... " >&6; }
58277 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58278 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58279 $as_echo_n "(cached) " >&6
58280 else
58283 ac_ext=cpp
58284 ac_cpp='$CXXCPP $CPPFLAGS'
58285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58290 /* end confdefs.h. */
58291 #include <math.h>
58293 main ()
58295 frexpl(0, 0);
58297 return 0;
58299 _ACEOF
58300 if ac_fn_cxx_try_compile "$LINENO"; then :
58301 glibcxx_cv_func_frexpl_use=yes
58302 else
58303 glibcxx_cv_func_frexpl_use=no
58305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58306 ac_ext=c
58307 ac_cpp='$CPP $CPPFLAGS'
58308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58317 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58319 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58320 for ac_func in frexpl
58321 do :
58322 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58323 if test "x$ac_cv_func_frexpl" = x""yes; then :
58324 cat >>confdefs.h <<_ACEOF
58325 #define HAVE_FREXPL 1
58326 _ACEOF
58329 done
58331 else
58333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58334 $as_echo_n "checking for _frexpl declaration... " >&6; }
58335 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58336 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58337 $as_echo_n "(cached) " >&6
58338 else
58341 ac_ext=cpp
58342 ac_cpp='$CXXCPP $CPPFLAGS'
58343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58348 /* end confdefs.h. */
58349 #include <math.h>
58351 main ()
58353 _frexpl(0, 0);
58355 return 0;
58357 _ACEOF
58358 if ac_fn_cxx_try_compile "$LINENO"; then :
58359 glibcxx_cv_func__frexpl_use=yes
58360 else
58361 glibcxx_cv_func__frexpl_use=no
58363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58364 ac_ext=c
58365 ac_cpp='$CPP $CPPFLAGS'
58366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58375 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58377 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58378 for ac_func in _frexpl
58379 do :
58380 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58381 if test "x$ac_cv_func__frexpl" = x""yes; then :
58382 cat >>confdefs.h <<_ACEOF
58383 #define HAVE__FREXPL 1
58384 _ACEOF
58387 done
58396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58397 $as_echo_n "checking for hypotl declaration... " >&6; }
58398 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58399 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58400 $as_echo_n "(cached) " >&6
58401 else
58404 ac_ext=cpp
58405 ac_cpp='$CXXCPP $CPPFLAGS'
58406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58411 /* end confdefs.h. */
58412 #include <math.h>
58414 main ()
58416 hypotl(0, 0);
58418 return 0;
58420 _ACEOF
58421 if ac_fn_cxx_try_compile "$LINENO"; then :
58422 glibcxx_cv_func_hypotl_use=yes
58423 else
58424 glibcxx_cv_func_hypotl_use=no
58426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58427 ac_ext=c
58428 ac_cpp='$CPP $CPPFLAGS'
58429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58438 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58440 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58441 for ac_func in hypotl
58442 do :
58443 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58444 if test "x$ac_cv_func_hypotl" = x""yes; then :
58445 cat >>confdefs.h <<_ACEOF
58446 #define HAVE_HYPOTL 1
58447 _ACEOF
58450 done
58452 else
58454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58455 $as_echo_n "checking for _hypotl declaration... " >&6; }
58456 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58457 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58458 $as_echo_n "(cached) " >&6
58459 else
58462 ac_ext=cpp
58463 ac_cpp='$CXXCPP $CPPFLAGS'
58464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58469 /* end confdefs.h. */
58470 #include <math.h>
58472 main ()
58474 _hypotl(0, 0);
58476 return 0;
58478 _ACEOF
58479 if ac_fn_cxx_try_compile "$LINENO"; then :
58480 glibcxx_cv_func__hypotl_use=yes
58481 else
58482 glibcxx_cv_func__hypotl_use=no
58484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58485 ac_ext=c
58486 ac_cpp='$CPP $CPPFLAGS'
58487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58496 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58498 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58499 for ac_func in _hypotl
58500 do :
58501 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58502 if test "x$ac_cv_func__hypotl" = x""yes; then :
58503 cat >>confdefs.h <<_ACEOF
58504 #define HAVE__HYPOTL 1
58505 _ACEOF
58508 done
58517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58518 $as_echo_n "checking for ldexpl declaration... " >&6; }
58519 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58520 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58521 $as_echo_n "(cached) " >&6
58522 else
58525 ac_ext=cpp
58526 ac_cpp='$CXXCPP $CPPFLAGS'
58527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58532 /* end confdefs.h. */
58533 #include <math.h>
58535 main ()
58537 ldexpl(0, 0);
58539 return 0;
58541 _ACEOF
58542 if ac_fn_cxx_try_compile "$LINENO"; then :
58543 glibcxx_cv_func_ldexpl_use=yes
58544 else
58545 glibcxx_cv_func_ldexpl_use=no
58547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58548 ac_ext=c
58549 ac_cpp='$CPP $CPPFLAGS'
58550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58559 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58561 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58562 for ac_func in ldexpl
58563 do :
58564 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58565 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58566 cat >>confdefs.h <<_ACEOF
58567 #define HAVE_LDEXPL 1
58568 _ACEOF
58571 done
58573 else
58575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58576 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58577 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58578 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58579 $as_echo_n "(cached) " >&6
58580 else
58583 ac_ext=cpp
58584 ac_cpp='$CXXCPP $CPPFLAGS'
58585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58590 /* end confdefs.h. */
58591 #include <math.h>
58593 main ()
58595 _ldexpl(0, 0);
58597 return 0;
58599 _ACEOF
58600 if ac_fn_cxx_try_compile "$LINENO"; then :
58601 glibcxx_cv_func__ldexpl_use=yes
58602 else
58603 glibcxx_cv_func__ldexpl_use=no
58605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58606 ac_ext=c
58607 ac_cpp='$CPP $CPPFLAGS'
58608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58617 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58619 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58620 for ac_func in _ldexpl
58621 do :
58622 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58623 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58624 cat >>confdefs.h <<_ACEOF
58625 #define HAVE__LDEXPL 1
58626 _ACEOF
58629 done
58638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58639 $as_echo_n "checking for logl declaration... " >&6; }
58640 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58641 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58642 $as_echo_n "(cached) " >&6
58643 else
58646 ac_ext=cpp
58647 ac_cpp='$CXXCPP $CPPFLAGS'
58648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58653 /* end confdefs.h. */
58654 #include <math.h>
58655 #ifdef HAVE_IEEEFP_H
58656 #include <ieeefp.h>
58657 #endif
58660 main ()
58662 logl(0);
58664 return 0;
58666 _ACEOF
58667 if ac_fn_cxx_try_compile "$LINENO"; then :
58668 glibcxx_cv_func_logl_use=yes
58669 else
58670 glibcxx_cv_func_logl_use=no
58672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58673 ac_ext=c
58674 ac_cpp='$CPP $CPPFLAGS'
58675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58684 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58686 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58687 for ac_func in logl
58688 do :
58689 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58690 if test "x$ac_cv_func_logl" = x""yes; then :
58691 cat >>confdefs.h <<_ACEOF
58692 #define HAVE_LOGL 1
58693 _ACEOF
58696 done
58698 else
58700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58701 $as_echo_n "checking for _logl declaration... " >&6; }
58702 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58703 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58704 $as_echo_n "(cached) " >&6
58705 else
58708 ac_ext=cpp
58709 ac_cpp='$CXXCPP $CPPFLAGS'
58710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58715 /* end confdefs.h. */
58716 #include <math.h>
58717 #ifdef HAVE_IEEEFP_H
58718 #include <ieeefp.h>
58719 #endif
58722 main ()
58724 _logl(0);
58726 return 0;
58728 _ACEOF
58729 if ac_fn_cxx_try_compile "$LINENO"; then :
58730 glibcxx_cv_func__logl_use=yes
58731 else
58732 glibcxx_cv_func__logl_use=no
58734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58735 ac_ext=c
58736 ac_cpp='$CPP $CPPFLAGS'
58737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58746 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58748 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58749 for ac_func in _logl
58750 do :
58751 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58752 if test "x$ac_cv_func__logl" = x""yes; then :
58753 cat >>confdefs.h <<_ACEOF
58754 #define HAVE__LOGL 1
58755 _ACEOF
58758 done
58767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58768 $as_echo_n "checking for log10l declaration... " >&6; }
58769 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58770 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58771 $as_echo_n "(cached) " >&6
58772 else
58775 ac_ext=cpp
58776 ac_cpp='$CXXCPP $CPPFLAGS'
58777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58782 /* end confdefs.h. */
58783 #include <math.h>
58784 #ifdef HAVE_IEEEFP_H
58785 #include <ieeefp.h>
58786 #endif
58789 main ()
58791 log10l(0);
58793 return 0;
58795 _ACEOF
58796 if ac_fn_cxx_try_compile "$LINENO"; then :
58797 glibcxx_cv_func_log10l_use=yes
58798 else
58799 glibcxx_cv_func_log10l_use=no
58801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58802 ac_ext=c
58803 ac_cpp='$CPP $CPPFLAGS'
58804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58813 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58815 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58816 for ac_func in log10l
58817 do :
58818 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58819 if test "x$ac_cv_func_log10l" = x""yes; then :
58820 cat >>confdefs.h <<_ACEOF
58821 #define HAVE_LOG10L 1
58822 _ACEOF
58825 done
58827 else
58829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58830 $as_echo_n "checking for _log10l declaration... " >&6; }
58831 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58832 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58833 $as_echo_n "(cached) " >&6
58834 else
58837 ac_ext=cpp
58838 ac_cpp='$CXXCPP $CPPFLAGS'
58839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58844 /* end confdefs.h. */
58845 #include <math.h>
58846 #ifdef HAVE_IEEEFP_H
58847 #include <ieeefp.h>
58848 #endif
58851 main ()
58853 _log10l(0);
58855 return 0;
58857 _ACEOF
58858 if ac_fn_cxx_try_compile "$LINENO"; then :
58859 glibcxx_cv_func__log10l_use=yes
58860 else
58861 glibcxx_cv_func__log10l_use=no
58863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58864 ac_ext=c
58865 ac_cpp='$CPP $CPPFLAGS'
58866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58875 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58877 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58878 for ac_func in _log10l
58879 do :
58880 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58881 if test "x$ac_cv_func__log10l" = x""yes; then :
58882 cat >>confdefs.h <<_ACEOF
58883 #define HAVE__LOG10L 1
58884 _ACEOF
58887 done
58896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58897 $as_echo_n "checking for modfl declaration... " >&6; }
58898 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58899 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58900 $as_echo_n "(cached) " >&6
58901 else
58904 ac_ext=cpp
58905 ac_cpp='$CXXCPP $CPPFLAGS'
58906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58911 /* end confdefs.h. */
58912 #include <math.h>
58914 main ()
58916 modfl(0, 0);
58918 return 0;
58920 _ACEOF
58921 if ac_fn_cxx_try_compile "$LINENO"; then :
58922 glibcxx_cv_func_modfl_use=yes
58923 else
58924 glibcxx_cv_func_modfl_use=no
58926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58927 ac_ext=c
58928 ac_cpp='$CPP $CPPFLAGS'
58929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58938 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58940 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58941 for ac_func in modfl
58942 do :
58943 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58944 if test "x$ac_cv_func_modfl" = x""yes; then :
58945 cat >>confdefs.h <<_ACEOF
58946 #define HAVE_MODFL 1
58947 _ACEOF
58950 done
58952 else
58954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58955 $as_echo_n "checking for _modfl declaration... " >&6; }
58956 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58957 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58958 $as_echo_n "(cached) " >&6
58959 else
58962 ac_ext=cpp
58963 ac_cpp='$CXXCPP $CPPFLAGS'
58964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58969 /* end confdefs.h. */
58970 #include <math.h>
58972 main ()
58974 _modfl(0, 0);
58976 return 0;
58978 _ACEOF
58979 if ac_fn_cxx_try_compile "$LINENO"; then :
58980 glibcxx_cv_func__modfl_use=yes
58981 else
58982 glibcxx_cv_func__modfl_use=no
58984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58985 ac_ext=c
58986 ac_cpp='$CPP $CPPFLAGS'
58987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58996 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58998 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58999 for ac_func in _modfl
59000 do :
59001 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59002 if test "x$ac_cv_func__modfl" = x""yes; then :
59003 cat >>confdefs.h <<_ACEOF
59004 #define HAVE__MODFL 1
59005 _ACEOF
59008 done
59017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59018 $as_echo_n "checking for powl declaration... " >&6; }
59019 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59020 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
59021 $as_echo_n "(cached) " >&6
59022 else
59025 ac_ext=cpp
59026 ac_cpp='$CXXCPP $CPPFLAGS'
59027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59032 /* end confdefs.h. */
59033 #include <math.h>
59035 main ()
59037 powl(0, 0);
59039 return 0;
59041 _ACEOF
59042 if ac_fn_cxx_try_compile "$LINENO"; then :
59043 glibcxx_cv_func_powl_use=yes
59044 else
59045 glibcxx_cv_func_powl_use=no
59047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59048 ac_ext=c
59049 ac_cpp='$CPP $CPPFLAGS'
59050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59059 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59061 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59062 for ac_func in powl
59063 do :
59064 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59065 if test "x$ac_cv_func_powl" = x""yes; then :
59066 cat >>confdefs.h <<_ACEOF
59067 #define HAVE_POWL 1
59068 _ACEOF
59071 done
59073 else
59075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59076 $as_echo_n "checking for _powl declaration... " >&6; }
59077 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59078 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59079 $as_echo_n "(cached) " >&6
59080 else
59083 ac_ext=cpp
59084 ac_cpp='$CXXCPP $CPPFLAGS'
59085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59090 /* end confdefs.h. */
59091 #include <math.h>
59093 main ()
59095 _powl(0, 0);
59097 return 0;
59099 _ACEOF
59100 if ac_fn_cxx_try_compile "$LINENO"; then :
59101 glibcxx_cv_func__powl_use=yes
59102 else
59103 glibcxx_cv_func__powl_use=no
59105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59106 ac_ext=c
59107 ac_cpp='$CPP $CPPFLAGS'
59108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59117 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59119 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59120 for ac_func in _powl
59121 do :
59122 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59123 if test "x$ac_cv_func__powl" = x""yes; then :
59124 cat >>confdefs.h <<_ACEOF
59125 #define HAVE__POWL 1
59126 _ACEOF
59129 done
59138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59139 $as_echo_n "checking for sqrtl declaration... " >&6; }
59140 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59141 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59142 $as_echo_n "(cached) " >&6
59143 else
59146 ac_ext=cpp
59147 ac_cpp='$CXXCPP $CPPFLAGS'
59148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59153 /* end confdefs.h. */
59154 #include <math.h>
59155 #ifdef HAVE_IEEEFP_H
59156 #include <ieeefp.h>
59157 #endif
59160 main ()
59162 sqrtl(0);
59164 return 0;
59166 _ACEOF
59167 if ac_fn_cxx_try_compile "$LINENO"; then :
59168 glibcxx_cv_func_sqrtl_use=yes
59169 else
59170 glibcxx_cv_func_sqrtl_use=no
59172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59173 ac_ext=c
59174 ac_cpp='$CPP $CPPFLAGS'
59175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59184 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59186 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59187 for ac_func in sqrtl
59188 do :
59189 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59190 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59191 cat >>confdefs.h <<_ACEOF
59192 #define HAVE_SQRTL 1
59193 _ACEOF
59196 done
59198 else
59200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59201 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59202 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59203 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59204 $as_echo_n "(cached) " >&6
59205 else
59208 ac_ext=cpp
59209 ac_cpp='$CXXCPP $CPPFLAGS'
59210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59215 /* end confdefs.h. */
59216 #include <math.h>
59217 #ifdef HAVE_IEEEFP_H
59218 #include <ieeefp.h>
59219 #endif
59222 main ()
59224 _sqrtl(0);
59226 return 0;
59228 _ACEOF
59229 if ac_fn_cxx_try_compile "$LINENO"; then :
59230 glibcxx_cv_func__sqrtl_use=yes
59231 else
59232 glibcxx_cv_func__sqrtl_use=no
59234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59235 ac_ext=c
59236 ac_cpp='$CPP $CPPFLAGS'
59237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59246 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59248 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59249 for ac_func in _sqrtl
59250 do :
59251 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59252 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59253 cat >>confdefs.h <<_ACEOF
59254 #define HAVE__SQRTL 1
59255 _ACEOF
59258 done
59267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59268 $as_echo_n "checking for sincosl declaration... " >&6; }
59269 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59270 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59271 $as_echo_n "(cached) " >&6
59272 else
59275 ac_ext=cpp
59276 ac_cpp='$CXXCPP $CPPFLAGS'
59277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59282 /* end confdefs.h. */
59283 #include <math.h>
59285 main ()
59287 sincosl(0, 0, 0);
59289 return 0;
59291 _ACEOF
59292 if ac_fn_cxx_try_compile "$LINENO"; then :
59293 glibcxx_cv_func_sincosl_use=yes
59294 else
59295 glibcxx_cv_func_sincosl_use=no
59297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59298 ac_ext=c
59299 ac_cpp='$CPP $CPPFLAGS'
59300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59309 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59311 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59312 for ac_func in sincosl
59313 do :
59314 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59315 if test "x$ac_cv_func_sincosl" = x""yes; then :
59316 cat >>confdefs.h <<_ACEOF
59317 #define HAVE_SINCOSL 1
59318 _ACEOF
59321 done
59323 else
59325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59326 $as_echo_n "checking for _sincosl declaration... " >&6; }
59327 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59328 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59329 $as_echo_n "(cached) " >&6
59330 else
59333 ac_ext=cpp
59334 ac_cpp='$CXXCPP $CPPFLAGS'
59335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59340 /* end confdefs.h. */
59341 #include <math.h>
59343 main ()
59345 _sincosl(0, 0, 0);
59347 return 0;
59349 _ACEOF
59350 if ac_fn_cxx_try_compile "$LINENO"; then :
59351 glibcxx_cv_func__sincosl_use=yes
59352 else
59353 glibcxx_cv_func__sincosl_use=no
59355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59356 ac_ext=c
59357 ac_cpp='$CPP $CPPFLAGS'
59358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59367 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59369 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59370 for ac_func in _sincosl
59371 do :
59372 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59373 if test "x$ac_cv_func__sincosl" = x""yes; then :
59374 cat >>confdefs.h <<_ACEOF
59375 #define HAVE__SINCOSL 1
59376 _ACEOF
59379 done
59388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59389 $as_echo_n "checking for finitel declaration... " >&6; }
59390 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59391 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59392 $as_echo_n "(cached) " >&6
59393 else
59396 ac_ext=cpp
59397 ac_cpp='$CXXCPP $CPPFLAGS'
59398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59403 /* end confdefs.h. */
59404 #include <math.h>
59405 #ifdef HAVE_IEEEFP_H
59406 #include <ieeefp.h>
59407 #endif
59410 main ()
59412 finitel(0);
59414 return 0;
59416 _ACEOF
59417 if ac_fn_cxx_try_compile "$LINENO"; then :
59418 glibcxx_cv_func_finitel_use=yes
59419 else
59420 glibcxx_cv_func_finitel_use=no
59422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59423 ac_ext=c
59424 ac_cpp='$CPP $CPPFLAGS'
59425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59434 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59436 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59437 for ac_func in finitel
59438 do :
59439 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59440 if test "x$ac_cv_func_finitel" = x""yes; then :
59441 cat >>confdefs.h <<_ACEOF
59442 #define HAVE_FINITEL 1
59443 _ACEOF
59446 done
59448 else
59450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59451 $as_echo_n "checking for _finitel declaration... " >&6; }
59452 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59453 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59454 $as_echo_n "(cached) " >&6
59455 else
59458 ac_ext=cpp
59459 ac_cpp='$CXXCPP $CPPFLAGS'
59460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59465 /* end confdefs.h. */
59466 #include <math.h>
59467 #ifdef HAVE_IEEEFP_H
59468 #include <ieeefp.h>
59469 #endif
59472 main ()
59474 _finitel(0);
59476 return 0;
59478 _ACEOF
59479 if ac_fn_cxx_try_compile "$LINENO"; then :
59480 glibcxx_cv_func__finitel_use=yes
59481 else
59482 glibcxx_cv_func__finitel_use=no
59484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59485 ac_ext=c
59486 ac_cpp='$CPP $CPPFLAGS'
59487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59496 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59498 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59499 for ac_func in _finitel
59500 do :
59501 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59502 if test "x$ac_cv_func__finitel" = x""yes; then :
59503 cat >>confdefs.h <<_ACEOF
59504 #define HAVE__FINITEL 1
59505 _ACEOF
59508 done
59516 LIBS="$ac_save_LIBS"
59517 CXXFLAGS="$ac_save_CXXFLAGS"
59520 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59521 ac_save_CXXFLAGS="$CXXFLAGS"
59522 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59526 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59527 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59528 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59529 $as_echo_n "(cached) " >&6
59530 else
59533 ac_ext=cpp
59534 ac_cpp='$CXXCPP $CPPFLAGS'
59535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59540 /* end confdefs.h. */
59541 #include <stdlib.h>
59543 main ()
59545 at_quick_exit(0);
59547 return 0;
59549 _ACEOF
59550 if ac_fn_cxx_try_compile "$LINENO"; then :
59551 glibcxx_cv_func_at_quick_exit_use=yes
59552 else
59553 glibcxx_cv_func_at_quick_exit_use=no
59555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59556 ac_ext=c
59557 ac_cpp='$CPP $CPPFLAGS'
59558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59567 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59568 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59569 for ac_func in at_quick_exit
59570 do :
59571 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59572 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59573 cat >>confdefs.h <<_ACEOF
59574 #define HAVE_AT_QUICK_EXIT 1
59575 _ACEOF
59578 done
59583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59584 $as_echo_n "checking for quick_exit declaration... " >&6; }
59585 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59586 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59587 $as_echo_n "(cached) " >&6
59588 else
59591 ac_ext=cpp
59592 ac_cpp='$CXXCPP $CPPFLAGS'
59593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59598 /* end confdefs.h. */
59599 #include <stdlib.h>
59601 main ()
59603 quick_exit(0);
59605 return 0;
59607 _ACEOF
59608 if ac_fn_cxx_try_compile "$LINENO"; then :
59609 glibcxx_cv_func_quick_exit_use=yes
59610 else
59611 glibcxx_cv_func_quick_exit_use=no
59613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59614 ac_ext=c
59615 ac_cpp='$CPP $CPPFLAGS'
59616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59625 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59626 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59627 for ac_func in quick_exit
59628 do :
59629 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59630 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59631 cat >>confdefs.h <<_ACEOF
59632 #define HAVE_QUICK_EXIT 1
59633 _ACEOF
59636 done
59641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59642 $as_echo_n "checking for strtold declaration... " >&6; }
59643 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59644 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59645 $as_echo_n "(cached) " >&6
59646 else
59649 ac_ext=cpp
59650 ac_cpp='$CXXCPP $CPPFLAGS'
59651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59656 /* end confdefs.h. */
59657 #include <stdlib.h>
59659 main ()
59661 strtold(0, 0);
59663 return 0;
59665 _ACEOF
59666 if ac_fn_cxx_try_compile "$LINENO"; then :
59667 glibcxx_cv_func_strtold_use=yes
59668 else
59669 glibcxx_cv_func_strtold_use=no
59671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59672 ac_ext=c
59673 ac_cpp='$CPP $CPPFLAGS'
59674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59683 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59684 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59685 for ac_func in strtold
59686 do :
59687 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59688 if test "x$ac_cv_func_strtold" = x""yes; then :
59689 cat >>confdefs.h <<_ACEOF
59690 #define HAVE_STRTOLD 1
59691 _ACEOF
59694 done
59701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59702 $as_echo_n "checking for strtof declaration... " >&6; }
59703 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59704 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59705 $as_echo_n "(cached) " >&6
59706 else
59709 ac_ext=cpp
59710 ac_cpp='$CXXCPP $CPPFLAGS'
59711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59716 /* end confdefs.h. */
59717 #include <stdlib.h>
59719 main ()
59721 strtof(0, 0);
59723 return 0;
59725 _ACEOF
59726 if ac_fn_cxx_try_compile "$LINENO"; then :
59727 glibcxx_cv_func_strtof_use=yes
59728 else
59729 glibcxx_cv_func_strtof_use=no
59731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59732 ac_ext=c
59733 ac_cpp='$CPP $CPPFLAGS'
59734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59743 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59744 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59745 for ac_func in strtof
59746 do :
59747 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59748 if test "x$ac_cv_func_strtof" = x""yes; then :
59749 cat >>confdefs.h <<_ACEOF
59750 #define HAVE_STRTOF 1
59751 _ACEOF
59754 done
59761 CXXFLAGS="$ac_save_CXXFLAGS"
59763 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59767 # Check whether --enable-tls was given.
59768 if test "${enable_tls+set}" = set; then :
59769 enableval=$enable_tls;
59770 case "$enableval" in
59771 yes|no) ;;
59772 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59773 esac
59775 else
59776 enable_tls=yes
59780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59781 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59782 if test "${gcc_cv_have_tls+set}" = set; then :
59783 $as_echo_n "(cached) " >&6
59784 else
59786 if test "$cross_compiling" = yes; then :
59787 if test x$gcc_no_link = xyes; then
59788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59791 /* end confdefs.h. */
59792 __thread int a; int b; int main() { return a = b; }
59793 _ACEOF
59794 if ac_fn_c_try_link "$LINENO"; then :
59795 chktls_save_LDFLAGS="$LDFLAGS"
59796 case $host in
59797 *-*-linux*)
59798 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59800 esac
59801 chktls_save_CFLAGS="$CFLAGS"
59802 CFLAGS="-fPIC $CFLAGS"
59803 if test x$gcc_no_link = xyes; then
59804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59807 /* end confdefs.h. */
59808 int f() { return 0; }
59809 _ACEOF
59810 if ac_fn_c_try_link "$LINENO"; then :
59811 if test x$gcc_no_link = xyes; then
59812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59815 /* end confdefs.h. */
59816 __thread int a; int b; int f() { return a = b; }
59817 _ACEOF
59818 if ac_fn_c_try_link "$LINENO"; then :
59819 gcc_cv_have_tls=yes
59820 else
59821 gcc_cv_have_tls=no
59823 rm -f core conftest.err conftest.$ac_objext \
59824 conftest$ac_exeext conftest.$ac_ext
59825 else
59826 gcc_cv_have_tls=yes
59828 rm -f core conftest.err conftest.$ac_objext \
59829 conftest$ac_exeext conftest.$ac_ext
59830 CFLAGS="$chktls_save_CFLAGS"
59831 LDFLAGS="$chktls_save_LDFLAGS"
59832 else
59833 gcc_cv_have_tls=no
59835 rm -f core conftest.err conftest.$ac_objext \
59836 conftest$ac_exeext conftest.$ac_ext
59839 else
59840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59841 /* end confdefs.h. */
59842 __thread int a; int b; int main() { return a = b; }
59843 _ACEOF
59844 if ac_fn_c_try_run "$LINENO"; then :
59845 chktls_save_LDFLAGS="$LDFLAGS"
59846 LDFLAGS="-static $LDFLAGS"
59847 if test x$gcc_no_link = xyes; then
59848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59851 /* end confdefs.h. */
59852 int main() { return 0; }
59853 _ACEOF
59854 if ac_fn_c_try_link "$LINENO"; then :
59855 if test "$cross_compiling" = yes; then :
59856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59858 as_fn_error "cannot run test program while cross compiling
59859 See \`config.log' for more details." "$LINENO" 5; }
59860 else
59861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59862 /* end confdefs.h. */
59863 __thread int a; int b; int main() { return a = b; }
59864 _ACEOF
59865 if ac_fn_c_try_run "$LINENO"; then :
59866 gcc_cv_have_tls=yes
59867 else
59868 gcc_cv_have_tls=no
59870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59871 conftest.$ac_objext conftest.beam conftest.$ac_ext
59874 else
59875 gcc_cv_have_tls=yes
59877 rm -f core conftest.err conftest.$ac_objext \
59878 conftest$ac_exeext conftest.$ac_ext
59879 LDFLAGS="$chktls_save_LDFLAGS"
59880 if test $gcc_cv_have_tls = yes; then
59881 chktls_save_CFLAGS="$CFLAGS"
59882 thread_CFLAGS=failed
59883 for flag in '' '-pthread' '-lpthread'; do
59884 CFLAGS="$flag $chktls_save_CFLAGS"
59885 if test x$gcc_no_link = xyes; then
59886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59889 /* end confdefs.h. */
59890 #include <pthread.h>
59891 void *g(void *d) { return NULL; }
59893 main ()
59895 pthread_t t; pthread_create(&t,NULL,g,NULL);
59897 return 0;
59899 _ACEOF
59900 if ac_fn_c_try_link "$LINENO"; then :
59901 thread_CFLAGS="$flag"
59903 rm -f core conftest.err conftest.$ac_objext \
59904 conftest$ac_exeext conftest.$ac_ext
59905 if test "X$thread_CFLAGS" != Xfailed; then
59906 break
59908 done
59909 CFLAGS="$chktls_save_CFLAGS"
59910 if test "X$thread_CFLAGS" != Xfailed; then
59911 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59912 if test "$cross_compiling" = yes; then :
59913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59915 as_fn_error "cannot run test program while cross compiling
59916 See \`config.log' for more details." "$LINENO" 5; }
59917 else
59918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59919 /* end confdefs.h. */
59920 #include <pthread.h>
59921 __thread int a;
59922 static int *volatile a_in_other_thread;
59923 static void *
59924 thread_func (void *arg)
59926 a_in_other_thread = &a;
59927 return (void *)0;
59930 main ()
59932 pthread_t thread;
59933 void *thread_retval;
59934 int *volatile a_in_main_thread;
59935 a_in_main_thread = &a;
59936 if (pthread_create (&thread, (pthread_attr_t *)0,
59937 thread_func, (void *)0))
59938 return 0;
59939 if (pthread_join (thread, &thread_retval))
59940 return 0;
59941 return (a_in_other_thread == a_in_main_thread);
59943 return 0;
59945 _ACEOF
59946 if ac_fn_c_try_run "$LINENO"; then :
59947 gcc_cv_have_tls=yes
59948 else
59949 gcc_cv_have_tls=no
59951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59952 conftest.$ac_objext conftest.beam conftest.$ac_ext
59955 CFLAGS="$chktls_save_CFLAGS"
59958 else
59959 gcc_cv_have_tls=no
59961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59962 conftest.$ac_objext conftest.beam conftest.$ac_ext
59966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59967 $as_echo "$gcc_cv_have_tls" >&6; }
59968 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59970 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59973 for ac_func in __cxa_thread_atexit_impl
59974 do :
59975 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59976 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59977 cat >>confdefs.h <<_ACEOF
59978 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59979 _ACEOF
59982 done
59984 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59985 do :
59986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59988 eval as_val=\$$as_ac_var
59989 if test "x$as_val" = x""yes; then :
59990 cat >>confdefs.h <<_ACEOF
59991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59992 _ACEOF
59995 done
60002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60003 $as_echo_n "checking for iconv... " >&6; }
60004 if test "${am_cv_func_iconv+set}" = set; then :
60005 $as_echo_n "(cached) " >&6
60006 else
60008 am_cv_func_iconv="no, consider installing GNU libiconv"
60009 am_cv_lib_iconv=no
60010 am_save_CPPFLAGS="$CPPFLAGS"
60011 CPPFLAGS="$CPPFLAGS $INCICONV"
60012 if test x$gcc_no_link = xyes; then
60013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60016 /* end confdefs.h. */
60017 #include <stdlib.h>
60018 #include <iconv.h>
60020 main ()
60022 iconv_t cd = iconv_open("","");
60023 iconv(cd,NULL,NULL,NULL,NULL);
60024 iconv_close(cd);
60026 return 0;
60028 _ACEOF
60029 if ac_fn_c_try_link "$LINENO"; then :
60030 am_cv_func_iconv=yes
60032 rm -f core conftest.err conftest.$ac_objext \
60033 conftest$ac_exeext conftest.$ac_ext
60034 CPPFLAGS="$am_save_CPPFLAGS"
60036 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60037 for _libs in .libs _libs; do
60038 am_save_CPPFLAGS="$CPPFLAGS"
60039 am_save_LIBS="$LIBS"
60040 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60041 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60042 if test x$gcc_no_link = xyes; then
60043 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60046 /* end confdefs.h. */
60047 #include <stdlib.h>
60048 #include <iconv.h>
60050 main ()
60052 iconv_t cd = iconv_open("","");
60053 iconv(cd,NULL,NULL,NULL,NULL);
60054 iconv_close(cd);
60056 return 0;
60058 _ACEOF
60059 if ac_fn_c_try_link "$LINENO"; then :
60060 INCICONV="-I../libiconv/include"
60061 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60062 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60063 am_cv_lib_iconv=yes
60064 am_cv_func_iconv=yes
60066 rm -f core conftest.err conftest.$ac_objext \
60067 conftest$ac_exeext conftest.$ac_ext
60068 CPPFLAGS="$am_save_CPPFLAGS"
60069 LIBS="$am_save_LIBS"
60070 if test "$am_cv_func_iconv" = "yes"; then
60071 break
60073 done
60076 if test "$am_cv_func_iconv" != yes; then
60077 am_save_CPPFLAGS="$CPPFLAGS"
60078 am_save_LIBS="$LIBS"
60079 CPPFLAGS="$LIBS $INCICONV"
60080 LIBS="$LIBS $LIBICONV"
60081 if test x$gcc_no_link = xyes; then
60082 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60085 /* end confdefs.h. */
60086 #include <stdlib.h>
60087 #include <iconv.h>
60089 main ()
60091 iconv_t cd = iconv_open("","");
60092 iconv(cd,NULL,NULL,NULL,NULL);
60093 iconv_close(cd);
60095 return 0;
60097 _ACEOF
60098 if ac_fn_c_try_link "$LINENO"; then :
60099 am_cv_lib_iconv=yes
60100 am_cv_func_iconv=yes
60102 rm -f core conftest.err conftest.$ac_objext \
60103 conftest$ac_exeext conftest.$ac_ext
60104 CPPFLAGS="$am_save_CPPFLAGS"
60105 LIBS="$am_save_LIBS"
60109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60110 $as_echo "$am_cv_func_iconv" >&6; }
60111 if test "$am_cv_func_iconv" = yes; then
60113 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60116 if test "$am_cv_lib_iconv" = yes; then
60118 for element in $INCICONV; do
60119 haveit=
60120 for x in $CPPFLAGS; do
60122 acl_save_prefix="$prefix"
60123 prefix="$acl_final_prefix"
60124 acl_save_exec_prefix="$exec_prefix"
60125 exec_prefix="$acl_final_exec_prefix"
60126 eval x=\"$x\"
60127 exec_prefix="$acl_save_exec_prefix"
60128 prefix="$acl_save_prefix"
60130 if test "X$x" = "X$element"; then
60131 haveit=yes
60132 break
60134 done
60135 if test -z "$haveit"; then
60136 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60138 done
60140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60141 $as_echo_n "checking how to link with libiconv... " >&6; }
60142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60143 $as_echo "$LIBICONV" >&6; }
60144 else
60145 LIBICONV=
60146 LTLIBICONV=
60151 if test "$am_cv_func_iconv" = yes; then
60152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60153 $as_echo_n "checking for iconv declaration... " >&6; }
60154 if test "${am_cv_proto_iconv+set}" = set; then :
60155 $as_echo_n "(cached) " >&6
60156 else
60158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60159 /* end confdefs.h. */
60161 #include <stdlib.h>
60162 #include <iconv.h>
60163 extern
60164 #ifdef __cplusplus
60166 #endif
60167 #if defined(__STDC__) || defined(__cplusplus)
60168 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60169 #else
60170 size_t iconv();
60171 #endif
60174 main ()
60178 return 0;
60180 _ACEOF
60181 if ac_fn_c_try_compile "$LINENO"; then :
60182 am_cv_proto_iconv_arg1=""
60183 else
60184 am_cv_proto_iconv_arg1="const"
60186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60187 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);"
60190 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60192 }$am_cv_proto_iconv" >&5
60193 $as_echo "${ac_t:-
60194 }$am_cv_proto_iconv" >&6; }
60196 cat >>confdefs.h <<_ACEOF
60197 #define ICONV_CONST $am_cv_proto_iconv_arg1
60198 _ACEOF
60203 *-mingw32*)
60205 # If we're not using GNU ld, then there's no point in even trying these
60206 # tests. Check for that first. We should have already tested for gld
60207 # by now (in libtool), but require it now just to be safe...
60208 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60209 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60213 # The name set by libtool depends on the version of libtool. Shame on us
60214 # for depending on an impl detail, but c'est la vie. Older versions used
60215 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60216 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60217 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60218 # set (hence we're using an older libtool), then set it.
60219 if test x${with_gnu_ld+set} != xset; then
60220 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60221 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60222 with_gnu_ld=no
60223 else
60224 with_gnu_ld=$ac_cv_prog_gnu_ld
60228 # Start by getting the version number. I think the libtool test already
60229 # does some of this, but throws away the result.
60230 glibcxx_ld_is_gold=no
60231 if test x"$with_gnu_ld" = x"yes"; then
60232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60233 $as_echo_n "checking for ld version... " >&6; }
60235 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60236 glibcxx_ld_is_gold=yes
60238 ldver=`$LD --version 2>/dev/null |
60239 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'`
60241 glibcxx_gnu_ld_version=`echo $ldver | \
60242 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60244 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60247 # Set --gc-sections.
60248 glibcxx_have_gc_sections=no
60249 if test "$glibcxx_ld_is_gold" = "yes"; then
60250 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60251 glibcxx_have_gc_sections=yes
60253 else
60254 glibcxx_gcsections_min_ld=21602
60255 if test x"$with_gnu_ld" = x"yes" &&
60256 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60257 glibcxx_have_gc_sections=yes
60260 if test "$glibcxx_have_gc_sections" = "yes"; then
60261 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60262 # NB: This flag only works reliably after 2.16.1. Configure tests
60263 # for this are difficult, so hard wire a value that should work.
60265 ac_test_CFLAGS="${CFLAGS+set}"
60266 ac_save_CFLAGS="$CFLAGS"
60267 CFLAGS='-Wl,--gc-sections'
60269 # Check for -Wl,--gc-sections
60270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60271 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60272 if test x$gcc_no_link = xyes; then
60273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60276 /* end confdefs.h. */
60277 int one(void) { return 1; }
60278 int two(void) { return 2; }
60281 main ()
60283 two();
60285 return 0;
60287 _ACEOF
60288 if ac_fn_c_try_link "$LINENO"; then :
60289 ac_gcsections=yes
60290 else
60291 ac_gcsections=no
60293 rm -f core conftest.err conftest.$ac_objext \
60294 conftest$ac_exeext conftest.$ac_ext
60295 if test "$ac_gcsections" = "yes"; then
60296 rm -f conftest.c
60297 touch conftest.c
60298 if $CC -c conftest.c; then
60299 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60300 grep "Warning: gc-sections option ignored" > /dev/null; then
60301 ac_gcsections=no
60304 rm -f conftest.c conftest.o conftest
60306 if test "$ac_gcsections" = "yes"; then
60307 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60310 $as_echo "$ac_gcsections" >&6; }
60312 if test "$ac_test_CFLAGS" = set; then
60313 CFLAGS="$ac_save_CFLAGS"
60314 else
60315 # this is the suspicious part
60316 CFLAGS=''
60320 # Set -z,relro.
60321 # Note this is only for shared objects.
60322 ac_ld_relro=no
60323 if test x"$with_gnu_ld" = x"yes"; then
60324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60325 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60326 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60327 if test -n "$cxx_z_relo"; then
60328 OPT_LDFLAGS="-Wl,-z,relro"
60329 ac_ld_relro=yes
60331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60332 $as_echo "$ac_ld_relro" >&6; }
60335 # Set linker optimization flags.
60336 if test x"$with_gnu_ld" = x"yes"; then
60337 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60344 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60345 ac_save_CXXFLAGS="$CXXFLAGS"
60346 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60349 $as_echo_n "checking for sin in -lm... " >&6; }
60350 if test "${ac_cv_lib_m_sin+set}" = set; then :
60351 $as_echo_n "(cached) " >&6
60352 else
60353 ac_check_lib_save_LIBS=$LIBS
60354 LIBS="-lm $LIBS"
60355 if test x$gcc_no_link = xyes; then
60356 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60359 /* end confdefs.h. */
60361 /* Override any GCC internal prototype to avoid an error.
60362 Use char because int might match the return type of a GCC
60363 builtin and then its argument prototype would still apply. */
60364 #ifdef __cplusplus
60365 extern "C"
60366 #endif
60367 char sin ();
60369 main ()
60371 return sin ();
60373 return 0;
60375 _ACEOF
60376 if ac_fn_c_try_link "$LINENO"; then :
60377 ac_cv_lib_m_sin=yes
60378 else
60379 ac_cv_lib_m_sin=no
60381 rm -f core conftest.err conftest.$ac_objext \
60382 conftest$ac_exeext conftest.$ac_ext
60383 LIBS=$ac_check_lib_save_LIBS
60385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60386 $as_echo "$ac_cv_lib_m_sin" >&6; }
60387 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60388 libm="-lm"
60391 ac_save_LIBS="$LIBS"
60392 LIBS="$LIBS $libm"
60396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60397 $as_echo_n "checking for isinf declaration... " >&6; }
60398 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60399 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60400 $as_echo_n "(cached) " >&6
60401 else
60404 ac_ext=cpp
60405 ac_cpp='$CXXCPP $CPPFLAGS'
60406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60411 /* end confdefs.h. */
60412 #include <math.h>
60413 #ifdef HAVE_IEEEFP_H
60414 #include <ieeefp.h>
60415 #endif
60418 main ()
60420 isinf(0);
60422 return 0;
60424 _ACEOF
60425 if ac_fn_cxx_try_compile "$LINENO"; then :
60426 glibcxx_cv_func_isinf_use=yes
60427 else
60428 glibcxx_cv_func_isinf_use=no
60430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60431 ac_ext=c
60432 ac_cpp='$CPP $CPPFLAGS'
60433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60442 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60444 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60445 for ac_func in isinf
60446 do :
60447 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60448 if test "x$ac_cv_func_isinf" = x""yes; then :
60449 cat >>confdefs.h <<_ACEOF
60450 #define HAVE_ISINF 1
60451 _ACEOF
60454 done
60456 else
60458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60459 $as_echo_n "checking for _isinf declaration... " >&6; }
60460 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60461 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60462 $as_echo_n "(cached) " >&6
60463 else
60466 ac_ext=cpp
60467 ac_cpp='$CXXCPP $CPPFLAGS'
60468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60473 /* end confdefs.h. */
60474 #include <math.h>
60475 #ifdef HAVE_IEEEFP_H
60476 #include <ieeefp.h>
60477 #endif
60480 main ()
60482 _isinf(0);
60484 return 0;
60486 _ACEOF
60487 if ac_fn_cxx_try_compile "$LINENO"; then :
60488 glibcxx_cv_func__isinf_use=yes
60489 else
60490 glibcxx_cv_func__isinf_use=no
60492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60493 ac_ext=c
60494 ac_cpp='$CPP $CPPFLAGS'
60495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60504 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60506 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60507 for ac_func in _isinf
60508 do :
60509 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60510 if test "x$ac_cv_func__isinf" = x""yes; then :
60511 cat >>confdefs.h <<_ACEOF
60512 #define HAVE__ISINF 1
60513 _ACEOF
60516 done
60525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60526 $as_echo_n "checking for isnan declaration... " >&6; }
60527 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60528 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60529 $as_echo_n "(cached) " >&6
60530 else
60533 ac_ext=cpp
60534 ac_cpp='$CXXCPP $CPPFLAGS'
60535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60540 /* end confdefs.h. */
60541 #include <math.h>
60542 #ifdef HAVE_IEEEFP_H
60543 #include <ieeefp.h>
60544 #endif
60547 main ()
60549 isnan(0);
60551 return 0;
60553 _ACEOF
60554 if ac_fn_cxx_try_compile "$LINENO"; then :
60555 glibcxx_cv_func_isnan_use=yes
60556 else
60557 glibcxx_cv_func_isnan_use=no
60559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60560 ac_ext=c
60561 ac_cpp='$CPP $CPPFLAGS'
60562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60571 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60573 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60574 for ac_func in isnan
60575 do :
60576 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60577 if test "x$ac_cv_func_isnan" = x""yes; then :
60578 cat >>confdefs.h <<_ACEOF
60579 #define HAVE_ISNAN 1
60580 _ACEOF
60583 done
60585 else
60587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60588 $as_echo_n "checking for _isnan declaration... " >&6; }
60589 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60590 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60591 $as_echo_n "(cached) " >&6
60592 else
60595 ac_ext=cpp
60596 ac_cpp='$CXXCPP $CPPFLAGS'
60597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60602 /* end confdefs.h. */
60603 #include <math.h>
60604 #ifdef HAVE_IEEEFP_H
60605 #include <ieeefp.h>
60606 #endif
60609 main ()
60611 _isnan(0);
60613 return 0;
60615 _ACEOF
60616 if ac_fn_cxx_try_compile "$LINENO"; then :
60617 glibcxx_cv_func__isnan_use=yes
60618 else
60619 glibcxx_cv_func__isnan_use=no
60621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60622 ac_ext=c
60623 ac_cpp='$CPP $CPPFLAGS'
60624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60633 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60635 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60636 for ac_func in _isnan
60637 do :
60638 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60639 if test "x$ac_cv_func__isnan" = x""yes; then :
60640 cat >>confdefs.h <<_ACEOF
60641 #define HAVE__ISNAN 1
60642 _ACEOF
60645 done
60654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60655 $as_echo_n "checking for finite declaration... " >&6; }
60656 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60657 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60658 $as_echo_n "(cached) " >&6
60659 else
60662 ac_ext=cpp
60663 ac_cpp='$CXXCPP $CPPFLAGS'
60664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60669 /* end confdefs.h. */
60670 #include <math.h>
60671 #ifdef HAVE_IEEEFP_H
60672 #include <ieeefp.h>
60673 #endif
60676 main ()
60678 finite(0);
60680 return 0;
60682 _ACEOF
60683 if ac_fn_cxx_try_compile "$LINENO"; then :
60684 glibcxx_cv_func_finite_use=yes
60685 else
60686 glibcxx_cv_func_finite_use=no
60688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60689 ac_ext=c
60690 ac_cpp='$CPP $CPPFLAGS'
60691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60700 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60702 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60703 for ac_func in finite
60704 do :
60705 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60706 if test "x$ac_cv_func_finite" = x""yes; then :
60707 cat >>confdefs.h <<_ACEOF
60708 #define HAVE_FINITE 1
60709 _ACEOF
60712 done
60714 else
60716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60717 $as_echo_n "checking for _finite declaration... " >&6; }
60718 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60719 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60720 $as_echo_n "(cached) " >&6
60721 else
60724 ac_ext=cpp
60725 ac_cpp='$CXXCPP $CPPFLAGS'
60726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60731 /* end confdefs.h. */
60732 #include <math.h>
60733 #ifdef HAVE_IEEEFP_H
60734 #include <ieeefp.h>
60735 #endif
60738 main ()
60740 _finite(0);
60742 return 0;
60744 _ACEOF
60745 if ac_fn_cxx_try_compile "$LINENO"; then :
60746 glibcxx_cv_func__finite_use=yes
60747 else
60748 glibcxx_cv_func__finite_use=no
60750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60751 ac_ext=c
60752 ac_cpp='$CPP $CPPFLAGS'
60753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60762 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60764 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60765 for ac_func in _finite
60766 do :
60767 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60768 if test "x$ac_cv_func__finite" = x""yes; then :
60769 cat >>confdefs.h <<_ACEOF
60770 #define HAVE__FINITE 1
60771 _ACEOF
60774 done
60783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60784 $as_echo_n "checking for sincos declaration... " >&6; }
60785 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60786 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60787 $as_echo_n "(cached) " >&6
60788 else
60791 ac_ext=cpp
60792 ac_cpp='$CXXCPP $CPPFLAGS'
60793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60798 /* end confdefs.h. */
60799 #include <math.h>
60801 main ()
60803 sincos(0, 0, 0);
60805 return 0;
60807 _ACEOF
60808 if ac_fn_cxx_try_compile "$LINENO"; then :
60809 glibcxx_cv_func_sincos_use=yes
60810 else
60811 glibcxx_cv_func_sincos_use=no
60813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60814 ac_ext=c
60815 ac_cpp='$CPP $CPPFLAGS'
60816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60825 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60827 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60828 for ac_func in sincos
60829 do :
60830 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60831 if test "x$ac_cv_func_sincos" = x""yes; then :
60832 cat >>confdefs.h <<_ACEOF
60833 #define HAVE_SINCOS 1
60834 _ACEOF
60837 done
60839 else
60841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60842 $as_echo_n "checking for _sincos declaration... " >&6; }
60843 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60844 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60845 $as_echo_n "(cached) " >&6
60846 else
60849 ac_ext=cpp
60850 ac_cpp='$CXXCPP $CPPFLAGS'
60851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60856 /* end confdefs.h. */
60857 #include <math.h>
60859 main ()
60861 _sincos(0, 0, 0);
60863 return 0;
60865 _ACEOF
60866 if ac_fn_cxx_try_compile "$LINENO"; then :
60867 glibcxx_cv_func__sincos_use=yes
60868 else
60869 glibcxx_cv_func__sincos_use=no
60871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60872 ac_ext=c
60873 ac_cpp='$CPP $CPPFLAGS'
60874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60883 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60885 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60886 for ac_func in _sincos
60887 do :
60888 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60889 if test "x$ac_cv_func__sincos" = x""yes; then :
60890 cat >>confdefs.h <<_ACEOF
60891 #define HAVE__SINCOS 1
60892 _ACEOF
60895 done
60904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60905 $as_echo_n "checking for fpclass declaration... " >&6; }
60906 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60907 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60908 $as_echo_n "(cached) " >&6
60909 else
60912 ac_ext=cpp
60913 ac_cpp='$CXXCPP $CPPFLAGS'
60914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60919 /* end confdefs.h. */
60920 #include <math.h>
60921 #ifdef HAVE_IEEEFP_H
60922 #include <ieeefp.h>
60923 #endif
60926 main ()
60928 fpclass(0);
60930 return 0;
60932 _ACEOF
60933 if ac_fn_cxx_try_compile "$LINENO"; then :
60934 glibcxx_cv_func_fpclass_use=yes
60935 else
60936 glibcxx_cv_func_fpclass_use=no
60938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60939 ac_ext=c
60940 ac_cpp='$CPP $CPPFLAGS'
60941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60950 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60952 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60953 for ac_func in fpclass
60954 do :
60955 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60956 if test "x$ac_cv_func_fpclass" = x""yes; then :
60957 cat >>confdefs.h <<_ACEOF
60958 #define HAVE_FPCLASS 1
60959 _ACEOF
60962 done
60964 else
60966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60967 $as_echo_n "checking for _fpclass declaration... " >&6; }
60968 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60969 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60970 $as_echo_n "(cached) " >&6
60971 else
60974 ac_ext=cpp
60975 ac_cpp='$CXXCPP $CPPFLAGS'
60976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60981 /* end confdefs.h. */
60982 #include <math.h>
60983 #ifdef HAVE_IEEEFP_H
60984 #include <ieeefp.h>
60985 #endif
60988 main ()
60990 _fpclass(0);
60992 return 0;
60994 _ACEOF
60995 if ac_fn_cxx_try_compile "$LINENO"; then :
60996 glibcxx_cv_func__fpclass_use=yes
60997 else
60998 glibcxx_cv_func__fpclass_use=no
61000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61001 ac_ext=c
61002 ac_cpp='$CPP $CPPFLAGS'
61003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61012 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61014 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61015 for ac_func in _fpclass
61016 do :
61017 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61018 if test "x$ac_cv_func__fpclass" = x""yes; then :
61019 cat >>confdefs.h <<_ACEOF
61020 #define HAVE__FPCLASS 1
61021 _ACEOF
61024 done
61033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61034 $as_echo_n "checking for qfpclass declaration... " >&6; }
61035 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61036 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61037 $as_echo_n "(cached) " >&6
61038 else
61041 ac_ext=cpp
61042 ac_cpp='$CXXCPP $CPPFLAGS'
61043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61048 /* end confdefs.h. */
61049 #include <math.h>
61050 #ifdef HAVE_IEEEFP_H
61051 #include <ieeefp.h>
61052 #endif
61055 main ()
61057 qfpclass(0);
61059 return 0;
61061 _ACEOF
61062 if ac_fn_cxx_try_compile "$LINENO"; then :
61063 glibcxx_cv_func_qfpclass_use=yes
61064 else
61065 glibcxx_cv_func_qfpclass_use=no
61067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61068 ac_ext=c
61069 ac_cpp='$CPP $CPPFLAGS'
61070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61079 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61081 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61082 for ac_func in qfpclass
61083 do :
61084 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61085 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61086 cat >>confdefs.h <<_ACEOF
61087 #define HAVE_QFPCLASS 1
61088 _ACEOF
61091 done
61093 else
61095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61096 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61097 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61098 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61099 $as_echo_n "(cached) " >&6
61100 else
61103 ac_ext=cpp
61104 ac_cpp='$CXXCPP $CPPFLAGS'
61105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61110 /* end confdefs.h. */
61111 #include <math.h>
61112 #ifdef HAVE_IEEEFP_H
61113 #include <ieeefp.h>
61114 #endif
61117 main ()
61119 _qfpclass(0);
61121 return 0;
61123 _ACEOF
61124 if ac_fn_cxx_try_compile "$LINENO"; then :
61125 glibcxx_cv_func__qfpclass_use=yes
61126 else
61127 glibcxx_cv_func__qfpclass_use=no
61129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61130 ac_ext=c
61131 ac_cpp='$CPP $CPPFLAGS'
61132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61141 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61143 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61144 for ac_func in _qfpclass
61145 do :
61146 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61147 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61148 cat >>confdefs.h <<_ACEOF
61149 #define HAVE__QFPCLASS 1
61150 _ACEOF
61153 done
61162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61163 $as_echo_n "checking for hypot declaration... " >&6; }
61164 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61165 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61166 $as_echo_n "(cached) " >&6
61167 else
61170 ac_ext=cpp
61171 ac_cpp='$CXXCPP $CPPFLAGS'
61172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61177 /* end confdefs.h. */
61178 #include <math.h>
61180 main ()
61182 hypot(0, 0);
61184 return 0;
61186 _ACEOF
61187 if ac_fn_cxx_try_compile "$LINENO"; then :
61188 glibcxx_cv_func_hypot_use=yes
61189 else
61190 glibcxx_cv_func_hypot_use=no
61192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61193 ac_ext=c
61194 ac_cpp='$CPP $CPPFLAGS'
61195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61204 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61206 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61207 for ac_func in hypot
61208 do :
61209 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61210 if test "x$ac_cv_func_hypot" = x""yes; then :
61211 cat >>confdefs.h <<_ACEOF
61212 #define HAVE_HYPOT 1
61213 _ACEOF
61216 done
61218 else
61220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61221 $as_echo_n "checking for _hypot declaration... " >&6; }
61222 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61223 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61224 $as_echo_n "(cached) " >&6
61225 else
61228 ac_ext=cpp
61229 ac_cpp='$CXXCPP $CPPFLAGS'
61230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61235 /* end confdefs.h. */
61236 #include <math.h>
61238 main ()
61240 _hypot(0, 0);
61242 return 0;
61244 _ACEOF
61245 if ac_fn_cxx_try_compile "$LINENO"; then :
61246 glibcxx_cv_func__hypot_use=yes
61247 else
61248 glibcxx_cv_func__hypot_use=no
61250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61251 ac_ext=c
61252 ac_cpp='$CPP $CPPFLAGS'
61253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61262 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61264 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61265 for ac_func in _hypot
61266 do :
61267 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61268 if test "x$ac_cv_func__hypot" = x""yes; then :
61269 cat >>confdefs.h <<_ACEOF
61270 #define HAVE__HYPOT 1
61271 _ACEOF
61274 done
61283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61284 $as_echo_n "checking for float trig functions... " >&6; }
61285 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61286 $as_echo_n "(cached) " >&6
61287 else
61290 ac_ext=cpp
61291 ac_cpp='$CXXCPP $CPPFLAGS'
61292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61297 /* end confdefs.h. */
61298 #include <math.h>
61300 main ()
61302 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61304 return 0;
61306 _ACEOF
61307 if ac_fn_cxx_try_compile "$LINENO"; then :
61308 glibcxx_cv_func_float_trig_use=yes
61309 else
61310 glibcxx_cv_func_float_trig_use=no
61312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61313 ac_ext=c
61314 ac_cpp='$CPP $CPPFLAGS'
61315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61322 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61323 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61324 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61325 do :
61326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61328 eval as_val=\$$as_ac_var
61329 if test "x$as_val" = x""yes; then :
61330 cat >>confdefs.h <<_ACEOF
61331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61332 _ACEOF
61335 done
61337 else
61338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61339 $as_echo_n "checking for _float trig functions... " >&6; }
61340 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61341 $as_echo_n "(cached) " >&6
61342 else
61345 ac_ext=cpp
61346 ac_cpp='$CXXCPP $CPPFLAGS'
61347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61352 /* end confdefs.h. */
61353 #include <math.h>
61355 main ()
61357 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61359 return 0;
61361 _ACEOF
61362 if ac_fn_cxx_try_compile "$LINENO"; then :
61363 glibcxx_cv_func__float_trig_use=yes
61364 else
61365 glibcxx_cv_func__float_trig_use=no
61367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61368 ac_ext=c
61369 ac_cpp='$CPP $CPPFLAGS'
61370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61377 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61378 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61379 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61380 do :
61381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61383 eval as_val=\$$as_ac_var
61384 if test "x$as_val" = x""yes; then :
61385 cat >>confdefs.h <<_ACEOF
61386 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61387 _ACEOF
61390 done
61399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61400 $as_echo_n "checking for float round functions... " >&6; }
61401 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61402 $as_echo_n "(cached) " >&6
61403 else
61406 ac_ext=cpp
61407 ac_cpp='$CXXCPP $CPPFLAGS'
61408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61413 /* end confdefs.h. */
61414 #include <math.h>
61416 main ()
61418 ceilf (0); floorf (0);
61420 return 0;
61422 _ACEOF
61423 if ac_fn_cxx_try_compile "$LINENO"; then :
61424 glibcxx_cv_func_float_round_use=yes
61425 else
61426 glibcxx_cv_func_float_round_use=no
61428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61429 ac_ext=c
61430 ac_cpp='$CPP $CPPFLAGS'
61431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61438 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61439 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61440 for ac_func in ceilf floorf
61441 do :
61442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61444 eval as_val=\$$as_ac_var
61445 if test "x$as_val" = x""yes; then :
61446 cat >>confdefs.h <<_ACEOF
61447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61448 _ACEOF
61451 done
61453 else
61454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61455 $as_echo_n "checking for _float round functions... " >&6; }
61456 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61457 $as_echo_n "(cached) " >&6
61458 else
61461 ac_ext=cpp
61462 ac_cpp='$CXXCPP $CPPFLAGS'
61463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61468 /* end confdefs.h. */
61469 #include <math.h>
61471 main ()
61473 _ceilf (0); _floorf (0);
61475 return 0;
61477 _ACEOF
61478 if ac_fn_cxx_try_compile "$LINENO"; then :
61479 glibcxx_cv_func__float_round_use=yes
61480 else
61481 glibcxx_cv_func__float_round_use=no
61483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61484 ac_ext=c
61485 ac_cpp='$CPP $CPPFLAGS'
61486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61493 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61494 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61495 for ac_func in _ceilf _floorf
61496 do :
61497 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61498 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61499 eval as_val=\$$as_ac_var
61500 if test "x$as_val" = x""yes; then :
61501 cat >>confdefs.h <<_ACEOF
61502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61503 _ACEOF
61506 done
61516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61517 $as_echo_n "checking for expf declaration... " >&6; }
61518 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61519 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61520 $as_echo_n "(cached) " >&6
61521 else
61524 ac_ext=cpp
61525 ac_cpp='$CXXCPP $CPPFLAGS'
61526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61531 /* end confdefs.h. */
61532 #include <math.h>
61533 #ifdef HAVE_IEEEFP_H
61534 #include <ieeefp.h>
61535 #endif
61538 main ()
61540 expf(0);
61542 return 0;
61544 _ACEOF
61545 if ac_fn_cxx_try_compile "$LINENO"; then :
61546 glibcxx_cv_func_expf_use=yes
61547 else
61548 glibcxx_cv_func_expf_use=no
61550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61551 ac_ext=c
61552 ac_cpp='$CPP $CPPFLAGS'
61553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61562 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61564 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61565 for ac_func in expf
61566 do :
61567 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61568 if test "x$ac_cv_func_expf" = x""yes; then :
61569 cat >>confdefs.h <<_ACEOF
61570 #define HAVE_EXPF 1
61571 _ACEOF
61574 done
61576 else
61578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61579 $as_echo_n "checking for _expf declaration... " >&6; }
61580 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61581 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61582 $as_echo_n "(cached) " >&6
61583 else
61586 ac_ext=cpp
61587 ac_cpp='$CXXCPP $CPPFLAGS'
61588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61593 /* end confdefs.h. */
61594 #include <math.h>
61595 #ifdef HAVE_IEEEFP_H
61596 #include <ieeefp.h>
61597 #endif
61600 main ()
61602 _expf(0);
61604 return 0;
61606 _ACEOF
61607 if ac_fn_cxx_try_compile "$LINENO"; then :
61608 glibcxx_cv_func__expf_use=yes
61609 else
61610 glibcxx_cv_func__expf_use=no
61612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61613 ac_ext=c
61614 ac_cpp='$CPP $CPPFLAGS'
61615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61624 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61626 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61627 for ac_func in _expf
61628 do :
61629 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61630 if test "x$ac_cv_func__expf" = x""yes; then :
61631 cat >>confdefs.h <<_ACEOF
61632 #define HAVE__EXPF 1
61633 _ACEOF
61636 done
61645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61646 $as_echo_n "checking for isnanf declaration... " >&6; }
61647 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61648 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61649 $as_echo_n "(cached) " >&6
61650 else
61653 ac_ext=cpp
61654 ac_cpp='$CXXCPP $CPPFLAGS'
61655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61660 /* end confdefs.h. */
61661 #include <math.h>
61662 #ifdef HAVE_IEEEFP_H
61663 #include <ieeefp.h>
61664 #endif
61667 main ()
61669 isnanf(0);
61671 return 0;
61673 _ACEOF
61674 if ac_fn_cxx_try_compile "$LINENO"; then :
61675 glibcxx_cv_func_isnanf_use=yes
61676 else
61677 glibcxx_cv_func_isnanf_use=no
61679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61680 ac_ext=c
61681 ac_cpp='$CPP $CPPFLAGS'
61682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61691 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61693 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61694 for ac_func in isnanf
61695 do :
61696 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61697 if test "x$ac_cv_func_isnanf" = x""yes; then :
61698 cat >>confdefs.h <<_ACEOF
61699 #define HAVE_ISNANF 1
61700 _ACEOF
61703 done
61705 else
61707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61708 $as_echo_n "checking for _isnanf declaration... " >&6; }
61709 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61710 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61711 $as_echo_n "(cached) " >&6
61712 else
61715 ac_ext=cpp
61716 ac_cpp='$CXXCPP $CPPFLAGS'
61717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61722 /* end confdefs.h. */
61723 #include <math.h>
61724 #ifdef HAVE_IEEEFP_H
61725 #include <ieeefp.h>
61726 #endif
61729 main ()
61731 _isnanf(0);
61733 return 0;
61735 _ACEOF
61736 if ac_fn_cxx_try_compile "$LINENO"; then :
61737 glibcxx_cv_func__isnanf_use=yes
61738 else
61739 glibcxx_cv_func__isnanf_use=no
61741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61742 ac_ext=c
61743 ac_cpp='$CPP $CPPFLAGS'
61744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61753 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61755 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61756 for ac_func in _isnanf
61757 do :
61758 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61759 if test "x$ac_cv_func__isnanf" = x""yes; then :
61760 cat >>confdefs.h <<_ACEOF
61761 #define HAVE__ISNANF 1
61762 _ACEOF
61765 done
61774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61775 $as_echo_n "checking for isinff declaration... " >&6; }
61776 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61777 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61778 $as_echo_n "(cached) " >&6
61779 else
61782 ac_ext=cpp
61783 ac_cpp='$CXXCPP $CPPFLAGS'
61784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61789 /* end confdefs.h. */
61790 #include <math.h>
61791 #ifdef HAVE_IEEEFP_H
61792 #include <ieeefp.h>
61793 #endif
61796 main ()
61798 isinff(0);
61800 return 0;
61802 _ACEOF
61803 if ac_fn_cxx_try_compile "$LINENO"; then :
61804 glibcxx_cv_func_isinff_use=yes
61805 else
61806 glibcxx_cv_func_isinff_use=no
61808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61809 ac_ext=c
61810 ac_cpp='$CPP $CPPFLAGS'
61811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61820 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61822 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61823 for ac_func in isinff
61824 do :
61825 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61826 if test "x$ac_cv_func_isinff" = x""yes; then :
61827 cat >>confdefs.h <<_ACEOF
61828 #define HAVE_ISINFF 1
61829 _ACEOF
61832 done
61834 else
61836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61837 $as_echo_n "checking for _isinff declaration... " >&6; }
61838 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61839 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61840 $as_echo_n "(cached) " >&6
61841 else
61844 ac_ext=cpp
61845 ac_cpp='$CXXCPP $CPPFLAGS'
61846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61851 /* end confdefs.h. */
61852 #include <math.h>
61853 #ifdef HAVE_IEEEFP_H
61854 #include <ieeefp.h>
61855 #endif
61858 main ()
61860 _isinff(0);
61862 return 0;
61864 _ACEOF
61865 if ac_fn_cxx_try_compile "$LINENO"; then :
61866 glibcxx_cv_func__isinff_use=yes
61867 else
61868 glibcxx_cv_func__isinff_use=no
61870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61871 ac_ext=c
61872 ac_cpp='$CPP $CPPFLAGS'
61873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61882 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61884 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61885 for ac_func in _isinff
61886 do :
61887 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61888 if test "x$ac_cv_func__isinff" = x""yes; then :
61889 cat >>confdefs.h <<_ACEOF
61890 #define HAVE__ISINFF 1
61891 _ACEOF
61894 done
61903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61904 $as_echo_n "checking for atan2f declaration... " >&6; }
61905 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61906 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61907 $as_echo_n "(cached) " >&6
61908 else
61911 ac_ext=cpp
61912 ac_cpp='$CXXCPP $CPPFLAGS'
61913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61918 /* end confdefs.h. */
61919 #include <math.h>
61921 main ()
61923 atan2f(0, 0);
61925 return 0;
61927 _ACEOF
61928 if ac_fn_cxx_try_compile "$LINENO"; then :
61929 glibcxx_cv_func_atan2f_use=yes
61930 else
61931 glibcxx_cv_func_atan2f_use=no
61933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61934 ac_ext=c
61935 ac_cpp='$CPP $CPPFLAGS'
61936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61945 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61947 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61948 for ac_func in atan2f
61949 do :
61950 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61951 if test "x$ac_cv_func_atan2f" = x""yes; then :
61952 cat >>confdefs.h <<_ACEOF
61953 #define HAVE_ATAN2F 1
61954 _ACEOF
61957 done
61959 else
61961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61962 $as_echo_n "checking for _atan2f declaration... " >&6; }
61963 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61964 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61965 $as_echo_n "(cached) " >&6
61966 else
61969 ac_ext=cpp
61970 ac_cpp='$CXXCPP $CPPFLAGS'
61971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61976 /* end confdefs.h. */
61977 #include <math.h>
61979 main ()
61981 _atan2f(0, 0);
61983 return 0;
61985 _ACEOF
61986 if ac_fn_cxx_try_compile "$LINENO"; then :
61987 glibcxx_cv_func__atan2f_use=yes
61988 else
61989 glibcxx_cv_func__atan2f_use=no
61991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61992 ac_ext=c
61993 ac_cpp='$CPP $CPPFLAGS'
61994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62003 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62005 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62006 for ac_func in _atan2f
62007 do :
62008 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62009 if test "x$ac_cv_func__atan2f" = x""yes; then :
62010 cat >>confdefs.h <<_ACEOF
62011 #define HAVE__ATAN2F 1
62012 _ACEOF
62015 done
62024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62025 $as_echo_n "checking for fabsf declaration... " >&6; }
62026 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62027 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
62028 $as_echo_n "(cached) " >&6
62029 else
62032 ac_ext=cpp
62033 ac_cpp='$CXXCPP $CPPFLAGS'
62034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62039 /* end confdefs.h. */
62040 #include <math.h>
62041 #ifdef HAVE_IEEEFP_H
62042 #include <ieeefp.h>
62043 #endif
62046 main ()
62048 fabsf(0);
62050 return 0;
62052 _ACEOF
62053 if ac_fn_cxx_try_compile "$LINENO"; then :
62054 glibcxx_cv_func_fabsf_use=yes
62055 else
62056 glibcxx_cv_func_fabsf_use=no
62058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62059 ac_ext=c
62060 ac_cpp='$CPP $CPPFLAGS'
62061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62070 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62072 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62073 for ac_func in fabsf
62074 do :
62075 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62076 if test "x$ac_cv_func_fabsf" = x""yes; then :
62077 cat >>confdefs.h <<_ACEOF
62078 #define HAVE_FABSF 1
62079 _ACEOF
62082 done
62084 else
62086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62087 $as_echo_n "checking for _fabsf declaration... " >&6; }
62088 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62089 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62090 $as_echo_n "(cached) " >&6
62091 else
62094 ac_ext=cpp
62095 ac_cpp='$CXXCPP $CPPFLAGS'
62096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62101 /* end confdefs.h. */
62102 #include <math.h>
62103 #ifdef HAVE_IEEEFP_H
62104 #include <ieeefp.h>
62105 #endif
62108 main ()
62110 _fabsf(0);
62112 return 0;
62114 _ACEOF
62115 if ac_fn_cxx_try_compile "$LINENO"; then :
62116 glibcxx_cv_func__fabsf_use=yes
62117 else
62118 glibcxx_cv_func__fabsf_use=no
62120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62121 ac_ext=c
62122 ac_cpp='$CPP $CPPFLAGS'
62123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62132 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62134 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62135 for ac_func in _fabsf
62136 do :
62137 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62138 if test "x$ac_cv_func__fabsf" = x""yes; then :
62139 cat >>confdefs.h <<_ACEOF
62140 #define HAVE__FABSF 1
62141 _ACEOF
62144 done
62153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62154 $as_echo_n "checking for fmodf declaration... " >&6; }
62155 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62156 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62157 $as_echo_n "(cached) " >&6
62158 else
62161 ac_ext=cpp
62162 ac_cpp='$CXXCPP $CPPFLAGS'
62163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62168 /* end confdefs.h. */
62169 #include <math.h>
62171 main ()
62173 fmodf(0, 0);
62175 return 0;
62177 _ACEOF
62178 if ac_fn_cxx_try_compile "$LINENO"; then :
62179 glibcxx_cv_func_fmodf_use=yes
62180 else
62181 glibcxx_cv_func_fmodf_use=no
62183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62184 ac_ext=c
62185 ac_cpp='$CPP $CPPFLAGS'
62186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62195 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62197 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62198 for ac_func in fmodf
62199 do :
62200 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62201 if test "x$ac_cv_func_fmodf" = x""yes; then :
62202 cat >>confdefs.h <<_ACEOF
62203 #define HAVE_FMODF 1
62204 _ACEOF
62207 done
62209 else
62211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62212 $as_echo_n "checking for _fmodf declaration... " >&6; }
62213 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62214 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62215 $as_echo_n "(cached) " >&6
62216 else
62219 ac_ext=cpp
62220 ac_cpp='$CXXCPP $CPPFLAGS'
62221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62226 /* end confdefs.h. */
62227 #include <math.h>
62229 main ()
62231 _fmodf(0, 0);
62233 return 0;
62235 _ACEOF
62236 if ac_fn_cxx_try_compile "$LINENO"; then :
62237 glibcxx_cv_func__fmodf_use=yes
62238 else
62239 glibcxx_cv_func__fmodf_use=no
62241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62242 ac_ext=c
62243 ac_cpp='$CPP $CPPFLAGS'
62244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62253 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62255 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62256 for ac_func in _fmodf
62257 do :
62258 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62259 if test "x$ac_cv_func__fmodf" = x""yes; then :
62260 cat >>confdefs.h <<_ACEOF
62261 #define HAVE__FMODF 1
62262 _ACEOF
62265 done
62274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62275 $as_echo_n "checking for frexpf declaration... " >&6; }
62276 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62277 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62278 $as_echo_n "(cached) " >&6
62279 else
62282 ac_ext=cpp
62283 ac_cpp='$CXXCPP $CPPFLAGS'
62284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62289 /* end confdefs.h. */
62290 #include <math.h>
62292 main ()
62294 frexpf(0, 0);
62296 return 0;
62298 _ACEOF
62299 if ac_fn_cxx_try_compile "$LINENO"; then :
62300 glibcxx_cv_func_frexpf_use=yes
62301 else
62302 glibcxx_cv_func_frexpf_use=no
62304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62305 ac_ext=c
62306 ac_cpp='$CPP $CPPFLAGS'
62307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62316 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62318 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62319 for ac_func in frexpf
62320 do :
62321 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62322 if test "x$ac_cv_func_frexpf" = x""yes; then :
62323 cat >>confdefs.h <<_ACEOF
62324 #define HAVE_FREXPF 1
62325 _ACEOF
62328 done
62330 else
62332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62333 $as_echo_n "checking for _frexpf declaration... " >&6; }
62334 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62335 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62336 $as_echo_n "(cached) " >&6
62337 else
62340 ac_ext=cpp
62341 ac_cpp='$CXXCPP $CPPFLAGS'
62342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62347 /* end confdefs.h. */
62348 #include <math.h>
62350 main ()
62352 _frexpf(0, 0);
62354 return 0;
62356 _ACEOF
62357 if ac_fn_cxx_try_compile "$LINENO"; then :
62358 glibcxx_cv_func__frexpf_use=yes
62359 else
62360 glibcxx_cv_func__frexpf_use=no
62362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62363 ac_ext=c
62364 ac_cpp='$CPP $CPPFLAGS'
62365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62374 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62376 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62377 for ac_func in _frexpf
62378 do :
62379 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62380 if test "x$ac_cv_func__frexpf" = x""yes; then :
62381 cat >>confdefs.h <<_ACEOF
62382 #define HAVE__FREXPF 1
62383 _ACEOF
62386 done
62395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62396 $as_echo_n "checking for hypotf declaration... " >&6; }
62397 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62398 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62399 $as_echo_n "(cached) " >&6
62400 else
62403 ac_ext=cpp
62404 ac_cpp='$CXXCPP $CPPFLAGS'
62405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62410 /* end confdefs.h. */
62411 #include <math.h>
62413 main ()
62415 hypotf(0, 0);
62417 return 0;
62419 _ACEOF
62420 if ac_fn_cxx_try_compile "$LINENO"; then :
62421 glibcxx_cv_func_hypotf_use=yes
62422 else
62423 glibcxx_cv_func_hypotf_use=no
62425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62426 ac_ext=c
62427 ac_cpp='$CPP $CPPFLAGS'
62428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62437 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62439 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62440 for ac_func in hypotf
62441 do :
62442 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62443 if test "x$ac_cv_func_hypotf" = x""yes; then :
62444 cat >>confdefs.h <<_ACEOF
62445 #define HAVE_HYPOTF 1
62446 _ACEOF
62449 done
62451 else
62453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62454 $as_echo_n "checking for _hypotf declaration... " >&6; }
62455 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62456 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62457 $as_echo_n "(cached) " >&6
62458 else
62461 ac_ext=cpp
62462 ac_cpp='$CXXCPP $CPPFLAGS'
62463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62468 /* end confdefs.h. */
62469 #include <math.h>
62471 main ()
62473 _hypotf(0, 0);
62475 return 0;
62477 _ACEOF
62478 if ac_fn_cxx_try_compile "$LINENO"; then :
62479 glibcxx_cv_func__hypotf_use=yes
62480 else
62481 glibcxx_cv_func__hypotf_use=no
62483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62484 ac_ext=c
62485 ac_cpp='$CPP $CPPFLAGS'
62486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62495 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62497 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62498 for ac_func in _hypotf
62499 do :
62500 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62501 if test "x$ac_cv_func__hypotf" = x""yes; then :
62502 cat >>confdefs.h <<_ACEOF
62503 #define HAVE__HYPOTF 1
62504 _ACEOF
62507 done
62516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62517 $as_echo_n "checking for ldexpf declaration... " >&6; }
62518 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62519 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62520 $as_echo_n "(cached) " >&6
62521 else
62524 ac_ext=cpp
62525 ac_cpp='$CXXCPP $CPPFLAGS'
62526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62531 /* end confdefs.h. */
62532 #include <math.h>
62534 main ()
62536 ldexpf(0, 0);
62538 return 0;
62540 _ACEOF
62541 if ac_fn_cxx_try_compile "$LINENO"; then :
62542 glibcxx_cv_func_ldexpf_use=yes
62543 else
62544 glibcxx_cv_func_ldexpf_use=no
62546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62547 ac_ext=c
62548 ac_cpp='$CPP $CPPFLAGS'
62549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62558 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62560 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62561 for ac_func in ldexpf
62562 do :
62563 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62564 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62565 cat >>confdefs.h <<_ACEOF
62566 #define HAVE_LDEXPF 1
62567 _ACEOF
62570 done
62572 else
62574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62575 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62576 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62577 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62578 $as_echo_n "(cached) " >&6
62579 else
62582 ac_ext=cpp
62583 ac_cpp='$CXXCPP $CPPFLAGS'
62584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62589 /* end confdefs.h. */
62590 #include <math.h>
62592 main ()
62594 _ldexpf(0, 0);
62596 return 0;
62598 _ACEOF
62599 if ac_fn_cxx_try_compile "$LINENO"; then :
62600 glibcxx_cv_func__ldexpf_use=yes
62601 else
62602 glibcxx_cv_func__ldexpf_use=no
62604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62605 ac_ext=c
62606 ac_cpp='$CPP $CPPFLAGS'
62607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62616 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62618 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62619 for ac_func in _ldexpf
62620 do :
62621 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62622 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62623 cat >>confdefs.h <<_ACEOF
62624 #define HAVE__LDEXPF 1
62625 _ACEOF
62628 done
62637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62638 $as_echo_n "checking for logf declaration... " >&6; }
62639 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62640 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62641 $as_echo_n "(cached) " >&6
62642 else
62645 ac_ext=cpp
62646 ac_cpp='$CXXCPP $CPPFLAGS'
62647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62652 /* end confdefs.h. */
62653 #include <math.h>
62654 #ifdef HAVE_IEEEFP_H
62655 #include <ieeefp.h>
62656 #endif
62659 main ()
62661 logf(0);
62663 return 0;
62665 _ACEOF
62666 if ac_fn_cxx_try_compile "$LINENO"; then :
62667 glibcxx_cv_func_logf_use=yes
62668 else
62669 glibcxx_cv_func_logf_use=no
62671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62672 ac_ext=c
62673 ac_cpp='$CPP $CPPFLAGS'
62674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62683 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62685 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62686 for ac_func in logf
62687 do :
62688 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62689 if test "x$ac_cv_func_logf" = x""yes; then :
62690 cat >>confdefs.h <<_ACEOF
62691 #define HAVE_LOGF 1
62692 _ACEOF
62695 done
62697 else
62699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62700 $as_echo_n "checking for _logf declaration... " >&6; }
62701 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62702 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62703 $as_echo_n "(cached) " >&6
62704 else
62707 ac_ext=cpp
62708 ac_cpp='$CXXCPP $CPPFLAGS'
62709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62714 /* end confdefs.h. */
62715 #include <math.h>
62716 #ifdef HAVE_IEEEFP_H
62717 #include <ieeefp.h>
62718 #endif
62721 main ()
62723 _logf(0);
62725 return 0;
62727 _ACEOF
62728 if ac_fn_cxx_try_compile "$LINENO"; then :
62729 glibcxx_cv_func__logf_use=yes
62730 else
62731 glibcxx_cv_func__logf_use=no
62733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62734 ac_ext=c
62735 ac_cpp='$CPP $CPPFLAGS'
62736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62745 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62747 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62748 for ac_func in _logf
62749 do :
62750 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62751 if test "x$ac_cv_func__logf" = x""yes; then :
62752 cat >>confdefs.h <<_ACEOF
62753 #define HAVE__LOGF 1
62754 _ACEOF
62757 done
62766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62767 $as_echo_n "checking for log10f declaration... " >&6; }
62768 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62769 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62770 $as_echo_n "(cached) " >&6
62771 else
62774 ac_ext=cpp
62775 ac_cpp='$CXXCPP $CPPFLAGS'
62776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62781 /* end confdefs.h. */
62782 #include <math.h>
62783 #ifdef HAVE_IEEEFP_H
62784 #include <ieeefp.h>
62785 #endif
62788 main ()
62790 log10f(0);
62792 return 0;
62794 _ACEOF
62795 if ac_fn_cxx_try_compile "$LINENO"; then :
62796 glibcxx_cv_func_log10f_use=yes
62797 else
62798 glibcxx_cv_func_log10f_use=no
62800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62801 ac_ext=c
62802 ac_cpp='$CPP $CPPFLAGS'
62803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62812 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62814 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62815 for ac_func in log10f
62816 do :
62817 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62818 if test "x$ac_cv_func_log10f" = x""yes; then :
62819 cat >>confdefs.h <<_ACEOF
62820 #define HAVE_LOG10F 1
62821 _ACEOF
62824 done
62826 else
62828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62829 $as_echo_n "checking for _log10f declaration... " >&6; }
62830 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62831 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62832 $as_echo_n "(cached) " >&6
62833 else
62836 ac_ext=cpp
62837 ac_cpp='$CXXCPP $CPPFLAGS'
62838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62843 /* end confdefs.h. */
62844 #include <math.h>
62845 #ifdef HAVE_IEEEFP_H
62846 #include <ieeefp.h>
62847 #endif
62850 main ()
62852 _log10f(0);
62854 return 0;
62856 _ACEOF
62857 if ac_fn_cxx_try_compile "$LINENO"; then :
62858 glibcxx_cv_func__log10f_use=yes
62859 else
62860 glibcxx_cv_func__log10f_use=no
62862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62863 ac_ext=c
62864 ac_cpp='$CPP $CPPFLAGS'
62865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62874 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62876 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62877 for ac_func in _log10f
62878 do :
62879 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62880 if test "x$ac_cv_func__log10f" = x""yes; then :
62881 cat >>confdefs.h <<_ACEOF
62882 #define HAVE__LOG10F 1
62883 _ACEOF
62886 done
62895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62896 $as_echo_n "checking for modff declaration... " >&6; }
62897 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62898 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62899 $as_echo_n "(cached) " >&6
62900 else
62903 ac_ext=cpp
62904 ac_cpp='$CXXCPP $CPPFLAGS'
62905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62910 /* end confdefs.h. */
62911 #include <math.h>
62913 main ()
62915 modff(0, 0);
62917 return 0;
62919 _ACEOF
62920 if ac_fn_cxx_try_compile "$LINENO"; then :
62921 glibcxx_cv_func_modff_use=yes
62922 else
62923 glibcxx_cv_func_modff_use=no
62925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62926 ac_ext=c
62927 ac_cpp='$CPP $CPPFLAGS'
62928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62937 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62939 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62940 for ac_func in modff
62941 do :
62942 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62943 if test "x$ac_cv_func_modff" = x""yes; then :
62944 cat >>confdefs.h <<_ACEOF
62945 #define HAVE_MODFF 1
62946 _ACEOF
62949 done
62951 else
62953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62954 $as_echo_n "checking for _modff declaration... " >&6; }
62955 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62956 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62957 $as_echo_n "(cached) " >&6
62958 else
62961 ac_ext=cpp
62962 ac_cpp='$CXXCPP $CPPFLAGS'
62963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62968 /* end confdefs.h. */
62969 #include <math.h>
62971 main ()
62973 _modff(0, 0);
62975 return 0;
62977 _ACEOF
62978 if ac_fn_cxx_try_compile "$LINENO"; then :
62979 glibcxx_cv_func__modff_use=yes
62980 else
62981 glibcxx_cv_func__modff_use=no
62983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62984 ac_ext=c
62985 ac_cpp='$CPP $CPPFLAGS'
62986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62995 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62997 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62998 for ac_func in _modff
62999 do :
63000 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63001 if test "x$ac_cv_func__modff" = x""yes; then :
63002 cat >>confdefs.h <<_ACEOF
63003 #define HAVE__MODFF 1
63004 _ACEOF
63007 done
63016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63017 $as_echo_n "checking for modf declaration... " >&6; }
63018 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63019 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
63020 $as_echo_n "(cached) " >&6
63021 else
63024 ac_ext=cpp
63025 ac_cpp='$CXXCPP $CPPFLAGS'
63026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63031 /* end confdefs.h. */
63032 #include <math.h>
63034 main ()
63036 modf(0, 0);
63038 return 0;
63040 _ACEOF
63041 if ac_fn_cxx_try_compile "$LINENO"; then :
63042 glibcxx_cv_func_modf_use=yes
63043 else
63044 glibcxx_cv_func_modf_use=no
63046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63047 ac_ext=c
63048 ac_cpp='$CPP $CPPFLAGS'
63049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63058 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63060 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63061 for ac_func in modf
63062 do :
63063 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63064 if test "x$ac_cv_func_modf" = x""yes; then :
63065 cat >>confdefs.h <<_ACEOF
63066 #define HAVE_MODF 1
63067 _ACEOF
63070 done
63072 else
63074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63075 $as_echo_n "checking for _modf declaration... " >&6; }
63076 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63077 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63078 $as_echo_n "(cached) " >&6
63079 else
63082 ac_ext=cpp
63083 ac_cpp='$CXXCPP $CPPFLAGS'
63084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63089 /* end confdefs.h. */
63090 #include <math.h>
63092 main ()
63094 _modf(0, 0);
63096 return 0;
63098 _ACEOF
63099 if ac_fn_cxx_try_compile "$LINENO"; then :
63100 glibcxx_cv_func__modf_use=yes
63101 else
63102 glibcxx_cv_func__modf_use=no
63104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63105 ac_ext=c
63106 ac_cpp='$CPP $CPPFLAGS'
63107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63116 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63118 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63119 for ac_func in _modf
63120 do :
63121 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63122 if test "x$ac_cv_func__modf" = x""yes; then :
63123 cat >>confdefs.h <<_ACEOF
63124 #define HAVE__MODF 1
63125 _ACEOF
63128 done
63137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63138 $as_echo_n "checking for powf declaration... " >&6; }
63139 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63140 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63141 $as_echo_n "(cached) " >&6
63142 else
63145 ac_ext=cpp
63146 ac_cpp='$CXXCPP $CPPFLAGS'
63147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63152 /* end confdefs.h. */
63153 #include <math.h>
63155 main ()
63157 powf(0, 0);
63159 return 0;
63161 _ACEOF
63162 if ac_fn_cxx_try_compile "$LINENO"; then :
63163 glibcxx_cv_func_powf_use=yes
63164 else
63165 glibcxx_cv_func_powf_use=no
63167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63168 ac_ext=c
63169 ac_cpp='$CPP $CPPFLAGS'
63170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63179 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63181 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63182 for ac_func in powf
63183 do :
63184 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63185 if test "x$ac_cv_func_powf" = x""yes; then :
63186 cat >>confdefs.h <<_ACEOF
63187 #define HAVE_POWF 1
63188 _ACEOF
63191 done
63193 else
63195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63196 $as_echo_n "checking for _powf declaration... " >&6; }
63197 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63198 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63199 $as_echo_n "(cached) " >&6
63200 else
63203 ac_ext=cpp
63204 ac_cpp='$CXXCPP $CPPFLAGS'
63205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63210 /* end confdefs.h. */
63211 #include <math.h>
63213 main ()
63215 _powf(0, 0);
63217 return 0;
63219 _ACEOF
63220 if ac_fn_cxx_try_compile "$LINENO"; then :
63221 glibcxx_cv_func__powf_use=yes
63222 else
63223 glibcxx_cv_func__powf_use=no
63225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63226 ac_ext=c
63227 ac_cpp='$CPP $CPPFLAGS'
63228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63237 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63239 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63240 for ac_func in _powf
63241 do :
63242 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63243 if test "x$ac_cv_func__powf" = x""yes; then :
63244 cat >>confdefs.h <<_ACEOF
63245 #define HAVE__POWF 1
63246 _ACEOF
63249 done
63258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63259 $as_echo_n "checking for sqrtf declaration... " >&6; }
63260 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63261 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63262 $as_echo_n "(cached) " >&6
63263 else
63266 ac_ext=cpp
63267 ac_cpp='$CXXCPP $CPPFLAGS'
63268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63273 /* end confdefs.h. */
63274 #include <math.h>
63275 #ifdef HAVE_IEEEFP_H
63276 #include <ieeefp.h>
63277 #endif
63280 main ()
63282 sqrtf(0);
63284 return 0;
63286 _ACEOF
63287 if ac_fn_cxx_try_compile "$LINENO"; then :
63288 glibcxx_cv_func_sqrtf_use=yes
63289 else
63290 glibcxx_cv_func_sqrtf_use=no
63292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63293 ac_ext=c
63294 ac_cpp='$CPP $CPPFLAGS'
63295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63304 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63306 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63307 for ac_func in sqrtf
63308 do :
63309 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63310 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63311 cat >>confdefs.h <<_ACEOF
63312 #define HAVE_SQRTF 1
63313 _ACEOF
63316 done
63318 else
63320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63321 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63322 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63323 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63324 $as_echo_n "(cached) " >&6
63325 else
63328 ac_ext=cpp
63329 ac_cpp='$CXXCPP $CPPFLAGS'
63330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63335 /* end confdefs.h. */
63336 #include <math.h>
63337 #ifdef HAVE_IEEEFP_H
63338 #include <ieeefp.h>
63339 #endif
63342 main ()
63344 _sqrtf(0);
63346 return 0;
63348 _ACEOF
63349 if ac_fn_cxx_try_compile "$LINENO"; then :
63350 glibcxx_cv_func__sqrtf_use=yes
63351 else
63352 glibcxx_cv_func__sqrtf_use=no
63354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63355 ac_ext=c
63356 ac_cpp='$CPP $CPPFLAGS'
63357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63366 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63368 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63369 for ac_func in _sqrtf
63370 do :
63371 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63372 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63373 cat >>confdefs.h <<_ACEOF
63374 #define HAVE__SQRTF 1
63375 _ACEOF
63378 done
63387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63388 $as_echo_n "checking for sincosf declaration... " >&6; }
63389 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63390 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63391 $as_echo_n "(cached) " >&6
63392 else
63395 ac_ext=cpp
63396 ac_cpp='$CXXCPP $CPPFLAGS'
63397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63402 /* end confdefs.h. */
63403 #include <math.h>
63405 main ()
63407 sincosf(0, 0, 0);
63409 return 0;
63411 _ACEOF
63412 if ac_fn_cxx_try_compile "$LINENO"; then :
63413 glibcxx_cv_func_sincosf_use=yes
63414 else
63415 glibcxx_cv_func_sincosf_use=no
63417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63418 ac_ext=c
63419 ac_cpp='$CPP $CPPFLAGS'
63420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63429 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63431 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63432 for ac_func in sincosf
63433 do :
63434 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63435 if test "x$ac_cv_func_sincosf" = x""yes; then :
63436 cat >>confdefs.h <<_ACEOF
63437 #define HAVE_SINCOSF 1
63438 _ACEOF
63441 done
63443 else
63445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63446 $as_echo_n "checking for _sincosf declaration... " >&6; }
63447 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63448 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63449 $as_echo_n "(cached) " >&6
63450 else
63453 ac_ext=cpp
63454 ac_cpp='$CXXCPP $CPPFLAGS'
63455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63460 /* end confdefs.h. */
63461 #include <math.h>
63463 main ()
63465 _sincosf(0, 0, 0);
63467 return 0;
63469 _ACEOF
63470 if ac_fn_cxx_try_compile "$LINENO"; then :
63471 glibcxx_cv_func__sincosf_use=yes
63472 else
63473 glibcxx_cv_func__sincosf_use=no
63475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63476 ac_ext=c
63477 ac_cpp='$CPP $CPPFLAGS'
63478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63487 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63489 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63490 for ac_func in _sincosf
63491 do :
63492 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63493 if test "x$ac_cv_func__sincosf" = x""yes; then :
63494 cat >>confdefs.h <<_ACEOF
63495 #define HAVE__SINCOSF 1
63496 _ACEOF
63499 done
63508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63509 $as_echo_n "checking for finitef declaration... " >&6; }
63510 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63511 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63512 $as_echo_n "(cached) " >&6
63513 else
63516 ac_ext=cpp
63517 ac_cpp='$CXXCPP $CPPFLAGS'
63518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63523 /* end confdefs.h. */
63524 #include <math.h>
63525 #ifdef HAVE_IEEEFP_H
63526 #include <ieeefp.h>
63527 #endif
63530 main ()
63532 finitef(0);
63534 return 0;
63536 _ACEOF
63537 if ac_fn_cxx_try_compile "$LINENO"; then :
63538 glibcxx_cv_func_finitef_use=yes
63539 else
63540 glibcxx_cv_func_finitef_use=no
63542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63543 ac_ext=c
63544 ac_cpp='$CPP $CPPFLAGS'
63545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63554 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63556 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63557 for ac_func in finitef
63558 do :
63559 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63560 if test "x$ac_cv_func_finitef" = x""yes; then :
63561 cat >>confdefs.h <<_ACEOF
63562 #define HAVE_FINITEF 1
63563 _ACEOF
63566 done
63568 else
63570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63571 $as_echo_n "checking for _finitef declaration... " >&6; }
63572 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63573 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63574 $as_echo_n "(cached) " >&6
63575 else
63578 ac_ext=cpp
63579 ac_cpp='$CXXCPP $CPPFLAGS'
63580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63585 /* end confdefs.h. */
63586 #include <math.h>
63587 #ifdef HAVE_IEEEFP_H
63588 #include <ieeefp.h>
63589 #endif
63592 main ()
63594 _finitef(0);
63596 return 0;
63598 _ACEOF
63599 if ac_fn_cxx_try_compile "$LINENO"; then :
63600 glibcxx_cv_func__finitef_use=yes
63601 else
63602 glibcxx_cv_func__finitef_use=no
63604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63605 ac_ext=c
63606 ac_cpp='$CPP $CPPFLAGS'
63607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63616 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63618 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63619 for ac_func in _finitef
63620 do :
63621 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63622 if test "x$ac_cv_func__finitef" = x""yes; then :
63623 cat >>confdefs.h <<_ACEOF
63624 #define HAVE__FINITEF 1
63625 _ACEOF
63628 done
63637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63638 $as_echo_n "checking for long double trig functions... " >&6; }
63639 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63640 $as_echo_n "(cached) " >&6
63641 else
63644 ac_ext=cpp
63645 ac_cpp='$CXXCPP $CPPFLAGS'
63646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63651 /* end confdefs.h. */
63652 #include <math.h>
63654 main ()
63656 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63658 return 0;
63660 _ACEOF
63661 if ac_fn_cxx_try_compile "$LINENO"; then :
63662 glibcxx_cv_func_long_double_trig_use=yes
63663 else
63664 glibcxx_cv_func_long_double_trig_use=no
63666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63667 ac_ext=c
63668 ac_cpp='$CPP $CPPFLAGS'
63669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63676 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63677 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63678 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63679 do :
63680 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63681 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63682 eval as_val=\$$as_ac_var
63683 if test "x$as_val" = x""yes; then :
63684 cat >>confdefs.h <<_ACEOF
63685 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63686 _ACEOF
63689 done
63691 else
63692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63693 $as_echo_n "checking for _long double trig functions... " >&6; }
63694 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63695 $as_echo_n "(cached) " >&6
63696 else
63699 ac_ext=cpp
63700 ac_cpp='$CXXCPP $CPPFLAGS'
63701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63706 /* end confdefs.h. */
63707 #include <math.h>
63709 main ()
63711 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63713 return 0;
63715 _ACEOF
63716 if ac_fn_cxx_try_compile "$LINENO"; then :
63717 glibcxx_cv_func__long_double_trig_use=yes
63718 else
63719 glibcxx_cv_func__long_double_trig_use=no
63721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63722 ac_ext=c
63723 ac_cpp='$CPP $CPPFLAGS'
63724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63731 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63732 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63733 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63734 do :
63735 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63736 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63737 eval as_val=\$$as_ac_var
63738 if test "x$as_val" = x""yes; then :
63739 cat >>confdefs.h <<_ACEOF
63740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63741 _ACEOF
63744 done
63753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63754 $as_echo_n "checking for long double round functions... " >&6; }
63755 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63756 $as_echo_n "(cached) " >&6
63757 else
63760 ac_ext=cpp
63761 ac_cpp='$CXXCPP $CPPFLAGS'
63762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63767 /* end confdefs.h. */
63768 #include <math.h>
63770 main ()
63772 ceill (0); floorl (0);
63774 return 0;
63776 _ACEOF
63777 if ac_fn_cxx_try_compile "$LINENO"; then :
63778 glibcxx_cv_func_long_double_round_use=yes
63779 else
63780 glibcxx_cv_func_long_double_round_use=no
63782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63783 ac_ext=c
63784 ac_cpp='$CPP $CPPFLAGS'
63785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63792 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63793 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63794 for ac_func in ceill floorl
63795 do :
63796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63798 eval as_val=\$$as_ac_var
63799 if test "x$as_val" = x""yes; then :
63800 cat >>confdefs.h <<_ACEOF
63801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63802 _ACEOF
63805 done
63807 else
63808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63809 $as_echo_n "checking for _long double round functions... " >&6; }
63810 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63811 $as_echo_n "(cached) " >&6
63812 else
63815 ac_ext=cpp
63816 ac_cpp='$CXXCPP $CPPFLAGS'
63817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63822 /* end confdefs.h. */
63823 #include <math.h>
63825 main ()
63827 _ceill (0); _floorl (0);
63829 return 0;
63831 _ACEOF
63832 if ac_fn_cxx_try_compile "$LINENO"; then :
63833 glibcxx_cv_func__long_double_round_use=yes
63834 else
63835 glibcxx_cv_func__long_double_round_use=no
63837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63838 ac_ext=c
63839 ac_cpp='$CPP $CPPFLAGS'
63840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63847 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63848 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63849 for ac_func in _ceill _floorl
63850 do :
63851 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63852 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63853 eval as_val=\$$as_ac_var
63854 if test "x$as_val" = x""yes; then :
63855 cat >>confdefs.h <<_ACEOF
63856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63857 _ACEOF
63860 done
63870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63871 $as_echo_n "checking for isnanl declaration... " >&6; }
63872 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63873 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63874 $as_echo_n "(cached) " >&6
63875 else
63878 ac_ext=cpp
63879 ac_cpp='$CXXCPP $CPPFLAGS'
63880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63885 /* end confdefs.h. */
63886 #include <math.h>
63887 #ifdef HAVE_IEEEFP_H
63888 #include <ieeefp.h>
63889 #endif
63892 main ()
63894 isnanl(0);
63896 return 0;
63898 _ACEOF
63899 if ac_fn_cxx_try_compile "$LINENO"; then :
63900 glibcxx_cv_func_isnanl_use=yes
63901 else
63902 glibcxx_cv_func_isnanl_use=no
63904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63905 ac_ext=c
63906 ac_cpp='$CPP $CPPFLAGS'
63907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63916 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63918 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63919 for ac_func in isnanl
63920 do :
63921 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63922 if test "x$ac_cv_func_isnanl" = x""yes; then :
63923 cat >>confdefs.h <<_ACEOF
63924 #define HAVE_ISNANL 1
63925 _ACEOF
63928 done
63930 else
63932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63933 $as_echo_n "checking for _isnanl declaration... " >&6; }
63934 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63935 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63936 $as_echo_n "(cached) " >&6
63937 else
63940 ac_ext=cpp
63941 ac_cpp='$CXXCPP $CPPFLAGS'
63942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63947 /* end confdefs.h. */
63948 #include <math.h>
63949 #ifdef HAVE_IEEEFP_H
63950 #include <ieeefp.h>
63951 #endif
63954 main ()
63956 _isnanl(0);
63958 return 0;
63960 _ACEOF
63961 if ac_fn_cxx_try_compile "$LINENO"; then :
63962 glibcxx_cv_func__isnanl_use=yes
63963 else
63964 glibcxx_cv_func__isnanl_use=no
63966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63967 ac_ext=c
63968 ac_cpp='$CPP $CPPFLAGS'
63969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63978 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63980 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63981 for ac_func in _isnanl
63982 do :
63983 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63984 if test "x$ac_cv_func__isnanl" = x""yes; then :
63985 cat >>confdefs.h <<_ACEOF
63986 #define HAVE__ISNANL 1
63987 _ACEOF
63990 done
63999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64000 $as_echo_n "checking for isinfl declaration... " >&6; }
64001 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64002 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
64003 $as_echo_n "(cached) " >&6
64004 else
64007 ac_ext=cpp
64008 ac_cpp='$CXXCPP $CPPFLAGS'
64009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64014 /* end confdefs.h. */
64015 #include <math.h>
64016 #ifdef HAVE_IEEEFP_H
64017 #include <ieeefp.h>
64018 #endif
64021 main ()
64023 isinfl(0);
64025 return 0;
64027 _ACEOF
64028 if ac_fn_cxx_try_compile "$LINENO"; then :
64029 glibcxx_cv_func_isinfl_use=yes
64030 else
64031 glibcxx_cv_func_isinfl_use=no
64033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64034 ac_ext=c
64035 ac_cpp='$CPP $CPPFLAGS'
64036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64045 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64047 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64048 for ac_func in isinfl
64049 do :
64050 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64051 if test "x$ac_cv_func_isinfl" = x""yes; then :
64052 cat >>confdefs.h <<_ACEOF
64053 #define HAVE_ISINFL 1
64054 _ACEOF
64057 done
64059 else
64061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64062 $as_echo_n "checking for _isinfl declaration... " >&6; }
64063 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64064 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64065 $as_echo_n "(cached) " >&6
64066 else
64069 ac_ext=cpp
64070 ac_cpp='$CXXCPP $CPPFLAGS'
64071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64076 /* end confdefs.h. */
64077 #include <math.h>
64078 #ifdef HAVE_IEEEFP_H
64079 #include <ieeefp.h>
64080 #endif
64083 main ()
64085 _isinfl(0);
64087 return 0;
64089 _ACEOF
64090 if ac_fn_cxx_try_compile "$LINENO"; then :
64091 glibcxx_cv_func__isinfl_use=yes
64092 else
64093 glibcxx_cv_func__isinfl_use=no
64095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64096 ac_ext=c
64097 ac_cpp='$CPP $CPPFLAGS'
64098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64107 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64109 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64110 for ac_func in _isinfl
64111 do :
64112 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64113 if test "x$ac_cv_func__isinfl" = x""yes; then :
64114 cat >>confdefs.h <<_ACEOF
64115 #define HAVE__ISINFL 1
64116 _ACEOF
64119 done
64128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64129 $as_echo_n "checking for atan2l declaration... " >&6; }
64130 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64131 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64132 $as_echo_n "(cached) " >&6
64133 else
64136 ac_ext=cpp
64137 ac_cpp='$CXXCPP $CPPFLAGS'
64138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64143 /* end confdefs.h. */
64144 #include <math.h>
64146 main ()
64148 atan2l(0, 0);
64150 return 0;
64152 _ACEOF
64153 if ac_fn_cxx_try_compile "$LINENO"; then :
64154 glibcxx_cv_func_atan2l_use=yes
64155 else
64156 glibcxx_cv_func_atan2l_use=no
64158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64159 ac_ext=c
64160 ac_cpp='$CPP $CPPFLAGS'
64161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64170 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64172 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64173 for ac_func in atan2l
64174 do :
64175 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64176 if test "x$ac_cv_func_atan2l" = x""yes; then :
64177 cat >>confdefs.h <<_ACEOF
64178 #define HAVE_ATAN2L 1
64179 _ACEOF
64182 done
64184 else
64186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64187 $as_echo_n "checking for _atan2l declaration... " >&6; }
64188 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64189 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64190 $as_echo_n "(cached) " >&6
64191 else
64194 ac_ext=cpp
64195 ac_cpp='$CXXCPP $CPPFLAGS'
64196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64201 /* end confdefs.h. */
64202 #include <math.h>
64204 main ()
64206 _atan2l(0, 0);
64208 return 0;
64210 _ACEOF
64211 if ac_fn_cxx_try_compile "$LINENO"; then :
64212 glibcxx_cv_func__atan2l_use=yes
64213 else
64214 glibcxx_cv_func__atan2l_use=no
64216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64217 ac_ext=c
64218 ac_cpp='$CPP $CPPFLAGS'
64219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64228 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64230 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64231 for ac_func in _atan2l
64232 do :
64233 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64234 if test "x$ac_cv_func__atan2l" = x""yes; then :
64235 cat >>confdefs.h <<_ACEOF
64236 #define HAVE__ATAN2L 1
64237 _ACEOF
64240 done
64249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64250 $as_echo_n "checking for expl declaration... " >&6; }
64251 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64252 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64253 $as_echo_n "(cached) " >&6
64254 else
64257 ac_ext=cpp
64258 ac_cpp='$CXXCPP $CPPFLAGS'
64259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64264 /* end confdefs.h. */
64265 #include <math.h>
64266 #ifdef HAVE_IEEEFP_H
64267 #include <ieeefp.h>
64268 #endif
64271 main ()
64273 expl(0);
64275 return 0;
64277 _ACEOF
64278 if ac_fn_cxx_try_compile "$LINENO"; then :
64279 glibcxx_cv_func_expl_use=yes
64280 else
64281 glibcxx_cv_func_expl_use=no
64283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64284 ac_ext=c
64285 ac_cpp='$CPP $CPPFLAGS'
64286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64295 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64297 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64298 for ac_func in expl
64299 do :
64300 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64301 if test "x$ac_cv_func_expl" = x""yes; then :
64302 cat >>confdefs.h <<_ACEOF
64303 #define HAVE_EXPL 1
64304 _ACEOF
64307 done
64309 else
64311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64312 $as_echo_n "checking for _expl declaration... " >&6; }
64313 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64314 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64315 $as_echo_n "(cached) " >&6
64316 else
64319 ac_ext=cpp
64320 ac_cpp='$CXXCPP $CPPFLAGS'
64321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64326 /* end confdefs.h. */
64327 #include <math.h>
64328 #ifdef HAVE_IEEEFP_H
64329 #include <ieeefp.h>
64330 #endif
64333 main ()
64335 _expl(0);
64337 return 0;
64339 _ACEOF
64340 if ac_fn_cxx_try_compile "$LINENO"; then :
64341 glibcxx_cv_func__expl_use=yes
64342 else
64343 glibcxx_cv_func__expl_use=no
64345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64346 ac_ext=c
64347 ac_cpp='$CPP $CPPFLAGS'
64348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64357 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64359 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64360 for ac_func in _expl
64361 do :
64362 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64363 if test "x$ac_cv_func__expl" = x""yes; then :
64364 cat >>confdefs.h <<_ACEOF
64365 #define HAVE__EXPL 1
64366 _ACEOF
64369 done
64378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64379 $as_echo_n "checking for fabsl declaration... " >&6; }
64380 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64381 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64382 $as_echo_n "(cached) " >&6
64383 else
64386 ac_ext=cpp
64387 ac_cpp='$CXXCPP $CPPFLAGS'
64388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64393 /* end confdefs.h. */
64394 #include <math.h>
64395 #ifdef HAVE_IEEEFP_H
64396 #include <ieeefp.h>
64397 #endif
64400 main ()
64402 fabsl(0);
64404 return 0;
64406 _ACEOF
64407 if ac_fn_cxx_try_compile "$LINENO"; then :
64408 glibcxx_cv_func_fabsl_use=yes
64409 else
64410 glibcxx_cv_func_fabsl_use=no
64412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64413 ac_ext=c
64414 ac_cpp='$CPP $CPPFLAGS'
64415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64424 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64426 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64427 for ac_func in fabsl
64428 do :
64429 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64430 if test "x$ac_cv_func_fabsl" = x""yes; then :
64431 cat >>confdefs.h <<_ACEOF
64432 #define HAVE_FABSL 1
64433 _ACEOF
64436 done
64438 else
64440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64441 $as_echo_n "checking for _fabsl declaration... " >&6; }
64442 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64443 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64444 $as_echo_n "(cached) " >&6
64445 else
64448 ac_ext=cpp
64449 ac_cpp='$CXXCPP $CPPFLAGS'
64450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64455 /* end confdefs.h. */
64456 #include <math.h>
64457 #ifdef HAVE_IEEEFP_H
64458 #include <ieeefp.h>
64459 #endif
64462 main ()
64464 _fabsl(0);
64466 return 0;
64468 _ACEOF
64469 if ac_fn_cxx_try_compile "$LINENO"; then :
64470 glibcxx_cv_func__fabsl_use=yes
64471 else
64472 glibcxx_cv_func__fabsl_use=no
64474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64475 ac_ext=c
64476 ac_cpp='$CPP $CPPFLAGS'
64477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64486 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64488 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64489 for ac_func in _fabsl
64490 do :
64491 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64492 if test "x$ac_cv_func__fabsl" = x""yes; then :
64493 cat >>confdefs.h <<_ACEOF
64494 #define HAVE__FABSL 1
64495 _ACEOF
64498 done
64507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64508 $as_echo_n "checking for fmodl declaration... " >&6; }
64509 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64510 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64511 $as_echo_n "(cached) " >&6
64512 else
64515 ac_ext=cpp
64516 ac_cpp='$CXXCPP $CPPFLAGS'
64517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64522 /* end confdefs.h. */
64523 #include <math.h>
64525 main ()
64527 fmodl(0, 0);
64529 return 0;
64531 _ACEOF
64532 if ac_fn_cxx_try_compile "$LINENO"; then :
64533 glibcxx_cv_func_fmodl_use=yes
64534 else
64535 glibcxx_cv_func_fmodl_use=no
64537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64538 ac_ext=c
64539 ac_cpp='$CPP $CPPFLAGS'
64540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64549 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64551 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64552 for ac_func in fmodl
64553 do :
64554 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64555 if test "x$ac_cv_func_fmodl" = x""yes; then :
64556 cat >>confdefs.h <<_ACEOF
64557 #define HAVE_FMODL 1
64558 _ACEOF
64561 done
64563 else
64565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64566 $as_echo_n "checking for _fmodl declaration... " >&6; }
64567 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64568 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64569 $as_echo_n "(cached) " >&6
64570 else
64573 ac_ext=cpp
64574 ac_cpp='$CXXCPP $CPPFLAGS'
64575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64580 /* end confdefs.h. */
64581 #include <math.h>
64583 main ()
64585 _fmodl(0, 0);
64587 return 0;
64589 _ACEOF
64590 if ac_fn_cxx_try_compile "$LINENO"; then :
64591 glibcxx_cv_func__fmodl_use=yes
64592 else
64593 glibcxx_cv_func__fmodl_use=no
64595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64596 ac_ext=c
64597 ac_cpp='$CPP $CPPFLAGS'
64598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64607 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64609 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64610 for ac_func in _fmodl
64611 do :
64612 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64613 if test "x$ac_cv_func__fmodl" = x""yes; then :
64614 cat >>confdefs.h <<_ACEOF
64615 #define HAVE__FMODL 1
64616 _ACEOF
64619 done
64628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64629 $as_echo_n "checking for frexpl declaration... " >&6; }
64630 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64631 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64632 $as_echo_n "(cached) " >&6
64633 else
64636 ac_ext=cpp
64637 ac_cpp='$CXXCPP $CPPFLAGS'
64638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64643 /* end confdefs.h. */
64644 #include <math.h>
64646 main ()
64648 frexpl(0, 0);
64650 return 0;
64652 _ACEOF
64653 if ac_fn_cxx_try_compile "$LINENO"; then :
64654 glibcxx_cv_func_frexpl_use=yes
64655 else
64656 glibcxx_cv_func_frexpl_use=no
64658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64659 ac_ext=c
64660 ac_cpp='$CPP $CPPFLAGS'
64661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64670 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64672 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64673 for ac_func in frexpl
64674 do :
64675 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64676 if test "x$ac_cv_func_frexpl" = x""yes; then :
64677 cat >>confdefs.h <<_ACEOF
64678 #define HAVE_FREXPL 1
64679 _ACEOF
64682 done
64684 else
64686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64687 $as_echo_n "checking for _frexpl declaration... " >&6; }
64688 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64689 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64690 $as_echo_n "(cached) " >&6
64691 else
64694 ac_ext=cpp
64695 ac_cpp='$CXXCPP $CPPFLAGS'
64696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64701 /* end confdefs.h. */
64702 #include <math.h>
64704 main ()
64706 _frexpl(0, 0);
64708 return 0;
64710 _ACEOF
64711 if ac_fn_cxx_try_compile "$LINENO"; then :
64712 glibcxx_cv_func__frexpl_use=yes
64713 else
64714 glibcxx_cv_func__frexpl_use=no
64716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64717 ac_ext=c
64718 ac_cpp='$CPP $CPPFLAGS'
64719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64728 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64730 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64731 for ac_func in _frexpl
64732 do :
64733 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64734 if test "x$ac_cv_func__frexpl" = x""yes; then :
64735 cat >>confdefs.h <<_ACEOF
64736 #define HAVE__FREXPL 1
64737 _ACEOF
64740 done
64749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64750 $as_echo_n "checking for hypotl declaration... " >&6; }
64751 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64752 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64753 $as_echo_n "(cached) " >&6
64754 else
64757 ac_ext=cpp
64758 ac_cpp='$CXXCPP $CPPFLAGS'
64759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64764 /* end confdefs.h. */
64765 #include <math.h>
64767 main ()
64769 hypotl(0, 0);
64771 return 0;
64773 _ACEOF
64774 if ac_fn_cxx_try_compile "$LINENO"; then :
64775 glibcxx_cv_func_hypotl_use=yes
64776 else
64777 glibcxx_cv_func_hypotl_use=no
64779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64780 ac_ext=c
64781 ac_cpp='$CPP $CPPFLAGS'
64782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64791 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64793 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64794 for ac_func in hypotl
64795 do :
64796 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64797 if test "x$ac_cv_func_hypotl" = x""yes; then :
64798 cat >>confdefs.h <<_ACEOF
64799 #define HAVE_HYPOTL 1
64800 _ACEOF
64803 done
64805 else
64807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64808 $as_echo_n "checking for _hypotl declaration... " >&6; }
64809 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64810 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64811 $as_echo_n "(cached) " >&6
64812 else
64815 ac_ext=cpp
64816 ac_cpp='$CXXCPP $CPPFLAGS'
64817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64822 /* end confdefs.h. */
64823 #include <math.h>
64825 main ()
64827 _hypotl(0, 0);
64829 return 0;
64831 _ACEOF
64832 if ac_fn_cxx_try_compile "$LINENO"; then :
64833 glibcxx_cv_func__hypotl_use=yes
64834 else
64835 glibcxx_cv_func__hypotl_use=no
64837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64838 ac_ext=c
64839 ac_cpp='$CPP $CPPFLAGS'
64840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64849 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64851 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64852 for ac_func in _hypotl
64853 do :
64854 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64855 if test "x$ac_cv_func__hypotl" = x""yes; then :
64856 cat >>confdefs.h <<_ACEOF
64857 #define HAVE__HYPOTL 1
64858 _ACEOF
64861 done
64870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64871 $as_echo_n "checking for ldexpl declaration... " >&6; }
64872 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64873 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64874 $as_echo_n "(cached) " >&6
64875 else
64878 ac_ext=cpp
64879 ac_cpp='$CXXCPP $CPPFLAGS'
64880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64885 /* end confdefs.h. */
64886 #include <math.h>
64888 main ()
64890 ldexpl(0, 0);
64892 return 0;
64894 _ACEOF
64895 if ac_fn_cxx_try_compile "$LINENO"; then :
64896 glibcxx_cv_func_ldexpl_use=yes
64897 else
64898 glibcxx_cv_func_ldexpl_use=no
64900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64901 ac_ext=c
64902 ac_cpp='$CPP $CPPFLAGS'
64903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64912 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64914 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64915 for ac_func in ldexpl
64916 do :
64917 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64918 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64919 cat >>confdefs.h <<_ACEOF
64920 #define HAVE_LDEXPL 1
64921 _ACEOF
64924 done
64926 else
64928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64929 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64930 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64931 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64932 $as_echo_n "(cached) " >&6
64933 else
64936 ac_ext=cpp
64937 ac_cpp='$CXXCPP $CPPFLAGS'
64938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64943 /* end confdefs.h. */
64944 #include <math.h>
64946 main ()
64948 _ldexpl(0, 0);
64950 return 0;
64952 _ACEOF
64953 if ac_fn_cxx_try_compile "$LINENO"; then :
64954 glibcxx_cv_func__ldexpl_use=yes
64955 else
64956 glibcxx_cv_func__ldexpl_use=no
64958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64959 ac_ext=c
64960 ac_cpp='$CPP $CPPFLAGS'
64961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64970 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64972 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64973 for ac_func in _ldexpl
64974 do :
64975 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64976 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64977 cat >>confdefs.h <<_ACEOF
64978 #define HAVE__LDEXPL 1
64979 _ACEOF
64982 done
64991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64992 $as_echo_n "checking for logl declaration... " >&6; }
64993 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64994 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64995 $as_echo_n "(cached) " >&6
64996 else
64999 ac_ext=cpp
65000 ac_cpp='$CXXCPP $CPPFLAGS'
65001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65006 /* end confdefs.h. */
65007 #include <math.h>
65008 #ifdef HAVE_IEEEFP_H
65009 #include <ieeefp.h>
65010 #endif
65013 main ()
65015 logl(0);
65017 return 0;
65019 _ACEOF
65020 if ac_fn_cxx_try_compile "$LINENO"; then :
65021 glibcxx_cv_func_logl_use=yes
65022 else
65023 glibcxx_cv_func_logl_use=no
65025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65026 ac_ext=c
65027 ac_cpp='$CPP $CPPFLAGS'
65028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65037 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65039 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65040 for ac_func in logl
65041 do :
65042 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65043 if test "x$ac_cv_func_logl" = x""yes; then :
65044 cat >>confdefs.h <<_ACEOF
65045 #define HAVE_LOGL 1
65046 _ACEOF
65049 done
65051 else
65053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65054 $as_echo_n "checking for _logl declaration... " >&6; }
65055 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65056 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65057 $as_echo_n "(cached) " >&6
65058 else
65061 ac_ext=cpp
65062 ac_cpp='$CXXCPP $CPPFLAGS'
65063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65068 /* end confdefs.h. */
65069 #include <math.h>
65070 #ifdef HAVE_IEEEFP_H
65071 #include <ieeefp.h>
65072 #endif
65075 main ()
65077 _logl(0);
65079 return 0;
65081 _ACEOF
65082 if ac_fn_cxx_try_compile "$LINENO"; then :
65083 glibcxx_cv_func__logl_use=yes
65084 else
65085 glibcxx_cv_func__logl_use=no
65087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65088 ac_ext=c
65089 ac_cpp='$CPP $CPPFLAGS'
65090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65099 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65101 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65102 for ac_func in _logl
65103 do :
65104 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65105 if test "x$ac_cv_func__logl" = x""yes; then :
65106 cat >>confdefs.h <<_ACEOF
65107 #define HAVE__LOGL 1
65108 _ACEOF
65111 done
65120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65121 $as_echo_n "checking for log10l declaration... " >&6; }
65122 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65123 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65124 $as_echo_n "(cached) " >&6
65125 else
65128 ac_ext=cpp
65129 ac_cpp='$CXXCPP $CPPFLAGS'
65130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65135 /* end confdefs.h. */
65136 #include <math.h>
65137 #ifdef HAVE_IEEEFP_H
65138 #include <ieeefp.h>
65139 #endif
65142 main ()
65144 log10l(0);
65146 return 0;
65148 _ACEOF
65149 if ac_fn_cxx_try_compile "$LINENO"; then :
65150 glibcxx_cv_func_log10l_use=yes
65151 else
65152 glibcxx_cv_func_log10l_use=no
65154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65155 ac_ext=c
65156 ac_cpp='$CPP $CPPFLAGS'
65157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65166 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65168 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65169 for ac_func in log10l
65170 do :
65171 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65172 if test "x$ac_cv_func_log10l" = x""yes; then :
65173 cat >>confdefs.h <<_ACEOF
65174 #define HAVE_LOG10L 1
65175 _ACEOF
65178 done
65180 else
65182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65183 $as_echo_n "checking for _log10l declaration... " >&6; }
65184 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65185 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65186 $as_echo_n "(cached) " >&6
65187 else
65190 ac_ext=cpp
65191 ac_cpp='$CXXCPP $CPPFLAGS'
65192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65197 /* end confdefs.h. */
65198 #include <math.h>
65199 #ifdef HAVE_IEEEFP_H
65200 #include <ieeefp.h>
65201 #endif
65204 main ()
65206 _log10l(0);
65208 return 0;
65210 _ACEOF
65211 if ac_fn_cxx_try_compile "$LINENO"; then :
65212 glibcxx_cv_func__log10l_use=yes
65213 else
65214 glibcxx_cv_func__log10l_use=no
65216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65217 ac_ext=c
65218 ac_cpp='$CPP $CPPFLAGS'
65219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65228 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65230 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65231 for ac_func in _log10l
65232 do :
65233 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65234 if test "x$ac_cv_func__log10l" = x""yes; then :
65235 cat >>confdefs.h <<_ACEOF
65236 #define HAVE__LOG10L 1
65237 _ACEOF
65240 done
65249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65250 $as_echo_n "checking for modfl declaration... " >&6; }
65251 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65252 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65253 $as_echo_n "(cached) " >&6
65254 else
65257 ac_ext=cpp
65258 ac_cpp='$CXXCPP $CPPFLAGS'
65259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65264 /* end confdefs.h. */
65265 #include <math.h>
65267 main ()
65269 modfl(0, 0);
65271 return 0;
65273 _ACEOF
65274 if ac_fn_cxx_try_compile "$LINENO"; then :
65275 glibcxx_cv_func_modfl_use=yes
65276 else
65277 glibcxx_cv_func_modfl_use=no
65279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65280 ac_ext=c
65281 ac_cpp='$CPP $CPPFLAGS'
65282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65291 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65293 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65294 for ac_func in modfl
65295 do :
65296 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65297 if test "x$ac_cv_func_modfl" = x""yes; then :
65298 cat >>confdefs.h <<_ACEOF
65299 #define HAVE_MODFL 1
65300 _ACEOF
65303 done
65305 else
65307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65308 $as_echo_n "checking for _modfl declaration... " >&6; }
65309 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65310 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65311 $as_echo_n "(cached) " >&6
65312 else
65315 ac_ext=cpp
65316 ac_cpp='$CXXCPP $CPPFLAGS'
65317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65322 /* end confdefs.h. */
65323 #include <math.h>
65325 main ()
65327 _modfl(0, 0);
65329 return 0;
65331 _ACEOF
65332 if ac_fn_cxx_try_compile "$LINENO"; then :
65333 glibcxx_cv_func__modfl_use=yes
65334 else
65335 glibcxx_cv_func__modfl_use=no
65337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65338 ac_ext=c
65339 ac_cpp='$CPP $CPPFLAGS'
65340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65349 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65351 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65352 for ac_func in _modfl
65353 do :
65354 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65355 if test "x$ac_cv_func__modfl" = x""yes; then :
65356 cat >>confdefs.h <<_ACEOF
65357 #define HAVE__MODFL 1
65358 _ACEOF
65361 done
65370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65371 $as_echo_n "checking for powl declaration... " >&6; }
65372 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65373 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65374 $as_echo_n "(cached) " >&6
65375 else
65378 ac_ext=cpp
65379 ac_cpp='$CXXCPP $CPPFLAGS'
65380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65385 /* end confdefs.h. */
65386 #include <math.h>
65388 main ()
65390 powl(0, 0);
65392 return 0;
65394 _ACEOF
65395 if ac_fn_cxx_try_compile "$LINENO"; then :
65396 glibcxx_cv_func_powl_use=yes
65397 else
65398 glibcxx_cv_func_powl_use=no
65400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65401 ac_ext=c
65402 ac_cpp='$CPP $CPPFLAGS'
65403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65412 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65414 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65415 for ac_func in powl
65416 do :
65417 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65418 if test "x$ac_cv_func_powl" = x""yes; then :
65419 cat >>confdefs.h <<_ACEOF
65420 #define HAVE_POWL 1
65421 _ACEOF
65424 done
65426 else
65428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65429 $as_echo_n "checking for _powl declaration... " >&6; }
65430 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65431 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65432 $as_echo_n "(cached) " >&6
65433 else
65436 ac_ext=cpp
65437 ac_cpp='$CXXCPP $CPPFLAGS'
65438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65443 /* end confdefs.h. */
65444 #include <math.h>
65446 main ()
65448 _powl(0, 0);
65450 return 0;
65452 _ACEOF
65453 if ac_fn_cxx_try_compile "$LINENO"; then :
65454 glibcxx_cv_func__powl_use=yes
65455 else
65456 glibcxx_cv_func__powl_use=no
65458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65459 ac_ext=c
65460 ac_cpp='$CPP $CPPFLAGS'
65461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65470 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65472 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65473 for ac_func in _powl
65474 do :
65475 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65476 if test "x$ac_cv_func__powl" = x""yes; then :
65477 cat >>confdefs.h <<_ACEOF
65478 #define HAVE__POWL 1
65479 _ACEOF
65482 done
65491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65492 $as_echo_n "checking for sqrtl declaration... " >&6; }
65493 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65494 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65495 $as_echo_n "(cached) " >&6
65496 else
65499 ac_ext=cpp
65500 ac_cpp='$CXXCPP $CPPFLAGS'
65501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65506 /* end confdefs.h. */
65507 #include <math.h>
65508 #ifdef HAVE_IEEEFP_H
65509 #include <ieeefp.h>
65510 #endif
65513 main ()
65515 sqrtl(0);
65517 return 0;
65519 _ACEOF
65520 if ac_fn_cxx_try_compile "$LINENO"; then :
65521 glibcxx_cv_func_sqrtl_use=yes
65522 else
65523 glibcxx_cv_func_sqrtl_use=no
65525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65526 ac_ext=c
65527 ac_cpp='$CPP $CPPFLAGS'
65528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65537 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65539 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65540 for ac_func in sqrtl
65541 do :
65542 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65543 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65544 cat >>confdefs.h <<_ACEOF
65545 #define HAVE_SQRTL 1
65546 _ACEOF
65549 done
65551 else
65553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65554 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65555 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65556 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65557 $as_echo_n "(cached) " >&6
65558 else
65561 ac_ext=cpp
65562 ac_cpp='$CXXCPP $CPPFLAGS'
65563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65568 /* end confdefs.h. */
65569 #include <math.h>
65570 #ifdef HAVE_IEEEFP_H
65571 #include <ieeefp.h>
65572 #endif
65575 main ()
65577 _sqrtl(0);
65579 return 0;
65581 _ACEOF
65582 if ac_fn_cxx_try_compile "$LINENO"; then :
65583 glibcxx_cv_func__sqrtl_use=yes
65584 else
65585 glibcxx_cv_func__sqrtl_use=no
65587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65588 ac_ext=c
65589 ac_cpp='$CPP $CPPFLAGS'
65590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65599 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65601 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65602 for ac_func in _sqrtl
65603 do :
65604 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65605 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65606 cat >>confdefs.h <<_ACEOF
65607 #define HAVE__SQRTL 1
65608 _ACEOF
65611 done
65620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65621 $as_echo_n "checking for sincosl declaration... " >&6; }
65622 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65623 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65624 $as_echo_n "(cached) " >&6
65625 else
65628 ac_ext=cpp
65629 ac_cpp='$CXXCPP $CPPFLAGS'
65630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65635 /* end confdefs.h. */
65636 #include <math.h>
65638 main ()
65640 sincosl(0, 0, 0);
65642 return 0;
65644 _ACEOF
65645 if ac_fn_cxx_try_compile "$LINENO"; then :
65646 glibcxx_cv_func_sincosl_use=yes
65647 else
65648 glibcxx_cv_func_sincosl_use=no
65650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65651 ac_ext=c
65652 ac_cpp='$CPP $CPPFLAGS'
65653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65662 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65664 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65665 for ac_func in sincosl
65666 do :
65667 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65668 if test "x$ac_cv_func_sincosl" = x""yes; then :
65669 cat >>confdefs.h <<_ACEOF
65670 #define HAVE_SINCOSL 1
65671 _ACEOF
65674 done
65676 else
65678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65679 $as_echo_n "checking for _sincosl declaration... " >&6; }
65680 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65681 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65682 $as_echo_n "(cached) " >&6
65683 else
65686 ac_ext=cpp
65687 ac_cpp='$CXXCPP $CPPFLAGS'
65688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65693 /* end confdefs.h. */
65694 #include <math.h>
65696 main ()
65698 _sincosl(0, 0, 0);
65700 return 0;
65702 _ACEOF
65703 if ac_fn_cxx_try_compile "$LINENO"; then :
65704 glibcxx_cv_func__sincosl_use=yes
65705 else
65706 glibcxx_cv_func__sincosl_use=no
65708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65709 ac_ext=c
65710 ac_cpp='$CPP $CPPFLAGS'
65711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65720 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65722 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65723 for ac_func in _sincosl
65724 do :
65725 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65726 if test "x$ac_cv_func__sincosl" = x""yes; then :
65727 cat >>confdefs.h <<_ACEOF
65728 #define HAVE__SINCOSL 1
65729 _ACEOF
65732 done
65741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65742 $as_echo_n "checking for finitel declaration... " >&6; }
65743 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65744 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65745 $as_echo_n "(cached) " >&6
65746 else
65749 ac_ext=cpp
65750 ac_cpp='$CXXCPP $CPPFLAGS'
65751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65756 /* end confdefs.h. */
65757 #include <math.h>
65758 #ifdef HAVE_IEEEFP_H
65759 #include <ieeefp.h>
65760 #endif
65763 main ()
65765 finitel(0);
65767 return 0;
65769 _ACEOF
65770 if ac_fn_cxx_try_compile "$LINENO"; then :
65771 glibcxx_cv_func_finitel_use=yes
65772 else
65773 glibcxx_cv_func_finitel_use=no
65775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65776 ac_ext=c
65777 ac_cpp='$CPP $CPPFLAGS'
65778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65787 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65789 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65790 for ac_func in finitel
65791 do :
65792 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65793 if test "x$ac_cv_func_finitel" = x""yes; then :
65794 cat >>confdefs.h <<_ACEOF
65795 #define HAVE_FINITEL 1
65796 _ACEOF
65799 done
65801 else
65803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65804 $as_echo_n "checking for _finitel declaration... " >&6; }
65805 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65806 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65807 $as_echo_n "(cached) " >&6
65808 else
65811 ac_ext=cpp
65812 ac_cpp='$CXXCPP $CPPFLAGS'
65813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65818 /* end confdefs.h. */
65819 #include <math.h>
65820 #ifdef HAVE_IEEEFP_H
65821 #include <ieeefp.h>
65822 #endif
65825 main ()
65827 _finitel(0);
65829 return 0;
65831 _ACEOF
65832 if ac_fn_cxx_try_compile "$LINENO"; then :
65833 glibcxx_cv_func__finitel_use=yes
65834 else
65835 glibcxx_cv_func__finitel_use=no
65837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65838 ac_ext=c
65839 ac_cpp='$CPP $CPPFLAGS'
65840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65849 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65851 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65852 for ac_func in _finitel
65853 do :
65854 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65855 if test "x$ac_cv_func__finitel" = x""yes; then :
65856 cat >>confdefs.h <<_ACEOF
65857 #define HAVE__FINITEL 1
65858 _ACEOF
65861 done
65869 LIBS="$ac_save_LIBS"
65870 CXXFLAGS="$ac_save_CXXFLAGS"
65873 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65874 ac_save_CXXFLAGS="$CXXFLAGS"
65875 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65879 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65880 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65881 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65882 $as_echo_n "(cached) " >&6
65883 else
65886 ac_ext=cpp
65887 ac_cpp='$CXXCPP $CPPFLAGS'
65888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65893 /* end confdefs.h. */
65894 #include <stdlib.h>
65896 main ()
65898 at_quick_exit(0);
65900 return 0;
65902 _ACEOF
65903 if ac_fn_cxx_try_compile "$LINENO"; then :
65904 glibcxx_cv_func_at_quick_exit_use=yes
65905 else
65906 glibcxx_cv_func_at_quick_exit_use=no
65908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65909 ac_ext=c
65910 ac_cpp='$CPP $CPPFLAGS'
65911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65920 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65921 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65922 for ac_func in at_quick_exit
65923 do :
65924 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65925 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65926 cat >>confdefs.h <<_ACEOF
65927 #define HAVE_AT_QUICK_EXIT 1
65928 _ACEOF
65931 done
65936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65937 $as_echo_n "checking for quick_exit declaration... " >&6; }
65938 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65939 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65940 $as_echo_n "(cached) " >&6
65941 else
65944 ac_ext=cpp
65945 ac_cpp='$CXXCPP $CPPFLAGS'
65946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65951 /* end confdefs.h. */
65952 #include <stdlib.h>
65954 main ()
65956 quick_exit(0);
65958 return 0;
65960 _ACEOF
65961 if ac_fn_cxx_try_compile "$LINENO"; then :
65962 glibcxx_cv_func_quick_exit_use=yes
65963 else
65964 glibcxx_cv_func_quick_exit_use=no
65966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65967 ac_ext=c
65968 ac_cpp='$CPP $CPPFLAGS'
65969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65978 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65979 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65980 for ac_func in quick_exit
65981 do :
65982 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65983 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65984 cat >>confdefs.h <<_ACEOF
65985 #define HAVE_QUICK_EXIT 1
65986 _ACEOF
65989 done
65994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65995 $as_echo_n "checking for strtold declaration... " >&6; }
65996 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65997 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65998 $as_echo_n "(cached) " >&6
65999 else
66002 ac_ext=cpp
66003 ac_cpp='$CXXCPP $CPPFLAGS'
66004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66009 /* end confdefs.h. */
66010 #include <stdlib.h>
66012 main ()
66014 strtold(0, 0);
66016 return 0;
66018 _ACEOF
66019 if ac_fn_cxx_try_compile "$LINENO"; then :
66020 glibcxx_cv_func_strtold_use=yes
66021 else
66022 glibcxx_cv_func_strtold_use=no
66024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66025 ac_ext=c
66026 ac_cpp='$CPP $CPPFLAGS'
66027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66036 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66037 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66038 for ac_func in strtold
66039 do :
66040 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66041 if test "x$ac_cv_func_strtold" = x""yes; then :
66042 cat >>confdefs.h <<_ACEOF
66043 #define HAVE_STRTOLD 1
66044 _ACEOF
66047 done
66054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66055 $as_echo_n "checking for strtof declaration... " >&6; }
66056 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66057 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66058 $as_echo_n "(cached) " >&6
66059 else
66062 ac_ext=cpp
66063 ac_cpp='$CXXCPP $CPPFLAGS'
66064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66069 /* end confdefs.h. */
66070 #include <stdlib.h>
66072 main ()
66074 strtof(0, 0);
66076 return 0;
66078 _ACEOF
66079 if ac_fn_cxx_try_compile "$LINENO"; then :
66080 glibcxx_cv_func_strtof_use=yes
66081 else
66082 glibcxx_cv_func_strtof_use=no
66084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66085 ac_ext=c
66086 ac_cpp='$CPP $CPPFLAGS'
66087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66096 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66097 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66098 for ac_func in strtof
66099 do :
66100 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66101 if test "x$ac_cv_func_strtof" = x""yes; then :
66102 cat >>confdefs.h <<_ACEOF
66103 #define HAVE_STRTOF 1
66104 _ACEOF
66107 done
66114 CXXFLAGS="$ac_save_CXXFLAGS"
66116 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66117 do :
66118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66120 eval as_val=\$$as_ac_var
66121 if test "x$as_val" = x""yes; then :
66122 cat >>confdefs.h <<_ACEOF
66123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66124 _ACEOF
66127 done
66130 *-netbsd*)
66131 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66134 # If we're not using GNU ld, then there's no point in even trying these
66135 # tests. Check for that first. We should have already tested for gld
66136 # by now (in libtool), but require it now just to be safe...
66137 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66138 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66142 # The name set by libtool depends on the version of libtool. Shame on us
66143 # for depending on an impl detail, but c'est la vie. Older versions used
66144 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66145 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66146 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66147 # set (hence we're using an older libtool), then set it.
66148 if test x${with_gnu_ld+set} != xset; then
66149 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66150 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66151 with_gnu_ld=no
66152 else
66153 with_gnu_ld=$ac_cv_prog_gnu_ld
66157 # Start by getting the version number. I think the libtool test already
66158 # does some of this, but throws away the result.
66159 glibcxx_ld_is_gold=no
66160 if test x"$with_gnu_ld" = x"yes"; then
66161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66162 $as_echo_n "checking for ld version... " >&6; }
66164 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66165 glibcxx_ld_is_gold=yes
66167 ldver=`$LD --version 2>/dev/null |
66168 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'`
66170 glibcxx_gnu_ld_version=`echo $ldver | \
66171 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66173 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66176 # Set --gc-sections.
66177 glibcxx_have_gc_sections=no
66178 if test "$glibcxx_ld_is_gold" = "yes"; then
66179 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66180 glibcxx_have_gc_sections=yes
66182 else
66183 glibcxx_gcsections_min_ld=21602
66184 if test x"$with_gnu_ld" = x"yes" &&
66185 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66186 glibcxx_have_gc_sections=yes
66189 if test "$glibcxx_have_gc_sections" = "yes"; then
66190 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66191 # NB: This flag only works reliably after 2.16.1. Configure tests
66192 # for this are difficult, so hard wire a value that should work.
66194 ac_test_CFLAGS="${CFLAGS+set}"
66195 ac_save_CFLAGS="$CFLAGS"
66196 CFLAGS='-Wl,--gc-sections'
66198 # Check for -Wl,--gc-sections
66199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66200 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66201 if test x$gcc_no_link = xyes; then
66202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66205 /* end confdefs.h. */
66206 int one(void) { return 1; }
66207 int two(void) { return 2; }
66210 main ()
66212 two();
66214 return 0;
66216 _ACEOF
66217 if ac_fn_c_try_link "$LINENO"; then :
66218 ac_gcsections=yes
66219 else
66220 ac_gcsections=no
66222 rm -f core conftest.err conftest.$ac_objext \
66223 conftest$ac_exeext conftest.$ac_ext
66224 if test "$ac_gcsections" = "yes"; then
66225 rm -f conftest.c
66226 touch conftest.c
66227 if $CC -c conftest.c; then
66228 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66229 grep "Warning: gc-sections option ignored" > /dev/null; then
66230 ac_gcsections=no
66233 rm -f conftest.c conftest.o conftest
66235 if test "$ac_gcsections" = "yes"; then
66236 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66239 $as_echo "$ac_gcsections" >&6; }
66241 if test "$ac_test_CFLAGS" = set; then
66242 CFLAGS="$ac_save_CFLAGS"
66243 else
66244 # this is the suspicious part
66245 CFLAGS=''
66249 # Set -z,relro.
66250 # Note this is only for shared objects.
66251 ac_ld_relro=no
66252 if test x"$with_gnu_ld" = x"yes"; then
66253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66254 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66255 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66256 if test -n "$cxx_z_relo"; then
66257 OPT_LDFLAGS="-Wl,-z,relro"
66258 ac_ld_relro=yes
66260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66261 $as_echo "$ac_ld_relro" >&6; }
66264 # Set linker optimization flags.
66265 if test x"$with_gnu_ld" = x"yes"; then
66266 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66272 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66274 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66276 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66278 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66280 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66282 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66284 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66286 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66288 if test x"long_double_math_on_this_cpu" = x"yes"; then
66289 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66291 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66293 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66297 *-qnx6.1* | *-qnx6.2*)
66298 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66301 # If we're not using GNU ld, then there's no point in even trying these
66302 # tests. Check for that first. We should have already tested for gld
66303 # by now (in libtool), but require it now just to be safe...
66304 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66305 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66309 # The name set by libtool depends on the version of libtool. Shame on us
66310 # for depending on an impl detail, but c'est la vie. Older versions used
66311 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66312 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66313 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66314 # set (hence we're using an older libtool), then set it.
66315 if test x${with_gnu_ld+set} != xset; then
66316 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66317 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66318 with_gnu_ld=no
66319 else
66320 with_gnu_ld=$ac_cv_prog_gnu_ld
66324 # Start by getting the version number. I think the libtool test already
66325 # does some of this, but throws away the result.
66326 glibcxx_ld_is_gold=no
66327 if test x"$with_gnu_ld" = x"yes"; then
66328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66329 $as_echo_n "checking for ld version... " >&6; }
66331 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66332 glibcxx_ld_is_gold=yes
66334 ldver=`$LD --version 2>/dev/null |
66335 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'`
66337 glibcxx_gnu_ld_version=`echo $ldver | \
66338 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66340 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66343 # Set --gc-sections.
66344 glibcxx_have_gc_sections=no
66345 if test "$glibcxx_ld_is_gold" = "yes"; then
66346 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66347 glibcxx_have_gc_sections=yes
66349 else
66350 glibcxx_gcsections_min_ld=21602
66351 if test x"$with_gnu_ld" = x"yes" &&
66352 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66353 glibcxx_have_gc_sections=yes
66356 if test "$glibcxx_have_gc_sections" = "yes"; then
66357 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66358 # NB: This flag only works reliably after 2.16.1. Configure tests
66359 # for this are difficult, so hard wire a value that should work.
66361 ac_test_CFLAGS="${CFLAGS+set}"
66362 ac_save_CFLAGS="$CFLAGS"
66363 CFLAGS='-Wl,--gc-sections'
66365 # Check for -Wl,--gc-sections
66366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66367 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66368 if test x$gcc_no_link = xyes; then
66369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66372 /* end confdefs.h. */
66373 int one(void) { return 1; }
66374 int two(void) { return 2; }
66377 main ()
66379 two();
66381 return 0;
66383 _ACEOF
66384 if ac_fn_c_try_link "$LINENO"; then :
66385 ac_gcsections=yes
66386 else
66387 ac_gcsections=no
66389 rm -f core conftest.err conftest.$ac_objext \
66390 conftest$ac_exeext conftest.$ac_ext
66391 if test "$ac_gcsections" = "yes"; then
66392 rm -f conftest.c
66393 touch conftest.c
66394 if $CC -c conftest.c; then
66395 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66396 grep "Warning: gc-sections option ignored" > /dev/null; then
66397 ac_gcsections=no
66400 rm -f conftest.c conftest.o conftest
66402 if test "$ac_gcsections" = "yes"; then
66403 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66406 $as_echo "$ac_gcsections" >&6; }
66408 if test "$ac_test_CFLAGS" = set; then
66409 CFLAGS="$ac_save_CFLAGS"
66410 else
66411 # this is the suspicious part
66412 CFLAGS=''
66416 # Set -z,relro.
66417 # Note this is only for shared objects.
66418 ac_ld_relro=no
66419 if test x"$with_gnu_ld" = x"yes"; then
66420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66421 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66422 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66423 if test -n "$cxx_z_relo"; then
66424 OPT_LDFLAGS="-Wl,-z,relro"
66425 ac_ld_relro=yes
66427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66428 $as_echo "$ac_ld_relro" >&6; }
66431 # Set linker optimization flags.
66432 if test x"$with_gnu_ld" = x"yes"; then
66433 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66439 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66441 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66443 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66445 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66447 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66449 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66451 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66453 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66455 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66457 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66459 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66461 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66464 *-rtems*)
66466 # All these tests are for C++; save the language and the compiler flags.
66467 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66468 # found in GLIBCXX_CONFIGURE.
66470 ac_ext=cpp
66471 ac_cpp='$CXXCPP $CPPFLAGS'
66472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66476 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66477 ac_save_CXXFLAGS="$CXXFLAGS"
66479 # Check for maintainer-mode bits.
66480 if test x"$USE_MAINTAINER_MODE" = xno; then
66481 WERROR=''
66482 else
66483 WERROR='-Werror'
66486 # Check for -ffunction-sections -fdata-sections
66487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66488 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66489 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66491 /* end confdefs.h. */
66492 int foo; void bar() { };
66494 main ()
66498 return 0;
66500 _ACEOF
66501 if ac_fn_cxx_try_compile "$LINENO"; then :
66502 ac_fdsections=yes
66503 else
66504 ac_fdsections=no
66506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66507 if test "$ac_test_CXXFLAGS" = set; then
66508 CXXFLAGS="$ac_save_CXXFLAGS"
66509 else
66510 # this is the suspicious part
66511 CXXFLAGS=''
66513 if test x"$ac_fdsections" = x"yes"; then
66514 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66517 $as_echo "$ac_fdsections" >&6; }
66519 ac_ext=c
66520 ac_cpp='$CPP $CPPFLAGS'
66521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66529 # If we're not using GNU ld, then there's no point in even trying these
66530 # tests. Check for that first. We should have already tested for gld
66531 # by now (in libtool), but require it now just to be safe...
66532 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66533 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66537 # The name set by libtool depends on the version of libtool. Shame on us
66538 # for depending on an impl detail, but c'est la vie. Older versions used
66539 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66540 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66541 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66542 # set (hence we're using an older libtool), then set it.
66543 if test x${with_gnu_ld+set} != xset; then
66544 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66545 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66546 with_gnu_ld=no
66547 else
66548 with_gnu_ld=$ac_cv_prog_gnu_ld
66552 # Start by getting the version number. I think the libtool test already
66553 # does some of this, but throws away the result.
66554 glibcxx_ld_is_gold=no
66555 if test x"$with_gnu_ld" = x"yes"; then
66556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66557 $as_echo_n "checking for ld version... " >&6; }
66559 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66560 glibcxx_ld_is_gold=yes
66562 ldver=`$LD --version 2>/dev/null |
66563 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
66565 glibcxx_gnu_ld_version=`echo $ldver | \
66566 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66568 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66571 # Set --gc-sections.
66572 glibcxx_have_gc_sections=no
66573 if test "$glibcxx_ld_is_gold" = "yes"; then
66574 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66575 glibcxx_have_gc_sections=yes
66577 else
66578 glibcxx_gcsections_min_ld=21602
66579 if test x"$with_gnu_ld" = x"yes" &&
66580 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66581 glibcxx_have_gc_sections=yes
66584 if test "$glibcxx_have_gc_sections" = "yes"; then
66585 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66586 # NB: This flag only works reliably after 2.16.1. Configure tests
66587 # for this are difficult, so hard wire a value that should work.
66589 ac_test_CFLAGS="${CFLAGS+set}"
66590 ac_save_CFLAGS="$CFLAGS"
66591 CFLAGS='-Wl,--gc-sections'
66593 # Check for -Wl,--gc-sections
66594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66595 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66596 if test x$gcc_no_link = xyes; then
66597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66600 /* end confdefs.h. */
66601 int one(void) { return 1; }
66602 int two(void) { return 2; }
66605 main ()
66607 two();
66609 return 0;
66611 _ACEOF
66612 if ac_fn_c_try_link "$LINENO"; then :
66613 ac_gcsections=yes
66614 else
66615 ac_gcsections=no
66617 rm -f core conftest.err conftest.$ac_objext \
66618 conftest$ac_exeext conftest.$ac_ext
66619 if test "$ac_gcsections" = "yes"; then
66620 rm -f conftest.c
66621 touch conftest.c
66622 if $CC -c conftest.c; then
66623 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66624 grep "Warning: gc-sections option ignored" > /dev/null; then
66625 ac_gcsections=no
66628 rm -f conftest.c conftest.o conftest
66630 if test "$ac_gcsections" = "yes"; then
66631 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66634 $as_echo "$ac_gcsections" >&6; }
66636 if test "$ac_test_CFLAGS" = set; then
66637 CFLAGS="$ac_save_CFLAGS"
66638 else
66639 # this is the suspicious part
66640 CFLAGS=''
66644 # Set -z,relro.
66645 # Note this is only for shared objects.
66646 ac_ld_relro=no
66647 if test x"$with_gnu_ld" = x"yes"; then
66648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66649 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66650 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66651 if test -n "$cxx_z_relo"; then
66652 OPT_LDFLAGS="-Wl,-z,relro"
66653 ac_ld_relro=yes
66655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66656 $as_echo "$ac_ld_relro" >&6; }
66659 # Set linker optimization flags.
66660 if test x"$with_gnu_ld" = x"yes"; then
66661 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66668 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66669 ac_save_CXXFLAGS="$CXXFLAGS"
66670 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66673 $as_echo_n "checking for sin in -lm... " >&6; }
66674 if test "${ac_cv_lib_m_sin+set}" = set; then :
66675 $as_echo_n "(cached) " >&6
66676 else
66677 ac_check_lib_save_LIBS=$LIBS
66678 LIBS="-lm $LIBS"
66679 if test x$gcc_no_link = xyes; then
66680 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66683 /* end confdefs.h. */
66685 /* Override any GCC internal prototype to avoid an error.
66686 Use char because int might match the return type of a GCC
66687 builtin and then its argument prototype would still apply. */
66688 #ifdef __cplusplus
66689 extern "C"
66690 #endif
66691 char sin ();
66693 main ()
66695 return sin ();
66697 return 0;
66699 _ACEOF
66700 if ac_fn_c_try_link "$LINENO"; then :
66701 ac_cv_lib_m_sin=yes
66702 else
66703 ac_cv_lib_m_sin=no
66705 rm -f core conftest.err conftest.$ac_objext \
66706 conftest$ac_exeext conftest.$ac_ext
66707 LIBS=$ac_check_lib_save_LIBS
66709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66710 $as_echo "$ac_cv_lib_m_sin" >&6; }
66711 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66712 libm="-lm"
66715 ac_save_LIBS="$LIBS"
66716 LIBS="$LIBS $libm"
66720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66721 $as_echo_n "checking for isinf declaration... " >&6; }
66722 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66723 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66724 $as_echo_n "(cached) " >&6
66725 else
66728 ac_ext=cpp
66729 ac_cpp='$CXXCPP $CPPFLAGS'
66730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66735 /* end confdefs.h. */
66736 #include <math.h>
66737 #ifdef HAVE_IEEEFP_H
66738 #include <ieeefp.h>
66739 #endif
66742 main ()
66744 isinf(0);
66746 return 0;
66748 _ACEOF
66749 if ac_fn_cxx_try_compile "$LINENO"; then :
66750 glibcxx_cv_func_isinf_use=yes
66751 else
66752 glibcxx_cv_func_isinf_use=no
66754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66755 ac_ext=c
66756 ac_cpp='$CPP $CPPFLAGS'
66757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66766 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66768 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66769 for ac_func in isinf
66770 do :
66771 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66772 if test "x$ac_cv_func_isinf" = x""yes; then :
66773 cat >>confdefs.h <<_ACEOF
66774 #define HAVE_ISINF 1
66775 _ACEOF
66778 done
66780 else
66782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66783 $as_echo_n "checking for _isinf declaration... " >&6; }
66784 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66785 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66786 $as_echo_n "(cached) " >&6
66787 else
66790 ac_ext=cpp
66791 ac_cpp='$CXXCPP $CPPFLAGS'
66792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66797 /* end confdefs.h. */
66798 #include <math.h>
66799 #ifdef HAVE_IEEEFP_H
66800 #include <ieeefp.h>
66801 #endif
66804 main ()
66806 _isinf(0);
66808 return 0;
66810 _ACEOF
66811 if ac_fn_cxx_try_compile "$LINENO"; then :
66812 glibcxx_cv_func__isinf_use=yes
66813 else
66814 glibcxx_cv_func__isinf_use=no
66816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66817 ac_ext=c
66818 ac_cpp='$CPP $CPPFLAGS'
66819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66828 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66830 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66831 for ac_func in _isinf
66832 do :
66833 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66834 if test "x$ac_cv_func__isinf" = x""yes; then :
66835 cat >>confdefs.h <<_ACEOF
66836 #define HAVE__ISINF 1
66837 _ACEOF
66840 done
66849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66850 $as_echo_n "checking for isnan declaration... " >&6; }
66851 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66852 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66853 $as_echo_n "(cached) " >&6
66854 else
66857 ac_ext=cpp
66858 ac_cpp='$CXXCPP $CPPFLAGS'
66859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66864 /* end confdefs.h. */
66865 #include <math.h>
66866 #ifdef HAVE_IEEEFP_H
66867 #include <ieeefp.h>
66868 #endif
66871 main ()
66873 isnan(0);
66875 return 0;
66877 _ACEOF
66878 if ac_fn_cxx_try_compile "$LINENO"; then :
66879 glibcxx_cv_func_isnan_use=yes
66880 else
66881 glibcxx_cv_func_isnan_use=no
66883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66884 ac_ext=c
66885 ac_cpp='$CPP $CPPFLAGS'
66886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66895 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66897 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66898 for ac_func in isnan
66899 do :
66900 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66901 if test "x$ac_cv_func_isnan" = x""yes; then :
66902 cat >>confdefs.h <<_ACEOF
66903 #define HAVE_ISNAN 1
66904 _ACEOF
66907 done
66909 else
66911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66912 $as_echo_n "checking for _isnan declaration... " >&6; }
66913 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66914 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66915 $as_echo_n "(cached) " >&6
66916 else
66919 ac_ext=cpp
66920 ac_cpp='$CXXCPP $CPPFLAGS'
66921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66926 /* end confdefs.h. */
66927 #include <math.h>
66928 #ifdef HAVE_IEEEFP_H
66929 #include <ieeefp.h>
66930 #endif
66933 main ()
66935 _isnan(0);
66937 return 0;
66939 _ACEOF
66940 if ac_fn_cxx_try_compile "$LINENO"; then :
66941 glibcxx_cv_func__isnan_use=yes
66942 else
66943 glibcxx_cv_func__isnan_use=no
66945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66946 ac_ext=c
66947 ac_cpp='$CPP $CPPFLAGS'
66948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66957 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66959 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66960 for ac_func in _isnan
66961 do :
66962 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66963 if test "x$ac_cv_func__isnan" = x""yes; then :
66964 cat >>confdefs.h <<_ACEOF
66965 #define HAVE__ISNAN 1
66966 _ACEOF
66969 done
66978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66979 $as_echo_n "checking for finite declaration... " >&6; }
66980 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66981 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66982 $as_echo_n "(cached) " >&6
66983 else
66986 ac_ext=cpp
66987 ac_cpp='$CXXCPP $CPPFLAGS'
66988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66993 /* end confdefs.h. */
66994 #include <math.h>
66995 #ifdef HAVE_IEEEFP_H
66996 #include <ieeefp.h>
66997 #endif
67000 main ()
67002 finite(0);
67004 return 0;
67006 _ACEOF
67007 if ac_fn_cxx_try_compile "$LINENO"; then :
67008 glibcxx_cv_func_finite_use=yes
67009 else
67010 glibcxx_cv_func_finite_use=no
67012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67013 ac_ext=c
67014 ac_cpp='$CPP $CPPFLAGS'
67015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67024 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67026 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67027 for ac_func in finite
67028 do :
67029 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67030 if test "x$ac_cv_func_finite" = x""yes; then :
67031 cat >>confdefs.h <<_ACEOF
67032 #define HAVE_FINITE 1
67033 _ACEOF
67036 done
67038 else
67040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67041 $as_echo_n "checking for _finite declaration... " >&6; }
67042 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67043 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
67044 $as_echo_n "(cached) " >&6
67045 else
67048 ac_ext=cpp
67049 ac_cpp='$CXXCPP $CPPFLAGS'
67050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67055 /* end confdefs.h. */
67056 #include <math.h>
67057 #ifdef HAVE_IEEEFP_H
67058 #include <ieeefp.h>
67059 #endif
67062 main ()
67064 _finite(0);
67066 return 0;
67068 _ACEOF
67069 if ac_fn_cxx_try_compile "$LINENO"; then :
67070 glibcxx_cv_func__finite_use=yes
67071 else
67072 glibcxx_cv_func__finite_use=no
67074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67075 ac_ext=c
67076 ac_cpp='$CPP $CPPFLAGS'
67077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67086 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67088 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67089 for ac_func in _finite
67090 do :
67091 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67092 if test "x$ac_cv_func__finite" = x""yes; then :
67093 cat >>confdefs.h <<_ACEOF
67094 #define HAVE__FINITE 1
67095 _ACEOF
67098 done
67107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67108 $as_echo_n "checking for sincos declaration... " >&6; }
67109 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67110 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67111 $as_echo_n "(cached) " >&6
67112 else
67115 ac_ext=cpp
67116 ac_cpp='$CXXCPP $CPPFLAGS'
67117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67122 /* end confdefs.h. */
67123 #include <math.h>
67125 main ()
67127 sincos(0, 0, 0);
67129 return 0;
67131 _ACEOF
67132 if ac_fn_cxx_try_compile "$LINENO"; then :
67133 glibcxx_cv_func_sincos_use=yes
67134 else
67135 glibcxx_cv_func_sincos_use=no
67137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67138 ac_ext=c
67139 ac_cpp='$CPP $CPPFLAGS'
67140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67149 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67151 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67152 for ac_func in sincos
67153 do :
67154 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67155 if test "x$ac_cv_func_sincos" = x""yes; then :
67156 cat >>confdefs.h <<_ACEOF
67157 #define HAVE_SINCOS 1
67158 _ACEOF
67161 done
67163 else
67165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67166 $as_echo_n "checking for _sincos declaration... " >&6; }
67167 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67168 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67169 $as_echo_n "(cached) " >&6
67170 else
67173 ac_ext=cpp
67174 ac_cpp='$CXXCPP $CPPFLAGS'
67175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67180 /* end confdefs.h. */
67181 #include <math.h>
67183 main ()
67185 _sincos(0, 0, 0);
67187 return 0;
67189 _ACEOF
67190 if ac_fn_cxx_try_compile "$LINENO"; then :
67191 glibcxx_cv_func__sincos_use=yes
67192 else
67193 glibcxx_cv_func__sincos_use=no
67195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67196 ac_ext=c
67197 ac_cpp='$CPP $CPPFLAGS'
67198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67207 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67209 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67210 for ac_func in _sincos
67211 do :
67212 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67213 if test "x$ac_cv_func__sincos" = x""yes; then :
67214 cat >>confdefs.h <<_ACEOF
67215 #define HAVE__SINCOS 1
67216 _ACEOF
67219 done
67228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67229 $as_echo_n "checking for fpclass declaration... " >&6; }
67230 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67231 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67232 $as_echo_n "(cached) " >&6
67233 else
67236 ac_ext=cpp
67237 ac_cpp='$CXXCPP $CPPFLAGS'
67238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67243 /* end confdefs.h. */
67244 #include <math.h>
67245 #ifdef HAVE_IEEEFP_H
67246 #include <ieeefp.h>
67247 #endif
67250 main ()
67252 fpclass(0);
67254 return 0;
67256 _ACEOF
67257 if ac_fn_cxx_try_compile "$LINENO"; then :
67258 glibcxx_cv_func_fpclass_use=yes
67259 else
67260 glibcxx_cv_func_fpclass_use=no
67262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67263 ac_ext=c
67264 ac_cpp='$CPP $CPPFLAGS'
67265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67274 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67276 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67277 for ac_func in fpclass
67278 do :
67279 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67280 if test "x$ac_cv_func_fpclass" = x""yes; then :
67281 cat >>confdefs.h <<_ACEOF
67282 #define HAVE_FPCLASS 1
67283 _ACEOF
67286 done
67288 else
67290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67291 $as_echo_n "checking for _fpclass declaration... " >&6; }
67292 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67293 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67294 $as_echo_n "(cached) " >&6
67295 else
67298 ac_ext=cpp
67299 ac_cpp='$CXXCPP $CPPFLAGS'
67300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67305 /* end confdefs.h. */
67306 #include <math.h>
67307 #ifdef HAVE_IEEEFP_H
67308 #include <ieeefp.h>
67309 #endif
67312 main ()
67314 _fpclass(0);
67316 return 0;
67318 _ACEOF
67319 if ac_fn_cxx_try_compile "$LINENO"; then :
67320 glibcxx_cv_func__fpclass_use=yes
67321 else
67322 glibcxx_cv_func__fpclass_use=no
67324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67325 ac_ext=c
67326 ac_cpp='$CPP $CPPFLAGS'
67327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67336 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67338 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67339 for ac_func in _fpclass
67340 do :
67341 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67342 if test "x$ac_cv_func__fpclass" = x""yes; then :
67343 cat >>confdefs.h <<_ACEOF
67344 #define HAVE__FPCLASS 1
67345 _ACEOF
67348 done
67357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67358 $as_echo_n "checking for qfpclass declaration... " >&6; }
67359 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67360 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67361 $as_echo_n "(cached) " >&6
67362 else
67365 ac_ext=cpp
67366 ac_cpp='$CXXCPP $CPPFLAGS'
67367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67372 /* end confdefs.h. */
67373 #include <math.h>
67374 #ifdef HAVE_IEEEFP_H
67375 #include <ieeefp.h>
67376 #endif
67379 main ()
67381 qfpclass(0);
67383 return 0;
67385 _ACEOF
67386 if ac_fn_cxx_try_compile "$LINENO"; then :
67387 glibcxx_cv_func_qfpclass_use=yes
67388 else
67389 glibcxx_cv_func_qfpclass_use=no
67391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67392 ac_ext=c
67393 ac_cpp='$CPP $CPPFLAGS'
67394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67403 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67405 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67406 for ac_func in qfpclass
67407 do :
67408 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67409 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67410 cat >>confdefs.h <<_ACEOF
67411 #define HAVE_QFPCLASS 1
67412 _ACEOF
67415 done
67417 else
67419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67420 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67421 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67422 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67423 $as_echo_n "(cached) " >&6
67424 else
67427 ac_ext=cpp
67428 ac_cpp='$CXXCPP $CPPFLAGS'
67429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67434 /* end confdefs.h. */
67435 #include <math.h>
67436 #ifdef HAVE_IEEEFP_H
67437 #include <ieeefp.h>
67438 #endif
67441 main ()
67443 _qfpclass(0);
67445 return 0;
67447 _ACEOF
67448 if ac_fn_cxx_try_compile "$LINENO"; then :
67449 glibcxx_cv_func__qfpclass_use=yes
67450 else
67451 glibcxx_cv_func__qfpclass_use=no
67453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67454 ac_ext=c
67455 ac_cpp='$CPP $CPPFLAGS'
67456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67465 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67467 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67468 for ac_func in _qfpclass
67469 do :
67470 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67471 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67472 cat >>confdefs.h <<_ACEOF
67473 #define HAVE__QFPCLASS 1
67474 _ACEOF
67477 done
67486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67487 $as_echo_n "checking for hypot declaration... " >&6; }
67488 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67489 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67490 $as_echo_n "(cached) " >&6
67491 else
67494 ac_ext=cpp
67495 ac_cpp='$CXXCPP $CPPFLAGS'
67496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67501 /* end confdefs.h. */
67502 #include <math.h>
67504 main ()
67506 hypot(0, 0);
67508 return 0;
67510 _ACEOF
67511 if ac_fn_cxx_try_compile "$LINENO"; then :
67512 glibcxx_cv_func_hypot_use=yes
67513 else
67514 glibcxx_cv_func_hypot_use=no
67516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67517 ac_ext=c
67518 ac_cpp='$CPP $CPPFLAGS'
67519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67528 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67530 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67531 for ac_func in hypot
67532 do :
67533 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67534 if test "x$ac_cv_func_hypot" = x""yes; then :
67535 cat >>confdefs.h <<_ACEOF
67536 #define HAVE_HYPOT 1
67537 _ACEOF
67540 done
67542 else
67544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67545 $as_echo_n "checking for _hypot declaration... " >&6; }
67546 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67547 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67548 $as_echo_n "(cached) " >&6
67549 else
67552 ac_ext=cpp
67553 ac_cpp='$CXXCPP $CPPFLAGS'
67554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67559 /* end confdefs.h. */
67560 #include <math.h>
67562 main ()
67564 _hypot(0, 0);
67566 return 0;
67568 _ACEOF
67569 if ac_fn_cxx_try_compile "$LINENO"; then :
67570 glibcxx_cv_func__hypot_use=yes
67571 else
67572 glibcxx_cv_func__hypot_use=no
67574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67575 ac_ext=c
67576 ac_cpp='$CPP $CPPFLAGS'
67577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67586 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67588 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67589 for ac_func in _hypot
67590 do :
67591 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67592 if test "x$ac_cv_func__hypot" = x""yes; then :
67593 cat >>confdefs.h <<_ACEOF
67594 #define HAVE__HYPOT 1
67595 _ACEOF
67598 done
67607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67608 $as_echo_n "checking for float trig functions... " >&6; }
67609 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67610 $as_echo_n "(cached) " >&6
67611 else
67614 ac_ext=cpp
67615 ac_cpp='$CXXCPP $CPPFLAGS'
67616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67621 /* end confdefs.h. */
67622 #include <math.h>
67624 main ()
67626 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67628 return 0;
67630 _ACEOF
67631 if ac_fn_cxx_try_compile "$LINENO"; then :
67632 glibcxx_cv_func_float_trig_use=yes
67633 else
67634 glibcxx_cv_func_float_trig_use=no
67636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67637 ac_ext=c
67638 ac_cpp='$CPP $CPPFLAGS'
67639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67646 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67647 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67648 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67649 do :
67650 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67651 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67652 eval as_val=\$$as_ac_var
67653 if test "x$as_val" = x""yes; then :
67654 cat >>confdefs.h <<_ACEOF
67655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67656 _ACEOF
67659 done
67661 else
67662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67663 $as_echo_n "checking for _float trig functions... " >&6; }
67664 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67665 $as_echo_n "(cached) " >&6
67666 else
67669 ac_ext=cpp
67670 ac_cpp='$CXXCPP $CPPFLAGS'
67671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67676 /* end confdefs.h. */
67677 #include <math.h>
67679 main ()
67681 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67683 return 0;
67685 _ACEOF
67686 if ac_fn_cxx_try_compile "$LINENO"; then :
67687 glibcxx_cv_func__float_trig_use=yes
67688 else
67689 glibcxx_cv_func__float_trig_use=no
67691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67692 ac_ext=c
67693 ac_cpp='$CPP $CPPFLAGS'
67694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67701 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67702 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67703 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67704 do :
67705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67707 eval as_val=\$$as_ac_var
67708 if test "x$as_val" = x""yes; then :
67709 cat >>confdefs.h <<_ACEOF
67710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67711 _ACEOF
67714 done
67723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67724 $as_echo_n "checking for float round functions... " >&6; }
67725 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67726 $as_echo_n "(cached) " >&6
67727 else
67730 ac_ext=cpp
67731 ac_cpp='$CXXCPP $CPPFLAGS'
67732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67737 /* end confdefs.h. */
67738 #include <math.h>
67740 main ()
67742 ceilf (0); floorf (0);
67744 return 0;
67746 _ACEOF
67747 if ac_fn_cxx_try_compile "$LINENO"; then :
67748 glibcxx_cv_func_float_round_use=yes
67749 else
67750 glibcxx_cv_func_float_round_use=no
67752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67753 ac_ext=c
67754 ac_cpp='$CPP $CPPFLAGS'
67755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67762 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67763 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67764 for ac_func in ceilf floorf
67765 do :
67766 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67767 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67768 eval as_val=\$$as_ac_var
67769 if test "x$as_val" = x""yes; then :
67770 cat >>confdefs.h <<_ACEOF
67771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67772 _ACEOF
67775 done
67777 else
67778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67779 $as_echo_n "checking for _float round functions... " >&6; }
67780 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67781 $as_echo_n "(cached) " >&6
67782 else
67785 ac_ext=cpp
67786 ac_cpp='$CXXCPP $CPPFLAGS'
67787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67792 /* end confdefs.h. */
67793 #include <math.h>
67795 main ()
67797 _ceilf (0); _floorf (0);
67799 return 0;
67801 _ACEOF
67802 if ac_fn_cxx_try_compile "$LINENO"; then :
67803 glibcxx_cv_func__float_round_use=yes
67804 else
67805 glibcxx_cv_func__float_round_use=no
67807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67808 ac_ext=c
67809 ac_cpp='$CPP $CPPFLAGS'
67810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67817 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67818 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67819 for ac_func in _ceilf _floorf
67820 do :
67821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67823 eval as_val=\$$as_ac_var
67824 if test "x$as_val" = x""yes; then :
67825 cat >>confdefs.h <<_ACEOF
67826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67827 _ACEOF
67830 done
67840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67841 $as_echo_n "checking for expf declaration... " >&6; }
67842 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67843 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67844 $as_echo_n "(cached) " >&6
67845 else
67848 ac_ext=cpp
67849 ac_cpp='$CXXCPP $CPPFLAGS'
67850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67855 /* end confdefs.h. */
67856 #include <math.h>
67857 #ifdef HAVE_IEEEFP_H
67858 #include <ieeefp.h>
67859 #endif
67862 main ()
67864 expf(0);
67866 return 0;
67868 _ACEOF
67869 if ac_fn_cxx_try_compile "$LINENO"; then :
67870 glibcxx_cv_func_expf_use=yes
67871 else
67872 glibcxx_cv_func_expf_use=no
67874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67875 ac_ext=c
67876 ac_cpp='$CPP $CPPFLAGS'
67877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67886 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67888 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67889 for ac_func in expf
67890 do :
67891 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67892 if test "x$ac_cv_func_expf" = x""yes; then :
67893 cat >>confdefs.h <<_ACEOF
67894 #define HAVE_EXPF 1
67895 _ACEOF
67898 done
67900 else
67902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67903 $as_echo_n "checking for _expf declaration... " >&6; }
67904 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67905 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67906 $as_echo_n "(cached) " >&6
67907 else
67910 ac_ext=cpp
67911 ac_cpp='$CXXCPP $CPPFLAGS'
67912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67917 /* end confdefs.h. */
67918 #include <math.h>
67919 #ifdef HAVE_IEEEFP_H
67920 #include <ieeefp.h>
67921 #endif
67924 main ()
67926 _expf(0);
67928 return 0;
67930 _ACEOF
67931 if ac_fn_cxx_try_compile "$LINENO"; then :
67932 glibcxx_cv_func__expf_use=yes
67933 else
67934 glibcxx_cv_func__expf_use=no
67936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67937 ac_ext=c
67938 ac_cpp='$CPP $CPPFLAGS'
67939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67948 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67950 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67951 for ac_func in _expf
67952 do :
67953 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67954 if test "x$ac_cv_func__expf" = x""yes; then :
67955 cat >>confdefs.h <<_ACEOF
67956 #define HAVE__EXPF 1
67957 _ACEOF
67960 done
67969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67970 $as_echo_n "checking for isnanf declaration... " >&6; }
67971 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67972 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67973 $as_echo_n "(cached) " >&6
67974 else
67977 ac_ext=cpp
67978 ac_cpp='$CXXCPP $CPPFLAGS'
67979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67984 /* end confdefs.h. */
67985 #include <math.h>
67986 #ifdef HAVE_IEEEFP_H
67987 #include <ieeefp.h>
67988 #endif
67991 main ()
67993 isnanf(0);
67995 return 0;
67997 _ACEOF
67998 if ac_fn_cxx_try_compile "$LINENO"; then :
67999 glibcxx_cv_func_isnanf_use=yes
68000 else
68001 glibcxx_cv_func_isnanf_use=no
68003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68004 ac_ext=c
68005 ac_cpp='$CPP $CPPFLAGS'
68006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68015 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68017 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68018 for ac_func in isnanf
68019 do :
68020 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68021 if test "x$ac_cv_func_isnanf" = x""yes; then :
68022 cat >>confdefs.h <<_ACEOF
68023 #define HAVE_ISNANF 1
68024 _ACEOF
68027 done
68029 else
68031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68032 $as_echo_n "checking for _isnanf declaration... " >&6; }
68033 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68034 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
68035 $as_echo_n "(cached) " >&6
68036 else
68039 ac_ext=cpp
68040 ac_cpp='$CXXCPP $CPPFLAGS'
68041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68046 /* end confdefs.h. */
68047 #include <math.h>
68048 #ifdef HAVE_IEEEFP_H
68049 #include <ieeefp.h>
68050 #endif
68053 main ()
68055 _isnanf(0);
68057 return 0;
68059 _ACEOF
68060 if ac_fn_cxx_try_compile "$LINENO"; then :
68061 glibcxx_cv_func__isnanf_use=yes
68062 else
68063 glibcxx_cv_func__isnanf_use=no
68065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68066 ac_ext=c
68067 ac_cpp='$CPP $CPPFLAGS'
68068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68077 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68079 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68080 for ac_func in _isnanf
68081 do :
68082 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68083 if test "x$ac_cv_func__isnanf" = x""yes; then :
68084 cat >>confdefs.h <<_ACEOF
68085 #define HAVE__ISNANF 1
68086 _ACEOF
68089 done
68098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68099 $as_echo_n "checking for isinff declaration... " >&6; }
68100 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68101 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68102 $as_echo_n "(cached) " >&6
68103 else
68106 ac_ext=cpp
68107 ac_cpp='$CXXCPP $CPPFLAGS'
68108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68113 /* end confdefs.h. */
68114 #include <math.h>
68115 #ifdef HAVE_IEEEFP_H
68116 #include <ieeefp.h>
68117 #endif
68120 main ()
68122 isinff(0);
68124 return 0;
68126 _ACEOF
68127 if ac_fn_cxx_try_compile "$LINENO"; then :
68128 glibcxx_cv_func_isinff_use=yes
68129 else
68130 glibcxx_cv_func_isinff_use=no
68132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68133 ac_ext=c
68134 ac_cpp='$CPP $CPPFLAGS'
68135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68144 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68146 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68147 for ac_func in isinff
68148 do :
68149 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68150 if test "x$ac_cv_func_isinff" = x""yes; then :
68151 cat >>confdefs.h <<_ACEOF
68152 #define HAVE_ISINFF 1
68153 _ACEOF
68156 done
68158 else
68160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68161 $as_echo_n "checking for _isinff declaration... " >&6; }
68162 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68163 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68164 $as_echo_n "(cached) " >&6
68165 else
68168 ac_ext=cpp
68169 ac_cpp='$CXXCPP $CPPFLAGS'
68170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68175 /* end confdefs.h. */
68176 #include <math.h>
68177 #ifdef HAVE_IEEEFP_H
68178 #include <ieeefp.h>
68179 #endif
68182 main ()
68184 _isinff(0);
68186 return 0;
68188 _ACEOF
68189 if ac_fn_cxx_try_compile "$LINENO"; then :
68190 glibcxx_cv_func__isinff_use=yes
68191 else
68192 glibcxx_cv_func__isinff_use=no
68194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68195 ac_ext=c
68196 ac_cpp='$CPP $CPPFLAGS'
68197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68206 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68208 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68209 for ac_func in _isinff
68210 do :
68211 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68212 if test "x$ac_cv_func__isinff" = x""yes; then :
68213 cat >>confdefs.h <<_ACEOF
68214 #define HAVE__ISINFF 1
68215 _ACEOF
68218 done
68227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68228 $as_echo_n "checking for atan2f declaration... " >&6; }
68229 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68230 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68231 $as_echo_n "(cached) " >&6
68232 else
68235 ac_ext=cpp
68236 ac_cpp='$CXXCPP $CPPFLAGS'
68237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68242 /* end confdefs.h. */
68243 #include <math.h>
68245 main ()
68247 atan2f(0, 0);
68249 return 0;
68251 _ACEOF
68252 if ac_fn_cxx_try_compile "$LINENO"; then :
68253 glibcxx_cv_func_atan2f_use=yes
68254 else
68255 glibcxx_cv_func_atan2f_use=no
68257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68258 ac_ext=c
68259 ac_cpp='$CPP $CPPFLAGS'
68260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68269 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68271 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68272 for ac_func in atan2f
68273 do :
68274 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68275 if test "x$ac_cv_func_atan2f" = x""yes; then :
68276 cat >>confdefs.h <<_ACEOF
68277 #define HAVE_ATAN2F 1
68278 _ACEOF
68281 done
68283 else
68285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68286 $as_echo_n "checking for _atan2f declaration... " >&6; }
68287 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68288 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68289 $as_echo_n "(cached) " >&6
68290 else
68293 ac_ext=cpp
68294 ac_cpp='$CXXCPP $CPPFLAGS'
68295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68300 /* end confdefs.h. */
68301 #include <math.h>
68303 main ()
68305 _atan2f(0, 0);
68307 return 0;
68309 _ACEOF
68310 if ac_fn_cxx_try_compile "$LINENO"; then :
68311 glibcxx_cv_func__atan2f_use=yes
68312 else
68313 glibcxx_cv_func__atan2f_use=no
68315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68316 ac_ext=c
68317 ac_cpp='$CPP $CPPFLAGS'
68318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68327 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68329 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68330 for ac_func in _atan2f
68331 do :
68332 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68333 if test "x$ac_cv_func__atan2f" = x""yes; then :
68334 cat >>confdefs.h <<_ACEOF
68335 #define HAVE__ATAN2F 1
68336 _ACEOF
68339 done
68348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68349 $as_echo_n "checking for fabsf declaration... " >&6; }
68350 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68351 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68352 $as_echo_n "(cached) " >&6
68353 else
68356 ac_ext=cpp
68357 ac_cpp='$CXXCPP $CPPFLAGS'
68358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68363 /* end confdefs.h. */
68364 #include <math.h>
68365 #ifdef HAVE_IEEEFP_H
68366 #include <ieeefp.h>
68367 #endif
68370 main ()
68372 fabsf(0);
68374 return 0;
68376 _ACEOF
68377 if ac_fn_cxx_try_compile "$LINENO"; then :
68378 glibcxx_cv_func_fabsf_use=yes
68379 else
68380 glibcxx_cv_func_fabsf_use=no
68382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68383 ac_ext=c
68384 ac_cpp='$CPP $CPPFLAGS'
68385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68394 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68396 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68397 for ac_func in fabsf
68398 do :
68399 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68400 if test "x$ac_cv_func_fabsf" = x""yes; then :
68401 cat >>confdefs.h <<_ACEOF
68402 #define HAVE_FABSF 1
68403 _ACEOF
68406 done
68408 else
68410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68411 $as_echo_n "checking for _fabsf declaration... " >&6; }
68412 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68413 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68414 $as_echo_n "(cached) " >&6
68415 else
68418 ac_ext=cpp
68419 ac_cpp='$CXXCPP $CPPFLAGS'
68420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68425 /* end confdefs.h. */
68426 #include <math.h>
68427 #ifdef HAVE_IEEEFP_H
68428 #include <ieeefp.h>
68429 #endif
68432 main ()
68434 _fabsf(0);
68436 return 0;
68438 _ACEOF
68439 if ac_fn_cxx_try_compile "$LINENO"; then :
68440 glibcxx_cv_func__fabsf_use=yes
68441 else
68442 glibcxx_cv_func__fabsf_use=no
68444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68445 ac_ext=c
68446 ac_cpp='$CPP $CPPFLAGS'
68447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68456 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68458 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68459 for ac_func in _fabsf
68460 do :
68461 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68462 if test "x$ac_cv_func__fabsf" = x""yes; then :
68463 cat >>confdefs.h <<_ACEOF
68464 #define HAVE__FABSF 1
68465 _ACEOF
68468 done
68477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68478 $as_echo_n "checking for fmodf declaration... " >&6; }
68479 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68480 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68481 $as_echo_n "(cached) " >&6
68482 else
68485 ac_ext=cpp
68486 ac_cpp='$CXXCPP $CPPFLAGS'
68487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68492 /* end confdefs.h. */
68493 #include <math.h>
68495 main ()
68497 fmodf(0, 0);
68499 return 0;
68501 _ACEOF
68502 if ac_fn_cxx_try_compile "$LINENO"; then :
68503 glibcxx_cv_func_fmodf_use=yes
68504 else
68505 glibcxx_cv_func_fmodf_use=no
68507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68508 ac_ext=c
68509 ac_cpp='$CPP $CPPFLAGS'
68510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68519 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68521 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68522 for ac_func in fmodf
68523 do :
68524 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68525 if test "x$ac_cv_func_fmodf" = x""yes; then :
68526 cat >>confdefs.h <<_ACEOF
68527 #define HAVE_FMODF 1
68528 _ACEOF
68531 done
68533 else
68535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68536 $as_echo_n "checking for _fmodf declaration... " >&6; }
68537 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68538 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68539 $as_echo_n "(cached) " >&6
68540 else
68543 ac_ext=cpp
68544 ac_cpp='$CXXCPP $CPPFLAGS'
68545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68550 /* end confdefs.h. */
68551 #include <math.h>
68553 main ()
68555 _fmodf(0, 0);
68557 return 0;
68559 _ACEOF
68560 if ac_fn_cxx_try_compile "$LINENO"; then :
68561 glibcxx_cv_func__fmodf_use=yes
68562 else
68563 glibcxx_cv_func__fmodf_use=no
68565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68566 ac_ext=c
68567 ac_cpp='$CPP $CPPFLAGS'
68568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68577 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68579 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68580 for ac_func in _fmodf
68581 do :
68582 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68583 if test "x$ac_cv_func__fmodf" = x""yes; then :
68584 cat >>confdefs.h <<_ACEOF
68585 #define HAVE__FMODF 1
68586 _ACEOF
68589 done
68598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68599 $as_echo_n "checking for frexpf declaration... " >&6; }
68600 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68601 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68602 $as_echo_n "(cached) " >&6
68603 else
68606 ac_ext=cpp
68607 ac_cpp='$CXXCPP $CPPFLAGS'
68608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68613 /* end confdefs.h. */
68614 #include <math.h>
68616 main ()
68618 frexpf(0, 0);
68620 return 0;
68622 _ACEOF
68623 if ac_fn_cxx_try_compile "$LINENO"; then :
68624 glibcxx_cv_func_frexpf_use=yes
68625 else
68626 glibcxx_cv_func_frexpf_use=no
68628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68629 ac_ext=c
68630 ac_cpp='$CPP $CPPFLAGS'
68631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68640 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68642 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68643 for ac_func in frexpf
68644 do :
68645 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68646 if test "x$ac_cv_func_frexpf" = x""yes; then :
68647 cat >>confdefs.h <<_ACEOF
68648 #define HAVE_FREXPF 1
68649 _ACEOF
68652 done
68654 else
68656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68657 $as_echo_n "checking for _frexpf declaration... " >&6; }
68658 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68659 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68660 $as_echo_n "(cached) " >&6
68661 else
68664 ac_ext=cpp
68665 ac_cpp='$CXXCPP $CPPFLAGS'
68666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68671 /* end confdefs.h. */
68672 #include <math.h>
68674 main ()
68676 _frexpf(0, 0);
68678 return 0;
68680 _ACEOF
68681 if ac_fn_cxx_try_compile "$LINENO"; then :
68682 glibcxx_cv_func__frexpf_use=yes
68683 else
68684 glibcxx_cv_func__frexpf_use=no
68686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68687 ac_ext=c
68688 ac_cpp='$CPP $CPPFLAGS'
68689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68698 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68700 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68701 for ac_func in _frexpf
68702 do :
68703 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68704 if test "x$ac_cv_func__frexpf" = x""yes; then :
68705 cat >>confdefs.h <<_ACEOF
68706 #define HAVE__FREXPF 1
68707 _ACEOF
68710 done
68719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68720 $as_echo_n "checking for hypotf declaration... " >&6; }
68721 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68722 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68723 $as_echo_n "(cached) " >&6
68724 else
68727 ac_ext=cpp
68728 ac_cpp='$CXXCPP $CPPFLAGS'
68729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68734 /* end confdefs.h. */
68735 #include <math.h>
68737 main ()
68739 hypotf(0, 0);
68741 return 0;
68743 _ACEOF
68744 if ac_fn_cxx_try_compile "$LINENO"; then :
68745 glibcxx_cv_func_hypotf_use=yes
68746 else
68747 glibcxx_cv_func_hypotf_use=no
68749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68750 ac_ext=c
68751 ac_cpp='$CPP $CPPFLAGS'
68752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68761 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68763 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68764 for ac_func in hypotf
68765 do :
68766 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68767 if test "x$ac_cv_func_hypotf" = x""yes; then :
68768 cat >>confdefs.h <<_ACEOF
68769 #define HAVE_HYPOTF 1
68770 _ACEOF
68773 done
68775 else
68777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68778 $as_echo_n "checking for _hypotf declaration... " >&6; }
68779 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68780 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68781 $as_echo_n "(cached) " >&6
68782 else
68785 ac_ext=cpp
68786 ac_cpp='$CXXCPP $CPPFLAGS'
68787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68792 /* end confdefs.h. */
68793 #include <math.h>
68795 main ()
68797 _hypotf(0, 0);
68799 return 0;
68801 _ACEOF
68802 if ac_fn_cxx_try_compile "$LINENO"; then :
68803 glibcxx_cv_func__hypotf_use=yes
68804 else
68805 glibcxx_cv_func__hypotf_use=no
68807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68808 ac_ext=c
68809 ac_cpp='$CPP $CPPFLAGS'
68810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68819 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68821 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68822 for ac_func in _hypotf
68823 do :
68824 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68825 if test "x$ac_cv_func__hypotf" = x""yes; then :
68826 cat >>confdefs.h <<_ACEOF
68827 #define HAVE__HYPOTF 1
68828 _ACEOF
68831 done
68840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68841 $as_echo_n "checking for ldexpf declaration... " >&6; }
68842 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68843 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68844 $as_echo_n "(cached) " >&6
68845 else
68848 ac_ext=cpp
68849 ac_cpp='$CXXCPP $CPPFLAGS'
68850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68855 /* end confdefs.h. */
68856 #include <math.h>
68858 main ()
68860 ldexpf(0, 0);
68862 return 0;
68864 _ACEOF
68865 if ac_fn_cxx_try_compile "$LINENO"; then :
68866 glibcxx_cv_func_ldexpf_use=yes
68867 else
68868 glibcxx_cv_func_ldexpf_use=no
68870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68871 ac_ext=c
68872 ac_cpp='$CPP $CPPFLAGS'
68873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68882 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68884 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68885 for ac_func in ldexpf
68886 do :
68887 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68888 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68889 cat >>confdefs.h <<_ACEOF
68890 #define HAVE_LDEXPF 1
68891 _ACEOF
68894 done
68896 else
68898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68899 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68900 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68901 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68902 $as_echo_n "(cached) " >&6
68903 else
68906 ac_ext=cpp
68907 ac_cpp='$CXXCPP $CPPFLAGS'
68908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68913 /* end confdefs.h. */
68914 #include <math.h>
68916 main ()
68918 _ldexpf(0, 0);
68920 return 0;
68922 _ACEOF
68923 if ac_fn_cxx_try_compile "$LINENO"; then :
68924 glibcxx_cv_func__ldexpf_use=yes
68925 else
68926 glibcxx_cv_func__ldexpf_use=no
68928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68929 ac_ext=c
68930 ac_cpp='$CPP $CPPFLAGS'
68931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68940 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68942 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68943 for ac_func in _ldexpf
68944 do :
68945 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68946 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68947 cat >>confdefs.h <<_ACEOF
68948 #define HAVE__LDEXPF 1
68949 _ACEOF
68952 done
68961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68962 $as_echo_n "checking for logf declaration... " >&6; }
68963 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68964 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68965 $as_echo_n "(cached) " >&6
68966 else
68969 ac_ext=cpp
68970 ac_cpp='$CXXCPP $CPPFLAGS'
68971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68976 /* end confdefs.h. */
68977 #include <math.h>
68978 #ifdef HAVE_IEEEFP_H
68979 #include <ieeefp.h>
68980 #endif
68983 main ()
68985 logf(0);
68987 return 0;
68989 _ACEOF
68990 if ac_fn_cxx_try_compile "$LINENO"; then :
68991 glibcxx_cv_func_logf_use=yes
68992 else
68993 glibcxx_cv_func_logf_use=no
68995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68996 ac_ext=c
68997 ac_cpp='$CPP $CPPFLAGS'
68998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69007 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69009 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69010 for ac_func in logf
69011 do :
69012 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69013 if test "x$ac_cv_func_logf" = x""yes; then :
69014 cat >>confdefs.h <<_ACEOF
69015 #define HAVE_LOGF 1
69016 _ACEOF
69019 done
69021 else
69023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69024 $as_echo_n "checking for _logf declaration... " >&6; }
69025 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69026 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
69027 $as_echo_n "(cached) " >&6
69028 else
69031 ac_ext=cpp
69032 ac_cpp='$CXXCPP $CPPFLAGS'
69033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69038 /* end confdefs.h. */
69039 #include <math.h>
69040 #ifdef HAVE_IEEEFP_H
69041 #include <ieeefp.h>
69042 #endif
69045 main ()
69047 _logf(0);
69049 return 0;
69051 _ACEOF
69052 if ac_fn_cxx_try_compile "$LINENO"; then :
69053 glibcxx_cv_func__logf_use=yes
69054 else
69055 glibcxx_cv_func__logf_use=no
69057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69058 ac_ext=c
69059 ac_cpp='$CPP $CPPFLAGS'
69060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69069 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69071 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69072 for ac_func in _logf
69073 do :
69074 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69075 if test "x$ac_cv_func__logf" = x""yes; then :
69076 cat >>confdefs.h <<_ACEOF
69077 #define HAVE__LOGF 1
69078 _ACEOF
69081 done
69090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69091 $as_echo_n "checking for log10f declaration... " >&6; }
69092 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69093 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69094 $as_echo_n "(cached) " >&6
69095 else
69098 ac_ext=cpp
69099 ac_cpp='$CXXCPP $CPPFLAGS'
69100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69105 /* end confdefs.h. */
69106 #include <math.h>
69107 #ifdef HAVE_IEEEFP_H
69108 #include <ieeefp.h>
69109 #endif
69112 main ()
69114 log10f(0);
69116 return 0;
69118 _ACEOF
69119 if ac_fn_cxx_try_compile "$LINENO"; then :
69120 glibcxx_cv_func_log10f_use=yes
69121 else
69122 glibcxx_cv_func_log10f_use=no
69124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69125 ac_ext=c
69126 ac_cpp='$CPP $CPPFLAGS'
69127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69136 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69138 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69139 for ac_func in log10f
69140 do :
69141 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69142 if test "x$ac_cv_func_log10f" = x""yes; then :
69143 cat >>confdefs.h <<_ACEOF
69144 #define HAVE_LOG10F 1
69145 _ACEOF
69148 done
69150 else
69152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69153 $as_echo_n "checking for _log10f declaration... " >&6; }
69154 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69155 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69156 $as_echo_n "(cached) " >&6
69157 else
69160 ac_ext=cpp
69161 ac_cpp='$CXXCPP $CPPFLAGS'
69162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69167 /* end confdefs.h. */
69168 #include <math.h>
69169 #ifdef HAVE_IEEEFP_H
69170 #include <ieeefp.h>
69171 #endif
69174 main ()
69176 _log10f(0);
69178 return 0;
69180 _ACEOF
69181 if ac_fn_cxx_try_compile "$LINENO"; then :
69182 glibcxx_cv_func__log10f_use=yes
69183 else
69184 glibcxx_cv_func__log10f_use=no
69186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69187 ac_ext=c
69188 ac_cpp='$CPP $CPPFLAGS'
69189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69198 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69200 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69201 for ac_func in _log10f
69202 do :
69203 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69204 if test "x$ac_cv_func__log10f" = x""yes; then :
69205 cat >>confdefs.h <<_ACEOF
69206 #define HAVE__LOG10F 1
69207 _ACEOF
69210 done
69219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69220 $as_echo_n "checking for modff declaration... " >&6; }
69221 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69222 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69223 $as_echo_n "(cached) " >&6
69224 else
69227 ac_ext=cpp
69228 ac_cpp='$CXXCPP $CPPFLAGS'
69229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69234 /* end confdefs.h. */
69235 #include <math.h>
69237 main ()
69239 modff(0, 0);
69241 return 0;
69243 _ACEOF
69244 if ac_fn_cxx_try_compile "$LINENO"; then :
69245 glibcxx_cv_func_modff_use=yes
69246 else
69247 glibcxx_cv_func_modff_use=no
69249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69250 ac_ext=c
69251 ac_cpp='$CPP $CPPFLAGS'
69252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69261 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69263 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69264 for ac_func in modff
69265 do :
69266 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69267 if test "x$ac_cv_func_modff" = x""yes; then :
69268 cat >>confdefs.h <<_ACEOF
69269 #define HAVE_MODFF 1
69270 _ACEOF
69273 done
69275 else
69277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69278 $as_echo_n "checking for _modff declaration... " >&6; }
69279 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69280 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69281 $as_echo_n "(cached) " >&6
69282 else
69285 ac_ext=cpp
69286 ac_cpp='$CXXCPP $CPPFLAGS'
69287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69292 /* end confdefs.h. */
69293 #include <math.h>
69295 main ()
69297 _modff(0, 0);
69299 return 0;
69301 _ACEOF
69302 if ac_fn_cxx_try_compile "$LINENO"; then :
69303 glibcxx_cv_func__modff_use=yes
69304 else
69305 glibcxx_cv_func__modff_use=no
69307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69308 ac_ext=c
69309 ac_cpp='$CPP $CPPFLAGS'
69310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69319 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69321 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69322 for ac_func in _modff
69323 do :
69324 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69325 if test "x$ac_cv_func__modff" = x""yes; then :
69326 cat >>confdefs.h <<_ACEOF
69327 #define HAVE__MODFF 1
69328 _ACEOF
69331 done
69340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69341 $as_echo_n "checking for modf declaration... " >&6; }
69342 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69343 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69344 $as_echo_n "(cached) " >&6
69345 else
69348 ac_ext=cpp
69349 ac_cpp='$CXXCPP $CPPFLAGS'
69350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69355 /* end confdefs.h. */
69356 #include <math.h>
69358 main ()
69360 modf(0, 0);
69362 return 0;
69364 _ACEOF
69365 if ac_fn_cxx_try_compile "$LINENO"; then :
69366 glibcxx_cv_func_modf_use=yes
69367 else
69368 glibcxx_cv_func_modf_use=no
69370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69371 ac_ext=c
69372 ac_cpp='$CPP $CPPFLAGS'
69373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69382 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69384 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69385 for ac_func in modf
69386 do :
69387 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69388 if test "x$ac_cv_func_modf" = x""yes; then :
69389 cat >>confdefs.h <<_ACEOF
69390 #define HAVE_MODF 1
69391 _ACEOF
69394 done
69396 else
69398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69399 $as_echo_n "checking for _modf declaration... " >&6; }
69400 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69401 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69402 $as_echo_n "(cached) " >&6
69403 else
69406 ac_ext=cpp
69407 ac_cpp='$CXXCPP $CPPFLAGS'
69408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69413 /* end confdefs.h. */
69414 #include <math.h>
69416 main ()
69418 _modf(0, 0);
69420 return 0;
69422 _ACEOF
69423 if ac_fn_cxx_try_compile "$LINENO"; then :
69424 glibcxx_cv_func__modf_use=yes
69425 else
69426 glibcxx_cv_func__modf_use=no
69428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69429 ac_ext=c
69430 ac_cpp='$CPP $CPPFLAGS'
69431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69440 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69442 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69443 for ac_func in _modf
69444 do :
69445 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69446 if test "x$ac_cv_func__modf" = x""yes; then :
69447 cat >>confdefs.h <<_ACEOF
69448 #define HAVE__MODF 1
69449 _ACEOF
69452 done
69461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69462 $as_echo_n "checking for powf declaration... " >&6; }
69463 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69464 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69465 $as_echo_n "(cached) " >&6
69466 else
69469 ac_ext=cpp
69470 ac_cpp='$CXXCPP $CPPFLAGS'
69471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69476 /* end confdefs.h. */
69477 #include <math.h>
69479 main ()
69481 powf(0, 0);
69483 return 0;
69485 _ACEOF
69486 if ac_fn_cxx_try_compile "$LINENO"; then :
69487 glibcxx_cv_func_powf_use=yes
69488 else
69489 glibcxx_cv_func_powf_use=no
69491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69492 ac_ext=c
69493 ac_cpp='$CPP $CPPFLAGS'
69494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69503 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69505 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69506 for ac_func in powf
69507 do :
69508 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69509 if test "x$ac_cv_func_powf" = x""yes; then :
69510 cat >>confdefs.h <<_ACEOF
69511 #define HAVE_POWF 1
69512 _ACEOF
69515 done
69517 else
69519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69520 $as_echo_n "checking for _powf declaration... " >&6; }
69521 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69522 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69523 $as_echo_n "(cached) " >&6
69524 else
69527 ac_ext=cpp
69528 ac_cpp='$CXXCPP $CPPFLAGS'
69529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69534 /* end confdefs.h. */
69535 #include <math.h>
69537 main ()
69539 _powf(0, 0);
69541 return 0;
69543 _ACEOF
69544 if ac_fn_cxx_try_compile "$LINENO"; then :
69545 glibcxx_cv_func__powf_use=yes
69546 else
69547 glibcxx_cv_func__powf_use=no
69549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69550 ac_ext=c
69551 ac_cpp='$CPP $CPPFLAGS'
69552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69561 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69563 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69564 for ac_func in _powf
69565 do :
69566 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69567 if test "x$ac_cv_func__powf" = x""yes; then :
69568 cat >>confdefs.h <<_ACEOF
69569 #define HAVE__POWF 1
69570 _ACEOF
69573 done
69582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69583 $as_echo_n "checking for sqrtf declaration... " >&6; }
69584 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69585 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69586 $as_echo_n "(cached) " >&6
69587 else
69590 ac_ext=cpp
69591 ac_cpp='$CXXCPP $CPPFLAGS'
69592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69597 /* end confdefs.h. */
69598 #include <math.h>
69599 #ifdef HAVE_IEEEFP_H
69600 #include <ieeefp.h>
69601 #endif
69604 main ()
69606 sqrtf(0);
69608 return 0;
69610 _ACEOF
69611 if ac_fn_cxx_try_compile "$LINENO"; then :
69612 glibcxx_cv_func_sqrtf_use=yes
69613 else
69614 glibcxx_cv_func_sqrtf_use=no
69616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69617 ac_ext=c
69618 ac_cpp='$CPP $CPPFLAGS'
69619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69628 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69630 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69631 for ac_func in sqrtf
69632 do :
69633 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69634 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69635 cat >>confdefs.h <<_ACEOF
69636 #define HAVE_SQRTF 1
69637 _ACEOF
69640 done
69642 else
69644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69645 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69646 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69647 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69648 $as_echo_n "(cached) " >&6
69649 else
69652 ac_ext=cpp
69653 ac_cpp='$CXXCPP $CPPFLAGS'
69654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69659 /* end confdefs.h. */
69660 #include <math.h>
69661 #ifdef HAVE_IEEEFP_H
69662 #include <ieeefp.h>
69663 #endif
69666 main ()
69668 _sqrtf(0);
69670 return 0;
69672 _ACEOF
69673 if ac_fn_cxx_try_compile "$LINENO"; then :
69674 glibcxx_cv_func__sqrtf_use=yes
69675 else
69676 glibcxx_cv_func__sqrtf_use=no
69678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69679 ac_ext=c
69680 ac_cpp='$CPP $CPPFLAGS'
69681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69690 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69692 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69693 for ac_func in _sqrtf
69694 do :
69695 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69696 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69697 cat >>confdefs.h <<_ACEOF
69698 #define HAVE__SQRTF 1
69699 _ACEOF
69702 done
69711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69712 $as_echo_n "checking for sincosf declaration... " >&6; }
69713 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69714 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69715 $as_echo_n "(cached) " >&6
69716 else
69719 ac_ext=cpp
69720 ac_cpp='$CXXCPP $CPPFLAGS'
69721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69726 /* end confdefs.h. */
69727 #include <math.h>
69729 main ()
69731 sincosf(0, 0, 0);
69733 return 0;
69735 _ACEOF
69736 if ac_fn_cxx_try_compile "$LINENO"; then :
69737 glibcxx_cv_func_sincosf_use=yes
69738 else
69739 glibcxx_cv_func_sincosf_use=no
69741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69742 ac_ext=c
69743 ac_cpp='$CPP $CPPFLAGS'
69744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69753 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69755 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69756 for ac_func in sincosf
69757 do :
69758 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69759 if test "x$ac_cv_func_sincosf" = x""yes; then :
69760 cat >>confdefs.h <<_ACEOF
69761 #define HAVE_SINCOSF 1
69762 _ACEOF
69765 done
69767 else
69769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69770 $as_echo_n "checking for _sincosf declaration... " >&6; }
69771 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69772 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69773 $as_echo_n "(cached) " >&6
69774 else
69777 ac_ext=cpp
69778 ac_cpp='$CXXCPP $CPPFLAGS'
69779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69784 /* end confdefs.h. */
69785 #include <math.h>
69787 main ()
69789 _sincosf(0, 0, 0);
69791 return 0;
69793 _ACEOF
69794 if ac_fn_cxx_try_compile "$LINENO"; then :
69795 glibcxx_cv_func__sincosf_use=yes
69796 else
69797 glibcxx_cv_func__sincosf_use=no
69799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69800 ac_ext=c
69801 ac_cpp='$CPP $CPPFLAGS'
69802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69811 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69813 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69814 for ac_func in _sincosf
69815 do :
69816 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69817 if test "x$ac_cv_func__sincosf" = x""yes; then :
69818 cat >>confdefs.h <<_ACEOF
69819 #define HAVE__SINCOSF 1
69820 _ACEOF
69823 done
69832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69833 $as_echo_n "checking for finitef declaration... " >&6; }
69834 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69835 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69836 $as_echo_n "(cached) " >&6
69837 else
69840 ac_ext=cpp
69841 ac_cpp='$CXXCPP $CPPFLAGS'
69842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69847 /* end confdefs.h. */
69848 #include <math.h>
69849 #ifdef HAVE_IEEEFP_H
69850 #include <ieeefp.h>
69851 #endif
69854 main ()
69856 finitef(0);
69858 return 0;
69860 _ACEOF
69861 if ac_fn_cxx_try_compile "$LINENO"; then :
69862 glibcxx_cv_func_finitef_use=yes
69863 else
69864 glibcxx_cv_func_finitef_use=no
69866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69867 ac_ext=c
69868 ac_cpp='$CPP $CPPFLAGS'
69869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69878 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69880 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69881 for ac_func in finitef
69882 do :
69883 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69884 if test "x$ac_cv_func_finitef" = x""yes; then :
69885 cat >>confdefs.h <<_ACEOF
69886 #define HAVE_FINITEF 1
69887 _ACEOF
69890 done
69892 else
69894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69895 $as_echo_n "checking for _finitef declaration... " >&6; }
69896 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69897 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69898 $as_echo_n "(cached) " >&6
69899 else
69902 ac_ext=cpp
69903 ac_cpp='$CXXCPP $CPPFLAGS'
69904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69909 /* end confdefs.h. */
69910 #include <math.h>
69911 #ifdef HAVE_IEEEFP_H
69912 #include <ieeefp.h>
69913 #endif
69916 main ()
69918 _finitef(0);
69920 return 0;
69922 _ACEOF
69923 if ac_fn_cxx_try_compile "$LINENO"; then :
69924 glibcxx_cv_func__finitef_use=yes
69925 else
69926 glibcxx_cv_func__finitef_use=no
69928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69929 ac_ext=c
69930 ac_cpp='$CPP $CPPFLAGS'
69931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69940 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69942 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69943 for ac_func in _finitef
69944 do :
69945 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69946 if test "x$ac_cv_func__finitef" = x""yes; then :
69947 cat >>confdefs.h <<_ACEOF
69948 #define HAVE__FINITEF 1
69949 _ACEOF
69952 done
69961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69962 $as_echo_n "checking for long double trig functions... " >&6; }
69963 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69964 $as_echo_n "(cached) " >&6
69965 else
69968 ac_ext=cpp
69969 ac_cpp='$CXXCPP $CPPFLAGS'
69970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69975 /* end confdefs.h. */
69976 #include <math.h>
69978 main ()
69980 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69982 return 0;
69984 _ACEOF
69985 if ac_fn_cxx_try_compile "$LINENO"; then :
69986 glibcxx_cv_func_long_double_trig_use=yes
69987 else
69988 glibcxx_cv_func_long_double_trig_use=no
69990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69991 ac_ext=c
69992 ac_cpp='$CPP $CPPFLAGS'
69993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70000 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70001 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70002 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70003 do :
70004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70006 eval as_val=\$$as_ac_var
70007 if test "x$as_val" = x""yes; then :
70008 cat >>confdefs.h <<_ACEOF
70009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70010 _ACEOF
70013 done
70015 else
70016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70017 $as_echo_n "checking for _long double trig functions... " >&6; }
70018 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
70019 $as_echo_n "(cached) " >&6
70020 else
70023 ac_ext=cpp
70024 ac_cpp='$CXXCPP $CPPFLAGS'
70025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70030 /* end confdefs.h. */
70031 #include <math.h>
70033 main ()
70035 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70037 return 0;
70039 _ACEOF
70040 if ac_fn_cxx_try_compile "$LINENO"; then :
70041 glibcxx_cv_func__long_double_trig_use=yes
70042 else
70043 glibcxx_cv_func__long_double_trig_use=no
70045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70046 ac_ext=c
70047 ac_cpp='$CPP $CPPFLAGS'
70048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70055 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70056 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70057 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70058 do :
70059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70061 eval as_val=\$$as_ac_var
70062 if test "x$as_val" = x""yes; then :
70063 cat >>confdefs.h <<_ACEOF
70064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70065 _ACEOF
70068 done
70077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70078 $as_echo_n "checking for long double round functions... " >&6; }
70079 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70080 $as_echo_n "(cached) " >&6
70081 else
70084 ac_ext=cpp
70085 ac_cpp='$CXXCPP $CPPFLAGS'
70086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70091 /* end confdefs.h. */
70092 #include <math.h>
70094 main ()
70096 ceill (0); floorl (0);
70098 return 0;
70100 _ACEOF
70101 if ac_fn_cxx_try_compile "$LINENO"; then :
70102 glibcxx_cv_func_long_double_round_use=yes
70103 else
70104 glibcxx_cv_func_long_double_round_use=no
70106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70107 ac_ext=c
70108 ac_cpp='$CPP $CPPFLAGS'
70109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70116 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70117 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70118 for ac_func in ceill floorl
70119 do :
70120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70122 eval as_val=\$$as_ac_var
70123 if test "x$as_val" = x""yes; then :
70124 cat >>confdefs.h <<_ACEOF
70125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70126 _ACEOF
70129 done
70131 else
70132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70133 $as_echo_n "checking for _long double round functions... " >&6; }
70134 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70135 $as_echo_n "(cached) " >&6
70136 else
70139 ac_ext=cpp
70140 ac_cpp='$CXXCPP $CPPFLAGS'
70141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70146 /* end confdefs.h. */
70147 #include <math.h>
70149 main ()
70151 _ceill (0); _floorl (0);
70153 return 0;
70155 _ACEOF
70156 if ac_fn_cxx_try_compile "$LINENO"; then :
70157 glibcxx_cv_func__long_double_round_use=yes
70158 else
70159 glibcxx_cv_func__long_double_round_use=no
70161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70162 ac_ext=c
70163 ac_cpp='$CPP $CPPFLAGS'
70164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70171 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70172 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70173 for ac_func in _ceill _floorl
70174 do :
70175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70177 eval as_val=\$$as_ac_var
70178 if test "x$as_val" = x""yes; then :
70179 cat >>confdefs.h <<_ACEOF
70180 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70181 _ACEOF
70184 done
70194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70195 $as_echo_n "checking for isnanl declaration... " >&6; }
70196 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70197 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70198 $as_echo_n "(cached) " >&6
70199 else
70202 ac_ext=cpp
70203 ac_cpp='$CXXCPP $CPPFLAGS'
70204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70209 /* end confdefs.h. */
70210 #include <math.h>
70211 #ifdef HAVE_IEEEFP_H
70212 #include <ieeefp.h>
70213 #endif
70216 main ()
70218 isnanl(0);
70220 return 0;
70222 _ACEOF
70223 if ac_fn_cxx_try_compile "$LINENO"; then :
70224 glibcxx_cv_func_isnanl_use=yes
70225 else
70226 glibcxx_cv_func_isnanl_use=no
70228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70229 ac_ext=c
70230 ac_cpp='$CPP $CPPFLAGS'
70231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70240 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70242 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70243 for ac_func in isnanl
70244 do :
70245 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70246 if test "x$ac_cv_func_isnanl" = x""yes; then :
70247 cat >>confdefs.h <<_ACEOF
70248 #define HAVE_ISNANL 1
70249 _ACEOF
70252 done
70254 else
70256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70257 $as_echo_n "checking for _isnanl declaration... " >&6; }
70258 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70259 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70260 $as_echo_n "(cached) " >&6
70261 else
70264 ac_ext=cpp
70265 ac_cpp='$CXXCPP $CPPFLAGS'
70266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70271 /* end confdefs.h. */
70272 #include <math.h>
70273 #ifdef HAVE_IEEEFP_H
70274 #include <ieeefp.h>
70275 #endif
70278 main ()
70280 _isnanl(0);
70282 return 0;
70284 _ACEOF
70285 if ac_fn_cxx_try_compile "$LINENO"; then :
70286 glibcxx_cv_func__isnanl_use=yes
70287 else
70288 glibcxx_cv_func__isnanl_use=no
70290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70291 ac_ext=c
70292 ac_cpp='$CPP $CPPFLAGS'
70293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70302 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70304 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70305 for ac_func in _isnanl
70306 do :
70307 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70308 if test "x$ac_cv_func__isnanl" = x""yes; then :
70309 cat >>confdefs.h <<_ACEOF
70310 #define HAVE__ISNANL 1
70311 _ACEOF
70314 done
70323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70324 $as_echo_n "checking for isinfl declaration... " >&6; }
70325 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70326 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70327 $as_echo_n "(cached) " >&6
70328 else
70331 ac_ext=cpp
70332 ac_cpp='$CXXCPP $CPPFLAGS'
70333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70338 /* end confdefs.h. */
70339 #include <math.h>
70340 #ifdef HAVE_IEEEFP_H
70341 #include <ieeefp.h>
70342 #endif
70345 main ()
70347 isinfl(0);
70349 return 0;
70351 _ACEOF
70352 if ac_fn_cxx_try_compile "$LINENO"; then :
70353 glibcxx_cv_func_isinfl_use=yes
70354 else
70355 glibcxx_cv_func_isinfl_use=no
70357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70358 ac_ext=c
70359 ac_cpp='$CPP $CPPFLAGS'
70360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70369 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70371 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70372 for ac_func in isinfl
70373 do :
70374 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70375 if test "x$ac_cv_func_isinfl" = x""yes; then :
70376 cat >>confdefs.h <<_ACEOF
70377 #define HAVE_ISINFL 1
70378 _ACEOF
70381 done
70383 else
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70386 $as_echo_n "checking for _isinfl declaration... " >&6; }
70387 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70388 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70389 $as_echo_n "(cached) " >&6
70390 else
70393 ac_ext=cpp
70394 ac_cpp='$CXXCPP $CPPFLAGS'
70395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70400 /* end confdefs.h. */
70401 #include <math.h>
70402 #ifdef HAVE_IEEEFP_H
70403 #include <ieeefp.h>
70404 #endif
70407 main ()
70409 _isinfl(0);
70411 return 0;
70413 _ACEOF
70414 if ac_fn_cxx_try_compile "$LINENO"; then :
70415 glibcxx_cv_func__isinfl_use=yes
70416 else
70417 glibcxx_cv_func__isinfl_use=no
70419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70420 ac_ext=c
70421 ac_cpp='$CPP $CPPFLAGS'
70422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70431 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70433 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70434 for ac_func in _isinfl
70435 do :
70436 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70437 if test "x$ac_cv_func__isinfl" = x""yes; then :
70438 cat >>confdefs.h <<_ACEOF
70439 #define HAVE__ISINFL 1
70440 _ACEOF
70443 done
70452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70453 $as_echo_n "checking for atan2l declaration... " >&6; }
70454 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70455 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70456 $as_echo_n "(cached) " >&6
70457 else
70460 ac_ext=cpp
70461 ac_cpp='$CXXCPP $CPPFLAGS'
70462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70467 /* end confdefs.h. */
70468 #include <math.h>
70470 main ()
70472 atan2l(0, 0);
70474 return 0;
70476 _ACEOF
70477 if ac_fn_cxx_try_compile "$LINENO"; then :
70478 glibcxx_cv_func_atan2l_use=yes
70479 else
70480 glibcxx_cv_func_atan2l_use=no
70482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70483 ac_ext=c
70484 ac_cpp='$CPP $CPPFLAGS'
70485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70494 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70496 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70497 for ac_func in atan2l
70498 do :
70499 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70500 if test "x$ac_cv_func_atan2l" = x""yes; then :
70501 cat >>confdefs.h <<_ACEOF
70502 #define HAVE_ATAN2L 1
70503 _ACEOF
70506 done
70508 else
70510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70511 $as_echo_n "checking for _atan2l declaration... " >&6; }
70512 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70513 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70514 $as_echo_n "(cached) " >&6
70515 else
70518 ac_ext=cpp
70519 ac_cpp='$CXXCPP $CPPFLAGS'
70520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70525 /* end confdefs.h. */
70526 #include <math.h>
70528 main ()
70530 _atan2l(0, 0);
70532 return 0;
70534 _ACEOF
70535 if ac_fn_cxx_try_compile "$LINENO"; then :
70536 glibcxx_cv_func__atan2l_use=yes
70537 else
70538 glibcxx_cv_func__atan2l_use=no
70540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70541 ac_ext=c
70542 ac_cpp='$CPP $CPPFLAGS'
70543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70552 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70554 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70555 for ac_func in _atan2l
70556 do :
70557 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70558 if test "x$ac_cv_func__atan2l" = x""yes; then :
70559 cat >>confdefs.h <<_ACEOF
70560 #define HAVE__ATAN2L 1
70561 _ACEOF
70564 done
70573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70574 $as_echo_n "checking for expl declaration... " >&6; }
70575 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70576 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70577 $as_echo_n "(cached) " >&6
70578 else
70581 ac_ext=cpp
70582 ac_cpp='$CXXCPP $CPPFLAGS'
70583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70588 /* end confdefs.h. */
70589 #include <math.h>
70590 #ifdef HAVE_IEEEFP_H
70591 #include <ieeefp.h>
70592 #endif
70595 main ()
70597 expl(0);
70599 return 0;
70601 _ACEOF
70602 if ac_fn_cxx_try_compile "$LINENO"; then :
70603 glibcxx_cv_func_expl_use=yes
70604 else
70605 glibcxx_cv_func_expl_use=no
70607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70608 ac_ext=c
70609 ac_cpp='$CPP $CPPFLAGS'
70610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70619 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70621 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70622 for ac_func in expl
70623 do :
70624 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70625 if test "x$ac_cv_func_expl" = x""yes; then :
70626 cat >>confdefs.h <<_ACEOF
70627 #define HAVE_EXPL 1
70628 _ACEOF
70631 done
70633 else
70635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70636 $as_echo_n "checking for _expl declaration... " >&6; }
70637 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70638 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70639 $as_echo_n "(cached) " >&6
70640 else
70643 ac_ext=cpp
70644 ac_cpp='$CXXCPP $CPPFLAGS'
70645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70650 /* end confdefs.h. */
70651 #include <math.h>
70652 #ifdef HAVE_IEEEFP_H
70653 #include <ieeefp.h>
70654 #endif
70657 main ()
70659 _expl(0);
70661 return 0;
70663 _ACEOF
70664 if ac_fn_cxx_try_compile "$LINENO"; then :
70665 glibcxx_cv_func__expl_use=yes
70666 else
70667 glibcxx_cv_func__expl_use=no
70669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70670 ac_ext=c
70671 ac_cpp='$CPP $CPPFLAGS'
70672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70681 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70683 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70684 for ac_func in _expl
70685 do :
70686 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70687 if test "x$ac_cv_func__expl" = x""yes; then :
70688 cat >>confdefs.h <<_ACEOF
70689 #define HAVE__EXPL 1
70690 _ACEOF
70693 done
70702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70703 $as_echo_n "checking for fabsl declaration... " >&6; }
70704 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70705 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70706 $as_echo_n "(cached) " >&6
70707 else
70710 ac_ext=cpp
70711 ac_cpp='$CXXCPP $CPPFLAGS'
70712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70717 /* end confdefs.h. */
70718 #include <math.h>
70719 #ifdef HAVE_IEEEFP_H
70720 #include <ieeefp.h>
70721 #endif
70724 main ()
70726 fabsl(0);
70728 return 0;
70730 _ACEOF
70731 if ac_fn_cxx_try_compile "$LINENO"; then :
70732 glibcxx_cv_func_fabsl_use=yes
70733 else
70734 glibcxx_cv_func_fabsl_use=no
70736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70737 ac_ext=c
70738 ac_cpp='$CPP $CPPFLAGS'
70739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70748 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70750 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70751 for ac_func in fabsl
70752 do :
70753 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70754 if test "x$ac_cv_func_fabsl" = x""yes; then :
70755 cat >>confdefs.h <<_ACEOF
70756 #define HAVE_FABSL 1
70757 _ACEOF
70760 done
70762 else
70764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70765 $as_echo_n "checking for _fabsl declaration... " >&6; }
70766 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70767 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70768 $as_echo_n "(cached) " >&6
70769 else
70772 ac_ext=cpp
70773 ac_cpp='$CXXCPP $CPPFLAGS'
70774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70779 /* end confdefs.h. */
70780 #include <math.h>
70781 #ifdef HAVE_IEEEFP_H
70782 #include <ieeefp.h>
70783 #endif
70786 main ()
70788 _fabsl(0);
70790 return 0;
70792 _ACEOF
70793 if ac_fn_cxx_try_compile "$LINENO"; then :
70794 glibcxx_cv_func__fabsl_use=yes
70795 else
70796 glibcxx_cv_func__fabsl_use=no
70798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70799 ac_ext=c
70800 ac_cpp='$CPP $CPPFLAGS'
70801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70810 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70812 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70813 for ac_func in _fabsl
70814 do :
70815 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70816 if test "x$ac_cv_func__fabsl" = x""yes; then :
70817 cat >>confdefs.h <<_ACEOF
70818 #define HAVE__FABSL 1
70819 _ACEOF
70822 done
70831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70832 $as_echo_n "checking for fmodl declaration... " >&6; }
70833 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70834 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70835 $as_echo_n "(cached) " >&6
70836 else
70839 ac_ext=cpp
70840 ac_cpp='$CXXCPP $CPPFLAGS'
70841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70846 /* end confdefs.h. */
70847 #include <math.h>
70849 main ()
70851 fmodl(0, 0);
70853 return 0;
70855 _ACEOF
70856 if ac_fn_cxx_try_compile "$LINENO"; then :
70857 glibcxx_cv_func_fmodl_use=yes
70858 else
70859 glibcxx_cv_func_fmodl_use=no
70861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70862 ac_ext=c
70863 ac_cpp='$CPP $CPPFLAGS'
70864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70873 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70875 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70876 for ac_func in fmodl
70877 do :
70878 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70879 if test "x$ac_cv_func_fmodl" = x""yes; then :
70880 cat >>confdefs.h <<_ACEOF
70881 #define HAVE_FMODL 1
70882 _ACEOF
70885 done
70887 else
70889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70890 $as_echo_n "checking for _fmodl declaration... " >&6; }
70891 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70892 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70893 $as_echo_n "(cached) " >&6
70894 else
70897 ac_ext=cpp
70898 ac_cpp='$CXXCPP $CPPFLAGS'
70899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70904 /* end confdefs.h. */
70905 #include <math.h>
70907 main ()
70909 _fmodl(0, 0);
70911 return 0;
70913 _ACEOF
70914 if ac_fn_cxx_try_compile "$LINENO"; then :
70915 glibcxx_cv_func__fmodl_use=yes
70916 else
70917 glibcxx_cv_func__fmodl_use=no
70919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70920 ac_ext=c
70921 ac_cpp='$CPP $CPPFLAGS'
70922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70931 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70933 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70934 for ac_func in _fmodl
70935 do :
70936 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70937 if test "x$ac_cv_func__fmodl" = x""yes; then :
70938 cat >>confdefs.h <<_ACEOF
70939 #define HAVE__FMODL 1
70940 _ACEOF
70943 done
70952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70953 $as_echo_n "checking for frexpl declaration... " >&6; }
70954 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70955 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70956 $as_echo_n "(cached) " >&6
70957 else
70960 ac_ext=cpp
70961 ac_cpp='$CXXCPP $CPPFLAGS'
70962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70967 /* end confdefs.h. */
70968 #include <math.h>
70970 main ()
70972 frexpl(0, 0);
70974 return 0;
70976 _ACEOF
70977 if ac_fn_cxx_try_compile "$LINENO"; then :
70978 glibcxx_cv_func_frexpl_use=yes
70979 else
70980 glibcxx_cv_func_frexpl_use=no
70982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70983 ac_ext=c
70984 ac_cpp='$CPP $CPPFLAGS'
70985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70994 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70996 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70997 for ac_func in frexpl
70998 do :
70999 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71000 if test "x$ac_cv_func_frexpl" = x""yes; then :
71001 cat >>confdefs.h <<_ACEOF
71002 #define HAVE_FREXPL 1
71003 _ACEOF
71006 done
71008 else
71010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71011 $as_echo_n "checking for _frexpl declaration... " >&6; }
71012 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71013 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
71014 $as_echo_n "(cached) " >&6
71015 else
71018 ac_ext=cpp
71019 ac_cpp='$CXXCPP $CPPFLAGS'
71020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71025 /* end confdefs.h. */
71026 #include <math.h>
71028 main ()
71030 _frexpl(0, 0);
71032 return 0;
71034 _ACEOF
71035 if ac_fn_cxx_try_compile "$LINENO"; then :
71036 glibcxx_cv_func__frexpl_use=yes
71037 else
71038 glibcxx_cv_func__frexpl_use=no
71040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71041 ac_ext=c
71042 ac_cpp='$CPP $CPPFLAGS'
71043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71052 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71054 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71055 for ac_func in _frexpl
71056 do :
71057 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71058 if test "x$ac_cv_func__frexpl" = x""yes; then :
71059 cat >>confdefs.h <<_ACEOF
71060 #define HAVE__FREXPL 1
71061 _ACEOF
71064 done
71073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71074 $as_echo_n "checking for hypotl declaration... " >&6; }
71075 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71076 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71077 $as_echo_n "(cached) " >&6
71078 else
71081 ac_ext=cpp
71082 ac_cpp='$CXXCPP $CPPFLAGS'
71083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71088 /* end confdefs.h. */
71089 #include <math.h>
71091 main ()
71093 hypotl(0, 0);
71095 return 0;
71097 _ACEOF
71098 if ac_fn_cxx_try_compile "$LINENO"; then :
71099 glibcxx_cv_func_hypotl_use=yes
71100 else
71101 glibcxx_cv_func_hypotl_use=no
71103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71104 ac_ext=c
71105 ac_cpp='$CPP $CPPFLAGS'
71106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71115 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71117 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71118 for ac_func in hypotl
71119 do :
71120 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71121 if test "x$ac_cv_func_hypotl" = x""yes; then :
71122 cat >>confdefs.h <<_ACEOF
71123 #define HAVE_HYPOTL 1
71124 _ACEOF
71127 done
71129 else
71131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71132 $as_echo_n "checking for _hypotl declaration... " >&6; }
71133 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71134 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71135 $as_echo_n "(cached) " >&6
71136 else
71139 ac_ext=cpp
71140 ac_cpp='$CXXCPP $CPPFLAGS'
71141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71146 /* end confdefs.h. */
71147 #include <math.h>
71149 main ()
71151 _hypotl(0, 0);
71153 return 0;
71155 _ACEOF
71156 if ac_fn_cxx_try_compile "$LINENO"; then :
71157 glibcxx_cv_func__hypotl_use=yes
71158 else
71159 glibcxx_cv_func__hypotl_use=no
71161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71162 ac_ext=c
71163 ac_cpp='$CPP $CPPFLAGS'
71164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71173 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71175 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71176 for ac_func in _hypotl
71177 do :
71178 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71179 if test "x$ac_cv_func__hypotl" = x""yes; then :
71180 cat >>confdefs.h <<_ACEOF
71181 #define HAVE__HYPOTL 1
71182 _ACEOF
71185 done
71194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71195 $as_echo_n "checking for ldexpl declaration... " >&6; }
71196 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71197 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71198 $as_echo_n "(cached) " >&6
71199 else
71202 ac_ext=cpp
71203 ac_cpp='$CXXCPP $CPPFLAGS'
71204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71209 /* end confdefs.h. */
71210 #include <math.h>
71212 main ()
71214 ldexpl(0, 0);
71216 return 0;
71218 _ACEOF
71219 if ac_fn_cxx_try_compile "$LINENO"; then :
71220 glibcxx_cv_func_ldexpl_use=yes
71221 else
71222 glibcxx_cv_func_ldexpl_use=no
71224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71225 ac_ext=c
71226 ac_cpp='$CPP $CPPFLAGS'
71227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71236 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71238 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71239 for ac_func in ldexpl
71240 do :
71241 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71242 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71243 cat >>confdefs.h <<_ACEOF
71244 #define HAVE_LDEXPL 1
71245 _ACEOF
71248 done
71250 else
71252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71253 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71254 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71255 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71256 $as_echo_n "(cached) " >&6
71257 else
71260 ac_ext=cpp
71261 ac_cpp='$CXXCPP $CPPFLAGS'
71262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71267 /* end confdefs.h. */
71268 #include <math.h>
71270 main ()
71272 _ldexpl(0, 0);
71274 return 0;
71276 _ACEOF
71277 if ac_fn_cxx_try_compile "$LINENO"; then :
71278 glibcxx_cv_func__ldexpl_use=yes
71279 else
71280 glibcxx_cv_func__ldexpl_use=no
71282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71283 ac_ext=c
71284 ac_cpp='$CPP $CPPFLAGS'
71285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71294 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71296 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71297 for ac_func in _ldexpl
71298 do :
71299 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71300 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71301 cat >>confdefs.h <<_ACEOF
71302 #define HAVE__LDEXPL 1
71303 _ACEOF
71306 done
71315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71316 $as_echo_n "checking for logl declaration... " >&6; }
71317 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71318 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71319 $as_echo_n "(cached) " >&6
71320 else
71323 ac_ext=cpp
71324 ac_cpp='$CXXCPP $CPPFLAGS'
71325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71330 /* end confdefs.h. */
71331 #include <math.h>
71332 #ifdef HAVE_IEEEFP_H
71333 #include <ieeefp.h>
71334 #endif
71337 main ()
71339 logl(0);
71341 return 0;
71343 _ACEOF
71344 if ac_fn_cxx_try_compile "$LINENO"; then :
71345 glibcxx_cv_func_logl_use=yes
71346 else
71347 glibcxx_cv_func_logl_use=no
71349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71350 ac_ext=c
71351 ac_cpp='$CPP $CPPFLAGS'
71352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71361 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71363 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71364 for ac_func in logl
71365 do :
71366 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71367 if test "x$ac_cv_func_logl" = x""yes; then :
71368 cat >>confdefs.h <<_ACEOF
71369 #define HAVE_LOGL 1
71370 _ACEOF
71373 done
71375 else
71377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71378 $as_echo_n "checking for _logl declaration... " >&6; }
71379 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71380 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71381 $as_echo_n "(cached) " >&6
71382 else
71385 ac_ext=cpp
71386 ac_cpp='$CXXCPP $CPPFLAGS'
71387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71392 /* end confdefs.h. */
71393 #include <math.h>
71394 #ifdef HAVE_IEEEFP_H
71395 #include <ieeefp.h>
71396 #endif
71399 main ()
71401 _logl(0);
71403 return 0;
71405 _ACEOF
71406 if ac_fn_cxx_try_compile "$LINENO"; then :
71407 glibcxx_cv_func__logl_use=yes
71408 else
71409 glibcxx_cv_func__logl_use=no
71411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71412 ac_ext=c
71413 ac_cpp='$CPP $CPPFLAGS'
71414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71423 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71425 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71426 for ac_func in _logl
71427 do :
71428 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71429 if test "x$ac_cv_func__logl" = x""yes; then :
71430 cat >>confdefs.h <<_ACEOF
71431 #define HAVE__LOGL 1
71432 _ACEOF
71435 done
71444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71445 $as_echo_n "checking for log10l declaration... " >&6; }
71446 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71447 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71448 $as_echo_n "(cached) " >&6
71449 else
71452 ac_ext=cpp
71453 ac_cpp='$CXXCPP $CPPFLAGS'
71454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71459 /* end confdefs.h. */
71460 #include <math.h>
71461 #ifdef HAVE_IEEEFP_H
71462 #include <ieeefp.h>
71463 #endif
71466 main ()
71468 log10l(0);
71470 return 0;
71472 _ACEOF
71473 if ac_fn_cxx_try_compile "$LINENO"; then :
71474 glibcxx_cv_func_log10l_use=yes
71475 else
71476 glibcxx_cv_func_log10l_use=no
71478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71479 ac_ext=c
71480 ac_cpp='$CPP $CPPFLAGS'
71481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71490 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71492 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71493 for ac_func in log10l
71494 do :
71495 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71496 if test "x$ac_cv_func_log10l" = x""yes; then :
71497 cat >>confdefs.h <<_ACEOF
71498 #define HAVE_LOG10L 1
71499 _ACEOF
71502 done
71504 else
71506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71507 $as_echo_n "checking for _log10l declaration... " >&6; }
71508 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71509 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71510 $as_echo_n "(cached) " >&6
71511 else
71514 ac_ext=cpp
71515 ac_cpp='$CXXCPP $CPPFLAGS'
71516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71521 /* end confdefs.h. */
71522 #include <math.h>
71523 #ifdef HAVE_IEEEFP_H
71524 #include <ieeefp.h>
71525 #endif
71528 main ()
71530 _log10l(0);
71532 return 0;
71534 _ACEOF
71535 if ac_fn_cxx_try_compile "$LINENO"; then :
71536 glibcxx_cv_func__log10l_use=yes
71537 else
71538 glibcxx_cv_func__log10l_use=no
71540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71541 ac_ext=c
71542 ac_cpp='$CPP $CPPFLAGS'
71543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71552 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71554 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71555 for ac_func in _log10l
71556 do :
71557 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71558 if test "x$ac_cv_func__log10l" = x""yes; then :
71559 cat >>confdefs.h <<_ACEOF
71560 #define HAVE__LOG10L 1
71561 _ACEOF
71564 done
71573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71574 $as_echo_n "checking for modfl declaration... " >&6; }
71575 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71576 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71577 $as_echo_n "(cached) " >&6
71578 else
71581 ac_ext=cpp
71582 ac_cpp='$CXXCPP $CPPFLAGS'
71583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71588 /* end confdefs.h. */
71589 #include <math.h>
71591 main ()
71593 modfl(0, 0);
71595 return 0;
71597 _ACEOF
71598 if ac_fn_cxx_try_compile "$LINENO"; then :
71599 glibcxx_cv_func_modfl_use=yes
71600 else
71601 glibcxx_cv_func_modfl_use=no
71603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71604 ac_ext=c
71605 ac_cpp='$CPP $CPPFLAGS'
71606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71615 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71617 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71618 for ac_func in modfl
71619 do :
71620 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71621 if test "x$ac_cv_func_modfl" = x""yes; then :
71622 cat >>confdefs.h <<_ACEOF
71623 #define HAVE_MODFL 1
71624 _ACEOF
71627 done
71629 else
71631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71632 $as_echo_n "checking for _modfl declaration... " >&6; }
71633 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71634 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71635 $as_echo_n "(cached) " >&6
71636 else
71639 ac_ext=cpp
71640 ac_cpp='$CXXCPP $CPPFLAGS'
71641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71646 /* end confdefs.h. */
71647 #include <math.h>
71649 main ()
71651 _modfl(0, 0);
71653 return 0;
71655 _ACEOF
71656 if ac_fn_cxx_try_compile "$LINENO"; then :
71657 glibcxx_cv_func__modfl_use=yes
71658 else
71659 glibcxx_cv_func__modfl_use=no
71661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71662 ac_ext=c
71663 ac_cpp='$CPP $CPPFLAGS'
71664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71673 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71675 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71676 for ac_func in _modfl
71677 do :
71678 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71679 if test "x$ac_cv_func__modfl" = x""yes; then :
71680 cat >>confdefs.h <<_ACEOF
71681 #define HAVE__MODFL 1
71682 _ACEOF
71685 done
71694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71695 $as_echo_n "checking for powl declaration... " >&6; }
71696 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71697 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71698 $as_echo_n "(cached) " >&6
71699 else
71702 ac_ext=cpp
71703 ac_cpp='$CXXCPP $CPPFLAGS'
71704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71709 /* end confdefs.h. */
71710 #include <math.h>
71712 main ()
71714 powl(0, 0);
71716 return 0;
71718 _ACEOF
71719 if ac_fn_cxx_try_compile "$LINENO"; then :
71720 glibcxx_cv_func_powl_use=yes
71721 else
71722 glibcxx_cv_func_powl_use=no
71724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71725 ac_ext=c
71726 ac_cpp='$CPP $CPPFLAGS'
71727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71736 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71738 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71739 for ac_func in powl
71740 do :
71741 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71742 if test "x$ac_cv_func_powl" = x""yes; then :
71743 cat >>confdefs.h <<_ACEOF
71744 #define HAVE_POWL 1
71745 _ACEOF
71748 done
71750 else
71752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71753 $as_echo_n "checking for _powl declaration... " >&6; }
71754 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71755 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71756 $as_echo_n "(cached) " >&6
71757 else
71760 ac_ext=cpp
71761 ac_cpp='$CXXCPP $CPPFLAGS'
71762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71767 /* end confdefs.h. */
71768 #include <math.h>
71770 main ()
71772 _powl(0, 0);
71774 return 0;
71776 _ACEOF
71777 if ac_fn_cxx_try_compile "$LINENO"; then :
71778 glibcxx_cv_func__powl_use=yes
71779 else
71780 glibcxx_cv_func__powl_use=no
71782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71783 ac_ext=c
71784 ac_cpp='$CPP $CPPFLAGS'
71785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71794 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71796 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71797 for ac_func in _powl
71798 do :
71799 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71800 if test "x$ac_cv_func__powl" = x""yes; then :
71801 cat >>confdefs.h <<_ACEOF
71802 #define HAVE__POWL 1
71803 _ACEOF
71806 done
71815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71816 $as_echo_n "checking for sqrtl declaration... " >&6; }
71817 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71818 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71819 $as_echo_n "(cached) " >&6
71820 else
71823 ac_ext=cpp
71824 ac_cpp='$CXXCPP $CPPFLAGS'
71825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71830 /* end confdefs.h. */
71831 #include <math.h>
71832 #ifdef HAVE_IEEEFP_H
71833 #include <ieeefp.h>
71834 #endif
71837 main ()
71839 sqrtl(0);
71841 return 0;
71843 _ACEOF
71844 if ac_fn_cxx_try_compile "$LINENO"; then :
71845 glibcxx_cv_func_sqrtl_use=yes
71846 else
71847 glibcxx_cv_func_sqrtl_use=no
71849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71850 ac_ext=c
71851 ac_cpp='$CPP $CPPFLAGS'
71852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71861 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71863 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71864 for ac_func in sqrtl
71865 do :
71866 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71867 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71868 cat >>confdefs.h <<_ACEOF
71869 #define HAVE_SQRTL 1
71870 _ACEOF
71873 done
71875 else
71877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71878 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71879 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71880 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71881 $as_echo_n "(cached) " >&6
71882 else
71885 ac_ext=cpp
71886 ac_cpp='$CXXCPP $CPPFLAGS'
71887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71892 /* end confdefs.h. */
71893 #include <math.h>
71894 #ifdef HAVE_IEEEFP_H
71895 #include <ieeefp.h>
71896 #endif
71899 main ()
71901 _sqrtl(0);
71903 return 0;
71905 _ACEOF
71906 if ac_fn_cxx_try_compile "$LINENO"; then :
71907 glibcxx_cv_func__sqrtl_use=yes
71908 else
71909 glibcxx_cv_func__sqrtl_use=no
71911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71912 ac_ext=c
71913 ac_cpp='$CPP $CPPFLAGS'
71914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71923 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71925 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71926 for ac_func in _sqrtl
71927 do :
71928 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71929 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71930 cat >>confdefs.h <<_ACEOF
71931 #define HAVE__SQRTL 1
71932 _ACEOF
71935 done
71944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71945 $as_echo_n "checking for sincosl declaration... " >&6; }
71946 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71947 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71948 $as_echo_n "(cached) " >&6
71949 else
71952 ac_ext=cpp
71953 ac_cpp='$CXXCPP $CPPFLAGS'
71954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71959 /* end confdefs.h. */
71960 #include <math.h>
71962 main ()
71964 sincosl(0, 0, 0);
71966 return 0;
71968 _ACEOF
71969 if ac_fn_cxx_try_compile "$LINENO"; then :
71970 glibcxx_cv_func_sincosl_use=yes
71971 else
71972 glibcxx_cv_func_sincosl_use=no
71974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71975 ac_ext=c
71976 ac_cpp='$CPP $CPPFLAGS'
71977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71986 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71988 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71989 for ac_func in sincosl
71990 do :
71991 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71992 if test "x$ac_cv_func_sincosl" = x""yes; then :
71993 cat >>confdefs.h <<_ACEOF
71994 #define HAVE_SINCOSL 1
71995 _ACEOF
71998 done
72000 else
72002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72003 $as_echo_n "checking for _sincosl declaration... " >&6; }
72004 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72005 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
72006 $as_echo_n "(cached) " >&6
72007 else
72010 ac_ext=cpp
72011 ac_cpp='$CXXCPP $CPPFLAGS'
72012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72017 /* end confdefs.h. */
72018 #include <math.h>
72020 main ()
72022 _sincosl(0, 0, 0);
72024 return 0;
72026 _ACEOF
72027 if ac_fn_cxx_try_compile "$LINENO"; then :
72028 glibcxx_cv_func__sincosl_use=yes
72029 else
72030 glibcxx_cv_func__sincosl_use=no
72032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72033 ac_ext=c
72034 ac_cpp='$CPP $CPPFLAGS'
72035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72044 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72046 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72047 for ac_func in _sincosl
72048 do :
72049 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72050 if test "x$ac_cv_func__sincosl" = x""yes; then :
72051 cat >>confdefs.h <<_ACEOF
72052 #define HAVE__SINCOSL 1
72053 _ACEOF
72056 done
72065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72066 $as_echo_n "checking for finitel declaration... " >&6; }
72067 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72068 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72069 $as_echo_n "(cached) " >&6
72070 else
72073 ac_ext=cpp
72074 ac_cpp='$CXXCPP $CPPFLAGS'
72075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72080 /* end confdefs.h. */
72081 #include <math.h>
72082 #ifdef HAVE_IEEEFP_H
72083 #include <ieeefp.h>
72084 #endif
72087 main ()
72089 finitel(0);
72091 return 0;
72093 _ACEOF
72094 if ac_fn_cxx_try_compile "$LINENO"; then :
72095 glibcxx_cv_func_finitel_use=yes
72096 else
72097 glibcxx_cv_func_finitel_use=no
72099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72100 ac_ext=c
72101 ac_cpp='$CPP $CPPFLAGS'
72102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72111 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72113 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72114 for ac_func in finitel
72115 do :
72116 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72117 if test "x$ac_cv_func_finitel" = x""yes; then :
72118 cat >>confdefs.h <<_ACEOF
72119 #define HAVE_FINITEL 1
72120 _ACEOF
72123 done
72125 else
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72128 $as_echo_n "checking for _finitel declaration... " >&6; }
72129 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72130 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72131 $as_echo_n "(cached) " >&6
72132 else
72135 ac_ext=cpp
72136 ac_cpp='$CXXCPP $CPPFLAGS'
72137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72142 /* end confdefs.h. */
72143 #include <math.h>
72144 #ifdef HAVE_IEEEFP_H
72145 #include <ieeefp.h>
72146 #endif
72149 main ()
72151 _finitel(0);
72153 return 0;
72155 _ACEOF
72156 if ac_fn_cxx_try_compile "$LINENO"; then :
72157 glibcxx_cv_func__finitel_use=yes
72158 else
72159 glibcxx_cv_func__finitel_use=no
72161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72162 ac_ext=c
72163 ac_cpp='$CPP $CPPFLAGS'
72164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72173 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72175 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72176 for ac_func in _finitel
72177 do :
72178 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72179 if test "x$ac_cv_func__finitel" = x""yes; then :
72180 cat >>confdefs.h <<_ACEOF
72181 #define HAVE__FINITEL 1
72182 _ACEOF
72185 done
72193 LIBS="$ac_save_LIBS"
72194 CXXFLAGS="$ac_save_CXXFLAGS"
72197 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72198 ac_save_CXXFLAGS="$CXXFLAGS"
72199 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72203 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72204 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72205 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72206 $as_echo_n "(cached) " >&6
72207 else
72210 ac_ext=cpp
72211 ac_cpp='$CXXCPP $CPPFLAGS'
72212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72217 /* end confdefs.h. */
72218 #include <stdlib.h>
72220 main ()
72222 at_quick_exit(0);
72224 return 0;
72226 _ACEOF
72227 if ac_fn_cxx_try_compile "$LINENO"; then :
72228 glibcxx_cv_func_at_quick_exit_use=yes
72229 else
72230 glibcxx_cv_func_at_quick_exit_use=no
72232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72233 ac_ext=c
72234 ac_cpp='$CPP $CPPFLAGS'
72235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72244 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72245 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72246 for ac_func in at_quick_exit
72247 do :
72248 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72249 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72250 cat >>confdefs.h <<_ACEOF
72251 #define HAVE_AT_QUICK_EXIT 1
72252 _ACEOF
72255 done
72260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72261 $as_echo_n "checking for quick_exit declaration... " >&6; }
72262 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72263 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72264 $as_echo_n "(cached) " >&6
72265 else
72268 ac_ext=cpp
72269 ac_cpp='$CXXCPP $CPPFLAGS'
72270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72275 /* end confdefs.h. */
72276 #include <stdlib.h>
72278 main ()
72280 quick_exit(0);
72282 return 0;
72284 _ACEOF
72285 if ac_fn_cxx_try_compile "$LINENO"; then :
72286 glibcxx_cv_func_quick_exit_use=yes
72287 else
72288 glibcxx_cv_func_quick_exit_use=no
72290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72291 ac_ext=c
72292 ac_cpp='$CPP $CPPFLAGS'
72293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72302 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72303 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72304 for ac_func in quick_exit
72305 do :
72306 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72307 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72308 cat >>confdefs.h <<_ACEOF
72309 #define HAVE_QUICK_EXIT 1
72310 _ACEOF
72313 done
72318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72319 $as_echo_n "checking for strtold declaration... " >&6; }
72320 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72321 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72322 $as_echo_n "(cached) " >&6
72323 else
72326 ac_ext=cpp
72327 ac_cpp='$CXXCPP $CPPFLAGS'
72328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72333 /* end confdefs.h. */
72334 #include <stdlib.h>
72336 main ()
72338 strtold(0, 0);
72340 return 0;
72342 _ACEOF
72343 if ac_fn_cxx_try_compile "$LINENO"; then :
72344 glibcxx_cv_func_strtold_use=yes
72345 else
72346 glibcxx_cv_func_strtold_use=no
72348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72349 ac_ext=c
72350 ac_cpp='$CPP $CPPFLAGS'
72351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72360 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72361 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72362 for ac_func in strtold
72363 do :
72364 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72365 if test "x$ac_cv_func_strtold" = x""yes; then :
72366 cat >>confdefs.h <<_ACEOF
72367 #define HAVE_STRTOLD 1
72368 _ACEOF
72371 done
72378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72379 $as_echo_n "checking for strtof declaration... " >&6; }
72380 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72381 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72382 $as_echo_n "(cached) " >&6
72383 else
72386 ac_ext=cpp
72387 ac_cpp='$CXXCPP $CPPFLAGS'
72388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72393 /* end confdefs.h. */
72394 #include <stdlib.h>
72396 main ()
72398 strtof(0, 0);
72400 return 0;
72402 _ACEOF
72403 if ac_fn_cxx_try_compile "$LINENO"; then :
72404 glibcxx_cv_func_strtof_use=yes
72405 else
72406 glibcxx_cv_func_strtof_use=no
72408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72409 ac_ext=c
72410 ac_cpp='$CPP $CPPFLAGS'
72411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72420 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72421 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72422 for ac_func in strtof
72423 do :
72424 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72425 if test "x$ac_cv_func_strtof" = x""yes; then :
72426 cat >>confdefs.h <<_ACEOF
72427 #define HAVE_STRTOF 1
72428 _ACEOF
72431 done
72438 CXXFLAGS="$ac_save_CXXFLAGS"
72441 *-tpf)
72442 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72443 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72445 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72447 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72449 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72451 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72453 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72455 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72457 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72459 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72461 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72463 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72465 if test x"long_double_math_on_this_cpu" = x"yes"; then
72466 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72468 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72470 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72472 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72476 *-*vms*)
72477 # Check for available headers.
72478 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72480 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72481 ac_save_CXXFLAGS="$CXXFLAGS"
72482 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72485 $as_echo_n "checking for sin in -lm... " >&6; }
72486 if test "${ac_cv_lib_m_sin+set}" = set; then :
72487 $as_echo_n "(cached) " >&6
72488 else
72489 ac_check_lib_save_LIBS=$LIBS
72490 LIBS="-lm $LIBS"
72491 if test x$gcc_no_link = xyes; then
72492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72495 /* end confdefs.h. */
72497 /* Override any GCC internal prototype to avoid an error.
72498 Use char because int might match the return type of a GCC
72499 builtin and then its argument prototype would still apply. */
72500 #ifdef __cplusplus
72501 extern "C"
72502 #endif
72503 char sin ();
72505 main ()
72507 return sin ();
72509 return 0;
72511 _ACEOF
72512 if ac_fn_c_try_link "$LINENO"; then :
72513 ac_cv_lib_m_sin=yes
72514 else
72515 ac_cv_lib_m_sin=no
72517 rm -f core conftest.err conftest.$ac_objext \
72518 conftest$ac_exeext conftest.$ac_ext
72519 LIBS=$ac_check_lib_save_LIBS
72521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72522 $as_echo "$ac_cv_lib_m_sin" >&6; }
72523 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72524 libm="-lm"
72527 ac_save_LIBS="$LIBS"
72528 LIBS="$LIBS $libm"
72532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72533 $as_echo_n "checking for isinf declaration... " >&6; }
72534 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72535 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72536 $as_echo_n "(cached) " >&6
72537 else
72540 ac_ext=cpp
72541 ac_cpp='$CXXCPP $CPPFLAGS'
72542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72547 /* end confdefs.h. */
72548 #include <math.h>
72549 #ifdef HAVE_IEEEFP_H
72550 #include <ieeefp.h>
72551 #endif
72554 main ()
72556 isinf(0);
72558 return 0;
72560 _ACEOF
72561 if ac_fn_cxx_try_compile "$LINENO"; then :
72562 glibcxx_cv_func_isinf_use=yes
72563 else
72564 glibcxx_cv_func_isinf_use=no
72566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72567 ac_ext=c
72568 ac_cpp='$CPP $CPPFLAGS'
72569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72578 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72580 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72581 for ac_func in isinf
72582 do :
72583 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72584 if test "x$ac_cv_func_isinf" = x""yes; then :
72585 cat >>confdefs.h <<_ACEOF
72586 #define HAVE_ISINF 1
72587 _ACEOF
72590 done
72592 else
72594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72595 $as_echo_n "checking for _isinf declaration... " >&6; }
72596 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72597 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72598 $as_echo_n "(cached) " >&6
72599 else
72602 ac_ext=cpp
72603 ac_cpp='$CXXCPP $CPPFLAGS'
72604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72609 /* end confdefs.h. */
72610 #include <math.h>
72611 #ifdef HAVE_IEEEFP_H
72612 #include <ieeefp.h>
72613 #endif
72616 main ()
72618 _isinf(0);
72620 return 0;
72622 _ACEOF
72623 if ac_fn_cxx_try_compile "$LINENO"; then :
72624 glibcxx_cv_func__isinf_use=yes
72625 else
72626 glibcxx_cv_func__isinf_use=no
72628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72629 ac_ext=c
72630 ac_cpp='$CPP $CPPFLAGS'
72631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72640 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72642 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72643 for ac_func in _isinf
72644 do :
72645 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72646 if test "x$ac_cv_func__isinf" = x""yes; then :
72647 cat >>confdefs.h <<_ACEOF
72648 #define HAVE__ISINF 1
72649 _ACEOF
72652 done
72661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72662 $as_echo_n "checking for isnan declaration... " >&6; }
72663 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72664 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72665 $as_echo_n "(cached) " >&6
72666 else
72669 ac_ext=cpp
72670 ac_cpp='$CXXCPP $CPPFLAGS'
72671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72676 /* end confdefs.h. */
72677 #include <math.h>
72678 #ifdef HAVE_IEEEFP_H
72679 #include <ieeefp.h>
72680 #endif
72683 main ()
72685 isnan(0);
72687 return 0;
72689 _ACEOF
72690 if ac_fn_cxx_try_compile "$LINENO"; then :
72691 glibcxx_cv_func_isnan_use=yes
72692 else
72693 glibcxx_cv_func_isnan_use=no
72695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72696 ac_ext=c
72697 ac_cpp='$CPP $CPPFLAGS'
72698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72707 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72709 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72710 for ac_func in isnan
72711 do :
72712 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72713 if test "x$ac_cv_func_isnan" = x""yes; then :
72714 cat >>confdefs.h <<_ACEOF
72715 #define HAVE_ISNAN 1
72716 _ACEOF
72719 done
72721 else
72723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72724 $as_echo_n "checking for _isnan declaration... " >&6; }
72725 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72726 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72727 $as_echo_n "(cached) " >&6
72728 else
72731 ac_ext=cpp
72732 ac_cpp='$CXXCPP $CPPFLAGS'
72733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72738 /* end confdefs.h. */
72739 #include <math.h>
72740 #ifdef HAVE_IEEEFP_H
72741 #include <ieeefp.h>
72742 #endif
72745 main ()
72747 _isnan(0);
72749 return 0;
72751 _ACEOF
72752 if ac_fn_cxx_try_compile "$LINENO"; then :
72753 glibcxx_cv_func__isnan_use=yes
72754 else
72755 glibcxx_cv_func__isnan_use=no
72757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72758 ac_ext=c
72759 ac_cpp='$CPP $CPPFLAGS'
72760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72769 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72771 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72772 for ac_func in _isnan
72773 do :
72774 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72775 if test "x$ac_cv_func__isnan" = x""yes; then :
72776 cat >>confdefs.h <<_ACEOF
72777 #define HAVE__ISNAN 1
72778 _ACEOF
72781 done
72790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72791 $as_echo_n "checking for finite declaration... " >&6; }
72792 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72793 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72794 $as_echo_n "(cached) " >&6
72795 else
72798 ac_ext=cpp
72799 ac_cpp='$CXXCPP $CPPFLAGS'
72800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72805 /* end confdefs.h. */
72806 #include <math.h>
72807 #ifdef HAVE_IEEEFP_H
72808 #include <ieeefp.h>
72809 #endif
72812 main ()
72814 finite(0);
72816 return 0;
72818 _ACEOF
72819 if ac_fn_cxx_try_compile "$LINENO"; then :
72820 glibcxx_cv_func_finite_use=yes
72821 else
72822 glibcxx_cv_func_finite_use=no
72824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72825 ac_ext=c
72826 ac_cpp='$CPP $CPPFLAGS'
72827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72836 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72838 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72839 for ac_func in finite
72840 do :
72841 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72842 if test "x$ac_cv_func_finite" = x""yes; then :
72843 cat >>confdefs.h <<_ACEOF
72844 #define HAVE_FINITE 1
72845 _ACEOF
72848 done
72850 else
72852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72853 $as_echo_n "checking for _finite declaration... " >&6; }
72854 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72855 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72856 $as_echo_n "(cached) " >&6
72857 else
72860 ac_ext=cpp
72861 ac_cpp='$CXXCPP $CPPFLAGS'
72862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72867 /* end confdefs.h. */
72868 #include <math.h>
72869 #ifdef HAVE_IEEEFP_H
72870 #include <ieeefp.h>
72871 #endif
72874 main ()
72876 _finite(0);
72878 return 0;
72880 _ACEOF
72881 if ac_fn_cxx_try_compile "$LINENO"; then :
72882 glibcxx_cv_func__finite_use=yes
72883 else
72884 glibcxx_cv_func__finite_use=no
72886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72887 ac_ext=c
72888 ac_cpp='$CPP $CPPFLAGS'
72889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72898 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72900 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72901 for ac_func in _finite
72902 do :
72903 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72904 if test "x$ac_cv_func__finite" = x""yes; then :
72905 cat >>confdefs.h <<_ACEOF
72906 #define HAVE__FINITE 1
72907 _ACEOF
72910 done
72919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72920 $as_echo_n "checking for sincos declaration... " >&6; }
72921 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72922 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72923 $as_echo_n "(cached) " >&6
72924 else
72927 ac_ext=cpp
72928 ac_cpp='$CXXCPP $CPPFLAGS'
72929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72934 /* end confdefs.h. */
72935 #include <math.h>
72937 main ()
72939 sincos(0, 0, 0);
72941 return 0;
72943 _ACEOF
72944 if ac_fn_cxx_try_compile "$LINENO"; then :
72945 glibcxx_cv_func_sincos_use=yes
72946 else
72947 glibcxx_cv_func_sincos_use=no
72949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72950 ac_ext=c
72951 ac_cpp='$CPP $CPPFLAGS'
72952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72961 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72963 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72964 for ac_func in sincos
72965 do :
72966 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72967 if test "x$ac_cv_func_sincos" = x""yes; then :
72968 cat >>confdefs.h <<_ACEOF
72969 #define HAVE_SINCOS 1
72970 _ACEOF
72973 done
72975 else
72977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72978 $as_echo_n "checking for _sincos declaration... " >&6; }
72979 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72980 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72981 $as_echo_n "(cached) " >&6
72982 else
72985 ac_ext=cpp
72986 ac_cpp='$CXXCPP $CPPFLAGS'
72987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72992 /* end confdefs.h. */
72993 #include <math.h>
72995 main ()
72997 _sincos(0, 0, 0);
72999 return 0;
73001 _ACEOF
73002 if ac_fn_cxx_try_compile "$LINENO"; then :
73003 glibcxx_cv_func__sincos_use=yes
73004 else
73005 glibcxx_cv_func__sincos_use=no
73007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73008 ac_ext=c
73009 ac_cpp='$CPP $CPPFLAGS'
73010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73019 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73021 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73022 for ac_func in _sincos
73023 do :
73024 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73025 if test "x$ac_cv_func__sincos" = x""yes; then :
73026 cat >>confdefs.h <<_ACEOF
73027 #define HAVE__SINCOS 1
73028 _ACEOF
73031 done
73040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73041 $as_echo_n "checking for fpclass declaration... " >&6; }
73042 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73043 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73044 $as_echo_n "(cached) " >&6
73045 else
73048 ac_ext=cpp
73049 ac_cpp='$CXXCPP $CPPFLAGS'
73050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73055 /* end confdefs.h. */
73056 #include <math.h>
73057 #ifdef HAVE_IEEEFP_H
73058 #include <ieeefp.h>
73059 #endif
73062 main ()
73064 fpclass(0);
73066 return 0;
73068 _ACEOF
73069 if ac_fn_cxx_try_compile "$LINENO"; then :
73070 glibcxx_cv_func_fpclass_use=yes
73071 else
73072 glibcxx_cv_func_fpclass_use=no
73074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73075 ac_ext=c
73076 ac_cpp='$CPP $CPPFLAGS'
73077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73086 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73088 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73089 for ac_func in fpclass
73090 do :
73091 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73092 if test "x$ac_cv_func_fpclass" = x""yes; then :
73093 cat >>confdefs.h <<_ACEOF
73094 #define HAVE_FPCLASS 1
73095 _ACEOF
73098 done
73100 else
73102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73103 $as_echo_n "checking for _fpclass declaration... " >&6; }
73104 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73105 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73106 $as_echo_n "(cached) " >&6
73107 else
73110 ac_ext=cpp
73111 ac_cpp='$CXXCPP $CPPFLAGS'
73112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73117 /* end confdefs.h. */
73118 #include <math.h>
73119 #ifdef HAVE_IEEEFP_H
73120 #include <ieeefp.h>
73121 #endif
73124 main ()
73126 _fpclass(0);
73128 return 0;
73130 _ACEOF
73131 if ac_fn_cxx_try_compile "$LINENO"; then :
73132 glibcxx_cv_func__fpclass_use=yes
73133 else
73134 glibcxx_cv_func__fpclass_use=no
73136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73137 ac_ext=c
73138 ac_cpp='$CPP $CPPFLAGS'
73139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73148 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73150 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73151 for ac_func in _fpclass
73152 do :
73153 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73154 if test "x$ac_cv_func__fpclass" = x""yes; then :
73155 cat >>confdefs.h <<_ACEOF
73156 #define HAVE__FPCLASS 1
73157 _ACEOF
73160 done
73169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73170 $as_echo_n "checking for qfpclass declaration... " >&6; }
73171 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73172 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73173 $as_echo_n "(cached) " >&6
73174 else
73177 ac_ext=cpp
73178 ac_cpp='$CXXCPP $CPPFLAGS'
73179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73184 /* end confdefs.h. */
73185 #include <math.h>
73186 #ifdef HAVE_IEEEFP_H
73187 #include <ieeefp.h>
73188 #endif
73191 main ()
73193 qfpclass(0);
73195 return 0;
73197 _ACEOF
73198 if ac_fn_cxx_try_compile "$LINENO"; then :
73199 glibcxx_cv_func_qfpclass_use=yes
73200 else
73201 glibcxx_cv_func_qfpclass_use=no
73203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73204 ac_ext=c
73205 ac_cpp='$CPP $CPPFLAGS'
73206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73215 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73217 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73218 for ac_func in qfpclass
73219 do :
73220 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73221 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73222 cat >>confdefs.h <<_ACEOF
73223 #define HAVE_QFPCLASS 1
73224 _ACEOF
73227 done
73229 else
73231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73232 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73233 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73234 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73235 $as_echo_n "(cached) " >&6
73236 else
73239 ac_ext=cpp
73240 ac_cpp='$CXXCPP $CPPFLAGS'
73241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73246 /* end confdefs.h. */
73247 #include <math.h>
73248 #ifdef HAVE_IEEEFP_H
73249 #include <ieeefp.h>
73250 #endif
73253 main ()
73255 _qfpclass(0);
73257 return 0;
73259 _ACEOF
73260 if ac_fn_cxx_try_compile "$LINENO"; then :
73261 glibcxx_cv_func__qfpclass_use=yes
73262 else
73263 glibcxx_cv_func__qfpclass_use=no
73265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73266 ac_ext=c
73267 ac_cpp='$CPP $CPPFLAGS'
73268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73277 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73279 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73280 for ac_func in _qfpclass
73281 do :
73282 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73283 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73284 cat >>confdefs.h <<_ACEOF
73285 #define HAVE__QFPCLASS 1
73286 _ACEOF
73289 done
73298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73299 $as_echo_n "checking for hypot declaration... " >&6; }
73300 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73301 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73302 $as_echo_n "(cached) " >&6
73303 else
73306 ac_ext=cpp
73307 ac_cpp='$CXXCPP $CPPFLAGS'
73308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73313 /* end confdefs.h. */
73314 #include <math.h>
73316 main ()
73318 hypot(0, 0);
73320 return 0;
73322 _ACEOF
73323 if ac_fn_cxx_try_compile "$LINENO"; then :
73324 glibcxx_cv_func_hypot_use=yes
73325 else
73326 glibcxx_cv_func_hypot_use=no
73328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73329 ac_ext=c
73330 ac_cpp='$CPP $CPPFLAGS'
73331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73340 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73342 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73343 for ac_func in hypot
73344 do :
73345 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73346 if test "x$ac_cv_func_hypot" = x""yes; then :
73347 cat >>confdefs.h <<_ACEOF
73348 #define HAVE_HYPOT 1
73349 _ACEOF
73352 done
73354 else
73356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73357 $as_echo_n "checking for _hypot declaration... " >&6; }
73358 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73359 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73360 $as_echo_n "(cached) " >&6
73361 else
73364 ac_ext=cpp
73365 ac_cpp='$CXXCPP $CPPFLAGS'
73366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73371 /* end confdefs.h. */
73372 #include <math.h>
73374 main ()
73376 _hypot(0, 0);
73378 return 0;
73380 _ACEOF
73381 if ac_fn_cxx_try_compile "$LINENO"; then :
73382 glibcxx_cv_func__hypot_use=yes
73383 else
73384 glibcxx_cv_func__hypot_use=no
73386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73387 ac_ext=c
73388 ac_cpp='$CPP $CPPFLAGS'
73389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73398 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73400 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73401 for ac_func in _hypot
73402 do :
73403 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73404 if test "x$ac_cv_func__hypot" = x""yes; then :
73405 cat >>confdefs.h <<_ACEOF
73406 #define HAVE__HYPOT 1
73407 _ACEOF
73410 done
73419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73420 $as_echo_n "checking for float trig functions... " >&6; }
73421 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73422 $as_echo_n "(cached) " >&6
73423 else
73426 ac_ext=cpp
73427 ac_cpp='$CXXCPP $CPPFLAGS'
73428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73433 /* end confdefs.h. */
73434 #include <math.h>
73436 main ()
73438 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73440 return 0;
73442 _ACEOF
73443 if ac_fn_cxx_try_compile "$LINENO"; then :
73444 glibcxx_cv_func_float_trig_use=yes
73445 else
73446 glibcxx_cv_func_float_trig_use=no
73448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73449 ac_ext=c
73450 ac_cpp='$CPP $CPPFLAGS'
73451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73458 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73459 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73460 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73461 do :
73462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73464 eval as_val=\$$as_ac_var
73465 if test "x$as_val" = x""yes; then :
73466 cat >>confdefs.h <<_ACEOF
73467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73468 _ACEOF
73471 done
73473 else
73474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73475 $as_echo_n "checking for _float trig functions... " >&6; }
73476 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73477 $as_echo_n "(cached) " >&6
73478 else
73481 ac_ext=cpp
73482 ac_cpp='$CXXCPP $CPPFLAGS'
73483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73488 /* end confdefs.h. */
73489 #include <math.h>
73491 main ()
73493 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73495 return 0;
73497 _ACEOF
73498 if ac_fn_cxx_try_compile "$LINENO"; then :
73499 glibcxx_cv_func__float_trig_use=yes
73500 else
73501 glibcxx_cv_func__float_trig_use=no
73503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73504 ac_ext=c
73505 ac_cpp='$CPP $CPPFLAGS'
73506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73513 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73514 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73515 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73516 do :
73517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73519 eval as_val=\$$as_ac_var
73520 if test "x$as_val" = x""yes; then :
73521 cat >>confdefs.h <<_ACEOF
73522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73523 _ACEOF
73526 done
73535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73536 $as_echo_n "checking for float round functions... " >&6; }
73537 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73538 $as_echo_n "(cached) " >&6
73539 else
73542 ac_ext=cpp
73543 ac_cpp='$CXXCPP $CPPFLAGS'
73544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73549 /* end confdefs.h. */
73550 #include <math.h>
73552 main ()
73554 ceilf (0); floorf (0);
73556 return 0;
73558 _ACEOF
73559 if ac_fn_cxx_try_compile "$LINENO"; then :
73560 glibcxx_cv_func_float_round_use=yes
73561 else
73562 glibcxx_cv_func_float_round_use=no
73564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73565 ac_ext=c
73566 ac_cpp='$CPP $CPPFLAGS'
73567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73574 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73575 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73576 for ac_func in ceilf floorf
73577 do :
73578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73580 eval as_val=\$$as_ac_var
73581 if test "x$as_val" = x""yes; then :
73582 cat >>confdefs.h <<_ACEOF
73583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73584 _ACEOF
73587 done
73589 else
73590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73591 $as_echo_n "checking for _float round functions... " >&6; }
73592 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73593 $as_echo_n "(cached) " >&6
73594 else
73597 ac_ext=cpp
73598 ac_cpp='$CXXCPP $CPPFLAGS'
73599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73604 /* end confdefs.h. */
73605 #include <math.h>
73607 main ()
73609 _ceilf (0); _floorf (0);
73611 return 0;
73613 _ACEOF
73614 if ac_fn_cxx_try_compile "$LINENO"; then :
73615 glibcxx_cv_func__float_round_use=yes
73616 else
73617 glibcxx_cv_func__float_round_use=no
73619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73620 ac_ext=c
73621 ac_cpp='$CPP $CPPFLAGS'
73622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73629 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73630 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73631 for ac_func in _ceilf _floorf
73632 do :
73633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73635 eval as_val=\$$as_ac_var
73636 if test "x$as_val" = x""yes; then :
73637 cat >>confdefs.h <<_ACEOF
73638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73639 _ACEOF
73642 done
73652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73653 $as_echo_n "checking for expf declaration... " >&6; }
73654 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73655 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73656 $as_echo_n "(cached) " >&6
73657 else
73660 ac_ext=cpp
73661 ac_cpp='$CXXCPP $CPPFLAGS'
73662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73667 /* end confdefs.h. */
73668 #include <math.h>
73669 #ifdef HAVE_IEEEFP_H
73670 #include <ieeefp.h>
73671 #endif
73674 main ()
73676 expf(0);
73678 return 0;
73680 _ACEOF
73681 if ac_fn_cxx_try_compile "$LINENO"; then :
73682 glibcxx_cv_func_expf_use=yes
73683 else
73684 glibcxx_cv_func_expf_use=no
73686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73687 ac_ext=c
73688 ac_cpp='$CPP $CPPFLAGS'
73689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73698 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73700 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73701 for ac_func in expf
73702 do :
73703 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73704 if test "x$ac_cv_func_expf" = x""yes; then :
73705 cat >>confdefs.h <<_ACEOF
73706 #define HAVE_EXPF 1
73707 _ACEOF
73710 done
73712 else
73714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73715 $as_echo_n "checking for _expf declaration... " >&6; }
73716 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73717 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73718 $as_echo_n "(cached) " >&6
73719 else
73722 ac_ext=cpp
73723 ac_cpp='$CXXCPP $CPPFLAGS'
73724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73729 /* end confdefs.h. */
73730 #include <math.h>
73731 #ifdef HAVE_IEEEFP_H
73732 #include <ieeefp.h>
73733 #endif
73736 main ()
73738 _expf(0);
73740 return 0;
73742 _ACEOF
73743 if ac_fn_cxx_try_compile "$LINENO"; then :
73744 glibcxx_cv_func__expf_use=yes
73745 else
73746 glibcxx_cv_func__expf_use=no
73748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73749 ac_ext=c
73750 ac_cpp='$CPP $CPPFLAGS'
73751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73760 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73762 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73763 for ac_func in _expf
73764 do :
73765 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73766 if test "x$ac_cv_func__expf" = x""yes; then :
73767 cat >>confdefs.h <<_ACEOF
73768 #define HAVE__EXPF 1
73769 _ACEOF
73772 done
73781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73782 $as_echo_n "checking for isnanf declaration... " >&6; }
73783 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73784 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73785 $as_echo_n "(cached) " >&6
73786 else
73789 ac_ext=cpp
73790 ac_cpp='$CXXCPP $CPPFLAGS'
73791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73796 /* end confdefs.h. */
73797 #include <math.h>
73798 #ifdef HAVE_IEEEFP_H
73799 #include <ieeefp.h>
73800 #endif
73803 main ()
73805 isnanf(0);
73807 return 0;
73809 _ACEOF
73810 if ac_fn_cxx_try_compile "$LINENO"; then :
73811 glibcxx_cv_func_isnanf_use=yes
73812 else
73813 glibcxx_cv_func_isnanf_use=no
73815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73816 ac_ext=c
73817 ac_cpp='$CPP $CPPFLAGS'
73818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73827 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73829 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73830 for ac_func in isnanf
73831 do :
73832 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73833 if test "x$ac_cv_func_isnanf" = x""yes; then :
73834 cat >>confdefs.h <<_ACEOF
73835 #define HAVE_ISNANF 1
73836 _ACEOF
73839 done
73841 else
73843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73844 $as_echo_n "checking for _isnanf declaration... " >&6; }
73845 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73846 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73847 $as_echo_n "(cached) " >&6
73848 else
73851 ac_ext=cpp
73852 ac_cpp='$CXXCPP $CPPFLAGS'
73853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73858 /* end confdefs.h. */
73859 #include <math.h>
73860 #ifdef HAVE_IEEEFP_H
73861 #include <ieeefp.h>
73862 #endif
73865 main ()
73867 _isnanf(0);
73869 return 0;
73871 _ACEOF
73872 if ac_fn_cxx_try_compile "$LINENO"; then :
73873 glibcxx_cv_func__isnanf_use=yes
73874 else
73875 glibcxx_cv_func__isnanf_use=no
73877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73878 ac_ext=c
73879 ac_cpp='$CPP $CPPFLAGS'
73880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73889 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73891 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73892 for ac_func in _isnanf
73893 do :
73894 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73895 if test "x$ac_cv_func__isnanf" = x""yes; then :
73896 cat >>confdefs.h <<_ACEOF
73897 #define HAVE__ISNANF 1
73898 _ACEOF
73901 done
73910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73911 $as_echo_n "checking for isinff declaration... " >&6; }
73912 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73913 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73914 $as_echo_n "(cached) " >&6
73915 else
73918 ac_ext=cpp
73919 ac_cpp='$CXXCPP $CPPFLAGS'
73920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73925 /* end confdefs.h. */
73926 #include <math.h>
73927 #ifdef HAVE_IEEEFP_H
73928 #include <ieeefp.h>
73929 #endif
73932 main ()
73934 isinff(0);
73936 return 0;
73938 _ACEOF
73939 if ac_fn_cxx_try_compile "$LINENO"; then :
73940 glibcxx_cv_func_isinff_use=yes
73941 else
73942 glibcxx_cv_func_isinff_use=no
73944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73945 ac_ext=c
73946 ac_cpp='$CPP $CPPFLAGS'
73947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73956 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73958 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73959 for ac_func in isinff
73960 do :
73961 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73962 if test "x$ac_cv_func_isinff" = x""yes; then :
73963 cat >>confdefs.h <<_ACEOF
73964 #define HAVE_ISINFF 1
73965 _ACEOF
73968 done
73970 else
73972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73973 $as_echo_n "checking for _isinff declaration... " >&6; }
73974 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73975 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73976 $as_echo_n "(cached) " >&6
73977 else
73980 ac_ext=cpp
73981 ac_cpp='$CXXCPP $CPPFLAGS'
73982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73987 /* end confdefs.h. */
73988 #include <math.h>
73989 #ifdef HAVE_IEEEFP_H
73990 #include <ieeefp.h>
73991 #endif
73994 main ()
73996 _isinff(0);
73998 return 0;
74000 _ACEOF
74001 if ac_fn_cxx_try_compile "$LINENO"; then :
74002 glibcxx_cv_func__isinff_use=yes
74003 else
74004 glibcxx_cv_func__isinff_use=no
74006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74007 ac_ext=c
74008 ac_cpp='$CPP $CPPFLAGS'
74009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74018 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74020 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74021 for ac_func in _isinff
74022 do :
74023 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74024 if test "x$ac_cv_func__isinff" = x""yes; then :
74025 cat >>confdefs.h <<_ACEOF
74026 #define HAVE__ISINFF 1
74027 _ACEOF
74030 done
74039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74040 $as_echo_n "checking for atan2f declaration... " >&6; }
74041 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74042 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74043 $as_echo_n "(cached) " >&6
74044 else
74047 ac_ext=cpp
74048 ac_cpp='$CXXCPP $CPPFLAGS'
74049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74054 /* end confdefs.h. */
74055 #include <math.h>
74057 main ()
74059 atan2f(0, 0);
74061 return 0;
74063 _ACEOF
74064 if ac_fn_cxx_try_compile "$LINENO"; then :
74065 glibcxx_cv_func_atan2f_use=yes
74066 else
74067 glibcxx_cv_func_atan2f_use=no
74069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74070 ac_ext=c
74071 ac_cpp='$CPP $CPPFLAGS'
74072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74081 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74083 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74084 for ac_func in atan2f
74085 do :
74086 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74087 if test "x$ac_cv_func_atan2f" = x""yes; then :
74088 cat >>confdefs.h <<_ACEOF
74089 #define HAVE_ATAN2F 1
74090 _ACEOF
74093 done
74095 else
74097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74098 $as_echo_n "checking for _atan2f declaration... " >&6; }
74099 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74100 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74101 $as_echo_n "(cached) " >&6
74102 else
74105 ac_ext=cpp
74106 ac_cpp='$CXXCPP $CPPFLAGS'
74107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74112 /* end confdefs.h. */
74113 #include <math.h>
74115 main ()
74117 _atan2f(0, 0);
74119 return 0;
74121 _ACEOF
74122 if ac_fn_cxx_try_compile "$LINENO"; then :
74123 glibcxx_cv_func__atan2f_use=yes
74124 else
74125 glibcxx_cv_func__atan2f_use=no
74127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74128 ac_ext=c
74129 ac_cpp='$CPP $CPPFLAGS'
74130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74139 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74141 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74142 for ac_func in _atan2f
74143 do :
74144 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74145 if test "x$ac_cv_func__atan2f" = x""yes; then :
74146 cat >>confdefs.h <<_ACEOF
74147 #define HAVE__ATAN2F 1
74148 _ACEOF
74151 done
74160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74161 $as_echo_n "checking for fabsf declaration... " >&6; }
74162 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74163 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74164 $as_echo_n "(cached) " >&6
74165 else
74168 ac_ext=cpp
74169 ac_cpp='$CXXCPP $CPPFLAGS'
74170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74175 /* end confdefs.h. */
74176 #include <math.h>
74177 #ifdef HAVE_IEEEFP_H
74178 #include <ieeefp.h>
74179 #endif
74182 main ()
74184 fabsf(0);
74186 return 0;
74188 _ACEOF
74189 if ac_fn_cxx_try_compile "$LINENO"; then :
74190 glibcxx_cv_func_fabsf_use=yes
74191 else
74192 glibcxx_cv_func_fabsf_use=no
74194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74195 ac_ext=c
74196 ac_cpp='$CPP $CPPFLAGS'
74197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74206 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74208 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74209 for ac_func in fabsf
74210 do :
74211 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74212 if test "x$ac_cv_func_fabsf" = x""yes; then :
74213 cat >>confdefs.h <<_ACEOF
74214 #define HAVE_FABSF 1
74215 _ACEOF
74218 done
74220 else
74222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74223 $as_echo_n "checking for _fabsf declaration... " >&6; }
74224 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74225 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74226 $as_echo_n "(cached) " >&6
74227 else
74230 ac_ext=cpp
74231 ac_cpp='$CXXCPP $CPPFLAGS'
74232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74237 /* end confdefs.h. */
74238 #include <math.h>
74239 #ifdef HAVE_IEEEFP_H
74240 #include <ieeefp.h>
74241 #endif
74244 main ()
74246 _fabsf(0);
74248 return 0;
74250 _ACEOF
74251 if ac_fn_cxx_try_compile "$LINENO"; then :
74252 glibcxx_cv_func__fabsf_use=yes
74253 else
74254 glibcxx_cv_func__fabsf_use=no
74256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74257 ac_ext=c
74258 ac_cpp='$CPP $CPPFLAGS'
74259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74268 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74270 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74271 for ac_func in _fabsf
74272 do :
74273 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74274 if test "x$ac_cv_func__fabsf" = x""yes; then :
74275 cat >>confdefs.h <<_ACEOF
74276 #define HAVE__FABSF 1
74277 _ACEOF
74280 done
74289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74290 $as_echo_n "checking for fmodf declaration... " >&6; }
74291 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74292 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74293 $as_echo_n "(cached) " >&6
74294 else
74297 ac_ext=cpp
74298 ac_cpp='$CXXCPP $CPPFLAGS'
74299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74304 /* end confdefs.h. */
74305 #include <math.h>
74307 main ()
74309 fmodf(0, 0);
74311 return 0;
74313 _ACEOF
74314 if ac_fn_cxx_try_compile "$LINENO"; then :
74315 glibcxx_cv_func_fmodf_use=yes
74316 else
74317 glibcxx_cv_func_fmodf_use=no
74319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74320 ac_ext=c
74321 ac_cpp='$CPP $CPPFLAGS'
74322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74331 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74333 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74334 for ac_func in fmodf
74335 do :
74336 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74337 if test "x$ac_cv_func_fmodf" = x""yes; then :
74338 cat >>confdefs.h <<_ACEOF
74339 #define HAVE_FMODF 1
74340 _ACEOF
74343 done
74345 else
74347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74348 $as_echo_n "checking for _fmodf declaration... " >&6; }
74349 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74350 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74351 $as_echo_n "(cached) " >&6
74352 else
74355 ac_ext=cpp
74356 ac_cpp='$CXXCPP $CPPFLAGS'
74357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74362 /* end confdefs.h. */
74363 #include <math.h>
74365 main ()
74367 _fmodf(0, 0);
74369 return 0;
74371 _ACEOF
74372 if ac_fn_cxx_try_compile "$LINENO"; then :
74373 glibcxx_cv_func__fmodf_use=yes
74374 else
74375 glibcxx_cv_func__fmodf_use=no
74377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74378 ac_ext=c
74379 ac_cpp='$CPP $CPPFLAGS'
74380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74389 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74391 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74392 for ac_func in _fmodf
74393 do :
74394 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74395 if test "x$ac_cv_func__fmodf" = x""yes; then :
74396 cat >>confdefs.h <<_ACEOF
74397 #define HAVE__FMODF 1
74398 _ACEOF
74401 done
74410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74411 $as_echo_n "checking for frexpf declaration... " >&6; }
74412 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74413 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74414 $as_echo_n "(cached) " >&6
74415 else
74418 ac_ext=cpp
74419 ac_cpp='$CXXCPP $CPPFLAGS'
74420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74425 /* end confdefs.h. */
74426 #include <math.h>
74428 main ()
74430 frexpf(0, 0);
74432 return 0;
74434 _ACEOF
74435 if ac_fn_cxx_try_compile "$LINENO"; then :
74436 glibcxx_cv_func_frexpf_use=yes
74437 else
74438 glibcxx_cv_func_frexpf_use=no
74440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74441 ac_ext=c
74442 ac_cpp='$CPP $CPPFLAGS'
74443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74452 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74454 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74455 for ac_func in frexpf
74456 do :
74457 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74458 if test "x$ac_cv_func_frexpf" = x""yes; then :
74459 cat >>confdefs.h <<_ACEOF
74460 #define HAVE_FREXPF 1
74461 _ACEOF
74464 done
74466 else
74468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74469 $as_echo_n "checking for _frexpf declaration... " >&6; }
74470 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74471 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74472 $as_echo_n "(cached) " >&6
74473 else
74476 ac_ext=cpp
74477 ac_cpp='$CXXCPP $CPPFLAGS'
74478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74483 /* end confdefs.h. */
74484 #include <math.h>
74486 main ()
74488 _frexpf(0, 0);
74490 return 0;
74492 _ACEOF
74493 if ac_fn_cxx_try_compile "$LINENO"; then :
74494 glibcxx_cv_func__frexpf_use=yes
74495 else
74496 glibcxx_cv_func__frexpf_use=no
74498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74499 ac_ext=c
74500 ac_cpp='$CPP $CPPFLAGS'
74501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74510 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74512 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74513 for ac_func in _frexpf
74514 do :
74515 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74516 if test "x$ac_cv_func__frexpf" = x""yes; then :
74517 cat >>confdefs.h <<_ACEOF
74518 #define HAVE__FREXPF 1
74519 _ACEOF
74522 done
74531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74532 $as_echo_n "checking for hypotf declaration... " >&6; }
74533 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74534 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74535 $as_echo_n "(cached) " >&6
74536 else
74539 ac_ext=cpp
74540 ac_cpp='$CXXCPP $CPPFLAGS'
74541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74546 /* end confdefs.h. */
74547 #include <math.h>
74549 main ()
74551 hypotf(0, 0);
74553 return 0;
74555 _ACEOF
74556 if ac_fn_cxx_try_compile "$LINENO"; then :
74557 glibcxx_cv_func_hypotf_use=yes
74558 else
74559 glibcxx_cv_func_hypotf_use=no
74561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74562 ac_ext=c
74563 ac_cpp='$CPP $CPPFLAGS'
74564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74573 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74575 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74576 for ac_func in hypotf
74577 do :
74578 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74579 if test "x$ac_cv_func_hypotf" = x""yes; then :
74580 cat >>confdefs.h <<_ACEOF
74581 #define HAVE_HYPOTF 1
74582 _ACEOF
74585 done
74587 else
74589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74590 $as_echo_n "checking for _hypotf declaration... " >&6; }
74591 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74592 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74593 $as_echo_n "(cached) " >&6
74594 else
74597 ac_ext=cpp
74598 ac_cpp='$CXXCPP $CPPFLAGS'
74599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74604 /* end confdefs.h. */
74605 #include <math.h>
74607 main ()
74609 _hypotf(0, 0);
74611 return 0;
74613 _ACEOF
74614 if ac_fn_cxx_try_compile "$LINENO"; then :
74615 glibcxx_cv_func__hypotf_use=yes
74616 else
74617 glibcxx_cv_func__hypotf_use=no
74619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74620 ac_ext=c
74621 ac_cpp='$CPP $CPPFLAGS'
74622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74631 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74633 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74634 for ac_func in _hypotf
74635 do :
74636 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74637 if test "x$ac_cv_func__hypotf" = x""yes; then :
74638 cat >>confdefs.h <<_ACEOF
74639 #define HAVE__HYPOTF 1
74640 _ACEOF
74643 done
74652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74653 $as_echo_n "checking for ldexpf declaration... " >&6; }
74654 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74655 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74656 $as_echo_n "(cached) " >&6
74657 else
74660 ac_ext=cpp
74661 ac_cpp='$CXXCPP $CPPFLAGS'
74662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74667 /* end confdefs.h. */
74668 #include <math.h>
74670 main ()
74672 ldexpf(0, 0);
74674 return 0;
74676 _ACEOF
74677 if ac_fn_cxx_try_compile "$LINENO"; then :
74678 glibcxx_cv_func_ldexpf_use=yes
74679 else
74680 glibcxx_cv_func_ldexpf_use=no
74682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74683 ac_ext=c
74684 ac_cpp='$CPP $CPPFLAGS'
74685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74694 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74696 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74697 for ac_func in ldexpf
74698 do :
74699 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74700 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74701 cat >>confdefs.h <<_ACEOF
74702 #define HAVE_LDEXPF 1
74703 _ACEOF
74706 done
74708 else
74710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74711 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74712 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74713 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74714 $as_echo_n "(cached) " >&6
74715 else
74718 ac_ext=cpp
74719 ac_cpp='$CXXCPP $CPPFLAGS'
74720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74725 /* end confdefs.h. */
74726 #include <math.h>
74728 main ()
74730 _ldexpf(0, 0);
74732 return 0;
74734 _ACEOF
74735 if ac_fn_cxx_try_compile "$LINENO"; then :
74736 glibcxx_cv_func__ldexpf_use=yes
74737 else
74738 glibcxx_cv_func__ldexpf_use=no
74740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74741 ac_ext=c
74742 ac_cpp='$CPP $CPPFLAGS'
74743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74752 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74754 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74755 for ac_func in _ldexpf
74756 do :
74757 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74758 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74759 cat >>confdefs.h <<_ACEOF
74760 #define HAVE__LDEXPF 1
74761 _ACEOF
74764 done
74773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74774 $as_echo_n "checking for logf declaration... " >&6; }
74775 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74776 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74777 $as_echo_n "(cached) " >&6
74778 else
74781 ac_ext=cpp
74782 ac_cpp='$CXXCPP $CPPFLAGS'
74783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74788 /* end confdefs.h. */
74789 #include <math.h>
74790 #ifdef HAVE_IEEEFP_H
74791 #include <ieeefp.h>
74792 #endif
74795 main ()
74797 logf(0);
74799 return 0;
74801 _ACEOF
74802 if ac_fn_cxx_try_compile "$LINENO"; then :
74803 glibcxx_cv_func_logf_use=yes
74804 else
74805 glibcxx_cv_func_logf_use=no
74807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74808 ac_ext=c
74809 ac_cpp='$CPP $CPPFLAGS'
74810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74819 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74821 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74822 for ac_func in logf
74823 do :
74824 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74825 if test "x$ac_cv_func_logf" = x""yes; then :
74826 cat >>confdefs.h <<_ACEOF
74827 #define HAVE_LOGF 1
74828 _ACEOF
74831 done
74833 else
74835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74836 $as_echo_n "checking for _logf declaration... " >&6; }
74837 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74838 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74839 $as_echo_n "(cached) " >&6
74840 else
74843 ac_ext=cpp
74844 ac_cpp='$CXXCPP $CPPFLAGS'
74845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74850 /* end confdefs.h. */
74851 #include <math.h>
74852 #ifdef HAVE_IEEEFP_H
74853 #include <ieeefp.h>
74854 #endif
74857 main ()
74859 _logf(0);
74861 return 0;
74863 _ACEOF
74864 if ac_fn_cxx_try_compile "$LINENO"; then :
74865 glibcxx_cv_func__logf_use=yes
74866 else
74867 glibcxx_cv_func__logf_use=no
74869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74870 ac_ext=c
74871 ac_cpp='$CPP $CPPFLAGS'
74872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74881 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74883 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74884 for ac_func in _logf
74885 do :
74886 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74887 if test "x$ac_cv_func__logf" = x""yes; then :
74888 cat >>confdefs.h <<_ACEOF
74889 #define HAVE__LOGF 1
74890 _ACEOF
74893 done
74902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74903 $as_echo_n "checking for log10f declaration... " >&6; }
74904 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74905 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74906 $as_echo_n "(cached) " >&6
74907 else
74910 ac_ext=cpp
74911 ac_cpp='$CXXCPP $CPPFLAGS'
74912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74917 /* end confdefs.h. */
74918 #include <math.h>
74919 #ifdef HAVE_IEEEFP_H
74920 #include <ieeefp.h>
74921 #endif
74924 main ()
74926 log10f(0);
74928 return 0;
74930 _ACEOF
74931 if ac_fn_cxx_try_compile "$LINENO"; then :
74932 glibcxx_cv_func_log10f_use=yes
74933 else
74934 glibcxx_cv_func_log10f_use=no
74936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74937 ac_ext=c
74938 ac_cpp='$CPP $CPPFLAGS'
74939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74948 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74950 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74951 for ac_func in log10f
74952 do :
74953 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74954 if test "x$ac_cv_func_log10f" = x""yes; then :
74955 cat >>confdefs.h <<_ACEOF
74956 #define HAVE_LOG10F 1
74957 _ACEOF
74960 done
74962 else
74964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74965 $as_echo_n "checking for _log10f declaration... " >&6; }
74966 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74967 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74968 $as_echo_n "(cached) " >&6
74969 else
74972 ac_ext=cpp
74973 ac_cpp='$CXXCPP $CPPFLAGS'
74974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74979 /* end confdefs.h. */
74980 #include <math.h>
74981 #ifdef HAVE_IEEEFP_H
74982 #include <ieeefp.h>
74983 #endif
74986 main ()
74988 _log10f(0);
74990 return 0;
74992 _ACEOF
74993 if ac_fn_cxx_try_compile "$LINENO"; then :
74994 glibcxx_cv_func__log10f_use=yes
74995 else
74996 glibcxx_cv_func__log10f_use=no
74998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74999 ac_ext=c
75000 ac_cpp='$CPP $CPPFLAGS'
75001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75010 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75012 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75013 for ac_func in _log10f
75014 do :
75015 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75016 if test "x$ac_cv_func__log10f" = x""yes; then :
75017 cat >>confdefs.h <<_ACEOF
75018 #define HAVE__LOG10F 1
75019 _ACEOF
75022 done
75031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75032 $as_echo_n "checking for modff declaration... " >&6; }
75033 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75034 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75035 $as_echo_n "(cached) " >&6
75036 else
75039 ac_ext=cpp
75040 ac_cpp='$CXXCPP $CPPFLAGS'
75041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75046 /* end confdefs.h. */
75047 #include <math.h>
75049 main ()
75051 modff(0, 0);
75053 return 0;
75055 _ACEOF
75056 if ac_fn_cxx_try_compile "$LINENO"; then :
75057 glibcxx_cv_func_modff_use=yes
75058 else
75059 glibcxx_cv_func_modff_use=no
75061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75062 ac_ext=c
75063 ac_cpp='$CPP $CPPFLAGS'
75064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75073 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75075 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75076 for ac_func in modff
75077 do :
75078 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75079 if test "x$ac_cv_func_modff" = x""yes; then :
75080 cat >>confdefs.h <<_ACEOF
75081 #define HAVE_MODFF 1
75082 _ACEOF
75085 done
75087 else
75089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75090 $as_echo_n "checking for _modff declaration... " >&6; }
75091 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75092 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75093 $as_echo_n "(cached) " >&6
75094 else
75097 ac_ext=cpp
75098 ac_cpp='$CXXCPP $CPPFLAGS'
75099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75104 /* end confdefs.h. */
75105 #include <math.h>
75107 main ()
75109 _modff(0, 0);
75111 return 0;
75113 _ACEOF
75114 if ac_fn_cxx_try_compile "$LINENO"; then :
75115 glibcxx_cv_func__modff_use=yes
75116 else
75117 glibcxx_cv_func__modff_use=no
75119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75120 ac_ext=c
75121 ac_cpp='$CPP $CPPFLAGS'
75122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75131 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75133 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75134 for ac_func in _modff
75135 do :
75136 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75137 if test "x$ac_cv_func__modff" = x""yes; then :
75138 cat >>confdefs.h <<_ACEOF
75139 #define HAVE__MODFF 1
75140 _ACEOF
75143 done
75152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75153 $as_echo_n "checking for modf declaration... " >&6; }
75154 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75155 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75156 $as_echo_n "(cached) " >&6
75157 else
75160 ac_ext=cpp
75161 ac_cpp='$CXXCPP $CPPFLAGS'
75162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75167 /* end confdefs.h. */
75168 #include <math.h>
75170 main ()
75172 modf(0, 0);
75174 return 0;
75176 _ACEOF
75177 if ac_fn_cxx_try_compile "$LINENO"; then :
75178 glibcxx_cv_func_modf_use=yes
75179 else
75180 glibcxx_cv_func_modf_use=no
75182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75183 ac_ext=c
75184 ac_cpp='$CPP $CPPFLAGS'
75185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75194 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75196 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75197 for ac_func in modf
75198 do :
75199 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75200 if test "x$ac_cv_func_modf" = x""yes; then :
75201 cat >>confdefs.h <<_ACEOF
75202 #define HAVE_MODF 1
75203 _ACEOF
75206 done
75208 else
75210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75211 $as_echo_n "checking for _modf declaration... " >&6; }
75212 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75213 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75214 $as_echo_n "(cached) " >&6
75215 else
75218 ac_ext=cpp
75219 ac_cpp='$CXXCPP $CPPFLAGS'
75220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75225 /* end confdefs.h. */
75226 #include <math.h>
75228 main ()
75230 _modf(0, 0);
75232 return 0;
75234 _ACEOF
75235 if ac_fn_cxx_try_compile "$LINENO"; then :
75236 glibcxx_cv_func__modf_use=yes
75237 else
75238 glibcxx_cv_func__modf_use=no
75240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75241 ac_ext=c
75242 ac_cpp='$CPP $CPPFLAGS'
75243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75252 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75254 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75255 for ac_func in _modf
75256 do :
75257 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75258 if test "x$ac_cv_func__modf" = x""yes; then :
75259 cat >>confdefs.h <<_ACEOF
75260 #define HAVE__MODF 1
75261 _ACEOF
75264 done
75273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75274 $as_echo_n "checking for powf declaration... " >&6; }
75275 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75276 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75277 $as_echo_n "(cached) " >&6
75278 else
75281 ac_ext=cpp
75282 ac_cpp='$CXXCPP $CPPFLAGS'
75283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75288 /* end confdefs.h. */
75289 #include <math.h>
75291 main ()
75293 powf(0, 0);
75295 return 0;
75297 _ACEOF
75298 if ac_fn_cxx_try_compile "$LINENO"; then :
75299 glibcxx_cv_func_powf_use=yes
75300 else
75301 glibcxx_cv_func_powf_use=no
75303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75304 ac_ext=c
75305 ac_cpp='$CPP $CPPFLAGS'
75306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75315 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75317 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75318 for ac_func in powf
75319 do :
75320 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75321 if test "x$ac_cv_func_powf" = x""yes; then :
75322 cat >>confdefs.h <<_ACEOF
75323 #define HAVE_POWF 1
75324 _ACEOF
75327 done
75329 else
75331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75332 $as_echo_n "checking for _powf declaration... " >&6; }
75333 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75334 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75335 $as_echo_n "(cached) " >&6
75336 else
75339 ac_ext=cpp
75340 ac_cpp='$CXXCPP $CPPFLAGS'
75341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75346 /* end confdefs.h. */
75347 #include <math.h>
75349 main ()
75351 _powf(0, 0);
75353 return 0;
75355 _ACEOF
75356 if ac_fn_cxx_try_compile "$LINENO"; then :
75357 glibcxx_cv_func__powf_use=yes
75358 else
75359 glibcxx_cv_func__powf_use=no
75361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75362 ac_ext=c
75363 ac_cpp='$CPP $CPPFLAGS'
75364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75373 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75375 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75376 for ac_func in _powf
75377 do :
75378 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75379 if test "x$ac_cv_func__powf" = x""yes; then :
75380 cat >>confdefs.h <<_ACEOF
75381 #define HAVE__POWF 1
75382 _ACEOF
75385 done
75394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75395 $as_echo_n "checking for sqrtf declaration... " >&6; }
75396 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75397 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75398 $as_echo_n "(cached) " >&6
75399 else
75402 ac_ext=cpp
75403 ac_cpp='$CXXCPP $CPPFLAGS'
75404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75409 /* end confdefs.h. */
75410 #include <math.h>
75411 #ifdef HAVE_IEEEFP_H
75412 #include <ieeefp.h>
75413 #endif
75416 main ()
75418 sqrtf(0);
75420 return 0;
75422 _ACEOF
75423 if ac_fn_cxx_try_compile "$LINENO"; then :
75424 glibcxx_cv_func_sqrtf_use=yes
75425 else
75426 glibcxx_cv_func_sqrtf_use=no
75428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75429 ac_ext=c
75430 ac_cpp='$CPP $CPPFLAGS'
75431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75440 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75442 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75443 for ac_func in sqrtf
75444 do :
75445 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75446 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75447 cat >>confdefs.h <<_ACEOF
75448 #define HAVE_SQRTF 1
75449 _ACEOF
75452 done
75454 else
75456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75457 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75458 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75459 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75460 $as_echo_n "(cached) " >&6
75461 else
75464 ac_ext=cpp
75465 ac_cpp='$CXXCPP $CPPFLAGS'
75466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75471 /* end confdefs.h. */
75472 #include <math.h>
75473 #ifdef HAVE_IEEEFP_H
75474 #include <ieeefp.h>
75475 #endif
75478 main ()
75480 _sqrtf(0);
75482 return 0;
75484 _ACEOF
75485 if ac_fn_cxx_try_compile "$LINENO"; then :
75486 glibcxx_cv_func__sqrtf_use=yes
75487 else
75488 glibcxx_cv_func__sqrtf_use=no
75490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75491 ac_ext=c
75492 ac_cpp='$CPP $CPPFLAGS'
75493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75502 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75504 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75505 for ac_func in _sqrtf
75506 do :
75507 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75508 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75509 cat >>confdefs.h <<_ACEOF
75510 #define HAVE__SQRTF 1
75511 _ACEOF
75514 done
75523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75524 $as_echo_n "checking for sincosf declaration... " >&6; }
75525 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75526 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75527 $as_echo_n "(cached) " >&6
75528 else
75531 ac_ext=cpp
75532 ac_cpp='$CXXCPP $CPPFLAGS'
75533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75538 /* end confdefs.h. */
75539 #include <math.h>
75541 main ()
75543 sincosf(0, 0, 0);
75545 return 0;
75547 _ACEOF
75548 if ac_fn_cxx_try_compile "$LINENO"; then :
75549 glibcxx_cv_func_sincosf_use=yes
75550 else
75551 glibcxx_cv_func_sincosf_use=no
75553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75554 ac_ext=c
75555 ac_cpp='$CPP $CPPFLAGS'
75556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75565 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75567 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75568 for ac_func in sincosf
75569 do :
75570 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75571 if test "x$ac_cv_func_sincosf" = x""yes; then :
75572 cat >>confdefs.h <<_ACEOF
75573 #define HAVE_SINCOSF 1
75574 _ACEOF
75577 done
75579 else
75581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75582 $as_echo_n "checking for _sincosf declaration... " >&6; }
75583 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75584 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75585 $as_echo_n "(cached) " >&6
75586 else
75589 ac_ext=cpp
75590 ac_cpp='$CXXCPP $CPPFLAGS'
75591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75596 /* end confdefs.h. */
75597 #include <math.h>
75599 main ()
75601 _sincosf(0, 0, 0);
75603 return 0;
75605 _ACEOF
75606 if ac_fn_cxx_try_compile "$LINENO"; then :
75607 glibcxx_cv_func__sincosf_use=yes
75608 else
75609 glibcxx_cv_func__sincosf_use=no
75611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75612 ac_ext=c
75613 ac_cpp='$CPP $CPPFLAGS'
75614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75623 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75625 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75626 for ac_func in _sincosf
75627 do :
75628 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75629 if test "x$ac_cv_func__sincosf" = x""yes; then :
75630 cat >>confdefs.h <<_ACEOF
75631 #define HAVE__SINCOSF 1
75632 _ACEOF
75635 done
75644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75645 $as_echo_n "checking for finitef declaration... " >&6; }
75646 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75647 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75648 $as_echo_n "(cached) " >&6
75649 else
75652 ac_ext=cpp
75653 ac_cpp='$CXXCPP $CPPFLAGS'
75654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75659 /* end confdefs.h. */
75660 #include <math.h>
75661 #ifdef HAVE_IEEEFP_H
75662 #include <ieeefp.h>
75663 #endif
75666 main ()
75668 finitef(0);
75670 return 0;
75672 _ACEOF
75673 if ac_fn_cxx_try_compile "$LINENO"; then :
75674 glibcxx_cv_func_finitef_use=yes
75675 else
75676 glibcxx_cv_func_finitef_use=no
75678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75679 ac_ext=c
75680 ac_cpp='$CPP $CPPFLAGS'
75681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75690 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75692 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75693 for ac_func in finitef
75694 do :
75695 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75696 if test "x$ac_cv_func_finitef" = x""yes; then :
75697 cat >>confdefs.h <<_ACEOF
75698 #define HAVE_FINITEF 1
75699 _ACEOF
75702 done
75704 else
75706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75707 $as_echo_n "checking for _finitef declaration... " >&6; }
75708 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75709 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75710 $as_echo_n "(cached) " >&6
75711 else
75714 ac_ext=cpp
75715 ac_cpp='$CXXCPP $CPPFLAGS'
75716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75721 /* end confdefs.h. */
75722 #include <math.h>
75723 #ifdef HAVE_IEEEFP_H
75724 #include <ieeefp.h>
75725 #endif
75728 main ()
75730 _finitef(0);
75732 return 0;
75734 _ACEOF
75735 if ac_fn_cxx_try_compile "$LINENO"; then :
75736 glibcxx_cv_func__finitef_use=yes
75737 else
75738 glibcxx_cv_func__finitef_use=no
75740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75741 ac_ext=c
75742 ac_cpp='$CPP $CPPFLAGS'
75743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75752 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75754 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75755 for ac_func in _finitef
75756 do :
75757 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75758 if test "x$ac_cv_func__finitef" = x""yes; then :
75759 cat >>confdefs.h <<_ACEOF
75760 #define HAVE__FINITEF 1
75761 _ACEOF
75764 done
75773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75774 $as_echo_n "checking for long double trig functions... " >&6; }
75775 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75776 $as_echo_n "(cached) " >&6
75777 else
75780 ac_ext=cpp
75781 ac_cpp='$CXXCPP $CPPFLAGS'
75782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75787 /* end confdefs.h. */
75788 #include <math.h>
75790 main ()
75792 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75794 return 0;
75796 _ACEOF
75797 if ac_fn_cxx_try_compile "$LINENO"; then :
75798 glibcxx_cv_func_long_double_trig_use=yes
75799 else
75800 glibcxx_cv_func_long_double_trig_use=no
75802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75803 ac_ext=c
75804 ac_cpp='$CPP $CPPFLAGS'
75805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75812 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75813 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75814 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75815 do :
75816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75818 eval as_val=\$$as_ac_var
75819 if test "x$as_val" = x""yes; then :
75820 cat >>confdefs.h <<_ACEOF
75821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75822 _ACEOF
75825 done
75827 else
75828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75829 $as_echo_n "checking for _long double trig functions... " >&6; }
75830 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75831 $as_echo_n "(cached) " >&6
75832 else
75835 ac_ext=cpp
75836 ac_cpp='$CXXCPP $CPPFLAGS'
75837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75842 /* end confdefs.h. */
75843 #include <math.h>
75845 main ()
75847 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75849 return 0;
75851 _ACEOF
75852 if ac_fn_cxx_try_compile "$LINENO"; then :
75853 glibcxx_cv_func__long_double_trig_use=yes
75854 else
75855 glibcxx_cv_func__long_double_trig_use=no
75857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75858 ac_ext=c
75859 ac_cpp='$CPP $CPPFLAGS'
75860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75867 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75868 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75869 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75870 do :
75871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75873 eval as_val=\$$as_ac_var
75874 if test "x$as_val" = x""yes; then :
75875 cat >>confdefs.h <<_ACEOF
75876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75877 _ACEOF
75880 done
75889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75890 $as_echo_n "checking for long double round functions... " >&6; }
75891 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75892 $as_echo_n "(cached) " >&6
75893 else
75896 ac_ext=cpp
75897 ac_cpp='$CXXCPP $CPPFLAGS'
75898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75903 /* end confdefs.h. */
75904 #include <math.h>
75906 main ()
75908 ceill (0); floorl (0);
75910 return 0;
75912 _ACEOF
75913 if ac_fn_cxx_try_compile "$LINENO"; then :
75914 glibcxx_cv_func_long_double_round_use=yes
75915 else
75916 glibcxx_cv_func_long_double_round_use=no
75918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75919 ac_ext=c
75920 ac_cpp='$CPP $CPPFLAGS'
75921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75928 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75929 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75930 for ac_func in ceill floorl
75931 do :
75932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75934 eval as_val=\$$as_ac_var
75935 if test "x$as_val" = x""yes; then :
75936 cat >>confdefs.h <<_ACEOF
75937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75938 _ACEOF
75941 done
75943 else
75944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75945 $as_echo_n "checking for _long double round functions... " >&6; }
75946 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75947 $as_echo_n "(cached) " >&6
75948 else
75951 ac_ext=cpp
75952 ac_cpp='$CXXCPP $CPPFLAGS'
75953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75958 /* end confdefs.h. */
75959 #include <math.h>
75961 main ()
75963 _ceill (0); _floorl (0);
75965 return 0;
75967 _ACEOF
75968 if ac_fn_cxx_try_compile "$LINENO"; then :
75969 glibcxx_cv_func__long_double_round_use=yes
75970 else
75971 glibcxx_cv_func__long_double_round_use=no
75973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75974 ac_ext=c
75975 ac_cpp='$CPP $CPPFLAGS'
75976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75983 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75984 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75985 for ac_func in _ceill _floorl
75986 do :
75987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75989 eval as_val=\$$as_ac_var
75990 if test "x$as_val" = x""yes; then :
75991 cat >>confdefs.h <<_ACEOF
75992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75993 _ACEOF
75996 done
76006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76007 $as_echo_n "checking for isnanl declaration... " >&6; }
76008 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76009 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
76010 $as_echo_n "(cached) " >&6
76011 else
76014 ac_ext=cpp
76015 ac_cpp='$CXXCPP $CPPFLAGS'
76016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76021 /* end confdefs.h. */
76022 #include <math.h>
76023 #ifdef HAVE_IEEEFP_H
76024 #include <ieeefp.h>
76025 #endif
76028 main ()
76030 isnanl(0);
76032 return 0;
76034 _ACEOF
76035 if ac_fn_cxx_try_compile "$LINENO"; then :
76036 glibcxx_cv_func_isnanl_use=yes
76037 else
76038 glibcxx_cv_func_isnanl_use=no
76040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76041 ac_ext=c
76042 ac_cpp='$CPP $CPPFLAGS'
76043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76052 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76054 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76055 for ac_func in isnanl
76056 do :
76057 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76058 if test "x$ac_cv_func_isnanl" = x""yes; then :
76059 cat >>confdefs.h <<_ACEOF
76060 #define HAVE_ISNANL 1
76061 _ACEOF
76064 done
76066 else
76068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76069 $as_echo_n "checking for _isnanl declaration... " >&6; }
76070 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76071 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76072 $as_echo_n "(cached) " >&6
76073 else
76076 ac_ext=cpp
76077 ac_cpp='$CXXCPP $CPPFLAGS'
76078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76083 /* end confdefs.h. */
76084 #include <math.h>
76085 #ifdef HAVE_IEEEFP_H
76086 #include <ieeefp.h>
76087 #endif
76090 main ()
76092 _isnanl(0);
76094 return 0;
76096 _ACEOF
76097 if ac_fn_cxx_try_compile "$LINENO"; then :
76098 glibcxx_cv_func__isnanl_use=yes
76099 else
76100 glibcxx_cv_func__isnanl_use=no
76102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76103 ac_ext=c
76104 ac_cpp='$CPP $CPPFLAGS'
76105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76114 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76116 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76117 for ac_func in _isnanl
76118 do :
76119 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76120 if test "x$ac_cv_func__isnanl" = x""yes; then :
76121 cat >>confdefs.h <<_ACEOF
76122 #define HAVE__ISNANL 1
76123 _ACEOF
76126 done
76135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76136 $as_echo_n "checking for isinfl declaration... " >&6; }
76137 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76138 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76139 $as_echo_n "(cached) " >&6
76140 else
76143 ac_ext=cpp
76144 ac_cpp='$CXXCPP $CPPFLAGS'
76145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76150 /* end confdefs.h. */
76151 #include <math.h>
76152 #ifdef HAVE_IEEEFP_H
76153 #include <ieeefp.h>
76154 #endif
76157 main ()
76159 isinfl(0);
76161 return 0;
76163 _ACEOF
76164 if ac_fn_cxx_try_compile "$LINENO"; then :
76165 glibcxx_cv_func_isinfl_use=yes
76166 else
76167 glibcxx_cv_func_isinfl_use=no
76169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76170 ac_ext=c
76171 ac_cpp='$CPP $CPPFLAGS'
76172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76181 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76183 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76184 for ac_func in isinfl
76185 do :
76186 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76187 if test "x$ac_cv_func_isinfl" = x""yes; then :
76188 cat >>confdefs.h <<_ACEOF
76189 #define HAVE_ISINFL 1
76190 _ACEOF
76193 done
76195 else
76197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76198 $as_echo_n "checking for _isinfl declaration... " >&6; }
76199 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76200 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76201 $as_echo_n "(cached) " >&6
76202 else
76205 ac_ext=cpp
76206 ac_cpp='$CXXCPP $CPPFLAGS'
76207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76212 /* end confdefs.h. */
76213 #include <math.h>
76214 #ifdef HAVE_IEEEFP_H
76215 #include <ieeefp.h>
76216 #endif
76219 main ()
76221 _isinfl(0);
76223 return 0;
76225 _ACEOF
76226 if ac_fn_cxx_try_compile "$LINENO"; then :
76227 glibcxx_cv_func__isinfl_use=yes
76228 else
76229 glibcxx_cv_func__isinfl_use=no
76231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76232 ac_ext=c
76233 ac_cpp='$CPP $CPPFLAGS'
76234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76243 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76245 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76246 for ac_func in _isinfl
76247 do :
76248 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76249 if test "x$ac_cv_func__isinfl" = x""yes; then :
76250 cat >>confdefs.h <<_ACEOF
76251 #define HAVE__ISINFL 1
76252 _ACEOF
76255 done
76264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76265 $as_echo_n "checking for atan2l declaration... " >&6; }
76266 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76267 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76268 $as_echo_n "(cached) " >&6
76269 else
76272 ac_ext=cpp
76273 ac_cpp='$CXXCPP $CPPFLAGS'
76274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76279 /* end confdefs.h. */
76280 #include <math.h>
76282 main ()
76284 atan2l(0, 0);
76286 return 0;
76288 _ACEOF
76289 if ac_fn_cxx_try_compile "$LINENO"; then :
76290 glibcxx_cv_func_atan2l_use=yes
76291 else
76292 glibcxx_cv_func_atan2l_use=no
76294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76295 ac_ext=c
76296 ac_cpp='$CPP $CPPFLAGS'
76297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76306 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76308 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76309 for ac_func in atan2l
76310 do :
76311 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76312 if test "x$ac_cv_func_atan2l" = x""yes; then :
76313 cat >>confdefs.h <<_ACEOF
76314 #define HAVE_ATAN2L 1
76315 _ACEOF
76318 done
76320 else
76322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76323 $as_echo_n "checking for _atan2l declaration... " >&6; }
76324 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76325 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76326 $as_echo_n "(cached) " >&6
76327 else
76330 ac_ext=cpp
76331 ac_cpp='$CXXCPP $CPPFLAGS'
76332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76337 /* end confdefs.h. */
76338 #include <math.h>
76340 main ()
76342 _atan2l(0, 0);
76344 return 0;
76346 _ACEOF
76347 if ac_fn_cxx_try_compile "$LINENO"; then :
76348 glibcxx_cv_func__atan2l_use=yes
76349 else
76350 glibcxx_cv_func__atan2l_use=no
76352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76353 ac_ext=c
76354 ac_cpp='$CPP $CPPFLAGS'
76355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76364 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76366 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76367 for ac_func in _atan2l
76368 do :
76369 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76370 if test "x$ac_cv_func__atan2l" = x""yes; then :
76371 cat >>confdefs.h <<_ACEOF
76372 #define HAVE__ATAN2L 1
76373 _ACEOF
76376 done
76385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76386 $as_echo_n "checking for expl declaration... " >&6; }
76387 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76388 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76389 $as_echo_n "(cached) " >&6
76390 else
76393 ac_ext=cpp
76394 ac_cpp='$CXXCPP $CPPFLAGS'
76395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76400 /* end confdefs.h. */
76401 #include <math.h>
76402 #ifdef HAVE_IEEEFP_H
76403 #include <ieeefp.h>
76404 #endif
76407 main ()
76409 expl(0);
76411 return 0;
76413 _ACEOF
76414 if ac_fn_cxx_try_compile "$LINENO"; then :
76415 glibcxx_cv_func_expl_use=yes
76416 else
76417 glibcxx_cv_func_expl_use=no
76419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76420 ac_ext=c
76421 ac_cpp='$CPP $CPPFLAGS'
76422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76431 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76433 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76434 for ac_func in expl
76435 do :
76436 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76437 if test "x$ac_cv_func_expl" = x""yes; then :
76438 cat >>confdefs.h <<_ACEOF
76439 #define HAVE_EXPL 1
76440 _ACEOF
76443 done
76445 else
76447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76448 $as_echo_n "checking for _expl declaration... " >&6; }
76449 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76450 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76451 $as_echo_n "(cached) " >&6
76452 else
76455 ac_ext=cpp
76456 ac_cpp='$CXXCPP $CPPFLAGS'
76457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76462 /* end confdefs.h. */
76463 #include <math.h>
76464 #ifdef HAVE_IEEEFP_H
76465 #include <ieeefp.h>
76466 #endif
76469 main ()
76471 _expl(0);
76473 return 0;
76475 _ACEOF
76476 if ac_fn_cxx_try_compile "$LINENO"; then :
76477 glibcxx_cv_func__expl_use=yes
76478 else
76479 glibcxx_cv_func__expl_use=no
76481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76482 ac_ext=c
76483 ac_cpp='$CPP $CPPFLAGS'
76484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76493 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76495 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76496 for ac_func in _expl
76497 do :
76498 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76499 if test "x$ac_cv_func__expl" = x""yes; then :
76500 cat >>confdefs.h <<_ACEOF
76501 #define HAVE__EXPL 1
76502 _ACEOF
76505 done
76514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76515 $as_echo_n "checking for fabsl declaration... " >&6; }
76516 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76517 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76518 $as_echo_n "(cached) " >&6
76519 else
76522 ac_ext=cpp
76523 ac_cpp='$CXXCPP $CPPFLAGS'
76524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76529 /* end confdefs.h. */
76530 #include <math.h>
76531 #ifdef HAVE_IEEEFP_H
76532 #include <ieeefp.h>
76533 #endif
76536 main ()
76538 fabsl(0);
76540 return 0;
76542 _ACEOF
76543 if ac_fn_cxx_try_compile "$LINENO"; then :
76544 glibcxx_cv_func_fabsl_use=yes
76545 else
76546 glibcxx_cv_func_fabsl_use=no
76548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76549 ac_ext=c
76550 ac_cpp='$CPP $CPPFLAGS'
76551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76560 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76562 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76563 for ac_func in fabsl
76564 do :
76565 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76566 if test "x$ac_cv_func_fabsl" = x""yes; then :
76567 cat >>confdefs.h <<_ACEOF
76568 #define HAVE_FABSL 1
76569 _ACEOF
76572 done
76574 else
76576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76577 $as_echo_n "checking for _fabsl declaration... " >&6; }
76578 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76579 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76580 $as_echo_n "(cached) " >&6
76581 else
76584 ac_ext=cpp
76585 ac_cpp='$CXXCPP $CPPFLAGS'
76586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76591 /* end confdefs.h. */
76592 #include <math.h>
76593 #ifdef HAVE_IEEEFP_H
76594 #include <ieeefp.h>
76595 #endif
76598 main ()
76600 _fabsl(0);
76602 return 0;
76604 _ACEOF
76605 if ac_fn_cxx_try_compile "$LINENO"; then :
76606 glibcxx_cv_func__fabsl_use=yes
76607 else
76608 glibcxx_cv_func__fabsl_use=no
76610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76611 ac_ext=c
76612 ac_cpp='$CPP $CPPFLAGS'
76613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76622 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76624 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76625 for ac_func in _fabsl
76626 do :
76627 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76628 if test "x$ac_cv_func__fabsl" = x""yes; then :
76629 cat >>confdefs.h <<_ACEOF
76630 #define HAVE__FABSL 1
76631 _ACEOF
76634 done
76643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76644 $as_echo_n "checking for fmodl declaration... " >&6; }
76645 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76646 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76647 $as_echo_n "(cached) " >&6
76648 else
76651 ac_ext=cpp
76652 ac_cpp='$CXXCPP $CPPFLAGS'
76653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76658 /* end confdefs.h. */
76659 #include <math.h>
76661 main ()
76663 fmodl(0, 0);
76665 return 0;
76667 _ACEOF
76668 if ac_fn_cxx_try_compile "$LINENO"; then :
76669 glibcxx_cv_func_fmodl_use=yes
76670 else
76671 glibcxx_cv_func_fmodl_use=no
76673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76674 ac_ext=c
76675 ac_cpp='$CPP $CPPFLAGS'
76676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76685 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76687 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76688 for ac_func in fmodl
76689 do :
76690 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76691 if test "x$ac_cv_func_fmodl" = x""yes; then :
76692 cat >>confdefs.h <<_ACEOF
76693 #define HAVE_FMODL 1
76694 _ACEOF
76697 done
76699 else
76701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76702 $as_echo_n "checking for _fmodl declaration... " >&6; }
76703 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76704 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76705 $as_echo_n "(cached) " >&6
76706 else
76709 ac_ext=cpp
76710 ac_cpp='$CXXCPP $CPPFLAGS'
76711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76716 /* end confdefs.h. */
76717 #include <math.h>
76719 main ()
76721 _fmodl(0, 0);
76723 return 0;
76725 _ACEOF
76726 if ac_fn_cxx_try_compile "$LINENO"; then :
76727 glibcxx_cv_func__fmodl_use=yes
76728 else
76729 glibcxx_cv_func__fmodl_use=no
76731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76732 ac_ext=c
76733 ac_cpp='$CPP $CPPFLAGS'
76734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76743 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76745 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76746 for ac_func in _fmodl
76747 do :
76748 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76749 if test "x$ac_cv_func__fmodl" = x""yes; then :
76750 cat >>confdefs.h <<_ACEOF
76751 #define HAVE__FMODL 1
76752 _ACEOF
76755 done
76764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76765 $as_echo_n "checking for frexpl declaration... " >&6; }
76766 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76767 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76768 $as_echo_n "(cached) " >&6
76769 else
76772 ac_ext=cpp
76773 ac_cpp='$CXXCPP $CPPFLAGS'
76774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76779 /* end confdefs.h. */
76780 #include <math.h>
76782 main ()
76784 frexpl(0, 0);
76786 return 0;
76788 _ACEOF
76789 if ac_fn_cxx_try_compile "$LINENO"; then :
76790 glibcxx_cv_func_frexpl_use=yes
76791 else
76792 glibcxx_cv_func_frexpl_use=no
76794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76795 ac_ext=c
76796 ac_cpp='$CPP $CPPFLAGS'
76797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76806 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76808 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76809 for ac_func in frexpl
76810 do :
76811 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76812 if test "x$ac_cv_func_frexpl" = x""yes; then :
76813 cat >>confdefs.h <<_ACEOF
76814 #define HAVE_FREXPL 1
76815 _ACEOF
76818 done
76820 else
76822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76823 $as_echo_n "checking for _frexpl declaration... " >&6; }
76824 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76825 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76826 $as_echo_n "(cached) " >&6
76827 else
76830 ac_ext=cpp
76831 ac_cpp='$CXXCPP $CPPFLAGS'
76832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76837 /* end confdefs.h. */
76838 #include <math.h>
76840 main ()
76842 _frexpl(0, 0);
76844 return 0;
76846 _ACEOF
76847 if ac_fn_cxx_try_compile "$LINENO"; then :
76848 glibcxx_cv_func__frexpl_use=yes
76849 else
76850 glibcxx_cv_func__frexpl_use=no
76852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76853 ac_ext=c
76854 ac_cpp='$CPP $CPPFLAGS'
76855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76864 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76866 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76867 for ac_func in _frexpl
76868 do :
76869 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76870 if test "x$ac_cv_func__frexpl" = x""yes; then :
76871 cat >>confdefs.h <<_ACEOF
76872 #define HAVE__FREXPL 1
76873 _ACEOF
76876 done
76885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76886 $as_echo_n "checking for hypotl declaration... " >&6; }
76887 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76888 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76889 $as_echo_n "(cached) " >&6
76890 else
76893 ac_ext=cpp
76894 ac_cpp='$CXXCPP $CPPFLAGS'
76895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76900 /* end confdefs.h. */
76901 #include <math.h>
76903 main ()
76905 hypotl(0, 0);
76907 return 0;
76909 _ACEOF
76910 if ac_fn_cxx_try_compile "$LINENO"; then :
76911 glibcxx_cv_func_hypotl_use=yes
76912 else
76913 glibcxx_cv_func_hypotl_use=no
76915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76916 ac_ext=c
76917 ac_cpp='$CPP $CPPFLAGS'
76918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76927 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76929 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76930 for ac_func in hypotl
76931 do :
76932 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76933 if test "x$ac_cv_func_hypotl" = x""yes; then :
76934 cat >>confdefs.h <<_ACEOF
76935 #define HAVE_HYPOTL 1
76936 _ACEOF
76939 done
76941 else
76943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76944 $as_echo_n "checking for _hypotl declaration... " >&6; }
76945 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76946 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76947 $as_echo_n "(cached) " >&6
76948 else
76951 ac_ext=cpp
76952 ac_cpp='$CXXCPP $CPPFLAGS'
76953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76958 /* end confdefs.h. */
76959 #include <math.h>
76961 main ()
76963 _hypotl(0, 0);
76965 return 0;
76967 _ACEOF
76968 if ac_fn_cxx_try_compile "$LINENO"; then :
76969 glibcxx_cv_func__hypotl_use=yes
76970 else
76971 glibcxx_cv_func__hypotl_use=no
76973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76974 ac_ext=c
76975 ac_cpp='$CPP $CPPFLAGS'
76976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76985 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76987 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76988 for ac_func in _hypotl
76989 do :
76990 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76991 if test "x$ac_cv_func__hypotl" = x""yes; then :
76992 cat >>confdefs.h <<_ACEOF
76993 #define HAVE__HYPOTL 1
76994 _ACEOF
76997 done
77006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77007 $as_echo_n "checking for ldexpl declaration... " >&6; }
77008 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77009 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77010 $as_echo_n "(cached) " >&6
77011 else
77014 ac_ext=cpp
77015 ac_cpp='$CXXCPP $CPPFLAGS'
77016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77021 /* end confdefs.h. */
77022 #include <math.h>
77024 main ()
77026 ldexpl(0, 0);
77028 return 0;
77030 _ACEOF
77031 if ac_fn_cxx_try_compile "$LINENO"; then :
77032 glibcxx_cv_func_ldexpl_use=yes
77033 else
77034 glibcxx_cv_func_ldexpl_use=no
77036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77037 ac_ext=c
77038 ac_cpp='$CPP $CPPFLAGS'
77039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77048 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77050 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77051 for ac_func in ldexpl
77052 do :
77053 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77054 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77055 cat >>confdefs.h <<_ACEOF
77056 #define HAVE_LDEXPL 1
77057 _ACEOF
77060 done
77062 else
77064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77065 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77066 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77067 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77068 $as_echo_n "(cached) " >&6
77069 else
77072 ac_ext=cpp
77073 ac_cpp='$CXXCPP $CPPFLAGS'
77074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77079 /* end confdefs.h. */
77080 #include <math.h>
77082 main ()
77084 _ldexpl(0, 0);
77086 return 0;
77088 _ACEOF
77089 if ac_fn_cxx_try_compile "$LINENO"; then :
77090 glibcxx_cv_func__ldexpl_use=yes
77091 else
77092 glibcxx_cv_func__ldexpl_use=no
77094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77095 ac_ext=c
77096 ac_cpp='$CPP $CPPFLAGS'
77097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77106 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77108 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77109 for ac_func in _ldexpl
77110 do :
77111 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77112 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77113 cat >>confdefs.h <<_ACEOF
77114 #define HAVE__LDEXPL 1
77115 _ACEOF
77118 done
77127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77128 $as_echo_n "checking for logl declaration... " >&6; }
77129 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77130 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77131 $as_echo_n "(cached) " >&6
77132 else
77135 ac_ext=cpp
77136 ac_cpp='$CXXCPP $CPPFLAGS'
77137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77142 /* end confdefs.h. */
77143 #include <math.h>
77144 #ifdef HAVE_IEEEFP_H
77145 #include <ieeefp.h>
77146 #endif
77149 main ()
77151 logl(0);
77153 return 0;
77155 _ACEOF
77156 if ac_fn_cxx_try_compile "$LINENO"; then :
77157 glibcxx_cv_func_logl_use=yes
77158 else
77159 glibcxx_cv_func_logl_use=no
77161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77162 ac_ext=c
77163 ac_cpp='$CPP $CPPFLAGS'
77164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77173 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77175 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77176 for ac_func in logl
77177 do :
77178 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77179 if test "x$ac_cv_func_logl" = x""yes; then :
77180 cat >>confdefs.h <<_ACEOF
77181 #define HAVE_LOGL 1
77182 _ACEOF
77185 done
77187 else
77189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77190 $as_echo_n "checking for _logl declaration... " >&6; }
77191 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77192 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77193 $as_echo_n "(cached) " >&6
77194 else
77197 ac_ext=cpp
77198 ac_cpp='$CXXCPP $CPPFLAGS'
77199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77204 /* end confdefs.h. */
77205 #include <math.h>
77206 #ifdef HAVE_IEEEFP_H
77207 #include <ieeefp.h>
77208 #endif
77211 main ()
77213 _logl(0);
77215 return 0;
77217 _ACEOF
77218 if ac_fn_cxx_try_compile "$LINENO"; then :
77219 glibcxx_cv_func__logl_use=yes
77220 else
77221 glibcxx_cv_func__logl_use=no
77223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77224 ac_ext=c
77225 ac_cpp='$CPP $CPPFLAGS'
77226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77235 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77237 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77238 for ac_func in _logl
77239 do :
77240 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77241 if test "x$ac_cv_func__logl" = x""yes; then :
77242 cat >>confdefs.h <<_ACEOF
77243 #define HAVE__LOGL 1
77244 _ACEOF
77247 done
77256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77257 $as_echo_n "checking for log10l declaration... " >&6; }
77258 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77259 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77260 $as_echo_n "(cached) " >&6
77261 else
77264 ac_ext=cpp
77265 ac_cpp='$CXXCPP $CPPFLAGS'
77266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77271 /* end confdefs.h. */
77272 #include <math.h>
77273 #ifdef HAVE_IEEEFP_H
77274 #include <ieeefp.h>
77275 #endif
77278 main ()
77280 log10l(0);
77282 return 0;
77284 _ACEOF
77285 if ac_fn_cxx_try_compile "$LINENO"; then :
77286 glibcxx_cv_func_log10l_use=yes
77287 else
77288 glibcxx_cv_func_log10l_use=no
77290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77291 ac_ext=c
77292 ac_cpp='$CPP $CPPFLAGS'
77293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77302 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77304 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77305 for ac_func in log10l
77306 do :
77307 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77308 if test "x$ac_cv_func_log10l" = x""yes; then :
77309 cat >>confdefs.h <<_ACEOF
77310 #define HAVE_LOG10L 1
77311 _ACEOF
77314 done
77316 else
77318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77319 $as_echo_n "checking for _log10l declaration... " >&6; }
77320 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77321 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77322 $as_echo_n "(cached) " >&6
77323 else
77326 ac_ext=cpp
77327 ac_cpp='$CXXCPP $CPPFLAGS'
77328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77333 /* end confdefs.h. */
77334 #include <math.h>
77335 #ifdef HAVE_IEEEFP_H
77336 #include <ieeefp.h>
77337 #endif
77340 main ()
77342 _log10l(0);
77344 return 0;
77346 _ACEOF
77347 if ac_fn_cxx_try_compile "$LINENO"; then :
77348 glibcxx_cv_func__log10l_use=yes
77349 else
77350 glibcxx_cv_func__log10l_use=no
77352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77353 ac_ext=c
77354 ac_cpp='$CPP $CPPFLAGS'
77355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77364 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77366 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77367 for ac_func in _log10l
77368 do :
77369 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77370 if test "x$ac_cv_func__log10l" = x""yes; then :
77371 cat >>confdefs.h <<_ACEOF
77372 #define HAVE__LOG10L 1
77373 _ACEOF
77376 done
77385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77386 $as_echo_n "checking for modfl declaration... " >&6; }
77387 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77388 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77389 $as_echo_n "(cached) " >&6
77390 else
77393 ac_ext=cpp
77394 ac_cpp='$CXXCPP $CPPFLAGS'
77395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77400 /* end confdefs.h. */
77401 #include <math.h>
77403 main ()
77405 modfl(0, 0);
77407 return 0;
77409 _ACEOF
77410 if ac_fn_cxx_try_compile "$LINENO"; then :
77411 glibcxx_cv_func_modfl_use=yes
77412 else
77413 glibcxx_cv_func_modfl_use=no
77415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77416 ac_ext=c
77417 ac_cpp='$CPP $CPPFLAGS'
77418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77427 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77429 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77430 for ac_func in modfl
77431 do :
77432 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77433 if test "x$ac_cv_func_modfl" = x""yes; then :
77434 cat >>confdefs.h <<_ACEOF
77435 #define HAVE_MODFL 1
77436 _ACEOF
77439 done
77441 else
77443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77444 $as_echo_n "checking for _modfl declaration... " >&6; }
77445 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77446 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77447 $as_echo_n "(cached) " >&6
77448 else
77451 ac_ext=cpp
77452 ac_cpp='$CXXCPP $CPPFLAGS'
77453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77458 /* end confdefs.h. */
77459 #include <math.h>
77461 main ()
77463 _modfl(0, 0);
77465 return 0;
77467 _ACEOF
77468 if ac_fn_cxx_try_compile "$LINENO"; then :
77469 glibcxx_cv_func__modfl_use=yes
77470 else
77471 glibcxx_cv_func__modfl_use=no
77473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77474 ac_ext=c
77475 ac_cpp='$CPP $CPPFLAGS'
77476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77485 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77487 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77488 for ac_func in _modfl
77489 do :
77490 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77491 if test "x$ac_cv_func__modfl" = x""yes; then :
77492 cat >>confdefs.h <<_ACEOF
77493 #define HAVE__MODFL 1
77494 _ACEOF
77497 done
77506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77507 $as_echo_n "checking for powl declaration... " >&6; }
77508 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77509 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77510 $as_echo_n "(cached) " >&6
77511 else
77514 ac_ext=cpp
77515 ac_cpp='$CXXCPP $CPPFLAGS'
77516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77521 /* end confdefs.h. */
77522 #include <math.h>
77524 main ()
77526 powl(0, 0);
77528 return 0;
77530 _ACEOF
77531 if ac_fn_cxx_try_compile "$LINENO"; then :
77532 glibcxx_cv_func_powl_use=yes
77533 else
77534 glibcxx_cv_func_powl_use=no
77536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77537 ac_ext=c
77538 ac_cpp='$CPP $CPPFLAGS'
77539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77548 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77550 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77551 for ac_func in powl
77552 do :
77553 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77554 if test "x$ac_cv_func_powl" = x""yes; then :
77555 cat >>confdefs.h <<_ACEOF
77556 #define HAVE_POWL 1
77557 _ACEOF
77560 done
77562 else
77564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77565 $as_echo_n "checking for _powl declaration... " >&6; }
77566 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77567 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77568 $as_echo_n "(cached) " >&6
77569 else
77572 ac_ext=cpp
77573 ac_cpp='$CXXCPP $CPPFLAGS'
77574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77579 /* end confdefs.h. */
77580 #include <math.h>
77582 main ()
77584 _powl(0, 0);
77586 return 0;
77588 _ACEOF
77589 if ac_fn_cxx_try_compile "$LINENO"; then :
77590 glibcxx_cv_func__powl_use=yes
77591 else
77592 glibcxx_cv_func__powl_use=no
77594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77595 ac_ext=c
77596 ac_cpp='$CPP $CPPFLAGS'
77597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77606 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77608 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77609 for ac_func in _powl
77610 do :
77611 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77612 if test "x$ac_cv_func__powl" = x""yes; then :
77613 cat >>confdefs.h <<_ACEOF
77614 #define HAVE__POWL 1
77615 _ACEOF
77618 done
77627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77628 $as_echo_n "checking for sqrtl declaration... " >&6; }
77629 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77630 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77631 $as_echo_n "(cached) " >&6
77632 else
77635 ac_ext=cpp
77636 ac_cpp='$CXXCPP $CPPFLAGS'
77637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77642 /* end confdefs.h. */
77643 #include <math.h>
77644 #ifdef HAVE_IEEEFP_H
77645 #include <ieeefp.h>
77646 #endif
77649 main ()
77651 sqrtl(0);
77653 return 0;
77655 _ACEOF
77656 if ac_fn_cxx_try_compile "$LINENO"; then :
77657 glibcxx_cv_func_sqrtl_use=yes
77658 else
77659 glibcxx_cv_func_sqrtl_use=no
77661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77662 ac_ext=c
77663 ac_cpp='$CPP $CPPFLAGS'
77664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77673 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77675 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77676 for ac_func in sqrtl
77677 do :
77678 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77679 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77680 cat >>confdefs.h <<_ACEOF
77681 #define HAVE_SQRTL 1
77682 _ACEOF
77685 done
77687 else
77689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77690 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77691 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77692 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77693 $as_echo_n "(cached) " >&6
77694 else
77697 ac_ext=cpp
77698 ac_cpp='$CXXCPP $CPPFLAGS'
77699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77704 /* end confdefs.h. */
77705 #include <math.h>
77706 #ifdef HAVE_IEEEFP_H
77707 #include <ieeefp.h>
77708 #endif
77711 main ()
77713 _sqrtl(0);
77715 return 0;
77717 _ACEOF
77718 if ac_fn_cxx_try_compile "$LINENO"; then :
77719 glibcxx_cv_func__sqrtl_use=yes
77720 else
77721 glibcxx_cv_func__sqrtl_use=no
77723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77724 ac_ext=c
77725 ac_cpp='$CPP $CPPFLAGS'
77726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77735 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77737 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77738 for ac_func in _sqrtl
77739 do :
77740 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77741 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77742 cat >>confdefs.h <<_ACEOF
77743 #define HAVE__SQRTL 1
77744 _ACEOF
77747 done
77756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77757 $as_echo_n "checking for sincosl declaration... " >&6; }
77758 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77759 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77760 $as_echo_n "(cached) " >&6
77761 else
77764 ac_ext=cpp
77765 ac_cpp='$CXXCPP $CPPFLAGS'
77766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77771 /* end confdefs.h. */
77772 #include <math.h>
77774 main ()
77776 sincosl(0, 0, 0);
77778 return 0;
77780 _ACEOF
77781 if ac_fn_cxx_try_compile "$LINENO"; then :
77782 glibcxx_cv_func_sincosl_use=yes
77783 else
77784 glibcxx_cv_func_sincosl_use=no
77786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77787 ac_ext=c
77788 ac_cpp='$CPP $CPPFLAGS'
77789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77798 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77800 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77801 for ac_func in sincosl
77802 do :
77803 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77804 if test "x$ac_cv_func_sincosl" = x""yes; then :
77805 cat >>confdefs.h <<_ACEOF
77806 #define HAVE_SINCOSL 1
77807 _ACEOF
77810 done
77812 else
77814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77815 $as_echo_n "checking for _sincosl declaration... " >&6; }
77816 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77817 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77818 $as_echo_n "(cached) " >&6
77819 else
77822 ac_ext=cpp
77823 ac_cpp='$CXXCPP $CPPFLAGS'
77824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77829 /* end confdefs.h. */
77830 #include <math.h>
77832 main ()
77834 _sincosl(0, 0, 0);
77836 return 0;
77838 _ACEOF
77839 if ac_fn_cxx_try_compile "$LINENO"; then :
77840 glibcxx_cv_func__sincosl_use=yes
77841 else
77842 glibcxx_cv_func__sincosl_use=no
77844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77845 ac_ext=c
77846 ac_cpp='$CPP $CPPFLAGS'
77847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77856 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77858 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77859 for ac_func in _sincosl
77860 do :
77861 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77862 if test "x$ac_cv_func__sincosl" = x""yes; then :
77863 cat >>confdefs.h <<_ACEOF
77864 #define HAVE__SINCOSL 1
77865 _ACEOF
77868 done
77877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77878 $as_echo_n "checking for finitel declaration... " >&6; }
77879 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77880 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77881 $as_echo_n "(cached) " >&6
77882 else
77885 ac_ext=cpp
77886 ac_cpp='$CXXCPP $CPPFLAGS'
77887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77892 /* end confdefs.h. */
77893 #include <math.h>
77894 #ifdef HAVE_IEEEFP_H
77895 #include <ieeefp.h>
77896 #endif
77899 main ()
77901 finitel(0);
77903 return 0;
77905 _ACEOF
77906 if ac_fn_cxx_try_compile "$LINENO"; then :
77907 glibcxx_cv_func_finitel_use=yes
77908 else
77909 glibcxx_cv_func_finitel_use=no
77911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77912 ac_ext=c
77913 ac_cpp='$CPP $CPPFLAGS'
77914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77923 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77925 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77926 for ac_func in finitel
77927 do :
77928 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77929 if test "x$ac_cv_func_finitel" = x""yes; then :
77930 cat >>confdefs.h <<_ACEOF
77931 #define HAVE_FINITEL 1
77932 _ACEOF
77935 done
77937 else
77939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77940 $as_echo_n "checking for _finitel declaration... " >&6; }
77941 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77942 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77943 $as_echo_n "(cached) " >&6
77944 else
77947 ac_ext=cpp
77948 ac_cpp='$CXXCPP $CPPFLAGS'
77949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77954 /* end confdefs.h. */
77955 #include <math.h>
77956 #ifdef HAVE_IEEEFP_H
77957 #include <ieeefp.h>
77958 #endif
77961 main ()
77963 _finitel(0);
77965 return 0;
77967 _ACEOF
77968 if ac_fn_cxx_try_compile "$LINENO"; then :
77969 glibcxx_cv_func__finitel_use=yes
77970 else
77971 glibcxx_cv_func__finitel_use=no
77973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77974 ac_ext=c
77975 ac_cpp='$CPP $CPPFLAGS'
77976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77985 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77987 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77988 for ac_func in _finitel
77989 do :
77990 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77991 if test "x$ac_cv_func__finitel" = x""yes; then :
77992 cat >>confdefs.h <<_ACEOF
77993 #define HAVE__FINITEL 1
77994 _ACEOF
77997 done
78005 LIBS="$ac_save_LIBS"
78006 CXXFLAGS="$ac_save_CXXFLAGS"
78009 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78010 ac_save_CXXFLAGS="$CXXFLAGS"
78011 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78015 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78016 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78017 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78018 $as_echo_n "(cached) " >&6
78019 else
78022 ac_ext=cpp
78023 ac_cpp='$CXXCPP $CPPFLAGS'
78024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78029 /* end confdefs.h. */
78030 #include <stdlib.h>
78032 main ()
78034 at_quick_exit(0);
78036 return 0;
78038 _ACEOF
78039 if ac_fn_cxx_try_compile "$LINENO"; then :
78040 glibcxx_cv_func_at_quick_exit_use=yes
78041 else
78042 glibcxx_cv_func_at_quick_exit_use=no
78044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78045 ac_ext=c
78046 ac_cpp='$CPP $CPPFLAGS'
78047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78056 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78057 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78058 for ac_func in at_quick_exit
78059 do :
78060 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78061 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78062 cat >>confdefs.h <<_ACEOF
78063 #define HAVE_AT_QUICK_EXIT 1
78064 _ACEOF
78067 done
78072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78073 $as_echo_n "checking for quick_exit declaration... " >&6; }
78074 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78075 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78076 $as_echo_n "(cached) " >&6
78077 else
78080 ac_ext=cpp
78081 ac_cpp='$CXXCPP $CPPFLAGS'
78082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78087 /* end confdefs.h. */
78088 #include <stdlib.h>
78090 main ()
78092 quick_exit(0);
78094 return 0;
78096 _ACEOF
78097 if ac_fn_cxx_try_compile "$LINENO"; then :
78098 glibcxx_cv_func_quick_exit_use=yes
78099 else
78100 glibcxx_cv_func_quick_exit_use=no
78102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78103 ac_ext=c
78104 ac_cpp='$CPP $CPPFLAGS'
78105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78114 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78115 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78116 for ac_func in quick_exit
78117 do :
78118 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78119 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78120 cat >>confdefs.h <<_ACEOF
78121 #define HAVE_QUICK_EXIT 1
78122 _ACEOF
78125 done
78130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78131 $as_echo_n "checking for strtold declaration... " >&6; }
78132 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78133 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78134 $as_echo_n "(cached) " >&6
78135 else
78138 ac_ext=cpp
78139 ac_cpp='$CXXCPP $CPPFLAGS'
78140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78145 /* end confdefs.h. */
78146 #include <stdlib.h>
78148 main ()
78150 strtold(0, 0);
78152 return 0;
78154 _ACEOF
78155 if ac_fn_cxx_try_compile "$LINENO"; then :
78156 glibcxx_cv_func_strtold_use=yes
78157 else
78158 glibcxx_cv_func_strtold_use=no
78160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78161 ac_ext=c
78162 ac_cpp='$CPP $CPPFLAGS'
78163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78172 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78173 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78174 for ac_func in strtold
78175 do :
78176 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78177 if test "x$ac_cv_func_strtold" = x""yes; then :
78178 cat >>confdefs.h <<_ACEOF
78179 #define HAVE_STRTOLD 1
78180 _ACEOF
78183 done
78190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78191 $as_echo_n "checking for strtof declaration... " >&6; }
78192 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78193 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78194 $as_echo_n "(cached) " >&6
78195 else
78198 ac_ext=cpp
78199 ac_cpp='$CXXCPP $CPPFLAGS'
78200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78205 /* end confdefs.h. */
78206 #include <stdlib.h>
78208 main ()
78210 strtof(0, 0);
78212 return 0;
78214 _ACEOF
78215 if ac_fn_cxx_try_compile "$LINENO"; then :
78216 glibcxx_cv_func_strtof_use=yes
78217 else
78218 glibcxx_cv_func_strtof_use=no
78220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78221 ac_ext=c
78222 ac_cpp='$CPP $CPPFLAGS'
78223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78232 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78233 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78234 for ac_func in strtof
78235 do :
78236 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78237 if test "x$ac_cv_func_strtof" = x""yes; then :
78238 cat >>confdefs.h <<_ACEOF
78239 #define HAVE_STRTOF 1
78240 _ACEOF
78243 done
78250 CXXFLAGS="$ac_save_CXXFLAGS"
78253 *-vxworks)
78254 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78256 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78258 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78260 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78262 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78264 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78266 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78268 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78270 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78272 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78274 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78276 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78278 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78280 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78282 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78284 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78286 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78288 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78290 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78292 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78296 as_fn_error "No support for this host/target combination." "$LINENO" 5
78298 esac
78302 # At some point, we should differentiate between architectures
78303 # like x86, which have long double versions, and alpha/powerpc/etc.,
78304 # which don't. For the time being, punt.
78305 if test x"long_double_math_on_this_cpu" = x"yes"; then
78306 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78308 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78310 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78312 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78314 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78316 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78318 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78320 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78322 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78324 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78326 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78328 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78330 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78332 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78334 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78336 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78338 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78340 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78342 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78344 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78346 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78348 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78350 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78355 # Check for _Unwind_GetIPInfo.
78358 # Check whether --with-system-libunwind was given.
78359 if test "${with_system_libunwind+set}" = set; then :
78360 withval=$with_system_libunwind;
78363 # If system-libunwind was not specifically set, pick a default setting.
78364 if test x$with_system_libunwind = x; then
78365 case ${target} in
78366 ia64-*-hpux*) with_system_libunwind=yes ;;
78367 *) with_system_libunwind=no ;;
78368 esac
78370 # Based on system-libunwind and target, do we have ipinfo?
78371 if test x$with_system_libunwind = xyes; then
78372 case ${target} in
78373 ia64-*-*) have_unwind_getipinfo=no ;;
78374 *) have_unwind_getipinfo=yes ;;
78375 esac
78376 else
78377 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78379 case ${target} in
78380 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78381 *) have_unwind_getipinfo=yes ;;
78382 esac
78386 if test x$have_unwind_getipinfo = xyes; then
78388 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78393 # Check whether --enable-linux-futex was given.
78394 if test "${enable_linux_futex+set}" = set; then :
78395 enableval=$enable_linux_futex;
78396 case "$enableval" in
78397 yes|no|default) ;;
78398 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78399 esac
78401 else
78402 enable_linux_futex=default
78406 case "$target" in
78407 *-linux*)
78408 case "$enable_linux_futex" in
78409 default)
78410 # If headers don't have gettid/futex syscalls definition, then
78411 # default to no, otherwise there will be compile time failures.
78412 # Otherwise, default to yes. If we don't detect we are
78413 # compiled/linked against NPTL and not cross-compiling, check
78414 # if programs are run by default against NPTL and if not, issue
78415 # a warning.
78416 enable_linux_futex=no
78417 if test x$gcc_no_link = xyes; then
78418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78421 /* end confdefs.h. */
78422 #include <sys/syscall.h>
78423 int lk;
78425 main ()
78427 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78429 return 0;
78431 _ACEOF
78432 if ac_fn_c_try_link "$LINENO"; then :
78433 save_LIBS="$LIBS"
78434 LIBS="-lpthread $LIBS"
78435 if test x$gcc_no_link = xyes; then
78436 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78439 /* end confdefs.h. */
78440 #ifndef _GNU_SOURCE
78441 #define _GNU_SOURCE 1
78442 #endif
78443 #include <pthread.h>
78444 pthread_t th; void *status;
78446 main ()
78448 pthread_tryjoin_np (th, &status);
78450 return 0;
78452 _ACEOF
78453 if ac_fn_c_try_link "$LINENO"; then :
78454 enable_linux_futex=yes
78455 else
78456 if test x$cross_compiling = xno; then
78457 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78458 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78460 If so, please configure with --disable-linux-futex" >&5
78461 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78462 If so, please configure with --disable-linux-futex" >&2;}
78465 enable_linux_futex=yes
78467 rm -f core conftest.err conftest.$ac_objext \
78468 conftest$ac_exeext conftest.$ac_ext
78469 LIBS="$save_LIBS"
78471 rm -f core conftest.err conftest.$ac_objext \
78472 conftest$ac_exeext conftest.$ac_ext
78474 yes)
78475 if test x$gcc_no_link = xyes; then
78476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78479 /* end confdefs.h. */
78480 #include <sys/syscall.h>
78481 int lk;
78483 main ()
78485 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78487 return 0;
78489 _ACEOF
78490 if ac_fn_c_try_link "$LINENO"; then :
78492 else
78493 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78495 rm -f core conftest.err conftest.$ac_objext \
78496 conftest$ac_exeext conftest.$ac_ext
78498 esac
78501 enable_linux_futex=no
78503 esac
78504 if test x$enable_linux_futex = xyes; then
78506 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78513 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78515 acx_cv_header_stdint=stddef.h
78516 acx_cv_header_stdint_kind="(already complete)"
78517 for i in stdint.h $inttype_headers; do
78518 unset ac_cv_type_uintptr_t
78519 unset ac_cv_type_uintmax_t
78520 unset ac_cv_type_int_least32_t
78521 unset ac_cv_type_int_fast32_t
78522 unset ac_cv_type_uint64_t
78523 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78524 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78525 #include <$i>
78527 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78528 acx_cv_header_stdint=$i
78529 else
78530 continue
78533 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78534 #include <$i>
78536 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78538 else
78539 acx_cv_header_stdint_kind="(mostly complete)"
78542 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78543 #include <$i>
78545 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78547 else
78548 acx_cv_header_stdint_kind="(mostly complete)"
78551 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78552 #include <$i>
78554 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78556 else
78557 acx_cv_header_stdint_kind="(mostly complete)"
78560 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78561 #include <$i>
78563 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78565 else
78566 acx_cv_header_stdint_kind="(lacks uint64_t)"
78569 break
78570 done
78571 if test "$acx_cv_header_stdint" = stddef.h; then
78572 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78573 for i in stdint.h $inttype_headers; do
78574 unset ac_cv_type_uintptr_t
78575 unset ac_cv_type_uint32_t
78576 unset ac_cv_type_uint64_t
78577 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78578 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78579 #include <$i>
78581 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78582 acx_cv_header_stdint=$i
78583 else
78584 continue
78587 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78588 #include <$i>
78590 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78594 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78595 #include <$i>
78597 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78601 break
78602 done
78604 if test "$acx_cv_header_stdint" = stddef.h; then
78605 acx_cv_header_stdint_kind="(u_intXX_t style)"
78606 for i in sys/types.h $inttype_headers; do
78607 unset ac_cv_type_u_int32_t
78608 unset ac_cv_type_u_int64_t
78609 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78610 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78611 #include <$i>
78613 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78614 acx_cv_header_stdint=$i
78615 else
78616 continue
78619 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78620 #include <$i>
78622 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78626 break
78627 done
78629 if test "$acx_cv_header_stdint" = stddef.h; then
78630 acx_cv_header_stdint_kind="(using manual detection)"
78633 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78634 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78635 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78636 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78637 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78639 # ----------------- Summarize what we found so far
78641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78642 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78644 case `$as_basename -- include/gstdint.h ||
78645 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78646 Xinclude/gstdint.h : 'X\(//\)$' \| \
78647 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78648 $as_echo X/include/gstdint.h |
78649 sed '/^.*\/\([^/][^/]*\)\/*$/{
78650 s//\1/
78653 /^X\/\(\/\/\)$/{
78654 s//\1/
78657 /^X\/\(\/\).*/{
78658 s//\1/
78661 s/.*/./; q'` in
78662 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78663 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78664 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78665 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78666 *) ;;
78667 esac
78669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78670 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78672 # ----------------- done included file, check C basic types --------
78674 # Lacking an uintptr_t? Test size of void *
78675 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78676 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78677 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78678 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78679 # This bug is HP SR number 8606223364.
78680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78681 $as_echo_n "checking size of void *... " >&6; }
78682 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78683 $as_echo_n "(cached) " >&6
78684 else
78685 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78687 else
78688 if test "$ac_cv_type_void_p" = yes; then
78689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78691 { as_fn_set_status 77
78692 as_fn_error "cannot compute sizeof (void *)
78693 See \`config.log' for more details." "$LINENO" 5; }; }
78694 else
78695 ac_cv_sizeof_void_p=0
78700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78701 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78705 cat >>confdefs.h <<_ACEOF
78706 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78707 _ACEOF
78710 esac
78712 # Lacking an uint64_t? Test size of long
78713 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78714 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78716 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78717 # This bug is HP SR number 8606223364.
78718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78719 $as_echo_n "checking size of long... " >&6; }
78720 if test "${ac_cv_sizeof_long+set}" = set; then :
78721 $as_echo_n "(cached) " >&6
78722 else
78723 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78725 else
78726 if test "$ac_cv_type_long" = yes; then
78727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78729 { as_fn_set_status 77
78730 as_fn_error "cannot compute sizeof (long)
78731 See \`config.log' for more details." "$LINENO" 5; }; }
78732 else
78733 ac_cv_sizeof_long=0
78738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78739 $as_echo "$ac_cv_sizeof_long" >&6; }
78743 cat >>confdefs.h <<_ACEOF
78744 #define SIZEOF_LONG $ac_cv_sizeof_long
78745 _ACEOF
78748 esac
78750 if test $acx_cv_header_stdint = stddef.h; then
78751 # Lacking a good header? Test size of everything and deduce all types.
78752 # The cast to long int works around a bug in the HP C Compiler
78753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78755 # This bug is HP SR number 8606223364.
78756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78757 $as_echo_n "checking size of int... " >&6; }
78758 if test "${ac_cv_sizeof_int+set}" = set; then :
78759 $as_echo_n "(cached) " >&6
78760 else
78761 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78763 else
78764 if test "$ac_cv_type_int" = yes; then
78765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78767 { as_fn_set_status 77
78768 as_fn_error "cannot compute sizeof (int)
78769 See \`config.log' for more details." "$LINENO" 5; }; }
78770 else
78771 ac_cv_sizeof_int=0
78776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78777 $as_echo "$ac_cv_sizeof_int" >&6; }
78781 cat >>confdefs.h <<_ACEOF
78782 #define SIZEOF_INT $ac_cv_sizeof_int
78783 _ACEOF
78786 # The cast to long int works around a bug in the HP C Compiler
78787 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78788 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78789 # This bug is HP SR number 8606223364.
78790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78791 $as_echo_n "checking size of short... " >&6; }
78792 if test "${ac_cv_sizeof_short+set}" = set; then :
78793 $as_echo_n "(cached) " >&6
78794 else
78795 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78797 else
78798 if test "$ac_cv_type_short" = yes; then
78799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78801 { as_fn_set_status 77
78802 as_fn_error "cannot compute sizeof (short)
78803 See \`config.log' for more details." "$LINENO" 5; }; }
78804 else
78805 ac_cv_sizeof_short=0
78810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78811 $as_echo "$ac_cv_sizeof_short" >&6; }
78815 cat >>confdefs.h <<_ACEOF
78816 #define SIZEOF_SHORT $ac_cv_sizeof_short
78817 _ACEOF
78820 # The cast to long int works around a bug in the HP C Compiler
78821 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78822 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78823 # This bug is HP SR number 8606223364.
78824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78825 $as_echo_n "checking size of char... " >&6; }
78826 if test "${ac_cv_sizeof_char+set}" = set; then :
78827 $as_echo_n "(cached) " >&6
78828 else
78829 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78831 else
78832 if test "$ac_cv_type_char" = yes; then
78833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78835 { as_fn_set_status 77
78836 as_fn_error "cannot compute sizeof (char)
78837 See \`config.log' for more details." "$LINENO" 5; }; }
78838 else
78839 ac_cv_sizeof_char=0
78844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78845 $as_echo "$ac_cv_sizeof_char" >&6; }
78849 cat >>confdefs.h <<_ACEOF
78850 #define SIZEOF_CHAR $ac_cv_sizeof_char
78851 _ACEOF
78855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78856 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78857 case "$ac_cv_sizeof_char" in
78858 1) acx_cv_type_int8_t=char ;;
78859 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78860 esac
78861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78862 $as_echo "$acx_cv_type_int8_t" >&6; }
78864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78865 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78866 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78867 2:*) acx_cv_type_int16_t=int ;;
78868 *:2) acx_cv_type_int16_t=short ;;
78869 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78870 esac
78871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78872 $as_echo "$acx_cv_type_int16_t" >&6; }
78874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78875 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78876 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78877 4:*) acx_cv_type_int32_t=int ;;
78878 *:4) acx_cv_type_int32_t=long ;;
78879 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78880 esac
78881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78882 $as_echo "$acx_cv_type_int32_t" >&6; }
78885 # These tests are here to make the output prettier
78887 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78888 case "$ac_cv_sizeof_long" in
78889 8) acx_cv_type_int64_t=long ;;
78890 esac
78891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78892 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78894 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78897 # Now we can use the above types
78899 if test "$ac_cv_type_uintptr_t" != yes; then
78900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78901 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78902 case $ac_cv_sizeof_void_p in
78903 2) acx_cv_type_intptr_t=int16_t ;;
78904 4) acx_cv_type_intptr_t=int32_t ;;
78905 8) acx_cv_type_intptr_t=int64_t ;;
78906 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78907 esac
78908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78909 $as_echo "$acx_cv_type_intptr_t" >&6; }
78912 # ----------------- done all checks, emit header -------------
78913 ac_config_commands="$ac_config_commands include/gstdint.h"
78919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78920 $as_echo_n "checking for GNU c++filt... " >&6; }
78921 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78922 $as_echo_n "(cached) " >&6
78923 else
78924 if test -z "$CXXFILT"; then
78925 ac_path_CXXFILT_found=false
78926 # Loop through the user's path and test for each of PROGNAME-LIST
78927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78928 for as_dir in $PATH
78930 IFS=$as_save_IFS
78931 test -z "$as_dir" && as_dir=.
78932 for ac_prog in c++filt gc++filt; do
78933 for ac_exec_ext in '' $ac_executable_extensions; do
78934 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78935 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78936 # Check for GNU $ac_path_CXXFILT
78937 case `"$ac_path_CXXFILT" --version 2>&1` in
78938 *GNU*)
78939 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78940 esac
78942 $ac_path_CXXFILT_found && break 3
78943 done
78944 done
78945 done
78946 IFS=$as_save_IFS
78947 if test -z "$ac_cv_path_CXXFILT"; then
78950 else
78951 ac_cv_path_CXXFILT=$CXXFILT
78955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78956 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78957 CXXFILT=$ac_cv_path_CXXFILT
78961 # Check whether --enable-symvers was given.
78962 if test "${enable_symvers+set}" = set; then :
78963 enableval=$enable_symvers;
78964 case "$enableval" in
78965 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78966 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78967 esac
78969 else
78970 enable_symvers=yes
78975 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78976 # don't know enough about $LD to do tricks...
78978 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78979 # with extern "C++" in version scripts.
78982 # Turn a 'yes' into a suitable default.
78983 if test x$enable_symvers = xyes ; then
78984 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78985 enable_symvers=no
78986 else
78987 if test $with_gnu_ld = yes ; then
78988 case ${target_os} in
78989 hpux*)
78990 enable_symvers=no ;;
78992 enable_symvers=gnu ;;
78993 esac
78994 else
78995 case ${target_os} in
78996 darwin*)
78997 enable_symvers=darwin ;;
78998 # Sun symbol versioning exists since Solaris 2.5.
78999 solaris2.[5-9]* | solaris2.1[0-9]*)
79000 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79001 # version scripts, so disable symbol versioning if none can be
79002 # found.
79003 if test -z "$ac_cv_path_CXXFILT"; then
79004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79005 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79007 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79009 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79010 enable_symvers=no
79011 else
79012 enable_symvers=sun
79016 enable_symvers=no ;;
79017 esac
79022 # Check to see if 'darwin' or 'darwin-export' can win.
79023 if test x$enable_symvers = xdarwin-export ; then
79024 enable_symvers=darwin
79027 # Check if 'sun' was requested on non-Solaris 2 platforms.
79028 if test x$enable_symvers = xsun ; then
79029 case ${target_os} in
79030 solaris2*)
79031 # All fine.
79034 # Unlikely to work.
79035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79036 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79038 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79040 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79041 enable_symvers=no
79043 esac
79046 # Check to see if 'gnu' can win.
79047 if test $enable_symvers = gnu ||
79048 test $enable_symvers = gnu-versioned-namespace ||
79049 test $enable_symvers = sun; then
79050 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79052 $as_echo_n "checking for shared libgcc... " >&6; }
79053 ac_save_CFLAGS="$CFLAGS"
79054 CFLAGS=' -lgcc_s'
79055 if test x$gcc_no_link = xyes; then
79056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79059 /* end confdefs.h. */
79062 main ()
79064 return 0;
79066 return 0;
79068 _ACEOF
79069 if ac_fn_c_try_link "$LINENO"; then :
79070 glibcxx_shared_libgcc=yes
79071 else
79072 glibcxx_shared_libgcc=no
79074 rm -f core conftest.err conftest.$ac_objext \
79075 conftest$ac_exeext conftest.$ac_ext
79076 CFLAGS="$ac_save_CFLAGS"
79077 if test $glibcxx_shared_libgcc = no; then
79078 cat > conftest.c <<EOF
79079 int main (void) { return 0; }
79081 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79082 -shared -shared-libgcc -o conftest.so \
79083 conftest.c -v 2>&1 >/dev/null \
79084 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79085 rm -f conftest.c conftest.so
79086 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79087 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79088 if test x$gcc_no_link = xyes; then
79089 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79092 /* end confdefs.h. */
79095 main ()
79097 return 0;
79099 return 0;
79101 _ACEOF
79102 if ac_fn_c_try_link "$LINENO"; then :
79103 glibcxx_shared_libgcc=yes
79105 rm -f core conftest.err conftest.$ac_objext \
79106 conftest$ac_exeext conftest.$ac_ext
79107 CFLAGS="$ac_save_CFLAGS"
79110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79111 $as_echo "$glibcxx_shared_libgcc" >&6; }
79113 # For GNU ld, we need at least this version. The format is described in
79114 # GLIBCXX_CHECK_LINKER_FEATURES above.
79115 glibcxx_min_gnu_ld_version=21400
79117 # If no shared libgcc, can't win.
79118 if test $glibcxx_shared_libgcc != yes; then
79119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79120 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79122 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79124 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79125 enable_symvers=no
79126 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79127 : All interesting versions of Sun ld support sun style symbol versioning.
79128 elif test $with_gnu_ld != yes ; then
79129 # just fail for now
79130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79131 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79133 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79135 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79136 enable_symvers=no
79137 elif test $glibcxx_ld_is_gold = yes ; then
79138 : All versions of gold support symbol versioning.
79139 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79140 # The right tools, the right setup, but too old. Fallbacks?
79141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79142 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79144 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79146 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79148 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79150 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79151 enable_symvers=no
79155 # For libtool versioning info, format is CURRENT:REVISION:AGE
79156 libtool_VERSION=6:25:0
79158 # Everything parsed; figure out what files and settings to use.
79159 case $enable_symvers in
79161 SYMVER_FILE=config/abi/pre/none.ver
79163 gnu)
79164 SYMVER_FILE=config/abi/pre/gnu.ver
79166 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79169 gnu-versioned-namespace)
79170 libtool_VERSION=8:0:0
79171 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79173 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79176 darwin)
79177 SYMVER_FILE=config/abi/pre/gnu.ver
79179 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79182 sun)
79183 SYMVER_FILE=config/abi/pre/gnu.ver
79185 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79188 esac
79190 if test x$enable_symvers != xno ; then
79192 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79197 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79198 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79199 $as_echo_n "(cached) " >&6
79200 else
79202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79203 /* end confdefs.h. */
79204 void foo (void); __asm (".symver foo, bar@SYMVER");
79206 main ()
79210 return 0;
79212 _ACEOF
79213 if ac_fn_c_try_compile "$LINENO"; then :
79214 glibcxx_cv_have_as_symver_directive=yes
79215 else
79216 glibcxx_cv_have_as_symver_directive=no
79218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79221 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79222 if test $glibcxx_cv_have_as_symver_directive = yes; then
79224 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79235 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79236 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79238 if test $enable_symvers != no ; then
79239 case ${target_os} in
79240 # The Solaris 2 runtime linker doesn't support the GNU extension of
79241 # binding the same symbol to different versions
79242 solaris2*)
79244 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79247 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79250 esac
79253 # Now, set up compatibility support, if any.
79254 # In addition, need this to deal with std::size_t mangling in
79255 # src/compatibility.cc. In a perfect world, could use
79256 # typeid(std::size_t).name()[0] to do direct substitution.
79257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79258 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79259 ac_save_CFLAGS="$CFLAGS"
79260 CFLAGS="-Werror"
79261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79262 /* end confdefs.h. */
79265 main ()
79267 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79269 return 0;
79271 _ACEOF
79272 if ac_fn_c_try_compile "$LINENO"; then :
79273 glibcxx_size_t_is_i=yes
79274 else
79275 glibcxx_size_t_is_i=no
79277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79278 CFLAGS=$ac_save_CFLAGS
79279 if test "$glibcxx_size_t_is_i" = yes; then
79281 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79285 $as_echo "$glibcxx_size_t_is_i" >&6; }
79287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79288 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79289 ac_save_CFLAGS="$CFLAGS"
79290 CFLAGS="-Werror"
79291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79292 /* end confdefs.h. */
79295 main ()
79297 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79299 return 0;
79301 _ACEOF
79302 if ac_fn_c_try_compile "$LINENO"; then :
79303 glibcxx_ptrdiff_t_is_i=yes
79304 else
79305 glibcxx_ptrdiff_t_is_i=no
79307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79308 CFLAGS=$ac_save_CFLAGS
79309 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79311 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79315 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79320 # Check whether --enable-libstdcxx-visibility was given.
79321 if test "${enable_libstdcxx_visibility+set}" = set; then :
79322 enableval=$enable_libstdcxx_visibility;
79323 case "$enableval" in
79324 yes|no) ;;
79325 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79326 esac
79328 else
79329 enable_libstdcxx_visibility=yes
79334 if test x$enable_libstdcxx_visibility = xyes ; then
79335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79336 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79337 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79338 $as_echo_n "(cached) " >&6
79339 else
79341 save_CFLAGS="$CFLAGS"
79342 CFLAGS="$CFLAGS -Werror"
79343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79344 /* end confdefs.h. */
79345 void __attribute__((visibility("hidden"))) foo(void) { }
79347 main ()
79351 return 0;
79353 _ACEOF
79354 if ac_fn_c_try_compile "$LINENO"; then :
79355 glibcxx_cv_have_attribute_visibility=yes
79356 else
79357 glibcxx_cv_have_attribute_visibility=no
79359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79360 CFLAGS="$save_CFLAGS"
79362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79363 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79364 if test $glibcxx_cv_have_attribute_visibility = no; then
79365 enable_libstdcxx_visibility=no
79370 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79371 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79375 # Check whether --enable-libstdcxx-dual-abi was given.
79376 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79377 enableval=$enable_libstdcxx_dual_abi;
79378 case "$enableval" in
79379 yes|no) ;;
79380 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79381 esac
79383 else
79384 enable_libstdcxx_dual_abi=yes
79388 if test x$enable_symvers = xgnu-versioned-namespace; then
79389 # gnu-versioned-namespace is incompatible with the dual ABI.
79390 enable_libstdcxx_dual_abi="no"
79392 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79393 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79394 $as_echo "$as_me: dual ABI is disabled" >&6;}
79395 default_libstdcxx_abi="gcc4-compatible"
79400 if test x$enable_libstdcxx_dual_abi = xyes; then
79401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79402 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79404 # Check whether --with-default-libstdcxx-abi was given.
79405 if test "${with_default_libstdcxx_abi+set}" = set; then :
79406 withval=$with_default_libstdcxx_abi; case "$withval" in
79407 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79408 new|cxx11) default_libstdcxx_abi="new" ;;
79409 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79410 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79411 esac
79413 else
79414 default_libstdcxx_abi="new"
79417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79418 $as_echo "${default_libstdcxx_abi}" >&6; }
79420 if test $default_libstdcxx_abi = "new"; then
79421 glibcxx_cxx11_abi=1
79422 glibcxx_cxx98_abi=0
79423 else
79424 glibcxx_cxx11_abi=0
79425 glibcxx_cxx98_abi=1
79431 ac_ldbl_compat=no
79432 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79433 case "$target" in
79434 powerpc*-*-linux* | \
79435 sparc*-*-linux* | \
79436 s390*-*-linux* | \
79437 alpha*-*-linux*)
79438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79439 /* end confdefs.h. */
79442 main ()
79445 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79446 #error no need for long double compatibility
79447 #endif
79450 return 0;
79452 _ACEOF
79453 if ac_fn_c_try_compile "$LINENO"; then :
79454 ac_ldbl_compat=yes
79455 else
79456 ac_ldbl_compat=no
79458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79459 if test "$ac_ldbl_compat" = yes; then
79461 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79463 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79464 case "$target" in
79465 powerpc*-*-linux*)
79466 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79467 esac
79469 esac
79473 # Check if assembler supports disabling hardware capability support.
79475 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79477 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79478 # with a different meaning.
79479 case ${target_os} in
79480 solaris2*)
79481 ac_save_CFLAGS="$CFLAGS"
79482 CFLAGS="$CFLAGS -Wa,-nH"
79484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79485 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79487 /* end confdefs.h. */
79490 main ()
79492 return 0;
79494 return 0;
79496 _ACEOF
79497 if ac_fn_c_try_compile "$LINENO"; then :
79498 ac_hwcap_flags=yes
79499 else
79500 ac_hwcap_flags=no
79502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79503 if test "$ac_hwcap_flags" = "yes"; then
79504 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79507 $as_echo "$ac_hwcap_flags" >&6; }
79509 CFLAGS="$ac_save_CFLAGS"
79511 esac
79516 # Check if assembler supports rdrand opcode.
79518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79519 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79520 if test "${ac_cv_x86_rdrand+set}" = set; then :
79521 $as_echo_n "(cached) " >&6
79522 else
79524 ac_cv_x86_rdrand=no
79525 case "$target" in
79526 i?86-*-* | \
79527 x86_64-*-*)
79528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79529 /* end confdefs.h. */
79532 main ()
79534 asm("rdrand %eax");
79536 return 0;
79538 _ACEOF
79539 if ac_fn_c_try_compile "$LINENO"; then :
79540 ac_cv_x86_rdrand=yes
79541 else
79542 ac_cv_x86_rdrand=no
79544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79545 esac
79549 if test $ac_cv_x86_rdrand = yes; then
79551 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79555 $as_echo "$ac_cv_x86_rdrand" >&6; }
79558 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79560 # Do checks for resource limit functions.
79562 setrlimit_have_headers=yes
79563 for ac_header in unistd.h sys/time.h sys/resource.h
79564 do :
79565 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79566 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79567 eval as_val=\$$as_ac_Header
79568 if test "x$as_val" = x""yes; then :
79569 cat >>confdefs.h <<_ACEOF
79570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79571 _ACEOF
79573 else
79574 setrlimit_have_headers=no
79577 done
79579 # If don't have the headers, then we can't run the tests now, and we
79580 # won't be seeing any of these during testsuite compilation.
79581 if test $setrlimit_have_headers = yes; then
79582 # Can't do these in a loop, else the resulting syntax is wrong.
79584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79585 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79587 /* end confdefs.h. */
79588 #include <unistd.h>
79589 #include <sys/time.h>
79590 #include <sys/resource.h>
79593 main ()
79595 int f = RLIMIT_DATA ;
79597 return 0;
79599 _ACEOF
79600 if ac_fn_c_try_compile "$LINENO"; then :
79601 glibcxx_mresult=1
79602 else
79603 glibcxx_mresult=0
79605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79607 cat >>confdefs.h <<_ACEOF
79608 #define HAVE_LIMIT_DATA $glibcxx_mresult
79609 _ACEOF
79611 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79613 $as_echo "$res" >&6; }
79616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79617 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79619 /* end confdefs.h. */
79620 #include <unistd.h>
79621 #include <sys/time.h>
79622 #include <sys/resource.h>
79625 main ()
79627 int f = RLIMIT_RSS ;
79629 return 0;
79631 _ACEOF
79632 if ac_fn_c_try_compile "$LINENO"; then :
79633 glibcxx_mresult=1
79634 else
79635 glibcxx_mresult=0
79637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79639 cat >>confdefs.h <<_ACEOF
79640 #define HAVE_LIMIT_RSS $glibcxx_mresult
79641 _ACEOF
79643 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79645 $as_echo "$res" >&6; }
79648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79649 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79651 /* end confdefs.h. */
79652 #include <unistd.h>
79653 #include <sys/time.h>
79654 #include <sys/resource.h>
79657 main ()
79659 int f = RLIMIT_VMEM ;
79661 return 0;
79663 _ACEOF
79664 if ac_fn_c_try_compile "$LINENO"; then :
79665 glibcxx_mresult=1
79666 else
79667 glibcxx_mresult=0
79669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79671 cat >>confdefs.h <<_ACEOF
79672 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79673 _ACEOF
79675 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79677 $as_echo "$res" >&6; }
79680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79681 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79683 /* end confdefs.h. */
79684 #include <unistd.h>
79685 #include <sys/time.h>
79686 #include <sys/resource.h>
79689 main ()
79691 int f = RLIMIT_AS ;
79693 return 0;
79695 _ACEOF
79696 if ac_fn_c_try_compile "$LINENO"; then :
79697 glibcxx_mresult=1
79698 else
79699 glibcxx_mresult=0
79701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79703 cat >>confdefs.h <<_ACEOF
79704 #define HAVE_LIMIT_AS $glibcxx_mresult
79705 _ACEOF
79707 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79709 $as_echo "$res" >&6; }
79712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79713 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79715 /* end confdefs.h. */
79716 #include <unistd.h>
79717 #include <sys/time.h>
79718 #include <sys/resource.h>
79721 main ()
79723 int f = RLIMIT_FSIZE ;
79725 return 0;
79727 _ACEOF
79728 if ac_fn_c_try_compile "$LINENO"; then :
79729 glibcxx_mresult=1
79730 else
79731 glibcxx_mresult=0
79733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79735 cat >>confdefs.h <<_ACEOF
79736 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79737 _ACEOF
79739 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79741 $as_echo "$res" >&6; }
79744 # Check for rlimit, setrlimit.
79745 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79746 $as_echo_n "(cached) " >&6
79747 else
79749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79750 /* end confdefs.h. */
79751 #include <unistd.h>
79752 #include <sys/time.h>
79753 #include <sys/resource.h>
79756 main ()
79758 struct rlimit r;
79759 setrlimit(0, &r);
79761 return 0;
79763 _ACEOF
79764 if ac_fn_c_try_compile "$LINENO"; then :
79765 glibcxx_cv_setrlimit=yes
79766 else
79767 glibcxx_cv_setrlimit=no
79769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79776 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79777 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79778 ac_res_limits=yes
79780 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79782 else
79783 ac_res_limits=no
79785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79786 $as_echo "$ac_res_limits" >&6; }
79789 if $GLIBCXX_IS_NATIVE ; then
79790 # Look for setenv, so that extended locale tests can be performed.
79792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79793 $as_echo_n "checking for setenv declaration... " >&6; }
79794 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79795 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79796 $as_echo_n "(cached) " >&6
79797 else
79800 ac_ext=cpp
79801 ac_cpp='$CXXCPP $CPPFLAGS'
79802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79807 /* end confdefs.h. */
79808 #include <stdlib.h>
79810 main ()
79812 setenv(0, 0, 0);
79814 return 0;
79816 _ACEOF
79817 if ac_fn_cxx_try_compile "$LINENO"; then :
79818 glibcxx_cv_func_setenv_use=yes
79819 else
79820 glibcxx_cv_func_setenv_use=no
79822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79823 ac_ext=c
79824 ac_cpp='$CPP $CPPFLAGS'
79825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79834 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79835 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79836 for ac_func in setenv
79837 do :
79838 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79839 if test "x$ac_cv_func_setenv" = x""yes; then :
79840 cat >>confdefs.h <<_ACEOF
79841 #define HAVE_SETENV 1
79842 _ACEOF
79845 done
79851 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79852 test $enable_symvers != no; then
79853 case "$host" in
79854 *-*-cygwin*)
79855 enable_abi_check=no ;;
79857 enable_abi_check=yes ;;
79858 esac
79859 else
79860 # Only build this as native, since automake does not understand
79861 # CXX_FOR_BUILD.
79862 enable_abi_check=no
79865 # Export file names for ABI checking.
79866 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79868 baseline_subdir_switch="$abi_baseline_subdir_switch"
79872 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79874 # Check whether --enable-libstdcxx-threads was given.
79875 if test "${enable_libstdcxx_threads+set}" = set; then :
79876 enableval=$enable_libstdcxx_threads;
79877 case "$enableval" in
79878 yes|no) ;;
79879 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79880 esac
79882 else
79883 enable_libstdcxx_threads=auto
79888 if test x$enable_libstdcxx_threads = xauto ||
79889 test x$enable_libstdcxx_threads = xyes; then
79892 ac_ext=cpp
79893 ac_cpp='$CXXCPP $CPPFLAGS'
79894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79899 ac_save_CXXFLAGS="$CXXFLAGS"
79900 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79901 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79903 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79904 case $target_thread_file in
79905 posix)
79906 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79907 esac
79909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79910 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79913 /* end confdefs.h. */
79914 #include <unistd.h>
79916 main ()
79919 // In case of POSIX threads check _POSIX_TIMEOUTS.
79920 #if (defined(_PTHREADS) \
79921 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79922 #error
79923 #endif
79926 return 0;
79928 _ACEOF
79929 if ac_fn_cxx_try_compile "$LINENO"; then :
79930 ac_gthread_use_mutex_timedlock=1
79931 else
79932 ac_gthread_use_mutex_timedlock=0
79934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79937 cat >>confdefs.h <<_ACEOF
79938 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79939 _ACEOF
79942 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79943 else res_mutex_timedlock=no ; fi
79944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79945 $as_echo "$res_mutex_timedlock" >&6; }
79947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79948 $as_echo_n "checking for gthreads library... " >&6; }
79950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79951 /* end confdefs.h. */
79952 #include "gthr.h"
79954 main ()
79957 #ifndef __GTHREADS_CXX0X
79958 #error
79959 #endif
79962 return 0;
79964 _ACEOF
79965 if ac_fn_cxx_try_compile "$LINENO"; then :
79966 ac_has_gthreads=yes
79967 else
79968 ac_has_gthreads=no
79970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79971 else
79972 ac_has_gthreads=no
79975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79976 $as_echo "$ac_has_gthreads" >&6; }
79978 if test x"$ac_has_gthreads" = x"yes"; then
79980 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79983 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79984 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79986 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79988 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79994 CXXFLAGS="$ac_save_CXXFLAGS"
79995 ac_ext=c
79996 ac_cpp='$CPP $CPPFLAGS'
79997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80003 # For Filesystem TS.
80004 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80005 do :
80006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80007 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80008 eval as_val=\$$as_ac_Header
80009 if test "x$as_val" = x""yes; then :
80010 cat >>confdefs.h <<_ACEOF
80011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80012 _ACEOF
80016 done
80019 # Check whether --enable-libstdcxx-filesystem-ts was given.
80020 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80021 enableval=$enable_libstdcxx_filesystem_ts;
80022 case "$enableval" in
80023 yes|no|auto) ;;
80024 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80025 esac
80027 else
80028 enable_libstdcxx_filesystem_ts=auto
80033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80034 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80035 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80036 enable_libstdcxx_filesystem_ts=no
80038 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80039 case "${target_os}" in
80040 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80041 enable_libstdcxx_filesystem_ts=yes
80043 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80044 enable_libstdcxx_filesystem_ts=yes
80046 rtems*)
80047 enable_libstdcxx_filesystem_ts=yes
80049 solaris*)
80050 enable_libstdcxx_filesystem_ts=yes
80053 enable_libstdcxx_filesystem_ts=no
80055 esac
80057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80058 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80062 ac_ext=cpp
80063 ac_cpp='$CXXCPP $CPPFLAGS'
80064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80068 ac_save_CXXFLAGS="$CXXFLAGS"
80069 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80071 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80072 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80073 $as_echo_n "(cached) " >&6
80074 else
80075 if test x$gcc_no_link = xyes; then
80076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80077 /* end confdefs.h. */
80078 #include <dirent.h>
80080 main ()
80083 struct dirent d;
80084 if (sizeof d.d_type) return 0;
80087 return 0;
80089 _ACEOF
80090 if ac_fn_cxx_try_compile "$LINENO"; then :
80091 glibcxx_cv_dirent_d_type=yes
80092 else
80093 glibcxx_cv_dirent_d_type=no
80095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80096 else
80097 if test x$gcc_no_link = xyes; then
80098 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80101 /* end confdefs.h. */
80102 #include <dirent.h>
80104 main ()
80107 struct dirent d;
80108 if (sizeof d.d_type) return 0;
80111 return 0;
80113 _ACEOF
80114 if ac_fn_cxx_try_link "$LINENO"; then :
80115 glibcxx_cv_dirent_d_type=yes
80116 else
80117 glibcxx_cv_dirent_d_type=no
80119 rm -f core conftest.err conftest.$ac_objext \
80120 conftest$ac_exeext conftest.$ac_ext
80125 if test $glibcxx_cv_dirent_d_type = yes; then
80127 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80131 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80133 $as_echo_n "checking for realpath... " >&6; }
80134 if test "${glibcxx_cv_realpath+set}" = set; then :
80135 $as_echo_n "(cached) " >&6
80136 else
80137 if test x$gcc_no_link = xyes; then
80138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80139 /* end confdefs.h. */
80141 #include <limits.h>
80142 #include <stdlib.h>
80143 #include <unistd.h>
80146 main ()
80149 #if _XOPEN_VERSION < 500
80150 #error
80151 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80152 char *tmp = realpath((const char*)NULL, (char*)NULL);
80153 #else
80154 #error
80155 #endif
80158 return 0;
80160 _ACEOF
80161 if ac_fn_cxx_try_compile "$LINENO"; then :
80162 glibcxx_cv_realpath=yes
80163 else
80164 glibcxx_cv_realpath=no
80166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80167 else
80168 if test x$gcc_no_link = xyes; then
80169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80172 /* end confdefs.h. */
80174 #include <limits.h>
80175 #include <stdlib.h>
80176 #include <unistd.h>
80179 main ()
80182 #if _XOPEN_VERSION < 500
80183 #error
80184 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80185 char *tmp = realpath((const char*)NULL, (char*)NULL);
80186 #else
80187 #error
80188 #endif
80191 return 0;
80193 _ACEOF
80194 if ac_fn_cxx_try_link "$LINENO"; then :
80195 glibcxx_cv_realpath=yes
80196 else
80197 glibcxx_cv_realpath=no
80199 rm -f core conftest.err conftest.$ac_objext \
80200 conftest$ac_exeext conftest.$ac_ext
80205 if test $glibcxx_cv_realpath = yes; then
80207 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80211 $as_echo "$glibcxx_cv_realpath" >&6; }
80212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80213 $as_echo_n "checking for utimensat... " >&6; }
80214 if test "${glibcxx_cv_utimensat+set}" = set; then :
80215 $as_echo_n "(cached) " >&6
80216 else
80217 if test x$gcc_no_link = xyes; then
80218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80219 /* end confdefs.h. */
80221 #include <fcntl.h>
80222 #include <sys/stat.h>
80225 main ()
80228 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80229 int i = utimensat(AT_FDCWD, "path", ts, 0);
80232 return 0;
80234 _ACEOF
80235 if ac_fn_cxx_try_compile "$LINENO"; then :
80236 glibcxx_cv_utimensat=yes
80237 else
80238 glibcxx_cv_utimensat=no
80240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80241 else
80242 if test x$gcc_no_link = xyes; then
80243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80246 /* end confdefs.h. */
80248 #include <fcntl.h>
80249 #include <sys/stat.h>
80252 main ()
80255 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80256 int i = utimensat(AT_FDCWD, "path", ts, 0);
80259 return 0;
80261 _ACEOF
80262 if ac_fn_cxx_try_link "$LINENO"; then :
80263 glibcxx_cv_utimensat=yes
80264 else
80265 glibcxx_cv_utimensat=no
80267 rm -f core conftest.err conftest.$ac_objext \
80268 conftest$ac_exeext conftest.$ac_ext
80273 if test $glibcxx_cv_utimensat = yes; then
80275 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80279 $as_echo "$glibcxx_cv_utimensat" >&6; }
80280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80281 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80282 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80283 $as_echo_n "(cached) " >&6
80284 else
80285 if test x$gcc_no_link = xyes; then
80286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80287 /* end confdefs.h. */
80288 #include <sys/stat.h>
80290 main ()
80293 struct stat st;
80294 return st.st_mtim.tv_nsec;
80297 return 0;
80299 _ACEOF
80300 if ac_fn_cxx_try_compile "$LINENO"; then :
80301 glibcxx_cv_st_mtim=yes
80302 else
80303 glibcxx_cv_st_mtim=no
80305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80306 else
80307 if test x$gcc_no_link = xyes; then
80308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80311 /* end confdefs.h. */
80312 #include <sys/stat.h>
80314 main ()
80317 struct stat st;
80318 return st.st_mtim.tv_nsec;
80321 return 0;
80323 _ACEOF
80324 if ac_fn_cxx_try_link "$LINENO"; then :
80325 glibcxx_cv_st_mtim=yes
80326 else
80327 glibcxx_cv_st_mtim=no
80329 rm -f core conftest.err conftest.$ac_objext \
80330 conftest$ac_exeext conftest.$ac_ext
80335 if test $glibcxx_cv_st_mtim = yes; then
80337 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80341 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80343 $as_echo_n "checking for fchmod... " >&6; }
80344 if test "${glibcxx_cv_fchmod+set}" = set; then :
80345 $as_echo_n "(cached) " >&6
80346 else
80347 if test x$gcc_no_link = xyes; then
80348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80349 /* end confdefs.h. */
80350 #include <sys/stat.h>
80352 main ()
80354 fchmod(1, S_IWUSR);
80356 return 0;
80358 _ACEOF
80359 if ac_fn_cxx_try_compile "$LINENO"; then :
80360 glibcxx_cv_fchmod=yes
80361 else
80362 glibcxx_cv_fchmod=no
80364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80365 else
80366 if test x$gcc_no_link = xyes; then
80367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80370 /* end confdefs.h. */
80371 #include <sys/stat.h>
80373 main ()
80375 fchmod(1, S_IWUSR);
80377 return 0;
80379 _ACEOF
80380 if ac_fn_cxx_try_link "$LINENO"; then :
80381 glibcxx_cv_fchmod=yes
80382 else
80383 glibcxx_cv_fchmod=no
80385 rm -f core conftest.err conftest.$ac_objext \
80386 conftest$ac_exeext conftest.$ac_ext
80391 if test $glibcxx_cv_fchmod = yes; then
80393 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80397 $as_echo "$glibcxx_cv_fchmod" >&6; }
80398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80399 $as_echo_n "checking for fchmodat... " >&6; }
80400 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80401 $as_echo_n "(cached) " >&6
80402 else
80403 if test x$gcc_no_link = xyes; then
80404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80405 /* end confdefs.h. */
80407 #include <fcntl.h>
80408 #include <sys/stat.h>
80411 main ()
80413 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80415 return 0;
80417 _ACEOF
80418 if ac_fn_cxx_try_compile "$LINENO"; then :
80419 glibcxx_cv_fchmodat=yes
80420 else
80421 glibcxx_cv_fchmodat=no
80423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80424 else
80425 if test x$gcc_no_link = xyes; then
80426 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80429 /* end confdefs.h. */
80431 #include <fcntl.h>
80432 #include <sys/stat.h>
80435 main ()
80437 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80439 return 0;
80441 _ACEOF
80442 if ac_fn_cxx_try_link "$LINENO"; then :
80443 glibcxx_cv_fchmodat=yes
80444 else
80445 glibcxx_cv_fchmodat=no
80447 rm -f core conftest.err conftest.$ac_objext \
80448 conftest$ac_exeext conftest.$ac_ext
80453 if test $glibcxx_cv_fchmodat = yes; then
80455 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80459 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80461 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80462 if test "${glibcxx_cv_sendfile+set}" = set; then :
80463 $as_echo_n "(cached) " >&6
80464 else
80465 case "${target_os}" in
80466 gnu* | linux* | solaris*)
80467 if test x$gcc_no_link = xyes; then
80468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80469 /* end confdefs.h. */
80470 #include <sys/sendfile.h>
80472 main ()
80474 sendfile(1, 2, (off_t*)0, sizeof 1);
80476 return 0;
80478 _ACEOF
80479 if ac_fn_cxx_try_compile "$LINENO"; then :
80480 glibcxx_cv_sendfile=yes
80481 else
80482 glibcxx_cv_sendfile=no
80484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80485 else
80486 if test x$gcc_no_link = xyes; then
80487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80490 /* end confdefs.h. */
80491 #include <sys/sendfile.h>
80493 main ()
80495 sendfile(1, 2, (off_t*)0, sizeof 1);
80497 return 0;
80499 _ACEOF
80500 if ac_fn_cxx_try_link "$LINENO"; then :
80501 glibcxx_cv_sendfile=yes
80502 else
80503 glibcxx_cv_sendfile=no
80505 rm -f core conftest.err conftest.$ac_objext \
80506 conftest$ac_exeext conftest.$ac_ext
80510 glibcxx_cv_sendfile=no
80512 esac
80516 if test $glibcxx_cv_sendfile = yes; then
80518 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80522 $as_echo "$glibcxx_cv_sendfile" >&6; }
80523 CXXFLAGS="$ac_save_CXXFLAGS"
80524 ac_ext=c
80525 ac_cpp='$CPP $CPPFLAGS'
80526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80532 # For Transactional Memory TS
80534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80535 $as_echo_n "checking how size_t is mangled... " >&6; }
80536 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80537 $as_echo_n "(cached) " >&6
80538 else
80540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80541 /* end confdefs.h. */
80544 main ()
80546 extern __SIZE_TYPE__ x; extern unsigned long x;
80548 return 0;
80550 _ACEOF
80551 if ac_fn_c_try_compile "$LINENO"; then :
80552 glibcxx_cv_size_t_mangling=m
80553 else
80555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80556 /* end confdefs.h. */
80559 main ()
80561 extern __SIZE_TYPE__ x; extern unsigned int x;
80563 return 0;
80565 _ACEOF
80566 if ac_fn_c_try_compile "$LINENO"; then :
80567 glibcxx_cv_size_t_mangling=j
80568 else
80570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80571 /* end confdefs.h. */
80574 main ()
80576 extern __SIZE_TYPE__ x; extern unsigned long long x;
80578 return 0;
80580 _ACEOF
80581 if ac_fn_c_try_compile "$LINENO"; then :
80582 glibcxx_cv_size_t_mangling=y
80583 else
80585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80586 /* end confdefs.h. */
80589 main ()
80591 extern __SIZE_TYPE__ x; extern unsigned short x;
80593 return 0;
80595 _ACEOF
80596 if ac_fn_c_try_compile "$LINENO"; then :
80597 glibcxx_cv_size_t_mangling=t
80598 else
80600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80601 /* end confdefs.h. */
80604 main ()
80606 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80608 return 0;
80610 _ACEOF
80611 if ac_fn_c_try_compile "$LINENO"; then :
80612 glibcxx_cv_size_t_mangling=u6uint20
80613 else
80614 glibcxx_cv_size_t_mangling=x
80616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80632 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80633 if test $glibcxx_cv_size_t_mangling = x; then
80634 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80637 cat >>confdefs.h <<_ACEOF
80638 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80639 _ACEOF
80643 # Check which release added std::exception_ptr for the target
80645 if test $enable_symvers != no; then
80646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80647 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80648 case ${target} in
80649 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80650 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80651 ac_exception_ptr_since_gcc46=yes
80654 # If the value of this macro changes then we will need to hardcode
80655 # yes/no here for additional targets based on the original value.
80656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80657 /* end confdefs.h. */
80660 main ()
80663 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80664 # error atomic int not always lock free
80665 #endif
80668 return 0;
80670 _ACEOF
80671 if ac_fn_c_try_compile "$LINENO"; then :
80672 ac_exception_ptr_since_gcc46=yes
80673 else
80674 ac_exception_ptr_since_gcc46=no
80676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80678 esac
80679 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80681 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80684 $as_echo "4.6.0" >&6; }
80685 else
80686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80687 $as_echo "7.1.0" >&6; }
80692 # Define documentation rules conditionally.
80694 # See if makeinfo has been installed and is modern enough
80695 # that we can use it.
80697 # Extract the first word of "makeinfo", so it can be a program name with args.
80698 set dummy makeinfo; ac_word=$2
80699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80700 $as_echo_n "checking for $ac_word... " >&6; }
80701 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80702 $as_echo_n "(cached) " >&6
80703 else
80704 if test -n "$MAKEINFO"; then
80705 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80706 else
80707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80708 for as_dir in $PATH
80710 IFS=$as_save_IFS
80711 test -z "$as_dir" && as_dir=.
80712 for ac_exec_ext in '' $ac_executable_extensions; do
80713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80714 ac_cv_prog_MAKEINFO="makeinfo"
80715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80716 break 2
80718 done
80719 done
80720 IFS=$as_save_IFS
80724 MAKEINFO=$ac_cv_prog_MAKEINFO
80725 if test -n "$MAKEINFO"; then
80726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80727 $as_echo "$MAKEINFO" >&6; }
80728 else
80729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80730 $as_echo "no" >&6; }
80734 if test -n "$MAKEINFO"; then
80735 # Found it, now check the version.
80736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80737 $as_echo_n "checking for modern makeinfo... " >&6; }
80738 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80739 $as_echo_n "(cached) " >&6
80740 else
80741 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80742 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80744 case $ac_prog_version in
80745 '') gcc_cv_prog_makeinfo_modern=no;;
80746 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80747 *) gcc_cv_prog_makeinfo_modern=no;;
80748 esac
80751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80752 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80753 else
80754 gcc_cv_prog_makeinfo_modern=no
80756 if test $gcc_cv_prog_makeinfo_modern = no; then
80757 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80760 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80761 BUILD_INFO_TRUE=
80762 BUILD_INFO_FALSE='#'
80763 else
80764 BUILD_INFO_TRUE='#'
80765 BUILD_INFO_FALSE=
80769 # Check for doxygen
80770 # Extract the first word of "doxygen", so it can be a program name with args.
80771 set dummy doxygen; ac_word=$2
80772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80773 $as_echo_n "checking for $ac_word... " >&6; }
80774 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80775 $as_echo_n "(cached) " >&6
80776 else
80777 if test -n "$DOXYGEN"; then
80778 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80779 else
80780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80781 for as_dir in $PATH
80783 IFS=$as_save_IFS
80784 test -z "$as_dir" && as_dir=.
80785 for ac_exec_ext in '' $ac_executable_extensions; do
80786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80787 ac_cv_prog_DOXYGEN="yes"
80788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80789 break 2
80791 done
80792 done
80793 IFS=$as_save_IFS
80795 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80798 DOXYGEN=$ac_cv_prog_DOXYGEN
80799 if test -n "$DOXYGEN"; then
80800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80801 $as_echo "$DOXYGEN" >&6; }
80802 else
80803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80804 $as_echo "no" >&6; }
80808 # Extract the first word of "dot", so it can be a program name with args.
80809 set dummy dot; ac_word=$2
80810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80811 $as_echo_n "checking for $ac_word... " >&6; }
80812 if test "${ac_cv_prog_DOT+set}" = set; then :
80813 $as_echo_n "(cached) " >&6
80814 else
80815 if test -n "$DOT"; then
80816 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80817 else
80818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80819 for as_dir in $PATH
80821 IFS=$as_save_IFS
80822 test -z "$as_dir" && as_dir=.
80823 for ac_exec_ext in '' $ac_executable_extensions; do
80824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80825 ac_cv_prog_DOT="yes"
80826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80827 break 2
80829 done
80830 done
80831 IFS=$as_save_IFS
80833 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80836 DOT=$ac_cv_prog_DOT
80837 if test -n "$DOT"; then
80838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80839 $as_echo "$DOT" >&6; }
80840 else
80841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80842 $as_echo "no" >&6; }
80847 # Check for docbook
80848 # Extract the first word of "xsltproc", so it can be a program name with args.
80849 set dummy xsltproc; ac_word=$2
80850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80851 $as_echo_n "checking for $ac_word... " >&6; }
80852 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80853 $as_echo_n "(cached) " >&6
80854 else
80855 if test -n "$XSLTPROC"; then
80856 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80857 else
80858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80859 for as_dir in $PATH
80861 IFS=$as_save_IFS
80862 test -z "$as_dir" && as_dir=.
80863 for ac_exec_ext in '' $ac_executable_extensions; do
80864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80865 ac_cv_prog_XSLTPROC="yes"
80866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80867 break 2
80869 done
80870 done
80871 IFS=$as_save_IFS
80873 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80876 XSLTPROC=$ac_cv_prog_XSLTPROC
80877 if test -n "$XSLTPROC"; then
80878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80879 $as_echo "$XSLTPROC" >&6; }
80880 else
80881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80882 $as_echo "no" >&6; }
80886 # Extract the first word of "xmllint", so it can be a program name with args.
80887 set dummy xmllint; ac_word=$2
80888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80889 $as_echo_n "checking for $ac_word... " >&6; }
80890 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80891 $as_echo_n "(cached) " >&6
80892 else
80893 if test -n "$XMLLINT"; then
80894 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80895 else
80896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80897 for as_dir in $PATH
80899 IFS=$as_save_IFS
80900 test -z "$as_dir" && as_dir=.
80901 for ac_exec_ext in '' $ac_executable_extensions; do
80902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80903 ac_cv_prog_XMLLINT="yes"
80904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80905 break 2
80907 done
80908 done
80909 IFS=$as_save_IFS
80911 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80914 XMLLINT=$ac_cv_prog_XMLLINT
80915 if test -n "$XMLLINT"; then
80916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80917 $as_echo "$XMLLINT" >&6; }
80918 else
80919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80920 $as_echo "no" >&6; }
80926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80927 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80928 glibcxx_stylesheets=no
80929 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
80930 glibcxx_stylesheets=yes
80932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80933 $as_echo "$glibcxx_stylesheets" >&6; }
80935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80936 $as_echo_n "checking for local stylesheet directory... " >&6; }
80937 glibcxx_local_stylesheets=no
80938 if test x"$glibcxx_stylesheets" = x"yes"; then
80939 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80940 glibcxx_local_stylesheets=yes
80941 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80943 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80944 glibcxx_local_stylesheets=yes
80945 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80947 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80948 glibcxx_local_stylesheets=yes
80949 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80953 $as_echo "$glibcxx_local_stylesheets" >&6; }
80955 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80957 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80958 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80959 else
80960 glibcxx_stylesheets=no
80963 # Check for epub3 dependencies.
80964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80965 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80966 glibcxx_epub_stylesheets=no
80967 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80968 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80969 glibcxx_epub_stylesheets=yes
80972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80973 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80974 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80975 BUILD_EPUB_TRUE=
80976 BUILD_EPUB_FALSE='#'
80977 else
80978 BUILD_EPUB_TRUE='#'
80979 BUILD_EPUB_FALSE=
80985 # Check for xml/html dependencies.
80986 if test $ac_cv_prog_DOXYGEN = "yes" &&
80987 test $ac_cv_prog_DOT = "yes" &&
80988 test $ac_cv_prog_XSLTPROC = "yes" &&
80989 test $ac_cv_prog_XMLLINT = "yes" &&
80990 test $glibcxx_stylesheets = "yes"; then
80991 BUILD_XML_TRUE=
80992 BUILD_XML_FALSE='#'
80993 else
80994 BUILD_XML_TRUE='#'
80995 BUILD_XML_FALSE=
80999 if test $ac_cv_prog_DOXYGEN = "yes" &&
81000 test $ac_cv_prog_DOT = "yes" &&
81001 test $ac_cv_prog_XSLTPROC = "yes" &&
81002 test $ac_cv_prog_XMLLINT = "yes" &&
81003 test $glibcxx_stylesheets = "yes"; then
81004 BUILD_HTML_TRUE=
81005 BUILD_HTML_FALSE='#'
81006 else
81007 BUILD_HTML_TRUE='#'
81008 BUILD_HTML_FALSE=
81012 # Check for man dependencies.
81013 if test $ac_cv_prog_DOXYGEN = "yes" &&
81014 test $ac_cv_prog_DOT = "yes"; then
81015 BUILD_MAN_TRUE=
81016 BUILD_MAN_FALSE='#'
81017 else
81018 BUILD_MAN_TRUE='#'
81019 BUILD_MAN_FALSE=
81023 # Check for pdf dependencies.
81024 # Extract the first word of "dblatex", so it can be a program name with args.
81025 set dummy dblatex; ac_word=$2
81026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81027 $as_echo_n "checking for $ac_word... " >&6; }
81028 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81029 $as_echo_n "(cached) " >&6
81030 else
81031 if test -n "$DBLATEX"; then
81032 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81033 else
81034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81035 for as_dir in $PATH
81037 IFS=$as_save_IFS
81038 test -z "$as_dir" && as_dir=.
81039 for ac_exec_ext in '' $ac_executable_extensions; do
81040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81041 ac_cv_prog_DBLATEX="yes"
81042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81043 break 2
81045 done
81046 done
81047 IFS=$as_save_IFS
81049 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81052 DBLATEX=$ac_cv_prog_DBLATEX
81053 if test -n "$DBLATEX"; then
81054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81055 $as_echo "$DBLATEX" >&6; }
81056 else
81057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81058 $as_echo "no" >&6; }
81062 # Extract the first word of "pdflatex", so it can be a program name with args.
81063 set dummy pdflatex; ac_word=$2
81064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81065 $as_echo_n "checking for $ac_word... " >&6; }
81066 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81067 $as_echo_n "(cached) " >&6
81068 else
81069 if test -n "$PDFLATEX"; then
81070 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81071 else
81072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81073 for as_dir in $PATH
81075 IFS=$as_save_IFS
81076 test -z "$as_dir" && as_dir=.
81077 for ac_exec_ext in '' $ac_executable_extensions; do
81078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81079 ac_cv_prog_PDFLATEX="yes"
81080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81081 break 2
81083 done
81084 done
81085 IFS=$as_save_IFS
81087 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81090 PDFLATEX=$ac_cv_prog_PDFLATEX
81091 if test -n "$PDFLATEX"; then
81092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81093 $as_echo "$PDFLATEX" >&6; }
81094 else
81095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81096 $as_echo "no" >&6; }
81100 if test $ac_cv_prog_DBLATEX = "yes" &&
81101 test $ac_cv_prog_PDFLATEX = "yes"; then
81102 BUILD_PDF_TRUE=
81103 BUILD_PDF_FALSE='#'
81104 else
81105 BUILD_PDF_TRUE='#'
81106 BUILD_PDF_FALSE=
81110 case "$build" in
81111 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81112 * ) glibcxx_include_dir_notparallel=no ;;
81113 esac
81114 if test $glibcxx_include_dir_notparallel = "yes"; then
81115 INCLUDE_DIR_NOTPARALLEL_TRUE=
81116 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81117 else
81118 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81119 INCLUDE_DIR_NOTPARALLEL_FALSE=
81123 # Propagate the target-specific source directories through the build chain.
81124 ATOMICITY_SRCDIR=config/${atomicity_dir}
81125 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81126 ATOMIC_FLAGS=${atomic_flags}
81127 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81128 OS_INC_SRCDIR=config/${os_include_dir}
81129 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81130 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81131 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81132 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81144 # Add CET specific flags if Intel CET is enabled.
81145 # Check whether --enable-cet was given.
81146 if test "${enable_cet+set}" = set; then :
81147 enableval=$enable_cet;
81148 case "$enableval" in
81149 yes|no|default) ;;
81150 *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81151 esac
81153 else
81154 enable_cet=default
81158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81159 $as_echo_n "checking for CET support... " >&6; }
81161 case "$host" in
81162 i[34567]86-*-linux* | x86_64-*-linux*)
81163 case "$enable_cet" in
81164 default)
81165 # Check if target supports multi-byte NOPs
81166 # and if assembler supports CET insn.
81167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81168 /* end confdefs.h. */
81171 main ()
81174 #if !defined(__SSE2__)
81175 #error target does not support multi-byte NOPs
81176 #else
81177 asm ("setssbsy");
81178 #endif
81181 return 0;
81183 _ACEOF
81184 if ac_fn_c_try_compile "$LINENO"; then :
81185 enable_cet=yes
81186 else
81187 enable_cet=no
81189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81191 yes)
81192 # Check if assembler supports CET.
81193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81194 /* end confdefs.h. */
81197 main ()
81199 asm ("setssbsy");
81201 return 0;
81203 _ACEOF
81204 if ac_fn_c_try_compile "$LINENO"; then :
81206 else
81207 as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
81209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81211 esac
81214 enable_cet=no
81216 esac
81217 if test x$enable_cet = xyes; then
81218 CET_FLAGS="-fcf-protection -mcet"
81219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81220 $as_echo "yes" >&6; }
81221 else
81222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81223 $as_echo "no" >&6; }
81226 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81227 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81231 # Determine cross-compile flags and AM_CONDITIONALs.
81232 #AC_SUBST(GLIBCXX_IS_NATIVE)
81233 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81234 if test $is_hosted = yes; then
81235 GLIBCXX_HOSTED_TRUE=
81236 GLIBCXX_HOSTED_FALSE='#'
81237 else
81238 GLIBCXX_HOSTED_TRUE='#'
81239 GLIBCXX_HOSTED_FALSE=
81243 if test $enable_libstdcxx_pch = yes; then
81244 GLIBCXX_BUILD_PCH_TRUE=
81245 GLIBCXX_BUILD_PCH_FALSE='#'
81246 else
81247 GLIBCXX_BUILD_PCH_TRUE='#'
81248 GLIBCXX_BUILD_PCH_FALSE=
81252 if test $enable_libstdcxx_allocator_flag = new; then
81253 ENABLE_ALLOCATOR_NEW_TRUE=
81254 ENABLE_ALLOCATOR_NEW_FALSE='#'
81255 else
81256 ENABLE_ALLOCATOR_NEW_TRUE='#'
81257 ENABLE_ALLOCATOR_NEW_FALSE=
81261 if test $enable_cheaders = c; then
81262 GLIBCXX_C_HEADERS_C_TRUE=
81263 GLIBCXX_C_HEADERS_C_FALSE='#'
81264 else
81265 GLIBCXX_C_HEADERS_C_TRUE='#'
81266 GLIBCXX_C_HEADERS_C_FALSE=
81270 if test $enable_cheaders = c_std; then
81271 GLIBCXX_C_HEADERS_C_STD_TRUE=
81272 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81273 else
81274 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81275 GLIBCXX_C_HEADERS_C_STD_FALSE=
81279 if test $enable_cheaders = c_global; then
81280 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81281 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81282 else
81283 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81284 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81288 if test $c_compatibility = yes; then
81289 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81290 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81291 else
81292 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81293 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81297 if test $enable_libstdcxx_debug = yes; then
81298 GLIBCXX_BUILD_DEBUG_TRUE=
81299 GLIBCXX_BUILD_DEBUG_FALSE='#'
81300 else
81301 GLIBCXX_BUILD_DEBUG_TRUE='#'
81302 GLIBCXX_BUILD_DEBUG_FALSE=
81306 if test $enable_extern_template = yes; then
81307 ENABLE_EXTERN_TEMPLATE_TRUE=
81308 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81309 else
81310 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81311 ENABLE_EXTERN_TEMPLATE_FALSE=
81315 if test $python_mod_dir != no; then
81316 ENABLE_PYTHONDIR_TRUE=
81317 ENABLE_PYTHONDIR_FALSE='#'
81318 else
81319 ENABLE_PYTHONDIR_TRUE='#'
81320 ENABLE_PYTHONDIR_FALSE=
81324 if test $enable_werror = yes; then
81325 ENABLE_WERROR_TRUE=
81326 ENABLE_WERROR_FALSE='#'
81327 else
81328 ENABLE_WERROR_TRUE='#'
81329 ENABLE_WERROR_FALSE=
81333 if test $enable_vtable_verify = yes; then
81334 ENABLE_VTABLE_VERIFY_TRUE=
81335 ENABLE_VTABLE_VERIFY_FALSE='#'
81336 else
81337 ENABLE_VTABLE_VERIFY_TRUE='#'
81338 ENABLE_VTABLE_VERIFY_FALSE=
81342 if test $enable_symvers != no; then
81343 ENABLE_SYMVERS_TRUE=
81344 ENABLE_SYMVERS_FALSE='#'
81345 else
81346 ENABLE_SYMVERS_TRUE='#'
81347 ENABLE_SYMVERS_FALSE=
81351 if test $enable_symvers = gnu; then
81352 ENABLE_SYMVERS_GNU_TRUE=
81353 ENABLE_SYMVERS_GNU_FALSE='#'
81354 else
81355 ENABLE_SYMVERS_GNU_TRUE='#'
81356 ENABLE_SYMVERS_GNU_FALSE=
81360 if test $enable_symvers = gnu-versioned-namespace; then
81361 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81362 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81363 else
81364 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81365 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81369 if test $enable_symvers = darwin; then
81370 ENABLE_SYMVERS_DARWIN_TRUE=
81371 ENABLE_SYMVERS_DARWIN_FALSE='#'
81372 else
81373 ENABLE_SYMVERS_DARWIN_TRUE='#'
81374 ENABLE_SYMVERS_DARWIN_FALSE=
81378 if test $enable_symvers = sun; then
81379 ENABLE_SYMVERS_SUN_TRUE=
81380 ENABLE_SYMVERS_SUN_FALSE='#'
81381 else
81382 ENABLE_SYMVERS_SUN_TRUE='#'
81383 ENABLE_SYMVERS_SUN_FALSE=
81387 if test $enable_libstdcxx_visibility = yes; then
81388 ENABLE_VISIBILITY_TRUE=
81389 ENABLE_VISIBILITY_FALSE='#'
81390 else
81391 ENABLE_VISIBILITY_TRUE='#'
81392 ENABLE_VISIBILITY_FALSE=
81396 if test $enable_libstdcxx_dual_abi = yes; then
81397 ENABLE_DUAL_ABI_TRUE=
81398 ENABLE_DUAL_ABI_FALSE='#'
81399 else
81400 ENABLE_DUAL_ABI_TRUE='#'
81401 ENABLE_DUAL_ABI_FALSE=
81405 if test $glibcxx_cxx11_abi = 1; then
81406 ENABLE_CXX11_ABI_TRUE=
81407 ENABLE_CXX11_ABI_FALSE='#'
81408 else
81409 ENABLE_CXX11_ABI_TRUE='#'
81410 ENABLE_CXX11_ABI_FALSE=
81414 if test $ac_ldbl_compat = yes; then
81415 GLIBCXX_LDBL_COMPAT_TRUE=
81416 GLIBCXX_LDBL_COMPAT_FALSE='#'
81417 else
81418 GLIBCXX_LDBL_COMPAT_TRUE='#'
81419 GLIBCXX_LDBL_COMPAT_FALSE=
81423 if test $enable_libstdcxx_filesystem_ts = yes; then
81424 ENABLE_FILESYSTEM_TS_TRUE=
81425 ENABLE_FILESYSTEM_TS_FALSE='#'
81426 else
81427 ENABLE_FILESYSTEM_TS_TRUE='#'
81428 ENABLE_FILESYSTEM_TS_FALSE=
81434 cat >confcache <<\_ACEOF
81435 # This file is a shell script that caches the results of configure
81436 # tests run on this system so they can be shared between configure
81437 # scripts and configure runs, see configure's option --config-cache.
81438 # It is not useful on other systems. If it contains results you don't
81439 # want to keep, you may remove or edit it.
81441 # config.status only pays attention to the cache file if you give it
81442 # the --recheck option to rerun configure.
81444 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81445 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81446 # following values.
81448 _ACEOF
81450 # The following way of writing the cache mishandles newlines in values,
81451 # but we know of no workaround that is simple, portable, and efficient.
81452 # So, we kill variables containing newlines.
81453 # Ultrix sh set writes to stderr and can't be redirected directly,
81454 # and sets the high bit in the cache file unless we assign to the vars.
81456 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81457 eval ac_val=\$$ac_var
81458 case $ac_val in #(
81459 *${as_nl}*)
81460 case $ac_var in #(
81461 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81462 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81463 esac
81464 case $ac_var in #(
81465 _ | IFS | as_nl) ;; #(
81466 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81467 *) { eval $ac_var=; unset $ac_var;} ;;
81468 esac ;;
81469 esac
81470 done
81472 (set) 2>&1 |
81473 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81474 *${as_nl}ac_space=\ *)
81475 # `set' does not quote correctly, so add quotes: double-quote
81476 # substitution turns \\\\ into \\, and sed turns \\ into \.
81477 sed -n \
81478 "s/'/'\\\\''/g;
81479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81480 ;; #(
81482 # `set' quotes correctly as required by POSIX, so do not add quotes.
81483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81485 esac |
81486 sort
81488 sed '
81489 /^ac_cv_env_/b end
81490 t clear
81491 :clear
81492 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81493 t end
81494 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81495 :end' >>confcache
81496 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81497 if test -w "$cache_file"; then
81498 test "x$cache_file" != "x/dev/null" &&
81499 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81500 $as_echo "$as_me: updating cache $cache_file" >&6;}
81501 cat confcache >$cache_file
81502 else
81503 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81504 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81507 rm -f confcache
81509 if test ${multilib} = yes; then
81510 multilib_arg="--enable-multilib"
81511 else
81512 multilib_arg=
81515 # Export all the install information.
81517 glibcxx_toolexecdir=no
81518 glibcxx_toolexeclibdir=no
81519 glibcxx_prefixdir=$prefix
81521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81522 $as_echo_n "checking for gxx-include-dir... " >&6; }
81524 # Check whether --with-gxx-include-dir was given.
81525 if test "${with_gxx_include_dir+set}" = set; then :
81526 withval=$with_gxx_include_dir; case "$withval" in
81527 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81528 no) gxx_include_dir=no ;;
81529 *) gxx_include_dir=$withval ;;
81530 esac
81531 else
81532 gxx_include_dir=no
81535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81536 $as_echo "$gxx_include_dir" >&6; }
81538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81539 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81540 # Check whether --enable-version-specific-runtime-libs was given.
81541 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81542 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81543 yes) version_specific_libs=yes ;;
81544 no) version_specific_libs=no ;;
81545 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81546 esac
81547 else
81548 version_specific_libs=no
81551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81552 $as_echo "$version_specific_libs" >&6; }
81554 # Default case for install directory for include files.
81555 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81556 gxx_include_dir='include/c++/${gcc_version}'
81557 if test -n "$with_cross_host" &&
81558 test x"$with_cross_host" != x"no"; then
81559 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81560 else
81561 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81565 # Version-specific runtime libs processing.
81566 if test $version_specific_libs = yes; then
81567 # Need the gcc compiler version to know where to install libraries
81568 # and header files if --enable-version-specific-runtime-libs option
81569 # is selected. FIXME: these variables are misnamed, there are
81570 # no executables installed in _toolexecdir or _toolexeclibdir.
81571 if test x"$gxx_include_dir" = x"no"; then
81572 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81574 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81575 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81578 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81579 # Install a library built with a cross compiler in tooldir, not libdir.
81580 if test x"$glibcxx_toolexecdir" = x"no"; then
81581 if test -n "$with_cross_host" &&
81582 test x"$with_cross_host" != x"no"; then
81583 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81584 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81585 else
81586 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81587 glibcxx_toolexeclibdir='${libdir}'
81589 multi_os_directory=`$CXX -print-multi-os-directory`
81590 case $multi_os_directory in
81591 .) ;; # Avoid trailing /.
81592 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81593 esac
81596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81597 $as_echo_n "checking for install location... " >&6; }
81598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81599 $as_echo "$gxx_include_dir" >&6; }
81607 # Export all the include and flag information to Makefiles.
81609 # Used for every C++ compile we perform.
81610 GLIBCXX_INCLUDES="\
81611 -I$glibcxx_builddir/include/$host_alias \
81612 -I$glibcxx_builddir/include \
81613 -I$glibcxx_srcdir/libsupc++"
81615 # For Canadian crosses, pick this up too.
81616 if test $CANADIAN = yes; then
81617 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81620 # Stuff in the actual top level. Currently only used by libsupc++ to
81621 # get unwind* headers from the libgcc dir.
81622 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81623 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81625 # Now, export this to all the little Makefiles....
81630 # Optimization flags that are probably a good idea for thrill-seekers. Just
81631 # uncomment the lines below and make, everything else is ready to go...
81632 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81633 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81636 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81640 # Determine what GCC version number to use in filesystem paths.
81642 get_gcc_base_ver="cat"
81644 # Check whether --with-gcc-major-version-only was given.
81645 if test "${with_gcc_major_version_only+set}" = set; then :
81646 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81647 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
81655 ac_config_files="$ac_config_files Makefile"
81657 ac_config_files="$ac_config_files scripts/testsuite_flags"
81659 ac_config_files="$ac_config_files scripts/extract_symvers"
81661 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81664 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81665 # that multilib installs will end up installed in the correct place.
81666 # The testsuite needs it for multilib-aware ABI baseline files.
81667 # To work around this not being passed down from config-ml.in ->
81668 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81669 # append it here. Only modify Makefiles that have just been created.
81671 # Also, get rid of this simulated-VPATH thing that automake does.
81672 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"
81675 ac_config_commands="$ac_config_commands generate-headers"
81678 cat >confcache <<\_ACEOF
81679 # This file is a shell script that caches the results of configure
81680 # tests run on this system so they can be shared between configure
81681 # scripts and configure runs, see configure's option --config-cache.
81682 # It is not useful on other systems. If it contains results you don't
81683 # want to keep, you may remove or edit it.
81685 # config.status only pays attention to the cache file if you give it
81686 # the --recheck option to rerun configure.
81688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81690 # following values.
81692 _ACEOF
81694 # The following way of writing the cache mishandles newlines in values,
81695 # but we know of no workaround that is simple, portable, and efficient.
81696 # So, we kill variables containing newlines.
81697 # Ultrix sh set writes to stderr and can't be redirected directly,
81698 # and sets the high bit in the cache file unless we assign to the vars.
81700 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81701 eval ac_val=\$$ac_var
81702 case $ac_val in #(
81703 *${as_nl}*)
81704 case $ac_var in #(
81705 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81707 esac
81708 case $ac_var in #(
81709 _ | IFS | as_nl) ;; #(
81710 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81711 *) { eval $ac_var=; unset $ac_var;} ;;
81712 esac ;;
81713 esac
81714 done
81716 (set) 2>&1 |
81717 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81718 *${as_nl}ac_space=\ *)
81719 # `set' does not quote correctly, so add quotes: double-quote
81720 # substitution turns \\\\ into \\, and sed turns \\ into \.
81721 sed -n \
81722 "s/'/'\\\\''/g;
81723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81724 ;; #(
81726 # `set' quotes correctly as required by POSIX, so do not add quotes.
81727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81729 esac |
81730 sort
81732 sed '
81733 /^ac_cv_env_/b end
81734 t clear
81735 :clear
81736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81737 t end
81738 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81739 :end' >>confcache
81740 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81741 if test -w "$cache_file"; then
81742 test "x$cache_file" != "x/dev/null" &&
81743 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81744 $as_echo "$as_me: updating cache $cache_file" >&6;}
81745 cat confcache >$cache_file
81746 else
81747 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81748 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81751 rm -f confcache
81753 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81754 # Let make expand exec_prefix.
81755 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81757 DEFS=-DHAVE_CONFIG_H
81759 ac_libobjs=
81760 ac_ltlibobjs=
81761 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81762 # 1. Remove the extension, and $U if already installed.
81763 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81764 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81765 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81766 # will be set to the directory where LIBOBJS objects are built.
81767 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81768 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81769 done
81770 LIBOBJS=$ac_libobjs
81772 LTLIBOBJS=$ac_ltlibobjs
81775 if test -n "$EXEEXT"; then
81776 am__EXEEXT_TRUE=
81777 am__EXEEXT_FALSE='#'
81778 else
81779 am__EXEEXT_TRUE='#'
81780 am__EXEEXT_FALSE=
81783 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81784 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81787 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81788 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81791 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81792 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81795 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81796 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81799 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81800 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81803 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81804 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81807 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81808 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81811 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81812 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81815 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81816 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81819 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81820 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81823 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81824 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81827 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81828 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81831 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81832 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81835 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81836 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81839 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81840 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81843 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81844 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81847 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81848 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81851 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81852 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81855 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81856 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81859 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81860 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81863 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81864 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81867 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81868 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81871 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81872 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81875 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81876 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81879 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81880 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81883 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81884 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81887 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81888 as_fn_error "conditional \"BUILD_XML\" was never defined.
81889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81891 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81892 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81895 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81896 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81899 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81900 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81903 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
81904 as_fn_error "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
81905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81908 : ${CONFIG_STATUS=./config.status}
81909 ac_write_fail=0
81910 ac_clean_files_save=$ac_clean_files
81911 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81912 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81913 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81914 as_write_fail=0
81915 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81916 #! $SHELL
81917 # Generated by $as_me.
81918 # Run this file to recreate the current configuration.
81919 # Compiler output produced by configure, useful for debugging
81920 # configure, is in config.log if it exists.
81922 debug=false
81923 ac_cs_recheck=false
81924 ac_cs_silent=false
81926 SHELL=\${CONFIG_SHELL-$SHELL}
81927 export SHELL
81928 _ASEOF
81929 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81930 ## -------------------- ##
81931 ## M4sh Initialization. ##
81932 ## -------------------- ##
81934 # Be more Bourne compatible
81935 DUALCASE=1; export DUALCASE # for MKS sh
81936 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81937 emulate sh
81938 NULLCMD=:
81939 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81940 # is contrary to our usage. Disable this feature.
81941 alias -g '${1+"$@"}'='"$@"'
81942 setopt NO_GLOB_SUBST
81943 else
81944 case `(set -o) 2>/dev/null` in #(
81945 *posix*) :
81946 set -o posix ;; #(
81947 *) :
81949 esac
81953 as_nl='
81955 export as_nl
81956 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81957 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81958 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81959 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81960 # Prefer a ksh shell builtin over an external printf program on Solaris,
81961 # but without wasting forks for bash or zsh.
81962 if test -z "$BASH_VERSION$ZSH_VERSION" \
81963 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81964 as_echo='print -r --'
81965 as_echo_n='print -rn --'
81966 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81967 as_echo='printf %s\n'
81968 as_echo_n='printf %s'
81969 else
81970 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81971 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81972 as_echo_n='/usr/ucb/echo -n'
81973 else
81974 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81975 as_echo_n_body='eval
81976 arg=$1;
81977 case $arg in #(
81978 *"$as_nl"*)
81979 expr "X$arg" : "X\\(.*\\)$as_nl";
81980 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81981 esac;
81982 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81984 export as_echo_n_body
81985 as_echo_n='sh -c $as_echo_n_body as_echo'
81987 export as_echo_body
81988 as_echo='sh -c $as_echo_body as_echo'
81991 # The user is always right.
81992 if test "${PATH_SEPARATOR+set}" != set; then
81993 PATH_SEPARATOR=:
81994 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81995 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81996 PATH_SEPARATOR=';'
82001 # IFS
82002 # We need space, tab and new line, in precisely that order. Quoting is
82003 # there to prevent editors from complaining about space-tab.
82004 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82005 # splitting by setting IFS to empty value.)
82006 IFS=" "" $as_nl"
82008 # Find who we are. Look in the path if we contain no directory separator.
82009 case $0 in #((
82010 *[\\/]* ) as_myself=$0 ;;
82011 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82012 for as_dir in $PATH
82014 IFS=$as_save_IFS
82015 test -z "$as_dir" && as_dir=.
82016 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82017 done
82018 IFS=$as_save_IFS
82021 esac
82022 # We did not find ourselves, most probably we were run as `sh COMMAND'
82023 # in which case we are not to be found in the path.
82024 if test "x$as_myself" = x; then
82025 as_myself=$0
82027 if test ! -f "$as_myself"; then
82028 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82029 exit 1
82032 # Unset variables that we do not need and which cause bugs (e.g. in
82033 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82034 # suppresses any "Segmentation fault" message there. '((' could
82035 # trigger a bug in pdksh 5.2.14.
82036 for as_var in BASH_ENV ENV MAIL MAILPATH
82037 do eval test x\${$as_var+set} = xset \
82038 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82039 done
82040 PS1='$ '
82041 PS2='> '
82042 PS4='+ '
82044 # NLS nuisances.
82045 LC_ALL=C
82046 export LC_ALL
82047 LANGUAGE=C
82048 export LANGUAGE
82050 # CDPATH.
82051 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82054 # as_fn_error ERROR [LINENO LOG_FD]
82055 # ---------------------------------
82056 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82057 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82058 # script with status $?, using 1 if that was 0.
82059 as_fn_error ()
82061 as_status=$?; test $as_status -eq 0 && as_status=1
82062 if test "$3"; then
82063 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82064 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82066 $as_echo "$as_me: error: $1" >&2
82067 as_fn_exit $as_status
82068 } # as_fn_error
82071 # as_fn_set_status STATUS
82072 # -----------------------
82073 # Set $? to STATUS, without forking.
82074 as_fn_set_status ()
82076 return $1
82077 } # as_fn_set_status
82079 # as_fn_exit STATUS
82080 # -----------------
82081 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82082 as_fn_exit ()
82084 set +e
82085 as_fn_set_status $1
82086 exit $1
82087 } # as_fn_exit
82089 # as_fn_unset VAR
82090 # ---------------
82091 # Portably unset VAR.
82092 as_fn_unset ()
82094 { eval $1=; unset $1;}
82096 as_unset=as_fn_unset
82097 # as_fn_append VAR VALUE
82098 # ----------------------
82099 # Append the text in VALUE to the end of the definition contained in VAR. Take
82100 # advantage of any shell optimizations that allow amortized linear growth over
82101 # repeated appends, instead of the typical quadratic growth present in naive
82102 # implementations.
82103 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82104 eval 'as_fn_append ()
82106 eval $1+=\$2
82108 else
82109 as_fn_append ()
82111 eval $1=\$$1\$2
82113 fi # as_fn_append
82115 # as_fn_arith ARG...
82116 # ------------------
82117 # Perform arithmetic evaluation on the ARGs, and store the result in the
82118 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82119 # must be portable across $(()) and expr.
82120 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82121 eval 'as_fn_arith ()
82123 as_val=$(( $* ))
82125 else
82126 as_fn_arith ()
82128 as_val=`expr "$@" || test $? -eq 1`
82130 fi # as_fn_arith
82133 if expr a : '\(a\)' >/dev/null 2>&1 &&
82134 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82135 as_expr=expr
82136 else
82137 as_expr=false
82140 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82141 as_basename=basename
82142 else
82143 as_basename=false
82146 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82147 as_dirname=dirname
82148 else
82149 as_dirname=false
82152 as_me=`$as_basename -- "$0" ||
82153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82154 X"$0" : 'X\(//\)$' \| \
82155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82156 $as_echo X/"$0" |
82157 sed '/^.*\/\([^/][^/]*\)\/*$/{
82158 s//\1/
82161 /^X\/\(\/\/\)$/{
82162 s//\1/
82165 /^X\/\(\/\).*/{
82166 s//\1/
82169 s/.*/./; q'`
82171 # Avoid depending upon Character Ranges.
82172 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82173 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82174 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82175 as_cr_digits='0123456789'
82176 as_cr_alnum=$as_cr_Letters$as_cr_digits
82178 ECHO_C= ECHO_N= ECHO_T=
82179 case `echo -n x` in #(((((
82180 -n*)
82181 case `echo 'xy\c'` in
82182 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82183 xy) ECHO_C='\c';;
82184 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82185 ECHO_T=' ';;
82186 esac;;
82188 ECHO_N='-n';;
82189 esac
82191 rm -f conf$$ conf$$.exe conf$$.file
82192 if test -d conf$$.dir; then
82193 rm -f conf$$.dir/conf$$.file
82194 else
82195 rm -f conf$$.dir
82196 mkdir conf$$.dir 2>/dev/null
82198 if (echo >conf$$.file) 2>/dev/null; then
82199 if ln -s conf$$.file conf$$ 2>/dev/null; then
82200 as_ln_s='ln -s'
82201 # ... but there are two gotchas:
82202 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82203 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82204 # In both cases, we have to default to `cp -p'.
82205 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82206 as_ln_s='cp -p'
82207 elif ln conf$$.file conf$$ 2>/dev/null; then
82208 as_ln_s=ln
82209 else
82210 as_ln_s='cp -p'
82212 else
82213 as_ln_s='cp -p'
82215 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82216 rmdir conf$$.dir 2>/dev/null
82219 # as_fn_mkdir_p
82220 # -------------
82221 # Create "$as_dir" as a directory, including parents if necessary.
82222 as_fn_mkdir_p ()
82225 case $as_dir in #(
82226 -*) as_dir=./$as_dir;;
82227 esac
82228 test -d "$as_dir" || eval $as_mkdir_p || {
82229 as_dirs=
82230 while :; do
82231 case $as_dir in #(
82232 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82233 *) as_qdir=$as_dir;;
82234 esac
82235 as_dirs="'$as_qdir' $as_dirs"
82236 as_dir=`$as_dirname -- "$as_dir" ||
82237 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82238 X"$as_dir" : 'X\(//\)[^/]' \| \
82239 X"$as_dir" : 'X\(//\)$' \| \
82240 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82241 $as_echo X"$as_dir" |
82242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82243 s//\1/
82246 /^X\(\/\/\)[^/].*/{
82247 s//\1/
82250 /^X\(\/\/\)$/{
82251 s//\1/
82254 /^X\(\/\).*/{
82255 s//\1/
82258 s/.*/./; q'`
82259 test -d "$as_dir" && break
82260 done
82261 test -z "$as_dirs" || eval "mkdir $as_dirs"
82262 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82265 } # as_fn_mkdir_p
82266 if mkdir -p . 2>/dev/null; then
82267 as_mkdir_p='mkdir -p "$as_dir"'
82268 else
82269 test -d ./-p && rmdir ./-p
82270 as_mkdir_p=false
82273 if test -x / >/dev/null 2>&1; then
82274 as_test_x='test -x'
82275 else
82276 if ls -dL / >/dev/null 2>&1; then
82277 as_ls_L_option=L
82278 else
82279 as_ls_L_option=
82281 as_test_x='
82282 eval sh -c '\''
82283 if test -d "$1"; then
82284 test -d "$1/.";
82285 else
82286 case $1 in #(
82287 -*)set "./$1";;
82288 esac;
82289 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82290 ???[sx]*):;;*)false;;esac;fi
82291 '\'' sh
82294 as_executable_p=$as_test_x
82296 # Sed expression to map a string onto a valid CPP name.
82297 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82299 # Sed expression to map a string onto a valid variable name.
82300 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82303 exec 6>&1
82304 ## ----------------------------------- ##
82305 ## Main body of $CONFIG_STATUS script. ##
82306 ## ----------------------------------- ##
82307 _ASEOF
82308 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82311 # Save the log message, to keep $0 and so on meaningful, and to
82312 # report actual input values of CONFIG_FILES etc. instead of their
82313 # values after options handling.
82314 ac_log="
82315 This file was extended by package-unused $as_me version-unused, which was
82316 generated by GNU Autoconf 2.64. Invocation command line was
82318 CONFIG_FILES = $CONFIG_FILES
82319 CONFIG_HEADERS = $CONFIG_HEADERS
82320 CONFIG_LINKS = $CONFIG_LINKS
82321 CONFIG_COMMANDS = $CONFIG_COMMANDS
82322 $ $0 $@
82324 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82327 _ACEOF
82329 case $ac_config_files in *"
82330 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82331 esac
82333 case $ac_config_headers in *"
82334 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82335 esac
82338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82339 # Files that config.status was made for.
82340 config_files="$ac_config_files"
82341 config_headers="$ac_config_headers"
82342 config_commands="$ac_config_commands"
82344 _ACEOF
82346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82347 ac_cs_usage="\
82348 \`$as_me' instantiates files and other configuration actions
82349 from templates according to the current configuration. Unless the files
82350 and actions are specified as TAGs, all are instantiated by default.
82352 Usage: $0 [OPTION]... [TAG]...
82354 -h, --help print this help, then exit
82355 -V, --version print version number and configuration settings, then exit
82356 -q, --quiet, --silent
82357 do not print progress messages
82358 -d, --debug don't remove temporary files
82359 --recheck update $as_me by reconfiguring in the same conditions
82360 --file=FILE[:TEMPLATE]
82361 instantiate the configuration file FILE
82362 --header=FILE[:TEMPLATE]
82363 instantiate the configuration header FILE
82365 Configuration files:
82366 $config_files
82368 Configuration headers:
82369 $config_headers
82371 Configuration commands:
82372 $config_commands
82374 Report bugs to the package provider."
82376 _ACEOF
82377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82378 ac_cs_version="\\
82379 package-unused config.status version-unused
82380 configured by $0, generated by GNU Autoconf 2.64,
82381 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82383 Copyright (C) 2009 Free Software Foundation, Inc.
82384 This config.status script is free software; the Free Software Foundation
82385 gives unlimited permission to copy, distribute and modify it."
82387 ac_pwd='$ac_pwd'
82388 srcdir='$srcdir'
82389 INSTALL='$INSTALL'
82390 MKDIR_P='$MKDIR_P'
82391 AWK='$AWK'
82392 test -n "\$AWK" || AWK=awk
82393 _ACEOF
82395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82396 # The default lists apply if the user does not specify any file.
82397 ac_need_defaults=:
82398 while test $# != 0
82400 case $1 in
82401 --*=*)
82402 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82403 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82404 ac_shift=:
82407 ac_option=$1
82408 ac_optarg=$2
82409 ac_shift=shift
82411 esac
82413 case $ac_option in
82414 # Handling of the options.
82415 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82416 ac_cs_recheck=: ;;
82417 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82418 $as_echo "$ac_cs_version"; exit ;;
82419 --debug | --debu | --deb | --de | --d | -d )
82420 debug=: ;;
82421 --file | --fil | --fi | --f )
82422 $ac_shift
82423 case $ac_optarg in
82424 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82425 esac
82426 as_fn_append CONFIG_FILES " '$ac_optarg'"
82427 ac_need_defaults=false;;
82428 --header | --heade | --head | --hea )
82429 $ac_shift
82430 case $ac_optarg in
82431 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82432 esac
82433 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82434 ac_need_defaults=false;;
82435 --he | --h)
82436 # Conflict between --help and --header
82437 as_fn_error "ambiguous option: \`$1'
82438 Try \`$0 --help' for more information.";;
82439 --help | --hel | -h )
82440 $as_echo "$ac_cs_usage"; exit ;;
82441 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82442 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82443 ac_cs_silent=: ;;
82445 # This is an error.
82446 -*) as_fn_error "unrecognized option: \`$1'
82447 Try \`$0 --help' for more information." ;;
82449 *) as_fn_append ac_config_targets " $1"
82450 ac_need_defaults=false ;;
82452 esac
82453 shift
82454 done
82456 ac_configure_extra_args=
82458 if $ac_cs_silent; then
82459 exec 6>/dev/null
82460 ac_configure_extra_args="$ac_configure_extra_args --silent"
82463 _ACEOF
82464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82465 if \$ac_cs_recheck; then
82466 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82467 shift
82468 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82469 CONFIG_SHELL='$SHELL'
82470 export CONFIG_SHELL
82471 exec "\$@"
82474 _ACEOF
82475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82476 exec 5>>config.log
82478 echo
82479 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82480 ## Running $as_me. ##
82481 _ASBOX
82482 $as_echo "$ac_log"
82483 } >&5
82485 _ACEOF
82486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82488 # INIT-COMMANDS
82491 srcdir="$srcdir"
82492 host="$host"
82493 target="$target"
82494 with_multisubdir="$with_multisubdir"
82495 with_multisrctop="$with_multisrctop"
82496 with_target_subdir="$with_target_subdir"
82497 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82498 multi_basedir="$multi_basedir"
82499 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82500 CC="$CC"
82501 CXX="$CXX"
82502 GFORTRAN="$GFORTRAN"
82505 # The HP-UX ksh and POSIX shell print the target directory to stdout
82506 # if CDPATH is set.
82507 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82509 sed_quote_subst='$sed_quote_subst'
82510 double_quote_subst='$double_quote_subst'
82511 delay_variable_subst='$delay_variable_subst'
82512 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82513 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82514 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82515 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82516 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82517 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82518 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82519 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82520 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82521 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82522 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82523 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82524 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82525 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82526 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82527 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82528 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82529 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82530 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82531 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82532 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82533 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82534 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82535 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82536 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82537 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82538 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82539 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82540 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82541 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82542 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82543 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82544 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82545 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82546 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82547 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82548 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82549 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82550 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82551 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82552 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82553 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82554 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82555 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82556 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82557 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82558 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82559 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82560 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"`'
82561 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82562 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82563 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82564 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82565 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82566 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82567 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82568 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82569 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82570 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82571 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82572 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82573 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82574 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82575 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82576 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82577 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82578 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82579 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82580 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82581 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82582 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82583 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82584 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82585 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82586 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82587 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82588 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82589 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82590 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82591 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82592 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82593 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82594 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82595 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82596 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82597 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82598 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82599 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82600 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82601 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82602 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82603 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82604 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82605 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82606 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82607 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82608 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82609 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82610 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82611 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82612 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82613 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82614 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82615 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82616 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82617 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82618 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82619 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82620 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82621 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82622 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82623 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82624 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82625 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82626 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82627 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82628 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82629 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82630 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82631 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82632 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82633 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82634 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82635 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82636 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82637 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82638 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82639 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82640 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82641 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82642 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82643 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82644 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82645 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82646 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82647 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82648 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82649 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82650 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82651 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82652 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82653 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82654 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82655 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82656 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82657 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82658 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82659 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82660 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82661 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82662 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82663 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82664 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82665 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82666 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82667 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82668 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82669 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82670 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82671 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82672 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82673 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82674 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82675 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82676 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82677 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82678 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82679 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82680 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82681 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82682 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82683 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82684 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82685 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82686 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82688 LTCC='$LTCC'
82689 LTCFLAGS='$LTCFLAGS'
82690 compiler='$compiler_DEFAULT'
82692 # A function that is used when there is no print builtin or printf.
82693 func_fallback_echo ()
82695 eval 'cat <<_LTECHO_EOF
82697 _LTECHO_EOF'
82700 # Quote evaled strings.
82701 for var in SHELL \
82702 ECHO \
82703 SED \
82704 GREP \
82705 EGREP \
82706 FGREP \
82707 LD \
82708 NM \
82709 LN_S \
82710 lt_SP2NL \
82711 lt_NL2SP \
82712 reload_flag \
82713 OBJDUMP \
82714 deplibs_check_method \
82715 file_magic_cmd \
82716 AR \
82717 AR_FLAGS \
82718 STRIP \
82719 RANLIB \
82720 CC \
82721 CFLAGS \
82722 compiler \
82723 lt_cv_sys_global_symbol_pipe \
82724 lt_cv_sys_global_symbol_to_cdecl \
82725 lt_cv_sys_global_symbol_to_c_name_address \
82726 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82727 lt_prog_compiler_no_builtin_flag \
82728 lt_prog_compiler_wl \
82729 lt_prog_compiler_pic \
82730 lt_prog_compiler_static \
82731 lt_cv_prog_compiler_c_o \
82732 need_locks \
82733 DSYMUTIL \
82734 NMEDIT \
82735 LIPO \
82736 OTOOL \
82737 OTOOL64 \
82738 shrext_cmds \
82739 export_dynamic_flag_spec \
82740 whole_archive_flag_spec \
82741 compiler_needs_object \
82742 with_gnu_ld \
82743 allow_undefined_flag \
82744 no_undefined_flag \
82745 hardcode_libdir_flag_spec \
82746 hardcode_libdir_flag_spec_ld \
82747 hardcode_libdir_separator \
82748 fix_srcfile_path \
82749 exclude_expsyms \
82750 include_expsyms \
82751 file_list_spec \
82752 variables_saved_for_relink \
82753 libname_spec \
82754 library_names_spec \
82755 soname_spec \
82756 install_override_mode \
82757 finish_eval \
82758 old_striplib \
82759 striplib \
82760 compiler_lib_search_dirs \
82761 predep_objects \
82762 postdep_objects \
82763 predeps \
82764 postdeps \
82765 compiler_lib_search_path \
82766 LD_CXX \
82767 reload_flag_CXX \
82768 compiler_CXX \
82769 lt_prog_compiler_no_builtin_flag_CXX \
82770 lt_prog_compiler_wl_CXX \
82771 lt_prog_compiler_pic_CXX \
82772 lt_prog_compiler_static_CXX \
82773 lt_cv_prog_compiler_c_o_CXX \
82774 export_dynamic_flag_spec_CXX \
82775 whole_archive_flag_spec_CXX \
82776 compiler_needs_object_CXX \
82777 with_gnu_ld_CXX \
82778 allow_undefined_flag_CXX \
82779 no_undefined_flag_CXX \
82780 hardcode_libdir_flag_spec_CXX \
82781 hardcode_libdir_flag_spec_ld_CXX \
82782 hardcode_libdir_separator_CXX \
82783 fix_srcfile_path_CXX \
82784 exclude_expsyms_CXX \
82785 include_expsyms_CXX \
82786 file_list_spec_CXX \
82787 compiler_lib_search_dirs_CXX \
82788 predep_objects_CXX \
82789 postdep_objects_CXX \
82790 predeps_CXX \
82791 postdeps_CXX \
82792 compiler_lib_search_path_CXX; do
82793 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82794 *[\\\\\\\`\\"\\\$]*)
82795 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82798 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82800 esac
82801 done
82803 # Double-quote double-evaled strings.
82804 for var in reload_cmds \
82805 old_postinstall_cmds \
82806 old_postuninstall_cmds \
82807 old_archive_cmds \
82808 extract_expsyms_cmds \
82809 old_archive_from_new_cmds \
82810 old_archive_from_expsyms_cmds \
82811 archive_cmds \
82812 archive_expsym_cmds \
82813 module_cmds \
82814 module_expsym_cmds \
82815 export_symbols_cmds \
82816 prelink_cmds \
82817 postinstall_cmds \
82818 postuninstall_cmds \
82819 finish_cmds \
82820 sys_lib_search_path_spec \
82821 sys_lib_dlsearch_path_spec \
82822 reload_cmds_CXX \
82823 old_archive_cmds_CXX \
82824 old_archive_from_new_cmds_CXX \
82825 old_archive_from_expsyms_cmds_CXX \
82826 archive_cmds_CXX \
82827 archive_expsym_cmds_CXX \
82828 module_cmds_CXX \
82829 module_expsym_cmds_CXX \
82830 export_symbols_cmds_CXX \
82831 prelink_cmds_CXX; do
82832 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82833 *[\\\\\\\`\\"\\\$]*)
82834 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82837 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82839 esac
82840 done
82842 ac_aux_dir='$ac_aux_dir'
82843 xsi_shell='$xsi_shell'
82844 lt_shell_append='$lt_shell_append'
82846 # See if we are running on zsh, and set the options which allow our
82847 # commands through without removal of \ escapes INIT.
82848 if test -n "\${ZSH_VERSION+set}" ; then
82849 setopt NO_GLOB_SUBST
82853 PACKAGE='$PACKAGE'
82854 VERSION='$VERSION'
82855 TIMESTAMP='$TIMESTAMP'
82856 RM='$RM'
82857 ofile='$ofile'
82864 GCC="$GCC"
82865 CC="$CC"
82866 acx_cv_header_stdint="$acx_cv_header_stdint"
82867 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82868 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82869 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82870 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82871 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82872 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82873 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82874 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82875 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82876 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82877 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82878 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82879 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82882 _ACEOF
82884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82886 # Handling of arguments.
82887 for ac_config_target in $ac_config_targets
82889 case $ac_config_target in
82890 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82891 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82892 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82893 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82894 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82895 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82896 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82897 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82898 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82899 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82900 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82901 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82902 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82903 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82904 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82905 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82906 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82907 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82908 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82910 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82911 esac
82912 done
82915 # If the user did not use the arguments to specify the items to instantiate,
82916 # then the envvar interface is used. Set only those that are not.
82917 # We use the long form for the default assignment because of an extremely
82918 # bizarre bug on SunOS 4.1.3.
82919 if $ac_need_defaults; then
82920 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82921 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82922 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82925 # Have a temporary directory for convenience. Make it in the build tree
82926 # simply because there is no reason against having it here, and in addition,
82927 # creating and moving files from /tmp can sometimes cause problems.
82928 # Hook for its removal unless debugging.
82929 # Note that there is a small window in which the directory will not be cleaned:
82930 # after its creation but before its name has been assigned to `$tmp'.
82931 $debug ||
82933 tmp=
82934 trap 'exit_status=$?
82935 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82937 trap 'as_fn_exit 1' 1 2 13 15
82939 # Create a (secure) tmp directory for tmp files.
82942 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82943 test -n "$tmp" && test -d "$tmp"
82944 } ||
82946 tmp=./conf$$-$RANDOM
82947 (umask 077 && mkdir "$tmp")
82948 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82950 # Set up the scripts for CONFIG_FILES section.
82951 # No need to generate them if there are no CONFIG_FILES.
82952 # This happens for instance with `./config.status config.h'.
82953 if test -n "$CONFIG_FILES"; then
82956 ac_cr=`echo X | tr X '\015'`
82957 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82958 # But we know of no other shell where ac_cr would be empty at this
82959 # point, so we can use a bashism as a fallback.
82960 if test "x$ac_cr" = x; then
82961 eval ac_cr=\$\'\\r\'
82963 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82964 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82965 ac_cs_awk_cr='\r'
82966 else
82967 ac_cs_awk_cr=$ac_cr
82970 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82971 _ACEOF
82975 echo "cat >conf$$subs.awk <<_ACEOF" &&
82976 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82977 echo "_ACEOF"
82978 } >conf$$subs.sh ||
82979 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82980 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82981 ac_delim='%!_!# '
82982 for ac_last_try in false false false false false :; do
82983 . ./conf$$subs.sh ||
82984 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82986 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82987 if test $ac_delim_n = $ac_delim_num; then
82988 break
82989 elif $ac_last_try; then
82990 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82991 else
82992 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82994 done
82995 rm -f conf$$subs.sh
82997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82998 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82999 _ACEOF
83000 sed -n '
83002 s/^/S["/; s/!.*/"]=/
83005 s/^[^!]*!//
83006 :repl
83007 t repl
83008 s/'"$ac_delim"'$//
83009 t delim
83012 s/\(.\{148\}\).*/\1/
83013 t more1
83014 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83017 b repl
83018 :more1
83019 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83022 s/.\{148\}//
83023 t nl
83024 :delim
83026 s/\(.\{148\}\).*/\1/
83027 t more2
83028 s/["\\]/\\&/g; s/^/"/; s/$/"/
83031 :more2
83032 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83035 s/.\{148\}//
83036 t delim
83037 ' <conf$$subs.awk | sed '
83038 /^[^""]/{
83040 s/\n//
83042 ' >>$CONFIG_STATUS || ac_write_fail=1
83043 rm -f conf$$subs.awk
83044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83045 _ACAWK
83046 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83047 for (key in S) S_is_set[key] = 1
83048 FS = "\a"
83052 line = $ 0
83053 nfields = split(line, field, "@")
83054 substed = 0
83055 len = length(field[1])
83056 for (i = 2; i < nfields; i++) {
83057 key = field[i]
83058 keylen = length(key)
83059 if (S_is_set[key]) {
83060 value = S[key]
83061 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83062 len += length(value) + length(field[++i])
83063 substed = 1
83064 } else
83065 len += 1 + keylen
83068 print line
83071 _ACAWK
83072 _ACEOF
83073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83074 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83075 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83076 else
83078 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83079 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83080 _ACEOF
83082 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83083 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83084 # trailing colons and then remove the whole line if VPATH becomes empty
83085 # (actually we leave an empty line to preserve line numbers).
83086 if test "x$srcdir" = x.; then
83087 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83088 s/:*\$(srcdir):*/:/
83089 s/:*\${srcdir}:*/:/
83090 s/:*@srcdir@:*/:/
83091 s/^\([^=]*=[ ]*\):*/\1/
83092 s/:*$//
83093 s/^[^=]*=[ ]*$//
83097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83098 fi # test -n "$CONFIG_FILES"
83100 # Set up the scripts for CONFIG_HEADERS section.
83101 # No need to generate them if there are no CONFIG_HEADERS.
83102 # This happens for instance with `./config.status Makefile'.
83103 if test -n "$CONFIG_HEADERS"; then
83104 cat >"$tmp/defines.awk" <<\_ACAWK ||
83105 BEGIN {
83106 _ACEOF
83108 # Transform confdefs.h into an awk script `defines.awk', embedded as
83109 # here-document in config.status, that substitutes the proper values into
83110 # config.h.in to produce config.h.
83112 # Create a delimiter string that does not exist in confdefs.h, to ease
83113 # handling of long lines.
83114 ac_delim='%!_!# '
83115 for ac_last_try in false false :; do
83116 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83117 if test -z "$ac_t"; then
83118 break
83119 elif $ac_last_try; then
83120 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83121 else
83122 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83124 done
83126 # For the awk script, D is an array of macro values keyed by name,
83127 # likewise P contains macro parameters if any. Preserve backslash
83128 # newline sequences.
83130 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83131 sed -n '
83132 s/.\{148\}/&'"$ac_delim"'/g
83133 t rset
83134 :rset
83135 s/^[ ]*#[ ]*define[ ][ ]*/ /
83136 t def
83138 :def
83139 s/\\$//
83140 t bsnl
83141 s/["\\]/\\&/g
83142 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83143 D["\1"]=" \3"/p
83144 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83146 :bsnl
83147 s/["\\]/\\&/g
83148 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83149 D["\1"]=" \3\\\\\\n"\\/p
83150 t cont
83151 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83152 t cont
83154 :cont
83156 s/.\{148\}/&'"$ac_delim"'/g
83157 t clear
83158 :clear
83159 s/\\$//
83160 t bsnlc
83161 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83163 :bsnlc
83164 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83165 b cont
83166 ' <confdefs.h | sed '
83167 s/'"$ac_delim"'/"\\\
83168 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83171 for (key in D) D_is_set[key] = 1
83172 FS = "\a"
83174 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83175 line = \$ 0
83176 split(line, arg, " ")
83177 if (arg[1] == "#") {
83178 defundef = arg[2]
83179 mac1 = arg[3]
83180 } else {
83181 defundef = substr(arg[1], 2)
83182 mac1 = arg[2]
83184 split(mac1, mac2, "(") #)
83185 macro = mac2[1]
83186 prefix = substr(line, 1, index(line, defundef) - 1)
83187 if (D_is_set[macro]) {
83188 # Preserve the white space surrounding the "#".
83189 print prefix "define", macro P[macro] D[macro]
83190 next
83191 } else {
83192 # Replace #undef with comments. This is necessary, for example,
83193 # in the case of _POSIX_SOURCE, which is predefined and required
83194 # on some systems where configure will not decide to define it.
83195 if (defundef == "undef") {
83196 print "/*", prefix defundef, macro, "*/"
83197 next
83201 { print }
83202 _ACAWK
83203 _ACEOF
83204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83205 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83206 fi # test -n "$CONFIG_HEADERS"
83209 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83210 shift
83211 for ac_tag
83213 case $ac_tag in
83214 :[FHLC]) ac_mode=$ac_tag; continue;;
83215 esac
83216 case $ac_mode$ac_tag in
83217 :[FHL]*:*);;
83218 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83219 :[FH]-) ac_tag=-:-;;
83220 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83221 esac
83222 ac_save_IFS=$IFS
83223 IFS=:
83224 set x $ac_tag
83225 IFS=$ac_save_IFS
83226 shift
83227 ac_file=$1
83228 shift
83230 case $ac_mode in
83231 :L) ac_source=$1;;
83232 :[FH])
83233 ac_file_inputs=
83234 for ac_f
83236 case $ac_f in
83237 -) ac_f="$tmp/stdin";;
83238 *) # Look for the file first in the build tree, then in the source tree
83239 # (if the path is not absolute). The absolute path cannot be DOS-style,
83240 # because $ac_f cannot contain `:'.
83241 test -f "$ac_f" ||
83242 case $ac_f in
83243 [\\/$]*) false;;
83244 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83245 esac ||
83246 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83247 esac
83248 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83249 as_fn_append ac_file_inputs " '$ac_f'"
83250 done
83252 # Let's still pretend it is `configure' which instantiates (i.e., don't
83253 # use $as_me), people would be surprised to read:
83254 # /* config.h. Generated by config.status. */
83255 configure_input='Generated from '`
83256 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83257 `' by configure.'
83258 if test x"$ac_file" != x-; then
83259 configure_input="$ac_file. $configure_input"
83260 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83261 $as_echo "$as_me: creating $ac_file" >&6;}
83263 # Neutralize special characters interpreted by sed in replacement strings.
83264 case $configure_input in #(
83265 *\&* | *\|* | *\\* )
83266 ac_sed_conf_input=`$as_echo "$configure_input" |
83267 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83268 *) ac_sed_conf_input=$configure_input;;
83269 esac
83271 case $ac_tag in
83272 *:-:* | *:-) cat >"$tmp/stdin" \
83273 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83274 esac
83276 esac
83278 ac_dir=`$as_dirname -- "$ac_file" ||
83279 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83280 X"$ac_file" : 'X\(//\)[^/]' \| \
83281 X"$ac_file" : 'X\(//\)$' \| \
83282 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83283 $as_echo X"$ac_file" |
83284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83285 s//\1/
83288 /^X\(\/\/\)[^/].*/{
83289 s//\1/
83292 /^X\(\/\/\)$/{
83293 s//\1/
83296 /^X\(\/\).*/{
83297 s//\1/
83300 s/.*/./; q'`
83301 as_dir="$ac_dir"; as_fn_mkdir_p
83302 ac_builddir=.
83304 case "$ac_dir" in
83305 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83307 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83308 # A ".." for each directory in $ac_dir_suffix.
83309 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83310 case $ac_top_builddir_sub in
83311 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83312 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83313 esac ;;
83314 esac
83315 ac_abs_top_builddir=$ac_pwd
83316 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83317 # for backward compatibility:
83318 ac_top_builddir=$ac_top_build_prefix
83320 case $srcdir in
83321 .) # We are building in place.
83322 ac_srcdir=.
83323 ac_top_srcdir=$ac_top_builddir_sub
83324 ac_abs_top_srcdir=$ac_pwd ;;
83325 [\\/]* | ?:[\\/]* ) # Absolute name.
83326 ac_srcdir=$srcdir$ac_dir_suffix;
83327 ac_top_srcdir=$srcdir
83328 ac_abs_top_srcdir=$srcdir ;;
83329 *) # Relative name.
83330 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83331 ac_top_srcdir=$ac_top_build_prefix$srcdir
83332 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83333 esac
83334 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83337 case $ac_mode in
83340 # CONFIG_FILE
83343 case $INSTALL in
83344 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83345 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83346 esac
83347 ac_MKDIR_P=$MKDIR_P
83348 case $MKDIR_P in
83349 [\\/$]* | ?:[\\/]* ) ;;
83350 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83351 esac
83352 _ACEOF
83354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83355 # If the template does not know about datarootdir, expand it.
83356 # FIXME: This hack should be removed a few years after 2.60.
83357 ac_datarootdir_hack=; ac_datarootdir_seen=
83358 ac_sed_dataroot='
83359 /datarootdir/ {
83363 /@datadir@/p
83364 /@docdir@/p
83365 /@infodir@/p
83366 /@localedir@/p
83367 /@mandir@/p'
83368 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83369 *datarootdir*) ac_datarootdir_seen=yes;;
83370 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83372 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83373 _ACEOF
83374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83375 ac_datarootdir_hack='
83376 s&@datadir@&$datadir&g
83377 s&@docdir@&$docdir&g
83378 s&@infodir@&$infodir&g
83379 s&@localedir@&$localedir&g
83380 s&@mandir@&$mandir&g
83381 s&\\\${datarootdir}&$datarootdir&g' ;;
83382 esac
83383 _ACEOF
83385 # Neutralize VPATH when `$srcdir' = `.'.
83386 # Shell code in configure.ac might set extrasub.
83387 # FIXME: do we really want to maintain this feature?
83388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83389 ac_sed_extra="$ac_vpsub
83390 $extrasub
83391 _ACEOF
83392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83394 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83395 s|@configure_input@|$ac_sed_conf_input|;t t
83396 s&@top_builddir@&$ac_top_builddir_sub&;t t
83397 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83398 s&@srcdir@&$ac_srcdir&;t t
83399 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83400 s&@top_srcdir@&$ac_top_srcdir&;t t
83401 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83402 s&@builddir@&$ac_builddir&;t t
83403 s&@abs_builddir@&$ac_abs_builddir&;t t
83404 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83405 s&@INSTALL@&$ac_INSTALL&;t t
83406 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83407 $ac_datarootdir_hack
83409 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83410 || as_fn_error "could not create $ac_file" "$LINENO" 5
83412 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83413 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83414 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83416 which seems to be undefined. Please make sure it is defined." >&5
83417 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83418 which seems to be undefined. Please make sure it is defined." >&2;}
83420 rm -f "$tmp/stdin"
83421 case $ac_file in
83422 -) cat "$tmp/out" && rm -f "$tmp/out";;
83423 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83424 esac \
83425 || as_fn_error "could not create $ac_file" "$LINENO" 5
83429 # CONFIG_HEADER
83431 if test x"$ac_file" != x-; then
83433 $as_echo "/* $configure_input */" \
83434 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83435 } >"$tmp/config.h" \
83436 || as_fn_error "could not create $ac_file" "$LINENO" 5
83437 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83438 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83439 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83440 else
83441 rm -f "$ac_file"
83442 mv "$tmp/config.h" "$ac_file" \
83443 || as_fn_error "could not create $ac_file" "$LINENO" 5
83445 else
83446 $as_echo "/* $configure_input */" \
83447 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83448 || as_fn_error "could not create -" "$LINENO" 5
83450 # Compute "$ac_file"'s index in $config_headers.
83451 _am_arg="$ac_file"
83452 _am_stamp_count=1
83453 for _am_header in $config_headers :; do
83454 case $_am_header in
83455 $_am_arg | $_am_arg:* )
83456 break ;;
83458 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83459 esac
83460 done
83461 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83462 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83463 X"$_am_arg" : 'X\(//\)[^/]' \| \
83464 X"$_am_arg" : 'X\(//\)$' \| \
83465 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83466 $as_echo X"$_am_arg" |
83467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83468 s//\1/
83471 /^X\(\/\/\)[^/].*/{
83472 s//\1/
83475 /^X\(\/\/\)$/{
83476 s//\1/
83479 /^X\(\/\).*/{
83480 s//\1/
83483 s/.*/./; q'`/stamp-h$_am_stamp_count
83486 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83487 $as_echo "$as_me: executing $ac_file commands" >&6;}
83489 esac
83492 case $ac_file$ac_mode in
83493 "default-1":C)
83494 # Only add multilib support code if we just rebuilt the top-level
83495 # Makefile.
83496 case " $CONFIG_FILES " in
83497 *" Makefile "*)
83498 ac_file=Makefile . ${multi_basedir}/config-ml.in
83500 esac ;;
83501 "libtool":C)
83503 # See if we are running on zsh, and set the options which allow our
83504 # commands through without removal of \ escapes.
83505 if test -n "${ZSH_VERSION+set}" ; then
83506 setopt NO_GLOB_SUBST
83509 cfgfile="${ofile}T"
83510 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83511 $RM "$cfgfile"
83513 cat <<_LT_EOF >> "$cfgfile"
83514 #! $SHELL
83516 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83517 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83518 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83519 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83521 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83522 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83523 # Written by Gordon Matzigkeit, 1996
83525 # This file is part of GNU Libtool.
83527 # GNU Libtool is free software; you can redistribute it and/or
83528 # modify it under the terms of the GNU General Public License as
83529 # published by the Free Software Foundation; either version 2 of
83530 # the License, or (at your option) any later version.
83532 # As a special exception to the GNU General Public License,
83533 # if you distribute this file as part of a program or library that
83534 # is built using GNU Libtool, you may include this file under the
83535 # same distribution terms that you use for the rest of that program.
83537 # GNU Libtool is distributed in the hope that it will be useful,
83538 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83539 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83540 # GNU General Public License for more details.
83542 # You should have received a copy of the GNU General Public License
83543 # along with GNU Libtool; see the file COPYING. If not, a copy
83544 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83545 # obtained by writing to the Free Software Foundation, Inc.,
83546 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83549 # The names of the tagged configurations supported by this script.
83550 available_tags="CXX "
83552 # ### BEGIN LIBTOOL CONFIG
83554 # Which release of libtool.m4 was used?
83555 macro_version=$macro_version
83556 macro_revision=$macro_revision
83558 # Whether or not to build shared libraries.
83559 build_libtool_libs=$enable_shared
83561 # Whether or not to build static libraries.
83562 build_old_libs=$enable_static
83564 # What type of objects to build.
83565 pic_mode=$pic_mode
83567 # Whether or not to optimize for fast installation.
83568 fast_install=$enable_fast_install
83570 # Shell to use when invoking shell scripts.
83571 SHELL=$lt_SHELL
83573 # An echo program that protects backslashes.
83574 ECHO=$lt_ECHO
83576 # The host system.
83577 host_alias=$host_alias
83578 host=$host
83579 host_os=$host_os
83581 # The build system.
83582 build_alias=$build_alias
83583 build=$build
83584 build_os=$build_os
83586 # A sed program that does not truncate output.
83587 SED=$lt_SED
83589 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83590 Xsed="\$SED -e 1s/^X//"
83592 # A grep program that handles long lines.
83593 GREP=$lt_GREP
83595 # An ERE matcher.
83596 EGREP=$lt_EGREP
83598 # A literal string matcher.
83599 FGREP=$lt_FGREP
83601 # A BSD- or MS-compatible name lister.
83602 NM=$lt_NM
83604 # Whether we need soft or hard links.
83605 LN_S=$lt_LN_S
83607 # What is the maximum length of a command?
83608 max_cmd_len=$max_cmd_len
83610 # Object file suffix (normally "o").
83611 objext=$ac_objext
83613 # Executable file suffix (normally "").
83614 exeext=$exeext
83616 # whether the shell understands "unset".
83617 lt_unset=$lt_unset
83619 # turn spaces into newlines.
83620 SP2NL=$lt_lt_SP2NL
83622 # turn newlines into spaces.
83623 NL2SP=$lt_lt_NL2SP
83625 # An object symbol dumper.
83626 OBJDUMP=$lt_OBJDUMP
83628 # Method to check whether dependent libraries are shared objects.
83629 deplibs_check_method=$lt_deplibs_check_method
83631 # Command to use when deplibs_check_method == "file_magic".
83632 file_magic_cmd=$lt_file_magic_cmd
83634 # The archiver.
83635 AR=$lt_AR
83636 AR_FLAGS=$lt_AR_FLAGS
83638 # A symbol stripping program.
83639 STRIP=$lt_STRIP
83641 # Commands used to install an old-style archive.
83642 RANLIB=$lt_RANLIB
83643 old_postinstall_cmds=$lt_old_postinstall_cmds
83644 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83646 # Whether to use a lock for old archive extraction.
83647 lock_old_archive_extraction=$lock_old_archive_extraction
83649 # A C compiler.
83650 LTCC=$lt_CC
83652 # LTCC compiler flags.
83653 LTCFLAGS=$lt_CFLAGS
83655 # Take the output of nm and produce a listing of raw symbols and C names.
83656 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83658 # Transform the output of nm in a proper C declaration.
83659 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83661 # Transform the output of nm in a C name address pair.
83662 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83664 # Transform the output of nm in a C name address pair when lib prefix is needed.
83665 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83667 # The name of the directory that contains temporary libtool files.
83668 objdir=$objdir
83670 # Used to examine libraries when file_magic_cmd begins with "file".
83671 MAGIC_CMD=$MAGIC_CMD
83673 # Must we lock files when doing compilation?
83674 need_locks=$lt_need_locks
83676 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83677 DSYMUTIL=$lt_DSYMUTIL
83679 # Tool to change global to local symbols on Mac OS X.
83680 NMEDIT=$lt_NMEDIT
83682 # Tool to manipulate fat objects and archives on Mac OS X.
83683 LIPO=$lt_LIPO
83685 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83686 OTOOL=$lt_OTOOL
83688 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83689 OTOOL64=$lt_OTOOL64
83691 # Old archive suffix (normally "a").
83692 libext=$libext
83694 # Shared library suffix (normally ".so").
83695 shrext_cmds=$lt_shrext_cmds
83697 # The commands to extract the exported symbol list from a shared archive.
83698 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83700 # Variables whose values should be saved in libtool wrapper scripts and
83701 # restored at link time.
83702 variables_saved_for_relink=$lt_variables_saved_for_relink
83704 # Do we need the "lib" prefix for modules?
83705 need_lib_prefix=$need_lib_prefix
83707 # Do we need a version for libraries?
83708 need_version=$need_version
83710 # Library versioning type.
83711 version_type=$version_type
83713 # Shared library runtime path variable.
83714 runpath_var=$runpath_var
83716 # Shared library path variable.
83717 shlibpath_var=$shlibpath_var
83719 # Is shlibpath searched before the hard-coded library search path?
83720 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83722 # Format of library name prefix.
83723 libname_spec=$lt_libname_spec
83725 # List of archive names. First name is the real one, the rest are links.
83726 # The last name is the one that the linker finds with -lNAME
83727 library_names_spec=$lt_library_names_spec
83729 # The coded name of the library, if different from the real name.
83730 soname_spec=$lt_soname_spec
83732 # Permission mode override for installation of shared libraries.
83733 install_override_mode=$lt_install_override_mode
83735 # Command to use after installation of a shared archive.
83736 postinstall_cmds=$lt_postinstall_cmds
83738 # Command to use after uninstallation of a shared archive.
83739 postuninstall_cmds=$lt_postuninstall_cmds
83741 # Commands used to finish a libtool library installation in a directory.
83742 finish_cmds=$lt_finish_cmds
83744 # As "finish_cmds", except a single script fragment to be evaled but
83745 # not shown.
83746 finish_eval=$lt_finish_eval
83748 # Whether we should hardcode library paths into libraries.
83749 hardcode_into_libs=$hardcode_into_libs
83751 # Compile-time system search path for libraries.
83752 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83754 # Run-time system search path for libraries.
83755 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83757 # Whether dlopen is supported.
83758 dlopen_support=$enable_dlopen
83760 # Whether dlopen of programs is supported.
83761 dlopen_self=$enable_dlopen_self
83763 # Whether dlopen of statically linked programs is supported.
83764 dlopen_self_static=$enable_dlopen_self_static
83766 # Commands to strip libraries.
83767 old_striplib=$lt_old_striplib
83768 striplib=$lt_striplib
83771 # The linker used to build libraries.
83772 LD=$lt_LD
83774 # How to create reloadable object files.
83775 reload_flag=$lt_reload_flag
83776 reload_cmds=$lt_reload_cmds
83778 # Commands used to build an old-style archive.
83779 old_archive_cmds=$lt_old_archive_cmds
83781 # A language specific compiler.
83782 CC=$lt_compiler
83784 # Is the compiler the GNU compiler?
83785 with_gcc=$GCC
83787 # Compiler flag to turn off builtin functions.
83788 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83790 # How to pass a linker flag through the compiler.
83791 wl=$lt_lt_prog_compiler_wl
83793 # Additional compiler flags for building library objects.
83794 pic_flag=$lt_lt_prog_compiler_pic
83796 # Compiler flag to prevent dynamic linking.
83797 link_static_flag=$lt_lt_prog_compiler_static
83799 # Does compiler simultaneously support -c and -o options?
83800 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83802 # Whether or not to add -lc for building shared libraries.
83803 build_libtool_need_lc=$archive_cmds_need_lc
83805 # Whether or not to disallow shared libs when runtime libs are static.
83806 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83808 # Compiler flag to allow reflexive dlopens.
83809 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83811 # Compiler flag to generate shared objects directly from archives.
83812 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83814 # Whether the compiler copes with passing no objects directly.
83815 compiler_needs_object=$lt_compiler_needs_object
83817 # Create an old-style archive from a shared archive.
83818 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83820 # Create a temporary old-style archive to link instead of a shared archive.
83821 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83823 # Commands used to build a shared archive.
83824 archive_cmds=$lt_archive_cmds
83825 archive_expsym_cmds=$lt_archive_expsym_cmds
83827 # Commands used to build a loadable module if different from building
83828 # a shared archive.
83829 module_cmds=$lt_module_cmds
83830 module_expsym_cmds=$lt_module_expsym_cmds
83832 # Whether we are building with GNU ld or not.
83833 with_gnu_ld=$lt_with_gnu_ld
83835 # Flag that allows shared libraries with undefined symbols to be built.
83836 allow_undefined_flag=$lt_allow_undefined_flag
83838 # Flag that enforces no undefined symbols.
83839 no_undefined_flag=$lt_no_undefined_flag
83841 # Flag to hardcode \$libdir into a binary during linking.
83842 # This must work even if \$libdir does not exist
83843 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83845 # If ld is used when linking, flag to hardcode \$libdir into a binary
83846 # during linking. This must work even if \$libdir does not exist.
83847 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83849 # Whether we need a single "-rpath" flag with a separated argument.
83850 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83852 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83853 # DIR into the resulting binary.
83854 hardcode_direct=$hardcode_direct
83856 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83857 # DIR into the resulting binary and the resulting library dependency is
83858 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83859 # library is relocated.
83860 hardcode_direct_absolute=$hardcode_direct_absolute
83862 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83863 # into the resulting binary.
83864 hardcode_minus_L=$hardcode_minus_L
83866 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83867 # into the resulting binary.
83868 hardcode_shlibpath_var=$hardcode_shlibpath_var
83870 # Set to "yes" if building a shared library automatically hardcodes DIR
83871 # into the library and all subsequent libraries and executables linked
83872 # against it.
83873 hardcode_automatic=$hardcode_automatic
83875 # Set to yes if linker adds runtime paths of dependent libraries
83876 # to runtime path list.
83877 inherit_rpath=$inherit_rpath
83879 # Whether libtool must link a program against all its dependency libraries.
83880 link_all_deplibs=$link_all_deplibs
83882 # Fix the shell variable \$srcfile for the compiler.
83883 fix_srcfile_path=$lt_fix_srcfile_path
83885 # Set to "yes" if exported symbols are required.
83886 always_export_symbols=$always_export_symbols
83888 # The commands to list exported symbols.
83889 export_symbols_cmds=$lt_export_symbols_cmds
83891 # Symbols that should not be listed in the preloaded symbols.
83892 exclude_expsyms=$lt_exclude_expsyms
83894 # Symbols that must always be exported.
83895 include_expsyms=$lt_include_expsyms
83897 # Commands necessary for linking programs (against libraries) with templates.
83898 prelink_cmds=$lt_prelink_cmds
83900 # Specify filename containing input files.
83901 file_list_spec=$lt_file_list_spec
83903 # How to hardcode a shared library path into an executable.
83904 hardcode_action=$hardcode_action
83906 # The directories searched by this compiler when creating a shared library.
83907 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83909 # Dependencies to place before and after the objects being linked to
83910 # create a shared library.
83911 predep_objects=$lt_predep_objects
83912 postdep_objects=$lt_postdep_objects
83913 predeps=$lt_predeps
83914 postdeps=$lt_postdeps
83916 # The library search path used internally by the compiler when linking
83917 # a shared library.
83918 compiler_lib_search_path=$lt_compiler_lib_search_path
83920 # ### END LIBTOOL CONFIG
83922 _LT_EOF
83924 case $host_os in
83925 aix3*)
83926 cat <<\_LT_EOF >> "$cfgfile"
83927 # AIX sometimes has problems with the GCC collect2 program. For some
83928 # reason, if we set the COLLECT_NAMES environment variable, the problems
83929 # vanish in a puff of smoke.
83930 if test "X${COLLECT_NAMES+set}" != Xset; then
83931 COLLECT_NAMES=
83932 export COLLECT_NAMES
83934 _LT_EOF
83936 esac
83939 ltmain="$ac_aux_dir/ltmain.sh"
83942 # We use sed instead of cat because bash on DJGPP gets confused if
83943 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83944 # text mode, it properly converts lines to CR/LF. This bash problem
83945 # is reportedly fixed, but why not run on old versions too?
83946 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83947 || (rm -f "$cfgfile"; exit 1)
83949 case $xsi_shell in
83950 yes)
83951 cat << \_LT_EOF >> "$cfgfile"
83953 # func_dirname file append nondir_replacement
83954 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83955 # otherwise set result to NONDIR_REPLACEMENT.
83956 func_dirname ()
83958 case ${1} in
83959 */*) func_dirname_result="${1%/*}${2}" ;;
83960 * ) func_dirname_result="${3}" ;;
83961 esac
83964 # func_basename file
83965 func_basename ()
83967 func_basename_result="${1##*/}"
83970 # func_dirname_and_basename file append nondir_replacement
83971 # perform func_basename and func_dirname in a single function
83972 # call:
83973 # dirname: Compute the dirname of FILE. If nonempty,
83974 # add APPEND to the result, otherwise set result
83975 # to NONDIR_REPLACEMENT.
83976 # value returned in "$func_dirname_result"
83977 # basename: Compute filename of FILE.
83978 # value retuned in "$func_basename_result"
83979 # Implementation must be kept synchronized with func_dirname
83980 # and func_basename. For efficiency, we do not delegate to
83981 # those functions but instead duplicate the functionality here.
83982 func_dirname_and_basename ()
83984 case ${1} in
83985 */*) func_dirname_result="${1%/*}${2}" ;;
83986 * ) func_dirname_result="${3}" ;;
83987 esac
83988 func_basename_result="${1##*/}"
83991 # func_stripname prefix suffix name
83992 # strip PREFIX and SUFFIX off of NAME.
83993 # PREFIX and SUFFIX must not contain globbing or regex special
83994 # characters, hashes, percent signs, but SUFFIX may contain a leading
83995 # dot (in which case that matches only a dot).
83996 func_stripname ()
83998 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83999 # positional parameters, so assign one to ordinary parameter first.
84000 func_stripname_result=${3}
84001 func_stripname_result=${func_stripname_result#"${1}"}
84002 func_stripname_result=${func_stripname_result%"${2}"}
84005 # func_opt_split
84006 func_opt_split ()
84008 func_opt_split_opt=${1%%=*}
84009 func_opt_split_arg=${1#*=}
84012 # func_lo2o object
84013 func_lo2o ()
84015 case ${1} in
84016 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84017 *) func_lo2o_result=${1} ;;
84018 esac
84021 # func_xform libobj-or-source
84022 func_xform ()
84024 func_xform_result=${1%.*}.lo
84027 # func_arith arithmetic-term...
84028 func_arith ()
84030 func_arith_result=$(( $* ))
84033 # func_len string
84034 # STRING may not start with a hyphen.
84035 func_len ()
84037 func_len_result=${#1}
84040 _LT_EOF
84042 *) # Bourne compatible functions.
84043 cat << \_LT_EOF >> "$cfgfile"
84045 # func_dirname file append nondir_replacement
84046 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84047 # otherwise set result to NONDIR_REPLACEMENT.
84048 func_dirname ()
84050 # Extract subdirectory from the argument.
84051 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84052 if test "X$func_dirname_result" = "X${1}"; then
84053 func_dirname_result="${3}"
84054 else
84055 func_dirname_result="$func_dirname_result${2}"
84059 # func_basename file
84060 func_basename ()
84062 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84066 # func_stripname prefix suffix name
84067 # strip PREFIX and SUFFIX off of NAME.
84068 # PREFIX and SUFFIX must not contain globbing or regex special
84069 # characters, hashes, percent signs, but SUFFIX may contain a leading
84070 # dot (in which case that matches only a dot).
84071 # func_strip_suffix prefix name
84072 func_stripname ()
84074 case ${2} in
84075 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84076 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84077 esac
84080 # sed scripts:
84081 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84082 my_sed_long_arg='1s/^-[^=]*=//'
84084 # func_opt_split
84085 func_opt_split ()
84087 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84088 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84091 # func_lo2o object
84092 func_lo2o ()
84094 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84097 # func_xform libobj-or-source
84098 func_xform ()
84100 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84103 # func_arith arithmetic-term...
84104 func_arith ()
84106 func_arith_result=`expr "$@"`
84109 # func_len string
84110 # STRING may not start with a hyphen.
84111 func_len ()
84113 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84116 _LT_EOF
84117 esac
84119 case $lt_shell_append in
84120 yes)
84121 cat << \_LT_EOF >> "$cfgfile"
84123 # func_append var value
84124 # Append VALUE to the end of shell variable VAR.
84125 func_append ()
84127 eval "$1+=\$2"
84129 _LT_EOF
84132 cat << \_LT_EOF >> "$cfgfile"
84134 # func_append var value
84135 # Append VALUE to the end of shell variable VAR.
84136 func_append ()
84138 eval "$1=\$$1\$2"
84141 _LT_EOF
84143 esac
84146 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84147 || (rm -f "$cfgfile"; exit 1)
84149 mv -f "$cfgfile" "$ofile" ||
84150 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84151 chmod +x "$ofile"
84154 cat <<_LT_EOF >> "$ofile"
84156 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84158 # The linker used to build libraries.
84159 LD=$lt_LD_CXX
84161 # How to create reloadable object files.
84162 reload_flag=$lt_reload_flag_CXX
84163 reload_cmds=$lt_reload_cmds_CXX
84165 # Commands used to build an old-style archive.
84166 old_archive_cmds=$lt_old_archive_cmds_CXX
84168 # A language specific compiler.
84169 CC=$lt_compiler_CXX
84171 # Is the compiler the GNU compiler?
84172 with_gcc=$GCC_CXX
84174 # Compiler flag to turn off builtin functions.
84175 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84177 # How to pass a linker flag through the compiler.
84178 wl=$lt_lt_prog_compiler_wl_CXX
84180 # Additional compiler flags for building library objects.
84181 pic_flag=$lt_lt_prog_compiler_pic_CXX
84183 # Compiler flag to prevent dynamic linking.
84184 link_static_flag=$lt_lt_prog_compiler_static_CXX
84186 # Does compiler simultaneously support -c and -o options?
84187 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84189 # Whether or not to add -lc for building shared libraries.
84190 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84192 # Whether or not to disallow shared libs when runtime libs are static.
84193 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84195 # Compiler flag to allow reflexive dlopens.
84196 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84198 # Compiler flag to generate shared objects directly from archives.
84199 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84201 # Whether the compiler copes with passing no objects directly.
84202 compiler_needs_object=$lt_compiler_needs_object_CXX
84204 # Create an old-style archive from a shared archive.
84205 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84207 # Create a temporary old-style archive to link instead of a shared archive.
84208 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84210 # Commands used to build a shared archive.
84211 archive_cmds=$lt_archive_cmds_CXX
84212 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84214 # Commands used to build a loadable module if different from building
84215 # a shared archive.
84216 module_cmds=$lt_module_cmds_CXX
84217 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84219 # Whether we are building with GNU ld or not.
84220 with_gnu_ld=$lt_with_gnu_ld_CXX
84222 # Flag that allows shared libraries with undefined symbols to be built.
84223 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84225 # Flag that enforces no undefined symbols.
84226 no_undefined_flag=$lt_no_undefined_flag_CXX
84228 # Flag to hardcode \$libdir into a binary during linking.
84229 # This must work even if \$libdir does not exist
84230 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84232 # If ld is used when linking, flag to hardcode \$libdir into a binary
84233 # during linking. This must work even if \$libdir does not exist.
84234 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84236 # Whether we need a single "-rpath" flag with a separated argument.
84237 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84239 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84240 # DIR into the resulting binary.
84241 hardcode_direct=$hardcode_direct_CXX
84243 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84244 # DIR into the resulting binary and the resulting library dependency is
84245 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84246 # library is relocated.
84247 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84249 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84250 # into the resulting binary.
84251 hardcode_minus_L=$hardcode_minus_L_CXX
84253 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84254 # into the resulting binary.
84255 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84257 # Set to "yes" if building a shared library automatically hardcodes DIR
84258 # into the library and all subsequent libraries and executables linked
84259 # against it.
84260 hardcode_automatic=$hardcode_automatic_CXX
84262 # Set to yes if linker adds runtime paths of dependent libraries
84263 # to runtime path list.
84264 inherit_rpath=$inherit_rpath_CXX
84266 # Whether libtool must link a program against all its dependency libraries.
84267 link_all_deplibs=$link_all_deplibs_CXX
84269 # Fix the shell variable \$srcfile for the compiler.
84270 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84272 # Set to "yes" if exported symbols are required.
84273 always_export_symbols=$always_export_symbols_CXX
84275 # The commands to list exported symbols.
84276 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84278 # Symbols that should not be listed in the preloaded symbols.
84279 exclude_expsyms=$lt_exclude_expsyms_CXX
84281 # Symbols that must always be exported.
84282 include_expsyms=$lt_include_expsyms_CXX
84284 # Commands necessary for linking programs (against libraries) with templates.
84285 prelink_cmds=$lt_prelink_cmds_CXX
84287 # Specify filename containing input files.
84288 file_list_spec=$lt_file_list_spec_CXX
84290 # How to hardcode a shared library path into an executable.
84291 hardcode_action=$hardcode_action_CXX
84293 # The directories searched by this compiler when creating a shared library.
84294 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84296 # Dependencies to place before and after the objects being linked to
84297 # create a shared library.
84298 predep_objects=$lt_predep_objects_CXX
84299 postdep_objects=$lt_postdep_objects_CXX
84300 predeps=$lt_predeps_CXX
84301 postdeps=$lt_postdeps_CXX
84303 # The library search path used internally by the compiler when linking
84304 # a shared library.
84305 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84307 # ### END LIBTOOL TAG CONFIG: CXX
84308 _LT_EOF
84311 "include/gstdint.h":C)
84312 if test "$GCC" = yes; then
84313 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84314 else
84315 echo "/* generated for $CC */" > tmp-stdint.h
84318 sed 's/^ *//' >> tmp-stdint.h <<EOF
84320 #ifndef GCC_GENERATED_STDINT_H
84321 #define GCC_GENERATED_STDINT_H 1
84323 #include <sys/types.h>
84326 if test "$acx_cv_header_stdint" != stdint.h; then
84327 echo "#include <stddef.h>" >> tmp-stdint.h
84329 if test "$acx_cv_header_stdint" != stddef.h; then
84330 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84333 sed 's/^ *//' >> tmp-stdint.h <<EOF
84334 /* glibc uses these symbols as guards to prevent redefinitions. */
84335 #ifdef __int8_t_defined
84336 #define _INT8_T
84337 #define _INT16_T
84338 #define _INT32_T
84339 #endif
84340 #ifdef __uint32_t_defined
84341 #define _UINT32_T
84342 #endif
84346 # ----------------- done header, emit basic int types -------------
84347 if test "$acx_cv_header_stdint" = stddef.h; then
84348 sed 's/^ *//' >> tmp-stdint.h <<EOF
84350 #ifndef _UINT8_T
84351 #define _UINT8_T
84352 #ifndef __uint8_t_defined
84353 #define __uint8_t_defined
84354 #ifndef uint8_t
84355 typedef unsigned $acx_cv_type_int8_t uint8_t;
84356 #endif
84357 #endif
84358 #endif
84360 #ifndef _UINT16_T
84361 #define _UINT16_T
84362 #ifndef __uint16_t_defined
84363 #define __uint16_t_defined
84364 #ifndef uint16_t
84365 typedef unsigned $acx_cv_type_int16_t uint16_t;
84366 #endif
84367 #endif
84368 #endif
84370 #ifndef _UINT32_T
84371 #define _UINT32_T
84372 #ifndef __uint32_t_defined
84373 #define __uint32_t_defined
84374 #ifndef uint32_t
84375 typedef unsigned $acx_cv_type_int32_t uint32_t;
84376 #endif
84377 #endif
84378 #endif
84380 #ifndef _INT8_T
84381 #define _INT8_T
84382 #ifndef __int8_t_defined
84383 #define __int8_t_defined
84384 #ifndef int8_t
84385 typedef $acx_cv_type_int8_t int8_t;
84386 #endif
84387 #endif
84388 #endif
84390 #ifndef _INT16_T
84391 #define _INT16_T
84392 #ifndef __int16_t_defined
84393 #define __int16_t_defined
84394 #ifndef int16_t
84395 typedef $acx_cv_type_int16_t int16_t;
84396 #endif
84397 #endif
84398 #endif
84400 #ifndef _INT32_T
84401 #define _INT32_T
84402 #ifndef __int32_t_defined
84403 #define __int32_t_defined
84404 #ifndef int32_t
84405 typedef $acx_cv_type_int32_t int32_t;
84406 #endif
84407 #endif
84408 #endif
84410 elif test "$ac_cv_type_u_int32_t" = yes; then
84411 sed 's/^ *//' >> tmp-stdint.h <<EOF
84413 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84414 #ifndef _INT8_T
84415 #define _INT8_T
84416 #endif
84417 #ifndef _INT16_T
84418 #define _INT16_T
84419 #endif
84420 #ifndef _INT32_T
84421 #define _INT32_T
84422 #endif
84424 #ifndef _UINT8_T
84425 #define _UINT8_T
84426 #ifndef __uint8_t_defined
84427 #define __uint8_t_defined
84428 #ifndef uint8_t
84429 typedef u_int8_t uint8_t;
84430 #endif
84431 #endif
84432 #endif
84434 #ifndef _UINT16_T
84435 #define _UINT16_T
84436 #ifndef __uint16_t_defined
84437 #define __uint16_t_defined
84438 #ifndef uint16_t
84439 typedef u_int16_t uint16_t;
84440 #endif
84441 #endif
84442 #endif
84444 #ifndef _UINT32_T
84445 #define _UINT32_T
84446 #ifndef __uint32_t_defined
84447 #define __uint32_t_defined
84448 #ifndef uint32_t
84449 typedef u_int32_t uint32_t;
84450 #endif
84451 #endif
84452 #endif
84454 else
84455 sed 's/^ *//' >> tmp-stdint.h <<EOF
84457 /* Some systems have guard macros to prevent redefinitions, define them. */
84458 #ifndef _INT8_T
84459 #define _INT8_T
84460 #endif
84461 #ifndef _INT16_T
84462 #define _INT16_T
84463 #endif
84464 #ifndef _INT32_T
84465 #define _INT32_T
84466 #endif
84467 #ifndef _UINT8_T
84468 #define _UINT8_T
84469 #endif
84470 #ifndef _UINT16_T
84471 #define _UINT16_T
84472 #endif
84473 #ifndef _UINT32_T
84474 #define _UINT32_T
84475 #endif
84479 # ------------- done basic int types, emit int64_t types ------------
84480 if test "$ac_cv_type_uint64_t" = yes; then
84481 sed 's/^ *//' >> tmp-stdint.h <<EOF
84483 /* system headers have good uint64_t and int64_t */
84484 #ifndef _INT64_T
84485 #define _INT64_T
84486 #endif
84487 #ifndef _UINT64_T
84488 #define _UINT64_T
84489 #endif
84491 elif test "$ac_cv_type_u_int64_t" = yes; then
84492 sed 's/^ *//' >> tmp-stdint.h <<EOF
84494 /* system headers have an u_int64_t (and int64_t) */
84495 #ifndef _INT64_T
84496 #define _INT64_T
84497 #endif
84498 #ifndef _UINT64_T
84499 #define _UINT64_T
84500 #ifndef __uint64_t_defined
84501 #define __uint64_t_defined
84502 #ifndef uint64_t
84503 typedef u_int64_t uint64_t;
84504 #endif
84505 #endif
84506 #endif
84508 elif test -n "$acx_cv_type_int64_t"; then
84509 sed 's/^ *//' >> tmp-stdint.h <<EOF
84511 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84512 #ifndef _INT64_T
84513 #define _INT64_T
84514 #ifndef int64_t
84515 typedef $acx_cv_type_int64_t int64_t;
84516 #endif
84517 #endif
84518 #ifndef _UINT64_T
84519 #define _UINT64_T
84520 #ifndef __uint64_t_defined
84521 #define __uint64_t_defined
84522 #ifndef uint64_t
84523 typedef unsigned $acx_cv_type_int64_t uint64_t;
84524 #endif
84525 #endif
84526 #endif
84528 else
84529 sed 's/^ *//' >> tmp-stdint.h <<EOF
84531 /* some common heuristics for int64_t, using compiler-specific tests */
84532 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84533 #ifndef _INT64_T
84534 #define _INT64_T
84535 #ifndef __int64_t_defined
84536 #ifndef int64_t
84537 typedef long long int64_t;
84538 #endif
84539 #endif
84540 #endif
84541 #ifndef _UINT64_T
84542 #define _UINT64_T
84543 #ifndef uint64_t
84544 typedef unsigned long long uint64_t;
84545 #endif
84546 #endif
84548 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84549 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84550 does not implement __extension__. But that compiler doesn't define
84551 __GNUC_MINOR__. */
84552 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84553 # define __extension__
84554 # endif
84556 # ifndef _INT64_T
84557 # define _INT64_T
84558 # ifndef int64_t
84559 __extension__ typedef long long int64_t;
84560 # endif
84561 # endif
84562 # ifndef _UINT64_T
84563 # define _UINT64_T
84564 # ifndef uint64_t
84565 __extension__ typedef unsigned long long uint64_t;
84566 # endif
84567 # endif
84569 #elif !defined __STRICT_ANSI__
84570 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84572 # ifndef _INT64_T
84573 # define _INT64_T
84574 # ifndef int64_t
84575 typedef __int64 int64_t;
84576 # endif
84577 # endif
84578 # ifndef _UINT64_T
84579 # define _UINT64_T
84580 # ifndef uint64_t
84581 typedef unsigned __int64 uint64_t;
84582 # endif
84583 # endif
84584 # endif /* compiler */
84586 #endif /* ANSI version */
84590 # ------------- done int64_t types, emit intptr types ------------
84591 if test "$ac_cv_type_uintptr_t" != yes; then
84592 sed 's/^ *//' >> tmp-stdint.h <<EOF
84594 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84595 #ifndef __uintptr_t_defined
84596 #ifndef uintptr_t
84597 typedef u$acx_cv_type_intptr_t uintptr_t;
84598 #endif
84599 #endif
84600 #ifndef __intptr_t_defined
84601 #ifndef intptr_t
84602 typedef $acx_cv_type_intptr_t intptr_t;
84603 #endif
84604 #endif
84608 # ------------- done intptr types, emit int_least types ------------
84609 if test "$ac_cv_type_int_least32_t" != yes; then
84610 sed 's/^ *//' >> tmp-stdint.h <<EOF
84612 /* Define int_least types */
84613 typedef int8_t int_least8_t;
84614 typedef int16_t int_least16_t;
84615 typedef int32_t int_least32_t;
84616 #ifdef _INT64_T
84617 typedef int64_t int_least64_t;
84618 #endif
84620 typedef uint8_t uint_least8_t;
84621 typedef uint16_t uint_least16_t;
84622 typedef uint32_t uint_least32_t;
84623 #ifdef _UINT64_T
84624 typedef uint64_t uint_least64_t;
84625 #endif
84629 # ------------- done intptr types, emit int_fast types ------------
84630 if test "$ac_cv_type_int_fast32_t" != yes; then
84631 sed 's/^ *//' >> tmp-stdint.h <<EOF
84633 /* Define int_fast types. short is often slow */
84634 typedef int8_t int_fast8_t;
84635 typedef int int_fast16_t;
84636 typedef int32_t int_fast32_t;
84637 #ifdef _INT64_T
84638 typedef int64_t int_fast64_t;
84639 #endif
84641 typedef uint8_t uint_fast8_t;
84642 typedef unsigned int uint_fast16_t;
84643 typedef uint32_t uint_fast32_t;
84644 #ifdef _UINT64_T
84645 typedef uint64_t uint_fast64_t;
84646 #endif
84650 if test "$ac_cv_type_uintmax_t" != yes; then
84651 sed 's/^ *//' >> tmp-stdint.h <<EOF
84653 /* Define intmax based on what we found */
84654 #ifndef intmax_t
84655 #ifdef _INT64_T
84656 typedef int64_t intmax_t;
84657 #else
84658 typedef long intmax_t;
84659 #endif
84660 #endif
84661 #ifndef uintmax_t
84662 #ifdef _UINT64_T
84663 typedef uint64_t uintmax_t;
84664 #else
84665 typedef unsigned long uintmax_t;
84666 #endif
84667 #endif
84671 sed 's/^ *//' >> tmp-stdint.h <<EOF
84673 #endif /* GCC_GENERATED_STDINT_H */
84676 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84677 rm -f tmp-stdint.h
84678 else
84679 mv -f tmp-stdint.h include/gstdint.h
84683 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84684 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84685 "include/Makefile":F) cat > vpsed$$ << \_EOF
84686 s!`test -f '$<' || echo '$(srcdir)/'`!!
84687 _EOF
84688 sed -f vpsed$$ $ac_file > tmp$$
84689 mv tmp$$ $ac_file
84690 rm vpsed$$
84691 echo 'MULTISUBDIR =' >> $ac_file
84692 ml_norecursion=yes
84693 . ${multi_basedir}/config-ml.in
84694 { ml_norecursion=; unset ml_norecursion;}
84696 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84697 s!`test -f '$<' || echo '$(srcdir)/'`!!
84698 _EOF
84699 sed -f vpsed$$ $ac_file > tmp$$
84700 mv tmp$$ $ac_file
84701 rm vpsed$$
84702 echo 'MULTISUBDIR =' >> $ac_file
84703 ml_norecursion=yes
84704 . ${multi_basedir}/config-ml.in
84705 { ml_norecursion=; unset ml_norecursion;}
84707 "src/Makefile":F) cat > vpsed$$ << \_EOF
84708 s!`test -f '$<' || echo '$(srcdir)/'`!!
84709 _EOF
84710 sed -f vpsed$$ $ac_file > tmp$$
84711 mv tmp$$ $ac_file
84712 rm vpsed$$
84713 echo 'MULTISUBDIR =' >> $ac_file
84714 ml_norecursion=yes
84715 . ${multi_basedir}/config-ml.in
84716 { ml_norecursion=; unset ml_norecursion;}
84718 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84719 s!`test -f '$<' || echo '$(srcdir)/'`!!
84720 _EOF
84721 sed -f vpsed$$ $ac_file > tmp$$
84722 mv tmp$$ $ac_file
84723 rm vpsed$$
84724 echo 'MULTISUBDIR =' >> $ac_file
84725 ml_norecursion=yes
84726 . ${multi_basedir}/config-ml.in
84727 { ml_norecursion=; unset ml_norecursion;}
84729 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84730 s!`test -f '$<' || echo '$(srcdir)/'`!!
84731 _EOF
84732 sed -f vpsed$$ $ac_file > tmp$$
84733 mv tmp$$ $ac_file
84734 rm vpsed$$
84735 echo 'MULTISUBDIR =' >> $ac_file
84736 ml_norecursion=yes
84737 . ${multi_basedir}/config-ml.in
84738 { ml_norecursion=; unset ml_norecursion;}
84740 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84741 s!`test -f '$<' || echo '$(srcdir)/'`!!
84742 _EOF
84743 sed -f vpsed$$ $ac_file > tmp$$
84744 mv tmp$$ $ac_file
84745 rm vpsed$$
84746 echo 'MULTISUBDIR =' >> $ac_file
84747 ml_norecursion=yes
84748 . ${multi_basedir}/config-ml.in
84749 { ml_norecursion=; unset ml_norecursion;}
84751 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84752 s!`test -f '$<' || echo '$(srcdir)/'`!!
84753 _EOF
84754 sed -f vpsed$$ $ac_file > tmp$$
84755 mv tmp$$ $ac_file
84756 rm vpsed$$
84757 echo 'MULTISUBDIR =' >> $ac_file
84758 ml_norecursion=yes
84759 . ${multi_basedir}/config-ml.in
84760 { ml_norecursion=; unset ml_norecursion;}
84762 "po/Makefile":F) cat > vpsed$$ << \_EOF
84763 s!`test -f '$<' || echo '$(srcdir)/'`!!
84764 _EOF
84765 sed -f vpsed$$ $ac_file > tmp$$
84766 mv tmp$$ $ac_file
84767 rm vpsed$$
84768 echo 'MULTISUBDIR =' >> $ac_file
84769 ml_norecursion=yes
84770 . ${multi_basedir}/config-ml.in
84771 { ml_norecursion=; unset ml_norecursion;}
84773 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84774 s!`test -f '$<' || echo '$(srcdir)/'`!!
84775 _EOF
84776 sed -f vpsed$$ $ac_file > tmp$$
84777 mv tmp$$ $ac_file
84778 rm vpsed$$
84779 echo 'MULTISUBDIR =' >> $ac_file
84780 ml_norecursion=yes
84781 . ${multi_basedir}/config-ml.in
84782 { ml_norecursion=; unset ml_norecursion;}
84784 "python/Makefile":F) cat > vpsed$$ << \_EOF
84785 s!`test -f '$<' || echo '$(srcdir)/'`!!
84786 _EOF
84787 sed -f vpsed$$ $ac_file > tmp$$
84788 mv tmp$$ $ac_file
84789 rm vpsed$$
84790 echo 'MULTISUBDIR =' >> $ac_file
84791 ml_norecursion=yes
84792 . ${multi_basedir}/config-ml.in
84793 { ml_norecursion=; unset ml_norecursion;}
84795 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84797 esac
84798 done # for ac_tag
84801 as_fn_exit 0
84802 _ACEOF
84803 ac_clean_files=$ac_clean_files_save
84805 test $ac_write_fail = 0 ||
84806 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84809 # configure is writing to config.log, and then calls config.status.
84810 # config.status does its own redirection, appending to config.log.
84811 # Unfortunately, on DOS this fails, as config.log is still kept open
84812 # by configure, so config.status won't be able to write to it; its
84813 # output is simply discarded. So we exec the FD to /dev/null,
84814 # effectively closing config.log, so it can be properly (re)opened and
84815 # appended to by config.status. When coming back to configure, we
84816 # need to make the FD available again.
84817 if test "$no_create" != yes; then
84818 ac_cs_success=:
84819 ac_config_status_args=
84820 test "$silent" = yes &&
84821 ac_config_status_args="$ac_config_status_args --quiet"
84822 exec 5>/dev/null
84823 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84824 exec 5>>config.log
84825 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84826 # would make configure fail if this is the last instruction.
84827 $ac_cs_success || as_fn_exit $?
84829 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84831 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}