* gcc-interface/trans.c (gnat_gimplify_expr): Add 'type' variable.
[official-gcc.git] / libstdc++-v3 / configure
blob3f8ecf156222765eb2bd7b6f54255c93e60a443f
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 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_CXX11_ABI_FALSE
647 ENABLE_CXX11_ABI_TRUE
648 ENABLE_VISIBILITY_FALSE
649 ENABLE_VISIBILITY_TRUE
650 libtool_VERSION
651 ENABLE_SYMVERS_SUN_FALSE
652 ENABLE_SYMVERS_SUN_TRUE
653 ENABLE_SYMVERS_DARWIN_FALSE
654 ENABLE_SYMVERS_DARWIN_TRUE
655 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
656 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
657 ENABLE_SYMVERS_GNU_FALSE
658 ENABLE_SYMVERS_GNU_TRUE
659 ENABLE_SYMVERS_FALSE
660 ENABLE_SYMVERS_TRUE
661 port_specific_symbol_files
662 SYMVER_FILE
663 CXXFILT
664 LTLIBICONV
665 LIBICONV
666 OPT_LDFLAGS
667 SECTION_LDFLAGS
668 GLIBCXX_LIBS
669 ENABLE_VTABLE_VERIFY_FALSE
670 ENABLE_VTABLE_VERIFY_TRUE
671 VTV_CXXLINKFLAGS
672 VTV_PCH_CXXFLAGS
673 VTV_CXXFLAGS
674 ENABLE_WERROR_FALSE
675 ENABLE_WERROR_TRUE
676 ENABLE_PYTHONDIR_FALSE
677 ENABLE_PYTHONDIR_TRUE
678 python_mod_dir
679 ENABLE_EXTERN_TEMPLATE_FALSE
680 ENABLE_EXTERN_TEMPLATE_TRUE
681 EXTRA_CXX_FLAGS
682 GLIBCXX_BUILD_DEBUG_FALSE
683 GLIBCXX_BUILD_DEBUG_TRUE
684 DEBUG_FLAGS
685 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
686 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
687 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
688 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
689 GLIBCXX_C_HEADERS_C_STD_FALSE
690 GLIBCXX_C_HEADERS_C_STD_TRUE
691 GLIBCXX_C_HEADERS_C_FALSE
692 GLIBCXX_C_HEADERS_C_TRUE
693 C_INCLUDE_DIR
694 ALLOCATOR_NAME
695 ALLOCATOR_H
696 CLOCALE_INTERNAL_H
697 CLOCALE_CC
698 CTIME_CC
699 CTIME_H
700 CNUMERIC_CC
701 CMONEY_CC
702 CMESSAGES_CC
703 CCTYPE_CC
704 CCOLLATE_CC
705 CCODECVT_CC
706 CMESSAGES_H
707 CLOCALE_H
708 USE_NLS
709 glibcxx_localedir
710 glibcxx_POFILES
711 glibcxx_MOFILES
712 check_msgfmt
713 BASIC_FILE_CC
714 BASIC_FILE_H
715 CSTDIO_H
716 SECTION_FLAGS
717 WERROR
718 thread_header
719 glibcxx_PCHFLAGS
720 GLIBCXX_BUILD_PCH_FALSE
721 GLIBCXX_BUILD_PCH_TRUE
722 GLIBCXX_HOSTED_FALSE
723 GLIBCXX_HOSTED_TRUE
724 glibcxx_compiler_shared_flag
725 glibcxx_compiler_pic_flag
726 glibcxx_lt_pic_flag
727 enable_static
728 enable_shared
729 lt_host_flags
730 CXXCPP
731 OTOOL64
732 OTOOL
733 LIPO
734 NMEDIT
735 DSYMUTIL
736 OBJDUMP
738 ac_ct_DUMPBIN
739 DUMPBIN
741 FGREP
743 LIBTOOL
744 EGREP
745 GREP
747 MAINT
748 MAINTAINER_MODE_FALSE
749 MAINTAINER_MODE_TRUE
750 RANLIB
753 LN_S
754 toplevel_srcdir
755 toplevel_builddir
756 glibcxx_srcdir
757 glibcxx_builddir
758 ac_ct_CXX
759 CXXFLAGS
761 OBJEXT
762 EXEEXT
763 ac_ct_CC
764 CPPFLAGS
765 LDFLAGS
766 CFLAGS
768 am__untar
769 am__tar
770 AMTAR
771 am__leading_dot
772 SET_MAKE
774 mkdir_p
775 MKDIR_P
776 INSTALL_STRIP_PROGRAM
777 STRIP
778 install_sh
779 MAKEINFO
780 AUTOHEADER
781 AUTOMAKE
782 AUTOCONF
783 ACLOCAL
784 VERSION
785 PACKAGE
786 CYGPATH_W
787 am__isrc
788 INSTALL_DATA
789 INSTALL_SCRIPT
790 INSTALL_PROGRAM
791 target_os
792 target_vendor
793 target_cpu
794 target
795 host_os
796 host_vendor
797 host_cpu
798 host
799 build_os
800 build_vendor
801 build_cpu
802 build
803 multi_basedir
804 target_alias
805 host_alias
806 build_alias
807 LIBS
808 ECHO_T
809 ECHO_N
810 ECHO_C
811 DEFS
812 mandir
813 localedir
814 libdir
815 psdir
816 pdfdir
817 dvidir
818 htmldir
819 infodir
820 docdir
821 oldincludedir
822 includedir
823 localstatedir
824 sharedstatedir
825 sysconfdir
826 datadir
827 datarootdir
828 libexecdir
829 sbindir
830 bindir
831 program_transform_name
832 prefix
833 exec_prefix
834 PACKAGE_URL
835 PACKAGE_BUGREPORT
836 PACKAGE_STRING
837 PACKAGE_VERSION
838 PACKAGE_TARNAME
839 PACKAGE_NAME
840 PATH_SEPARATOR
841 SHELL'
842 ac_subst_files=''
843 ac_user_opts='
844 enable_option_checking
845 enable_multilib
846 with_target_subdir
847 with_cross_host
848 with_newlib
849 enable_maintainer_mode
850 enable_shared
851 enable_static
852 with_pic
853 enable_fast_install
854 with_gnu_ld
855 enable_libtool_lock
856 enable_hosted_libstdcxx
857 enable_libstdcxx_verbose
858 enable_sjlj_exceptions
859 enable_libstdcxx_pch
860 enable_cstdio
861 enable_clocale
862 enable_nls
863 enable_libstdcxx_allocator
864 enable_cheaders
865 enable_long_long
866 enable_wchar_t
867 enable_c99
868 enable_concept_checks
869 enable_libstdcxx_debug_flags
870 enable_libstdcxx_debug
871 enable_cxx_flags
872 enable_fully_dynamic_string
873 enable_extern_template
874 with_python_dir
875 enable_werror
876 enable_vtable_verify
877 enable_libstdcxx_time
878 enable_tls
879 enable_rpath
880 with_libiconv_prefix
881 with_system_libunwind
882 enable_linux_futex
883 enable_symvers
884 enable_libstdcxx_visibility
885 enable_libstdcxx_cxx11_abi
886 enable_libstdcxx_threads
887 with_gxx_include_dir
888 enable_version_specific_runtime_libs
890 ac_precious_vars='build_alias
891 host_alias
892 target_alias
894 CFLAGS
895 LDFLAGS
896 LIBS
897 CPPFLAGS
899 CXXFLAGS
902 CXXCPP
903 CXXFILT'
906 # Initialize some variables set by options.
907 ac_init_help=
908 ac_init_version=false
909 ac_unrecognized_opts=
910 ac_unrecognized_sep=
911 # The variables have the same names as the options, with
912 # dashes changed to underlines.
913 cache_file=/dev/null
914 exec_prefix=NONE
915 no_create=
916 no_recursion=
917 prefix=NONE
918 program_prefix=NONE
919 program_suffix=NONE
920 program_transform_name=s,x,x,
921 silent=
922 site=
923 srcdir=
924 verbose=
925 x_includes=NONE
926 x_libraries=NONE
928 # Installation directory options.
929 # These are left unexpanded so users can "make install exec_prefix=/foo"
930 # and all the variables that are supposed to be based on exec_prefix
931 # by default will actually change.
932 # Use braces instead of parens because sh, perl, etc. also accept them.
933 # (The list follows the same order as the GNU Coding Standards.)
934 bindir='${exec_prefix}/bin'
935 sbindir='${exec_prefix}/sbin'
936 libexecdir='${exec_prefix}/libexec'
937 datarootdir='${prefix}/share'
938 datadir='${datarootdir}'
939 sysconfdir='${prefix}/etc'
940 sharedstatedir='${prefix}/com'
941 localstatedir='${prefix}/var'
942 includedir='${prefix}/include'
943 oldincludedir='/usr/include'
944 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
945 infodir='${datarootdir}/info'
946 htmldir='${docdir}'
947 dvidir='${docdir}'
948 pdfdir='${docdir}'
949 psdir='${docdir}'
950 libdir='${exec_prefix}/lib'
951 localedir='${datarootdir}/locale'
952 mandir='${datarootdir}/man'
954 ac_prev=
955 ac_dashdash=
956 for ac_option
958 # If the previous option needs an argument, assign it.
959 if test -n "$ac_prev"; then
960 eval $ac_prev=\$ac_option
961 ac_prev=
962 continue
965 case $ac_option in
966 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
967 *) ac_optarg=yes ;;
968 esac
970 # Accept the important Cygnus configure options, so we can diagnose typos.
972 case $ac_dashdash$ac_option in
974 ac_dashdash=yes ;;
976 -bindir | --bindir | --bindi | --bind | --bin | --bi)
977 ac_prev=bindir ;;
978 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
979 bindir=$ac_optarg ;;
981 -build | --build | --buil | --bui | --bu)
982 ac_prev=build_alias ;;
983 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
984 build_alias=$ac_optarg ;;
986 -cache-file | --cache-file | --cache-fil | --cache-fi \
987 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
988 ac_prev=cache_file ;;
989 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
990 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
991 cache_file=$ac_optarg ;;
993 --config-cache | -C)
994 cache_file=config.cache ;;
996 -datadir | --datadir | --datadi | --datad)
997 ac_prev=datadir ;;
998 -datadir=* | --datadir=* | --datadi=* | --datad=*)
999 datadir=$ac_optarg ;;
1001 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1002 | --dataroo | --dataro | --datar)
1003 ac_prev=datarootdir ;;
1004 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1005 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1006 datarootdir=$ac_optarg ;;
1008 -disable-* | --disable-*)
1009 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012 as_fn_error "invalid feature name: $ac_useropt"
1013 ac_useropt_orig=$ac_useropt
1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1017 "enable_$ac_useropt"
1018 "*) ;;
1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1020 ac_unrecognized_sep=', ';;
1021 esac
1022 eval enable_$ac_useropt=no ;;
1024 -docdir | --docdir | --docdi | --doc | --do)
1025 ac_prev=docdir ;;
1026 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1027 docdir=$ac_optarg ;;
1029 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1030 ac_prev=dvidir ;;
1031 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1032 dvidir=$ac_optarg ;;
1034 -enable-* | --enable-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error "invalid feature name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1043 "enable_$ac_useropt"
1044 "*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval enable_$ac_useropt=\$ac_optarg ;;
1050 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1051 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1052 | --exec | --exe | --ex)
1053 ac_prev=exec_prefix ;;
1054 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1055 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1056 | --exec=* | --exe=* | --ex=*)
1057 exec_prefix=$ac_optarg ;;
1059 -gas | --gas | --ga | --g)
1060 # Obsolete; use --with-gas.
1061 with_gas=yes ;;
1063 -help | --help | --hel | --he | -h)
1064 ac_init_help=long ;;
1065 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1066 ac_init_help=recursive ;;
1067 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1068 ac_init_help=short ;;
1070 -host | --host | --hos | --ho)
1071 ac_prev=host_alias ;;
1072 -host=* | --host=* | --hos=* | --ho=*)
1073 host_alias=$ac_optarg ;;
1075 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1076 ac_prev=htmldir ;;
1077 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1078 | --ht=*)
1079 htmldir=$ac_optarg ;;
1081 -includedir | --includedir | --includedi | --included | --include \
1082 | --includ | --inclu | --incl | --inc)
1083 ac_prev=includedir ;;
1084 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1085 | --includ=* | --inclu=* | --incl=* | --inc=*)
1086 includedir=$ac_optarg ;;
1088 -infodir | --infodir | --infodi | --infod | --info | --inf)
1089 ac_prev=infodir ;;
1090 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1091 infodir=$ac_optarg ;;
1093 -libdir | --libdir | --libdi | --libd)
1094 ac_prev=libdir ;;
1095 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1096 libdir=$ac_optarg ;;
1098 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1099 | --libexe | --libex | --libe)
1100 ac_prev=libexecdir ;;
1101 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1102 | --libexe=* | --libex=* | --libe=*)
1103 libexecdir=$ac_optarg ;;
1105 -localedir | --localedir | --localedi | --localed | --locale)
1106 ac_prev=localedir ;;
1107 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1108 localedir=$ac_optarg ;;
1110 -localstatedir | --localstatedir | --localstatedi | --localstated \
1111 | --localstate | --localstat | --localsta | --localst | --locals)
1112 ac_prev=localstatedir ;;
1113 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1114 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1115 localstatedir=$ac_optarg ;;
1117 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1118 ac_prev=mandir ;;
1119 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1120 mandir=$ac_optarg ;;
1122 -nfp | --nfp | --nf)
1123 # Obsolete; use --without-fp.
1124 with_fp=no ;;
1126 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1127 | --no-cr | --no-c | -n)
1128 no_create=yes ;;
1130 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1131 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1132 no_recursion=yes ;;
1134 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1135 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1136 | --oldin | --oldi | --old | --ol | --o)
1137 ac_prev=oldincludedir ;;
1138 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1139 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1140 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1141 oldincludedir=$ac_optarg ;;
1143 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1144 ac_prev=prefix ;;
1145 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1146 prefix=$ac_optarg ;;
1148 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1149 | --program-pre | --program-pr | --program-p)
1150 ac_prev=program_prefix ;;
1151 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1152 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1153 program_prefix=$ac_optarg ;;
1155 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1156 | --program-suf | --program-su | --program-s)
1157 ac_prev=program_suffix ;;
1158 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1159 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1160 program_suffix=$ac_optarg ;;
1162 -program-transform-name | --program-transform-name \
1163 | --program-transform-nam | --program-transform-na \
1164 | --program-transform-n | --program-transform- \
1165 | --program-transform | --program-transfor \
1166 | --program-transfo | --program-transf \
1167 | --program-trans | --program-tran \
1168 | --progr-tra | --program-tr | --program-t)
1169 ac_prev=program_transform_name ;;
1170 -program-transform-name=* | --program-transform-name=* \
1171 | --program-transform-nam=* | --program-transform-na=* \
1172 | --program-transform-n=* | --program-transform-=* \
1173 | --program-transform=* | --program-transfor=* \
1174 | --program-transfo=* | --program-transf=* \
1175 | --program-trans=* | --program-tran=* \
1176 | --progr-tra=* | --program-tr=* | --program-t=*)
1177 program_transform_name=$ac_optarg ;;
1179 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1180 ac_prev=pdfdir ;;
1181 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1182 pdfdir=$ac_optarg ;;
1184 -psdir | --psdir | --psdi | --psd | --ps)
1185 ac_prev=psdir ;;
1186 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1187 psdir=$ac_optarg ;;
1189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1190 | -silent | --silent | --silen | --sile | --sil)
1191 silent=yes ;;
1193 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1194 ac_prev=sbindir ;;
1195 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1196 | --sbi=* | --sb=*)
1197 sbindir=$ac_optarg ;;
1199 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1200 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1201 | --sharedst | --shareds | --shared | --share | --shar \
1202 | --sha | --sh)
1203 ac_prev=sharedstatedir ;;
1204 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1205 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1206 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1207 | --sha=* | --sh=*)
1208 sharedstatedir=$ac_optarg ;;
1210 -site | --site | --sit)
1211 ac_prev=site ;;
1212 -site=* | --site=* | --sit=*)
1213 site=$ac_optarg ;;
1215 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1216 ac_prev=srcdir ;;
1217 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1218 srcdir=$ac_optarg ;;
1220 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1221 | --syscon | --sysco | --sysc | --sys | --sy)
1222 ac_prev=sysconfdir ;;
1223 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1224 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1225 sysconfdir=$ac_optarg ;;
1227 -target | --target | --targe | --targ | --tar | --ta | --t)
1228 ac_prev=target_alias ;;
1229 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1230 target_alias=$ac_optarg ;;
1232 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1233 verbose=yes ;;
1235 -version | --version | --versio | --versi | --vers | -V)
1236 ac_init_version=: ;;
1238 -with-* | --with-*)
1239 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1242 as_fn_error "invalid package name: $ac_useropt"
1243 ac_useropt_orig=$ac_useropt
1244 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1247 "with_$ac_useropt"
1248 "*) ;;
1249 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1250 ac_unrecognized_sep=', ';;
1251 esac
1252 eval with_$ac_useropt=\$ac_optarg ;;
1254 -without-* | --without-*)
1255 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1258 as_fn_error "invalid package name: $ac_useropt"
1259 ac_useropt_orig=$ac_useropt
1260 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261 case $ac_user_opts in
1263 "with_$ac_useropt"
1264 "*) ;;
1265 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1266 ac_unrecognized_sep=', ';;
1267 esac
1268 eval with_$ac_useropt=no ;;
1270 --x)
1271 # Obsolete; use --with-x.
1272 with_x=yes ;;
1274 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1275 | --x-incl | --x-inc | --x-in | --x-i)
1276 ac_prev=x_includes ;;
1277 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1278 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1279 x_includes=$ac_optarg ;;
1281 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1282 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1283 ac_prev=x_libraries ;;
1284 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1285 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1286 x_libraries=$ac_optarg ;;
1288 -*) as_fn_error "unrecognized option: \`$ac_option'
1289 Try \`$0 --help' for more information."
1292 *=*)
1293 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1294 # Reject names that are not valid shell variable names.
1295 case $ac_envvar in #(
1296 '' | [0-9]* | *[!_$as_cr_alnum]* )
1297 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1298 esac
1299 eval $ac_envvar=\$ac_optarg
1300 export $ac_envvar ;;
1303 # FIXME: should be removed in autoconf 3.0.
1304 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1305 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1306 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1307 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1310 esac
1311 done
1313 if test -n "$ac_prev"; then
1314 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1315 as_fn_error "missing argument to $ac_option"
1318 if test -n "$ac_unrecognized_opts"; then
1319 case $enable_option_checking in
1320 no) ;;
1321 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1322 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1323 esac
1326 # Check all directory arguments for consistency.
1327 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1328 datadir sysconfdir sharedstatedir localstatedir includedir \
1329 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1330 libdir localedir mandir
1332 eval ac_val=\$$ac_var
1333 # Remove trailing slashes.
1334 case $ac_val in
1335 */ )
1336 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1337 eval $ac_var=\$ac_val;;
1338 esac
1339 # Be sure to have absolute directory names.
1340 case $ac_val in
1341 [\\/$]* | ?:[\\/]* ) continue;;
1342 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1343 esac
1344 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1345 done
1347 # There might be people who depend on the old broken behavior: `$host'
1348 # used to hold the argument of --host etc.
1349 # FIXME: To remove some day.
1350 build=$build_alias
1351 host=$host_alias
1352 target=$target_alias
1354 # FIXME: To remove some day.
1355 if test "x$host_alias" != x; then
1356 if test "x$build_alias" = x; then
1357 cross_compiling=maybe
1358 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1359 If a cross compiler is detected then cross compile mode will be used." >&2
1360 elif test "x$build_alias" != "x$host_alias"; then
1361 cross_compiling=yes
1365 ac_tool_prefix=
1366 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1368 test "$silent" = yes && exec 6>/dev/null
1371 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1372 ac_ls_di=`ls -di .` &&
1373 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1374 as_fn_error "working directory cannot be determined"
1375 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1376 as_fn_error "pwd does not report name of working directory"
1379 # Find the source files, if location was not specified.
1380 if test -z "$srcdir"; then
1381 ac_srcdir_defaulted=yes
1382 # Try the directory containing this script, then the parent directory.
1383 ac_confdir=`$as_dirname -- "$as_myself" ||
1384 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1385 X"$as_myself" : 'X\(//\)[^/]' \| \
1386 X"$as_myself" : 'X\(//\)$' \| \
1387 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1388 $as_echo X"$as_myself" |
1389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1390 s//\1/
1393 /^X\(\/\/\)[^/].*/{
1394 s//\1/
1397 /^X\(\/\/\)$/{
1398 s//\1/
1401 /^X\(\/\).*/{
1402 s//\1/
1405 s/.*/./; q'`
1406 srcdir=$ac_confdir
1407 if test ! -r "$srcdir/$ac_unique_file"; then
1408 srcdir=..
1410 else
1411 ac_srcdir_defaulted=no
1413 if test ! -r "$srcdir/$ac_unique_file"; then
1414 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1415 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1417 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1418 ac_abs_confdir=`(
1419 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1420 pwd)`
1421 # When building in place, set srcdir=.
1422 if test "$ac_abs_confdir" = "$ac_pwd"; then
1423 srcdir=.
1425 # Remove unnecessary trailing slashes from srcdir.
1426 # Double slashes in file names in object file debugging info
1427 # mess up M-x gdb in Emacs.
1428 case $srcdir in
1429 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1430 esac
1431 for ac_var in $ac_precious_vars; do
1432 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1433 eval ac_env_${ac_var}_value=\$${ac_var}
1434 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1435 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1436 done
1439 # Report the --help message.
1441 if test "$ac_init_help" = "long"; then
1442 # Omit some internal or obsolete options to make the list less imposing.
1443 # This message is too long to be a string in the A/UX 3.1 sh.
1444 cat <<_ACEOF
1445 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1447 Usage: $0 [OPTION]... [VAR=VALUE]...
1449 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1450 VAR=VALUE. See below for descriptions of some of the useful variables.
1452 Defaults for the options are specified in brackets.
1454 Configuration:
1455 -h, --help display this help and exit
1456 --help=short display options specific to this package
1457 --help=recursive display the short help of all the included packages
1458 -V, --version display version information and exit
1459 -q, --quiet, --silent do not print \`checking...' messages
1460 --cache-file=FILE cache test results in FILE [disabled]
1461 -C, --config-cache alias for \`--cache-file=config.cache'
1462 -n, --no-create do not create output files
1463 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1465 Installation directories:
1466 --prefix=PREFIX install architecture-independent files in PREFIX
1467 [$ac_default_prefix]
1468 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1469 [PREFIX]
1471 By default, \`make install' will install all the files in
1472 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1473 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1474 for instance \`--prefix=\$HOME'.
1476 For better control, use the options below.
1478 Fine tuning of the installation directories:
1479 --bindir=DIR user executables [EPREFIX/bin]
1480 --sbindir=DIR system admin executables [EPREFIX/sbin]
1481 --libexecdir=DIR program executables [EPREFIX/libexec]
1482 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1483 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1484 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1485 --libdir=DIR object code libraries [EPREFIX/lib]
1486 --includedir=DIR C header files [PREFIX/include]
1487 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1488 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1489 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1490 --infodir=DIR info documentation [DATAROOTDIR/info]
1491 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1492 --mandir=DIR man documentation [DATAROOTDIR/man]
1493 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1494 --htmldir=DIR html documentation [DOCDIR]
1495 --dvidir=DIR dvi documentation [DOCDIR]
1496 --pdfdir=DIR pdf documentation [DOCDIR]
1497 --psdir=DIR ps documentation [DOCDIR]
1498 _ACEOF
1500 cat <<\_ACEOF
1502 Program names:
1503 --program-prefix=PREFIX prepend PREFIX to installed program names
1504 --program-suffix=SUFFIX append SUFFIX to installed program names
1505 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1507 System types:
1508 --build=BUILD configure for building on BUILD [guessed]
1509 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1510 --target=TARGET configure for building compilers for TARGET [HOST]
1511 _ACEOF
1514 if test -n "$ac_init_help"; then
1515 case $ac_init_help in
1516 short | recursive ) echo "Configuration of package-unused version-unused:";;
1517 esac
1518 cat <<\_ACEOF
1520 Optional Features:
1521 --disable-option-checking ignore unrecognized --enable/--with options
1522 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1523 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1524 --enable-multilib build many library versions (default)
1525 --enable-maintainer-mode enable make rules and dependencies not useful
1526 (and sometimes confusing) to the casual installer
1527 --enable-shared[=PKGS] build shared libraries [default=yes]
1528 --enable-static[=PKGS] build static libraries [default=yes]
1529 --enable-fast-install[=PKGS]
1530 optimize for fast installation [default=yes]
1531 --disable-libtool-lock avoid locking (might break parallel builds)
1532 --disable-hosted-libstdcxx
1533 only build freestanding C++ runtime support
1534 --disable-libstdcxx-verbose
1535 disable termination messages to standard error
1536 --enable-sjlj-exceptions
1537 force use of builtin_setjmp for exceptions
1538 [default=auto]
1539 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1540 [default=$is_hosted]
1541 --enable-cstdio[=PACKAGE]
1542 use target-specific I/O package [default=stdio]
1543 --enable-clocale[=MODEL]
1544 use MODEL for target locale package [default=auto]
1545 --enable-nls use Native Language Support (default)
1546 --enable-libstdcxx-allocator[=KIND]
1547 use KIND for target std::allocator base
1548 [default=auto]
1549 --enable-cheaders[=KIND]
1550 construct "C" headers for g++ [default=$c_model]
1551 --enable-long-long enable template specializations for 'long long'
1552 [default=yes]
1553 --enable-wchar_t enable template specializations for 'wchar_t'
1554 [default=yes]
1555 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1556 --enable-concept-checks use Boost-derived template checks [default=no]
1557 --enable-libstdcxx-debug-flags=FLAGS
1558 pass compiler FLAGS when building debug library
1559 [default="-gdwarf-4 -g3 -O0"]
1560 --enable-libstdcxx-debug
1561 build extra debug library [default=no]
1562 --enable-cxx-flags=FLAGS
1563 pass compiler FLAGS when building library [default=]
1564 --enable-fully-dynamic-string
1565 do not put empty strings in per-process static
1566 memory [default=no]
1567 --enable-extern-template
1568 enable extern template [default=yes]
1569 --enable-werror turns on -Werror [default=yes]
1570 --enable-vtable-verify enable vtable verify [default=no]
1571 --enable-libstdcxx-time[=KIND]
1572 use KIND for check type [default=auto]
1573 --enable-tls Use thread-local storage [default=yes]
1574 --disable-rpath do not hardcode runtime library paths
1575 --enable-linux-futex use the Linux futex system call [default=default]
1576 --enable-symvers[=STYLE]
1577 enables symbol versioning of the shared library
1578 [default=yes]
1579 --enable-libstdcxx-visibility
1580 enables visibility safe usage [default=yes]
1581 --disable-libstdcxx-cxx11-abi
1582 disable the C++11-conforming ABI
1583 --enable-libstdcxx-threads
1584 enable C++11 threads support [default=auto]
1585 --enable-version-specific-runtime-libs
1586 Specify that runtime libraries should be installed
1587 in a compiler-specific directory
1589 Optional Packages:
1590 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1591 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1592 --with-target-subdir=SUBDIR
1593 configuring in a subdirectory
1594 --with-cross-host=HOST configuring with a cross compiler
1595 --with-newlib assume newlib as a system C library
1596 --with-pic try to use only PIC/non-PIC objects [default=use
1597 both]
1598 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1599 --with-python-dir the location to install Python modules. This path is
1600 relative starting from the prefix.
1601 --with-gnu-ld assume the C compiler uses GNU ld default=no
1602 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1603 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1604 --with-system-libunwind use installed libunwind
1605 --with-gxx-include-dir=DIR
1606 installation directory for include files
1608 Some influential environment variables:
1609 CC C compiler command
1610 CFLAGS C compiler flags
1611 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1612 nonstandard directory <lib dir>
1613 LIBS libraries to pass to the linker, e.g. -l<library>
1614 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1615 you have headers in a nonstandard directory <include dir>
1616 CXX C++ compiler command
1617 CXXFLAGS C++ compiler flags
1618 CPP C preprocessor
1619 CXXCPP C++ preprocessor
1620 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1621 `c++filt', `gc++filt' on PATH.
1623 Use these variables to override the choices made by `configure' or to help
1624 it to find libraries and programs with nonstandard names/locations.
1626 Report bugs to the package provider.
1627 _ACEOF
1628 ac_status=$?
1631 if test "$ac_init_help" = "recursive"; then
1632 # If there are subdirs, report their specific --help.
1633 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1634 test -d "$ac_dir" ||
1635 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1636 continue
1637 ac_builddir=.
1639 case "$ac_dir" in
1640 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1643 # A ".." for each directory in $ac_dir_suffix.
1644 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1645 case $ac_top_builddir_sub in
1646 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1648 esac ;;
1649 esac
1650 ac_abs_top_builddir=$ac_pwd
1651 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1652 # for backward compatibility:
1653 ac_top_builddir=$ac_top_build_prefix
1655 case $srcdir in
1656 .) # We are building in place.
1657 ac_srcdir=.
1658 ac_top_srcdir=$ac_top_builddir_sub
1659 ac_abs_top_srcdir=$ac_pwd ;;
1660 [\\/]* | ?:[\\/]* ) # Absolute name.
1661 ac_srcdir=$srcdir$ac_dir_suffix;
1662 ac_top_srcdir=$srcdir
1663 ac_abs_top_srcdir=$srcdir ;;
1664 *) # Relative name.
1665 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1666 ac_top_srcdir=$ac_top_build_prefix$srcdir
1667 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1668 esac
1669 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1671 cd "$ac_dir" || { ac_status=$?; continue; }
1672 # Check for guested configure.
1673 if test -f "$ac_srcdir/configure.gnu"; then
1674 echo &&
1675 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1676 elif test -f "$ac_srcdir/configure"; then
1677 echo &&
1678 $SHELL "$ac_srcdir/configure" --help=recursive
1679 else
1680 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1681 fi || ac_status=$?
1682 cd "$ac_pwd" || { ac_status=$?; break; }
1683 done
1686 test -n "$ac_init_help" && exit $ac_status
1687 if $ac_init_version; then
1688 cat <<\_ACEOF
1689 package-unused configure version-unused
1690 generated by GNU Autoconf 2.64
1692 Copyright (C) 2009 Free Software Foundation, Inc.
1693 This configure script is free software; the Free Software Foundation
1694 gives unlimited permission to copy, distribute and modify it.
1695 _ACEOF
1696 exit
1699 ## ------------------------ ##
1700 ## Autoconf initialization. ##
1701 ## ------------------------ ##
1703 # ac_fn_c_try_compile LINENO
1704 # --------------------------
1705 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1706 ac_fn_c_try_compile ()
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 rm -f conftest.$ac_objext
1710 if { { ac_try="$ac_compile"
1711 case "(($ac_try" in
1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713 *) ac_try_echo=$ac_try;;
1714 esac
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_compile") 2>conftest.err
1718 ac_status=$?
1719 if test -s conftest.err; then
1720 grep -v '^ *+' conftest.err >conftest.er1
1721 cat conftest.er1 >&5
1722 mv -f conftest.er1 conftest.err
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && {
1726 test -z "$ac_c_werror_flag" ||
1727 test ! -s conftest.err
1728 } && test -s conftest.$ac_objext; then :
1729 ac_retval=0
1730 else
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1734 ac_retval=1
1736 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737 return $ac_retval
1739 } # ac_fn_c_try_compile
1741 # ac_fn_cxx_try_compile LINENO
1742 # ----------------------------
1743 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1744 ac_fn_cxx_try_compile ()
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 rm -f conftest.$ac_objext
1748 if { { ac_try="$ac_compile"
1749 case "(($ac_try" in
1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1751 *) ac_try_echo=$ac_try;;
1752 esac
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755 (eval "$ac_compile") 2>conftest.err
1756 ac_status=$?
1757 if test -s conftest.err; then
1758 grep -v '^ *+' conftest.err >conftest.er1
1759 cat conftest.er1 >&5
1760 mv -f conftest.er1 conftest.err
1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763 test $ac_status = 0; } && {
1764 test -z "$ac_cxx_werror_flag" ||
1765 test ! -s conftest.err
1766 } && test -s conftest.$ac_objext; then :
1767 ac_retval=0
1768 else
1769 $as_echo "$as_me: failed program was:" >&5
1770 sed 's/^/| /' conftest.$ac_ext >&5
1772 ac_retval=1
1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1775 return $ac_retval
1777 } # ac_fn_cxx_try_compile
1779 # ac_fn_c_try_cpp LINENO
1780 # ----------------------
1781 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1782 ac_fn_c_try_cpp ()
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 if { { ac_try="$ac_cpp conftest.$ac_ext"
1786 case "(($ac_try" in
1787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788 *) ac_try_echo=$ac_try;;
1789 esac
1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1793 ac_status=$?
1794 if test -s conftest.err; then
1795 grep -v '^ *+' conftest.err >conftest.er1
1796 cat conftest.er1 >&5
1797 mv -f conftest.er1 conftest.err
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; } >/dev/null && {
1801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1802 test ! -s conftest.err
1803 }; then :
1804 ac_retval=0
1805 else
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1809 ac_retval=1
1811 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812 return $ac_retval
1814 } # ac_fn_c_try_cpp
1816 # ac_fn_c_try_link LINENO
1817 # -----------------------
1818 # Try to link conftest.$ac_ext, and return whether this succeeded.
1819 ac_fn_c_try_link ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 rm -f conftest.$ac_objext conftest$ac_exeext
1823 if { { ac_try="$ac_link"
1824 case "(($ac_try" in
1825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1826 *) ac_try_echo=$ac_try;;
1827 esac
1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_link") 2>conftest.err
1831 ac_status=$?
1832 if test -s conftest.err; then
1833 grep -v '^ *+' conftest.err >conftest.er1
1834 cat conftest.er1 >&5
1835 mv -f conftest.er1 conftest.err
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } && {
1839 test -z "$ac_c_werror_flag" ||
1840 test ! -s conftest.err
1841 } && test -s conftest$ac_exeext && {
1842 test "$cross_compiling" = yes ||
1843 $as_test_x conftest$ac_exeext
1844 }; then :
1845 ac_retval=0
1846 else
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1850 ac_retval=1
1852 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1853 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1854 # interfere with the next link command; also delete a directory that is
1855 # left behind by Apple's compiler. We do this before executing the actions.
1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1858 return $ac_retval
1860 } # ac_fn_c_try_link
1862 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1863 # -------------------------------------------------------
1864 # Tests whether HEADER exists and can be compiled using the include files in
1865 # INCLUDES, setting the cache variable VAR accordingly.
1866 ac_fn_c_check_header_compile ()
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870 $as_echo_n "checking for $2... " >&6; }
1871 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1872 $as_echo_n "(cached) " >&6
1873 else
1874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1877 #include <$2>
1878 _ACEOF
1879 if ac_fn_c_try_compile "$LINENO"; then :
1880 eval "$3=yes"
1881 else
1882 eval "$3=no"
1884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1886 eval ac_res=\$$3
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1889 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1891 } # ac_fn_c_check_header_compile
1893 # ac_fn_c_try_run LINENO
1894 # ----------------------
1895 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1896 # that executables *can* be run.
1897 ac_fn_c_try_run ()
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 if { { ac_try="$ac_link"
1901 case "(($ac_try" in
1902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1903 *) ac_try_echo=$ac_try;;
1904 esac
1905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_link") 2>&5
1908 ac_status=$?
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1911 { { case "(($ac_try" in
1912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1913 *) ac_try_echo=$ac_try;;
1914 esac
1915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1916 $as_echo "$ac_try_echo"; } >&5
1917 (eval "$ac_try") 2>&5
1918 ac_status=$?
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; }; }; then :
1921 ac_retval=0
1922 else
1923 $as_echo "$as_me: program exited with status $ac_status" >&5
1924 $as_echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.$ac_ext >&5
1927 ac_retval=$ac_status
1929 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1930 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1931 return $ac_retval
1933 } # ac_fn_c_try_run
1935 # ac_fn_c_check_func LINENO FUNC VAR
1936 # ----------------------------------
1937 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1938 ac_fn_c_check_func ()
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942 $as_echo_n "checking for $2... " >&6; }
1943 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1944 $as_echo_n "(cached) " >&6
1945 else
1946 if test x$gcc_no_link = xyes; then
1947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1951 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1953 #define $2 innocuous_$2
1955 /* System header to define __stub macros and hopefully few prototypes,
1956 which can conflict with char $2 (); below.
1957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1958 <limits.h> exists even on freestanding compilers. */
1960 #ifdef __STDC__
1961 # include <limits.h>
1962 #else
1963 # include <assert.h>
1964 #endif
1966 #undef $2
1968 /* Override any GCC internal prototype to avoid an error.
1969 Use char because int might match the return type of a GCC
1970 builtin and then its argument prototype would still apply. */
1971 #ifdef __cplusplus
1972 extern "C"
1973 #endif
1974 char $2 ();
1975 /* The GNU C library defines this for functions which it implements
1976 to always fail with ENOSYS. Some functions are actually named
1977 something starting with __ and the normal name is an alias. */
1978 #if defined __stub_$2 || defined __stub___$2
1979 choke me
1980 #endif
1983 main ()
1985 return $2 ();
1987 return 0;
1989 _ACEOF
1990 if ac_fn_c_try_link "$LINENO"; then :
1991 eval "$3=yes"
1992 else
1993 eval "$3=no"
1995 rm -f core conftest.err conftest.$ac_objext \
1996 conftest$ac_exeext conftest.$ac_ext
1998 eval ac_res=\$$3
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2003 } # ac_fn_c_check_func
2005 # ac_fn_cxx_try_cpp LINENO
2006 # ------------------------
2007 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2008 ac_fn_cxx_try_cpp ()
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 if { { ac_try="$ac_cpp conftest.$ac_ext"
2012 case "(($ac_try" in
2013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2014 *) ac_try_echo=$ac_try;;
2015 esac
2016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2017 $as_echo "$ac_try_echo"; } >&5
2018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2019 ac_status=$?
2020 if test -s conftest.err; then
2021 grep -v '^ *+' conftest.err >conftest.er1
2022 cat conftest.er1 >&5
2023 mv -f conftest.er1 conftest.err
2025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2026 test $ac_status = 0; } >/dev/null && {
2027 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2028 test ! -s conftest.err
2029 }; then :
2030 ac_retval=0
2031 else
2032 $as_echo "$as_me: failed program was:" >&5
2033 sed 's/^/| /' conftest.$ac_ext >&5
2035 ac_retval=1
2037 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2038 return $ac_retval
2040 } # ac_fn_cxx_try_cpp
2042 # ac_fn_cxx_try_link LINENO
2043 # -------------------------
2044 # Try to link conftest.$ac_ext, and return whether this succeeded.
2045 ac_fn_cxx_try_link ()
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2048 rm -f conftest.$ac_objext conftest$ac_exeext
2049 if { { ac_try="$ac_link"
2050 case "(($ac_try" in
2051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2052 *) ac_try_echo=$ac_try;;
2053 esac
2054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2055 $as_echo "$ac_try_echo"; } >&5
2056 (eval "$ac_link") 2>conftest.err
2057 ac_status=$?
2058 if test -s conftest.err; then
2059 grep -v '^ *+' conftest.err >conftest.er1
2060 cat conftest.er1 >&5
2061 mv -f conftest.er1 conftest.err
2063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2064 test $ac_status = 0; } && {
2065 test -z "$ac_cxx_werror_flag" ||
2066 test ! -s conftest.err
2067 } && test -s conftest$ac_exeext && {
2068 test "$cross_compiling" = yes ||
2069 $as_test_x conftest$ac_exeext
2070 }; then :
2071 ac_retval=0
2072 else
2073 $as_echo "$as_me: failed program was:" >&5
2074 sed 's/^/| /' conftest.$ac_ext >&5
2076 ac_retval=1
2078 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2079 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2080 # interfere with the next link command; also delete a directory that is
2081 # left behind by Apple's compiler. We do this before executing the actions.
2082 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2083 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2084 return $ac_retval
2086 } # ac_fn_cxx_try_link
2088 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2089 # -------------------------------------------------------
2090 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2091 # the include files in INCLUDES and setting the cache variable VAR
2092 # accordingly.
2093 ac_fn_c_check_header_mongrel ()
2095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2096 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2098 $as_echo_n "checking for $2... " >&6; }
2099 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2100 $as_echo_n "(cached) " >&6
2102 eval ac_res=\$$3
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2104 $as_echo "$ac_res" >&6; }
2105 else
2106 # Is the header compilable?
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2108 $as_echo_n "checking $2 usability... " >&6; }
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2112 #include <$2>
2113 _ACEOF
2114 if ac_fn_c_try_compile "$LINENO"; then :
2115 ac_header_compiler=yes
2116 else
2117 ac_header_compiler=no
2119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2121 $as_echo "$ac_header_compiler" >&6; }
2123 # Is the header present?
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2125 $as_echo_n "checking $2 presence... " >&6; }
2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */
2128 #include <$2>
2129 _ACEOF
2130 if ac_fn_c_try_cpp "$LINENO"; then :
2131 ac_header_preproc=yes
2132 else
2133 ac_header_preproc=no
2135 rm -f conftest.err conftest.$ac_ext
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2137 $as_echo "$ac_header_preproc" >&6; }
2139 # So? What about this header?
2140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2141 yes:no: )
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2143 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2147 no:yes:* )
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2149 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2151 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2153 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2155 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2159 esac
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2161 $as_echo_n "checking for $2... " >&6; }
2162 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2163 $as_echo_n "(cached) " >&6
2164 else
2165 eval "$3=\$ac_header_compiler"
2167 eval ac_res=\$$3
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2169 $as_echo "$ac_res" >&6; }
2171 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2173 } # ac_fn_c_check_header_mongrel
2175 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2176 # ---------------------------------------------------------
2177 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2178 # the include files in INCLUDES and setting the cache variable VAR
2179 # accordingly.
2180 ac_fn_cxx_check_header_mongrel ()
2182 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2185 $as_echo_n "checking for $2... " >&6; }
2186 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2187 $as_echo_n "(cached) " >&6
2189 eval ac_res=\$$3
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2191 $as_echo "$ac_res" >&6; }
2192 else
2193 # Is the header compilable?
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2195 $as_echo_n "checking $2 usability... " >&6; }
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2199 #include <$2>
2200 _ACEOF
2201 if ac_fn_cxx_try_compile "$LINENO"; then :
2202 ac_header_compiler=yes
2203 else
2204 ac_header_compiler=no
2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2208 $as_echo "$ac_header_compiler" >&6; }
2210 # Is the header present?
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2212 $as_echo_n "checking $2 presence... " >&6; }
2213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h. */
2215 #include <$2>
2216 _ACEOF
2217 if ac_fn_cxx_try_cpp "$LINENO"; then :
2218 ac_header_preproc=yes
2219 else
2220 ac_header_preproc=no
2222 rm -f conftest.err conftest.$ac_ext
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2224 $as_echo "$ac_header_preproc" >&6; }
2226 # So? What about this header?
2227 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2228 yes:no: )
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2230 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2234 no:yes:* )
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2236 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2238 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2240 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2242 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2244 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2246 esac
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2248 $as_echo_n "checking for $2... " >&6; }
2249 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2250 $as_echo_n "(cached) " >&6
2251 else
2252 eval "$3=\$ac_header_compiler"
2254 eval ac_res=\$$3
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2256 $as_echo "$ac_res" >&6; }
2258 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2260 } # ac_fn_cxx_check_header_mongrel
2262 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2263 # --------------------------------------------
2264 # Tries to find the compile-time value of EXPR in a program that includes
2265 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2266 # computed
2267 ac_fn_c_compute_int ()
2269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2270 if test "$cross_compiling" = yes; then
2271 # Depending upon the size, compute the lo and hi bounds.
2272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 /* end confdefs.h. */
2276 main ()
2278 static int test_array [1 - 2 * !(($2) >= 0)];
2279 test_array [0] = 0
2282 return 0;
2284 _ACEOF
2285 if ac_fn_c_try_compile "$LINENO"; then :
2286 ac_lo=0 ac_mid=0
2287 while :; do
2288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2289 /* end confdefs.h. */
2292 main ()
2294 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2295 test_array [0] = 0
2298 return 0;
2300 _ACEOF
2301 if ac_fn_c_try_compile "$LINENO"; then :
2302 ac_hi=$ac_mid; break
2303 else
2304 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2305 if test $ac_lo -le $ac_mid; then
2306 ac_lo= ac_hi=
2307 break
2309 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2312 done
2313 else
2314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2315 /* end confdefs.h. */
2318 main ()
2320 static int test_array [1 - 2 * !(($2) < 0)];
2321 test_array [0] = 0
2324 return 0;
2326 _ACEOF
2327 if ac_fn_c_try_compile "$LINENO"; then :
2328 ac_hi=-1 ac_mid=-1
2329 while :; do
2330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2331 /* end confdefs.h. */
2334 main ()
2336 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2337 test_array [0] = 0
2340 return 0;
2342 _ACEOF
2343 if ac_fn_c_try_compile "$LINENO"; then :
2344 ac_lo=$ac_mid; break
2345 else
2346 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2347 if test $ac_mid -le $ac_hi; then
2348 ac_lo= ac_hi=
2349 break
2351 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 done
2355 else
2356 ac_lo= ac_hi=
2358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2361 # Binary search between lo and hi bounds.
2362 while test "x$ac_lo" != "x$ac_hi"; do
2363 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2365 /* end confdefs.h. */
2368 main ()
2370 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2371 test_array [0] = 0
2374 return 0;
2376 _ACEOF
2377 if ac_fn_c_try_compile "$LINENO"; then :
2378 ac_hi=$ac_mid
2379 else
2380 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 done
2384 case $ac_lo in #((
2385 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2386 '') ac_retval=1 ;;
2387 esac
2388 else
2389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2390 /* end confdefs.h. */
2392 static long int longval () { return $2; }
2393 static unsigned long int ulongval () { return $2; }
2394 #include <stdio.h>
2395 #include <stdlib.h>
2397 main ()
2400 FILE *f = fopen ("conftest.val", "w");
2401 if (! f)
2402 return 1;
2403 if (($2) < 0)
2405 long int i = longval ();
2406 if (i != ($2))
2407 return 1;
2408 fprintf (f, "%ld", i);
2410 else
2412 unsigned long int i = ulongval ();
2413 if (i != ($2))
2414 return 1;
2415 fprintf (f, "%lu", i);
2417 /* Do not output a trailing newline, as this causes \r\n confusion
2418 on some platforms. */
2419 return ferror (f) || fclose (f) != 0;
2422 return 0;
2424 _ACEOF
2425 if ac_fn_c_try_run "$LINENO"; then :
2426 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2427 else
2428 ac_retval=1
2430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2431 conftest.$ac_objext conftest.beam conftest.$ac_ext
2432 rm -f conftest.val
2435 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2436 return $ac_retval
2438 } # ac_fn_c_compute_int
2440 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2441 # -------------------------------------------
2442 # Tests whether TYPE exists after having included INCLUDES, setting cache
2443 # variable VAR accordingly.
2444 ac_fn_c_check_type ()
2446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2448 $as_echo_n "checking for $2... " >&6; }
2449 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2450 $as_echo_n "(cached) " >&6
2451 else
2452 eval "$3=no"
2453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2454 /* end confdefs.h. */
2457 main ()
2459 if (sizeof ($2))
2460 return 0;
2462 return 0;
2464 _ACEOF
2465 if ac_fn_c_try_compile "$LINENO"; then :
2466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2467 /* end confdefs.h. */
2470 main ()
2472 if (sizeof (($2)))
2473 return 0;
2475 return 0;
2477 _ACEOF
2478 if ac_fn_c_try_compile "$LINENO"; then :
2480 else
2481 eval "$3=yes"
2483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2487 eval ac_res=\$$3
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2489 $as_echo "$ac_res" >&6; }
2490 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2492 } # ac_fn_c_check_type
2493 cat >config.log <<_ACEOF
2494 This file contains any messages produced by compilers while
2495 running configure, to aid debugging if configure makes a mistake.
2497 It was created by package-unused $as_me version-unused, which was
2498 generated by GNU Autoconf 2.64. Invocation command line was
2500 $ $0 $@
2502 _ACEOF
2503 exec 5>>config.log
2505 cat <<_ASUNAME
2506 ## --------- ##
2507 ## Platform. ##
2508 ## --------- ##
2510 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2511 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2512 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2513 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2514 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2516 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2517 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2519 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2520 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2521 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2522 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2523 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2524 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2525 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2527 _ASUNAME
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 for as_dir in $PATH
2532 IFS=$as_save_IFS
2533 test -z "$as_dir" && as_dir=.
2534 $as_echo "PATH: $as_dir"
2535 done
2536 IFS=$as_save_IFS
2538 } >&5
2540 cat >&5 <<_ACEOF
2543 ## ----------- ##
2544 ## Core tests. ##
2545 ## ----------- ##
2547 _ACEOF
2550 # Keep a trace of the command line.
2551 # Strip out --no-create and --no-recursion so they do not pile up.
2552 # Strip out --silent because we don't want to record it for future runs.
2553 # Also quote any args containing shell meta-characters.
2554 # Make two passes to allow for proper duplicate-argument suppression.
2555 ac_configure_args=
2556 ac_configure_args0=
2557 ac_configure_args1=
2558 ac_must_keep_next=false
2559 for ac_pass in 1 2
2561 for ac_arg
2563 case $ac_arg in
2564 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2565 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2566 | -silent | --silent | --silen | --sile | --sil)
2567 continue ;;
2568 *\'*)
2569 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2570 esac
2571 case $ac_pass in
2572 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2574 as_fn_append ac_configure_args1 " '$ac_arg'"
2575 if test $ac_must_keep_next = true; then
2576 ac_must_keep_next=false # Got value, back to normal.
2577 else
2578 case $ac_arg in
2579 *=* | --config-cache | -C | -disable-* | --disable-* \
2580 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2581 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2582 | -with-* | --with-* | -without-* | --without-* | --x)
2583 case "$ac_configure_args0 " in
2584 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2585 esac
2587 -* ) ac_must_keep_next=true ;;
2588 esac
2590 as_fn_append ac_configure_args " '$ac_arg'"
2592 esac
2593 done
2594 done
2595 { ac_configure_args0=; unset ac_configure_args0;}
2596 { ac_configure_args1=; unset ac_configure_args1;}
2598 # When interrupted or exit'd, cleanup temporary files, and complete
2599 # config.log. We remove comments because anyway the quotes in there
2600 # would cause problems or look ugly.
2601 # WARNING: Use '\'' to represent an apostrophe within the trap.
2602 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2603 trap 'exit_status=$?
2604 # Save into config.log some information that might help in debugging.
2606 echo
2608 cat <<\_ASBOX
2609 ## ---------------- ##
2610 ## Cache variables. ##
2611 ## ---------------- ##
2612 _ASBOX
2613 echo
2614 # The following way of writing the cache mishandles newlines in values,
2616 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2617 eval ac_val=\$$ac_var
2618 case $ac_val in #(
2619 *${as_nl}*)
2620 case $ac_var in #(
2621 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2622 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2623 esac
2624 case $ac_var in #(
2625 _ | IFS | as_nl) ;; #(
2626 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2627 *) { eval $ac_var=; unset $ac_var;} ;;
2628 esac ;;
2629 esac
2630 done
2631 (set) 2>&1 |
2632 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2633 *${as_nl}ac_space=\ *)
2634 sed -n \
2635 "s/'\''/'\''\\\\'\'''\''/g;
2636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2637 ;; #(
2639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2641 esac |
2642 sort
2644 echo
2646 cat <<\_ASBOX
2647 ## ----------------- ##
2648 ## Output variables. ##
2649 ## ----------------- ##
2650 _ASBOX
2651 echo
2652 for ac_var in $ac_subst_vars
2654 eval ac_val=\$$ac_var
2655 case $ac_val in
2656 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2657 esac
2658 $as_echo "$ac_var='\''$ac_val'\''"
2659 done | sort
2660 echo
2662 if test -n "$ac_subst_files"; then
2663 cat <<\_ASBOX
2664 ## ------------------- ##
2665 ## File substitutions. ##
2666 ## ------------------- ##
2667 _ASBOX
2668 echo
2669 for ac_var in $ac_subst_files
2671 eval ac_val=\$$ac_var
2672 case $ac_val in
2673 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2674 esac
2675 $as_echo "$ac_var='\''$ac_val'\''"
2676 done | sort
2677 echo
2680 if test -s confdefs.h; then
2681 cat <<\_ASBOX
2682 ## ----------- ##
2683 ## confdefs.h. ##
2684 ## ----------- ##
2685 _ASBOX
2686 echo
2687 cat confdefs.h
2688 echo
2690 test "$ac_signal" != 0 &&
2691 $as_echo "$as_me: caught signal $ac_signal"
2692 $as_echo "$as_me: exit $exit_status"
2693 } >&5
2694 rm -f core *.core core.conftest.* &&
2695 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2696 exit $exit_status
2698 for ac_signal in 1 2 13 15; do
2699 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2700 done
2701 ac_signal=0
2703 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2704 rm -f -r conftest* confdefs.h
2706 $as_echo "/* confdefs.h */" > confdefs.h
2708 # Predefined preprocessor variables.
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_NAME "$PACKAGE_NAME"
2712 _ACEOF
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2716 _ACEOF
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2720 _ACEOF
2722 cat >>confdefs.h <<_ACEOF
2723 #define PACKAGE_STRING "$PACKAGE_STRING"
2724 _ACEOF
2726 cat >>confdefs.h <<_ACEOF
2727 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2728 _ACEOF
2730 cat >>confdefs.h <<_ACEOF
2731 #define PACKAGE_URL "$PACKAGE_URL"
2732 _ACEOF
2735 # Let the site file select an alternate cache file if it wants to.
2736 # Prefer an explicitly selected file to automatically selected ones.
2737 ac_site_file1=NONE
2738 ac_site_file2=NONE
2739 if test -n "$CONFIG_SITE"; then
2740 ac_site_file1=$CONFIG_SITE
2741 elif test "x$prefix" != xNONE; then
2742 ac_site_file1=$prefix/share/config.site
2743 ac_site_file2=$prefix/etc/config.site
2744 else
2745 ac_site_file1=$ac_default_prefix/share/config.site
2746 ac_site_file2=$ac_default_prefix/etc/config.site
2748 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2750 test "x$ac_site_file" = xNONE && continue
2751 if test -r "$ac_site_file"; then
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2753 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2754 sed 's/^/| /' "$ac_site_file" >&5
2755 . "$ac_site_file"
2757 done
2759 if test -r "$cache_file"; then
2760 # Some versions of bash will fail to source /dev/null (special
2761 # files actually), so we avoid doing that.
2762 if test -f "$cache_file"; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2764 $as_echo "$as_me: loading cache $cache_file" >&6;}
2765 case $cache_file in
2766 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2767 *) . "./$cache_file";;
2768 esac
2770 else
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2772 $as_echo "$as_me: creating cache $cache_file" >&6;}
2773 >$cache_file
2776 # Check that the precious variables saved in the cache have kept the same
2777 # value.
2778 ac_cache_corrupted=false
2779 for ac_var in $ac_precious_vars; do
2780 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2781 eval ac_new_set=\$ac_env_${ac_var}_set
2782 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2783 eval ac_new_val=\$ac_env_${ac_var}_value
2784 case $ac_old_set,$ac_new_set in
2785 set,)
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2787 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2788 ac_cache_corrupted=: ;;
2789 ,set)
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2791 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2792 ac_cache_corrupted=: ;;
2793 ,);;
2795 if test "x$ac_old_val" != "x$ac_new_val"; then
2796 # differences in whitespace do not lead to failure.
2797 ac_old_val_w=`echo x $ac_old_val`
2798 ac_new_val_w=`echo x $ac_new_val`
2799 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2801 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2802 ac_cache_corrupted=:
2803 else
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2805 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2806 eval $ac_var=\$ac_old_val
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2809 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2811 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2812 fi;;
2813 esac
2814 # Pass precious variables to config.status.
2815 if test "$ac_new_set" = set; then
2816 case $ac_new_val in
2817 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2818 *) ac_arg=$ac_var=$ac_new_val ;;
2819 esac
2820 case " $ac_configure_args " in
2821 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2822 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2823 esac
2825 done
2826 if $ac_cache_corrupted; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2830 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2831 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2833 ## -------------------- ##
2834 ## Main body of script. ##
2835 ## -------------------- ##
2837 ac_ext=c
2838 ac_cpp='$CPP $CPPFLAGS'
2839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2848 ac_config_headers="$ac_config_headers config.h"
2851 # This works around the fact that libtool configuration may change LD
2852 # for this particular configuration, but some shells, instead of
2853 # keeping the changes in LD private, export them just because LD is
2854 # exported. Only used at the end of this file.
2855 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2857 # Find the rest of the source tree framework.
2858 # Default to --enable-multilib
2859 # Check whether --enable-multilib was given.
2860 if test "${enable_multilib+set}" = set; then :
2861 enableval=$enable_multilib; case "$enableval" in
2862 yes) multilib=yes ;;
2863 no) multilib=no ;;
2864 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2865 esac
2866 else
2867 multilib=yes
2871 # We may get other options which we leave undocumented:
2872 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2873 # See config-ml.in if you want the gory details.
2875 if test "$srcdir" = "."; then
2876 if test "$with_target_subdir" != "."; then
2877 multi_basedir="$srcdir/$with_multisrctop../.."
2878 else
2879 multi_basedir="$srcdir/$with_multisrctop.."
2881 else
2882 multi_basedir="$srcdir/.."
2886 # Even if the default multilib is not a cross compilation,
2887 # it may be that some of the other multilibs are.
2888 if test $cross_compiling = no && test $multilib = yes \
2889 && test "x${with_multisubdir}" != x ; then
2890 cross_compiling=maybe
2893 ac_config_commands="$ac_config_commands default-1"
2896 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2898 # You will slowly go insane if you do not grok the following fact: when
2899 # building v3 as part of the compiler, the top-level /target/ becomes the
2900 # library's /host/. configure then causes --target to default to --host,
2901 # exactly like any other package using autoconf. Therefore, 'target' and
2902 # 'host' will always be the same. This makes sense both for native and
2903 # cross compilers, just think about it for a little while. :-)
2905 # Also, if v3 is being configured as part of a cross compiler, the top-level
2906 # configure script will pass the "real" host as $with_cross_host.
2908 # Do not delete or change the following two lines. For why, see
2909 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2910 ac_aux_dir=
2911 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2912 for ac_t in install-sh install.sh shtool; do
2913 if test -f "$ac_dir/$ac_t"; then
2914 ac_aux_dir=$ac_dir
2915 ac_install_sh="$ac_aux_dir/$ac_t -c"
2916 break 2
2918 done
2919 done
2920 if test -z "$ac_aux_dir"; then
2921 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2924 # These three variables are undocumented and unsupported,
2925 # and are intended to be withdrawn in a future Autoconf release.
2926 # They can cause serious problems if a builder's source tree is in a directory
2927 # whose full name contains unusual characters.
2928 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2929 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2930 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2933 # Make sure we can run config.sub.
2934 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2935 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2938 $as_echo_n "checking build system type... " >&6; }
2939 if test "${ac_cv_build+set}" = set; then :
2940 $as_echo_n "(cached) " >&6
2941 else
2942 ac_build_alias=$build_alias
2943 test "x$ac_build_alias" = x &&
2944 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2945 test "x$ac_build_alias" = x &&
2946 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2947 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2948 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2952 $as_echo "$ac_cv_build" >&6; }
2953 case $ac_cv_build in
2954 *-*-*) ;;
2955 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2956 esac
2957 build=$ac_cv_build
2958 ac_save_IFS=$IFS; IFS='-'
2959 set x $ac_cv_build
2960 shift
2961 build_cpu=$1
2962 build_vendor=$2
2963 shift; shift
2964 # Remember, the first character of IFS is used to create $*,
2965 # except with old shells:
2966 build_os=$*
2967 IFS=$ac_save_IFS
2968 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2972 $as_echo_n "checking host system type... " >&6; }
2973 if test "${ac_cv_host+set}" = set; then :
2974 $as_echo_n "(cached) " >&6
2975 else
2976 if test "x$host_alias" = x; then
2977 ac_cv_host=$ac_cv_build
2978 else
2979 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2980 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2985 $as_echo "$ac_cv_host" >&6; }
2986 case $ac_cv_host in
2987 *-*-*) ;;
2988 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2989 esac
2990 host=$ac_cv_host
2991 ac_save_IFS=$IFS; IFS='-'
2992 set x $ac_cv_host
2993 shift
2994 host_cpu=$1
2995 host_vendor=$2
2996 shift; shift
2997 # Remember, the first character of IFS is used to create $*,
2998 # except with old shells:
2999 host_os=$*
3000 IFS=$ac_save_IFS
3001 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3005 $as_echo_n "checking target system type... " >&6; }
3006 if test "${ac_cv_target+set}" = set; then :
3007 $as_echo_n "(cached) " >&6
3008 else
3009 if test "x$target_alias" = x; then
3010 ac_cv_target=$ac_cv_host
3011 else
3012 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3013 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3018 $as_echo "$ac_cv_target" >&6; }
3019 case $ac_cv_target in
3020 *-*-*) ;;
3021 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3022 esac
3023 target=$ac_cv_target
3024 ac_save_IFS=$IFS; IFS='-'
3025 set x $ac_cv_target
3026 shift
3027 target_cpu=$1
3028 target_vendor=$2
3029 shift; shift
3030 # Remember, the first character of IFS is used to create $*,
3031 # except with old shells:
3032 target_os=$*
3033 IFS=$ac_save_IFS
3034 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3037 # The aliases save the names the user supplied, while $host etc.
3038 # will get canonicalized.
3039 test -n "$target_alias" &&
3040 test "$program_prefix$program_suffix$program_transform_name" = \
3041 NONENONEs,x,x, &&
3042 program_prefix=${target_alias}-
3044 target_alias=${target_alias-$host_alias}
3046 # Handy for debugging:
3047 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3049 if test "$build" != "$host"; then
3050 # We are being configured with some form of cross compiler.
3051 GLIBCXX_IS_NATIVE=false
3052 case "$host","$target" in
3053 # Darwin crosses can use the host system's libraries and headers,
3054 # because of the fat library support. Of course, it must be the
3055 # same version of Darwin on both sides. Allow the user to
3056 # just say --target=foo-darwin without a version number to mean
3057 # "the version on this system".
3058 *-*-darwin*,*-*-darwin*)
3059 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3060 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3061 if test $hostos = $targetos -o $targetos = darwin ; then
3062 GLIBCXX_IS_NATIVE=true
3069 esac
3070 else
3071 GLIBCXX_IS_NATIVE=true
3074 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3075 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3076 # 1.x: minimum required version
3077 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3078 # of other PACKAGE_* variables will, however, and there's nothing
3079 # we can do about that; they come from AC_INIT).
3080 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3081 # file in the top srcdir, etc, etc), so stop complaining.
3082 # no-dependencies: turns off auto dependency generation (just for now)
3083 # no-dist: we don't want 'dist' and related rules.
3084 # -Wall: turns on all automake warnings...
3085 # -Wno-portability: ...except this one, since GNU make is now required.
3086 am__api_version='1.11'
3088 # Find a good install program. We prefer a C program (faster),
3089 # so one script is as good as another. But avoid the broken or
3090 # incompatible versions:
3091 # SysV /etc/install, /usr/sbin/install
3092 # SunOS /usr/etc/install
3093 # IRIX /sbin/install
3094 # AIX /bin/install
3095 # AmigaOS /C/install, which installs bootblocks on floppy discs
3096 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3097 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3098 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3099 # OS/2's system install, which has a completely different semantic
3100 # ./install, which can be erroneously created by make from ./install.sh.
3101 # Reject install programs that cannot install multiple files.
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3103 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3104 if test -z "$INSTALL"; then
3105 if test "${ac_cv_path_install+set}" = set; then :
3106 $as_echo_n "(cached) " >&6
3107 else
3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 for as_dir in $PATH
3111 IFS=$as_save_IFS
3112 test -z "$as_dir" && as_dir=.
3113 # Account for people who put trailing slashes in PATH elements.
3114 case $as_dir/ in #((
3115 ./ | .// | /[cC]/* | \
3116 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3117 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3118 /usr/ucb/* ) ;;
3120 # OSF1 and SCO ODT 3.0 have their own names for install.
3121 # Don't use installbsd from OSF since it installs stuff as root
3122 # by default.
3123 for ac_prog in ginstall scoinst install; do
3124 for ac_exec_ext in '' $ac_executable_extensions; do
3125 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3126 if test $ac_prog = install &&
3127 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3128 # AIX install. It has an incompatible calling convention.
3130 elif test $ac_prog = install &&
3131 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3132 # program-specific install script used by HP pwplus--don't use.
3134 else
3135 rm -rf conftest.one conftest.two conftest.dir
3136 echo one > conftest.one
3137 echo two > conftest.two
3138 mkdir conftest.dir
3139 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3140 test -s conftest.one && test -s conftest.two &&
3141 test -s conftest.dir/conftest.one &&
3142 test -s conftest.dir/conftest.two
3143 then
3144 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3145 break 3
3149 done
3150 done
3152 esac
3154 done
3155 IFS=$as_save_IFS
3157 rm -rf conftest.one conftest.two conftest.dir
3160 if test "${ac_cv_path_install+set}" = set; then
3161 INSTALL=$ac_cv_path_install
3162 else
3163 # As a last resort, use the slow shell script. Don't cache a
3164 # value for INSTALL within a source directory, because that will
3165 # break other packages using the cache if that directory is
3166 # removed, or if the value is a relative name.
3167 INSTALL=$ac_install_sh
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3171 $as_echo "$INSTALL" >&6; }
3173 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3174 # It thinks the first close brace ends the variable substitution.
3175 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3177 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3179 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3182 $as_echo_n "checking whether build environment is sane... " >&6; }
3183 # Just in case
3184 sleep 1
3185 echo timestamp > conftest.file
3186 # Reject unsafe characters in $srcdir or the absolute working directory
3187 # name. Accept space and tab only in the latter.
3188 am_lf='
3190 case `pwd` in
3191 *[\\\"\#\$\&\'\`$am_lf]*)
3192 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3193 esac
3194 case $srcdir in
3195 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3196 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3197 esac
3199 # Do `set' in a subshell so we don't clobber the current shell's
3200 # arguments. Must try -L first in case configure is actually a
3201 # symlink; some systems play weird games with the mod time of symlinks
3202 # (eg FreeBSD returns the mod time of the symlink's containing
3203 # directory).
3204 if (
3205 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3206 if test "$*" = "X"; then
3207 # -L didn't work.
3208 set X `ls -t "$srcdir/configure" conftest.file`
3210 rm -f conftest.file
3211 if test "$*" != "X $srcdir/configure conftest.file" \
3212 && test "$*" != "X conftest.file $srcdir/configure"; then
3214 # If neither matched, then we have a broken ls. This can happen
3215 # if, for instance, CONFIG_SHELL is bash and it inherits a
3216 # broken ls alias from the environment. This has actually
3217 # happened. Such a system could not be considered "sane".
3218 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3219 alias in your environment" "$LINENO" 5
3222 test "$2" = conftest.file
3224 then
3225 # Ok.
3227 else
3228 as_fn_error "newly created file is older than distributed files!
3229 Check your system clock" "$LINENO" 5
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3232 $as_echo "yes" >&6; }
3233 test "$program_prefix" != NONE &&
3234 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3235 # Use a double $ so make ignores it.
3236 test "$program_suffix" != NONE &&
3237 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3238 # Double any \ or $.
3239 # By default was `s,x,x', remove it if useless.
3240 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3241 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3243 # expand $ac_aux_dir to an absolute path
3244 am_aux_dir=`cd $ac_aux_dir && pwd`
3246 if test x"${MISSING+set}" != xset; then
3247 case $am_aux_dir in
3248 *\ * | *\ *)
3249 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3251 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3252 esac
3254 # Use eval to expand $SHELL
3255 if eval "$MISSING --run true"; then
3256 am_missing_run="$MISSING --run "
3257 else
3258 am_missing_run=
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3260 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3263 if test x"${install_sh}" != xset; then
3264 case $am_aux_dir in
3265 *\ * | *\ *)
3266 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3268 install_sh="\${SHELL} $am_aux_dir/install-sh"
3269 esac
3272 # Installed binaries are usually stripped using `strip' when the user
3273 # run `make install-strip'. However `strip' might not be the right
3274 # tool to use in cross-compilation environments, therefore Automake
3275 # will honor the `STRIP' environment variable to overrule this program.
3276 if test "$cross_compiling" != no; then
3277 if test -n "$ac_tool_prefix"; then
3278 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3279 set dummy ${ac_tool_prefix}strip; ac_word=$2
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281 $as_echo_n "checking for $ac_word... " >&6; }
3282 if test "${ac_cv_prog_STRIP+set}" = set; then :
3283 $as_echo_n "(cached) " >&6
3284 else
3285 if test -n "$STRIP"; then
3286 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3287 else
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 for as_dir in $PATH
3291 IFS=$as_save_IFS
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3295 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 break 2
3299 done
3300 done
3301 IFS=$as_save_IFS
3305 STRIP=$ac_cv_prog_STRIP
3306 if test -n "$STRIP"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3308 $as_echo "$STRIP" >&6; }
3309 else
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3316 if test -z "$ac_cv_prog_STRIP"; then
3317 ac_ct_STRIP=$STRIP
3318 # Extract the first word of "strip", so it can be a program name with args.
3319 set dummy strip; ac_word=$2
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3321 $as_echo_n "checking for $ac_word... " >&6; }
3322 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3323 $as_echo_n "(cached) " >&6
3324 else
3325 if test -n "$ac_ct_STRIP"; then
3326 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3327 else
3328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329 for as_dir in $PATH
3331 IFS=$as_save_IFS
3332 test -z "$as_dir" && as_dir=.
3333 for ac_exec_ext in '' $ac_executable_extensions; do
3334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3335 ac_cv_prog_ac_ct_STRIP="strip"
3336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3337 break 2
3339 done
3340 done
3341 IFS=$as_save_IFS
3345 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3346 if test -n "$ac_ct_STRIP"; then
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3348 $as_echo "$ac_ct_STRIP" >&6; }
3349 else
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351 $as_echo "no" >&6; }
3354 if test "x$ac_ct_STRIP" = x; then
3355 STRIP=":"
3356 else
3357 case $cross_compiling:$ac_tool_warned in
3358 yes:)
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3361 ac_tool_warned=yes ;;
3362 esac
3363 STRIP=$ac_ct_STRIP
3365 else
3366 STRIP="$ac_cv_prog_STRIP"
3370 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3373 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3374 if test -z "$MKDIR_P"; then
3375 if test "${ac_cv_path_mkdir+set}" = set; then :
3376 $as_echo_n "(cached) " >&6
3377 else
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3381 IFS=$as_save_IFS
3382 test -z "$as_dir" && as_dir=.
3383 for ac_prog in mkdir gmkdir; do
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3386 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3387 'mkdir (GNU coreutils) '* | \
3388 'mkdir (coreutils) '* | \
3389 'mkdir (fileutils) '4.1*)
3390 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3391 break 3;;
3392 esac
3393 done
3394 done
3395 done
3396 IFS=$as_save_IFS
3400 if test "${ac_cv_path_mkdir+set}" = set; then
3401 MKDIR_P="$ac_cv_path_mkdir -p"
3402 else
3403 # As a last resort, use the slow shell script. Don't cache a
3404 # value for MKDIR_P within a source directory, because that will
3405 # break other packages using the cache if that directory is
3406 # removed, or if the value is a relative name.
3407 test -d ./--version && rmdir ./--version
3408 MKDIR_P="$ac_install_sh -d"
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3412 $as_echo "$MKDIR_P" >&6; }
3414 mkdir_p="$MKDIR_P"
3415 case $mkdir_p in
3416 [\\/$]* | ?:[\\/]*) ;;
3417 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3418 esac
3420 for ac_prog in gawk mawk nawk awk
3422 # Extract the first word of "$ac_prog", so it can be a program name with args.
3423 set dummy $ac_prog; ac_word=$2
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425 $as_echo_n "checking for $ac_word... " >&6; }
3426 if test "${ac_cv_prog_AWK+set}" = set; then :
3427 $as_echo_n "(cached) " >&6
3428 else
3429 if test -n "$AWK"; then
3430 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3431 else
3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433 for as_dir in $PATH
3435 IFS=$as_save_IFS
3436 test -z "$as_dir" && as_dir=.
3437 for ac_exec_ext in '' $ac_executable_extensions; do
3438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3439 ac_cv_prog_AWK="$ac_prog"
3440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 break 2
3443 done
3444 done
3445 IFS=$as_save_IFS
3449 AWK=$ac_cv_prog_AWK
3450 if test -n "$AWK"; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3452 $as_echo "$AWK" >&6; }
3453 else
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455 $as_echo "no" >&6; }
3459 test -n "$AWK" && break
3460 done
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3463 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3464 set x ${MAKE-make}
3465 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3466 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3467 $as_echo_n "(cached) " >&6
3468 else
3469 cat >conftest.make <<\_ACEOF
3470 SHELL = /bin/sh
3471 all:
3472 @echo '@@@%%%=$(MAKE)=@@@%%%'
3473 _ACEOF
3474 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3475 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3476 *@@@%%%=?*=@@@%%%*)
3477 eval ac_cv_prog_make_${ac_make}_set=yes;;
3479 eval ac_cv_prog_make_${ac_make}_set=no;;
3480 esac
3481 rm -f conftest.make
3483 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3485 $as_echo "yes" >&6; }
3486 SET_MAKE=
3487 else
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3489 $as_echo "no" >&6; }
3490 SET_MAKE="MAKE=${MAKE-make}"
3493 rm -rf .tst 2>/dev/null
3494 mkdir .tst 2>/dev/null
3495 if test -d .tst; then
3496 am__leading_dot=.
3497 else
3498 am__leading_dot=_
3500 rmdir .tst 2>/dev/null
3502 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3503 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3504 # is not polluted with repeated "-I."
3505 am__isrc=' -I$(srcdir)'
3506 # test to see if srcdir already configured
3507 if test -f $srcdir/config.status; then
3508 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3512 # test whether we have cygpath
3513 if test -z "$CYGPATH_W"; then
3514 if (cygpath --version) >/dev/null 2>/dev/null; then
3515 CYGPATH_W='cygpath -w'
3516 else
3517 CYGPATH_W=echo
3522 # Define the identity of the package.
3523 PACKAGE='libstdc++'
3524 VERSION='version-unused'
3527 # Some tools Automake needs.
3529 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3532 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3535 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3538 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3541 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3543 # We need awk for the "check" target. The system "awk" is bad on
3544 # some platforms.
3545 # Always define AMTAR for backward compatibility.
3547 AMTAR=${AMTAR-"${am_missing_run}tar"}
3549 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3558 # -fno-builtin must be present here so that a non-conflicting form of
3559 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3561 save_CXXFLAGS="$CXXFLAGS"
3562 CXXFLAGS="$CXXFLAGS -fno-builtin"
3563 ac_ext=c
3564 ac_cpp='$CPP $CPPFLAGS'
3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3568 if test -n "$ac_tool_prefix"; then
3569 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3570 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if test "${ac_cv_prog_CC+set}" = set; then :
3574 $as_echo_n "(cached) " >&6
3575 else
3576 if test -n "$CC"; then
3577 ac_cv_prog_CC="$CC" # Let the user override the test.
3578 else
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 for as_dir in $PATH
3582 IFS=$as_save_IFS
3583 test -z "$as_dir" && as_dir=.
3584 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3588 break 2
3590 done
3591 done
3592 IFS=$as_save_IFS
3596 CC=$ac_cv_prog_CC
3597 if test -n "$CC"; then
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3599 $as_echo "$CC" >&6; }
3600 else
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3607 if test -z "$ac_cv_prog_CC"; then
3608 ac_ct_CC=$CC
3609 # Extract the first word of "gcc", so it can be a program name with args.
3610 set dummy gcc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3615 else
3616 if test -n "$ac_ct_CC"; then
3617 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3618 else
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH
3622 IFS=$as_save_IFS
3623 test -z "$as_dir" && as_dir=.
3624 for ac_exec_ext in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_prog_ac_ct_CC="gcc"
3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 break 2
3630 done
3631 done
3632 IFS=$as_save_IFS
3636 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3637 if test -n "$ac_ct_CC"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3639 $as_echo "$ac_ct_CC" >&6; }
3640 else
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3645 if test "x$ac_ct_CC" = x; then
3646 CC=""
3647 else
3648 case $cross_compiling:$ac_tool_warned in
3649 yes:)
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3652 ac_tool_warned=yes ;;
3653 esac
3654 CC=$ac_ct_CC
3656 else
3657 CC="$ac_cv_prog_CC"
3660 if test -z "$CC"; then
3661 if test -n "$ac_tool_prefix"; then
3662 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3663 set dummy ${ac_tool_prefix}cc; ac_word=$2
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3665 $as_echo_n "checking for $ac_word... " >&6; }
3666 if test "${ac_cv_prog_CC+set}" = set; then :
3667 $as_echo_n "(cached) " >&6
3668 else
3669 if test -n "$CC"; then
3670 ac_cv_prog_CC="$CC" # Let the user override the test.
3671 else
3672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3673 for as_dir in $PATH
3675 IFS=$as_save_IFS
3676 test -z "$as_dir" && as_dir=.
3677 for ac_exec_ext in '' $ac_executable_extensions; do
3678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3679 ac_cv_prog_CC="${ac_tool_prefix}cc"
3680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 break 2
3683 done
3684 done
3685 IFS=$as_save_IFS
3689 CC=$ac_cv_prog_CC
3690 if test -n "$CC"; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3692 $as_echo "$CC" >&6; }
3693 else
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3695 $as_echo "no" >&6; }
3701 if test -z "$CC"; then
3702 # Extract the first word of "cc", so it can be a program name with args.
3703 set dummy cc; ac_word=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if test "${ac_cv_prog_CC+set}" = set; then :
3707 $as_echo_n "(cached) " >&6
3708 else
3709 if test -n "$CC"; then
3710 ac_cv_prog_CC="$CC" # Let the user override the test.
3711 else
3712 ac_prog_rejected=no
3713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3714 for as_dir in $PATH
3716 IFS=$as_save_IFS
3717 test -z "$as_dir" && as_dir=.
3718 for ac_exec_ext in '' $ac_executable_extensions; do
3719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3720 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3721 ac_prog_rejected=yes
3722 continue
3724 ac_cv_prog_CC="cc"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 break 2
3728 done
3729 done
3730 IFS=$as_save_IFS
3732 if test $ac_prog_rejected = yes; then
3733 # We found a bogon in the path, so make sure we never use it.
3734 set dummy $ac_cv_prog_CC
3735 shift
3736 if test $# != 0; then
3737 # We chose a different compiler from the bogus one.
3738 # However, it has the same basename, so the bogon will be chosen
3739 # first if we set CC to just the basename; use the full file name.
3740 shift
3741 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3746 CC=$ac_cv_prog_CC
3747 if test -n "$CC"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3749 $as_echo "$CC" >&6; }
3750 else
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3757 if test -z "$CC"; then
3758 if test -n "$ac_tool_prefix"; then
3759 for ac_prog in cl.exe
3761 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3762 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if test "${ac_cv_prog_CC+set}" = set; then :
3766 $as_echo_n "(cached) " >&6
3767 else
3768 if test -n "$CC"; then
3769 ac_cv_prog_CC="$CC" # Let the user override the test.
3770 else
3771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3772 for as_dir in $PATH
3774 IFS=$as_save_IFS
3775 test -z "$as_dir" && as_dir=.
3776 for ac_exec_ext in '' $ac_executable_extensions; do
3777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3778 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 break 2
3782 done
3783 done
3784 IFS=$as_save_IFS
3788 CC=$ac_cv_prog_CC
3789 if test -n "$CC"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3791 $as_echo "$CC" >&6; }
3792 else
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3798 test -n "$CC" && break
3799 done
3801 if test -z "$CC"; then
3802 ac_ct_CC=$CC
3803 for ac_prog in cl.exe
3805 # Extract the first word of "$ac_prog", so it can be a program name with args.
3806 set dummy $ac_prog; ac_word=$2
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3808 $as_echo_n "checking for $ac_word... " >&6; }
3809 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3810 $as_echo_n "(cached) " >&6
3811 else
3812 if test -n "$ac_ct_CC"; then
3813 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3814 else
3815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3816 for as_dir in $PATH
3818 IFS=$as_save_IFS
3819 test -z "$as_dir" && as_dir=.
3820 for ac_exec_ext in '' $ac_executable_extensions; do
3821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3822 ac_cv_prog_ac_ct_CC="$ac_prog"
3823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 break 2
3826 done
3827 done
3828 IFS=$as_save_IFS
3832 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3833 if test -n "$ac_ct_CC"; then
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3835 $as_echo "$ac_ct_CC" >&6; }
3836 else
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3838 $as_echo "no" >&6; }
3842 test -n "$ac_ct_CC" && break
3843 done
3845 if test "x$ac_ct_CC" = x; then
3846 CC=""
3847 else
3848 case $cross_compiling:$ac_tool_warned in
3849 yes:)
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3852 ac_tool_warned=yes ;;
3853 esac
3854 CC=$ac_ct_CC
3861 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3863 as_fn_error "no acceptable C compiler found in \$PATH
3864 See \`config.log' for more details." "$LINENO" 5; }
3866 # Provide some information about the compiler.
3867 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3868 set X $ac_compile
3869 ac_compiler=$2
3870 for ac_option in --version -v -V -qversion; do
3871 { { ac_try="$ac_compiler $ac_option >&5"
3872 case "(($ac_try" in
3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874 *) ac_try_echo=$ac_try;;
3875 esac
3876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3877 $as_echo "$ac_try_echo"; } >&5
3878 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3879 ac_status=$?
3880 if test -s conftest.err; then
3881 sed '10a\
3882 ... rest of stderr output deleted ...
3883 10q' conftest.err >conftest.er1
3884 cat conftest.er1 >&5
3885 rm -f conftest.er1 conftest.err
3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }
3889 done
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3895 main ()
3899 return 0;
3901 _ACEOF
3902 # FIXME: Cleanup?
3903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3904 (eval $ac_link) 2>&5
3905 ac_status=$?
3906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3907 test $ac_status = 0; }; then :
3908 gcc_no_link=no
3909 else
3910 gcc_no_link=yes
3912 if test x$gcc_no_link = xyes; then
3913 # Setting cross_compile will disable run tests; it will
3914 # also disable AC_CHECK_FILE but that's generally
3915 # correct if we can't link.
3916 cross_compiling=yes
3917 EXEEXT=
3918 else
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3923 main ()
3927 return 0;
3929 _ACEOF
3930 ac_clean_files_save=$ac_clean_files
3931 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3932 # Try to create an executable without -o first, disregard a.out.
3933 # It will help us diagnose broken compilers, and finding out an intuition
3934 # of exeext.
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3936 $as_echo_n "checking for C compiler default output file name... " >&6; }
3937 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3939 # The possible output files:
3940 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3942 ac_rmfiles=
3943 for ac_file in $ac_files
3945 case $ac_file in
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3947 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3948 esac
3949 done
3950 rm -f $ac_rmfiles
3952 if { { ac_try="$ac_link_default"
3953 case "(($ac_try" in
3954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3956 esac
3957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3958 $as_echo "$ac_try_echo"; } >&5
3959 (eval "$ac_link_default") 2>&5
3960 ac_status=$?
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }; then :
3963 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3964 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3965 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3966 # so that the user can short-circuit this test for compilers unknown to
3967 # Autoconf.
3968 for ac_file in $ac_files ''
3970 test -f "$ac_file" || continue
3971 case $ac_file in
3972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3974 [ab].out )
3975 # We found the default executable, but exeext='' is most
3976 # certainly right.
3977 break;;
3978 *.* )
3979 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3980 then :; else
3981 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3983 # We set ac_cv_exeext here because the later test for it is not
3984 # safe: cross compilers may not add the suffix if given an `-o'
3985 # argument, so we may need to know it at that point already.
3986 # Even if this section looks crufty: it has the advantage of
3987 # actually working.
3988 break;;
3990 break;;
3991 esac
3992 done
3993 test "$ac_cv_exeext" = no && ac_cv_exeext=
3995 else
3996 ac_file=''
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3999 $as_echo "$ac_file" >&6; }
4000 if test -z "$ac_file"; then :
4001 $as_echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 { as_fn_set_status 77
4007 as_fn_error "C compiler cannot create executables
4008 See \`config.log' for more details." "$LINENO" 5; }; }
4010 ac_exeext=$ac_cv_exeext
4012 # Check that the compiler produces executables we can run. If not, either
4013 # the compiler is broken, or we cross compile.
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4015 $as_echo_n "checking whether the C compiler works... " >&6; }
4016 # If not cross compiling, check that we can run a simple program.
4017 if test "$cross_compiling" != yes; then
4018 if { ac_try='./$ac_file'
4019 { { case "(($ac_try" in
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4022 esac
4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025 (eval "$ac_try") 2>&5
4026 ac_status=$?
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }; }; then
4029 cross_compiling=no
4030 else
4031 if test "$cross_compiling" = maybe; then
4032 cross_compiling=yes
4033 else
4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4036 as_fn_error "cannot run C compiled programs.
4037 If you meant to cross compile, use \`--host'.
4038 See \`config.log' for more details." "$LINENO" 5; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4043 $as_echo "yes" >&6; }
4045 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4046 ac_clean_files=$ac_clean_files_save
4047 # Check that the compiler produces executables we can run. If not, either
4048 # the compiler is broken, or we cross compile.
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4050 $as_echo_n "checking whether we are cross compiling... " >&6; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4052 $as_echo "$cross_compiling" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4055 $as_echo_n "checking for suffix of executables... " >&6; }
4056 if { { ac_try="$ac_link"
4057 case "(($ac_try" in
4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4060 esac
4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4062 $as_echo "$ac_try_echo"; } >&5
4063 (eval "$ac_link") 2>&5
4064 ac_status=$?
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }; then :
4067 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4068 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4069 # work properly (i.e., refer to `conftest.exe'), while it won't with
4070 # `rm'.
4071 for ac_file in conftest.exe conftest conftest.*; do
4072 test -f "$ac_file" || continue
4073 case $ac_file in
4074 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4075 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4076 break;;
4077 * ) break;;
4078 esac
4079 done
4080 else
4081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083 as_fn_error "cannot compute suffix of executables: cannot compile and link
4084 See \`config.log' for more details." "$LINENO" 5; }
4086 rm -f conftest$ac_cv_exeext
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4088 $as_echo "$ac_cv_exeext" >&6; }
4090 rm -f conftest.$ac_ext
4091 EXEEXT=$ac_cv_exeext
4092 ac_exeext=$EXEEXT
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4095 $as_echo_n "checking for suffix of object files... " >&6; }
4096 if test "${ac_cv_objext+set}" = set; then :
4097 $as_echo_n "(cached) " >&6
4098 else
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4103 main ()
4107 return 0;
4109 _ACEOF
4110 rm -f conftest.o conftest.obj
4111 if { { ac_try="$ac_compile"
4112 case "(($ac_try" in
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4115 esac
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_compile") 2>&5
4119 ac_status=$?
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }; then :
4122 for ac_file in conftest.o conftest.obj conftest.*; do
4123 test -f "$ac_file" || continue;
4124 case $ac_file in
4125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4126 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4127 break;;
4128 esac
4129 done
4130 else
4131 $as_echo "$as_me: failed program was:" >&5
4132 sed 's/^/| /' conftest.$ac_ext >&5
4134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4136 as_fn_error "cannot compute suffix of object files: cannot compile
4137 See \`config.log' for more details." "$LINENO" 5; }
4139 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4142 $as_echo "$ac_cv_objext" >&6; }
4143 OBJEXT=$ac_cv_objext
4144 ac_objext=$OBJEXT
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4146 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4147 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4148 $as_echo_n "(cached) " >&6
4149 else
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4154 main ()
4156 #ifndef __GNUC__
4157 choke me
4158 #endif
4161 return 0;
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 ac_compiler_gnu=yes
4166 else
4167 ac_compiler_gnu=no
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4174 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4175 if test $ac_compiler_gnu = yes; then
4176 GCC=yes
4177 else
4178 GCC=
4180 ac_test_CFLAGS=${CFLAGS+set}
4181 ac_save_CFLAGS=$CFLAGS
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4183 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4184 if test "${ac_cv_prog_cc_g+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4186 else
4187 ac_save_c_werror_flag=$ac_c_werror_flag
4188 ac_c_werror_flag=yes
4189 ac_cv_prog_cc_g=no
4190 CFLAGS="-g"
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4195 main ()
4199 return 0;
4201 _ACEOF
4202 if ac_fn_c_try_compile "$LINENO"; then :
4203 ac_cv_prog_cc_g=yes
4204 else
4205 CFLAGS=""
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4210 main ()
4214 return 0;
4216 _ACEOF
4217 if ac_fn_c_try_compile "$LINENO"; then :
4219 else
4220 ac_c_werror_flag=$ac_save_c_werror_flag
4221 CFLAGS="-g"
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4226 main ()
4230 return 0;
4232 _ACEOF
4233 if ac_fn_c_try_compile "$LINENO"; then :
4234 ac_cv_prog_cc_g=yes
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 ac_c_werror_flag=$ac_save_c_werror_flag
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4244 $as_echo "$ac_cv_prog_cc_g" >&6; }
4245 if test "$ac_test_CFLAGS" = set; then
4246 CFLAGS=$ac_save_CFLAGS
4247 elif test $ac_cv_prog_cc_g = yes; then
4248 if test "$GCC" = yes; then
4249 CFLAGS="-g -O2"
4250 else
4251 CFLAGS="-g"
4253 else
4254 if test "$GCC" = yes; then
4255 CFLAGS="-O2"
4256 else
4257 CFLAGS=
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4261 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4262 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265 ac_cv_prog_cc_c89=no
4266 ac_save_CC=$CC
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4269 #include <stdarg.h>
4270 #include <stdio.h>
4271 #include <sys/types.h>
4272 #include <sys/stat.h>
4273 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4274 struct buf { int x; };
4275 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4276 static char *e (p, i)
4277 char **p;
4278 int i;
4280 return p[i];
4282 static char *f (char * (*g) (char **, int), char **p, ...)
4284 char *s;
4285 va_list v;
4286 va_start (v,p);
4287 s = g (p, va_arg (v,int));
4288 va_end (v);
4289 return s;
4292 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4293 function prototypes and stuff, but not '\xHH' hex character constants.
4294 These don't provoke an error unfortunately, instead are silently treated
4295 as 'x'. The following induces an error, until -std is added to get
4296 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4297 array size at least. It's necessary to write '\x00'==0 to get something
4298 that's true only with -std. */
4299 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4301 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4302 inside strings and character constants. */
4303 #define FOO(x) 'x'
4304 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4306 int test (int i, double x);
4307 struct s1 {int (*f) (int a);};
4308 struct s2 {int (*f) (double a);};
4309 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4310 int argc;
4311 char **argv;
4313 main ()
4315 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4317 return 0;
4319 _ACEOF
4320 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4321 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4323 CC="$ac_save_CC $ac_arg"
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_cv_prog_cc_c89=$ac_arg
4327 rm -f core conftest.err conftest.$ac_objext
4328 test "x$ac_cv_prog_cc_c89" != "xno" && break
4329 done
4330 rm -f conftest.$ac_ext
4331 CC=$ac_save_CC
4334 # AC_CACHE_VAL
4335 case "x$ac_cv_prog_cc_c89" in
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4338 $as_echo "none needed" >&6; } ;;
4339 xno)
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4341 $as_echo "unsupported" >&6; } ;;
4343 CC="$CC $ac_cv_prog_cc_c89"
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4345 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4346 esac
4347 if test "x$ac_cv_prog_cc_c89" != xno; then :
4351 ac_ext=c
4352 ac_cpp='$CPP $CPPFLAGS'
4353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4357 ac_ext=cpp
4358 ac_cpp='$CXXCPP $CPPFLAGS'
4359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4362 if test -z "$CXX"; then
4363 if test -n "$CCC"; then
4364 CXX=$CCC
4365 else
4366 if test -n "$ac_tool_prefix"; then
4367 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if test "${ac_cv_prog_CXX+set}" = set; then :
4374 $as_echo_n "(cached) " >&6
4375 else
4376 if test -n "$CXX"; then
4377 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4378 else
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 for as_dir in $PATH
4382 IFS=$as_save_IFS
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4386 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 break 2
4390 done
4391 done
4392 IFS=$as_save_IFS
4396 CXX=$ac_cv_prog_CXX
4397 if test -n "$CXX"; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4399 $as_echo "$CXX" >&6; }
4400 else
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4406 test -n "$CXX" && break
4407 done
4409 if test -z "$CXX"; then
4410 ac_ct_CXX=$CXX
4411 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4413 # Extract the first word of "$ac_prog", so it can be a program name with args.
4414 set dummy $ac_prog; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 if test -n "$ac_ct_CXX"; then
4421 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4422 else
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 for as_dir in $PATH
4426 IFS=$as_save_IFS
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 ac_cv_prog_ac_ct_CXX="$ac_prog"
4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 break 2
4434 done
4435 done
4436 IFS=$as_save_IFS
4440 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4441 if test -n "$ac_ct_CXX"; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4443 $as_echo "$ac_ct_CXX" >&6; }
4444 else
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4450 test -n "$ac_ct_CXX" && break
4451 done
4453 if test "x$ac_ct_CXX" = x; then
4454 CXX="g++"
4455 else
4456 case $cross_compiling:$ac_tool_warned in
4457 yes:)
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4461 esac
4462 CXX=$ac_ct_CXX
4468 # Provide some information about the compiler.
4469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4470 set X $ac_compile
4471 ac_compiler=$2
4472 for ac_option in --version -v -V -qversion; do
4473 { { ac_try="$ac_compiler $ac_option >&5"
4474 case "(($ac_try" in
4475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4476 *) ac_try_echo=$ac_try;;
4477 esac
4478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4479 $as_echo "$ac_try_echo"; } >&5
4480 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4481 ac_status=$?
4482 if test -s conftest.err; then
4483 sed '10a\
4484 ... rest of stderr output deleted ...
4485 10q' conftest.err >conftest.er1
4486 cat conftest.er1 >&5
4487 rm -f conftest.er1 conftest.err
4489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4490 test $ac_status = 0; }
4491 done
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4494 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4495 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4496 $as_echo_n "(cached) " >&6
4497 else
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4502 main ()
4504 #ifndef __GNUC__
4505 choke me
4506 #endif
4509 return 0;
4511 _ACEOF
4512 if ac_fn_cxx_try_compile "$LINENO"; then :
4513 ac_compiler_gnu=yes
4514 else
4515 ac_compiler_gnu=no
4517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4522 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4523 if test $ac_compiler_gnu = yes; then
4524 GXX=yes
4525 else
4526 GXX=
4528 ac_test_CXXFLAGS=${CXXFLAGS+set}
4529 ac_save_CXXFLAGS=$CXXFLAGS
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4531 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4532 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4536 ac_cxx_werror_flag=yes
4537 ac_cv_prog_cxx_g=no
4538 CXXFLAGS="-g"
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4543 main ()
4547 return 0;
4549 _ACEOF
4550 if ac_fn_cxx_try_compile "$LINENO"; then :
4551 ac_cv_prog_cxx_g=yes
4552 else
4553 CXXFLAGS=""
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4558 main ()
4562 return 0;
4564 _ACEOF
4565 if ac_fn_cxx_try_compile "$LINENO"; then :
4567 else
4568 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4569 CXXFLAGS="-g"
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4574 main ()
4578 return 0;
4580 _ACEOF
4581 if ac_fn_cxx_try_compile "$LINENO"; then :
4582 ac_cv_prog_cxx_g=yes
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4592 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4593 if test "$ac_test_CXXFLAGS" = set; then
4594 CXXFLAGS=$ac_save_CXXFLAGS
4595 elif test $ac_cv_prog_cxx_g = yes; then
4596 if test "$GXX" = yes; then
4597 CXXFLAGS="-g -O2"
4598 else
4599 CXXFLAGS="-g"
4601 else
4602 if test "$GXX" = yes; then
4603 CXXFLAGS="-O2"
4604 else
4605 CXXFLAGS=
4608 ac_ext=c
4609 ac_cpp='$CPP $CPPFLAGS'
4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4614 CXXFLAGS="$save_CXXFLAGS"
4616 # Runs configure.host, and assorted other critical bits. Sets
4617 # up critical shell variables.
4619 ac_ext=c
4620 ac_cpp='$CPP $CPPFLAGS'
4621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4625 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4626 # On Suns, sometimes $CPP names a directory.
4627 if test -n "$CPP" && test -d "$CPP"; then
4628 CPP=
4630 if test -z "$CPP"; then
4631 if test "${ac_cv_prog_CPP+set}" = set; then :
4632 $as_echo_n "(cached) " >&6
4633 else
4634 # Double quotes because CPP needs to be expanded
4635 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4637 ac_preproc_ok=false
4638 for ac_c_preproc_warn_flag in '' yes
4640 # Use a header file that comes with gcc, so configuring glibc
4641 # with a fresh cross-compiler works.
4642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4643 # <limits.h> exists even on freestanding compilers.
4644 # On the NeXT, cc -E runs the code through the compiler's parser,
4645 # not just through cpp. "Syntax error" is here to catch this case.
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4648 #ifdef __STDC__
4649 # include <limits.h>
4650 #else
4651 # include <assert.h>
4652 #endif
4653 Syntax error
4654 _ACEOF
4655 if ac_fn_c_try_cpp "$LINENO"; then :
4657 else
4658 # Broken: fails on valid input.
4659 continue
4661 rm -f conftest.err conftest.$ac_ext
4663 # OK, works on sane cases. Now check whether nonexistent headers
4664 # can be detected and how.
4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4667 #include <ac_nonexistent.h>
4668 _ACEOF
4669 if ac_fn_c_try_cpp "$LINENO"; then :
4670 # Broken: success on invalid input.
4671 continue
4672 else
4673 # Passes both tests.
4674 ac_preproc_ok=:
4675 break
4677 rm -f conftest.err conftest.$ac_ext
4679 done
4680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4681 rm -f conftest.err conftest.$ac_ext
4682 if $ac_preproc_ok; then :
4683 break
4686 done
4687 ac_cv_prog_CPP=$CPP
4690 CPP=$ac_cv_prog_CPP
4691 else
4692 ac_cv_prog_CPP=$CPP
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4695 $as_echo "$CPP" >&6; }
4696 ac_preproc_ok=false
4697 for ac_c_preproc_warn_flag in '' yes
4699 # Use a header file that comes with gcc, so configuring glibc
4700 # with a fresh cross-compiler works.
4701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4702 # <limits.h> exists even on freestanding compilers.
4703 # On the NeXT, cc -E runs the code through the compiler's parser,
4704 # not just through cpp. "Syntax error" is here to catch this case.
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707 #ifdef __STDC__
4708 # include <limits.h>
4709 #else
4710 # include <assert.h>
4711 #endif
4712 Syntax error
4713 _ACEOF
4714 if ac_fn_c_try_cpp "$LINENO"; then :
4716 else
4717 # Broken: fails on valid input.
4718 continue
4720 rm -f conftest.err conftest.$ac_ext
4722 # OK, works on sane cases. Now check whether nonexistent headers
4723 # can be detected and how.
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4726 #include <ac_nonexistent.h>
4727 _ACEOF
4728 if ac_fn_c_try_cpp "$LINENO"; then :
4729 # Broken: success on invalid input.
4730 continue
4731 else
4732 # Passes both tests.
4733 ac_preproc_ok=:
4734 break
4736 rm -f conftest.err conftest.$ac_ext
4738 done
4739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4740 rm -f conftest.err conftest.$ac_ext
4741 if $ac_preproc_ok; then :
4743 else
4744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4746 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4747 See \`config.log' for more details." "$LINENO" 5; }
4750 ac_ext=c
4751 ac_cpp='$CPP $CPPFLAGS'
4752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4758 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4759 if test "${ac_cv_path_GREP+set}" = set; then :
4760 $as_echo_n "(cached) " >&6
4761 else
4762 if test -z "$GREP"; then
4763 ac_path_GREP_found=false
4764 # Loop through the user's path and test for each of PROGNAME-LIST
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4768 IFS=$as_save_IFS
4769 test -z "$as_dir" && as_dir=.
4770 for ac_prog in grep ggrep; do
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4773 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4774 # Check for GNU ac_path_GREP and select it if it is found.
4775 # Check for GNU $ac_path_GREP
4776 case `"$ac_path_GREP" --version 2>&1` in
4777 *GNU*)
4778 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4780 ac_count=0
4781 $as_echo_n 0123456789 >"conftest.in"
4782 while :
4784 cat "conftest.in" "conftest.in" >"conftest.tmp"
4785 mv "conftest.tmp" "conftest.in"
4786 cp "conftest.in" "conftest.nl"
4787 $as_echo 'GREP' >> "conftest.nl"
4788 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4789 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4790 as_fn_arith $ac_count + 1 && ac_count=$as_val
4791 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4792 # Best one so far, save it but keep looking for a better one
4793 ac_cv_path_GREP="$ac_path_GREP"
4794 ac_path_GREP_max=$ac_count
4796 # 10*(2^10) chars as input seems more than enough
4797 test $ac_count -gt 10 && break
4798 done
4799 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4800 esac
4802 $ac_path_GREP_found && break 3
4803 done
4804 done
4805 done
4806 IFS=$as_save_IFS
4807 if test -z "$ac_cv_path_GREP"; then
4808 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4810 else
4811 ac_cv_path_GREP=$GREP
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4816 $as_echo "$ac_cv_path_GREP" >&6; }
4817 GREP="$ac_cv_path_GREP"
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4821 $as_echo_n "checking for egrep... " >&6; }
4822 if test "${ac_cv_path_EGREP+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4826 then ac_cv_path_EGREP="$GREP -E"
4827 else
4828 if test -z "$EGREP"; then
4829 ac_path_EGREP_found=false
4830 # Loop through the user's path and test for each of PROGNAME-LIST
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4834 IFS=$as_save_IFS
4835 test -z "$as_dir" && as_dir=.
4836 for ac_prog in egrep; do
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4839 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4840 # Check for GNU ac_path_EGREP and select it if it is found.
4841 # Check for GNU $ac_path_EGREP
4842 case `"$ac_path_EGREP" --version 2>&1` in
4843 *GNU*)
4844 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4846 ac_count=0
4847 $as_echo_n 0123456789 >"conftest.in"
4848 while :
4850 cat "conftest.in" "conftest.in" >"conftest.tmp"
4851 mv "conftest.tmp" "conftest.in"
4852 cp "conftest.in" "conftest.nl"
4853 $as_echo 'EGREP' >> "conftest.nl"
4854 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4855 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4856 as_fn_arith $ac_count + 1 && ac_count=$as_val
4857 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4858 # Best one so far, save it but keep looking for a better one
4859 ac_cv_path_EGREP="$ac_path_EGREP"
4860 ac_path_EGREP_max=$ac_count
4862 # 10*(2^10) chars as input seems more than enough
4863 test $ac_count -gt 10 && break
4864 done
4865 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4866 esac
4868 $ac_path_EGREP_found && break 3
4869 done
4870 done
4871 done
4872 IFS=$as_save_IFS
4873 if test -z "$ac_cv_path_EGREP"; then
4874 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4876 else
4877 ac_cv_path_EGREP=$EGREP
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4883 $as_echo "$ac_cv_path_EGREP" >&6; }
4884 EGREP="$ac_cv_path_EGREP"
4888 # Keep these sync'd with the list in Makefile.am. The first provides an
4889 # expandable list at autoconf time; the second provides an expandable list
4890 # (i.e., shell variable) at configure time.
4892 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4894 # These need to be absolute paths, yet at the same time need to
4895 # canonicalize only relative paths, because then amd will not unmount
4896 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4897 glibcxx_builddir=`${PWDCMD-pwd}`
4898 case $srcdir in
4899 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4900 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4901 esac
4902 toplevel_builddir=${glibcxx_builddir}/..
4903 toplevel_srcdir=${glibcxx_srcdir}/..
4909 # We use these options to decide which functions to include. They are
4910 # set from the top level.
4912 # Check whether --with-target-subdir was given.
4913 if test "${with_target_subdir+set}" = set; then :
4914 withval=$with_target_subdir;
4919 # Check whether --with-cross-host was given.
4920 if test "${with_cross_host+set}" = set; then :
4921 withval=$with_cross_host;
4926 # Check whether --with-newlib was given.
4927 if test "${with_newlib+set}" = set; then :
4928 withval=$with_newlib;
4932 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4933 # available). Uncomment the next line to force a particular method.
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4935 $as_echo_n "checking whether ln -s works... " >&6; }
4936 LN_S=$as_ln_s
4937 if test "$LN_S" = "ln -s"; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4939 $as_echo "yes" >&6; }
4940 else
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4942 $as_echo "no, using $LN_S" >&6; }
4945 #LN_S='cp -p'
4947 if test -n "$ac_tool_prefix"; then
4948 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4949 set dummy ${ac_tool_prefix}as; ac_word=$2
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951 $as_echo_n "checking for $ac_word... " >&6; }
4952 if test "${ac_cv_prog_AS+set}" = set; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 if test -n "$AS"; then
4956 ac_cv_prog_AS="$AS" # Let the user override the test.
4957 else
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 for as_dir in $PATH
4961 IFS=$as_save_IFS
4962 test -z "$as_dir" && as_dir=.
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4965 ac_cv_prog_AS="${ac_tool_prefix}as"
4966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 break 2
4969 done
4970 done
4971 IFS=$as_save_IFS
4975 AS=$ac_cv_prog_AS
4976 if test -n "$AS"; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4978 $as_echo "$AS" >&6; }
4979 else
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4986 if test -z "$ac_cv_prog_AS"; then
4987 ac_ct_AS=$AS
4988 # Extract the first word of "as", so it can be a program name with args.
4989 set dummy as; ac_word=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4993 $as_echo_n "(cached) " >&6
4994 else
4995 if test -n "$ac_ct_AS"; then
4996 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4997 else
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 for as_dir in $PATH
5001 IFS=$as_save_IFS
5002 test -z "$as_dir" && as_dir=.
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_ac_ct_AS="as"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 break 2
5009 done
5010 done
5011 IFS=$as_save_IFS
5015 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5016 if test -n "$ac_ct_AS"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5018 $as_echo "$ac_ct_AS" >&6; }
5019 else
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5024 if test "x$ac_ct_AS" = x; then
5025 AS=""
5026 else
5027 case $cross_compiling:$ac_tool_warned in
5028 yes:)
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5031 ac_tool_warned=yes ;;
5032 esac
5033 AS=$ac_ct_AS
5035 else
5036 AS="$ac_cv_prog_AS"
5039 if test -n "$ac_tool_prefix"; then
5040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5041 set dummy ${ac_tool_prefix}ar; ac_word=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if test "${ac_cv_prog_AR+set}" = set; then :
5045 $as_echo_n "(cached) " >&6
5046 else
5047 if test -n "$AR"; then
5048 ac_cv_prog_AR="$AR" # Let the user override the test.
5049 else
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH
5053 IFS=$as_save_IFS
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5057 ac_cv_prog_AR="${ac_tool_prefix}ar"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 break 2
5061 done
5062 done
5063 IFS=$as_save_IFS
5067 AR=$ac_cv_prog_AR
5068 if test -n "$AR"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5070 $as_echo "$AR" >&6; }
5071 else
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5078 if test -z "$ac_cv_prog_AR"; then
5079 ac_ct_AR=$AR
5080 # Extract the first word of "ar", so it can be a program name with args.
5081 set dummy ar; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$ac_ct_AR"; then
5088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_ac_ct_AR="ar"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5101 done
5102 done
5103 IFS=$as_save_IFS
5107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5108 if test -n "$ac_ct_AR"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5110 $as_echo "$ac_ct_AR" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5116 if test "x$ac_ct_AR" = x; then
5117 AR=""
5118 else
5119 case $cross_compiling:$ac_tool_warned in
5120 yes:)
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5123 ac_tool_warned=yes ;;
5124 esac
5125 AR=$ac_ct_AR
5127 else
5128 AR="$ac_cv_prog_AR"
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5133 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5137 $as_echo_n "(cached) " >&6
5138 else
5139 if test -n "$RANLIB"; then
5140 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5149 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 break 2
5153 done
5154 done
5155 IFS=$as_save_IFS
5159 RANLIB=$ac_cv_prog_RANLIB
5160 if test -n "$RANLIB"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5162 $as_echo "$RANLIB" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$ac_cv_prog_RANLIB"; then
5171 ac_ct_RANLIB=$RANLIB
5172 # Extract the first word of "ranlib", so it can be a program name with args.
5173 set dummy ranlib; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if test -n "$ac_ct_RANLIB"; then
5180 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5181 else
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH
5185 IFS=$as_save_IFS
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5189 ac_cv_prog_ac_ct_RANLIB="ranlib"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 break 2
5193 done
5194 done
5195 IFS=$as_save_IFS
5199 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5200 if test -n "$ac_ct_RANLIB"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5202 $as_echo "$ac_ct_RANLIB" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5208 if test "x$ac_ct_RANLIB" = x; then
5209 RANLIB="ranlib-not-found-in-path-error"
5210 else
5211 case $cross_compiling:$ac_tool_warned in
5212 yes:)
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned=yes ;;
5216 esac
5217 RANLIB=$ac_ct_RANLIB
5219 else
5220 RANLIB="$ac_cv_prog_RANLIB"
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5226 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5227 # Check whether --enable-maintainer-mode was given.
5228 if test "${enable_maintainer_mode+set}" = set; then :
5229 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5230 else
5231 USE_MAINTAINER_MODE=no
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5235 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5236 if test $USE_MAINTAINER_MODE = yes; then
5237 MAINTAINER_MODE_TRUE=
5238 MAINTAINER_MODE_FALSE='#'
5239 else
5240 MAINTAINER_MODE_TRUE='#'
5241 MAINTAINER_MODE_FALSE=
5244 MAINT=$MAINTAINER_MODE_TRUE
5248 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5249 # which are themselves conditionally expanded.
5250 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5251 ## other macros from doing the same. This should be automated.) -pme
5253 # Check for C library flavor since GNU/Linux platforms use different
5254 # configuration directories depending on the C library in use.
5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5258 #include <stdio.h>
5259 #if __UCLIBC__
5260 _using_uclibc
5261 #endif
5263 _ACEOF
5264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5265 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5266 uclibc=yes
5267 else
5268 uclibc=no
5270 rm -f conftest*
5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5274 /* end confdefs.h. */
5276 #include <stdio.h>
5277 #if __BIONIC__
5278 _using_bionic
5279 #endif
5281 _ACEOF
5282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5283 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5284 bionic=yes
5285 else
5286 bionic=no
5288 rm -f conftest*
5291 # Find platform-specific directories containing configuration info.
5292 # Also possibly modify flags used elsewhere, as needed by the platform.
5294 . $glibcxx_srcdir/configure.host
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5296 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5298 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5302 # Libtool setup.
5303 if test "x${with_newlib}" != "xyes"; then
5304 enable_dlopen=yes
5309 case `pwd` in
5310 *\ * | *\ *)
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5312 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5313 esac
5317 macro_version='2.2.7a'
5318 macro_revision='1.3134'
5332 ltmain="$ac_aux_dir/ltmain.sh"
5334 # Backslashify metacharacters that are still active within
5335 # double-quoted strings.
5336 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5338 # Same as above, but do not quote variable references.
5339 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5341 # Sed substitution to delay expansion of an escaped shell variable in a
5342 # double_quote_subst'ed string.
5343 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5345 # Sed substitution to delay expansion of an escaped single quote.
5346 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5348 # Sed substitution to avoid accidental globbing in evaled expressions
5349 no_glob_subst='s/\*/\\\*/g'
5351 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5352 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5353 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5356 $as_echo_n "checking how to print strings... " >&6; }
5357 # Test print first, because it will be a builtin if present.
5358 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5359 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5360 ECHO='print -r --'
5361 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5362 ECHO='printf %s\n'
5363 else
5364 # Use this function as a fallback that always works.
5365 func_fallback_echo ()
5367 eval 'cat <<_LTECHO_EOF
5369 _LTECHO_EOF'
5371 ECHO='func_fallback_echo'
5374 # func_echo_all arg...
5375 # Invoke $ECHO with all args, space-separated.
5376 func_echo_all ()
5378 $ECHO ""
5381 case "$ECHO" in
5382 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5383 $as_echo "printf" >&6; } ;;
5384 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5385 $as_echo "print -r" >&6; } ;;
5386 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5387 $as_echo "cat" >&6; } ;;
5388 esac
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5404 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5405 if test "${ac_cv_path_SED+set}" = set; then :
5406 $as_echo_n "(cached) " >&6
5407 else
5408 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5409 for ac_i in 1 2 3 4 5 6 7; do
5410 ac_script="$ac_script$as_nl$ac_script"
5411 done
5412 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5413 { ac_script=; unset ac_script;}
5414 if test -z "$SED"; then
5415 ac_path_SED_found=false
5416 # Loop through the user's path and test for each of PROGNAME-LIST
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418 for as_dir in $PATH
5420 IFS=$as_save_IFS
5421 test -z "$as_dir" && as_dir=.
5422 for ac_prog in sed gsed; do
5423 for ac_exec_ext in '' $ac_executable_extensions; do
5424 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5425 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5426 # Check for GNU ac_path_SED and select it if it is found.
5427 # Check for GNU $ac_path_SED
5428 case `"$ac_path_SED" --version 2>&1` in
5429 *GNU*)
5430 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5432 ac_count=0
5433 $as_echo_n 0123456789 >"conftest.in"
5434 while :
5436 cat "conftest.in" "conftest.in" >"conftest.tmp"
5437 mv "conftest.tmp" "conftest.in"
5438 cp "conftest.in" "conftest.nl"
5439 $as_echo '' >> "conftest.nl"
5440 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5441 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5442 as_fn_arith $ac_count + 1 && ac_count=$as_val
5443 if test $ac_count -gt ${ac_path_SED_max-0}; then
5444 # Best one so far, save it but keep looking for a better one
5445 ac_cv_path_SED="$ac_path_SED"
5446 ac_path_SED_max=$ac_count
5448 # 10*(2^10) chars as input seems more than enough
5449 test $ac_count -gt 10 && break
5450 done
5451 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5452 esac
5454 $ac_path_SED_found && break 3
5455 done
5456 done
5457 done
5458 IFS=$as_save_IFS
5459 if test -z "$ac_cv_path_SED"; then
5460 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5462 else
5463 ac_cv_path_SED=$SED
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5468 $as_echo "$ac_cv_path_SED" >&6; }
5469 SED="$ac_cv_path_SED"
5470 rm -f conftest.sed
5472 test -z "$SED" && SED=sed
5473 Xsed="$SED -e 1s/^X//"
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5486 $as_echo_n "checking for fgrep... " >&6; }
5487 if test "${ac_cv_path_FGREP+set}" = set; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5491 then ac_cv_path_FGREP="$GREP -F"
5492 else
5493 if test -z "$FGREP"; then
5494 ac_path_FGREP_found=false
5495 # Loop through the user's path and test for each of PROGNAME-LIST
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_prog in fgrep; do
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5504 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5505 # Check for GNU ac_path_FGREP and select it if it is found.
5506 # Check for GNU $ac_path_FGREP
5507 case `"$ac_path_FGREP" --version 2>&1` in
5508 *GNU*)
5509 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5511 ac_count=0
5512 $as_echo_n 0123456789 >"conftest.in"
5513 while :
5515 cat "conftest.in" "conftest.in" >"conftest.tmp"
5516 mv "conftest.tmp" "conftest.in"
5517 cp "conftest.in" "conftest.nl"
5518 $as_echo 'FGREP' >> "conftest.nl"
5519 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5520 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5521 as_fn_arith $ac_count + 1 && ac_count=$as_val
5522 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5523 # Best one so far, save it but keep looking for a better one
5524 ac_cv_path_FGREP="$ac_path_FGREP"
5525 ac_path_FGREP_max=$ac_count
5527 # 10*(2^10) chars as input seems more than enough
5528 test $ac_count -gt 10 && break
5529 done
5530 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5531 esac
5533 $ac_path_FGREP_found && break 3
5534 done
5535 done
5536 done
5537 IFS=$as_save_IFS
5538 if test -z "$ac_cv_path_FGREP"; then
5539 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5541 else
5542 ac_cv_path_FGREP=$FGREP
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5548 $as_echo "$ac_cv_path_FGREP" >&6; }
5549 FGREP="$ac_cv_path_FGREP"
5552 test -z "$GREP" && GREP=grep
5572 # Check whether --with-gnu-ld was given.
5573 if test "${with_gnu_ld+set}" = set; then :
5574 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5575 else
5576 with_gnu_ld=no
5579 ac_prog=ld
5580 if test "$GCC" = yes; then
5581 # Check if gcc -print-prog-name=ld gives a path.
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5583 $as_echo_n "checking for ld used by $CC... " >&6; }
5584 case $host in
5585 *-*-mingw*)
5586 # gcc leaves a trailing carriage return which upsets mingw
5587 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5589 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5590 esac
5591 case $ac_prog in
5592 # Accept absolute paths.
5593 [\\/]* | ?:[\\/]*)
5594 re_direlt='/[^/][^/]*/\.\./'
5595 # Canonicalize the pathname of ld
5596 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5597 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5598 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5599 done
5600 test -z "$LD" && LD="$ac_prog"
5603 # If it fails, then pretend we aren't using GCC.
5604 ac_prog=ld
5607 # If it is relative, then search for the first ld in PATH.
5608 with_gnu_ld=unknown
5610 esac
5611 elif test "$with_gnu_ld" = yes; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5613 $as_echo_n "checking for GNU ld... " >&6; }
5614 else
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5616 $as_echo_n "checking for non-GNU ld... " >&6; }
5618 if test "${lt_cv_path_LD+set}" = set; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 if test -z "$LD"; then
5622 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5623 for ac_dir in $PATH; do
5624 IFS="$lt_save_ifs"
5625 test -z "$ac_dir" && ac_dir=.
5626 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5627 lt_cv_path_LD="$ac_dir/$ac_prog"
5628 # Check to see if the program is GNU ld. I'd rather use --version,
5629 # but apparently some variants of GNU ld only accept -v.
5630 # Break only if it was the GNU/non-GNU ld that we prefer.
5631 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5632 *GNU* | *'with BFD'*)
5633 test "$with_gnu_ld" != no && break
5636 test "$with_gnu_ld" != yes && break
5638 esac
5640 done
5641 IFS="$lt_save_ifs"
5642 else
5643 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5647 LD="$lt_cv_path_LD"
5648 if test -n "$LD"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5650 $as_echo "$LD" >&6; }
5651 else
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 $as_echo "no" >&6; }
5655 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5657 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5658 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5662 case `$LD -v 2>&1 </dev/null` in
5663 *GNU* | *'with BFD'*)
5664 lt_cv_prog_gnu_ld=yes
5667 lt_cv_prog_gnu_ld=no
5669 esac
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5672 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5673 with_gnu_ld=$lt_cv_prog_gnu_ld
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5684 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5685 if test "${lt_cv_path_NM+set}" = set; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -n "$NM"; then
5689 # Let the user override the test.
5690 lt_cv_path_NM="$NM"
5691 else
5692 lt_nm_to_check="${ac_tool_prefix}nm"
5693 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5694 lt_nm_to_check="$lt_nm_to_check nm"
5696 for lt_tmp_nm in $lt_nm_to_check; do
5697 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5698 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5699 IFS="$lt_save_ifs"
5700 test -z "$ac_dir" && ac_dir=.
5701 tmp_nm="$ac_dir/$lt_tmp_nm"
5702 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5703 # Check to see if the nm accepts a BSD-compat flag.
5704 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5705 # nm: unknown option "B" ignored
5706 # Tru64's nm complains that /dev/null is an invalid object file
5707 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5708 */dev/null* | *'Invalid file or object type'*)
5709 lt_cv_path_NM="$tmp_nm -B"
5710 break
5713 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5714 */dev/null*)
5715 lt_cv_path_NM="$tmp_nm -p"
5716 break
5719 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5720 continue # so that we can try to find one that supports BSD flags
5722 esac
5724 esac
5726 done
5727 IFS="$lt_save_ifs"
5728 done
5729 : ${lt_cv_path_NM=no}
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5733 $as_echo "$lt_cv_path_NM" >&6; }
5734 if test "$lt_cv_path_NM" != "no"; then
5735 NM="$lt_cv_path_NM"
5736 else
5737 # Didn't find any BSD compatible name lister, look for dumpbin.
5738 if test -n "$DUMPBIN"; then :
5739 # Let the user override the test.
5740 else
5741 if test -n "$ac_tool_prefix"; then
5742 for ac_prog in dumpbin "link -dump"
5744 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5745 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$DUMPBIN"; then
5752 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5753 else
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 for as_dir in $PATH
5757 IFS=$as_save_IFS
5758 test -z "$as_dir" && as_dir=.
5759 for ac_exec_ext in '' $ac_executable_extensions; do
5760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5761 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 break 2
5765 done
5766 done
5767 IFS=$as_save_IFS
5771 DUMPBIN=$ac_cv_prog_DUMPBIN
5772 if test -n "$DUMPBIN"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5774 $as_echo "$DUMPBIN" >&6; }
5775 else
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5781 test -n "$DUMPBIN" && break
5782 done
5784 if test -z "$DUMPBIN"; then
5785 ac_ct_DUMPBIN=$DUMPBIN
5786 for ac_prog in dumpbin "link -dump"
5788 # Extract the first word of "$ac_prog", so it can be a program name with args.
5789 set dummy $ac_prog; ac_word=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 $as_echo_n "checking for $ac_word... " >&6; }
5792 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 if test -n "$ac_ct_DUMPBIN"; then
5796 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5797 else
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 for as_dir in $PATH
5801 IFS=$as_save_IFS
5802 test -z "$as_dir" && as_dir=.
5803 for ac_exec_ext in '' $ac_executable_extensions; do
5804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5805 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5807 break 2
5809 done
5810 done
5811 IFS=$as_save_IFS
5815 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5816 if test -n "$ac_ct_DUMPBIN"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5818 $as_echo "$ac_ct_DUMPBIN" >&6; }
5819 else
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5825 test -n "$ac_ct_DUMPBIN" && break
5826 done
5828 if test "x$ac_ct_DUMPBIN" = x; then
5829 DUMPBIN=":"
5830 else
5831 case $cross_compiling:$ac_tool_warned in
5832 yes:)
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5835 ac_tool_warned=yes ;;
5836 esac
5837 DUMPBIN=$ac_ct_DUMPBIN
5841 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5842 *COFF*)
5843 DUMPBIN="$DUMPBIN -symbols"
5846 DUMPBIN=:
5848 esac
5851 if test "$DUMPBIN" != ":"; then
5852 NM="$DUMPBIN"
5855 test -z "$NM" && NM=nm
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5863 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5864 if test "${lt_cv_nm_interface+set}" = set; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 lt_cv_nm_interface="BSD nm"
5868 echo "int some_variable = 0;" > conftest.$ac_ext
5869 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5870 (eval "$ac_compile" 2>conftest.err)
5871 cat conftest.err >&5
5872 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5873 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5874 cat conftest.err >&5
5875 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5876 cat conftest.out >&5
5877 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5878 lt_cv_nm_interface="MS dumpbin"
5880 rm -f conftest*
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5883 $as_echo "$lt_cv_nm_interface" >&6; }
5885 # find the maximum length of command line arguments
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5887 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5888 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5889 $as_echo_n "(cached) " >&6
5890 else
5892 teststring="ABCD"
5894 case $build_os in
5895 msdosdjgpp*)
5896 # On DJGPP, this test can blow up pretty badly due to problems in libc
5897 # (any single argument exceeding 2000 bytes causes a buffer overrun
5898 # during glob expansion). Even if it were fixed, the result of this
5899 # check would be larger than it should be.
5900 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5903 gnu*)
5904 # Under GNU Hurd, this test is not required because there is
5905 # no limit to the length of command line arguments.
5906 # Libtool will interpret -1 as no limit whatsoever
5907 lt_cv_sys_max_cmd_len=-1;
5910 cygwin* | mingw* | cegcc*)
5911 # On Win9x/ME, this test blows up -- it succeeds, but takes
5912 # about 5 minutes as the teststring grows exponentially.
5913 # Worse, since 9x/ME are not pre-emptively multitasking,
5914 # you end up with a "frozen" computer, even though with patience
5915 # the test eventually succeeds (with a max line length of 256k).
5916 # Instead, let's just punt: use the minimum linelength reported by
5917 # all of the supported platforms: 8192 (on NT/2K/XP).
5918 lt_cv_sys_max_cmd_len=8192;
5921 mint*)
5922 # On MiNT this can take a long time and run out of memory.
5923 lt_cv_sys_max_cmd_len=8192;
5926 amigaos*)
5927 # On AmigaOS with pdksh, this test takes hours, literally.
5928 # So we just punt and use a minimum line length of 8192.
5929 lt_cv_sys_max_cmd_len=8192;
5932 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5933 # This has been around since 386BSD, at least. Likely further.
5934 if test -x /sbin/sysctl; then
5935 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5936 elif test -x /usr/sbin/sysctl; then
5937 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5938 else
5939 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5941 # And add a safety zone
5942 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5943 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5946 interix*)
5947 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5948 lt_cv_sys_max_cmd_len=196608
5951 osf*)
5952 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5953 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5954 # nice to cause kernel panics so lets avoid the loop below.
5955 # First set a reasonable default.
5956 lt_cv_sys_max_cmd_len=16384
5958 if test -x /sbin/sysconfig; then
5959 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5960 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5961 esac
5964 sco3.2v5*)
5965 lt_cv_sys_max_cmd_len=102400
5967 sysv5* | sco5v6* | sysv4.2uw2*)
5968 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5969 if test -n "$kargmax"; then
5970 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5971 else
5972 lt_cv_sys_max_cmd_len=32768
5976 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5977 if test -n "$lt_cv_sys_max_cmd_len"; then
5978 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5979 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5980 else
5981 # Make teststring a little bigger before we do anything with it.
5982 # a 1K string should be a reasonable start.
5983 for i in 1 2 3 4 5 6 7 8 ; do
5984 teststring=$teststring$teststring
5985 done
5986 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5987 # If test is not a shell built-in, we'll probably end up computing a
5988 # maximum length that is only half of the actual maximum length, but
5989 # we can't tell.
5990 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5991 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5992 test $i != 17 # 1/2 MB should be enough
5994 i=`expr $i + 1`
5995 teststring=$teststring$teststring
5996 done
5997 # Only check the string length outside the loop.
5998 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5999 teststring=
6000 # Add a significant safety factor because C++ compilers can tack on
6001 # massive amounts of additional arguments before passing them to the
6002 # linker. It appears as though 1/2 is a usable value.
6003 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6006 esac
6010 if test -n $lt_cv_sys_max_cmd_len ; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6012 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6013 else
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6015 $as_echo "none" >&6; }
6017 max_cmd_len=$lt_cv_sys_max_cmd_len
6024 : ${CP="cp -f"}
6025 : ${MV="mv -f"}
6026 : ${RM="rm -f"}
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6029 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6030 # Try some XSI features
6031 xsi_shell=no
6032 ( _lt_dummy="a/b/c"
6033 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6034 = c,a/b,, \
6035 && eval 'test $(( 1 + 1 )) -eq 2 \
6036 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6037 && xsi_shell=yes
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6039 $as_echo "$xsi_shell" >&6; }
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6043 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6044 lt_shell_append=no
6045 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6046 >/dev/null 2>&1 \
6047 && lt_shell_append=yes
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6049 $as_echo "$lt_shell_append" >&6; }
6052 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6053 lt_unset=unset
6054 else
6055 lt_unset=false
6062 # test EBCDIC or ASCII
6063 case `echo X|tr X '\101'` in
6064 A) # ASCII based system
6065 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6066 lt_SP2NL='tr \040 \012'
6067 lt_NL2SP='tr \015\012 \040\040'
6069 *) # EBCDIC based system
6070 lt_SP2NL='tr \100 \n'
6071 lt_NL2SP='tr \r\n \100\100'
6073 esac
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6084 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6085 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6086 $as_echo_n "(cached) " >&6
6087 else
6088 lt_cv_ld_reload_flag='-r'
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6091 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6092 reload_flag=$lt_cv_ld_reload_flag
6093 case $reload_flag in
6094 "" | " "*) ;;
6095 *) reload_flag=" $reload_flag" ;;
6096 esac
6097 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6098 case $host_os in
6099 darwin*)
6100 if test "$GCC" = yes; then
6101 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6102 else
6103 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6106 esac
6116 if test -n "$ac_tool_prefix"; then
6117 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6118 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6122 $as_echo_n "(cached) " >&6
6123 else
6124 if test -n "$OBJDUMP"; then
6125 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6126 else
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6130 IFS=$as_save_IFS
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 break 2
6138 done
6139 done
6140 IFS=$as_save_IFS
6144 OBJDUMP=$ac_cv_prog_OBJDUMP
6145 if test -n "$OBJDUMP"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6147 $as_echo "$OBJDUMP" >&6; }
6148 else
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6155 if test -z "$ac_cv_prog_OBJDUMP"; then
6156 ac_ct_OBJDUMP=$OBJDUMP
6157 # Extract the first word of "objdump", so it can be a program name with args.
6158 set dummy objdump; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 $as_echo_n "checking for $ac_word... " >&6; }
6161 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6163 else
6164 if test -n "$ac_ct_OBJDUMP"; then
6165 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6166 else
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 for as_dir in $PATH
6170 IFS=$as_save_IFS
6171 test -z "$as_dir" && as_dir=.
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6174 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6176 break 2
6178 done
6179 done
6180 IFS=$as_save_IFS
6184 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6185 if test -n "$ac_ct_OBJDUMP"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6187 $as_echo "$ac_ct_OBJDUMP" >&6; }
6188 else
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 $as_echo "no" >&6; }
6193 if test "x$ac_ct_OBJDUMP" = x; then
6194 OBJDUMP="false"
6195 else
6196 case $cross_compiling:$ac_tool_warned in
6197 yes:)
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6200 ac_tool_warned=yes ;;
6201 esac
6202 OBJDUMP=$ac_ct_OBJDUMP
6204 else
6205 OBJDUMP="$ac_cv_prog_OBJDUMP"
6208 test -z "$OBJDUMP" && OBJDUMP=objdump
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6219 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6220 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6221 $as_echo_n "(cached) " >&6
6222 else
6223 lt_cv_file_magic_cmd='$MAGIC_CMD'
6224 lt_cv_file_magic_test_file=
6225 lt_cv_deplibs_check_method='unknown'
6226 # Need to set the preceding variable on all platforms that support
6227 # interlibrary dependencies.
6228 # 'none' -- dependencies not supported.
6229 # `unknown' -- same as none, but documents that we really don't know.
6230 # 'pass_all' -- all dependencies passed with no checks.
6231 # 'test_compile' -- check by making test program.
6232 # 'file_magic [[regex]]' -- check by looking for files in library path
6233 # which responds to the $file_magic_cmd with a given extended regex.
6234 # If you have `file' or equivalent on your system and you're not sure
6235 # whether `pass_all' will *always* work, you probably want this one.
6237 case $host_os in
6238 aix[4-9]*)
6239 lt_cv_deplibs_check_method=pass_all
6242 beos*)
6243 lt_cv_deplibs_check_method=pass_all
6246 bsdi[45]*)
6247 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6248 lt_cv_file_magic_cmd='/usr/bin/file -L'
6249 lt_cv_file_magic_test_file=/shlib/libc.so
6252 cygwin*)
6253 # func_win32_libid is a shell function defined in ltmain.sh
6254 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6255 lt_cv_file_magic_cmd='func_win32_libid'
6258 mingw* | pw32*)
6259 # Base MSYS/MinGW do not provide the 'file' command needed by
6260 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6261 # unless we find 'file', for example because we are cross-compiling.
6262 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6263 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6264 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6265 lt_cv_file_magic_cmd='func_win32_libid'
6266 else
6267 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6268 lt_cv_file_magic_cmd='$OBJDUMP -f'
6272 cegcc*)
6273 # use the weaker test based on 'objdump'. See mingw*.
6274 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6275 lt_cv_file_magic_cmd='$OBJDUMP -f'
6278 darwin* | rhapsody*)
6279 lt_cv_deplibs_check_method=pass_all
6282 freebsd* | dragonfly*)
6283 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6284 case $host_cpu in
6285 i*86 )
6286 # Not sure whether the presence of OpenBSD here was a mistake.
6287 # Let's accept both of them until this is cleared up.
6288 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6289 lt_cv_file_magic_cmd=/usr/bin/file
6290 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6292 esac
6293 else
6294 lt_cv_deplibs_check_method=pass_all
6298 gnu*)
6299 lt_cv_deplibs_check_method=pass_all
6302 haiku*)
6303 lt_cv_deplibs_check_method=pass_all
6306 hpux10.20* | hpux11*)
6307 lt_cv_file_magic_cmd=/usr/bin/file
6308 case $host_cpu in
6309 ia64*)
6310 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6311 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6313 hppa*64*)
6314 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]'
6315 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6318 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6319 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6321 esac
6324 interix[3-9]*)
6325 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6326 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6329 irix5* | irix6* | nonstopux*)
6330 case $LD in
6331 *-32|*"-32 ") libmagic=32-bit;;
6332 *-n32|*"-n32 ") libmagic=N32;;
6333 *-64|*"-64 ") libmagic=64-bit;;
6334 *) libmagic=never-match;;
6335 esac
6336 lt_cv_deplibs_check_method=pass_all
6339 # This must be Linux ELF.
6340 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6341 lt_cv_deplibs_check_method=pass_all
6344 netbsd*)
6345 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6347 else
6348 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6352 newos6*)
6353 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6354 lt_cv_file_magic_cmd=/usr/bin/file
6355 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6358 *nto* | *qnx*)
6359 lt_cv_deplibs_check_method=pass_all
6362 openbsd*)
6363 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6364 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6365 else
6366 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6370 osf3* | osf4* | osf5*)
6371 lt_cv_deplibs_check_method=pass_all
6374 rdos*)
6375 lt_cv_deplibs_check_method=pass_all
6378 solaris*)
6379 lt_cv_deplibs_check_method=pass_all
6382 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6383 lt_cv_deplibs_check_method=pass_all
6386 sysv4 | sysv4.3*)
6387 case $host_vendor in
6388 motorola)
6389 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]'
6390 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6392 ncr)
6393 lt_cv_deplibs_check_method=pass_all
6395 sequent)
6396 lt_cv_file_magic_cmd='/bin/file'
6397 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6399 sni)
6400 lt_cv_file_magic_cmd='/bin/file'
6401 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6402 lt_cv_file_magic_test_file=/lib/libc.so
6404 siemens)
6405 lt_cv_deplibs_check_method=pass_all
6408 lt_cv_deplibs_check_method=pass_all
6410 esac
6413 tpf*)
6414 lt_cv_deplibs_check_method=pass_all
6416 esac
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6420 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6421 file_magic_cmd=$lt_cv_file_magic_cmd
6422 deplibs_check_method=$lt_cv_deplibs_check_method
6423 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6436 if test -n "$ac_tool_prefix"; then
6437 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6438 set dummy ${ac_tool_prefix}ar; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if test "${ac_cv_prog_AR+set}" = set; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if test -n "$AR"; then
6445 ac_cv_prog_AR="$AR" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6454 ac_cv_prog_AR="${ac_tool_prefix}ar"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6458 done
6459 done
6460 IFS=$as_save_IFS
6464 AR=$ac_cv_prog_AR
6465 if test -n "$AR"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6467 $as_echo "$AR" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6475 if test -z "$ac_cv_prog_AR"; then
6476 ac_ct_AR=$AR
6477 # Extract the first word of "ar", so it can be a program name with args.
6478 set dummy ar; ac_word=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6480 $as_echo_n "checking for $ac_word... " >&6; }
6481 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6482 $as_echo_n "(cached) " >&6
6483 else
6484 if test -n "$ac_ct_AR"; then
6485 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6486 else
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 for as_dir in $PATH
6490 IFS=$as_save_IFS
6491 test -z "$as_dir" && as_dir=.
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6494 ac_cv_prog_ac_ct_AR="ar"
6495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 break 2
6498 done
6499 done
6500 IFS=$as_save_IFS
6504 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6505 if test -n "$ac_ct_AR"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6507 $as_echo "$ac_ct_AR" >&6; }
6508 else
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 $as_echo "no" >&6; }
6513 if test "x$ac_ct_AR" = x; then
6514 AR="false"
6515 else
6516 case $cross_compiling:$ac_tool_warned in
6517 yes:)
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6520 ac_tool_warned=yes ;;
6521 esac
6522 AR=$ac_ct_AR
6524 else
6525 AR="$ac_cv_prog_AR"
6528 test -z "$AR" && AR=ar
6529 test -z "$AR_FLAGS" && AR_FLAGS=cru
6541 if test -n "$ac_tool_prefix"; then
6542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6543 set dummy ${ac_tool_prefix}strip; ac_word=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if test "${ac_cv_prog_STRIP+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6548 else
6549 if test -n "$STRIP"; then
6550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6551 else
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH
6555 IFS=$as_save_IFS
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 break 2
6563 done
6564 done
6565 IFS=$as_save_IFS
6569 STRIP=$ac_cv_prog_STRIP
6570 if test -n "$STRIP"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6572 $as_echo "$STRIP" >&6; }
6573 else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6580 if test -z "$ac_cv_prog_STRIP"; then
6581 ac_ct_STRIP=$STRIP
6582 # Extract the first word of "strip", so it can be a program name with args.
6583 set dummy strip; ac_word=$2
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6585 $as_echo_n "checking for $ac_word... " >&6; }
6586 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6587 $as_echo_n "(cached) " >&6
6588 else
6589 if test -n "$ac_ct_STRIP"; then
6590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6591 else
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6593 for as_dir in $PATH
6595 IFS=$as_save_IFS
6596 test -z "$as_dir" && as_dir=.
6597 for ac_exec_ext in '' $ac_executable_extensions; do
6598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599 ac_cv_prog_ac_ct_STRIP="strip"
6600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601 break 2
6603 done
6604 done
6605 IFS=$as_save_IFS
6609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6610 if test -n "$ac_ct_STRIP"; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6612 $as_echo "$ac_ct_STRIP" >&6; }
6613 else
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615 $as_echo "no" >&6; }
6618 if test "x$ac_ct_STRIP" = x; then
6619 STRIP=":"
6620 else
6621 case $cross_compiling:$ac_tool_warned in
6622 yes:)
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6625 ac_tool_warned=yes ;;
6626 esac
6627 STRIP=$ac_ct_STRIP
6629 else
6630 STRIP="$ac_cv_prog_STRIP"
6633 test -z "$STRIP" && STRIP=:
6640 if test -n "$ac_tool_prefix"; then
6641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6642 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 $as_echo_n "checking for $ac_word... " >&6; }
6645 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6646 $as_echo_n "(cached) " >&6
6647 else
6648 if test -n "$RANLIB"; then
6649 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6650 else
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 for as_dir in $PATH
6654 IFS=$as_save_IFS
6655 test -z "$as_dir" && as_dir=.
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6658 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660 break 2
6662 done
6663 done
6664 IFS=$as_save_IFS
6668 RANLIB=$ac_cv_prog_RANLIB
6669 if test -n "$RANLIB"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6671 $as_echo "$RANLIB" >&6; }
6672 else
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6679 if test -z "$ac_cv_prog_RANLIB"; then
6680 ac_ct_RANLIB=$RANLIB
6681 # Extract the first word of "ranlib", so it can be a program name with args.
6682 set dummy ranlib; ac_word=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6686 $as_echo_n "(cached) " >&6
6687 else
6688 if test -n "$ac_ct_RANLIB"; then
6689 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6690 else
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 for as_dir in $PATH
6694 IFS=$as_save_IFS
6695 test -z "$as_dir" && as_dir=.
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6698 ac_cv_prog_ac_ct_RANLIB="ranlib"
6699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 break 2
6702 done
6703 done
6704 IFS=$as_save_IFS
6708 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6709 if test -n "$ac_ct_RANLIB"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6711 $as_echo "$ac_ct_RANLIB" >&6; }
6712 else
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6717 if test "x$ac_ct_RANLIB" = x; then
6718 RANLIB=":"
6719 else
6720 case $cross_compiling:$ac_tool_warned in
6721 yes:)
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned=yes ;;
6725 esac
6726 RANLIB=$ac_ct_RANLIB
6728 else
6729 RANLIB="$ac_cv_prog_RANLIB"
6732 test -z "$RANLIB" && RANLIB=:
6739 # Determine commands to create old-style static archives.
6740 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6741 old_postinstall_cmds='chmod 644 $oldlib'
6742 old_postuninstall_cmds=
6744 if test -n "$RANLIB"; then
6745 case $host_os in
6746 openbsd*)
6747 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6750 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6752 esac
6753 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6756 case $host_os in
6757 darwin*)
6758 lock_old_archive_extraction=yes ;;
6760 lock_old_archive_extraction=no ;;
6761 esac
6801 # If no C compiler was specified, use CC.
6802 LTCC=${LTCC-"$CC"}
6804 # If no C compiler flags were specified, use CFLAGS.
6805 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6807 # Allow CC to be a program name with arguments.
6808 compiler=$CC
6811 # Check for command to grab the raw symbol name followed by C symbol from nm.
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6813 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6814 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6815 $as_echo_n "(cached) " >&6
6816 else
6818 # These are sane defaults that work on at least a few old systems.
6819 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6821 # Character class describing NM global symbol codes.
6822 symcode='[BCDEGRST]'
6824 # Regexp to match symbols that can be accessed directly from C.
6825 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6827 # Define system-specific variables.
6828 case $host_os in
6829 aix*)
6830 symcode='[BCDT]'
6832 cygwin* | mingw* | pw32* | cegcc*)
6833 symcode='[ABCDGISTW]'
6835 hpux*)
6836 if test "$host_cpu" = ia64; then
6837 symcode='[ABCDEGRST]'
6840 irix* | nonstopux*)
6841 symcode='[BCDEGRST]'
6843 osf*)
6844 symcode='[BCDEGQRST]'
6846 solaris*)
6847 symcode='[BDRT]'
6849 sco3.2v5*)
6850 symcode='[DT]'
6852 sysv4.2uw2*)
6853 symcode='[DT]'
6855 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6856 symcode='[ABDT]'
6858 sysv4)
6859 symcode='[DFNSTU]'
6861 esac
6863 # If we're using GNU nm, then use its standard symbol codes.
6864 case `$NM -V 2>&1` in
6865 *GNU* | *'with BFD'*)
6866 symcode='[ABCDGIRSTW]' ;;
6867 esac
6869 # Transform an extracted symbol line into a proper C declaration.
6870 # Some systems (esp. on ia64) link data and code symbols differently,
6871 # so use this general approach.
6872 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6874 # Transform an extracted symbol line into symbol name and symbol address
6875 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6876 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'"
6878 # Handle CRLF in mingw tool chain
6879 opt_cr=
6880 case $build_os in
6881 mingw*)
6882 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6884 esac
6886 # Try without a prefix underscore, then with it.
6887 for ac_symprfx in "" "_"; do
6889 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6890 symxfrm="\\1 $ac_symprfx\\2 \\2"
6892 # Write the raw and C identifiers.
6893 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6894 # Fake it for dumpbin and say T for any non-static function
6895 # and D for any global variable.
6896 # Also find C++ and __fastcall symbols from MSVC++,
6897 # which start with @ or ?.
6898 lt_cv_sys_global_symbol_pipe="$AWK '"\
6899 " {last_section=section; section=\$ 3};"\
6900 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6901 " \$ 0!~/External *\|/{next};"\
6902 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6903 " {if(hide[section]) next};"\
6904 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6905 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6906 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6907 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6908 " ' prfx=^$ac_symprfx"
6909 else
6910 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6913 # Check to see that the pipe works correctly.
6914 pipe_works=no
6916 rm -f conftest*
6917 cat > conftest.$ac_ext <<_LT_EOF
6918 #ifdef __cplusplus
6919 extern "C" {
6920 #endif
6921 char nm_test_var;
6922 void nm_test_func(void);
6923 void nm_test_func(void){}
6924 #ifdef __cplusplus
6926 #endif
6927 int main(){nm_test_var='a';nm_test_func();return(0);}
6928 _LT_EOF
6930 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6931 (eval $ac_compile) 2>&5
6932 ac_status=$?
6933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6934 test $ac_status = 0; }; then
6935 # Now try to grab the symbols.
6936 nlist=conftest.nm
6937 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6938 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6939 ac_status=$?
6940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6941 test $ac_status = 0; } && test -s "$nlist"; then
6942 # Try sorting and uniquifying the output.
6943 if sort "$nlist" | uniq > "$nlist"T; then
6944 mv -f "$nlist"T "$nlist"
6945 else
6946 rm -f "$nlist"T
6949 # Make sure that we snagged all the symbols we need.
6950 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6951 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6952 cat <<_LT_EOF > conftest.$ac_ext
6953 #ifdef __cplusplus
6954 extern "C" {
6955 #endif
6957 _LT_EOF
6958 # Now generate the symbol file.
6959 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6961 cat <<_LT_EOF >> conftest.$ac_ext
6963 /* The mapping between symbol names and symbols. */
6964 const struct {
6965 const char *name;
6966 void *address;
6968 lt__PROGRAM__LTX_preloaded_symbols[] =
6970 { "@PROGRAM@", (void *) 0 },
6971 _LT_EOF
6972 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6973 cat <<\_LT_EOF >> conftest.$ac_ext
6974 {0, (void *) 0}
6977 /* This works around a problem in FreeBSD linker */
6978 #ifdef FREEBSD_WORKAROUND
6979 static const void *lt_preloaded_setup() {
6980 return lt__PROGRAM__LTX_preloaded_symbols;
6982 #endif
6984 #ifdef __cplusplus
6986 #endif
6987 _LT_EOF
6988 # Now try linking the two files.
6989 mv conftest.$ac_objext conftstm.$ac_objext
6990 lt_save_LIBS="$LIBS"
6991 lt_save_CFLAGS="$CFLAGS"
6992 LIBS="conftstm.$ac_objext"
6993 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6994 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6995 (eval $ac_link) 2>&5
6996 ac_status=$?
6997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6998 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6999 pipe_works=yes
7001 LIBS="$lt_save_LIBS"
7002 CFLAGS="$lt_save_CFLAGS"
7003 else
7004 echo "cannot find nm_test_func in $nlist" >&5
7006 else
7007 echo "cannot find nm_test_var in $nlist" >&5
7009 else
7010 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7012 else
7013 echo "$progname: failed program was:" >&5
7014 cat conftest.$ac_ext >&5
7016 rm -rf conftest* conftst*
7018 # Do not use the global_symbol_pipe unless it works.
7019 if test "$pipe_works" = yes; then
7020 break
7021 else
7022 lt_cv_sys_global_symbol_pipe=
7024 done
7028 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7029 lt_cv_sys_global_symbol_to_cdecl=
7031 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7033 $as_echo "failed" >&6; }
7034 else
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7036 $as_echo "ok" >&6; }
7060 # Check whether --enable-libtool-lock was given.
7061 if test "${enable_libtool_lock+set}" = set; then :
7062 enableval=$enable_libtool_lock;
7065 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7067 # Some flags need to be propagated to the compiler or linker for good
7068 # libtool support.
7069 case $host in
7070 ia64-*-hpux*)
7071 # Find out which ABI we are using.
7072 echo 'int i;' > conftest.$ac_ext
7073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7074 (eval $ac_compile) 2>&5
7075 ac_status=$?
7076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7077 test $ac_status = 0; }; then
7078 case `/usr/bin/file conftest.$ac_objext` in
7079 *ELF-32*)
7080 HPUX_IA64_MODE="32"
7082 *ELF-64*)
7083 HPUX_IA64_MODE="64"
7085 esac
7087 rm -rf conftest*
7089 *-*-irix6*)
7090 # Find out which ABI we are using.
7091 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7093 (eval $ac_compile) 2>&5
7094 ac_status=$?
7095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7096 test $ac_status = 0; }; then
7097 if test "$lt_cv_prog_gnu_ld" = yes; then
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -melf32bsmip"
7102 *N32*)
7103 LD="${LD-ld} -melf32bmipn32"
7105 *64-bit*)
7106 LD="${LD-ld} -melf64bmip"
7108 esac
7109 else
7110 case `/usr/bin/file conftest.$ac_objext` in
7111 *32-bit*)
7112 LD="${LD-ld} -32"
7114 *N32*)
7115 LD="${LD-ld} -n32"
7117 *64-bit*)
7118 LD="${LD-ld} -64"
7120 esac
7123 rm -rf conftest*
7126 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7127 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7128 # Find out which ABI we are using.
7129 echo 'int i;' > conftest.$ac_ext
7130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7131 (eval $ac_compile) 2>&5
7132 ac_status=$?
7133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7134 test $ac_status = 0; }; then
7135 case `/usr/bin/file conftest.o` in
7136 *32-bit*)
7137 case $host in
7138 x86_64-*kfreebsd*-gnu)
7139 LD="${LD-ld} -m elf_i386_fbsd"
7141 x86_64-*linux*)
7142 case `/usr/bin/file conftest.o` in
7143 *x86-64*)
7144 LD="${LD-ld} -m elf32_x86_64"
7147 LD="${LD-ld} -m elf_i386"
7149 esac
7151 powerpc64le-*linux*)
7152 LD="${LD-ld} -m elf32lppclinux"
7154 powerpc64-*linux*)
7155 LD="${LD-ld} -m elf32ppclinux"
7157 s390x-*linux*)
7158 LD="${LD-ld} -m elf_s390"
7160 sparc64-*linux*)
7161 LD="${LD-ld} -m elf32_sparc"
7163 esac
7165 *64-bit*)
7166 case $host in
7167 x86_64-*kfreebsd*-gnu)
7168 LD="${LD-ld} -m elf_x86_64_fbsd"
7170 x86_64-*linux*)
7171 LD="${LD-ld} -m elf_x86_64"
7173 powerpcle-*linux*)
7174 LD="${LD-ld} -m elf64lppc"
7176 powerpc-*linux*)
7177 LD="${LD-ld} -m elf64ppc"
7179 s390*-*linux*|s390*-*tpf*)
7180 LD="${LD-ld} -m elf64_s390"
7182 sparc*-*linux*)
7183 LD="${LD-ld} -m elf64_sparc"
7185 esac
7187 esac
7189 rm -rf conftest*
7192 *-*-sco3.2v5*)
7193 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7194 SAVE_CFLAGS="$CFLAGS"
7195 CFLAGS="$CFLAGS -belf"
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7197 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7198 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7199 $as_echo_n "(cached) " >&6
7200 else
7201 ac_ext=c
7202 ac_cpp='$CPP $CPPFLAGS'
7203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7207 if test x$gcc_no_link = xyes; then
7208 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7214 main ()
7218 return 0;
7220 _ACEOF
7221 if ac_fn_c_try_link "$LINENO"; then :
7222 lt_cv_cc_needs_belf=yes
7223 else
7224 lt_cv_cc_needs_belf=no
7226 rm -f core conftest.err conftest.$ac_objext \
7227 conftest$ac_exeext conftest.$ac_ext
7228 ac_ext=c
7229 ac_cpp='$CPP $CPPFLAGS'
7230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7236 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7237 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7238 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7239 CFLAGS="$SAVE_CFLAGS"
7242 sparc*-*solaris*)
7243 # Find out which ABI we are using.
7244 echo 'int i;' > conftest.$ac_ext
7245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7246 (eval $ac_compile) 2>&5
7247 ac_status=$?
7248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7249 test $ac_status = 0; }; then
7250 case `/usr/bin/file conftest.o` in
7251 *64-bit*)
7252 case $lt_cv_prog_gnu_ld in
7253 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7255 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7256 LD="${LD-ld} -64"
7259 esac
7261 esac
7263 rm -rf conftest*
7265 esac
7267 need_locks="$enable_libtool_lock"
7270 case $host_os in
7271 rhapsody* | darwin*)
7272 if test -n "$ac_tool_prefix"; then
7273 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7274 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7276 $as_echo_n "checking for $ac_word... " >&6; }
7277 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7278 $as_echo_n "(cached) " >&6
7279 else
7280 if test -n "$DSYMUTIL"; then
7281 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7282 else
7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284 for as_dir in $PATH
7286 IFS=$as_save_IFS
7287 test -z "$as_dir" && as_dir=.
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7290 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 break 2
7294 done
7295 done
7296 IFS=$as_save_IFS
7300 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7301 if test -n "$DSYMUTIL"; then
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7303 $as_echo "$DSYMUTIL" >&6; }
7304 else
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 $as_echo "no" >&6; }
7311 if test -z "$ac_cv_prog_DSYMUTIL"; then
7312 ac_ct_DSYMUTIL=$DSYMUTIL
7313 # Extract the first word of "dsymutil", so it can be a program name with args.
7314 set dummy dsymutil; ac_word=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 $as_echo_n "checking for $ac_word... " >&6; }
7317 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7318 $as_echo_n "(cached) " >&6
7319 else
7320 if test -n "$ac_ct_DSYMUTIL"; then
7321 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7322 else
7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324 for as_dir in $PATH
7326 IFS=$as_save_IFS
7327 test -z "$as_dir" && as_dir=.
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7330 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332 break 2
7334 done
7335 done
7336 IFS=$as_save_IFS
7340 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7341 if test -n "$ac_ct_DSYMUTIL"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7343 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7344 else
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7349 if test "x$ac_ct_DSYMUTIL" = x; then
7350 DSYMUTIL=":"
7351 else
7352 case $cross_compiling:$ac_tool_warned in
7353 yes:)
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7356 ac_tool_warned=yes ;;
7357 esac
7358 DSYMUTIL=$ac_ct_DSYMUTIL
7360 else
7361 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7364 if test -n "$ac_tool_prefix"; then
7365 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7366 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 $as_echo_n "checking for $ac_word... " >&6; }
7369 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7370 $as_echo_n "(cached) " >&6
7371 else
7372 if test -n "$NMEDIT"; then
7373 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7374 else
7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7376 for as_dir in $PATH
7378 IFS=$as_save_IFS
7379 test -z "$as_dir" && as_dir=.
7380 for ac_exec_ext in '' $ac_executable_extensions; do
7381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7382 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 break 2
7386 done
7387 done
7388 IFS=$as_save_IFS
7392 NMEDIT=$ac_cv_prog_NMEDIT
7393 if test -n "$NMEDIT"; then
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7395 $as_echo "$NMEDIT" >&6; }
7396 else
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7398 $as_echo "no" >&6; }
7403 if test -z "$ac_cv_prog_NMEDIT"; then
7404 ac_ct_NMEDIT=$NMEDIT
7405 # Extract the first word of "nmedit", so it can be a program name with args.
7406 set dummy nmedit; ac_word=$2
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7408 $as_echo_n "checking for $ac_word... " >&6; }
7409 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7410 $as_echo_n "(cached) " >&6
7411 else
7412 if test -n "$ac_ct_NMEDIT"; then
7413 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7414 else
7415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7416 for as_dir in $PATH
7418 IFS=$as_save_IFS
7419 test -z "$as_dir" && as_dir=.
7420 for ac_exec_ext in '' $ac_executable_extensions; do
7421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7422 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7424 break 2
7426 done
7427 done
7428 IFS=$as_save_IFS
7432 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7433 if test -n "$ac_ct_NMEDIT"; then
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7435 $as_echo "$ac_ct_NMEDIT" >&6; }
7436 else
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7438 $as_echo "no" >&6; }
7441 if test "x$ac_ct_NMEDIT" = x; then
7442 NMEDIT=":"
7443 else
7444 case $cross_compiling:$ac_tool_warned in
7445 yes:)
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7448 ac_tool_warned=yes ;;
7449 esac
7450 NMEDIT=$ac_ct_NMEDIT
7452 else
7453 NMEDIT="$ac_cv_prog_NMEDIT"
7456 if test -n "$ac_tool_prefix"; then
7457 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7458 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if test "${ac_cv_prog_LIPO+set}" = set; then :
7462 $as_echo_n "(cached) " >&6
7463 else
7464 if test -n "$LIPO"; then
7465 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7466 else
7467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468 for as_dir in $PATH
7470 IFS=$as_save_IFS
7471 test -z "$as_dir" && as_dir=.
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7474 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 break 2
7478 done
7479 done
7480 IFS=$as_save_IFS
7484 LIPO=$ac_cv_prog_LIPO
7485 if test -n "$LIPO"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7487 $as_echo "$LIPO" >&6; }
7488 else
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7495 if test -z "$ac_cv_prog_LIPO"; then
7496 ac_ct_LIPO=$LIPO
7497 # Extract the first word of "lipo", so it can be a program name with args.
7498 set dummy lipo; ac_word=$2
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7500 $as_echo_n "checking for $ac_word... " >&6; }
7501 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7502 $as_echo_n "(cached) " >&6
7503 else
7504 if test -n "$ac_ct_LIPO"; then
7505 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7506 else
7507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508 for as_dir in $PATH
7510 IFS=$as_save_IFS
7511 test -z "$as_dir" && as_dir=.
7512 for ac_exec_ext in '' $ac_executable_extensions; do
7513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7514 ac_cv_prog_ac_ct_LIPO="lipo"
7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 break 2
7518 done
7519 done
7520 IFS=$as_save_IFS
7524 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7525 if test -n "$ac_ct_LIPO"; then
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7527 $as_echo "$ac_ct_LIPO" >&6; }
7528 else
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7530 $as_echo "no" >&6; }
7533 if test "x$ac_ct_LIPO" = x; then
7534 LIPO=":"
7535 else
7536 case $cross_compiling:$ac_tool_warned in
7537 yes:)
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7540 ac_tool_warned=yes ;;
7541 esac
7542 LIPO=$ac_ct_LIPO
7544 else
7545 LIPO="$ac_cv_prog_LIPO"
7548 if test -n "$ac_tool_prefix"; then
7549 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7550 set dummy ${ac_tool_prefix}otool; ac_word=$2
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7552 $as_echo_n "checking for $ac_word... " >&6; }
7553 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7554 $as_echo_n "(cached) " >&6
7555 else
7556 if test -n "$OTOOL"; then
7557 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7558 else
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 for as_dir in $PATH
7562 IFS=$as_save_IFS
7563 test -z "$as_dir" && as_dir=.
7564 for ac_exec_ext in '' $ac_executable_extensions; do
7565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7566 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 break 2
7570 done
7571 done
7572 IFS=$as_save_IFS
7576 OTOOL=$ac_cv_prog_OTOOL
7577 if test -n "$OTOOL"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7579 $as_echo "$OTOOL" >&6; }
7580 else
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7587 if test -z "$ac_cv_prog_OTOOL"; then
7588 ac_ct_OTOOL=$OTOOL
7589 # Extract the first word of "otool", so it can be a program name with args.
7590 set dummy otool; ac_word=$2
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7592 $as_echo_n "checking for $ac_word... " >&6; }
7593 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7594 $as_echo_n "(cached) " >&6
7595 else
7596 if test -n "$ac_ct_OTOOL"; then
7597 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7598 else
7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 for as_dir in $PATH
7602 IFS=$as_save_IFS
7603 test -z "$as_dir" && as_dir=.
7604 for ac_exec_ext in '' $ac_executable_extensions; do
7605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7606 ac_cv_prog_ac_ct_OTOOL="otool"
7607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 break 2
7610 done
7611 done
7612 IFS=$as_save_IFS
7616 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7617 if test -n "$ac_ct_OTOOL"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7619 $as_echo "$ac_ct_OTOOL" >&6; }
7620 else
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7622 $as_echo "no" >&6; }
7625 if test "x$ac_ct_OTOOL" = x; then
7626 OTOOL=":"
7627 else
7628 case $cross_compiling:$ac_tool_warned in
7629 yes:)
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7632 ac_tool_warned=yes ;;
7633 esac
7634 OTOOL=$ac_ct_OTOOL
7636 else
7637 OTOOL="$ac_cv_prog_OTOOL"
7640 if test -n "$ac_tool_prefix"; then
7641 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7642 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7644 $as_echo_n "checking for $ac_word... " >&6; }
7645 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7646 $as_echo_n "(cached) " >&6
7647 else
7648 if test -n "$OTOOL64"; then
7649 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7650 else
7651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652 for as_dir in $PATH
7654 IFS=$as_save_IFS
7655 test -z "$as_dir" && as_dir=.
7656 for ac_exec_ext in '' $ac_executable_extensions; do
7657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7658 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7660 break 2
7662 done
7663 done
7664 IFS=$as_save_IFS
7668 OTOOL64=$ac_cv_prog_OTOOL64
7669 if test -n "$OTOOL64"; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7671 $as_echo "$OTOOL64" >&6; }
7672 else
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7674 $as_echo "no" >&6; }
7679 if test -z "$ac_cv_prog_OTOOL64"; then
7680 ac_ct_OTOOL64=$OTOOL64
7681 # Extract the first word of "otool64", so it can be a program name with args.
7682 set dummy otool64; ac_word=$2
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7684 $as_echo_n "checking for $ac_word... " >&6; }
7685 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7686 $as_echo_n "(cached) " >&6
7687 else
7688 if test -n "$ac_ct_OTOOL64"; then
7689 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7690 else
7691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692 for as_dir in $PATH
7694 IFS=$as_save_IFS
7695 test -z "$as_dir" && as_dir=.
7696 for ac_exec_ext in '' $ac_executable_extensions; do
7697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7698 ac_cv_prog_ac_ct_OTOOL64="otool64"
7699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7700 break 2
7702 done
7703 done
7704 IFS=$as_save_IFS
7708 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7709 if test -n "$ac_ct_OTOOL64"; then
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7711 $as_echo "$ac_ct_OTOOL64" >&6; }
7712 else
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7714 $as_echo "no" >&6; }
7717 if test "x$ac_ct_OTOOL64" = x; then
7718 OTOOL64=":"
7719 else
7720 case $cross_compiling:$ac_tool_warned in
7721 yes:)
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7724 ac_tool_warned=yes ;;
7725 esac
7726 OTOOL64=$ac_ct_OTOOL64
7728 else
7729 OTOOL64="$ac_cv_prog_OTOOL64"
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7759 $as_echo_n "checking for -single_module linker flag... " >&6; }
7760 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7761 $as_echo_n "(cached) " >&6
7762 else
7763 lt_cv_apple_cc_single_mod=no
7764 if test -z "${LT_MULTI_MODULE}"; then
7765 # By default we will add the -single_module flag. You can override
7766 # by either setting the environment variable LT_MULTI_MODULE
7767 # non-empty at configure time, or by adding -multi_module to the
7768 # link flags.
7769 rm -rf libconftest.dylib*
7770 echo "int foo(void){return 1;}" > conftest.c
7771 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7772 -dynamiclib -Wl,-single_module conftest.c" >&5
7773 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7774 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7775 _lt_result=$?
7776 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7777 lt_cv_apple_cc_single_mod=yes
7778 else
7779 cat conftest.err >&5
7781 rm -rf libconftest.dylib*
7782 rm -f conftest.*
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7786 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7788 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7789 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7790 $as_echo_n "(cached) " >&6
7791 else
7792 lt_cv_ld_exported_symbols_list=no
7793 save_LDFLAGS=$LDFLAGS
7794 echo "_main" > conftest.sym
7795 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7796 if test x$gcc_no_link = xyes; then
7797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h. */
7803 main ()
7807 return 0;
7809 _ACEOF
7810 if ac_fn_c_try_link "$LINENO"; then :
7811 lt_cv_ld_exported_symbols_list=yes
7812 else
7813 lt_cv_ld_exported_symbols_list=no
7815 rm -f core conftest.err conftest.$ac_objext \
7816 conftest$ac_exeext conftest.$ac_ext
7817 LDFLAGS="$save_LDFLAGS"
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7821 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7823 $as_echo_n "checking for -force_load linker flag... " >&6; }
7824 if test "${lt_cv_ld_force_load+set}" = set; then :
7825 $as_echo_n "(cached) " >&6
7826 else
7827 lt_cv_ld_force_load=no
7828 cat > conftest.c << _LT_EOF
7829 int forced_loaded() { return 2;}
7830 _LT_EOF
7831 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7832 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7833 echo "$AR cru libconftest.a conftest.o" >&5
7834 $AR cru libconftest.a conftest.o 2>&5
7835 cat > conftest.c << _LT_EOF
7836 int main() { return 0;}
7837 _LT_EOF
7838 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7839 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7840 _lt_result=$?
7841 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7842 lt_cv_ld_force_load=yes
7843 else
7844 cat conftest.err >&5
7846 rm -f conftest.err libconftest.a conftest conftest.c
7847 rm -rf conftest.dSYM
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7851 $as_echo "$lt_cv_ld_force_load" >&6; }
7852 case $host_os in
7853 rhapsody* | darwin1.[012])
7854 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7855 darwin1.*)
7856 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7857 darwin*) # darwin 5.x on
7858 # if running on 10.5 or later, the deployment target defaults
7859 # to the OS version, if on x86, and 10.4, the deployment
7860 # target defaults to 10.4. Don't you love it?
7861 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7862 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7863 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7864 10.[012][,.]*)
7865 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7866 10.*)
7867 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7868 esac
7870 esac
7871 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7872 _lt_dar_single_mod='$single_module'
7874 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7875 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7876 else
7877 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7879 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7880 _lt_dsymutil='~$DSYMUTIL $lib || :'
7881 else
7882 _lt_dsymutil=
7885 esac
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7888 $as_echo_n "checking for ANSI C header files... " >&6; }
7889 if test "${ac_cv_header_stdc+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7891 else
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7894 #include <stdlib.h>
7895 #include <stdarg.h>
7896 #include <string.h>
7897 #include <float.h>
7900 main ()
7904 return 0;
7906 _ACEOF
7907 if ac_fn_c_try_compile "$LINENO"; then :
7908 ac_cv_header_stdc=yes
7909 else
7910 ac_cv_header_stdc=no
7912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7914 if test $ac_cv_header_stdc = yes; then
7915 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7917 /* end confdefs.h. */
7918 #include <string.h>
7920 _ACEOF
7921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7922 $EGREP "memchr" >/dev/null 2>&1; then :
7924 else
7925 ac_cv_header_stdc=no
7927 rm -f conftest*
7931 if test $ac_cv_header_stdc = yes; then
7932 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7934 /* end confdefs.h. */
7935 #include <stdlib.h>
7937 _ACEOF
7938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7939 $EGREP "free" >/dev/null 2>&1; then :
7941 else
7942 ac_cv_header_stdc=no
7944 rm -f conftest*
7948 if test $ac_cv_header_stdc = yes; then
7949 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7950 if test "$cross_compiling" = yes; then :
7952 else
7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954 /* end confdefs.h. */
7955 #include <ctype.h>
7956 #include <stdlib.h>
7957 #if ((' ' & 0x0FF) == 0x020)
7958 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7959 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7960 #else
7961 # define ISLOWER(c) \
7962 (('a' <= (c) && (c) <= 'i') \
7963 || ('j' <= (c) && (c) <= 'r') \
7964 || ('s' <= (c) && (c) <= 'z'))
7965 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7966 #endif
7968 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7970 main ()
7972 int i;
7973 for (i = 0; i < 256; i++)
7974 if (XOR (islower (i), ISLOWER (i))
7975 || toupper (i) != TOUPPER (i))
7976 return 2;
7977 return 0;
7979 _ACEOF
7980 if ac_fn_c_try_run "$LINENO"; then :
7982 else
7983 ac_cv_header_stdc=no
7985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7986 conftest.$ac_objext conftest.beam conftest.$ac_ext
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7992 $as_echo "$ac_cv_header_stdc" >&6; }
7993 if test $ac_cv_header_stdc = yes; then
7995 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7999 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8000 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8001 inttypes.h stdint.h unistd.h
8002 do :
8003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8004 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8006 eval as_val=\$$as_ac_Header
8007 if test "x$as_val" = x""yes; then :
8008 cat >>confdefs.h <<_ACEOF
8009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8010 _ACEOF
8014 done
8017 for ac_header in dlfcn.h
8018 do :
8019 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8021 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8022 cat >>confdefs.h <<_ACEOF
8023 #define HAVE_DLFCN_H 1
8024 _ACEOF
8028 done
8035 # Set options
8040 enable_win32_dll=no
8043 # Check whether --enable-shared was given.
8044 if test "${enable_shared+set}" = set; then :
8045 enableval=$enable_shared; p=${PACKAGE-default}
8046 case $enableval in
8047 yes) enable_shared=yes ;;
8048 no) enable_shared=no ;;
8050 enable_shared=no
8051 # Look at the argument we got. We use all the common list separators.
8052 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8053 for pkg in $enableval; do
8054 IFS="$lt_save_ifs"
8055 if test "X$pkg" = "X$p"; then
8056 enable_shared=yes
8058 done
8059 IFS="$lt_save_ifs"
8061 esac
8062 else
8063 enable_shared=yes
8074 # Check whether --enable-static was given.
8075 if test "${enable_static+set}" = set; then :
8076 enableval=$enable_static; p=${PACKAGE-default}
8077 case $enableval in
8078 yes) enable_static=yes ;;
8079 no) enable_static=no ;;
8081 enable_static=no
8082 # Look at the argument we got. We use all the common list separators.
8083 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8084 for pkg in $enableval; do
8085 IFS="$lt_save_ifs"
8086 if test "X$pkg" = "X$p"; then
8087 enable_static=yes
8089 done
8090 IFS="$lt_save_ifs"
8092 esac
8093 else
8094 enable_static=yes
8106 # Check whether --with-pic was given.
8107 if test "${with_pic+set}" = set; then :
8108 withval=$with_pic; pic_mode="$withval"
8109 else
8110 pic_mode=default
8114 test -z "$pic_mode" && pic_mode=default
8122 # Check whether --enable-fast-install was given.
8123 if test "${enable_fast_install+set}" = set; then :
8124 enableval=$enable_fast_install; p=${PACKAGE-default}
8125 case $enableval in
8126 yes) enable_fast_install=yes ;;
8127 no) enable_fast_install=no ;;
8129 enable_fast_install=no
8130 # Look at the argument we got. We use all the common list separators.
8131 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8132 for pkg in $enableval; do
8133 IFS="$lt_save_ifs"
8134 if test "X$pkg" = "X$p"; then
8135 enable_fast_install=yes
8137 done
8138 IFS="$lt_save_ifs"
8140 esac
8141 else
8142 enable_fast_install=yes
8155 # This can be used to rebuild libtool when needed
8156 LIBTOOL_DEPS="$ltmain"
8158 # Always use our own libtool.
8159 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8186 test -z "$LN_S" && LN_S="ln -s"
8201 if test -n "${ZSH_VERSION+set}" ; then
8202 setopt NO_GLOB_SUBST
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8206 $as_echo_n "checking for objdir... " >&6; }
8207 if test "${lt_cv_objdir+set}" = set; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 rm -f .libs 2>/dev/null
8211 mkdir .libs 2>/dev/null
8212 if test -d .libs; then
8213 lt_cv_objdir=.libs
8214 else
8215 # MS-DOS does not allow filenames that begin with a dot.
8216 lt_cv_objdir=_libs
8218 rmdir .libs 2>/dev/null
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8221 $as_echo "$lt_cv_objdir" >&6; }
8222 objdir=$lt_cv_objdir
8228 cat >>confdefs.h <<_ACEOF
8229 #define LT_OBJDIR "$lt_cv_objdir/"
8230 _ACEOF
8235 case $host_os in
8236 aix3*)
8237 # AIX sometimes has problems with the GCC collect2 program. For some
8238 # reason, if we set the COLLECT_NAMES environment variable, the problems
8239 # vanish in a puff of smoke.
8240 if test "X${COLLECT_NAMES+set}" != Xset; then
8241 COLLECT_NAMES=
8242 export COLLECT_NAMES
8245 esac
8247 # Global variables:
8248 ofile=libtool
8249 can_build_shared=yes
8251 # All known linkers require a `.a' archive for static linking (except MSVC,
8252 # which needs '.lib').
8253 libext=a
8255 with_gnu_ld="$lt_cv_prog_gnu_ld"
8257 old_CC="$CC"
8258 old_CFLAGS="$CFLAGS"
8260 # Set sane defaults for various variables
8261 test -z "$CC" && CC=cc
8262 test -z "$LTCC" && LTCC=$CC
8263 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8264 test -z "$LD" && LD=ld
8265 test -z "$ac_objext" && ac_objext=o
8267 for cc_temp in $compiler""; do
8268 case $cc_temp in
8269 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8270 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8271 \-*) ;;
8272 *) break;;
8273 esac
8274 done
8275 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8278 # Only perform the check for file, if the check method requires it
8279 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8280 case $deplibs_check_method in
8281 file_magic*)
8282 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8284 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8285 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8286 $as_echo_n "(cached) " >&6
8287 else
8288 case $MAGIC_CMD in
8289 [\\/*] | ?:[\\/]*)
8290 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8293 lt_save_MAGIC_CMD="$MAGIC_CMD"
8294 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8295 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8296 for ac_dir in $ac_dummy; do
8297 IFS="$lt_save_ifs"
8298 test -z "$ac_dir" && ac_dir=.
8299 if test -f $ac_dir/${ac_tool_prefix}file; then
8300 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8301 if test -n "$file_magic_test_file"; then
8302 case $deplibs_check_method in
8303 "file_magic "*)
8304 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8305 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8306 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8307 $EGREP "$file_magic_regex" > /dev/null; then
8309 else
8310 cat <<_LT_EOF 1>&2
8312 *** Warning: the command libtool uses to detect shared libraries,
8313 *** $file_magic_cmd, produces output that libtool cannot recognize.
8314 *** The result is that libtool may fail to recognize shared libraries
8315 *** as such. This will affect the creation of libtool libraries that
8316 *** depend on shared libraries, but programs linked with such libtool
8317 *** libraries will work regardless of this problem. Nevertheless, you
8318 *** may want to report the problem to your system manager and/or to
8319 *** bug-libtool@gnu.org
8321 _LT_EOF
8322 fi ;;
8323 esac
8325 break
8327 done
8328 IFS="$lt_save_ifs"
8329 MAGIC_CMD="$lt_save_MAGIC_CMD"
8331 esac
8334 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8335 if test -n "$MAGIC_CMD"; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8337 $as_echo "$MAGIC_CMD" >&6; }
8338 else
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8340 $as_echo "no" >&6; }
8347 if test -z "$lt_cv_path_MAGIC_CMD"; then
8348 if test -n "$ac_tool_prefix"; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8350 $as_echo_n "checking for file... " >&6; }
8351 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 case $MAGIC_CMD in
8355 [\\/*] | ?:[\\/]*)
8356 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8359 lt_save_MAGIC_CMD="$MAGIC_CMD"
8360 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8361 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8362 for ac_dir in $ac_dummy; do
8363 IFS="$lt_save_ifs"
8364 test -z "$ac_dir" && ac_dir=.
8365 if test -f $ac_dir/file; then
8366 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8367 if test -n "$file_magic_test_file"; then
8368 case $deplibs_check_method in
8369 "file_magic "*)
8370 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8371 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8372 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8373 $EGREP "$file_magic_regex" > /dev/null; then
8375 else
8376 cat <<_LT_EOF 1>&2
8378 *** Warning: the command libtool uses to detect shared libraries,
8379 *** $file_magic_cmd, produces output that libtool cannot recognize.
8380 *** The result is that libtool may fail to recognize shared libraries
8381 *** as such. This will affect the creation of libtool libraries that
8382 *** depend on shared libraries, but programs linked with such libtool
8383 *** libraries will work regardless of this problem. Nevertheless, you
8384 *** may want to report the problem to your system manager and/or to
8385 *** bug-libtool@gnu.org
8387 _LT_EOF
8388 fi ;;
8389 esac
8391 break
8393 done
8394 IFS="$lt_save_ifs"
8395 MAGIC_CMD="$lt_save_MAGIC_CMD"
8397 esac
8400 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8401 if test -n "$MAGIC_CMD"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8403 $as_echo "$MAGIC_CMD" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8406 $as_echo "no" >&6; }
8410 else
8411 MAGIC_CMD=:
8417 esac
8419 # Use C for the default configuration in the libtool script
8421 lt_save_CC="$CC"
8422 ac_ext=c
8423 ac_cpp='$CPP $CPPFLAGS'
8424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8429 # Source file extension for C test sources.
8430 ac_ext=c
8432 # Object file extension for compiled C test sources.
8433 objext=o
8434 objext=$objext
8436 # Code to be used in simple compile tests
8437 lt_simple_compile_test_code="int some_variable = 0;"
8439 # Code to be used in simple link tests
8440 lt_simple_link_test_code='int main(){return(0);}'
8448 # If no C compiler was specified, use CC.
8449 LTCC=${LTCC-"$CC"}
8451 # If no C compiler flags were specified, use CFLAGS.
8452 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8454 # Allow CC to be a program name with arguments.
8455 compiler=$CC
8457 # Save the default compiler, since it gets overwritten when the other
8458 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8459 compiler_DEFAULT=$CC
8461 # save warnings/boilerplate of simple test code
8462 ac_outfile=conftest.$ac_objext
8463 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8464 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8465 _lt_compiler_boilerplate=`cat conftest.err`
8466 $RM conftest*
8468 ac_outfile=conftest.$ac_objext
8469 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8470 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8471 _lt_linker_boilerplate=`cat conftest.err`
8472 $RM -r conftest*
8475 ## CAVEAT EMPTOR:
8476 ## There is no encapsulation within the following macros, do not change
8477 ## the running order or otherwise move them around unless you know exactly
8478 ## what you are doing...
8479 if test -n "$compiler"; then
8481 lt_prog_compiler_no_builtin_flag=
8483 if test "$GCC" = yes; then
8484 case $cc_basename in
8485 nvcc*)
8486 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8488 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8489 esac
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8492 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8493 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8494 $as_echo_n "(cached) " >&6
8495 else
8496 lt_cv_prog_compiler_rtti_exceptions=no
8497 ac_outfile=conftest.$ac_objext
8498 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8499 lt_compiler_flag="-fno-rtti -fno-exceptions"
8500 # Insert the option either (1) after the last *FLAGS variable, or
8501 # (2) before a word containing "conftest.", or (3) at the end.
8502 # Note that $ac_compile itself does not contain backslashes and begins
8503 # with a dollar sign (not a hyphen), so the echo should work correctly.
8504 # The option is referenced via a variable to avoid confusing sed.
8505 lt_compile=`echo "$ac_compile" | $SED \
8506 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8507 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8508 -e 's:$: $lt_compiler_flag:'`
8509 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8510 (eval "$lt_compile" 2>conftest.err)
8511 ac_status=$?
8512 cat conftest.err >&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 if (exit $ac_status) && test -s "$ac_outfile"; then
8515 # The compiler can only warn and ignore the option if not recognized
8516 # So say no if there are warnings other than the usual output.
8517 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8518 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8519 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8520 lt_cv_prog_compiler_rtti_exceptions=yes
8523 $RM conftest*
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8527 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8529 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8530 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8531 else
8542 lt_prog_compiler_wl=
8543 lt_prog_compiler_pic=
8544 lt_prog_compiler_static=
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8547 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8549 if test "$GCC" = yes; then
8550 lt_prog_compiler_wl='-Wl,'
8551 lt_prog_compiler_static='-static'
8553 case $host_os in
8554 aix*)
8555 # All AIX code is PIC.
8556 if test "$host_cpu" = ia64; then
8557 # AIX 5 now supports IA64 processor
8558 lt_prog_compiler_static='-Bstatic'
8560 lt_prog_compiler_pic='-fPIC'
8563 amigaos*)
8564 case $host_cpu in
8565 powerpc)
8566 # see comment about AmigaOS4 .so support
8567 lt_prog_compiler_pic='-fPIC'
8569 m68k)
8570 # FIXME: we need at least 68020 code to build shared libraries, but
8571 # adding the `-m68020' flag to GCC prevents building anything better,
8572 # like `-m68040'.
8573 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8575 esac
8578 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8579 # PIC is the default for these OSes.
8582 mingw* | cygwin* | pw32* | os2* | cegcc*)
8583 # This hack is so that the source file can tell whether it is being
8584 # built for inclusion in a dll (and should export symbols for example).
8585 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8586 # (--disable-auto-import) libraries
8587 lt_prog_compiler_pic='-DDLL_EXPORT'
8590 darwin* | rhapsody*)
8591 # PIC is the default on this platform
8592 # Common symbols not allowed in MH_DYLIB files
8593 lt_prog_compiler_pic='-fno-common'
8596 haiku*)
8597 # PIC is the default for Haiku.
8598 # The "-static" flag exists, but is broken.
8599 lt_prog_compiler_static=
8602 hpux*)
8603 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8604 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8605 # sets the default TLS model and affects inlining.
8606 case $host_cpu in
8607 hppa*64*)
8608 # +Z the default
8611 lt_prog_compiler_pic='-fPIC'
8613 esac
8616 interix[3-9]*)
8617 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8618 # Instead, we relocate shared libraries at runtime.
8621 msdosdjgpp*)
8622 # Just because we use GCC doesn't mean we suddenly get shared libraries
8623 # on systems that don't support them.
8624 lt_prog_compiler_can_build_shared=no
8625 enable_shared=no
8628 *nto* | *qnx*)
8629 # QNX uses GNU C++, but need to define -shared option too, otherwise
8630 # it will coredump.
8631 lt_prog_compiler_pic='-fPIC -shared'
8634 sysv4*MP*)
8635 if test -d /usr/nec; then
8636 lt_prog_compiler_pic=-Kconform_pic
8641 lt_prog_compiler_pic='-fPIC'
8643 esac
8645 case $cc_basename in
8646 nvcc*) # Cuda Compiler Driver 2.2
8647 lt_prog_compiler_wl='-Xlinker '
8648 lt_prog_compiler_pic='-Xcompiler -fPIC'
8650 esac
8651 else
8652 # PORTME Check for flag to pass linker flags through the system compiler.
8653 case $host_os in
8654 aix*)
8655 lt_prog_compiler_wl='-Wl,'
8656 if test "$host_cpu" = ia64; then
8657 # AIX 5 now supports IA64 processor
8658 lt_prog_compiler_static='-Bstatic'
8659 else
8660 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8664 mingw* | cygwin* | pw32* | os2* | cegcc*)
8665 # This hack is so that the source file can tell whether it is being
8666 # built for inclusion in a dll (and should export symbols for example).
8667 lt_prog_compiler_pic='-DDLL_EXPORT'
8670 hpux9* | hpux10* | hpux11*)
8671 lt_prog_compiler_wl='-Wl,'
8672 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8673 # not for PA HP-UX.
8674 case $host_cpu in
8675 hppa*64*|ia64*)
8676 # +Z the default
8679 lt_prog_compiler_pic='+Z'
8681 esac
8682 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8683 lt_prog_compiler_static='${wl}-a ${wl}archive'
8686 irix5* | irix6* | nonstopux*)
8687 lt_prog_compiler_wl='-Wl,'
8688 # PIC (with -KPIC) is the default.
8689 lt_prog_compiler_static='-non_shared'
8692 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8693 case $cc_basename in
8694 # old Intel for x86_64 which still supported -KPIC.
8695 ecc*)
8696 lt_prog_compiler_wl='-Wl,'
8697 lt_prog_compiler_pic='-KPIC'
8698 lt_prog_compiler_static='-static'
8700 # icc used to be incompatible with GCC.
8701 # ICC 10 doesn't accept -KPIC any more.
8702 icc* | ifort*)
8703 lt_prog_compiler_wl='-Wl,'
8704 lt_prog_compiler_pic='-fPIC'
8705 lt_prog_compiler_static='-static'
8707 # Lahey Fortran 8.1.
8708 lf95*)
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='--shared'
8711 lt_prog_compiler_static='--static'
8713 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8714 # Portland Group compilers (*not* the Pentium gcc compiler,
8715 # which looks to be a dead project)
8716 lt_prog_compiler_wl='-Wl,'
8717 lt_prog_compiler_pic='-fpic'
8718 lt_prog_compiler_static='-Bstatic'
8720 ccc*)
8721 lt_prog_compiler_wl='-Wl,'
8722 # All Alpha code is PIC.
8723 lt_prog_compiler_static='-non_shared'
8725 xl* | bgxl* | bgf* | mpixl*)
8726 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_pic='-qpic'
8729 lt_prog_compiler_static='-qstaticlink'
8732 case `$CC -V 2>&1 | sed 5q` in
8733 *Sun\ F* | *Sun*Fortran*)
8734 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8735 lt_prog_compiler_pic='-KPIC'
8736 lt_prog_compiler_static='-Bstatic'
8737 lt_prog_compiler_wl=''
8739 *Sun\ C*)
8740 # Sun C 5.9
8741 lt_prog_compiler_pic='-KPIC'
8742 lt_prog_compiler_static='-Bstatic'
8743 lt_prog_compiler_wl='-Wl,'
8745 esac
8747 esac
8750 newsos6)
8751 lt_prog_compiler_pic='-KPIC'
8752 lt_prog_compiler_static='-Bstatic'
8755 *nto* | *qnx*)
8756 # QNX uses GNU C++, but need to define -shared option too, otherwise
8757 # it will coredump.
8758 lt_prog_compiler_pic='-fPIC -shared'
8761 osf3* | osf4* | osf5*)
8762 lt_prog_compiler_wl='-Wl,'
8763 # All OSF/1 code is PIC.
8764 lt_prog_compiler_static='-non_shared'
8767 rdos*)
8768 lt_prog_compiler_static='-non_shared'
8771 solaris*)
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8774 case $cc_basename in
8775 f77* | f90* | f95*)
8776 lt_prog_compiler_wl='-Qoption ld ';;
8778 lt_prog_compiler_wl='-Wl,';;
8779 esac
8782 sunos4*)
8783 lt_prog_compiler_wl='-Qoption ld '
8784 lt_prog_compiler_pic='-PIC'
8785 lt_prog_compiler_static='-Bstatic'
8788 sysv4 | sysv4.2uw2* | sysv4.3*)
8789 lt_prog_compiler_wl='-Wl,'
8790 lt_prog_compiler_pic='-KPIC'
8791 lt_prog_compiler_static='-Bstatic'
8794 sysv4*MP*)
8795 if test -d /usr/nec ;then
8796 lt_prog_compiler_pic='-Kconform_pic'
8797 lt_prog_compiler_static='-Bstatic'
8801 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8802 lt_prog_compiler_wl='-Wl,'
8803 lt_prog_compiler_pic='-KPIC'
8804 lt_prog_compiler_static='-Bstatic'
8807 unicos*)
8808 lt_prog_compiler_wl='-Wl,'
8809 lt_prog_compiler_can_build_shared=no
8812 uts4*)
8813 lt_prog_compiler_pic='-pic'
8814 lt_prog_compiler_static='-Bstatic'
8818 lt_prog_compiler_can_build_shared=no
8820 esac
8823 case $host_os in
8824 # For platforms which do not support PIC, -DPIC is meaningless:
8825 *djgpp*)
8826 lt_prog_compiler_pic=
8829 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8831 esac
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8833 $as_echo "$lt_prog_compiler_pic" >&6; }
8841 # Check to make sure the PIC flag actually works.
8843 if test -n "$lt_prog_compiler_pic"; then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8845 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8846 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8847 $as_echo_n "(cached) " >&6
8848 else
8849 lt_cv_prog_compiler_pic_works=no
8850 ac_outfile=conftest.$ac_objext
8851 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8852 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8853 # Insert the option either (1) after the last *FLAGS variable, or
8854 # (2) before a word containing "conftest.", or (3) at the end.
8855 # Note that $ac_compile itself does not contain backslashes and begins
8856 # with a dollar sign (not a hyphen), so the echo should work correctly.
8857 # The option is referenced via a variable to avoid confusing sed.
8858 lt_compile=`echo "$ac_compile" | $SED \
8859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8861 -e 's:$: $lt_compiler_flag:'`
8862 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8863 (eval "$lt_compile" 2>conftest.err)
8864 ac_status=$?
8865 cat conftest.err >&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 if (exit $ac_status) && test -s "$ac_outfile"; then
8868 # The compiler can only warn and ignore the option if not recognized
8869 # So say no if there are warnings other than the usual output.
8870 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8871 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8872 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8873 lt_cv_prog_compiler_pic_works=yes
8876 $RM conftest*
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8880 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8882 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8883 case $lt_prog_compiler_pic in
8884 "" | " "*) ;;
8885 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8886 esac
8887 else
8888 lt_prog_compiler_pic=
8889 lt_prog_compiler_can_build_shared=no
8900 # Check to make sure the static flag actually works.
8902 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8904 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8905 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8907 else
8908 lt_cv_prog_compiler_static_works=no
8909 save_LDFLAGS="$LDFLAGS"
8910 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8911 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8912 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8913 # The linker can only warn and ignore the option if not recognized
8914 # So say no if there are warnings
8915 if test -s conftest.err; then
8916 # Append any errors to the config.log.
8917 cat conftest.err 1>&5
8918 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8919 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8920 if diff conftest.exp conftest.er2 >/dev/null; then
8921 lt_cv_prog_compiler_static_works=yes
8923 else
8924 lt_cv_prog_compiler_static_works=yes
8927 $RM -r conftest*
8928 LDFLAGS="$save_LDFLAGS"
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8932 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8934 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8936 else
8937 lt_prog_compiler_static=
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8947 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8948 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8949 $as_echo_n "(cached) " >&6
8950 else
8951 lt_cv_prog_compiler_c_o=no
8952 $RM -r conftest 2>/dev/null
8953 mkdir conftest
8954 cd conftest
8955 mkdir out
8956 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8958 lt_compiler_flag="-o out/conftest2.$ac_objext"
8959 # Insert the option either (1) after the last *FLAGS variable, or
8960 # (2) before a word containing "conftest.", or (3) at the end.
8961 # Note that $ac_compile itself does not contain backslashes and begins
8962 # with a dollar sign (not a hyphen), so the echo should work correctly.
8963 lt_compile=`echo "$ac_compile" | $SED \
8964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8966 -e 's:$: $lt_compiler_flag:'`
8967 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8968 (eval "$lt_compile" 2>out/conftest.err)
8969 ac_status=$?
8970 cat out/conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8973 then
8974 # The compiler can only warn and ignore the option if not recognized
8975 # So say no if there are warnings
8976 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8977 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8978 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8979 lt_cv_prog_compiler_c_o=yes
8982 chmod u+w . 2>&5
8983 $RM conftest*
8984 # SGI C++ compiler will create directory out/ii_files/ for
8985 # template instantiation
8986 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8987 $RM out/* && rmdir out
8988 cd ..
8989 $RM -r conftest
8990 $RM conftest*
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8994 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9002 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9003 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9004 $as_echo_n "(cached) " >&6
9005 else
9006 lt_cv_prog_compiler_c_o=no
9007 $RM -r conftest 2>/dev/null
9008 mkdir conftest
9009 cd conftest
9010 mkdir out
9011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9013 lt_compiler_flag="-o out/conftest2.$ac_objext"
9014 # Insert the option either (1) after the last *FLAGS variable, or
9015 # (2) before a word containing "conftest.", or (3) at the end.
9016 # Note that $ac_compile itself does not contain backslashes and begins
9017 # with a dollar sign (not a hyphen), so the echo should work correctly.
9018 lt_compile=`echo "$ac_compile" | $SED \
9019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9021 -e 's:$: $lt_compiler_flag:'`
9022 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9023 (eval "$lt_compile" 2>out/conftest.err)
9024 ac_status=$?
9025 cat out/conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9028 then
9029 # The compiler can only warn and ignore the option if not recognized
9030 # So say no if there are warnings
9031 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9032 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9033 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9034 lt_cv_prog_compiler_c_o=yes
9037 chmod u+w . 2>&5
9038 $RM conftest*
9039 # SGI C++ compiler will create directory out/ii_files/ for
9040 # template instantiation
9041 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9042 $RM out/* && rmdir out
9043 cd ..
9044 $RM -r conftest
9045 $RM conftest*
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9049 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9054 hard_links="nottested"
9055 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9056 # do not overwrite the value of need_locks provided by the user
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9058 $as_echo_n "checking if we can lock with hard links... " >&6; }
9059 hard_links=yes
9060 $RM conftest*
9061 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9062 touch conftest.a
9063 ln conftest.a conftest.b 2>&5 || hard_links=no
9064 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9066 $as_echo "$hard_links" >&6; }
9067 if test "$hard_links" = no; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9069 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9070 need_locks=warn
9072 else
9073 need_locks=no
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9082 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9084 runpath_var=
9085 allow_undefined_flag=
9086 always_export_symbols=no
9087 archive_cmds=
9088 archive_expsym_cmds=
9089 compiler_needs_object=no
9090 enable_shared_with_static_runtimes=no
9091 export_dynamic_flag_spec=
9092 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9093 hardcode_automatic=no
9094 hardcode_direct=no
9095 hardcode_direct_absolute=no
9096 hardcode_libdir_flag_spec=
9097 hardcode_libdir_flag_spec_ld=
9098 hardcode_libdir_separator=
9099 hardcode_minus_L=no
9100 hardcode_shlibpath_var=unsupported
9101 inherit_rpath=no
9102 link_all_deplibs=unknown
9103 module_cmds=
9104 module_expsym_cmds=
9105 old_archive_from_new_cmds=
9106 old_archive_from_expsyms_cmds=
9107 thread_safe_flag_spec=
9108 whole_archive_flag_spec=
9109 # include_expsyms should be a list of space-separated symbols to be *always*
9110 # included in the symbol list
9111 include_expsyms=
9112 # exclude_expsyms can be an extended regexp of symbols to exclude
9113 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9114 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9115 # as well as any symbol that contains `d'.
9116 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9117 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9118 # platforms (ab)use it in PIC code, but their linkers get confused if
9119 # the symbol is explicitly referenced. Since portable code cannot
9120 # rely on this symbol name, it's probably fine to never include it in
9121 # preloaded symbol tables.
9122 # Exclude shared library initialization/finalization symbols.
9123 extract_expsyms_cmds=
9125 case $host_os in
9126 cygwin* | mingw* | pw32* | cegcc*)
9127 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9128 # When not using gcc, we currently assume that we are using
9129 # Microsoft Visual C++.
9130 if test "$GCC" != yes; then
9131 with_gnu_ld=no
9134 interix*)
9135 # we just hope/assume this is gcc and not c89 (= MSVC++)
9136 with_gnu_ld=yes
9138 openbsd*)
9139 with_gnu_ld=no
9141 esac
9143 ld_shlibs=yes
9145 # On some targets, GNU ld is compatible enough with the native linker
9146 # that we're better off using the native interface for both.
9147 lt_use_gnu_ld_interface=no
9148 if test "$with_gnu_ld" = yes; then
9149 case $host_os in
9150 aix*)
9151 # The AIX port of GNU ld has always aspired to compatibility
9152 # with the native linker. However, as the warning in the GNU ld
9153 # block says, versions before 2.19.5* couldn't really create working
9154 # shared libraries, regardless of the interface used.
9155 case `$LD -v 2>&1` in
9156 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9157 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9158 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9160 lt_use_gnu_ld_interface=yes
9162 esac
9165 lt_use_gnu_ld_interface=yes
9167 esac
9170 if test "$lt_use_gnu_ld_interface" = yes; then
9171 # If archive_cmds runs LD, not CC, wlarc should be empty
9172 wlarc='${wl}'
9174 # Set some defaults for GNU ld with shared library support. These
9175 # are reset later if shared libraries are not supported. Putting them
9176 # here allows them to be overridden if necessary.
9177 runpath_var=LD_RUN_PATH
9178 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9179 export_dynamic_flag_spec='${wl}--export-dynamic'
9180 # ancient GNU ld didn't support --whole-archive et. al.
9181 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9182 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9183 else
9184 whole_archive_flag_spec=
9186 supports_anon_versioning=no
9187 case `$LD -v 2>&1` in
9188 *GNU\ gold*) supports_anon_versioning=yes ;;
9189 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9190 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9191 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9192 *\ 2.11.*) ;; # other 2.11 versions
9193 *) supports_anon_versioning=yes ;;
9194 esac
9196 # See if GNU ld supports shared libraries.
9197 case $host_os in
9198 aix[3-9]*)
9199 # On AIX/PPC, the GNU linker is very broken
9200 if test "$host_cpu" != ia64; then
9201 ld_shlibs=no
9202 cat <<_LT_EOF 1>&2
9204 *** Warning: the GNU linker, at least up to release 2.19, is reported
9205 *** to be unable to reliably create shared libraries on AIX.
9206 *** Therefore, libtool is disabling shared libraries support. If you
9207 *** really care for shared libraries, you may want to install binutils
9208 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9209 *** You will then need to restart the configuration process.
9211 _LT_EOF
9215 amigaos*)
9216 case $host_cpu in
9217 powerpc)
9218 # see comment about AmigaOS4 .so support
9219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220 archive_expsym_cmds=''
9222 m68k)
9223 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)'
9224 hardcode_libdir_flag_spec='-L$libdir'
9225 hardcode_minus_L=yes
9227 esac
9230 beos*)
9231 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9232 allow_undefined_flag=unsupported
9233 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9234 # support --undefined. This deserves some investigation. FIXME
9235 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236 else
9237 ld_shlibs=no
9241 cygwin* | mingw* | pw32* | cegcc*)
9242 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9243 # as there is no search path for DLLs.
9244 hardcode_libdir_flag_spec='-L$libdir'
9245 export_dynamic_flag_spec='${wl}--export-all-symbols'
9246 allow_undefined_flag=unsupported
9247 always_export_symbols=no
9248 enable_shared_with_static_runtimes=yes
9249 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9251 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9252 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9253 # If the export-symbols file already is a .def file (1st line
9254 # is EXPORTS), use it as is; otherwise, prepend...
9255 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9256 cp $export_symbols $output_objdir/$soname.def;
9257 else
9258 echo EXPORTS > $output_objdir/$soname.def;
9259 cat $export_symbols >> $output_objdir/$soname.def;
9261 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9262 else
9263 ld_shlibs=no
9267 haiku*)
9268 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9269 link_all_deplibs=yes
9272 interix[3-9]*)
9273 hardcode_direct=no
9274 hardcode_shlibpath_var=no
9275 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9276 export_dynamic_flag_spec='${wl}-E'
9277 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9278 # Instead, shared libraries are loaded at an image base (0x10000000 by
9279 # default) and relocated if they conflict, which is a slow very memory
9280 # consuming and fragmenting process. To avoid this, we pick a random,
9281 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9282 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9283 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9284 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'
9287 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9288 tmp_diet=no
9289 if test "$host_os" = linux-dietlibc; then
9290 case $cc_basename in
9291 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9292 esac
9294 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9295 && test "$tmp_diet" = no
9296 then
9297 tmp_addflag=' $pic_flag'
9298 tmp_sharedflag='-shared'
9299 case $cc_basename,$host_cpu in
9300 pgcc*) # Portland Group C compiler
9301 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'
9302 tmp_addflag=' $pic_flag'
9304 pgf77* | pgf90* | pgf95* | pgfortran*)
9305 # Portland Group f77 and f90 compilers
9306 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'
9307 tmp_addflag=' $pic_flag -Mnomain' ;;
9308 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9309 tmp_addflag=' -i_dynamic' ;;
9310 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9311 tmp_addflag=' -i_dynamic -nofor_main' ;;
9312 ifc* | ifort*) # Intel Fortran compiler
9313 tmp_addflag=' -nofor_main' ;;
9314 lf95*) # Lahey Fortran 8.1
9315 whole_archive_flag_spec=
9316 tmp_sharedflag='--shared' ;;
9317 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9318 tmp_sharedflag='-qmkshrobj'
9319 tmp_addflag= ;;
9320 nvcc*) # Cuda Compiler Driver 2.2
9321 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'
9322 compiler_needs_object=yes
9324 esac
9325 case `$CC -V 2>&1 | sed 5q` in
9326 *Sun\ C*) # Sun C 5.9
9327 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'
9328 compiler_needs_object=yes
9329 tmp_sharedflag='-G' ;;
9330 *Sun\ F*) # Sun Fortran 8.3
9331 tmp_sharedflag='-G' ;;
9332 esac
9333 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9335 if test "x$supports_anon_versioning" = xyes; then
9336 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9337 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9338 echo "local: *; };" >> $output_objdir/$libname.ver~
9339 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9342 case $cc_basename in
9343 xlf* | bgf* | bgxlf* | mpixlf*)
9344 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9345 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9346 hardcode_libdir_flag_spec=
9347 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9348 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9349 if test "x$supports_anon_versioning" = xyes; then
9350 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9351 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9352 echo "local: *; };" >> $output_objdir/$libname.ver~
9353 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9356 esac
9357 else
9358 ld_shlibs=no
9362 netbsd*)
9363 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9364 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9365 wlarc=
9366 else
9367 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9368 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9372 solaris*)
9373 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9374 ld_shlibs=no
9375 cat <<_LT_EOF 1>&2
9377 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9378 *** create shared libraries on Solaris systems. Therefore, libtool
9379 *** is disabling shared libraries support. We urge you to upgrade GNU
9380 *** binutils to release 2.9.1 or newer. Another option is to modify
9381 *** your PATH or compiler configuration so that the native linker is
9382 *** used, and then restart.
9384 _LT_EOF
9385 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9386 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9387 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9388 else
9389 ld_shlibs=no
9393 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9394 case `$LD -v 2>&1` in
9395 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9396 ld_shlibs=no
9397 cat <<_LT_EOF 1>&2
9399 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9400 *** reliably create shared libraries on SCO systems. Therefore, libtool
9401 *** is disabling shared libraries support. We urge you to upgrade GNU
9402 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9403 *** your PATH or compiler configuration so that the native linker is
9404 *** used, and then restart.
9406 _LT_EOF
9409 # For security reasons, it is highly recommended that you always
9410 # use absolute paths for naming shared libraries, and exclude the
9411 # DT_RUNPATH tag from executables and libraries. But doing so
9412 # requires that you compile everything twice, which is a pain.
9413 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9414 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9421 esac
9424 sunos4*)
9425 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9426 wlarc=
9427 hardcode_direct=yes
9428 hardcode_shlibpath_var=no
9432 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9435 else
9436 ld_shlibs=no
9439 esac
9441 if test "$ld_shlibs" = no; then
9442 runpath_var=
9443 hardcode_libdir_flag_spec=
9444 export_dynamic_flag_spec=
9445 whole_archive_flag_spec=
9447 else
9448 # PORTME fill in a description of your system's linker (not GNU ld)
9449 case $host_os in
9450 aix3*)
9451 allow_undefined_flag=unsupported
9452 always_export_symbols=yes
9453 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'
9454 # Note: this linker hardcodes the directories in LIBPATH if there
9455 # are no directories specified by -L.
9456 hardcode_minus_L=yes
9457 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9458 # Neither direct hardcoding nor static linking is supported with a
9459 # broken collect2.
9460 hardcode_direct=unsupported
9464 aix[4-9]*)
9465 if test "$host_cpu" = ia64; then
9466 # On IA64, the linker does run time linking by default, so we don't
9467 # have to do anything special.
9468 aix_use_runtimelinking=no
9469 exp_sym_flag='-Bexport'
9470 no_entry_flag=""
9471 else
9472 # If we're using GNU nm, then we don't want the "-C" option.
9473 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9474 # Also, AIX nm treats weak defined symbols like other global
9475 # defined symbols, whereas GNU nm marks them as "W".
9476 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9477 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'
9478 else
9479 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9481 aix_use_runtimelinking=no
9483 # Test if we are trying to use run time linking or normal
9484 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9485 # need to do runtime linking.
9486 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9487 for ld_flag in $LDFLAGS; do
9488 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9489 aix_use_runtimelinking=yes
9490 break
9492 done
9494 esac
9496 exp_sym_flag='-bexport'
9497 no_entry_flag='-bnoentry'
9500 # When large executables or shared objects are built, AIX ld can
9501 # have problems creating the table of contents. If linking a library
9502 # or program results in "error TOC overflow" add -mminimal-toc to
9503 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9504 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9506 archive_cmds=''
9507 hardcode_direct=yes
9508 hardcode_direct_absolute=yes
9509 hardcode_libdir_separator=':'
9510 link_all_deplibs=yes
9511 file_list_spec='${wl}-f,'
9513 if test "$GCC" = yes; then
9514 case $host_os in aix4.[012]|aix4.[012].*)
9515 # We only want to do this on AIX 4.2 and lower, the check
9516 # below for broken collect2 doesn't work under 4.3+
9517 collect2name=`${CC} -print-prog-name=collect2`
9518 if test -f "$collect2name" &&
9519 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9520 then
9521 # We have reworked collect2
9523 else
9524 # We have old collect2
9525 hardcode_direct=unsupported
9526 # It fails to find uninstalled libraries when the uninstalled
9527 # path is not listed in the libpath. Setting hardcode_minus_L
9528 # to unsupported forces relinking
9529 hardcode_minus_L=yes
9530 hardcode_libdir_flag_spec='-L$libdir'
9531 hardcode_libdir_separator=
9534 esac
9535 shared_flag='-shared'
9536 if test "$aix_use_runtimelinking" = yes; then
9537 shared_flag="$shared_flag "'${wl}-G'
9539 else
9540 # not using gcc
9541 if test "$host_cpu" = ia64; then
9542 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9543 # chokes on -Wl,-G. The following line is correct:
9544 shared_flag='-G'
9545 else
9546 if test "$aix_use_runtimelinking" = yes; then
9547 shared_flag='${wl}-G'
9548 else
9549 shared_flag='${wl}-bM:SRE'
9554 export_dynamic_flag_spec='${wl}-bexpall'
9555 # It seems that -bexpall does not export symbols beginning with
9556 # underscore (_), so it is better to generate a list of symbols to export.
9557 always_export_symbols=yes
9558 if test "$aix_use_runtimelinking" = yes; then
9559 # Warning - without using the other runtime loading flags (-brtl),
9560 # -berok will link without error, but may produce a broken library.
9561 allow_undefined_flag='-berok'
9562 # Determine the default libpath from the value encoded in an
9563 # empty executable.
9564 if test x$gcc_no_link = xyes; then
9565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9571 main ()
9575 return 0;
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9580 lt_aix_libpath_sed='
9581 /Import File Strings/,/^$/ {
9582 /^0/ {
9583 s/^0 *\(.*\)$/\1/
9587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 # Check for a 64-bit object if we didn't find anything.
9589 if test -z "$aix_libpath"; then
9590 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9597 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598 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"
9599 else
9600 if test "$host_cpu" = ia64; then
9601 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9602 allow_undefined_flag="-z nodefs"
9603 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"
9604 else
9605 # Determine the default libpath from the value encoded in an
9606 # empty executable.
9607 if test x$gcc_no_link = xyes; then
9608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9614 main ()
9618 return 0;
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9623 lt_aix_libpath_sed='
9624 /Import File Strings/,/^$/ {
9625 /^0/ {
9626 s/^0 *\(.*\)$/\1/
9630 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9631 # Check for a 64-bit object if we didn't find anything.
9632 if test -z "$aix_libpath"; then
9633 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9640 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9641 # Warning - without using the other run time loading flags,
9642 # -berok will link without error, but may produce a broken library.
9643 no_undefined_flag=' ${wl}-bernotok'
9644 allow_undefined_flag=' ${wl}-berok'
9645 if test "$with_gnu_ld" = yes; then
9646 # We only use this code for GNU lds that support --whole-archive.
9647 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9648 else
9649 # Exported symbols can be pulled into shared objects from archives
9650 whole_archive_flag_spec='$convenience'
9652 archive_cmds_need_lc=yes
9653 # This is similar to how AIX traditionally builds its shared libraries.
9654 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'
9659 amigaos*)
9660 case $host_cpu in
9661 powerpc)
9662 # see comment about AmigaOS4 .so support
9663 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9664 archive_expsym_cmds=''
9666 m68k)
9667 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)'
9668 hardcode_libdir_flag_spec='-L$libdir'
9669 hardcode_minus_L=yes
9671 esac
9674 bsdi[45]*)
9675 export_dynamic_flag_spec=-rdynamic
9678 cygwin* | mingw* | pw32* | cegcc*)
9679 # When not using gcc, we currently assume that we are using
9680 # Microsoft Visual C++.
9681 # hardcode_libdir_flag_spec is actually meaningless, as there is
9682 # no search path for DLLs.
9683 hardcode_libdir_flag_spec=' '
9684 allow_undefined_flag=unsupported
9685 # Tell ltmain to make .lib files, not .a files.
9686 libext=lib
9687 # Tell ltmain to make .dll files, not .so files.
9688 shrext_cmds=".dll"
9689 # FIXME: Setting linknames here is a bad hack.
9690 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9691 # The linker will automatically build a .lib file if we build a DLL.
9692 old_archive_from_new_cmds='true'
9693 # FIXME: Should let the user specify the lib program.
9694 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9695 fix_srcfile_path='`cygpath -w "$srcfile"`'
9696 enable_shared_with_static_runtimes=yes
9699 darwin* | rhapsody*)
9702 archive_cmds_need_lc=no
9703 hardcode_direct=no
9704 hardcode_automatic=yes
9705 hardcode_shlibpath_var=unsupported
9706 if test "$lt_cv_ld_force_load" = "yes"; then
9707 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\"`'
9708 else
9709 whole_archive_flag_spec=''
9711 link_all_deplibs=yes
9712 allow_undefined_flag="$_lt_dar_allow_undefined"
9713 case $cc_basename in
9714 ifort*) _lt_dar_can_shared=yes ;;
9715 *) _lt_dar_can_shared=$GCC ;;
9716 esac
9717 if test "$_lt_dar_can_shared" = "yes"; then
9718 output_verbose_link_cmd=func_echo_all
9719 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9720 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9721 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}"
9722 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}"
9724 else
9725 ld_shlibs=no
9730 dgux*)
9731 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_libdir_flag_spec='-L$libdir'
9733 hardcode_shlibpath_var=no
9736 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9737 # support. Future versions do this automatically, but an explicit c++rt0.o
9738 # does not break anything, and helps significantly (at the cost of a little
9739 # extra space).
9740 freebsd2.2*)
9741 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9742 hardcode_libdir_flag_spec='-R$libdir'
9743 hardcode_direct=yes
9744 hardcode_shlibpath_var=no
9747 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9748 freebsd2.*)
9749 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9750 hardcode_direct=yes
9751 hardcode_minus_L=yes
9752 hardcode_shlibpath_var=no
9755 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9756 freebsd* | dragonfly*)
9757 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9758 hardcode_libdir_flag_spec='-R$libdir'
9759 hardcode_direct=yes
9760 hardcode_shlibpath_var=no
9763 hpux9*)
9764 if test "$GCC" = yes; then
9765 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'
9766 else
9767 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'
9769 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9773 # hardcode_minus_L: Not really in the search PATH,
9774 # but as the default location of the library.
9775 hardcode_minus_L=yes
9776 export_dynamic_flag_spec='${wl}-E'
9779 hpux10*)
9780 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9781 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9782 else
9783 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9785 if test "$with_gnu_ld" = no; then
9786 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9787 hardcode_libdir_flag_spec_ld='+b $libdir'
9788 hardcode_libdir_separator=:
9789 hardcode_direct=yes
9790 hardcode_direct_absolute=yes
9791 export_dynamic_flag_spec='${wl}-E'
9792 # hardcode_minus_L: Not really in the search PATH,
9793 # but as the default location of the library.
9794 hardcode_minus_L=yes
9798 hpux11*)
9799 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9800 case $host_cpu in
9801 hppa*64*)
9802 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9804 ia64*)
9805 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9810 esac
9811 else
9812 case $host_cpu in
9813 hppa*64*)
9814 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9816 ia64*)
9817 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9821 # Older versions of the 11.00 compiler do not understand -b yet
9822 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9824 $as_echo_n "checking if $CC understands -b... " >&6; }
9825 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9826 $as_echo_n "(cached) " >&6
9827 else
9828 lt_cv_prog_compiler__b=no
9829 save_LDFLAGS="$LDFLAGS"
9830 LDFLAGS="$LDFLAGS -b"
9831 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9832 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9833 # The linker can only warn and ignore the option if not recognized
9834 # So say no if there are warnings
9835 if test -s conftest.err; then
9836 # Append any errors to the config.log.
9837 cat conftest.err 1>&5
9838 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9839 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9840 if diff conftest.exp conftest.er2 >/dev/null; then
9841 lt_cv_prog_compiler__b=yes
9843 else
9844 lt_cv_prog_compiler__b=yes
9847 $RM -r conftest*
9848 LDFLAGS="$save_LDFLAGS"
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9852 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9854 if test x"$lt_cv_prog_compiler__b" = xyes; then
9855 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9856 else
9857 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9861 esac
9863 if test "$with_gnu_ld" = no; then
9864 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9865 hardcode_libdir_separator=:
9867 case $host_cpu in
9868 hppa*64*|ia64*)
9869 hardcode_direct=no
9870 hardcode_shlibpath_var=no
9873 hardcode_direct=yes
9874 hardcode_direct_absolute=yes
9875 export_dynamic_flag_spec='${wl}-E'
9877 # hardcode_minus_L: Not really in the search PATH,
9878 # but as the default location of the library.
9879 hardcode_minus_L=yes
9881 esac
9885 irix5* | irix6* | nonstopux*)
9886 if test "$GCC" = yes; then
9887 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'
9888 # Try to use the -exported_symbol ld option, if it does not
9889 # work, assume that -exports_file does not work either and
9890 # implicitly export all symbols.
9891 save_LDFLAGS="$LDFLAGS"
9892 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9893 if test x$gcc_no_link = xyes; then
9894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9898 int foo(void) {}
9899 _ACEOF
9900 if ac_fn_c_try_link "$LINENO"; then :
9901 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'
9904 rm -f core conftest.err conftest.$ac_objext \
9905 conftest$ac_exeext conftest.$ac_ext
9906 LDFLAGS="$save_LDFLAGS"
9907 else
9908 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'
9909 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'
9911 archive_cmds_need_lc='no'
9912 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9913 hardcode_libdir_separator=:
9914 inherit_rpath=yes
9915 link_all_deplibs=yes
9918 netbsd*)
9919 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9920 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9921 else
9922 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9924 hardcode_libdir_flag_spec='-R$libdir'
9925 hardcode_direct=yes
9926 hardcode_shlibpath_var=no
9929 newsos6)
9930 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9931 hardcode_direct=yes
9932 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9933 hardcode_libdir_separator=:
9934 hardcode_shlibpath_var=no
9937 *nto* | *qnx*)
9940 openbsd*)
9941 if test -f /usr/libexec/ld.so; then
9942 hardcode_direct=yes
9943 hardcode_shlibpath_var=no
9944 hardcode_direct_absolute=yes
9945 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9946 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9947 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9948 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9949 export_dynamic_flag_spec='${wl}-E'
9950 else
9951 case $host_os in
9952 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9953 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9954 hardcode_libdir_flag_spec='-R$libdir'
9957 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9958 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9960 esac
9962 else
9963 ld_shlibs=no
9967 os2*)
9968 hardcode_libdir_flag_spec='-L$libdir'
9969 hardcode_minus_L=yes
9970 allow_undefined_flag=unsupported
9971 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'
9972 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9975 osf3*)
9976 if test "$GCC" = yes; then
9977 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9978 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'
9979 else
9980 allow_undefined_flag=' -expect_unresolved \*'
9981 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'
9983 archive_cmds_need_lc='no'
9984 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9985 hardcode_libdir_separator=:
9988 osf4* | osf5*) # as osf3* with the addition of -msym flag
9989 if test "$GCC" = yes; then
9990 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9991 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'
9992 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9993 else
9994 allow_undefined_flag=' -expect_unresolved \*'
9995 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'
9996 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~
9997 $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'
9999 # Both c and cxx compiler support -rpath directly
10000 hardcode_libdir_flag_spec='-rpath $libdir'
10002 archive_cmds_need_lc='no'
10003 hardcode_libdir_separator=:
10006 solaris*)
10007 no_undefined_flag=' -z defs'
10008 if test "$GCC" = yes; then
10009 wlarc='${wl}'
10010 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10011 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10012 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10013 else
10014 case `$CC -V 2>&1` in
10015 *"Compilers 5.0"*)
10016 wlarc=''
10017 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10018 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10019 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10022 wlarc='${wl}'
10023 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10025 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10027 esac
10029 hardcode_libdir_flag_spec='-R$libdir'
10030 hardcode_shlibpath_var=no
10031 case $host_os in
10032 solaris2.[0-5] | solaris2.[0-5].*) ;;
10034 # The compiler driver will combine and reorder linker options,
10035 # but understands `-z linker_flag'. GCC discards it without `$wl',
10036 # but is careful enough not to reorder.
10037 # Supported since Solaris 2.6 (maybe 2.5.1?)
10038 if test "$GCC" = yes; then
10039 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10040 else
10041 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10044 esac
10045 link_all_deplibs=yes
10048 sunos4*)
10049 if test "x$host_vendor" = xsequent; then
10050 # Use $CC to link under sequent, because it throws in some extra .o
10051 # files that make .init and .fini sections work.
10052 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10053 else
10054 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10056 hardcode_libdir_flag_spec='-L$libdir'
10057 hardcode_direct=yes
10058 hardcode_minus_L=yes
10059 hardcode_shlibpath_var=no
10062 sysv4)
10063 case $host_vendor in
10064 sni)
10065 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_direct=yes # is this really true???
10068 siemens)
10069 ## LD is ld it makes a PLAMLIB
10070 ## CC just makes a GrossModule.
10071 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10072 reload_cmds='$CC -r -o $output$reload_objs'
10073 hardcode_direct=no
10075 motorola)
10076 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10077 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10079 esac
10080 runpath_var='LD_RUN_PATH'
10081 hardcode_shlibpath_var=no
10084 sysv4.3*)
10085 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10086 hardcode_shlibpath_var=no
10087 export_dynamic_flag_spec='-Bexport'
10090 sysv4*MP*)
10091 if test -d /usr/nec; then
10092 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10093 hardcode_shlibpath_var=no
10094 runpath_var=LD_RUN_PATH
10095 hardcode_runpath_var=yes
10096 ld_shlibs=yes
10100 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10101 no_undefined_flag='${wl}-z,text'
10102 archive_cmds_need_lc=no
10103 hardcode_shlibpath_var=no
10104 runpath_var='LD_RUN_PATH'
10106 if test "$GCC" = yes; then
10107 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10108 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10109 else
10110 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10115 sysv5* | sco3.2v5* | sco5v6*)
10116 # Note: We can NOT use -z defs as we might desire, because we do not
10117 # link with -lc, and that would cause any symbols used from libc to
10118 # always be unresolved, which means just about no library would
10119 # ever link correctly. If we're not using GNU ld we use -z text
10120 # though, which does catch some bad symbols but isn't as heavy-handed
10121 # as -z defs.
10122 no_undefined_flag='${wl}-z,text'
10123 allow_undefined_flag='${wl}-z,nodefs'
10124 archive_cmds_need_lc=no
10125 hardcode_shlibpath_var=no
10126 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10127 hardcode_libdir_separator=':'
10128 link_all_deplibs=yes
10129 export_dynamic_flag_spec='${wl}-Bexport'
10130 runpath_var='LD_RUN_PATH'
10132 if test "$GCC" = yes; then
10133 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10134 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10135 else
10136 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10137 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10141 uts4*)
10142 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143 hardcode_libdir_flag_spec='-L$libdir'
10144 hardcode_shlibpath_var=no
10148 ld_shlibs=no
10150 esac
10152 if test x$host_vendor = xsni; then
10153 case $host in
10154 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10155 export_dynamic_flag_spec='${wl}-Blargedynsym'
10157 esac
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10162 $as_echo "$ld_shlibs" >&6; }
10163 test "$ld_shlibs" = no && can_build_shared=no
10165 with_gnu_ld=$with_gnu_ld
10182 # Do we need to explicitly link libc?
10184 case "x$archive_cmds_need_lc" in
10185 x|xyes)
10186 # Assume -lc should be added
10187 archive_cmds_need_lc=yes
10189 if test "$enable_shared" = yes && test "$GCC" = yes; then
10190 case $archive_cmds in
10191 *'~'*)
10192 # FIXME: we may have to deal with multi-command sequences.
10194 '$CC '*)
10195 # Test whether the compiler implicitly links with -lc since on some
10196 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10197 # to ld, don't add -lc before -lgcc.
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10199 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10200 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10201 $as_echo_n "(cached) " >&6
10202 else
10203 $RM conftest*
10204 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10207 (eval $ac_compile) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; } 2>conftest.err; then
10211 soname=conftest
10212 lib=conftest
10213 libobjs=conftest.$ac_objext
10214 deplibs=
10215 wl=$lt_prog_compiler_wl
10216 pic_flag=$lt_prog_compiler_pic
10217 compiler_flags=-v
10218 linker_flags=-v
10219 verstring=
10220 output_objdir=.
10221 libname=conftest
10222 lt_save_allow_undefined_flag=$allow_undefined_flag
10223 allow_undefined_flag=
10224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10225 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10226 ac_status=$?
10227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10228 test $ac_status = 0; }
10229 then
10230 lt_cv_archive_cmds_need_lc=no
10231 else
10232 lt_cv_archive_cmds_need_lc=yes
10234 allow_undefined_flag=$lt_save_allow_undefined_flag
10235 else
10236 cat conftest.err 1>&5
10238 $RM conftest*
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10242 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10243 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10245 esac
10248 esac
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10407 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10409 if test "$GCC" = yes; then
10410 case $host_os in
10411 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10412 *) lt_awk_arg="/^libraries:/" ;;
10413 esac
10414 case $host_os in
10415 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10416 *) lt_sed_strip_eq="s,=/,/,g" ;;
10417 esac
10418 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10419 case $lt_search_path_spec in
10420 *\;*)
10421 # if the path contains ";" then we assume it to be the separator
10422 # otherwise default to the standard path separator (i.e. ":") - it is
10423 # assumed that no part of a normal pathname contains ";" but that should
10424 # okay in the real world where ";" in dirpaths is itself problematic.
10425 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10428 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10430 esac
10431 # Ok, now we have the path, separated by spaces, we can step through it
10432 # and add multilib dir if necessary.
10433 lt_tmp_lt_search_path_spec=
10434 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10435 for lt_sys_path in $lt_search_path_spec; do
10436 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10437 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10438 else
10439 test -d "$lt_sys_path" && \
10440 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10442 done
10443 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10444 BEGIN {RS=" "; FS="/|\n";} {
10445 lt_foo="";
10446 lt_count=0;
10447 for (lt_i = NF; lt_i > 0; lt_i--) {
10448 if ($lt_i != "" && $lt_i != ".") {
10449 if ($lt_i == "..") {
10450 lt_count++;
10451 } else {
10452 if (lt_count == 0) {
10453 lt_foo="/" $lt_i lt_foo;
10454 } else {
10455 lt_count--;
10460 if (lt_foo != "") { lt_freq[lt_foo]++; }
10461 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10463 # AWK program above erroneously prepends '/' to C:/dos/paths
10464 # for these hosts.
10465 case $host_os in
10466 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10467 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10468 esac
10469 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10470 else
10471 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10473 library_names_spec=
10474 libname_spec='lib$name'
10475 soname_spec=
10476 shrext_cmds=".so"
10477 postinstall_cmds=
10478 postuninstall_cmds=
10479 finish_cmds=
10480 finish_eval=
10481 shlibpath_var=
10482 shlibpath_overrides_runpath=unknown
10483 version_type=none
10484 dynamic_linker="$host_os ld.so"
10485 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10486 need_lib_prefix=unknown
10487 hardcode_into_libs=no
10489 # when you set need_version to no, make sure it does not cause -set_version
10490 # flags to be left without arguments
10491 need_version=unknown
10493 case $host_os in
10494 aix3*)
10495 version_type=linux
10496 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10497 shlibpath_var=LIBPATH
10499 # AIX 3 has no versioning support, so we append a major version to the name.
10500 soname_spec='${libname}${release}${shared_ext}$major'
10503 aix[4-9]*)
10504 version_type=linux
10505 need_lib_prefix=no
10506 need_version=no
10507 hardcode_into_libs=yes
10508 if test "$host_cpu" = ia64; then
10509 # AIX 5 supports IA64
10510 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10511 shlibpath_var=LD_LIBRARY_PATH
10512 else
10513 # With GCC up to 2.95.x, collect2 would create an import file
10514 # for dependence libraries. The import file would start with
10515 # the line `#! .'. This would cause the generated library to
10516 # depend on `.', always an invalid library. This was fixed in
10517 # development snapshots of GCC prior to 3.0.
10518 case $host_os in
10519 aix4 | aix4.[01] | aix4.[01].*)
10520 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10521 echo ' yes '
10522 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10524 else
10525 can_build_shared=no
10528 esac
10529 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10530 # soname into executable. Probably we can add versioning support to
10531 # collect2, so additional links can be useful in future.
10532 if test "$aix_use_runtimelinking" = yes; then
10533 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10534 # instead of lib<name>.a to let people know that these are not
10535 # typical AIX shared libraries.
10536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10537 else
10538 # We preserve .a as extension for shared libraries through AIX4.2
10539 # and later when we are not doing run time linking.
10540 library_names_spec='${libname}${release}.a $libname.a'
10541 soname_spec='${libname}${release}${shared_ext}$major'
10543 shlibpath_var=LIBPATH
10547 amigaos*)
10548 case $host_cpu in
10549 powerpc)
10550 # Since July 2007 AmigaOS4 officially supports .so libraries.
10551 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 m68k)
10555 library_names_spec='$libname.ixlibrary $libname.a'
10556 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10557 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'
10559 esac
10562 beos*)
10563 library_names_spec='${libname}${shared_ext}'
10564 dynamic_linker="$host_os ld.so"
10565 shlibpath_var=LIBRARY_PATH
10568 bsdi[45]*)
10569 version_type=linux
10570 need_version=no
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10572 soname_spec='${libname}${release}${shared_ext}$major'
10573 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10574 shlibpath_var=LD_LIBRARY_PATH
10575 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10576 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10577 # the default ld.so.conf also contains /usr/contrib/lib and
10578 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10579 # libtool to hard-code these into programs
10582 cygwin* | mingw* | pw32* | cegcc*)
10583 version_type=windows
10584 shrext_cmds=".dll"
10585 need_version=no
10586 need_lib_prefix=no
10588 case $GCC,$host_os in
10589 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10590 library_names_spec='$libname.dll.a'
10591 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10592 postinstall_cmds='base_file=`basename \${file}`~
10593 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10594 dldir=$destdir/`dirname \$dlpath`~
10595 test -d \$dldir || mkdir -p \$dldir~
10596 $install_prog $dir/$dlname \$dldir/$dlname~
10597 chmod a+x \$dldir/$dlname~
10598 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10599 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10601 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10602 dlpath=$dir/\$dldll~
10603 $RM \$dlpath'
10604 shlibpath_overrides_runpath=yes
10606 case $host_os in
10607 cygwin*)
10608 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10609 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10611 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10613 mingw* | cegcc*)
10614 # MinGW DLLs use traditional 'lib' prefix
10615 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10617 pw32*)
10618 # pw32 DLLs use 'pw' prefix rather than 'lib'
10619 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10621 esac
10625 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10627 esac
10628 dynamic_linker='Win32 ld.exe'
10629 # FIXME: first we should search . and the directory the executable is in
10630 shlibpath_var=PATH
10633 darwin* | rhapsody*)
10634 dynamic_linker="$host_os dyld"
10635 version_type=darwin
10636 need_lib_prefix=no
10637 need_version=no
10638 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10639 soname_spec='${libname}${release}${major}$shared_ext'
10640 shlibpath_overrides_runpath=yes
10641 shlibpath_var=DYLD_LIBRARY_PATH
10642 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10644 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10645 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10648 dgux*)
10649 version_type=linux
10650 need_lib_prefix=no
10651 need_version=no
10652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10653 soname_spec='${libname}${release}${shared_ext}$major'
10654 shlibpath_var=LD_LIBRARY_PATH
10657 freebsd* | dragonfly*)
10658 # DragonFly does not have aout. When/if they implement a new
10659 # versioning mechanism, adjust this.
10660 if test -x /usr/bin/objformat; then
10661 objformat=`/usr/bin/objformat`
10662 else
10663 case $host_os in
10664 freebsd[23].*) objformat=aout ;;
10665 *) objformat=elf ;;
10666 esac
10668 version_type=freebsd-$objformat
10669 case $version_type in
10670 freebsd-elf*)
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10672 need_version=no
10673 need_lib_prefix=no
10675 freebsd-*)
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10677 need_version=yes
10679 esac
10680 shlibpath_var=LD_LIBRARY_PATH
10681 case $host_os in
10682 freebsd2.*)
10683 shlibpath_overrides_runpath=yes
10685 freebsd3.[01]* | freebsdelf3.[01]*)
10686 shlibpath_overrides_runpath=yes
10687 hardcode_into_libs=yes
10689 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10690 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10691 shlibpath_overrides_runpath=no
10692 hardcode_into_libs=yes
10694 *) # from 4.6 on, and DragonFly
10695 shlibpath_overrides_runpath=yes
10696 hardcode_into_libs=yes
10698 esac
10701 gnu*)
10702 version_type=linux
10703 need_lib_prefix=no
10704 need_version=no
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10706 soname_spec='${libname}${release}${shared_ext}$major'
10707 shlibpath_var=LD_LIBRARY_PATH
10708 hardcode_into_libs=yes
10711 haiku*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 dynamic_linker="$host_os runtime_loader"
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10717 soname_spec='${libname}${release}${shared_ext}$major'
10718 shlibpath_var=LIBRARY_PATH
10719 shlibpath_overrides_runpath=yes
10720 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10721 hardcode_into_libs=yes
10724 hpux9* | hpux10* | hpux11*)
10725 # Give a soname corresponding to the major version so that dld.sl refuses to
10726 # link against other versions.
10727 version_type=sunos
10728 need_lib_prefix=no
10729 need_version=no
10730 case $host_cpu in
10731 ia64*)
10732 shrext_cmds='.so'
10733 hardcode_into_libs=yes
10734 dynamic_linker="$host_os dld.so"
10735 shlibpath_var=LD_LIBRARY_PATH
10736 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10738 soname_spec='${libname}${release}${shared_ext}$major'
10739 if test "X$HPUX_IA64_MODE" = X32; then
10740 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10741 else
10742 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10744 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10746 hppa*64*)
10747 shrext_cmds='.sl'
10748 hardcode_into_libs=yes
10749 dynamic_linker="$host_os dld.sl"
10750 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10751 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10755 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10758 shrext_cmds='.sl'
10759 dynamic_linker="$host_os dld.sl"
10760 shlibpath_var=SHLIB_PATH
10761 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763 soname_spec='${libname}${release}${shared_ext}$major'
10765 esac
10766 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10767 postinstall_cmds='chmod 555 $lib'
10768 # or fails outright, so override atomically:
10769 install_override_mode=555
10772 interix[3-9]*)
10773 version_type=linux
10774 need_lib_prefix=no
10775 need_version=no
10776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10777 soname_spec='${libname}${release}${shared_ext}$major'
10778 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10779 shlibpath_var=LD_LIBRARY_PATH
10780 shlibpath_overrides_runpath=no
10781 hardcode_into_libs=yes
10784 irix5* | irix6* | nonstopux*)
10785 case $host_os in
10786 nonstopux*) version_type=nonstopux ;;
10788 if test "$lt_cv_prog_gnu_ld" = yes; then
10789 version_type=linux
10790 else
10791 version_type=irix
10792 fi ;;
10793 esac
10794 need_lib_prefix=no
10795 need_version=no
10796 soname_spec='${libname}${release}${shared_ext}$major'
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10798 case $host_os in
10799 irix5* | nonstopux*)
10800 libsuff= shlibsuff=
10803 case $LD in # libtool.m4 will add one of these switches to LD
10804 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10805 libsuff= shlibsuff= libmagic=32-bit;;
10806 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10807 libsuff=32 shlibsuff=N32 libmagic=N32;;
10808 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10809 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10810 *) libsuff= shlibsuff= libmagic=never-match;;
10811 esac
10813 esac
10814 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10815 shlibpath_overrides_runpath=no
10816 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10817 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10818 hardcode_into_libs=yes
10821 # No shared lib support for Linux oldld, aout, or coff.
10822 linux*oldld* | linux*aout* | linux*coff*)
10823 dynamic_linker=no
10826 # This must be Linux ELF.
10827 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10828 version_type=linux
10829 need_lib_prefix=no
10830 need_version=no
10831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10832 soname_spec='${libname}${release}${shared_ext}$major'
10833 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10834 shlibpath_var=LD_LIBRARY_PATH
10835 shlibpath_overrides_runpath=no
10837 # Some binutils ld are patched to set DT_RUNPATH
10838 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10839 $as_echo_n "(cached) " >&6
10840 else
10841 lt_cv_shlibpath_overrides_runpath=no
10842 save_LDFLAGS=$LDFLAGS
10843 save_libdir=$libdir
10844 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10845 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10846 if test x$gcc_no_link = xyes; then
10847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10853 main ()
10857 return 0;
10859 _ACEOF
10860 if ac_fn_c_try_link "$LINENO"; then :
10861 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10862 lt_cv_shlibpath_overrides_runpath=yes
10865 rm -f core conftest.err conftest.$ac_objext \
10866 conftest$ac_exeext conftest.$ac_ext
10867 LDFLAGS=$save_LDFLAGS
10868 libdir=$save_libdir
10872 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10874 # This implies no fast_install, which is unacceptable.
10875 # Some rework will be needed to allow for fast_install
10876 # before this can be enabled.
10877 hardcode_into_libs=yes
10879 # Append ld.so.conf contents to the search path
10880 if test -f /etc/ld.so.conf; then
10881 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' ' '`
10882 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10885 # We used to test for /lib/ld.so.1 and disable shared libraries on
10886 # powerpc, because MkLinux only supported shared libraries with the
10887 # GNU dynamic linker. Since this was broken with cross compilers,
10888 # most powerpc-linux boxes support dynamic linking these days and
10889 # people can always --disable-shared, the test was removed, and we
10890 # assume the GNU/Linux dynamic linker is in use.
10891 dynamic_linker='GNU/Linux ld.so'
10894 netbsd*)
10895 version_type=sunos
10896 need_lib_prefix=no
10897 need_version=no
10898 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10900 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10901 dynamic_linker='NetBSD (a.out) ld.so'
10902 else
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10904 soname_spec='${libname}${release}${shared_ext}$major'
10905 dynamic_linker='NetBSD ld.elf_so'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=yes
10909 hardcode_into_libs=yes
10912 newsos6)
10913 version_type=linux
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath=yes
10919 *nto* | *qnx*)
10920 version_type=qnx
10921 need_lib_prefix=no
10922 need_version=no
10923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924 soname_spec='${libname}${release}${shared_ext}$major'
10925 shlibpath_var=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath=no
10927 hardcode_into_libs=yes
10928 dynamic_linker='ldqnx.so'
10931 openbsd*)
10932 version_type=sunos
10933 sys_lib_dlsearch_path_spec="/usr/lib"
10934 need_lib_prefix=no
10935 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10936 case $host_os in
10937 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10938 *) need_version=no ;;
10939 esac
10940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10941 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10942 shlibpath_var=LD_LIBRARY_PATH
10943 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10944 case $host_os in
10945 openbsd2.[89] | openbsd2.[89].*)
10946 shlibpath_overrides_runpath=no
10949 shlibpath_overrides_runpath=yes
10951 esac
10952 else
10953 shlibpath_overrides_runpath=yes
10957 os2*)
10958 libname_spec='$name'
10959 shrext_cmds=".dll"
10960 need_lib_prefix=no
10961 library_names_spec='$libname${shared_ext} $libname.a'
10962 dynamic_linker='OS/2 ld.exe'
10963 shlibpath_var=LIBPATH
10966 osf3* | osf4* | osf5*)
10967 version_type=osf
10968 need_lib_prefix=no
10969 need_version=no
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10972 shlibpath_var=LD_LIBRARY_PATH
10973 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10974 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10977 rdos*)
10978 dynamic_linker=no
10981 solaris*)
10982 version_type=linux
10983 need_lib_prefix=no
10984 need_version=no
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986 soname_spec='${libname}${release}${shared_ext}$major'
10987 shlibpath_var=LD_LIBRARY_PATH
10988 shlibpath_overrides_runpath=yes
10989 hardcode_into_libs=yes
10990 # ldd complains unless libraries are executable
10991 postinstall_cmds='chmod +x $lib'
10994 sunos4*)
10995 version_type=sunos
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10997 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 if test "$with_gnu_ld" = yes; then
11001 need_lib_prefix=no
11003 need_version=yes
11006 sysv4 | sysv4.3*)
11007 version_type=linux
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 case $host_vendor in
11012 sni)
11013 shlibpath_overrides_runpath=no
11014 need_lib_prefix=no
11015 runpath_var=LD_RUN_PATH
11017 siemens)
11018 need_lib_prefix=no
11020 motorola)
11021 need_lib_prefix=no
11022 need_version=no
11023 shlibpath_overrides_runpath=no
11024 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11026 esac
11029 sysv4*MP*)
11030 if test -d /usr/nec ;then
11031 version_type=linux
11032 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11033 soname_spec='$libname${shared_ext}.$major'
11034 shlibpath_var=LD_LIBRARY_PATH
11038 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11039 version_type=freebsd-elf
11040 need_lib_prefix=no
11041 need_version=no
11042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11043 soname_spec='${libname}${release}${shared_ext}$major'
11044 shlibpath_var=LD_LIBRARY_PATH
11045 shlibpath_overrides_runpath=yes
11046 hardcode_into_libs=yes
11047 if test "$with_gnu_ld" = yes; then
11048 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11049 else
11050 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11051 case $host_os in
11052 sco3.2v5*)
11053 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11055 esac
11057 sys_lib_dlsearch_path_spec='/usr/lib'
11060 tpf*)
11061 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11062 version_type=linux
11063 need_lib_prefix=no
11064 need_version=no
11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11066 shlibpath_var=LD_LIBRARY_PATH
11067 shlibpath_overrides_runpath=no
11068 hardcode_into_libs=yes
11071 uts4*)
11072 version_type=linux
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11079 dynamic_linker=no
11081 esac
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11083 $as_echo "$dynamic_linker" >&6; }
11084 test "$dynamic_linker" = no && can_build_shared=no
11086 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11087 if test "$GCC" = yes; then
11088 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11091 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11092 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11094 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11095 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11190 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11191 hardcode_action=
11192 if test -n "$hardcode_libdir_flag_spec" ||
11193 test -n "$runpath_var" ||
11194 test "X$hardcode_automatic" = "Xyes" ; then
11196 # We can hardcode non-existent directories.
11197 if test "$hardcode_direct" != no &&
11198 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11199 # have to relink, otherwise we might link with an installed library
11200 # when we should be linking with a yet-to-be-installed one
11201 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11202 test "$hardcode_minus_L" != no; then
11203 # Linking always hardcodes the temporary library directory.
11204 hardcode_action=relink
11205 else
11206 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11207 hardcode_action=immediate
11209 else
11210 # We cannot hardcode anything, or else we can only hardcode existing
11211 # directories.
11212 hardcode_action=unsupported
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11215 $as_echo "$hardcode_action" >&6; }
11217 if test "$hardcode_action" = relink ||
11218 test "$inherit_rpath" = yes; then
11219 # Fast installation is not supported
11220 enable_fast_install=no
11221 elif test "$shlibpath_overrides_runpath" = yes ||
11222 test "$enable_shared" = no; then
11223 # Fast installation is not necessary
11224 enable_fast_install=needless
11232 if test "x$enable_dlopen" != xyes; then
11233 enable_dlopen=unknown
11234 enable_dlopen_self=unknown
11235 enable_dlopen_self_static=unknown
11236 else
11237 lt_cv_dlopen=no
11238 lt_cv_dlopen_libs=
11240 case $host_os in
11241 beos*)
11242 lt_cv_dlopen="load_add_on"
11243 lt_cv_dlopen_libs=
11244 lt_cv_dlopen_self=yes
11247 mingw* | pw32* | cegcc*)
11248 lt_cv_dlopen="LoadLibrary"
11249 lt_cv_dlopen_libs=
11252 cygwin*)
11253 lt_cv_dlopen="dlopen"
11254 lt_cv_dlopen_libs=
11257 darwin*)
11258 # if libdl is installed we need to link against it
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11260 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11261 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11262 $as_echo_n "(cached) " >&6
11263 else
11264 ac_check_lib_save_LIBS=$LIBS
11265 LIBS="-ldl $LIBS"
11266 if test x$gcc_no_link = xyes; then
11267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11272 /* Override any GCC internal prototype to avoid an error.
11273 Use char because int might match the return type of a GCC
11274 builtin and then its argument prototype would still apply. */
11275 #ifdef __cplusplus
11276 extern "C"
11277 #endif
11278 char dlopen ();
11280 main ()
11282 return dlopen ();
11284 return 0;
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"; then :
11288 ac_cv_lib_dl_dlopen=yes
11289 else
11290 ac_cv_lib_dl_dlopen=no
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_lib_save_LIBS
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11297 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11298 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11299 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11300 else
11302 lt_cv_dlopen="dyld"
11303 lt_cv_dlopen_libs=
11304 lt_cv_dlopen_self=yes
11311 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11312 if test "x$ac_cv_func_shl_load" = x""yes; then :
11313 lt_cv_dlopen="shl_load"
11314 else
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11316 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11317 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11318 $as_echo_n "(cached) " >&6
11319 else
11320 ac_check_lib_save_LIBS=$LIBS
11321 LIBS="-ldld $LIBS"
11322 if test x$gcc_no_link = xyes; then
11323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char shl_load ();
11336 main ()
11338 return shl_load ();
11340 return 0;
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 ac_cv_lib_dld_shl_load=yes
11345 else
11346 ac_cv_lib_dld_shl_load=no
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_lib_save_LIBS
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11353 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11354 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11355 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11356 else
11357 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11358 if test "x$ac_cv_func_dlopen" = x""yes; then :
11359 lt_cv_dlopen="dlopen"
11360 else
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11362 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11363 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11364 $as_echo_n "(cached) " >&6
11365 else
11366 ac_check_lib_save_LIBS=$LIBS
11367 LIBS="-ldl $LIBS"
11368 if test x$gcc_no_link = xyes; then
11369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char dlopen ();
11382 main ()
11384 return dlopen ();
11386 return 0;
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 ac_cv_lib_dl_dlopen=yes
11391 else
11392 ac_cv_lib_dl_dlopen=no
11394 rm -f core conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11399 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11400 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11401 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11402 else
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11404 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11405 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11406 $as_echo_n "(cached) " >&6
11407 else
11408 ac_check_lib_save_LIBS=$LIBS
11409 LIBS="-lsvld $LIBS"
11410 if test x$gcc_no_link = xyes; then
11411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char dlopen ();
11424 main ()
11426 return dlopen ();
11428 return 0;
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 ac_cv_lib_svld_dlopen=yes
11433 else
11434 ac_cv_lib_svld_dlopen=no
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11441 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11442 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11443 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11444 else
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11446 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11447 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_lib_save_LIBS=$LIBS
11451 LIBS="-ldld $LIBS"
11452 if test x$gcc_no_link = xyes; then
11453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11461 #ifdef __cplusplus
11462 extern "C"
11463 #endif
11464 char dld_link ();
11466 main ()
11468 return dld_link ();
11470 return 0;
11472 _ACEOF
11473 if ac_fn_c_try_link "$LINENO"; then :
11474 ac_cv_lib_dld_dld_link=yes
11475 else
11476 ac_cv_lib_dld_dld_link=no
11478 rm -f core conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_lib_save_LIBS
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11483 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11484 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11485 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11504 esac
11506 if test "x$lt_cv_dlopen" != xno; then
11507 enable_dlopen=yes
11508 else
11509 enable_dlopen=no
11512 case $lt_cv_dlopen in
11513 dlopen)
11514 save_CPPFLAGS="$CPPFLAGS"
11515 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11517 save_LDFLAGS="$LDFLAGS"
11518 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11520 save_LIBS="$LIBS"
11521 LIBS="$lt_cv_dlopen_libs $LIBS"
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11524 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11525 if test "${lt_cv_dlopen_self+set}" = set; then :
11526 $as_echo_n "(cached) " >&6
11527 else
11528 if test "$cross_compiling" = yes; then :
11529 lt_cv_dlopen_self=cross
11530 else
11531 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11532 lt_status=$lt_dlunknown
11533 cat > conftest.$ac_ext <<_LT_EOF
11534 #line 11534 "configure"
11535 #include "confdefs.h"
11537 #if HAVE_DLFCN_H
11538 #include <dlfcn.h>
11539 #endif
11541 #include <stdio.h>
11543 #ifdef RTLD_GLOBAL
11544 # define LT_DLGLOBAL RTLD_GLOBAL
11545 #else
11546 # ifdef DL_GLOBAL
11547 # define LT_DLGLOBAL DL_GLOBAL
11548 # else
11549 # define LT_DLGLOBAL 0
11550 # endif
11551 #endif
11553 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11554 find out it does not work in some platform. */
11555 #ifndef LT_DLLAZY_OR_NOW
11556 # ifdef RTLD_LAZY
11557 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11558 # else
11559 # ifdef DL_LAZY
11560 # define LT_DLLAZY_OR_NOW DL_LAZY
11561 # else
11562 # ifdef RTLD_NOW
11563 # define LT_DLLAZY_OR_NOW RTLD_NOW
11564 # else
11565 # ifdef DL_NOW
11566 # define LT_DLLAZY_OR_NOW DL_NOW
11567 # else
11568 # define LT_DLLAZY_OR_NOW 0
11569 # endif
11570 # endif
11571 # endif
11572 # endif
11573 #endif
11575 /* When -fvisbility=hidden is used, assume the code has been annotated
11576 correspondingly for the symbols needed. */
11577 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11578 void fnord () __attribute__((visibility("default")));
11579 #endif
11581 void fnord () { int i=42; }
11582 int main ()
11584 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11585 int status = $lt_dlunknown;
11587 if (self)
11589 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11590 else
11592 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11593 else puts (dlerror ());
11595 /* dlclose (self); */
11597 else
11598 puts (dlerror ());
11600 return status;
11602 _LT_EOF
11603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11604 (eval $ac_link) 2>&5
11605 ac_status=$?
11606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11607 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11608 (./conftest; exit; ) >&5 2>/dev/null
11609 lt_status=$?
11610 case x$lt_status in
11611 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11612 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11613 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11614 esac
11615 else :
11616 # compilation failed
11617 lt_cv_dlopen_self=no
11620 rm -fr conftest*
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11625 $as_echo "$lt_cv_dlopen_self" >&6; }
11627 if test "x$lt_cv_dlopen_self" = xyes; then
11628 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11630 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11631 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11632 $as_echo_n "(cached) " >&6
11633 else
11634 if test "$cross_compiling" = yes; then :
11635 lt_cv_dlopen_self_static=cross
11636 else
11637 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11638 lt_status=$lt_dlunknown
11639 cat > conftest.$ac_ext <<_LT_EOF
11640 #line 11640 "configure"
11641 #include "confdefs.h"
11643 #if HAVE_DLFCN_H
11644 #include <dlfcn.h>
11645 #endif
11647 #include <stdio.h>
11649 #ifdef RTLD_GLOBAL
11650 # define LT_DLGLOBAL RTLD_GLOBAL
11651 #else
11652 # ifdef DL_GLOBAL
11653 # define LT_DLGLOBAL DL_GLOBAL
11654 # else
11655 # define LT_DLGLOBAL 0
11656 # endif
11657 #endif
11659 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11660 find out it does not work in some platform. */
11661 #ifndef LT_DLLAZY_OR_NOW
11662 # ifdef RTLD_LAZY
11663 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11664 # else
11665 # ifdef DL_LAZY
11666 # define LT_DLLAZY_OR_NOW DL_LAZY
11667 # else
11668 # ifdef RTLD_NOW
11669 # define LT_DLLAZY_OR_NOW RTLD_NOW
11670 # else
11671 # ifdef DL_NOW
11672 # define LT_DLLAZY_OR_NOW DL_NOW
11673 # else
11674 # define LT_DLLAZY_OR_NOW 0
11675 # endif
11676 # endif
11677 # endif
11678 # endif
11679 #endif
11681 /* When -fvisbility=hidden is used, assume the code has been annotated
11682 correspondingly for the symbols needed. */
11683 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11684 void fnord () __attribute__((visibility("default")));
11685 #endif
11687 void fnord () { int i=42; }
11688 int main ()
11690 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11691 int status = $lt_dlunknown;
11693 if (self)
11695 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11696 else
11698 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11699 else puts (dlerror ());
11701 /* dlclose (self); */
11703 else
11704 puts (dlerror ());
11706 return status;
11708 _LT_EOF
11709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11710 (eval $ac_link) 2>&5
11711 ac_status=$?
11712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11713 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11714 (./conftest; exit; ) >&5 2>/dev/null
11715 lt_status=$?
11716 case x$lt_status in
11717 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11718 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11719 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11720 esac
11721 else :
11722 # compilation failed
11723 lt_cv_dlopen_self_static=no
11726 rm -fr conftest*
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11731 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11734 CPPFLAGS="$save_CPPFLAGS"
11735 LDFLAGS="$save_LDFLAGS"
11736 LIBS="$save_LIBS"
11738 esac
11740 case $lt_cv_dlopen_self in
11741 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11742 *) enable_dlopen_self=unknown ;;
11743 esac
11745 case $lt_cv_dlopen_self_static in
11746 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11747 *) enable_dlopen_self_static=unknown ;;
11748 esac
11767 striplib=
11768 old_striplib=
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11770 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11771 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11772 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11773 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11775 $as_echo "yes" >&6; }
11776 else
11777 # FIXME - insert some real tests, host_os isn't really good enough
11778 case $host_os in
11779 darwin*)
11780 if test -n "$STRIP" ; then
11781 striplib="$STRIP -x"
11782 old_striplib="$STRIP -S"
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11784 $as_echo "yes" >&6; }
11785 else
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11792 $as_echo "no" >&6; }
11794 esac
11808 # Report which library types will actually be built
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11810 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11812 $as_echo "$can_build_shared" >&6; }
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11815 $as_echo_n "checking whether to build shared libraries... " >&6; }
11816 test "$can_build_shared" = "no" && enable_shared=no
11818 # On AIX, shared libraries and static libraries use the same namespace, and
11819 # are all built from PIC.
11820 case $host_os in
11821 aix3*)
11822 test "$enable_shared" = yes && enable_static=no
11823 if test -n "$RANLIB"; then
11824 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11825 postinstall_cmds='$RANLIB $lib'
11829 aix[4-9]*)
11830 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11831 test "$enable_shared" = yes && enable_static=no
11834 esac
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11836 $as_echo "$enable_shared" >&6; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11839 $as_echo_n "checking whether to build static libraries... " >&6; }
11840 # Make sure either enable_shared or enable_static is yes.
11841 test "$enable_shared" = yes || enable_static=yes
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11843 $as_echo "$enable_static" >&6; }
11849 ac_ext=c
11850 ac_cpp='$CPP $CPPFLAGS'
11851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11855 CC="$lt_save_CC"
11857 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11858 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11859 (test "X$CXX" != "Xg++"))) ; then
11860 ac_ext=cpp
11861 ac_cpp='$CXXCPP $CPPFLAGS'
11862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11866 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11867 if test -z "$CXXCPP"; then
11868 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11869 $as_echo_n "(cached) " >&6
11870 else
11871 # Double quotes because CXXCPP needs to be expanded
11872 for CXXCPP in "$CXX -E" "/lib/cpp"
11874 ac_preproc_ok=false
11875 for ac_cxx_preproc_warn_flag in '' yes
11877 # Use a header file that comes with gcc, so configuring glibc
11878 # with a fresh cross-compiler works.
11879 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11880 # <limits.h> exists even on freestanding compilers.
11881 # On the NeXT, cc -E runs the code through the compiler's parser,
11882 # not just through cpp. "Syntax error" is here to catch this case.
11883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11884 /* end confdefs.h. */
11885 #ifdef __STDC__
11886 # include <limits.h>
11887 #else
11888 # include <assert.h>
11889 #endif
11890 Syntax error
11891 _ACEOF
11892 if ac_fn_cxx_try_cpp "$LINENO"; then :
11894 else
11895 # Broken: fails on valid input.
11896 continue
11898 rm -f conftest.err conftest.$ac_ext
11900 # OK, works on sane cases. Now check whether nonexistent headers
11901 # can be detected and how.
11902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11903 /* end confdefs.h. */
11904 #include <ac_nonexistent.h>
11905 _ACEOF
11906 if ac_fn_cxx_try_cpp "$LINENO"; then :
11907 # Broken: success on invalid input.
11908 continue
11909 else
11910 # Passes both tests.
11911 ac_preproc_ok=:
11912 break
11914 rm -f conftest.err conftest.$ac_ext
11916 done
11917 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11918 rm -f conftest.err conftest.$ac_ext
11919 if $ac_preproc_ok; then :
11920 break
11923 done
11924 ac_cv_prog_CXXCPP=$CXXCPP
11927 CXXCPP=$ac_cv_prog_CXXCPP
11928 else
11929 ac_cv_prog_CXXCPP=$CXXCPP
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11932 $as_echo "$CXXCPP" >&6; }
11933 ac_preproc_ok=false
11934 for ac_cxx_preproc_warn_flag in '' yes
11936 # Use a header file that comes with gcc, so configuring glibc
11937 # with a fresh cross-compiler works.
11938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11939 # <limits.h> exists even on freestanding compilers.
11940 # On the NeXT, cc -E runs the code through the compiler's parser,
11941 # not just through cpp. "Syntax error" is here to catch this case.
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11944 #ifdef __STDC__
11945 # include <limits.h>
11946 #else
11947 # include <assert.h>
11948 #endif
11949 Syntax error
11950 _ACEOF
11951 if ac_fn_cxx_try_cpp "$LINENO"; then :
11953 else
11954 # Broken: fails on valid input.
11955 continue
11957 rm -f conftest.err conftest.$ac_ext
11959 # OK, works on sane cases. Now check whether nonexistent headers
11960 # can be detected and how.
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11963 #include <ac_nonexistent.h>
11964 _ACEOF
11965 if ac_fn_cxx_try_cpp "$LINENO"; then :
11966 # Broken: success on invalid input.
11967 continue
11968 else
11969 # Passes both tests.
11970 ac_preproc_ok=:
11971 break
11973 rm -f conftest.err conftest.$ac_ext
11975 done
11976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11977 rm -f conftest.err conftest.$ac_ext
11978 if $ac_preproc_ok; then :
11980 else
11981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11983 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11984 See \`config.log' for more details." "$LINENO" 5; }
11987 ac_ext=c
11988 ac_cpp='$CPP $CPPFLAGS'
11989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11993 else
11994 _lt_caught_CXX_error=yes
11997 ac_ext=cpp
11998 ac_cpp='$CXXCPP $CPPFLAGS'
11999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12003 archive_cmds_need_lc_CXX=no
12004 allow_undefined_flag_CXX=
12005 always_export_symbols_CXX=no
12006 archive_expsym_cmds_CXX=
12007 compiler_needs_object_CXX=no
12008 export_dynamic_flag_spec_CXX=
12009 hardcode_direct_CXX=no
12010 hardcode_direct_absolute_CXX=no
12011 hardcode_libdir_flag_spec_CXX=
12012 hardcode_libdir_flag_spec_ld_CXX=
12013 hardcode_libdir_separator_CXX=
12014 hardcode_minus_L_CXX=no
12015 hardcode_shlibpath_var_CXX=unsupported
12016 hardcode_automatic_CXX=no
12017 inherit_rpath_CXX=no
12018 module_cmds_CXX=
12019 module_expsym_cmds_CXX=
12020 link_all_deplibs_CXX=unknown
12021 old_archive_cmds_CXX=$old_archive_cmds
12022 reload_flag_CXX=$reload_flag
12023 reload_cmds_CXX=$reload_cmds
12024 no_undefined_flag_CXX=
12025 whole_archive_flag_spec_CXX=
12026 enable_shared_with_static_runtimes_CXX=no
12028 # Source file extension for C++ test sources.
12029 ac_ext=cpp
12031 # Object file extension for compiled C++ test sources.
12032 objext=o
12033 objext_CXX=$objext
12035 # No sense in running all these tests if we already determined that
12036 # the CXX compiler isn't working. Some variables (like enable_shared)
12037 # are currently assumed to apply to all compilers on this platform,
12038 # and will be corrupted by setting them based on a non-working compiler.
12039 if test "$_lt_caught_CXX_error" != yes; then
12040 # Code to be used in simple compile tests
12041 lt_simple_compile_test_code="int some_variable = 0;"
12043 # Code to be used in simple link tests
12044 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12046 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12053 # If no C compiler was specified, use CC.
12054 LTCC=${LTCC-"$CC"}
12056 # If no C compiler flags were specified, use CFLAGS.
12057 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12059 # Allow CC to be a program name with arguments.
12060 compiler=$CC
12063 # save warnings/boilerplate of simple test code
12064 ac_outfile=conftest.$ac_objext
12065 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12066 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12067 _lt_compiler_boilerplate=`cat conftest.err`
12068 $RM conftest*
12070 ac_outfile=conftest.$ac_objext
12071 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12072 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12073 _lt_linker_boilerplate=`cat conftest.err`
12074 $RM -r conftest*
12077 # Allow CC to be a program name with arguments.
12078 lt_save_CC=$CC
12079 lt_save_LD=$LD
12080 lt_save_GCC=$GCC
12081 GCC=$GXX
12082 lt_save_with_gnu_ld=$with_gnu_ld
12083 lt_save_path_LD=$lt_cv_path_LD
12084 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12085 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12086 else
12087 $as_unset lt_cv_prog_gnu_ld
12089 if test -n "${lt_cv_path_LDCXX+set}"; then
12090 lt_cv_path_LD=$lt_cv_path_LDCXX
12091 else
12092 $as_unset lt_cv_path_LD
12094 test -z "${LDCXX+set}" || LD=$LDCXX
12095 CC=${CXX-"c++"}
12096 compiler=$CC
12097 compiler_CXX=$CC
12098 for cc_temp in $compiler""; do
12099 case $cc_temp in
12100 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12101 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12102 \-*) ;;
12103 *) break;;
12104 esac
12105 done
12106 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12109 if test -n "$compiler"; then
12110 # We don't want -fno-exception when compiling C++ code, so set the
12111 # no_builtin_flag separately
12112 if test "$GXX" = yes; then
12113 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12114 else
12115 lt_prog_compiler_no_builtin_flag_CXX=
12118 if test "$GXX" = yes; then
12119 # Set up default GNU C++ configuration
12123 # Check whether --with-gnu-ld was given.
12124 if test "${with_gnu_ld+set}" = set; then :
12125 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12126 else
12127 with_gnu_ld=no
12130 ac_prog=ld
12131 if test "$GCC" = yes; then
12132 # Check if gcc -print-prog-name=ld gives a path.
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12134 $as_echo_n "checking for ld used by $CC... " >&6; }
12135 case $host in
12136 *-*-mingw*)
12137 # gcc leaves a trailing carriage return which upsets mingw
12138 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12140 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12141 esac
12142 case $ac_prog in
12143 # Accept absolute paths.
12144 [\\/]* | ?:[\\/]*)
12145 re_direlt='/[^/][^/]*/\.\./'
12146 # Canonicalize the pathname of ld
12147 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12148 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12149 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12150 done
12151 test -z "$LD" && LD="$ac_prog"
12154 # If it fails, then pretend we aren't using GCC.
12155 ac_prog=ld
12158 # If it is relative, then search for the first ld in PATH.
12159 with_gnu_ld=unknown
12161 esac
12162 elif test "$with_gnu_ld" = yes; then
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12164 $as_echo_n "checking for GNU ld... " >&6; }
12165 else
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12167 $as_echo_n "checking for non-GNU ld... " >&6; }
12169 if test "${lt_cv_path_LD+set}" = set; then :
12170 $as_echo_n "(cached) " >&6
12171 else
12172 if test -z "$LD"; then
12173 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12174 for ac_dir in $PATH; do
12175 IFS="$lt_save_ifs"
12176 test -z "$ac_dir" && ac_dir=.
12177 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12178 lt_cv_path_LD="$ac_dir/$ac_prog"
12179 # Check to see if the program is GNU ld. I'd rather use --version,
12180 # but apparently some variants of GNU ld only accept -v.
12181 # Break only if it was the GNU/non-GNU ld that we prefer.
12182 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12183 *GNU* | *'with BFD'*)
12184 test "$with_gnu_ld" != no && break
12187 test "$with_gnu_ld" != yes && break
12189 esac
12191 done
12192 IFS="$lt_save_ifs"
12193 else
12194 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12198 LD="$lt_cv_path_LD"
12199 if test -n "$LD"; then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12201 $as_echo "$LD" >&6; }
12202 else
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12204 $as_echo "no" >&6; }
12206 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12208 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12209 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12210 $as_echo_n "(cached) " >&6
12211 else
12212 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12213 case `$LD -v 2>&1 </dev/null` in
12214 *GNU* | *'with BFD'*)
12215 lt_cv_prog_gnu_ld=yes
12218 lt_cv_prog_gnu_ld=no
12220 esac
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12223 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12224 with_gnu_ld=$lt_cv_prog_gnu_ld
12232 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12233 # archiving commands below assume that GNU ld is being used.
12234 if test "$with_gnu_ld" = yes; then
12235 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12236 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'
12238 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12239 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12241 # If archive_cmds runs LD, not CC, wlarc should be empty
12242 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12243 # investigate it a little bit more. (MM)
12244 wlarc='${wl}'
12246 # ancient GNU ld didn't support --whole-archive et. al.
12247 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12248 $GREP 'no-whole-archive' > /dev/null; then
12249 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12250 else
12251 whole_archive_flag_spec_CXX=
12253 else
12254 with_gnu_ld=no
12255 wlarc=
12257 # A generic and very simple default shared library creation
12258 # command for GNU C++ for the case where it uses the native
12259 # linker, instead of GNU ld. If possible, this setting should
12260 # overridden to take advantage of the native linker features on
12261 # the platform it is being used on.
12262 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12265 # Commands to make compiler produce verbose output that lists
12266 # what "hidden" libraries, object files and flags are used when
12267 # linking a shared library.
12268 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12270 else
12271 GXX=no
12272 with_gnu_ld=no
12273 wlarc=
12276 # PORTME: fill in a description of your system's C++ link characteristics
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12278 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12279 ld_shlibs_CXX=yes
12280 case $host_os in
12281 aix3*)
12282 # FIXME: insert proper C++ library support
12283 ld_shlibs_CXX=no
12285 aix[4-9]*)
12286 if test "$host_cpu" = ia64; then
12287 # On IA64, the linker does run time linking by default, so we don't
12288 # have to do anything special.
12289 aix_use_runtimelinking=no
12290 exp_sym_flag='-Bexport'
12291 no_entry_flag=""
12292 else
12293 aix_use_runtimelinking=no
12295 # Test if we are trying to use run time linking or normal
12296 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12297 # need to do runtime linking.
12298 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12299 for ld_flag in $LDFLAGS; do
12300 case $ld_flag in
12301 *-brtl*)
12302 aix_use_runtimelinking=yes
12303 break
12305 esac
12306 done
12308 esac
12310 exp_sym_flag='-bexport'
12311 no_entry_flag='-bnoentry'
12314 # When large executables or shared objects are built, AIX ld can
12315 # have problems creating the table of contents. If linking a library
12316 # or program results in "error TOC overflow" add -mminimal-toc to
12317 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12318 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12320 archive_cmds_CXX=''
12321 hardcode_direct_CXX=yes
12322 hardcode_direct_absolute_CXX=yes
12323 hardcode_libdir_separator_CXX=':'
12324 link_all_deplibs_CXX=yes
12325 file_list_spec_CXX='${wl}-f,'
12327 if test "$GXX" = yes; then
12328 case $host_os in aix4.[012]|aix4.[012].*)
12329 # We only want to do this on AIX 4.2 and lower, the check
12330 # below for broken collect2 doesn't work under 4.3+
12331 collect2name=`${CC} -print-prog-name=collect2`
12332 if test -f "$collect2name" &&
12333 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12334 then
12335 # We have reworked collect2
12337 else
12338 # We have old collect2
12339 hardcode_direct_CXX=unsupported
12340 # It fails to find uninstalled libraries when the uninstalled
12341 # path is not listed in the libpath. Setting hardcode_minus_L
12342 # to unsupported forces relinking
12343 hardcode_minus_L_CXX=yes
12344 hardcode_libdir_flag_spec_CXX='-L$libdir'
12345 hardcode_libdir_separator_CXX=
12347 esac
12348 shared_flag='-shared'
12349 if test "$aix_use_runtimelinking" = yes; then
12350 shared_flag="$shared_flag "'${wl}-G'
12352 else
12353 # not using gcc
12354 if test "$host_cpu" = ia64; then
12355 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12356 # chokes on -Wl,-G. The following line is correct:
12357 shared_flag='-G'
12358 else
12359 if test "$aix_use_runtimelinking" = yes; then
12360 shared_flag='${wl}-G'
12361 else
12362 shared_flag='${wl}-bM:SRE'
12367 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12368 # It seems that -bexpall does not export symbols beginning with
12369 # underscore (_), so it is better to generate a list of symbols to
12370 # export.
12371 always_export_symbols_CXX=yes
12372 if test "$aix_use_runtimelinking" = yes; then
12373 # Warning - without using the other runtime loading flags (-brtl),
12374 # -berok will link without error, but may produce a broken library.
12375 allow_undefined_flag_CXX='-berok'
12376 # Determine the default libpath from the value encoded in an empty
12377 # executable.
12378 if test x$gcc_no_link = xyes; then
12379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12385 main ()
12389 return 0;
12391 _ACEOF
12392 if ac_fn_cxx_try_link "$LINENO"; then :
12394 lt_aix_libpath_sed='
12395 /Import File Strings/,/^$/ {
12396 /^0/ {
12397 s/^0 *\(.*\)$/\1/
12401 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 # Check for a 64-bit object if we didn't find anything.
12403 if test -z "$aix_libpath"; then
12404 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12407 rm -f core conftest.err conftest.$ac_objext \
12408 conftest$ac_exeext conftest.$ac_ext
12409 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12411 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12413 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"
12414 else
12415 if test "$host_cpu" = ia64; then
12416 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12417 allow_undefined_flag_CXX="-z nodefs"
12418 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"
12419 else
12420 # Determine the default libpath from the value encoded in an
12421 # empty executable.
12422 if test x$gcc_no_link = xyes; then
12423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12429 main ()
12433 return 0;
12435 _ACEOF
12436 if ac_fn_cxx_try_link "$LINENO"; then :
12438 lt_aix_libpath_sed='
12439 /Import File Strings/,/^$/ {
12440 /^0/ {
12441 s/^0 *\(.*\)$/\1/
12445 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12446 # Check for a 64-bit object if we didn't find anything.
12447 if test -z "$aix_libpath"; then
12448 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12451 rm -f core conftest.err conftest.$ac_objext \
12452 conftest$ac_exeext conftest.$ac_ext
12453 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12455 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12456 # Warning - without using the other run time loading flags,
12457 # -berok will link without error, but may produce a broken library.
12458 no_undefined_flag_CXX=' ${wl}-bernotok'
12459 allow_undefined_flag_CXX=' ${wl}-berok'
12460 if test "$with_gnu_ld" = yes; then
12461 # We only use this code for GNU lds that support --whole-archive.
12462 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12463 else
12464 # Exported symbols can be pulled into shared objects from archives
12465 whole_archive_flag_spec_CXX='$convenience'
12467 archive_cmds_need_lc_CXX=yes
12468 # This is similar to how AIX traditionally builds its shared
12469 # libraries.
12470 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'
12475 beos*)
12476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12477 allow_undefined_flag_CXX=unsupported
12478 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12479 # support --undefined. This deserves some investigation. FIXME
12480 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12481 else
12482 ld_shlibs_CXX=no
12486 chorus*)
12487 case $cc_basename in
12489 # FIXME: insert proper C++ library support
12490 ld_shlibs_CXX=no
12492 esac
12495 cygwin* | mingw* | pw32* | cegcc*)
12496 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12497 # as there is no search path for DLLs.
12498 hardcode_libdir_flag_spec_CXX='-L$libdir'
12499 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12500 allow_undefined_flag_CXX=unsupported
12501 always_export_symbols_CXX=no
12502 enable_shared_with_static_runtimes_CXX=yes
12504 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12505 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'
12506 # If the export-symbols file already is a .def file (1st line
12507 # is EXPORTS), use it as is; otherwise, prepend...
12508 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12509 cp $export_symbols $output_objdir/$soname.def;
12510 else
12511 echo EXPORTS > $output_objdir/$soname.def;
12512 cat $export_symbols >> $output_objdir/$soname.def;
12514 $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'
12515 else
12516 ld_shlibs_CXX=no
12519 darwin* | rhapsody*)
12522 archive_cmds_need_lc_CXX=no
12523 hardcode_direct_CXX=no
12524 hardcode_automatic_CXX=yes
12525 hardcode_shlibpath_var_CXX=unsupported
12526 if test "$lt_cv_ld_force_load" = "yes"; then
12527 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\"`'
12528 else
12529 whole_archive_flag_spec_CXX=''
12531 link_all_deplibs_CXX=yes
12532 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12533 case $cc_basename in
12534 ifort*) _lt_dar_can_shared=yes ;;
12535 *) _lt_dar_can_shared=$GCC ;;
12536 esac
12537 if test "$_lt_dar_can_shared" = "yes"; then
12538 output_verbose_link_cmd=func_echo_all
12539 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}"
12540 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12541 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}"
12542 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}"
12543 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12544 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}"
12545 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}"
12548 else
12549 ld_shlibs_CXX=no
12554 dgux*)
12555 case $cc_basename in
12556 ec++*)
12557 # FIXME: insert proper C++ library support
12558 ld_shlibs_CXX=no
12560 ghcx*)
12561 # Green Hills C++ Compiler
12562 # FIXME: insert proper C++ library support
12563 ld_shlibs_CXX=no
12566 # FIXME: insert proper C++ library support
12567 ld_shlibs_CXX=no
12569 esac
12572 freebsd2.*)
12573 # C++ shared libraries reported to be fairly broken before
12574 # switch to ELF
12575 ld_shlibs_CXX=no
12578 freebsd-elf*)
12579 archive_cmds_need_lc_CXX=no
12582 freebsd* | dragonfly*)
12583 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12584 # conventions
12585 ld_shlibs_CXX=yes
12588 gnu*)
12591 haiku*)
12592 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12593 link_all_deplibs_CXX=yes
12596 hpux9*)
12597 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12598 hardcode_libdir_separator_CXX=:
12599 export_dynamic_flag_spec_CXX='${wl}-E'
12600 hardcode_direct_CXX=yes
12601 hardcode_minus_L_CXX=yes # Not in the search PATH,
12602 # but as the default
12603 # location of the library.
12605 case $cc_basename in
12606 CC*)
12607 # FIXME: insert proper C++ library support
12608 ld_shlibs_CXX=no
12610 aCC*)
12611 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'
12612 # Commands to make compiler produce verbose output that lists
12613 # what "hidden" libraries, object files and flags are used when
12614 # linking a shared library.
12616 # There doesn't appear to be a way to prevent this compiler from
12617 # explicitly linking system object files so we need to strip them
12618 # from the output so that they don't get included in the library
12619 # dependencies.
12620 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"'
12623 if test "$GXX" = yes; then
12624 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'
12625 else
12626 # FIXME: insert proper C++ library support
12627 ld_shlibs_CXX=no
12630 esac
12633 hpux10*|hpux11*)
12634 if test $with_gnu_ld = no; then
12635 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12636 hardcode_libdir_separator_CXX=:
12638 case $host_cpu in
12639 hppa*64*|ia64*)
12642 export_dynamic_flag_spec_CXX='${wl}-E'
12644 esac
12646 case $host_cpu in
12647 hppa*64*|ia64*)
12648 hardcode_direct_CXX=no
12649 hardcode_shlibpath_var_CXX=no
12652 hardcode_direct_CXX=yes
12653 hardcode_direct_absolute_CXX=yes
12654 hardcode_minus_L_CXX=yes # Not in the search PATH,
12655 # but as the default
12656 # location of the library.
12658 esac
12660 case $cc_basename in
12661 CC*)
12662 # FIXME: insert proper C++ library support
12663 ld_shlibs_CXX=no
12665 aCC*)
12666 case $host_cpu in
12667 hppa*64*)
12668 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12670 ia64*)
12671 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12674 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12676 esac
12677 # Commands to make compiler produce verbose output that lists
12678 # what "hidden" libraries, object files and flags are used when
12679 # linking a shared library.
12681 # There doesn't appear to be a way to prevent this compiler from
12682 # explicitly linking system object files so we need to strip them
12683 # from the output so that they don't get included in the library
12684 # dependencies.
12685 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"'
12688 if test "$GXX" = yes; then
12689 if test $with_gnu_ld = no; then
12690 case $host_cpu in
12691 hppa*64*)
12692 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12694 ia64*)
12695 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12698 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'
12700 esac
12702 else
12703 # FIXME: insert proper C++ library support
12704 ld_shlibs_CXX=no
12707 esac
12710 interix[3-9]*)
12711 hardcode_direct_CXX=no
12712 hardcode_shlibpath_var_CXX=no
12713 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12714 export_dynamic_flag_spec_CXX='${wl}-E'
12715 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12716 # Instead, shared libraries are loaded at an image base (0x10000000 by
12717 # default) and relocated if they conflict, which is a slow very memory
12718 # consuming and fragmenting process. To avoid this, we pick a random,
12719 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12720 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12721 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'
12722 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'
12724 irix5* | irix6*)
12725 case $cc_basename in
12726 CC*)
12727 # SGI C++
12728 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'
12730 # Archives containing C++ object files must be created using
12731 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12732 # necessary to make sure instantiated templates are included
12733 # in the archive.
12734 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12737 if test "$GXX" = yes; then
12738 if test "$with_gnu_ld" = no; then
12739 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'
12740 else
12741 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'
12744 link_all_deplibs_CXX=yes
12746 esac
12747 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12748 hardcode_libdir_separator_CXX=:
12749 inherit_rpath_CXX=yes
12752 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12753 case $cc_basename in
12754 KCC*)
12755 # Kuck and Associates, Inc. (KAI) C++ Compiler
12757 # KCC will only create a shared library if the output file
12758 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12759 # to its proper name (with version) after linking.
12760 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'
12761 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'
12762 # Commands to make compiler produce verbose output that lists
12763 # what "hidden" libraries, object files and flags are used when
12764 # linking a shared library.
12766 # There doesn't appear to be a way to prevent this compiler from
12767 # explicitly linking system object files so we need to strip them
12768 # from the output so that they don't get included in the library
12769 # dependencies.
12770 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"'
12772 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12773 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12775 # Archives containing C++ object files must be created using
12776 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12777 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12779 icpc* | ecpc* )
12780 # Intel C++
12781 with_gnu_ld=yes
12782 # version 8.0 and above of icpc choke on multiply defined symbols
12783 # if we add $predep_objects and $postdep_objects, however 7.1 and
12784 # earlier do not add the objects themselves.
12785 case `$CC -V 2>&1` in
12786 *"Version 7."*)
12787 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12788 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'
12790 *) # Version 8.0 or newer
12791 tmp_idyn=
12792 case $host_cpu in
12793 ia64*) tmp_idyn=' -i_dynamic';;
12794 esac
12795 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 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'
12798 esac
12799 archive_cmds_need_lc_CXX=no
12800 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12801 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12802 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12804 pgCC* | pgcpp*)
12805 # Portland Group C++ compiler
12806 case `$CC -V` in
12807 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12808 prelink_cmds_CXX='tpldir=Template.dir~
12809 rm -rf $tpldir~
12810 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12811 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12812 old_archive_cmds_CXX='tpldir=Template.dir~
12813 rm -rf $tpldir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12815 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12816 $RANLIB $oldlib'
12817 archive_cmds_CXX='tpldir=Template.dir~
12818 rm -rf $tpldir~
12819 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12820 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12821 archive_expsym_cmds_CXX='tpldir=Template.dir~
12822 rm -rf $tpldir~
12823 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12824 $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'
12826 *) # Version 6 and above use weak symbols
12827 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12828 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'
12830 esac
12832 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12833 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12834 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'
12836 cxx*)
12837 # Compaq C++
12838 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12839 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'
12841 runpath_var=LD_RUN_PATH
12842 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12843 hardcode_libdir_separator_CXX=:
12845 # Commands to make compiler produce verbose output that lists
12846 # what "hidden" libraries, object files and flags are used when
12847 # linking a shared library.
12849 # There doesn't appear to be a way to prevent this compiler from
12850 # explicitly linking system object files so we need to strip them
12851 # from the output so that they don't get included in the library
12852 # dependencies.
12853 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'
12855 xl* | mpixl* | bgxl*)
12856 # IBM XL 8.0 on PPC, with GNU ld
12857 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12858 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12859 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12860 if test "x$supports_anon_versioning" = xyes; then
12861 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12862 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12863 echo "local: *; };" >> $output_objdir/$libname.ver~
12864 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12868 case `$CC -V 2>&1 | sed 5q` in
12869 *Sun\ C*)
12870 # Sun C++ 5.9
12871 no_undefined_flag_CXX=' -zdefs'
12872 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12873 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'
12874 hardcode_libdir_flag_spec_CXX='-R$libdir'
12875 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'
12876 compiler_needs_object_CXX=yes
12878 # Not sure whether something based on
12879 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12880 # would be better.
12881 output_verbose_link_cmd='func_echo_all'
12883 # Archives containing C++ object files must be created using
12884 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12885 # necessary to make sure instantiated templates are included
12886 # in the archive.
12887 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12889 esac
12891 esac
12894 lynxos*)
12895 # FIXME: insert proper C++ library support
12896 ld_shlibs_CXX=no
12899 m88k*)
12900 # FIXME: insert proper C++ library support
12901 ld_shlibs_CXX=no
12904 mvs*)
12905 case $cc_basename in
12906 cxx*)
12907 # FIXME: insert proper C++ library support
12908 ld_shlibs_CXX=no
12911 # FIXME: insert proper C++ library support
12912 ld_shlibs_CXX=no
12914 esac
12917 netbsd*)
12918 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12919 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12920 wlarc=
12921 hardcode_libdir_flag_spec_CXX='-R$libdir'
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12925 # Workaround some broken pre-1.5 toolchains
12926 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12929 *nto* | *qnx*)
12930 ld_shlibs_CXX=yes
12933 openbsd2*)
12934 # C++ shared libraries are fairly broken
12935 ld_shlibs_CXX=no
12938 openbsd*)
12939 if test -f /usr/libexec/ld.so; then
12940 hardcode_direct_CXX=yes
12941 hardcode_shlibpath_var_CXX=no
12942 hardcode_direct_absolute_CXX=yes
12943 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12944 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12945 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12946 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12947 export_dynamic_flag_spec_CXX='${wl}-E'
12948 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12950 output_verbose_link_cmd=func_echo_all
12951 else
12952 ld_shlibs_CXX=no
12956 osf3* | osf4* | osf5*)
12957 case $cc_basename in
12958 KCC*)
12959 # Kuck and Associates, Inc. (KAI) C++ Compiler
12961 # KCC will only create a shared library if the output file
12962 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12963 # to its proper name (with version) after linking.
12964 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'
12966 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12967 hardcode_libdir_separator_CXX=:
12969 # Archives containing C++ object files must be created using
12970 # the KAI C++ compiler.
12971 case $host in
12972 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12973 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12974 esac
12976 RCC*)
12977 # Rational C++ 2.4.1
12978 # FIXME: insert proper C++ library support
12979 ld_shlibs_CXX=no
12981 cxx*)
12982 case $host in
12983 osf3*)
12984 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12985 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'
12986 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12989 allow_undefined_flag_CXX=' -expect_unresolved \*'
12990 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'
12991 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12992 echo "-hidden">> $lib.exp~
12993 $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~
12994 $RM $lib.exp'
12995 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12997 esac
12999 hardcode_libdir_separator_CXX=:
13001 # Commands to make compiler produce verbose output that lists
13002 # what "hidden" libraries, object files and flags are used when
13003 # linking a shared library.
13005 # There doesn't appear to be a way to prevent this compiler from
13006 # explicitly linking system object files so we need to strip them
13007 # from the output so that they don't get included in the library
13008 # dependencies.
13009 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"'
13012 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13013 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13014 case $host in
13015 osf3*)
13016 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'
13019 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'
13021 esac
13023 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13024 hardcode_libdir_separator_CXX=:
13026 # Commands to make compiler produce verbose output that lists
13027 # what "hidden" libraries, object files and flags are used when
13028 # linking a shared library.
13029 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13031 else
13032 # FIXME: insert proper C++ library support
13033 ld_shlibs_CXX=no
13036 esac
13039 psos*)
13040 # FIXME: insert proper C++ library support
13041 ld_shlibs_CXX=no
13044 sunos4*)
13045 case $cc_basename in
13046 CC*)
13047 # Sun C++ 4.x
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13051 lcc*)
13052 # Lucid
13053 # FIXME: insert proper C++ library support
13054 ld_shlibs_CXX=no
13057 # FIXME: insert proper C++ library support
13058 ld_shlibs_CXX=no
13060 esac
13063 solaris*)
13064 case $cc_basename in
13065 CC*)
13066 # Sun C++ 4.2, 5.x and Centerline C++
13067 archive_cmds_need_lc_CXX=yes
13068 no_undefined_flag_CXX=' -zdefs'
13069 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13070 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13071 $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'
13073 hardcode_libdir_flag_spec_CXX='-R$libdir'
13074 hardcode_shlibpath_var_CXX=no
13075 case $host_os in
13076 solaris2.[0-5] | solaris2.[0-5].*) ;;
13078 # The compiler driver will combine and reorder linker options,
13079 # but understands `-z linker_flag'.
13080 # Supported since Solaris 2.6 (maybe 2.5.1?)
13081 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13083 esac
13084 link_all_deplibs_CXX=yes
13086 output_verbose_link_cmd='func_echo_all'
13088 # Archives containing C++ object files must be created using
13089 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13090 # necessary to make sure instantiated templates are included
13091 # in the archive.
13092 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13094 gcx*)
13095 # Green Hills C++ Compiler
13096 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13098 # The C++ compiler must be used to create the archive.
13099 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13102 # GNU C++ compiler with Solaris linker
13103 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13104 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13105 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13106 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13107 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13108 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13110 # Commands to make compiler produce verbose output that lists
13111 # what "hidden" libraries, object files and flags are used when
13112 # linking a shared library.
13113 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13114 else
13115 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13116 # platform.
13117 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13118 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13119 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13121 # Commands to make compiler produce verbose output that lists
13122 # what "hidden" libraries, object files and flags are used when
13123 # linking a shared library.
13124 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13127 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13128 case $host_os in
13129 solaris2.[0-5] | solaris2.[0-5].*) ;;
13131 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13133 esac
13136 esac
13139 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13140 no_undefined_flag_CXX='${wl}-z,text'
13141 archive_cmds_need_lc_CXX=no
13142 hardcode_shlibpath_var_CXX=no
13143 runpath_var='LD_RUN_PATH'
13145 case $cc_basename in
13146 CC*)
13147 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13148 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13151 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13152 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13154 esac
13157 sysv5* | sco3.2v5* | sco5v6*)
13158 # Note: We can NOT use -z defs as we might desire, because we do not
13159 # link with -lc, and that would cause any symbols used from libc to
13160 # always be unresolved, which means just about no library would
13161 # ever link correctly. If we're not using GNU ld we use -z text
13162 # though, which does catch some bad symbols but isn't as heavy-handed
13163 # as -z defs.
13164 no_undefined_flag_CXX='${wl}-z,text'
13165 allow_undefined_flag_CXX='${wl}-z,nodefs'
13166 archive_cmds_need_lc_CXX=no
13167 hardcode_shlibpath_var_CXX=no
13168 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13169 hardcode_libdir_separator_CXX=':'
13170 link_all_deplibs_CXX=yes
13171 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13172 runpath_var='LD_RUN_PATH'
13174 case $cc_basename in
13175 CC*)
13176 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13177 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13178 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13179 '"$old_archive_cmds_CXX"
13180 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13181 '"$reload_cmds_CXX"
13184 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13185 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13187 esac
13190 tandem*)
13191 case $cc_basename in
13192 NCC*)
13193 # NonStop-UX NCC 3.20
13194 # FIXME: insert proper C++ library support
13195 ld_shlibs_CXX=no
13198 # FIXME: insert proper C++ library support
13199 ld_shlibs_CXX=no
13201 esac
13204 vxworks*)
13205 # FIXME: insert proper C++ library support
13206 ld_shlibs_CXX=no
13210 # FIXME: insert proper C++ library support
13211 ld_shlibs_CXX=no
13213 esac
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13216 $as_echo "$ld_shlibs_CXX" >&6; }
13217 test "$ld_shlibs_CXX" = no && can_build_shared=no
13219 GCC_CXX="$GXX"
13220 LD_CXX="$LD"
13222 ## CAVEAT EMPTOR:
13223 ## There is no encapsulation within the following macros, do not change
13224 ## the running order or otherwise move them around unless you know exactly
13225 ## what you are doing...
13226 # Dependencies to place before and after the object being linked:
13227 predep_objects_CXX=
13228 postdep_objects_CXX=
13229 predeps_CXX=
13230 postdeps_CXX=
13231 compiler_lib_search_path_CXX=
13233 cat > conftest.$ac_ext <<_LT_EOF
13234 class Foo
13236 public:
13237 Foo (void) { a = 0; }
13238 private:
13239 int a;
13241 _LT_EOF
13243 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13244 (eval $ac_compile) 2>&5
13245 ac_status=$?
13246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13247 test $ac_status = 0; }; then
13248 # Parse the compiler output and extract the necessary
13249 # objects, libraries and library flags.
13251 # Sentinel used to keep track of whether or not we are before
13252 # the conftest object file.
13253 pre_test_object_deps_done=no
13255 for p in `eval "$output_verbose_link_cmd"`; do
13256 case $p in
13258 -L* | -R* | -l*)
13259 # Some compilers place space between "-{L,R}" and the path.
13260 # Remove the space.
13261 if test $p = "-L" ||
13262 test $p = "-R"; then
13263 prev=$p
13264 continue
13265 else
13266 prev=
13269 if test "$pre_test_object_deps_done" = no; then
13270 case $p in
13271 -L* | -R*)
13272 # Internal compiler library paths should come after those
13273 # provided the user. The postdeps already come after the
13274 # user supplied libs so there is no need to process them.
13275 if test -z "$compiler_lib_search_path_CXX"; then
13276 compiler_lib_search_path_CXX="${prev}${p}"
13277 else
13278 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13281 # The "-l" case would never come before the object being
13282 # linked, so don't bother handling this case.
13283 esac
13284 else
13285 if test -z "$postdeps_CXX"; then
13286 postdeps_CXX="${prev}${p}"
13287 else
13288 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13293 *.$objext)
13294 # This assumes that the test object file only shows up
13295 # once in the compiler output.
13296 if test "$p" = "conftest.$objext"; then
13297 pre_test_object_deps_done=yes
13298 continue
13301 if test "$pre_test_object_deps_done" = no; then
13302 if test -z "$predep_objects_CXX"; then
13303 predep_objects_CXX="$p"
13304 else
13305 predep_objects_CXX="$predep_objects_CXX $p"
13307 else
13308 if test -z "$postdep_objects_CXX"; then
13309 postdep_objects_CXX="$p"
13310 else
13311 postdep_objects_CXX="$postdep_objects_CXX $p"
13316 *) ;; # Ignore the rest.
13318 esac
13319 done
13321 # Clean up.
13322 rm -f a.out a.exe
13323 else
13324 echo "libtool.m4: error: problem compiling CXX test program"
13327 $RM -f confest.$objext
13329 # PORTME: override above test on systems where it is broken
13330 case $host_os in
13331 interix[3-9]*)
13332 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13333 # hack all around it, let's just trust "g++" to DTRT.
13334 predep_objects_CXX=
13335 postdep_objects_CXX=
13336 postdeps_CXX=
13339 linux*)
13340 case `$CC -V 2>&1 | sed 5q` in
13341 *Sun\ C*)
13342 # Sun C++ 5.9
13344 # The more standards-conforming stlport4 library is
13345 # incompatible with the Cstd library. Avoid specifying
13346 # it if it's in CXXFLAGS. Ignore libCrun as
13347 # -library=stlport4 depends on it.
13348 case " $CXX $CXXFLAGS " in
13349 *" -library=stlport4 "*)
13350 solaris_use_stlport4=yes
13352 esac
13354 if test "$solaris_use_stlport4" != yes; then
13355 postdeps_CXX='-library=Cstd -library=Crun'
13358 esac
13361 solaris*)
13362 case $cc_basename in
13363 CC*)
13364 # The more standards-conforming stlport4 library is
13365 # incompatible with the Cstd library. Avoid specifying
13366 # it if it's in CXXFLAGS. Ignore libCrun as
13367 # -library=stlport4 depends on it.
13368 case " $CXX $CXXFLAGS " in
13369 *" -library=stlport4 "*)
13370 solaris_use_stlport4=yes
13372 esac
13374 # Adding this requires a known-good setup of shared libraries for
13375 # Sun compiler versions before 5.6, else PIC objects from an old
13376 # archive will be linked into the output, leading to subtle bugs.
13377 if test "$solaris_use_stlport4" != yes; then
13378 postdeps_CXX='-library=Cstd -library=Crun'
13381 esac
13383 esac
13386 case " $postdeps_CXX " in
13387 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13388 esac
13389 compiler_lib_search_dirs_CXX=
13390 if test -n "${compiler_lib_search_path_CXX}"; then
13391 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13424 lt_prog_compiler_wl_CXX=
13425 lt_prog_compiler_pic_CXX=
13426 lt_prog_compiler_static_CXX=
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13429 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13431 # C++ specific cases for pic, static, wl, etc.
13432 if test "$GXX" = yes; then
13433 lt_prog_compiler_wl_CXX='-Wl,'
13434 lt_prog_compiler_static_CXX='-static'
13436 case $host_os in
13437 aix*)
13438 # All AIX code is PIC.
13439 if test "$host_cpu" = ia64; then
13440 # AIX 5 now supports IA64 processor
13441 lt_prog_compiler_static_CXX='-Bstatic'
13443 lt_prog_compiler_pic_CXX='-fPIC'
13446 amigaos*)
13447 case $host_cpu in
13448 powerpc)
13449 # see comment about AmigaOS4 .so support
13450 lt_prog_compiler_pic_CXX='-fPIC'
13452 m68k)
13453 # FIXME: we need at least 68020 code to build shared libraries, but
13454 # adding the `-m68020' flag to GCC prevents building anything better,
13455 # like `-m68040'.
13456 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13458 esac
13461 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13462 # PIC is the default for these OSes.
13464 mingw* | cygwin* | os2* | pw32* | cegcc*)
13465 # This hack is so that the source file can tell whether it is being
13466 # built for inclusion in a dll (and should export symbols for example).
13467 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13468 # (--disable-auto-import) libraries
13469 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13471 darwin* | rhapsody*)
13472 # PIC is the default on this platform
13473 # Common symbols not allowed in MH_DYLIB files
13474 lt_prog_compiler_pic_CXX='-fno-common'
13476 *djgpp*)
13477 # DJGPP does not support shared libraries at all
13478 lt_prog_compiler_pic_CXX=
13480 haiku*)
13481 # PIC is the default for Haiku.
13482 # The "-static" flag exists, but is broken.
13483 lt_prog_compiler_static_CXX=
13485 interix[3-9]*)
13486 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13487 # Instead, we relocate shared libraries at runtime.
13489 sysv4*MP*)
13490 if test -d /usr/nec; then
13491 lt_prog_compiler_pic_CXX=-Kconform_pic
13494 hpux*)
13495 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13496 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13497 # sets the default TLS model and affects inlining.
13498 case $host_cpu in
13499 hppa*64*)
13502 lt_prog_compiler_pic_CXX='-fPIC'
13504 esac
13506 *qnx* | *nto*)
13507 # QNX uses GNU C++, but need to define -shared option too, otherwise
13508 # it will coredump.
13509 lt_prog_compiler_pic_CXX='-fPIC -shared'
13512 lt_prog_compiler_pic_CXX='-fPIC'
13514 esac
13515 else
13516 case $host_os in
13517 aix[4-9]*)
13518 # All AIX code is PIC.
13519 if test "$host_cpu" = ia64; then
13520 # AIX 5 now supports IA64 processor
13521 lt_prog_compiler_static_CXX='-Bstatic'
13522 else
13523 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13526 chorus*)
13527 case $cc_basename in
13528 cxch68*)
13529 # Green Hills C++ Compiler
13530 # _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"
13532 esac
13534 dgux*)
13535 case $cc_basename in
13536 ec++*)
13537 lt_prog_compiler_pic_CXX='-KPIC'
13539 ghcx*)
13540 # Green Hills C++ Compiler
13541 lt_prog_compiler_pic_CXX='-pic'
13545 esac
13547 freebsd* | dragonfly*)
13548 # FreeBSD uses GNU C++
13550 hpux9* | hpux10* | hpux11*)
13551 case $cc_basename in
13552 CC*)
13553 lt_prog_compiler_wl_CXX='-Wl,'
13554 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13555 if test "$host_cpu" != ia64; then
13556 lt_prog_compiler_pic_CXX='+Z'
13559 aCC*)
13560 lt_prog_compiler_wl_CXX='-Wl,'
13561 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13562 case $host_cpu in
13563 hppa*64*|ia64*)
13564 # +Z the default
13567 lt_prog_compiler_pic_CXX='+Z'
13569 esac
13573 esac
13575 interix*)
13576 # This is c89, which is MS Visual C++ (no shared libs)
13577 # Anyone wants to do a port?
13579 irix5* | irix6* | nonstopux*)
13580 case $cc_basename in
13581 CC*)
13582 lt_prog_compiler_wl_CXX='-Wl,'
13583 lt_prog_compiler_static_CXX='-non_shared'
13584 # CC pic flag -KPIC is the default.
13588 esac
13590 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13591 case $cc_basename in
13592 KCC*)
13593 # KAI C++ Compiler
13594 lt_prog_compiler_wl_CXX='--backend -Wl,'
13595 lt_prog_compiler_pic_CXX='-fPIC'
13597 ecpc* )
13598 # old Intel C++ for x86_64 which still supported -KPIC.
13599 lt_prog_compiler_wl_CXX='-Wl,'
13600 lt_prog_compiler_pic_CXX='-KPIC'
13601 lt_prog_compiler_static_CXX='-static'
13603 icpc* )
13604 # Intel C++, used to be incompatible with GCC.
13605 # ICC 10 doesn't accept -KPIC any more.
13606 lt_prog_compiler_wl_CXX='-Wl,'
13607 lt_prog_compiler_pic_CXX='-fPIC'
13608 lt_prog_compiler_static_CXX='-static'
13610 pgCC* | pgcpp*)
13611 # Portland Group C++ compiler
13612 lt_prog_compiler_wl_CXX='-Wl,'
13613 lt_prog_compiler_pic_CXX='-fpic'
13614 lt_prog_compiler_static_CXX='-Bstatic'
13616 cxx*)
13617 # Compaq C++
13618 # Make sure the PIC flag is empty. It appears that all Alpha
13619 # Linux and Compaq Tru64 Unix objects are PIC.
13620 lt_prog_compiler_pic_CXX=
13621 lt_prog_compiler_static_CXX='-non_shared'
13623 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13624 # IBM XL 8.0, 9.0 on PPC and BlueGene
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 lt_prog_compiler_pic_CXX='-qpic'
13627 lt_prog_compiler_static_CXX='-qstaticlink'
13630 case `$CC -V 2>&1 | sed 5q` in
13631 *Sun\ C*)
13632 # Sun C++ 5.9
13633 lt_prog_compiler_pic_CXX='-KPIC'
13634 lt_prog_compiler_static_CXX='-Bstatic'
13635 lt_prog_compiler_wl_CXX='-Qoption ld '
13637 esac
13639 esac
13641 lynxos*)
13643 m88k*)
13645 mvs*)
13646 case $cc_basename in
13647 cxx*)
13648 lt_prog_compiler_pic_CXX='-W c,exportall'
13652 esac
13654 netbsd*)
13656 *qnx* | *nto*)
13657 # QNX uses GNU C++, but need to define -shared option too, otherwise
13658 # it will coredump.
13659 lt_prog_compiler_pic_CXX='-fPIC -shared'
13661 osf3* | osf4* | osf5*)
13662 case $cc_basename in
13663 KCC*)
13664 lt_prog_compiler_wl_CXX='--backend -Wl,'
13666 RCC*)
13667 # Rational C++ 2.4.1
13668 lt_prog_compiler_pic_CXX='-pic'
13670 cxx*)
13671 # Digital/Compaq C++
13672 lt_prog_compiler_wl_CXX='-Wl,'
13673 # Make sure the PIC flag is empty. It appears that all Alpha
13674 # Linux and Compaq Tru64 Unix objects are PIC.
13675 lt_prog_compiler_pic_CXX=
13676 lt_prog_compiler_static_CXX='-non_shared'
13680 esac
13682 psos*)
13684 solaris*)
13685 case $cc_basename in
13686 CC*)
13687 # Sun C++ 4.2, 5.x and Centerline C++
13688 lt_prog_compiler_pic_CXX='-KPIC'
13689 lt_prog_compiler_static_CXX='-Bstatic'
13690 lt_prog_compiler_wl_CXX='-Qoption ld '
13692 gcx*)
13693 # Green Hills C++ Compiler
13694 lt_prog_compiler_pic_CXX='-PIC'
13698 esac
13700 sunos4*)
13701 case $cc_basename in
13702 CC*)
13703 # Sun C++ 4.x
13704 lt_prog_compiler_pic_CXX='-pic'
13705 lt_prog_compiler_static_CXX='-Bstatic'
13707 lcc*)
13708 # Lucid
13709 lt_prog_compiler_pic_CXX='-pic'
13713 esac
13715 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13716 case $cc_basename in
13717 CC*)
13718 lt_prog_compiler_wl_CXX='-Wl,'
13719 lt_prog_compiler_pic_CXX='-KPIC'
13720 lt_prog_compiler_static_CXX='-Bstatic'
13722 esac
13724 tandem*)
13725 case $cc_basename in
13726 NCC*)
13727 # NonStop-UX NCC 3.20
13728 lt_prog_compiler_pic_CXX='-KPIC'
13732 esac
13734 vxworks*)
13737 lt_prog_compiler_can_build_shared_CXX=no
13739 esac
13742 case $host_os in
13743 # For platforms which do not support PIC, -DPIC is meaningless:
13744 *djgpp*)
13745 lt_prog_compiler_pic_CXX=
13748 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13750 esac
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13752 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13757 # Check to make sure the PIC flag actually works.
13759 if test -n "$lt_prog_compiler_pic_CXX"; then
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13761 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13762 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13763 $as_echo_n "(cached) " >&6
13764 else
13765 lt_cv_prog_compiler_pic_works_CXX=no
13766 ac_outfile=conftest.$ac_objext
13767 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13768 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13769 # Insert the option either (1) after the last *FLAGS variable, or
13770 # (2) before a word containing "conftest.", or (3) at the end.
13771 # Note that $ac_compile itself does not contain backslashes and begins
13772 # with a dollar sign (not a hyphen), so the echo should work correctly.
13773 # The option is referenced via a variable to avoid confusing sed.
13774 lt_compile=`echo "$ac_compile" | $SED \
13775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13777 -e 's:$: $lt_compiler_flag:'`
13778 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13779 (eval "$lt_compile" 2>conftest.err)
13780 ac_status=$?
13781 cat conftest.err >&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 if (exit $ac_status) && test -s "$ac_outfile"; then
13784 # The compiler can only warn and ignore the option if not recognized
13785 # So say no if there are warnings other than the usual output.
13786 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13787 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13788 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13789 lt_cv_prog_compiler_pic_works_CXX=yes
13792 $RM conftest*
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13796 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13798 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13799 case $lt_prog_compiler_pic_CXX in
13800 "" | " "*) ;;
13801 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13802 esac
13803 else
13804 lt_prog_compiler_pic_CXX=
13805 lt_prog_compiler_can_build_shared_CXX=no
13813 # Check to make sure the static flag actually works.
13815 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13817 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13818 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 lt_cv_prog_compiler_static_works_CXX=no
13822 save_LDFLAGS="$LDFLAGS"
13823 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13824 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13825 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13826 # The linker can only warn and ignore the option if not recognized
13827 # So say no if there are warnings
13828 if test -s conftest.err; then
13829 # Append any errors to the config.log.
13830 cat conftest.err 1>&5
13831 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13832 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13833 if diff conftest.exp conftest.er2 >/dev/null; then
13834 lt_cv_prog_compiler_static_works_CXX=yes
13836 else
13837 lt_cv_prog_compiler_static_works_CXX=yes
13840 $RM -r conftest*
13841 LDFLAGS="$save_LDFLAGS"
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13845 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13847 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13849 else
13850 lt_prog_compiler_static_CXX=
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13857 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13858 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13859 $as_echo_n "(cached) " >&6
13860 else
13861 lt_cv_prog_compiler_c_o_CXX=no
13862 $RM -r conftest 2>/dev/null
13863 mkdir conftest
13864 cd conftest
13865 mkdir out
13866 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13868 lt_compiler_flag="-o out/conftest2.$ac_objext"
13869 # Insert the option either (1) after the last *FLAGS variable, or
13870 # (2) before a word containing "conftest.", or (3) at the end.
13871 # Note that $ac_compile itself does not contain backslashes and begins
13872 # with a dollar sign (not a hyphen), so the echo should work correctly.
13873 lt_compile=`echo "$ac_compile" | $SED \
13874 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13875 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13876 -e 's:$: $lt_compiler_flag:'`
13877 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13878 (eval "$lt_compile" 2>out/conftest.err)
13879 ac_status=$?
13880 cat out/conftest.err >&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13883 then
13884 # The compiler can only warn and ignore the option if not recognized
13885 # So say no if there are warnings
13886 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13887 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13888 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13889 lt_cv_prog_compiler_c_o_CXX=yes
13892 chmod u+w . 2>&5
13893 $RM conftest*
13894 # SGI C++ compiler will create directory out/ii_files/ for
13895 # template instantiation
13896 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13897 $RM out/* && rmdir out
13898 cd ..
13899 $RM -r conftest
13900 $RM conftest*
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13904 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13909 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13910 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13911 $as_echo_n "(cached) " >&6
13912 else
13913 lt_cv_prog_compiler_c_o_CXX=no
13914 $RM -r conftest 2>/dev/null
13915 mkdir conftest
13916 cd conftest
13917 mkdir out
13918 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13920 lt_compiler_flag="-o out/conftest2.$ac_objext"
13921 # Insert the option either (1) after the last *FLAGS variable, or
13922 # (2) before a word containing "conftest.", or (3) at the end.
13923 # Note that $ac_compile itself does not contain backslashes and begins
13924 # with a dollar sign (not a hyphen), so the echo should work correctly.
13925 lt_compile=`echo "$ac_compile" | $SED \
13926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13928 -e 's:$: $lt_compiler_flag:'`
13929 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13930 (eval "$lt_compile" 2>out/conftest.err)
13931 ac_status=$?
13932 cat out/conftest.err >&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13935 then
13936 # The compiler can only warn and ignore the option if not recognized
13937 # So say no if there are warnings
13938 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13939 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13940 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13941 lt_cv_prog_compiler_c_o_CXX=yes
13944 chmod u+w . 2>&5
13945 $RM conftest*
13946 # SGI C++ compiler will create directory out/ii_files/ for
13947 # template instantiation
13948 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13949 $RM out/* && rmdir out
13950 cd ..
13951 $RM -r conftest
13952 $RM conftest*
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13956 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13961 hard_links="nottested"
13962 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13963 # do not overwrite the value of need_locks provided by the user
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13965 $as_echo_n "checking if we can lock with hard links... " >&6; }
13966 hard_links=yes
13967 $RM conftest*
13968 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13969 touch conftest.a
13970 ln conftest.a conftest.b 2>&5 || hard_links=no
13971 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13973 $as_echo "$hard_links" >&6; }
13974 if test "$hard_links" = no; then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13976 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13977 need_locks=warn
13979 else
13980 need_locks=no
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13986 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13988 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13989 case $host_os in
13990 aix[4-9]*)
13991 # If we're using GNU nm, then we don't want the "-C" option.
13992 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13993 # Also, AIX nm treats weak defined symbols like other global defined
13994 # symbols, whereas GNU nm marks them as "W".
13995 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13996 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'
13997 else
13998 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14001 pw32*)
14002 export_symbols_cmds_CXX="$ltdll_cmds"
14004 cygwin* | mingw* | cegcc*)
14005 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'
14008 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14010 esac
14011 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14014 $as_echo "$ld_shlibs_CXX" >&6; }
14015 test "$ld_shlibs_CXX" = no && can_build_shared=no
14017 with_gnu_ld_CXX=$with_gnu_ld
14025 # Do we need to explicitly link libc?
14027 case "x$archive_cmds_need_lc_CXX" in
14028 x|xyes)
14029 # Assume -lc should be added
14030 archive_cmds_need_lc_CXX=yes
14032 if test "$enable_shared" = yes && test "$GCC" = yes; then
14033 case $archive_cmds_CXX in
14034 *'~'*)
14035 # FIXME: we may have to deal with multi-command sequences.
14037 '$CC '*)
14038 # Test whether the compiler implicitly links with -lc since on some
14039 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14040 # to ld, don't add -lc before -lgcc.
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14042 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14043 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14044 $as_echo_n "(cached) " >&6
14045 else
14046 $RM conftest*
14047 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14050 (eval $ac_compile) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; } 2>conftest.err; then
14054 soname=conftest
14055 lib=conftest
14056 libobjs=conftest.$ac_objext
14057 deplibs=
14058 wl=$lt_prog_compiler_wl_CXX
14059 pic_flag=$lt_prog_compiler_pic_CXX
14060 compiler_flags=-v
14061 linker_flags=-v
14062 verstring=
14063 output_objdir=.
14064 libname=conftest
14065 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14066 allow_undefined_flag_CXX=
14067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14068 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14069 ac_status=$?
14070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14071 test $ac_status = 0; }
14072 then
14073 lt_cv_archive_cmds_need_lc_CXX=no
14074 else
14075 lt_cv_archive_cmds_need_lc_CXX=yes
14077 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14078 else
14079 cat conftest.err 1>&5
14081 $RM conftest*
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14085 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14086 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14088 esac
14091 esac
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14157 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14159 library_names_spec=
14160 libname_spec='lib$name'
14161 soname_spec=
14162 shrext_cmds=".so"
14163 postinstall_cmds=
14164 postuninstall_cmds=
14165 finish_cmds=
14166 finish_eval=
14167 shlibpath_var=
14168 shlibpath_overrides_runpath=unknown
14169 version_type=none
14170 dynamic_linker="$host_os ld.so"
14171 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14172 need_lib_prefix=unknown
14173 hardcode_into_libs=no
14175 # when you set need_version to no, make sure it does not cause -set_version
14176 # flags to be left without arguments
14177 need_version=unknown
14179 case $host_os in
14180 aix3*)
14181 version_type=linux
14182 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14183 shlibpath_var=LIBPATH
14185 # AIX 3 has no versioning support, so we append a major version to the name.
14186 soname_spec='${libname}${release}${shared_ext}$major'
14189 aix[4-9]*)
14190 version_type=linux
14191 need_lib_prefix=no
14192 need_version=no
14193 hardcode_into_libs=yes
14194 if test "$host_cpu" = ia64; then
14195 # AIX 5 supports IA64
14196 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14197 shlibpath_var=LD_LIBRARY_PATH
14198 else
14199 # With GCC up to 2.95.x, collect2 would create an import file
14200 # for dependence libraries. The import file would start with
14201 # the line `#! .'. This would cause the generated library to
14202 # depend on `.', always an invalid library. This was fixed in
14203 # development snapshots of GCC prior to 3.0.
14204 case $host_os in
14205 aix4 | aix4.[01] | aix4.[01].*)
14206 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14207 echo ' yes '
14208 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14210 else
14211 can_build_shared=no
14214 esac
14215 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14216 # soname into executable. Probably we can add versioning support to
14217 # collect2, so additional links can be useful in future.
14218 if test "$aix_use_runtimelinking" = yes; then
14219 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14220 # instead of lib<name>.a to let people know that these are not
14221 # typical AIX shared libraries.
14222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14223 else
14224 # We preserve .a as extension for shared libraries through AIX4.2
14225 # and later when we are not doing run time linking.
14226 library_names_spec='${libname}${release}.a $libname.a'
14227 soname_spec='${libname}${release}${shared_ext}$major'
14229 shlibpath_var=LIBPATH
14233 amigaos*)
14234 case $host_cpu in
14235 powerpc)
14236 # Since July 2007 AmigaOS4 officially supports .so libraries.
14237 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240 m68k)
14241 library_names_spec='$libname.ixlibrary $libname.a'
14242 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14243 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'
14245 esac
14248 beos*)
14249 library_names_spec='${libname}${shared_ext}'
14250 dynamic_linker="$host_os ld.so"
14251 shlibpath_var=LIBRARY_PATH
14254 bsdi[45]*)
14255 version_type=linux
14256 need_version=no
14257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14258 soname_spec='${libname}${release}${shared_ext}$major'
14259 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14260 shlibpath_var=LD_LIBRARY_PATH
14261 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14262 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14263 # the default ld.so.conf also contains /usr/contrib/lib and
14264 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14265 # libtool to hard-code these into programs
14268 cygwin* | mingw* | pw32* | cegcc*)
14269 version_type=windows
14270 shrext_cmds=".dll"
14271 need_version=no
14272 need_lib_prefix=no
14274 case $GCC,$host_os in
14275 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14276 library_names_spec='$libname.dll.a'
14277 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14278 postinstall_cmds='base_file=`basename \${file}`~
14279 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14280 dldir=$destdir/`dirname \$dlpath`~
14281 test -d \$dldir || mkdir -p \$dldir~
14282 $install_prog $dir/$dlname \$dldir/$dlname~
14283 chmod a+x \$dldir/$dlname~
14284 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14285 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14287 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14288 dlpath=$dir/\$dldll~
14289 $RM \$dlpath'
14290 shlibpath_overrides_runpath=yes
14292 case $host_os in
14293 cygwin*)
14294 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14295 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14298 mingw* | cegcc*)
14299 # MinGW DLLs use traditional 'lib' prefix
14300 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14302 pw32*)
14303 # pw32 DLLs use 'pw' prefix rather than 'lib'
14304 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14306 esac
14310 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14312 esac
14313 dynamic_linker='Win32 ld.exe'
14314 # FIXME: first we should search . and the directory the executable is in
14315 shlibpath_var=PATH
14318 darwin* | rhapsody*)
14319 dynamic_linker="$host_os dyld"
14320 version_type=darwin
14321 need_lib_prefix=no
14322 need_version=no
14323 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14324 soname_spec='${libname}${release}${major}$shared_ext'
14325 shlibpath_overrides_runpath=yes
14326 shlibpath_var=DYLD_LIBRARY_PATH
14327 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14329 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14332 dgux*)
14333 version_type=linux
14334 need_lib_prefix=no
14335 need_version=no
14336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14337 soname_spec='${libname}${release}${shared_ext}$major'
14338 shlibpath_var=LD_LIBRARY_PATH
14341 freebsd* | dragonfly*)
14342 # DragonFly does not have aout. When/if they implement a new
14343 # versioning mechanism, adjust this.
14344 if test -x /usr/bin/objformat; then
14345 objformat=`/usr/bin/objformat`
14346 else
14347 case $host_os in
14348 freebsd[23].*) objformat=aout ;;
14349 *) objformat=elf ;;
14350 esac
14352 version_type=freebsd-$objformat
14353 case $version_type in
14354 freebsd-elf*)
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14356 need_version=no
14357 need_lib_prefix=no
14359 freebsd-*)
14360 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14361 need_version=yes
14363 esac
14364 shlibpath_var=LD_LIBRARY_PATH
14365 case $host_os in
14366 freebsd2.*)
14367 shlibpath_overrides_runpath=yes
14369 freebsd3.[01]* | freebsdelf3.[01]*)
14370 shlibpath_overrides_runpath=yes
14371 hardcode_into_libs=yes
14373 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14374 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14375 shlibpath_overrides_runpath=no
14376 hardcode_into_libs=yes
14378 *) # from 4.6 on, and DragonFly
14379 shlibpath_overrides_runpath=yes
14380 hardcode_into_libs=yes
14382 esac
14385 gnu*)
14386 version_type=linux
14387 need_lib_prefix=no
14388 need_version=no
14389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14390 soname_spec='${libname}${release}${shared_ext}$major'
14391 shlibpath_var=LD_LIBRARY_PATH
14392 hardcode_into_libs=yes
14395 haiku*)
14396 version_type=linux
14397 need_lib_prefix=no
14398 need_version=no
14399 dynamic_linker="$host_os runtime_loader"
14400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14401 soname_spec='${libname}${release}${shared_ext}$major'
14402 shlibpath_var=LIBRARY_PATH
14403 shlibpath_overrides_runpath=yes
14404 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14405 hardcode_into_libs=yes
14408 hpux9* | hpux10* | hpux11*)
14409 # Give a soname corresponding to the major version so that dld.sl refuses to
14410 # link against other versions.
14411 version_type=sunos
14412 need_lib_prefix=no
14413 need_version=no
14414 case $host_cpu in
14415 ia64*)
14416 shrext_cmds='.so'
14417 hardcode_into_libs=yes
14418 dynamic_linker="$host_os dld.so"
14419 shlibpath_var=LD_LIBRARY_PATH
14420 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14422 soname_spec='${libname}${release}${shared_ext}$major'
14423 if test "X$HPUX_IA64_MODE" = X32; then
14424 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14425 else
14426 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14428 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14430 hppa*64*)
14431 shrext_cmds='.sl'
14432 hardcode_into_libs=yes
14433 dynamic_linker="$host_os dld.sl"
14434 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14435 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14437 soname_spec='${libname}${release}${shared_ext}$major'
14438 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14439 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14442 shrext_cmds='.sl'
14443 dynamic_linker="$host_os dld.sl"
14444 shlibpath_var=SHLIB_PATH
14445 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14447 soname_spec='${libname}${release}${shared_ext}$major'
14449 esac
14450 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14451 postinstall_cmds='chmod 555 $lib'
14452 # or fails outright, so override atomically:
14453 install_override_mode=555
14456 interix[3-9]*)
14457 version_type=linux
14458 need_lib_prefix=no
14459 need_version=no
14460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14461 soname_spec='${libname}${release}${shared_ext}$major'
14462 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14463 shlibpath_var=LD_LIBRARY_PATH
14464 shlibpath_overrides_runpath=no
14465 hardcode_into_libs=yes
14468 irix5* | irix6* | nonstopux*)
14469 case $host_os in
14470 nonstopux*) version_type=nonstopux ;;
14472 if test "$lt_cv_prog_gnu_ld" = yes; then
14473 version_type=linux
14474 else
14475 version_type=irix
14476 fi ;;
14477 esac
14478 need_lib_prefix=no
14479 need_version=no
14480 soname_spec='${libname}${release}${shared_ext}$major'
14481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14482 case $host_os in
14483 irix5* | nonstopux*)
14484 libsuff= shlibsuff=
14487 case $LD in # libtool.m4 will add one of these switches to LD
14488 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14489 libsuff= shlibsuff= libmagic=32-bit;;
14490 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14491 libsuff=32 shlibsuff=N32 libmagic=N32;;
14492 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14493 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14494 *) libsuff= shlibsuff= libmagic=never-match;;
14495 esac
14497 esac
14498 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14499 shlibpath_overrides_runpath=no
14500 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14501 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14502 hardcode_into_libs=yes
14505 # No shared lib support for Linux oldld, aout, or coff.
14506 linux*oldld* | linux*aout* | linux*coff*)
14507 dynamic_linker=no
14510 # This must be Linux ELF.
14511 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14512 version_type=linux
14513 need_lib_prefix=no
14514 need_version=no
14515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14516 soname_spec='${libname}${release}${shared_ext}$major'
14517 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14518 shlibpath_var=LD_LIBRARY_PATH
14519 shlibpath_overrides_runpath=no
14521 # Some binutils ld are patched to set DT_RUNPATH
14522 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14523 $as_echo_n "(cached) " >&6
14524 else
14525 lt_cv_shlibpath_overrides_runpath=no
14526 save_LDFLAGS=$LDFLAGS
14527 save_libdir=$libdir
14528 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14529 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14530 if test x$gcc_no_link = xyes; then
14531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14537 main ()
14541 return 0;
14543 _ACEOF
14544 if ac_fn_cxx_try_link "$LINENO"; then :
14545 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14546 lt_cv_shlibpath_overrides_runpath=yes
14549 rm -f core conftest.err conftest.$ac_objext \
14550 conftest$ac_exeext conftest.$ac_ext
14551 LDFLAGS=$save_LDFLAGS
14552 libdir=$save_libdir
14556 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14558 # This implies no fast_install, which is unacceptable.
14559 # Some rework will be needed to allow for fast_install
14560 # before this can be enabled.
14561 hardcode_into_libs=yes
14563 # Append ld.so.conf contents to the search path
14564 if test -f /etc/ld.so.conf; then
14565 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' ' '`
14566 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14569 # We used to test for /lib/ld.so.1 and disable shared libraries on
14570 # powerpc, because MkLinux only supported shared libraries with the
14571 # GNU dynamic linker. Since this was broken with cross compilers,
14572 # most powerpc-linux boxes support dynamic linking these days and
14573 # people can always --disable-shared, the test was removed, and we
14574 # assume the GNU/Linux dynamic linker is in use.
14575 dynamic_linker='GNU/Linux ld.so'
14578 netbsd*)
14579 version_type=sunos
14580 need_lib_prefix=no
14581 need_version=no
14582 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14584 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14585 dynamic_linker='NetBSD (a.out) ld.so'
14586 else
14587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14588 soname_spec='${libname}${release}${shared_ext}$major'
14589 dynamic_linker='NetBSD ld.elf_so'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=yes
14593 hardcode_into_libs=yes
14596 newsos6)
14597 version_type=linux
14598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14599 shlibpath_var=LD_LIBRARY_PATH
14600 shlibpath_overrides_runpath=yes
14603 *nto* | *qnx*)
14604 version_type=qnx
14605 need_lib_prefix=no
14606 need_version=no
14607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14608 soname_spec='${libname}${release}${shared_ext}$major'
14609 shlibpath_var=LD_LIBRARY_PATH
14610 shlibpath_overrides_runpath=no
14611 hardcode_into_libs=yes
14612 dynamic_linker='ldqnx.so'
14615 openbsd*)
14616 version_type=sunos
14617 sys_lib_dlsearch_path_spec="/usr/lib"
14618 need_lib_prefix=no
14619 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14620 case $host_os in
14621 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14622 *) need_version=no ;;
14623 esac
14624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14625 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14626 shlibpath_var=LD_LIBRARY_PATH
14627 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14628 case $host_os in
14629 openbsd2.[89] | openbsd2.[89].*)
14630 shlibpath_overrides_runpath=no
14633 shlibpath_overrides_runpath=yes
14635 esac
14636 else
14637 shlibpath_overrides_runpath=yes
14641 os2*)
14642 libname_spec='$name'
14643 shrext_cmds=".dll"
14644 need_lib_prefix=no
14645 library_names_spec='$libname${shared_ext} $libname.a'
14646 dynamic_linker='OS/2 ld.exe'
14647 shlibpath_var=LIBPATH
14650 osf3* | osf4* | osf5*)
14651 version_type=osf
14652 need_lib_prefix=no
14653 need_version=no
14654 soname_spec='${libname}${release}${shared_ext}$major'
14655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14656 shlibpath_var=LD_LIBRARY_PATH
14657 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14658 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14661 rdos*)
14662 dynamic_linker=no
14665 solaris*)
14666 version_type=linux
14667 need_lib_prefix=no
14668 need_version=no
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14670 soname_spec='${libname}${release}${shared_ext}$major'
14671 shlibpath_var=LD_LIBRARY_PATH
14672 shlibpath_overrides_runpath=yes
14673 hardcode_into_libs=yes
14674 # ldd complains unless libraries are executable
14675 postinstall_cmds='chmod +x $lib'
14678 sunos4*)
14679 version_type=sunos
14680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14681 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14682 shlibpath_var=LD_LIBRARY_PATH
14683 shlibpath_overrides_runpath=yes
14684 if test "$with_gnu_ld" = yes; then
14685 need_lib_prefix=no
14687 need_version=yes
14690 sysv4 | sysv4.3*)
14691 version_type=linux
14692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14693 soname_spec='${libname}${release}${shared_ext}$major'
14694 shlibpath_var=LD_LIBRARY_PATH
14695 case $host_vendor in
14696 sni)
14697 shlibpath_overrides_runpath=no
14698 need_lib_prefix=no
14699 runpath_var=LD_RUN_PATH
14701 siemens)
14702 need_lib_prefix=no
14704 motorola)
14705 need_lib_prefix=no
14706 need_version=no
14707 shlibpath_overrides_runpath=no
14708 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14710 esac
14713 sysv4*MP*)
14714 if test -d /usr/nec ;then
14715 version_type=linux
14716 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14717 soname_spec='$libname${shared_ext}.$major'
14718 shlibpath_var=LD_LIBRARY_PATH
14722 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14723 version_type=freebsd-elf
14724 need_lib_prefix=no
14725 need_version=no
14726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14727 soname_spec='${libname}${release}${shared_ext}$major'
14728 shlibpath_var=LD_LIBRARY_PATH
14729 shlibpath_overrides_runpath=yes
14730 hardcode_into_libs=yes
14731 if test "$with_gnu_ld" = yes; then
14732 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14733 else
14734 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14735 case $host_os in
14736 sco3.2v5*)
14737 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14739 esac
14741 sys_lib_dlsearch_path_spec='/usr/lib'
14744 tpf*)
14745 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14746 version_type=linux
14747 need_lib_prefix=no
14748 need_version=no
14749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14750 shlibpath_var=LD_LIBRARY_PATH
14751 shlibpath_overrides_runpath=no
14752 hardcode_into_libs=yes
14755 uts4*)
14756 version_type=linux
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 soname_spec='${libname}${release}${shared_ext}$major'
14759 shlibpath_var=LD_LIBRARY_PATH
14763 dynamic_linker=no
14765 esac
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14767 $as_echo "$dynamic_linker" >&6; }
14768 test "$dynamic_linker" = no && can_build_shared=no
14770 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14771 if test "$GCC" = yes; then
14772 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14775 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14776 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14778 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14779 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14820 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14821 hardcode_action_CXX=
14822 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14823 test -n "$runpath_var_CXX" ||
14824 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14826 # We can hardcode non-existent directories.
14827 if test "$hardcode_direct_CXX" != no &&
14828 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14829 # have to relink, otherwise we might link with an installed library
14830 # when we should be linking with a yet-to-be-installed one
14831 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14832 test "$hardcode_minus_L_CXX" != no; then
14833 # Linking always hardcodes the temporary library directory.
14834 hardcode_action_CXX=relink
14835 else
14836 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14837 hardcode_action_CXX=immediate
14839 else
14840 # We cannot hardcode anything, or else we can only hardcode existing
14841 # directories.
14842 hardcode_action_CXX=unsupported
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14845 $as_echo "$hardcode_action_CXX" >&6; }
14847 if test "$hardcode_action_CXX" = relink ||
14848 test "$inherit_rpath_CXX" = yes; then
14849 # Fast installation is not supported
14850 enable_fast_install=no
14851 elif test "$shlibpath_overrides_runpath" = yes ||
14852 test "$enable_shared" = no; then
14853 # Fast installation is not necessary
14854 enable_fast_install=needless
14863 fi # test -n "$compiler"
14865 CC=$lt_save_CC
14866 LDCXX=$LD
14867 LD=$lt_save_LD
14868 GCC=$lt_save_GCC
14869 with_gnu_ld=$lt_save_with_gnu_ld
14870 lt_cv_path_LDCXX=$lt_cv_path_LD
14871 lt_cv_path_LD=$lt_save_path_LD
14872 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14873 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14874 fi # test "$_lt_caught_CXX_error" != yes
14876 ac_ext=c
14877 ac_cpp='$CPP $CPPFLAGS'
14878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14894 ac_config_commands="$ac_config_commands libtool"
14899 # Only expand once:
14905 case $host in
14906 *-cygwin* | *-mingw*)
14907 # 'host' will be top-level target in the case of a target lib,
14908 # we must compare to with_cross_host to decide if this is a native
14909 # or cross-compiler and select where to install dlls appropriately.
14910 if test -n "$with_cross_host" &&
14911 test x"$with_cross_host" != x"no"; then
14912 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14913 else
14914 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14918 lt_host_flags=
14920 esac
14927 if test "$enable_vtable_verify" = yes; then
14928 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14929 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14933 # libtool variables for C++ shared and position-independent compiles.
14935 # Use glibcxx_lt_pic_flag to designate the automake variable
14936 # used to encapsulate the default libtool approach to creating objects
14937 # with position-independent code. Default: -prefer-pic.
14939 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14940 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14942 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14943 # creating position-independent objects. This varies with the target
14944 # hardware and operating system, but is often: -DPIC -fPIC.
14945 if test "$enable_shared" = yes; then
14946 glibcxx_lt_pic_flag="-prefer-pic"
14947 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14948 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14950 else
14951 glibcxx_lt_pic_flag=
14952 glibcxx_compiler_pic_flag=
14953 glibcxx_compiler_shared_flag=
14959 # Override the libtool's pic_flag and pic_mode.
14960 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14961 # NB: this impacts --with-pic and --without-pic.
14962 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14963 pic_mode='default'
14965 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14966 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14968 # Possibly disable most of the library.
14969 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14970 ## than just ignoring the results. Faster /and/ more correct, win win.
14972 # Check whether --enable-hosted-libstdcxx was given.
14973 if test "${enable_hosted_libstdcxx+set}" = set; then :
14974 enableval=$enable_hosted_libstdcxx;
14975 else
14976 case "$host" in
14977 arm*-*-symbianelf*)
14978 enable_hosted_libstdcxx=no
14981 enable_hosted_libstdcxx=yes
14983 esac
14986 if test "$enable_hosted_libstdcxx" = no; then
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14988 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14989 is_hosted=no
14990 hosted_define=0
14991 enable_abi_check=no
14992 enable_libstdcxx_pch=no
14993 else
14994 is_hosted=yes
14995 hosted_define=1
14999 cat >>confdefs.h <<_ACEOF
15000 #define _GLIBCXX_HOSTED $hosted_define
15001 _ACEOF
15005 # Enable descriptive messages to standard output on termination.
15007 # Check whether --enable-libstdcxx-verbose was given.
15008 if test "${enable_libstdcxx_verbose+set}" = set; then :
15009 enableval=$enable_libstdcxx_verbose;
15010 else
15011 enable_libstdcxx_verbose=yes
15014 if test x"$enable_libstdcxx_verbose" = xyes; then
15015 verbose_define=1
15016 else
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15018 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15019 verbose_define=0
15022 cat >>confdefs.h <<_ACEOF
15023 #define _GLIBCXX_VERBOSE $verbose_define
15024 _ACEOF
15028 # Enable compiler support that doesn't require linking.
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15031 $as_echo_n "checking for exception model to use... " >&6; }
15033 ac_ext=cpp
15034 ac_cpp='$CXXCPP $CPPFLAGS'
15035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15039 # Check whether --enable-sjlj-exceptions was given.
15040 if test "${enable_sjlj_exceptions+set}" = set; then :
15041 enableval=$enable_sjlj_exceptions;
15042 case "$enableval" in
15043 yes|no|auto) ;;
15044 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15045 esac
15047 else
15048 enable_sjlj_exceptions=auto
15053 if test $enable_sjlj_exceptions = auto; then
15054 # Botheration. Now we've got to detect the exception model. Link tests
15055 # against libgcc.a are problematic since we've not been given proper -L
15056 # bits for single-tree newlib and libgloss.
15058 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15059 cat > conftest.$ac_ext << EOF
15060 #line 15060 "configure"
15061 struct S { ~S(); };
15062 void bar();
15063 void foo()
15065 S s;
15066 bar();
15069 old_CXXFLAGS="$CXXFLAGS"
15070 CXXFLAGS=-S
15071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15072 (eval $ac_compile) 2>&5
15073 ac_status=$?
15074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15075 test $ac_status = 0; }; then
15076 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15077 enable_sjlj_exceptions=yes
15078 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15079 enable_sjlj_exceptions=yes
15080 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15081 enable_sjlj_exceptions=no
15082 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15083 enable_sjlj_exceptions=no
15086 CXXFLAGS="$old_CXXFLAGS"
15087 rm -f conftest*
15090 # This is a tad weird, for hysterical raisins. We have to map
15091 # enable/disable to two different models.
15092 case $enable_sjlj_exceptions in
15093 yes)
15095 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15097 ac_exception_model_name=sjlj
15100 ac_exception_model_name="call frame"
15103 as_fn_error "unable to detect exception model" "$LINENO" 5
15105 esac
15106 ac_ext=c
15107 ac_cpp='$CPP $CPPFLAGS'
15108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15113 $as_echo "$ac_exception_model_name" >&6; }
15116 # Check whether --enable-libstdcxx-pch was given.
15117 if test "${enable_libstdcxx_pch+set}" = set; then :
15118 enableval=$enable_libstdcxx_pch;
15119 case "$enableval" in
15120 yes|no) ;;
15121 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15122 esac
15124 else
15125 enable_libstdcxx_pch=$is_hosted
15129 if test $enable_libstdcxx_pch = yes; then
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15131 $as_echo_n "checking for compiler with PCH support... " >&6; }
15132 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15133 $as_echo_n "(cached) " >&6
15134 else
15135 ac_save_CXXFLAGS="$CXXFLAGS"
15136 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15138 ac_ext=cpp
15139 ac_cpp='$CXXCPP $CPPFLAGS'
15140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15144 echo '#include <math.h>' > conftest.h
15145 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15146 -o conftest.h.gch 1>&5 2>&1 &&
15147 echo '#error "pch failed"' > conftest.h &&
15148 echo '#include "conftest.h"' > conftest.cc &&
15149 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15150 then
15151 glibcxx_cv_prog_CXX_pch=yes
15152 else
15153 glibcxx_cv_prog_CXX_pch=no
15155 rm -f conftest*
15156 CXXFLAGS=$ac_save_CXXFLAGS
15157 ac_ext=c
15158 ac_cpp='$CPP $CPPFLAGS'
15159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15166 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15167 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15171 $as_echo_n "checking for enabled PCH... " >&6; }
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15173 $as_echo "$enable_libstdcxx_pch" >&6; }
15176 if test $enable_libstdcxx_pch = yes; then
15177 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15178 else
15179 glibcxx_PCHFLAGS=""
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15185 $as_echo_n "checking for thread model used by GCC... " >&6; }
15186 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15188 $as_echo "$target_thread_file" >&6; }
15190 case $target_thread_file in
15191 aix) thread_header=config/rs6000/gthr-aix.h ;;
15192 dce) thread_header=config/pa/gthr-dce.h ;;
15193 lynx) thread_header=config/gthr-lynx.h ;;
15194 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15195 posix) thread_header=gthr-posix.h ;;
15196 rtems) thread_header=config/gthr-rtems.h ;;
15197 single) thread_header=gthr-single.h ;;
15198 tpf) thread_header=config/s390/gthr-tpf.h ;;
15199 vxworks) thread_header=config/gthr-vxworks.h ;;
15200 win32) thread_header=config/i386/gthr-win32.h ;;
15201 esac
15207 ac_ext=cpp
15208 ac_cpp='$CXXCPP $CPPFLAGS'
15209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15213 old_CXXFLAGS="$CXXFLAGS"
15215 # Do link tests if possible, instead asm tests, limited to some platforms
15216 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15217 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15218 atomic_builtins_link_tests=no
15219 if test x$gcc_no_link != xyes; then
15220 # Can do link tests. Limit to some tested platforms
15221 case "$host" in
15222 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15223 atomic_builtins_link_tests=yes
15225 esac
15228 if test x$atomic_builtins_link_tests = xyes; then
15230 # Do link tests.
15232 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15235 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15236 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15237 $as_echo_n "(cached) " >&6
15238 else
15240 if test x$gcc_no_link = xyes; then
15241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15247 main ()
15249 typedef bool atomic_type;
15250 atomic_type c1;
15251 atomic_type c2;
15252 atomic_type c3(0);
15253 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15254 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15255 __ATOMIC_RELAXED);
15256 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15257 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15260 return 0;
15262 _ACEOF
15263 if ac_fn_cxx_try_link "$LINENO"; then :
15264 glibcxx_cv_atomic_bool=yes
15265 else
15266 glibcxx_cv_atomic_bool=no
15268 rm -f core conftest.err conftest.$ac_objext \
15269 conftest$ac_exeext conftest.$ac_ext
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15274 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15277 $as_echo_n "checking for atomic builtins for short... " >&6; }
15278 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15279 $as_echo_n "(cached) " >&6
15280 else
15282 if test x$gcc_no_link = xyes; then
15283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15289 main ()
15291 typedef short atomic_type;
15292 atomic_type c1;
15293 atomic_type c2;
15294 atomic_type c3(0);
15295 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15296 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15297 __ATOMIC_RELAXED);
15298 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15299 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15302 return 0;
15304 _ACEOF
15305 if ac_fn_cxx_try_link "$LINENO"; then :
15306 glibcxx_cv_atomic_short=yes
15307 else
15308 glibcxx_cv_atomic_short=no
15310 rm -f core conftest.err conftest.$ac_objext \
15311 conftest$ac_exeext conftest.$ac_ext
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15316 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15319 $as_echo_n "checking for atomic builtins for int... " >&6; }
15320 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15321 $as_echo_n "(cached) " >&6
15322 else
15324 if test x$gcc_no_link = xyes; then
15325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15331 main ()
15333 typedef int atomic_type;
15334 atomic_type c1;
15335 atomic_type c2;
15336 atomic_type c3(0);
15337 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15338 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15339 __ATOMIC_RELAXED);
15340 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15341 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15344 return 0;
15346 _ACEOF
15347 if ac_fn_cxx_try_link "$LINENO"; then :
15348 glibcxx_cv_atomic_int=yes
15349 else
15350 glibcxx_cv_atomic_int=no
15352 rm -f core conftest.err conftest.$ac_objext \
15353 conftest$ac_exeext conftest.$ac_ext
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15358 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15361 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15362 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15363 $as_echo_n "(cached) " >&6
15364 else
15366 if test x$gcc_no_link = xyes; then
15367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15370 /* end confdefs.h. */
15373 main ()
15375 typedef long long atomic_type;
15376 atomic_type c1;
15377 atomic_type c2;
15378 atomic_type c3(0);
15379 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15380 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15381 __ATOMIC_RELAXED);
15382 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15383 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15386 return 0;
15388 _ACEOF
15389 if ac_fn_cxx_try_link "$LINENO"; then :
15390 glibcxx_cv_atomic_long_long=yes
15391 else
15392 glibcxx_cv_atomic_long_long=no
15394 rm -f core conftest.err conftest.$ac_objext \
15395 conftest$ac_exeext conftest.$ac_ext
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15400 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15402 else
15404 # Do asm tests.
15406 # Compile unoptimized.
15407 CXXFLAGS='-O0 -S'
15409 # Fake what AC_TRY_COMPILE does.
15411 cat > conftest.$ac_ext << EOF
15412 #line 15412 "configure"
15413 int main()
15415 typedef bool atomic_type;
15416 atomic_type c1;
15417 atomic_type c2;
15418 atomic_type c3(0);
15419 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15420 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15421 __ATOMIC_RELAXED);
15422 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15423 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15425 return 0;
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15430 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15431 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15432 (eval $ac_compile) 2>&5
15433 ac_status=$?
15434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15435 test $ac_status = 0; }; then
15436 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15437 glibcxx_cv_atomic_bool=no
15438 else
15439 glibcxx_cv_atomic_bool=yes
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15443 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15444 rm -f conftest*
15446 cat > conftest.$ac_ext << EOF
15447 #line 15447 "configure"
15448 int main()
15450 typedef short atomic_type;
15451 atomic_type c1;
15452 atomic_type c2;
15453 atomic_type c3(0);
15454 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15455 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15456 __ATOMIC_RELAXED);
15457 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15458 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15460 return 0;
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15465 $as_echo_n "checking for atomic builtins for short... " >&6; }
15466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15467 (eval $ac_compile) 2>&5
15468 ac_status=$?
15469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15470 test $ac_status = 0; }; then
15471 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15472 glibcxx_cv_atomic_short=no
15473 else
15474 glibcxx_cv_atomic_short=yes
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15478 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15479 rm -f conftest*
15481 cat > conftest.$ac_ext << EOF
15482 #line 15482 "configure"
15483 int main()
15485 // NB: _Atomic_word not necessarily int.
15486 typedef int atomic_type;
15487 atomic_type c1;
15488 atomic_type c2;
15489 atomic_type c3(0);
15490 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15491 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15492 __ATOMIC_RELAXED);
15493 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15494 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15496 return 0;
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15501 $as_echo_n "checking for atomic builtins for int... " >&6; }
15502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15503 (eval $ac_compile) 2>&5
15504 ac_status=$?
15505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15506 test $ac_status = 0; }; then
15507 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15508 glibcxx_cv_atomic_int=no
15509 else
15510 glibcxx_cv_atomic_int=yes
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15514 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15515 rm -f conftest*
15517 cat > conftest.$ac_ext << EOF
15518 #line 15518 "configure"
15519 int main()
15521 typedef long long atomic_type;
15522 atomic_type c1;
15523 atomic_type c2;
15524 atomic_type c3(0);
15525 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15526 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15527 __ATOMIC_RELAXED);
15528 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15529 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15531 return 0;
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15536 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15537 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15538 (eval $ac_compile) 2>&5
15539 ac_status=$?
15540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15541 test $ac_status = 0; }; then
15542 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15543 glibcxx_cv_atomic_long_long=no
15544 else
15545 glibcxx_cv_atomic_long_long=yes
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15549 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15550 rm -f conftest*
15554 CXXFLAGS="$old_CXXFLAGS"
15555 ac_ext=c
15556 ac_cpp='$CPP $CPPFLAGS'
15557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15562 # Set atomicity_dir to builtins if all but the long long test above passes.
15563 if test $glibcxx_cv_atomic_bool = yes \
15564 && test $glibcxx_cv_atomic_short = yes \
15565 && test $glibcxx_cv_atomic_int = yes; then
15567 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15569 atomicity_dir=cpu/generic/atomicity_builtins
15572 # If still generic, set to mutex.
15573 if test $atomicity_dir = "cpu/generic" ; then
15574 atomicity_dir=cpu/generic/atomicity_mutex
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15576 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15577 if test "x$target_thread_file" = xsingle; then
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15579 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15581 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15582 else
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15584 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15586 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15593 # Fake what AC_TRY_COMPILE does, without linking as this is
15594 # unnecessary for this test.
15596 cat > conftest.$ac_ext << EOF
15597 #line 15597 "configure"
15598 int main()
15600 _Decimal32 d1;
15601 _Decimal64 d2;
15602 _Decimal128 d3;
15603 return 0;
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15608 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15610 (eval $ac_compile) 2>&5
15611 ac_status=$?
15612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15613 test $ac_status = 0; }; then
15615 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15617 enable_dfp=yes
15618 else
15619 enable_dfp=no
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15622 $as_echo "$enable_dfp" >&6; }
15623 rm -f conftest*
15628 ac_ext=cpp
15629 ac_cpp='$CXXCPP $CPPFLAGS'
15630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15635 # Fake what AC_TRY_COMPILE does, without linking as this is
15636 # unnecessary for this test.
15638 cat > conftest.$ac_ext << EOF
15639 #line 15639 "configure"
15640 template<typename T1, typename T2>
15641 struct same
15642 { typedef T2 type; };
15644 template<typename T>
15645 struct same<T, T>;
15647 int main()
15649 typename same<long, __int128>::type i1;
15650 typename same<long long, __int128>::type i2;
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15655 $as_echo_n "checking for __int128... " >&6; }
15656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15657 (eval $ac_compile) 2>&5
15658 ac_status=$?
15659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15660 test $ac_status = 0; }; then
15662 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15664 enable_int128=yes
15665 else
15666 enable_int128=no
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15669 $as_echo "$enable_int128" >&6; }
15670 rm -f conftest*
15672 cat > conftest.$ac_ext << EOF
15673 #line 15673 "configure"
15674 template<typename T1, typename T2>
15675 struct same
15676 { typedef T2 type; };
15678 template<typename T>
15679 struct same<T, T>;
15681 int main()
15683 typename same<double, __float128>::type f1;
15684 typename same<long double, __float128>::type f2;
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15689 $as_echo_n "checking for __float128... " >&6; }
15690 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15691 (eval $ac_compile) 2>&5
15692 ac_status=$?
15693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15694 test $ac_status = 0; }; then
15696 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15698 enable_float128=yes
15699 else
15700 enable_float128=no
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15703 $as_echo "$enable_float128" >&6; }
15704 rm -f conftest*
15706 ac_ext=c
15707 ac_cpp='$CPP $CPPFLAGS'
15708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15713 if test "$enable_float128" = yes; then
15714 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15717 # Checks for compiler support that doesn't require linking.
15719 # All these tests are for C++; save the language and the compiler flags.
15720 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15721 # found in GLIBCXX_CONFIGURE.
15723 ac_ext=cpp
15724 ac_cpp='$CXXCPP $CPPFLAGS'
15725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15729 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15730 ac_save_CXXFLAGS="$CXXFLAGS"
15732 # Check for maintainer-mode bits.
15733 if test x"$USE_MAINTAINER_MODE" = xno; then
15734 WERROR=''
15735 else
15736 WERROR='-Werror'
15739 # Check for -ffunction-sections -fdata-sections
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15741 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15742 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15744 /* end confdefs.h. */
15745 int foo; void bar() { };
15747 main ()
15751 return 0;
15753 _ACEOF
15754 if ac_fn_cxx_try_compile "$LINENO"; then :
15755 ac_fdsections=yes
15756 else
15757 ac_fdsections=no
15759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15760 if test "$ac_test_CXXFLAGS" = set; then
15761 CXXFLAGS="$ac_save_CXXFLAGS"
15762 else
15763 # this is the suspicious part
15764 CXXFLAGS=''
15766 if test x"$ac_fdsections" = x"yes"; then
15767 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15770 $as_echo "$ac_fdsections" >&6; }
15772 ac_ext=c
15773 ac_cpp='$CPP $CPPFLAGS'
15774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15782 # Enable all the variable C++ runtime options that don't require linking.
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15785 $as_echo_n "checking for underlying I/O to use... " >&6; }
15786 # Check whether --enable-cstdio was given.
15787 if test "${enable_cstdio+set}" = set; then :
15788 enableval=$enable_cstdio;
15789 case "$enableval" in
15790 stdio) ;;
15791 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15792 esac
15794 else
15795 enable_cstdio=stdio
15800 # Now that libio has been removed, you can have any color you want as long
15801 # as it's black. This is one big no-op until other packages are added, but
15802 # showing the framework never hurts.
15803 case ${enable_cstdio} in
15804 stdio)
15805 CSTDIO_H=config/io/c_io_stdio.h
15806 BASIC_FILE_H=config/io/basic_file_stdio.h
15807 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15809 $as_echo "stdio" >&6; }
15811 esac
15818 # Check whether --enable-clocale was given.
15819 if test "${enable_clocale+set}" = set; then :
15820 enableval=$enable_clocale;
15821 case "$enableval" in
15822 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15823 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15824 esac
15826 else
15827 enable_clocale=auto
15832 # Deal with gettext issues. Default to not using it (=no) until we detect
15833 # support for it later. Let the user turn it off via --e/d, but let that
15834 # default to on for easier handling.
15835 USE_NLS=no
15836 # Check whether --enable-nls was given.
15837 if test "${enable_nls+set}" = set; then :
15838 enableval=$enable_nls;
15839 else
15840 enable_nls=yes
15844 # Either a known package, or "auto"
15845 if test $enable_clocale = no || test $enable_clocale = yes; then
15846 enable_clocale=auto
15848 enable_clocale_flag=$enable_clocale
15850 # Probe for locale model to use if none specified.
15851 # Default to "generic".
15852 if test $enable_clocale_flag = auto; then
15853 case ${target_os} in
15854 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15855 enable_clocale_flag=gnu
15857 darwin* | freebsd*)
15858 enable_clocale_flag=darwin
15860 dragonfly*)
15861 enable_clocale_flag=dragonfly
15863 openbsd*)
15864 enable_clocale_flag=newlib
15867 if test x"$with_newlib" = x"yes"; then
15868 enable_clocale_flag=newlib
15869 else
15870 enable_clocale_flag=generic
15873 esac
15876 # Sanity check model, and test for special functionality.
15877 if test $enable_clocale_flag = gnu; then
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15881 #include <features.h>
15882 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15883 _GLIBCXX_ok
15884 #endif
15886 _ACEOF
15887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15888 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15889 enable_clocale_flag=gnu
15890 else
15891 enable_clocale_flag=generic
15893 rm -f conftest*
15896 # Set it to scream when it hurts.
15897 ac_save_CFLAGS="$CFLAGS"
15898 CFLAGS="-Wimplicit-function-declaration -Werror"
15900 # Use strxfrm_l if available.
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15903 #define _GNU_SOURCE 1
15904 #include <string.h>
15905 #include <locale.h>
15907 main ()
15909 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15911 return 0;
15913 _ACEOF
15914 if ac_fn_c_try_compile "$LINENO"; then :
15916 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921 # Use strerror_l if available.
15922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15923 /* end confdefs.h. */
15924 #define _GNU_SOURCE 1
15925 #include <string.h>
15926 #include <locale.h>
15928 main ()
15930 __locale_t loc; strerror_l(5, loc);
15932 return 0;
15934 _ACEOF
15935 if ac_fn_c_try_compile "$LINENO"; then :
15937 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15942 CFLAGS="$ac_save_CFLAGS"
15945 # Perhaps use strerror_r if available, and strerror_l isn't.
15946 ac_save_CFLAGS="$CFLAGS"
15947 CFLAGS="-Wimplicit-function-declaration -Werror"
15948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15949 /* end confdefs.h. */
15950 #define _GNU_SOURCE 1
15951 #include <string.h>
15952 #include <locale.h>
15954 main ()
15956 char s[128]; strerror_r(5, s, 128);
15958 return 0;
15960 _ACEOF
15961 if ac_fn_c_try_compile "$LINENO"; then :
15963 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15967 CFLAGS="$ac_save_CFLAGS"
15969 # Set configure bits for specified locale package
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15971 $as_echo_n "checking for C locale to use... " >&6; }
15972 case ${enable_clocale_flag} in
15973 generic)
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15975 $as_echo "generic" >&6; }
15977 CLOCALE_H=config/locale/generic/c_locale.h
15978 CLOCALE_CC=config/locale/generic/c_locale.cc
15979 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15980 CCOLLATE_CC=config/locale/generic/collate_members.cc
15981 CCTYPE_CC=config/locale/generic/ctype_members.cc
15982 CMESSAGES_H=config/locale/generic/messages_members.h
15983 CMESSAGES_CC=config/locale/generic/messages_members.cc
15984 CMONEY_CC=config/locale/generic/monetary_members.cc
15985 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15986 CTIME_H=config/locale/generic/time_members.h
15987 CTIME_CC=config/locale/generic/time_members.cc
15988 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15990 darwin)
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15992 $as_echo "darwin or freebsd" >&6; }
15994 CLOCALE_H=config/locale/generic/c_locale.h
15995 CLOCALE_CC=config/locale/generic/c_locale.cc
15996 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15997 CCOLLATE_CC=config/locale/generic/collate_members.cc
15998 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15999 CMESSAGES_H=config/locale/generic/messages_members.h
16000 CMESSAGES_CC=config/locale/generic/messages_members.cc
16001 CMONEY_CC=config/locale/generic/monetary_members.cc
16002 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16003 CTIME_H=config/locale/generic/time_members.h
16004 CTIME_CC=config/locale/generic/time_members.cc
16005 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16008 dragonfly)
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16010 $as_echo "dragonfly" >&6; }
16012 CLOCALE_H=config/locale/generic/c_locale.h
16013 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16014 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16015 CCOLLATE_CC=config/locale/generic/collate_members.cc
16016 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16017 CMESSAGES_H=config/locale/generic/messages_members.h
16018 CMESSAGES_CC=config/locale/generic/messages_members.cc
16019 CMONEY_CC=config/locale/generic/monetary_members.cc
16020 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16021 CTIME_H=config/locale/generic/time_members.h
16022 CTIME_CC=config/locale/generic/time_members.cc
16023 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16026 gnu)
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16028 $as_echo "gnu" >&6; }
16030 # Declare intention to use gettext, and add support for specific
16031 # languages.
16032 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16033 ALL_LINGUAS="de fr"
16035 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16036 # Extract the first word of "msgfmt", so it can be a program name with args.
16037 set dummy msgfmt; ac_word=$2
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16039 $as_echo_n "checking for $ac_word... " >&6; }
16040 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16041 $as_echo_n "(cached) " >&6
16042 else
16043 if test -n "$check_msgfmt"; then
16044 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16045 else
16046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16047 for as_dir in $PATH
16049 IFS=$as_save_IFS
16050 test -z "$as_dir" && as_dir=.
16051 for ac_exec_ext in '' $ac_executable_extensions; do
16052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16053 ac_cv_prog_check_msgfmt="yes"
16054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16055 break 2
16057 done
16058 done
16059 IFS=$as_save_IFS
16061 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16064 check_msgfmt=$ac_cv_prog_check_msgfmt
16065 if test -n "$check_msgfmt"; then
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16067 $as_echo "$check_msgfmt" >&6; }
16068 else
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16070 $as_echo "no" >&6; }
16074 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16075 USE_NLS=yes
16077 # Export the build objects.
16078 for ling in $ALL_LINGUAS; do \
16079 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16080 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16081 done
16085 CLOCALE_H=config/locale/gnu/c_locale.h
16086 CLOCALE_CC=config/locale/gnu/c_locale.cc
16087 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16088 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16089 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16090 CMESSAGES_H=config/locale/gnu/messages_members.h
16091 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16092 CMONEY_CC=config/locale/gnu/monetary_members.cc
16093 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16094 CTIME_H=config/locale/gnu/time_members.h
16095 CTIME_CC=config/locale/gnu/time_members.cc
16096 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16098 ieee_1003.1-2001)
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16100 $as_echo "IEEE 1003.1" >&6; }
16102 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16103 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16104 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16105 CCOLLATE_CC=config/locale/generic/collate_members.cc
16106 CCTYPE_CC=config/locale/generic/ctype_members.cc
16107 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16108 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16109 CMONEY_CC=config/locale/generic/monetary_members.cc
16110 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16111 CTIME_H=config/locale/generic/time_members.h
16112 CTIME_CC=config/locale/generic/time_members.cc
16113 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16115 newlib)
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16117 $as_echo "newlib" >&6; }
16119 CLOCALE_H=config/locale/generic/c_locale.h
16120 CLOCALE_CC=config/locale/generic/c_locale.cc
16121 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16122 CCOLLATE_CC=config/locale/generic/collate_members.cc
16123 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16124 CMESSAGES_H=config/locale/generic/messages_members.h
16125 CMESSAGES_CC=config/locale/generic/messages_members.cc
16126 CMONEY_CC=config/locale/generic/monetary_members.cc
16127 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16128 CTIME_H=config/locale/generic/time_members.h
16129 CTIME_CC=config/locale/generic/time_members.cc
16130 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16132 esac
16134 # This is where the testsuite looks for locale catalogs, using the
16135 # -DLOCALEDIR define during testsuite compilation.
16136 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16139 # A standalone libintl (e.g., GNU libintl) may be in use.
16140 if test $USE_NLS = yes; then
16141 for ac_header in libintl.h
16142 do :
16143 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16144 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_LIBINTL_H 1
16147 _ACEOF
16149 else
16150 USE_NLS=no
16153 done
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16156 $as_echo_n "checking for library containing gettext... " >&6; }
16157 if test "${ac_cv_search_gettext+set}" = set; then :
16158 $as_echo_n "(cached) " >&6
16159 else
16160 ac_func_search_save_LIBS=$LIBS
16161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16162 /* end confdefs.h. */
16164 /* Override any GCC internal prototype to avoid an error.
16165 Use char because int might match the return type of a GCC
16166 builtin and then its argument prototype would still apply. */
16167 #ifdef __cplusplus
16168 extern "C"
16169 #endif
16170 char gettext ();
16172 main ()
16174 return gettext ();
16176 return 0;
16178 _ACEOF
16179 for ac_lib in '' intl; do
16180 if test -z "$ac_lib"; then
16181 ac_res="none required"
16182 else
16183 ac_res=-l$ac_lib
16184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16186 if test x$gcc_no_link = xyes; then
16187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16189 if ac_fn_c_try_link "$LINENO"; then :
16190 ac_cv_search_gettext=$ac_res
16192 rm -f core conftest.err conftest.$ac_objext \
16193 conftest$ac_exeext
16194 if test "${ac_cv_search_gettext+set}" = set; then :
16195 break
16197 done
16198 if test "${ac_cv_search_gettext+set}" = set; then :
16200 else
16201 ac_cv_search_gettext=no
16203 rm conftest.$ac_ext
16204 LIBS=$ac_func_search_save_LIBS
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16207 $as_echo "$ac_cv_search_gettext" >&6; }
16208 ac_res=$ac_cv_search_gettext
16209 if test "$ac_res" != no; then :
16210 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16212 else
16213 USE_NLS=no
16217 if test $USE_NLS = yes; then
16219 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16239 $as_echo_n "checking for std::allocator base class... " >&6; }
16240 # Check whether --enable-libstdcxx-allocator was given.
16241 if test "${enable_libstdcxx_allocator+set}" = set; then :
16242 enableval=$enable_libstdcxx_allocator;
16243 case "$enableval" in
16244 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16245 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16246 esac
16248 else
16249 enable_libstdcxx_allocator=auto
16254 # If they didn't use this option switch, or if they specified --enable
16255 # with no specific model, we'll have to look for one. If they
16256 # specified --disable (???), do likewise.
16257 if test $enable_libstdcxx_allocator = no ||
16258 test $enable_libstdcxx_allocator = yes;
16259 then
16260 enable_libstdcxx_allocator=auto
16263 # Either a known package, or "auto". Auto implies the default choice
16264 # for a particular platform.
16265 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16267 # Probe for host-specific support if no specific model is specified.
16268 # Default to "new".
16269 if test $enable_libstdcxx_allocator_flag = auto; then
16270 case ${target_os} in
16271 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16272 enable_libstdcxx_allocator_flag=new
16275 enable_libstdcxx_allocator_flag=new
16277 esac
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16280 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16283 # Set configure bits for specified locale package
16284 case ${enable_libstdcxx_allocator_flag} in
16285 bitmap)
16286 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16287 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16289 malloc)
16290 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16291 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16294 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16295 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16297 new)
16298 ALLOCATOR_H=config/allocator/new_allocator_base.h
16299 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16301 pool)
16302 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16303 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16305 esac
16311 # Check whether --enable-cheaders was given.
16312 if test "${enable_cheaders+set}" = set; then :
16313 enableval=$enable_cheaders;
16314 case "$enableval" in
16315 c|c_std|c_global) ;;
16316 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16317 esac
16319 else
16320 enable_cheaders=$c_model
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16325 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16327 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16329 # Allow overrides to configure.host here.
16330 if test $enable_cheaders = c_global; then
16331 c_compatibility=yes
16340 # Check whether --enable-long-long was given.
16341 if test "${enable_long_long+set}" = set; then :
16342 enableval=$enable_long_long;
16343 case "$enableval" in
16344 yes|no) ;;
16345 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16346 esac
16348 else
16349 enable_long_long=yes
16353 if test $enable_long_long = yes; then
16355 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16359 $as_echo_n "checking for enabled long long specializations... " >&6; }
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16361 $as_echo "$enable_long_long" >&6; }
16364 # Check whether --enable-wchar_t was given.
16365 if test "${enable_wchar_t+set}" = set; then :
16366 enableval=$enable_wchar_t;
16367 case "$enableval" in
16368 yes|no) ;;
16369 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16370 esac
16372 else
16373 enable_wchar_t=yes
16378 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16379 for ac_header in wchar.h
16380 do :
16381 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16382 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16383 cat >>confdefs.h <<_ACEOF
16384 #define HAVE_WCHAR_H 1
16385 _ACEOF
16386 ac_has_wchar_h=yes
16387 else
16388 ac_has_wchar_h=no
16391 done
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16394 $as_echo_n "checking for mbstate_t... " >&6; }
16395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16397 #include <wchar.h>
16399 main ()
16401 mbstate_t teststate;
16403 return 0;
16405 _ACEOF
16406 if ac_fn_c_try_compile "$LINENO"; then :
16407 have_mbstate_t=yes
16408 else
16409 have_mbstate_t=no
16411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16413 $as_echo "$have_mbstate_t" >&6; }
16414 if test x"$have_mbstate_t" = xyes; then
16416 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16420 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16421 # ac_has_wchar_h.
16422 for ac_header in wctype.h
16423 do :
16424 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16425 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16426 cat >>confdefs.h <<_ACEOF
16427 #define HAVE_WCTYPE_H 1
16428 _ACEOF
16429 ac_has_wctype_h=yes
16430 else
16431 ac_has_wctype_h=no
16434 done
16437 if test x"$enable_wchar_t" = x"yes"; then
16440 ac_ext=cpp
16441 ac_cpp='$CXXCPP $CPPFLAGS'
16442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16447 if test x"$ac_has_wchar_h" = xyes &&
16448 test x"$ac_has_wctype_h" = xyes; then
16449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16451 #include <wchar.h>
16452 #include <stddef.h>
16453 wint_t i;
16454 long l = WEOF;
16455 long j = WCHAR_MIN;
16456 long k = WCHAR_MAX;
16457 namespace test
16459 using ::btowc;
16460 using ::fgetwc;
16461 using ::fgetws;
16462 using ::fputwc;
16463 using ::fputws;
16464 using ::fwide;
16465 using ::fwprintf;
16466 using ::fwscanf;
16467 using ::getwc;
16468 using ::getwchar;
16469 using ::mbrlen;
16470 using ::mbrtowc;
16471 using ::mbsinit;
16472 using ::mbsrtowcs;
16473 using ::putwc;
16474 using ::putwchar;
16475 using ::swprintf;
16476 using ::swscanf;
16477 using ::ungetwc;
16478 using ::vfwprintf;
16479 using ::vswprintf;
16480 using ::vwprintf;
16481 using ::wcrtomb;
16482 using ::wcscat;
16483 using ::wcschr;
16484 using ::wcscmp;
16485 using ::wcscoll;
16486 using ::wcscpy;
16487 using ::wcscspn;
16488 using ::wcsftime;
16489 using ::wcslen;
16490 using ::wcsncat;
16491 using ::wcsncmp;
16492 using ::wcsncpy;
16493 using ::wcspbrk;
16494 using ::wcsrchr;
16495 using ::wcsrtombs;
16496 using ::wcsspn;
16497 using ::wcsstr;
16498 using ::wcstod;
16499 using ::wcstok;
16500 using ::wcstol;
16501 using ::wcstoul;
16502 using ::wcsxfrm;
16503 using ::wctob;
16504 using ::wmemchr;
16505 using ::wmemcmp;
16506 using ::wmemcpy;
16507 using ::wmemmove;
16508 using ::wmemset;
16509 using ::wprintf;
16510 using ::wscanf;
16514 main ()
16518 return 0;
16520 _ACEOF
16521 if ac_fn_cxx_try_compile "$LINENO"; then :
16523 else
16524 enable_wchar_t=no
16526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16527 else
16528 enable_wchar_t=no
16531 ac_ext=c
16532 ac_cpp='$CPP $CPPFLAGS'
16533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16539 if test x"$enable_wchar_t" = x"yes"; then
16541 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16546 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16548 $as_echo "$enable_wchar_t" >&6; }
16552 # Check whether --enable-c99 was given.
16553 if test "${enable_c99+set}" = set; then :
16554 enableval=$enable_c99;
16555 case "$enableval" in
16556 yes|no) ;;
16557 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16558 esac
16560 else
16561 enable_c99=yes
16566 if test x"$enable_c99" = x"yes"; then
16569 ac_ext=cpp
16570 ac_cpp='$CXXCPP $CPPFLAGS'
16571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16576 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16577 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16578 # spuriously enabled.
16579 # Long term, -std=c++0x could be even better, could manage to explicitly
16580 # request C99 facilities to the underlying C headers.
16581 ac_save_CXXFLAGS="$CXXFLAGS"
16582 CXXFLAGS="$CXXFLAGS -std=c++98"
16583 ac_save_LIBS="$LIBS"
16584 ac_save_gcc_no_link="$gcc_no_link"
16586 if test x$gcc_no_link != xyes; then
16587 # Use -fno-exceptions to that the C driver can link these tests without
16588 # hitting undefined references to personality routines.
16589 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16591 $as_echo_n "checking for sin in -lm... " >&6; }
16592 if test "${ac_cv_lib_m_sin+set}" = set; then :
16593 $as_echo_n "(cached) " >&6
16594 else
16595 ac_check_lib_save_LIBS=$LIBS
16596 LIBS="-lm $LIBS"
16597 if test x$gcc_no_link = xyes; then
16598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16603 /* Override any GCC internal prototype to avoid an error.
16604 Use char because int might match the return type of a GCC
16605 builtin and then its argument prototype would still apply. */
16606 #ifdef __cplusplus
16607 extern "C"
16608 #endif
16609 char sin ();
16611 main ()
16613 return sin ();
16615 return 0;
16617 _ACEOF
16618 if ac_fn_cxx_try_link "$LINENO"; then :
16619 ac_cv_lib_m_sin=yes
16620 else
16621 ac_cv_lib_m_sin=no
16623 rm -f core conftest.err conftest.$ac_objext \
16624 conftest$ac_exeext conftest.$ac_ext
16625 LIBS=$ac_check_lib_save_LIBS
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16628 $as_echo "$ac_cv_lib_m_sin" >&6; }
16629 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16631 LIBS="$LIBS -lm"
16633 else
16635 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16636 gcc_no_link=yes
16642 # Check for the existence of <math.h> functions used if C99 is enabled.
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16644 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16645 if test "${glibcxx_cv_c99_math+set}" = set; then :
16646 $as_echo_n "(cached) " >&6
16647 else
16649 if test x$gcc_no_link = xyes; then
16650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16652 #include <math.h>
16653 volatile double d1, d2;
16654 volatile int i;
16656 main ()
16658 i = fpclassify(d1);
16659 i = isfinite(d1);
16660 i = isinf(d1);
16661 i = isnan(d1);
16662 i = isnormal(d1);
16663 i = signbit(d1);
16664 i = isgreater(d1, d2);
16665 i = isgreaterequal(d1, d2);
16666 i = isless(d1, d2);
16667 i = islessequal(d1, d2);
16668 i = islessgreater(d1, d2);
16669 i = islessgreater(d1, d2);
16670 i = isunordered(d1, d2);
16673 return 0;
16675 _ACEOF
16676 if ac_fn_cxx_try_compile "$LINENO"; then :
16677 glibcxx_cv_c99_math=yes
16678 else
16679 glibcxx_cv_c99_math=no
16681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16682 else
16683 if test x$gcc_no_link = xyes; then
16684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16687 /* end confdefs.h. */
16688 #include <math.h>
16689 volatile double d1, d2;
16690 volatile int i;
16692 main ()
16694 i = fpclassify(d1);
16695 i = isfinite(d1);
16696 i = isinf(d1);
16697 i = isnan(d1);
16698 i = isnormal(d1);
16699 i = signbit(d1);
16700 i = isgreater(d1, d2);
16701 i = isgreaterequal(d1, d2);
16702 i = isless(d1, d2);
16703 i = islessequal(d1, d2);
16704 i = islessgreater(d1, d2);
16705 i = islessgreater(d1, d2);
16706 i = isunordered(d1, d2);
16709 return 0;
16711 _ACEOF
16712 if ac_fn_cxx_try_link "$LINENO"; then :
16713 glibcxx_cv_c99_math=yes
16714 else
16715 glibcxx_cv_c99_math=no
16717 rm -f core conftest.err conftest.$ac_objext \
16718 conftest$ac_exeext conftest.$ac_ext
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16724 $as_echo "$glibcxx_cv_c99_math" >&6; }
16725 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16727 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16731 # Check for the existence of <complex.h> complex math functions.
16732 # This is necessary even though libstdc++ uses the builtin versions
16733 # of these functions, because if the builtin cannot be used, a reference
16734 # to the library function is emitted.
16735 for ac_header in tgmath.h
16736 do :
16737 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16738 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16739 cat >>confdefs.h <<_ACEOF
16740 #define HAVE_TGMATH_H 1
16741 _ACEOF
16742 ac_has_tgmath_h=yes
16743 else
16744 ac_has_tgmath_h=no
16747 done
16749 for ac_header in complex.h
16750 do :
16751 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16752 if test "x$ac_cv_header_complex_h" = x""yes; then :
16753 cat >>confdefs.h <<_ACEOF
16754 #define HAVE_COMPLEX_H 1
16755 _ACEOF
16756 ac_has_complex_h=yes
16757 else
16758 ac_has_complex_h=no
16761 done
16763 glibcxx_cv_c99_complex=no;
16764 if test x"$ac_has_complex_h" = x"yes"; then
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16766 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16767 if test x$gcc_no_link = xyes; then
16768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16769 /* end confdefs.h. */
16770 #include <complex.h>
16771 typedef __complex__ float float_type;
16772 typedef __complex__ double double_type;
16773 typedef __complex__ long double ld_type;
16774 volatile float_type tmpf;
16775 volatile double_type tmpd;
16776 volatile ld_type tmpld;
16777 volatile float f;
16778 volatile double d;
16779 volatile long double ld;
16781 main ()
16783 f = cabsf(tmpf);
16784 f = cargf(tmpf);
16785 tmpf = ccosf(tmpf);
16786 tmpf = ccoshf(tmpf);
16787 tmpf = cexpf(tmpf);
16788 tmpf = clogf(tmpf);
16789 tmpf = csinf(tmpf);
16790 tmpf = csinhf(tmpf);
16791 tmpf = csqrtf(tmpf);
16792 tmpf = ctanf(tmpf);
16793 tmpf = ctanhf(tmpf);
16794 tmpf = cpowf(tmpf, tmpf);
16795 tmpf = cprojf(tmpf);
16796 d = cabs(tmpd);
16797 d = carg(tmpd);
16798 tmpd = ccos(tmpd);
16799 tmpd = ccosh(tmpd);
16800 tmpd = cexp(tmpd);
16801 tmpd = clog(tmpd);
16802 tmpd = csin(tmpd);
16803 tmpd = csinh(tmpd);
16804 tmpd = csqrt(tmpd);
16805 tmpd = ctan(tmpd);
16806 tmpd = ctanh(tmpd);
16807 tmpd = cpow(tmpd, tmpd);
16808 tmpd = cproj(tmpd);
16809 ld = cabsl(tmpld);
16810 ld = cargl(tmpld);
16811 tmpld = ccosl(tmpld);
16812 tmpld = ccoshl(tmpld);
16813 tmpld = cexpl(tmpld);
16814 tmpld = clogl(tmpld);
16815 tmpld = csinl(tmpld);
16816 tmpld = csinhl(tmpld);
16817 tmpld = csqrtl(tmpld);
16818 tmpld = ctanl(tmpld);
16819 tmpld = ctanhl(tmpld);
16820 tmpld = cpowl(tmpld, tmpld);
16821 tmpld = cprojl(tmpld);
16824 return 0;
16826 _ACEOF
16827 if ac_fn_cxx_try_compile "$LINENO"; then :
16828 glibcxx_cv_c99_complex=yes
16829 else
16830 glibcxx_cv_c99_complex=no
16832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16833 else
16834 if test x$gcc_no_link = xyes; then
16835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16838 /* end confdefs.h. */
16839 #include <complex.h>
16840 typedef __complex__ float float_type;
16841 typedef __complex__ double double_type;
16842 typedef __complex__ long double ld_type;
16843 volatile float_type tmpf;
16844 volatile double_type tmpd;
16845 volatile ld_type tmpld;
16846 volatile float f;
16847 volatile double d;
16848 volatile long double ld;
16850 main ()
16852 f = cabsf(tmpf);
16853 f = cargf(tmpf);
16854 tmpf = ccosf(tmpf);
16855 tmpf = ccoshf(tmpf);
16856 tmpf = cexpf(tmpf);
16857 tmpf = clogf(tmpf);
16858 tmpf = csinf(tmpf);
16859 tmpf = csinhf(tmpf);
16860 tmpf = csqrtf(tmpf);
16861 tmpf = ctanf(tmpf);
16862 tmpf = ctanhf(tmpf);
16863 tmpf = cpowf(tmpf, tmpf);
16864 tmpf = cprojf(tmpf);
16865 d = cabs(tmpd);
16866 d = carg(tmpd);
16867 tmpd = ccos(tmpd);
16868 tmpd = ccosh(tmpd);
16869 tmpd = cexp(tmpd);
16870 tmpd = clog(tmpd);
16871 tmpd = csin(tmpd);
16872 tmpd = csinh(tmpd);
16873 tmpd = csqrt(tmpd);
16874 tmpd = ctan(tmpd);
16875 tmpd = ctanh(tmpd);
16876 tmpd = cpow(tmpd, tmpd);
16877 tmpd = cproj(tmpd);
16878 ld = cabsl(tmpld);
16879 ld = cargl(tmpld);
16880 tmpld = ccosl(tmpld);
16881 tmpld = ccoshl(tmpld);
16882 tmpld = cexpl(tmpld);
16883 tmpld = clogl(tmpld);
16884 tmpld = csinl(tmpld);
16885 tmpld = csinhl(tmpld);
16886 tmpld = csqrtl(tmpld);
16887 tmpld = ctanl(tmpld);
16888 tmpld = ctanhl(tmpld);
16889 tmpld = cpowl(tmpld, tmpld);
16890 tmpld = cprojl(tmpld);
16893 return 0;
16895 _ACEOF
16896 if ac_fn_cxx_try_link "$LINENO"; then :
16897 glibcxx_cv_c99_complex=yes
16898 else
16899 glibcxx_cv_c99_complex=no
16901 rm -f core conftest.err conftest.$ac_objext \
16902 conftest$ac_exeext conftest.$ac_ext
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16906 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16907 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16909 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16913 # Check for the existence in <stdio.h> of vscanf, et. al.
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16915 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16916 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16917 $as_echo_n "(cached) " >&6
16918 else
16920 if test x$gcc_no_link = xyes; then
16921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16922 /* end confdefs.h. */
16923 #include <stdio.h>
16924 #include <stdarg.h>
16925 void foo(char* fmt, ...)
16927 va_list args; va_start(args, fmt);
16928 vfscanf(stderr, "%i", args);
16929 vscanf("%i", args);
16930 vsnprintf(fmt, 0, "%i", args);
16931 vsscanf(fmt, "%i", args);
16932 snprintf(fmt, 0, "%i");
16935 main ()
16939 return 0;
16941 _ACEOF
16942 if ac_fn_cxx_try_compile "$LINENO"; then :
16943 glibcxx_cv_c99_stdio=yes
16944 else
16945 glibcxx_cv_c99_stdio=no
16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16948 else
16949 if test x$gcc_no_link = xyes; then
16950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 #include <stdio.h>
16955 #include <stdarg.h>
16956 void foo(char* fmt, ...)
16958 va_list args; va_start(args, fmt);
16959 vfscanf(stderr, "%i", args);
16960 vscanf("%i", args);
16961 vsnprintf(fmt, 0, "%i", args);
16962 vsscanf(fmt, "%i", args);
16963 snprintf(fmt, 0, "%i");
16966 main ()
16970 return 0;
16972 _ACEOF
16973 if ac_fn_cxx_try_link "$LINENO"; then :
16974 glibcxx_cv_c99_stdio=yes
16975 else
16976 glibcxx_cv_c99_stdio=no
16978 rm -f core conftest.err conftest.$ac_objext \
16979 conftest$ac_exeext conftest.$ac_ext
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16985 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16987 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16989 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16990 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16991 $as_echo_n "(cached) " >&6
16992 else
16994 if test x$gcc_no_link = xyes; then
16995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16996 /* end confdefs.h. */
16997 #include <stdlib.h>
16998 volatile float f;
16999 volatile long double ld;
17000 volatile unsigned long long ll;
17001 lldiv_t mydivt;
17003 main ()
17005 char* tmp;
17006 f = strtof("gnu", &tmp);
17007 ld = strtold("gnu", &tmp);
17008 ll = strtoll("gnu", &tmp, 10);
17009 ll = strtoull("gnu", &tmp, 10);
17010 ll = llabs(10);
17011 mydivt = lldiv(10,1);
17012 ll = mydivt.quot;
17013 ll = mydivt.rem;
17014 ll = atoll("10");
17015 _Exit(0);
17018 return 0;
17020 _ACEOF
17021 if ac_fn_cxx_try_compile "$LINENO"; then :
17022 glibcxx_cv_c99_stdlib=yes
17023 else
17024 glibcxx_cv_c99_stdlib=no
17026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17027 else
17028 if test x$gcc_no_link = xyes; then
17029 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 #include <stdlib.h>
17034 volatile float f;
17035 volatile long double ld;
17036 volatile unsigned long long ll;
17037 lldiv_t mydivt;
17039 main ()
17041 char* tmp;
17042 f = strtof("gnu", &tmp);
17043 ld = strtold("gnu", &tmp);
17044 ll = strtoll("gnu", &tmp, 10);
17045 ll = strtoull("gnu", &tmp, 10);
17046 ll = llabs(10);
17047 mydivt = lldiv(10,1);
17048 ll = mydivt.quot;
17049 ll = mydivt.rem;
17050 ll = atoll("10");
17051 _Exit(0);
17054 return 0;
17056 _ACEOF
17057 if ac_fn_cxx_try_link "$LINENO"; then :
17058 glibcxx_cv_c99_stdlib=yes
17059 else
17060 glibcxx_cv_c99_stdlib=no
17062 rm -f core conftest.err conftest.$ac_objext \
17063 conftest$ac_exeext conftest.$ac_ext
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17069 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17071 # Check for the existence in <wchar.h> of wcstold, etc.
17072 glibcxx_cv_c99_wchar=no;
17073 if test x"$ac_has_wchar_h" = xyes &&
17074 test x"$ac_has_wctype_h" = xyes; then
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17076 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 #include <wchar.h>
17080 namespace test
17082 using ::wcstold;
17083 using ::wcstoll;
17084 using ::wcstoull;
17088 main ()
17092 return 0;
17094 _ACEOF
17095 if ac_fn_cxx_try_compile "$LINENO"; then :
17096 glibcxx_cv_c99_wchar=yes
17097 else
17098 glibcxx_cv_c99_wchar=no
17100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102 # Checks for wide character functions that may not be present.
17103 # Injection of these is wrapped with guard macros.
17104 # NB: only put functions here, instead of immediately above, if
17105 # absolutely necessary.
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <wchar.h>
17109 namespace test { using ::vfwscanf; }
17111 main ()
17115 return 0;
17117 _ACEOF
17118 if ac_fn_cxx_try_compile "$LINENO"; then :
17120 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <wchar.h>
17128 namespace test { using ::vswscanf; }
17130 main ()
17134 return 0;
17136 _ACEOF
17137 if ac_fn_cxx_try_compile "$LINENO"; then :
17139 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 #include <wchar.h>
17147 namespace test { using ::vwscanf; }
17149 main ()
17153 return 0;
17155 _ACEOF
17156 if ac_fn_cxx_try_compile "$LINENO"; then :
17158 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 #include <wchar.h>
17166 namespace test { using ::wcstof; }
17168 main ()
17172 return 0;
17174 _ACEOF
17175 if ac_fn_cxx_try_compile "$LINENO"; then :
17177 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #include <wctype.h>
17186 main ()
17188 wint_t t; int i = iswblank(t);
17190 return 0;
17192 _ACEOF
17193 if ac_fn_cxx_try_compile "$LINENO"; then :
17195 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17201 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17204 # Option parsed, now set things appropriately.
17205 if test x"$glibcxx_cv_c99_math" = x"no" ||
17206 test x"$glibcxx_cv_c99_complex" = x"no" ||
17207 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17208 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17209 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17210 enable_c99=no;
17211 else
17213 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17217 gcc_no_link="$ac_save_gcc_no_link"
17218 LIBS="$ac_save_LIBS"
17219 CXXFLAGS="$ac_save_CXXFLAGS"
17220 ac_ext=c
17221 ac_cpp='$CPP $CPPFLAGS'
17222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17229 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17231 $as_echo "$enable_c99" >&6; }
17234 # Check whether --enable-concept-checks was given.
17235 if test "${enable_concept_checks+set}" = set; then :
17236 enableval=$enable_concept_checks;
17237 case "$enableval" in
17238 yes|no) ;;
17239 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17240 esac
17242 else
17243 enable_concept_checks=no
17247 if test $enable_concept_checks = yes; then
17249 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17254 # Check whether --enable-libstdcxx-debug-flags was given.
17255 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17256 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17257 xno | x) enable_libstdcxx_debug_flags= ;;
17258 x-*) ;;
17259 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17260 esac
17261 else
17262 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17267 # Option parsed, now set things appropriately
17268 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17272 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17276 $as_echo_n "checking for additional debug build... " >&6; }
17277 # Check whether --enable-libstdcxx-debug was given.
17278 if test "${enable_libstdcxx_debug+set}" = set; then :
17279 enableval=$enable_libstdcxx_debug;
17280 case "$enableval" in
17281 yes|no) ;;
17282 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17283 esac
17285 else
17286 enable_libstdcxx_debug=no
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17291 $as_echo "$enable_libstdcxx_debug" >&6; }
17296 enable_parallel=no;
17298 # See if configured libgomp/omp.h exists. (libgomp may be in
17299 # noconfigdirs but not explicitly disabled.)
17300 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17301 enable_parallel=yes;
17302 else
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17304 $as_echo "$as_me: target-libgomp not built" >&6;}
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17308 $as_echo_n "checking for parallel mode support... " >&6; }
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17310 $as_echo "$enable_parallel" >&6; }
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17313 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17314 # Check whether --enable-cxx-flags was given.
17315 if test "${enable_cxx_flags+set}" = set; then :
17316 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17317 xno | x) enable_cxx_flags= ;;
17318 x-*) ;;
17319 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17320 esac
17321 else
17322 enable_cxx_flags=
17327 # Run through flags (either default or command-line) and set anything
17328 # extra (e.g., #defines) that must accompany particular g++ options.
17329 if test -n "$enable_cxx_flags"; then
17330 for f in $enable_cxx_flags; do
17331 case "$f" in
17332 -fhonor-std) ;;
17333 -*) ;;
17334 *) # and we're trying to pass /what/ exactly?
17335 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17336 esac
17337 done
17340 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17342 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17346 # Check whether --enable-fully-dynamic-string was given.
17347 if test "${enable_fully_dynamic_string+set}" = set; then :
17348 enableval=$enable_fully_dynamic_string;
17349 case "$enableval" in
17350 yes|no) ;;
17351 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17352 esac
17354 else
17355 enable_fully_dynamic_string=no
17359 if test $enable_fully_dynamic_string = yes; then
17360 enable_fully_dynamic_string_def=1
17361 else
17362 enable_fully_dynamic_string_def=0
17365 cat >>confdefs.h <<_ACEOF
17366 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17367 _ACEOF
17372 # Check whether --enable-extern-template was given.
17373 if test "${enable_extern_template+set}" = set; then :
17374 enableval=$enable_extern_template;
17375 case "$enableval" in
17376 yes|no) ;;
17377 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17378 esac
17380 else
17381 enable_extern_template=yes
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17387 $as_echo_n "checking for extern template support... " >&6; }
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17389 $as_echo "$enable_extern_template" >&6; }
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17396 $as_echo_n "checking for custom python install directory... " >&6; }
17398 # Check whether --with-python-dir was given.
17399 if test "${with_python_dir+set}" = set; then :
17400 withval=$with_python_dir; with_python_dir=$withval
17401 else
17402 with_python_dir="no"
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17406 $as_echo "${with_python_dir}" >&6; }
17408 # Needed for installing Python modules during make install.
17409 python_mod_dir="${with_python_dir}"
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17415 $as_echo_n "checking for -Werror... " >&6; }
17416 # Check whether --enable-werror was given.
17417 if test "${enable_werror+set}" = set; then :
17418 enableval=$enable_werror;
17419 case "$enableval" in
17420 yes|no) ;;
17421 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17422 esac
17424 else
17425 enable_werror=yes
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17430 $as_echo "$enable_werror" >&6; }
17435 # Check whether --enable-vtable-verify was given.
17436 if test "${enable_vtable_verify+set}" = set; then :
17437 enableval=$enable_vtable_verify;
17438 case "$enableval" in
17439 yes|no) ;;
17440 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17441 esac
17443 else
17444 enable_vtable_verify=no
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17450 $as_echo_n "checking for vtable verify support... " >&6; }
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17452 $as_echo "$enable_vtable_verify" >&6; }
17454 if test $enable_vtable_verify = yes; then
17455 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17456 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17457 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17458 else
17459 VTV_CXXFLAGS=
17460 VTV_PCH_CXXFLAGS=
17461 VTV_CXXLINKFLAGS=
17470 # Checks for operating systems support that doesn't require linking.
17474 ac_ext=cpp
17475 ac_cpp='$CXXCPP $CPPFLAGS'
17476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17482 $as_echo_n "checking for gets declaration... " >&6; }
17483 if test "${glibcxx_cv_gets+set}" = set; then :
17484 $as_echo_n "(cached) " >&6
17485 else
17487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17488 /* end confdefs.h. */
17489 #include <stdio.h>
17490 namespace test
17492 using ::gets;
17495 _ACEOF
17496 if ac_fn_cxx_try_compile "$LINENO"; then :
17497 glibcxx_cv_gets=yes
17498 else
17499 glibcxx_cv_gets=no
17502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17506 if test $glibcxx_cv_gets = yes; then
17508 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17512 $as_echo "$glibcxx_cv_gets" >&6; }
17514 ac_ext=c
17515 ac_cpp='$CPP $CPPFLAGS'
17516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17524 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17525 if test "${glibcxx_cv_system_error1+set}" = set; then :
17526 $as_echo_n "(cached) " >&6
17527 else
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17531 #include <errno.h>
17533 main ()
17535 int i = EOWNERDEAD;
17537 return 0;
17539 _ACEOF
17540 if ac_fn_c_try_compile "$LINENO"; then :
17541 glibcxx_cv_system_error1=yes
17542 else
17543 glibcxx_cv_system_error1=no
17545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17550 $as_echo "$glibcxx_cv_system_error1" >&6; }
17551 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17553 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17557 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17558 if test "${glibcxx_cv_system_error2+set}" = set; then :
17559 $as_echo_n "(cached) " >&6
17560 else
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 #include <errno.h>
17566 main ()
17568 int i = ENOTRECOVERABLE;
17570 return 0;
17572 _ACEOF
17573 if ac_fn_c_try_compile "$LINENO"; then :
17574 glibcxx_cv_system_error2=yes
17575 else
17576 glibcxx_cv_system_error2=no
17578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17583 $as_echo "$glibcxx_cv_system_error2" >&6; }
17584 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17586 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17590 $as_echo_n "checking for ENOLINK... " >&6; }
17591 if test "${glibcxx_cv_system_error3+set}" = set; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17597 #include <errno.h>
17599 main ()
17601 int i = ENOLINK;
17603 return 0;
17605 _ACEOF
17606 if ac_fn_c_try_compile "$LINENO"; then :
17607 glibcxx_cv_system_error3=yes
17608 else
17609 glibcxx_cv_system_error3=no
17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17616 $as_echo "$glibcxx_cv_system_error3" >&6; }
17617 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17619 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17623 $as_echo_n "checking for EPROTO... " >&6; }
17624 if test "${glibcxx_cv_system_error4+set}" = set; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #include <errno.h>
17632 main ()
17634 int i = EPROTO;
17636 return 0;
17638 _ACEOF
17639 if ac_fn_c_try_compile "$LINENO"; then :
17640 glibcxx_cv_system_error4=yes
17641 else
17642 glibcxx_cv_system_error4=no
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17649 $as_echo "$glibcxx_cv_system_error4" >&6; }
17650 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17652 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17656 $as_echo_n "checking for ENODATA... " >&6; }
17657 if test "${glibcxx_cv_system_error5+set}" = set; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17662 /* end confdefs.h. */
17663 #include <errno.h>
17665 main ()
17667 int i = ENODATA;
17669 return 0;
17671 _ACEOF
17672 if ac_fn_c_try_compile "$LINENO"; then :
17673 glibcxx_cv_system_error5=yes
17674 else
17675 glibcxx_cv_system_error5=no
17677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17682 $as_echo "$glibcxx_cv_system_error5" >&6; }
17683 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17685 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17689 $as_echo_n "checking for ENOSR... " >&6; }
17690 if test "${glibcxx_cv_system_error6+set}" = set; then :
17691 $as_echo_n "(cached) " >&6
17692 else
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 #include <errno.h>
17698 main ()
17700 int i = ENOSR;
17702 return 0;
17704 _ACEOF
17705 if ac_fn_c_try_compile "$LINENO"; then :
17706 glibcxx_cv_system_error6=yes
17707 else
17708 glibcxx_cv_system_error6=no
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17715 $as_echo "$glibcxx_cv_system_error6" >&6; }
17716 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17718 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17722 $as_echo_n "checking for ENOSTR... " >&6; }
17723 if test "${glibcxx_cv_system_error7+set}" = set; then :
17724 $as_echo_n "(cached) " >&6
17725 else
17727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17729 #include <errno.h>
17731 main ()
17733 int i = ENOSTR;
17735 return 0;
17737 _ACEOF
17738 if ac_fn_c_try_compile "$LINENO"; then :
17739 glibcxx_cv_system_error7=yes
17740 else
17741 glibcxx_cv_system_error7=no
17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17748 $as_echo "$glibcxx_cv_system_error7" >&6; }
17749 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17751 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17755 $as_echo_n "checking for ETIME... " >&6; }
17756 if test "${glibcxx_cv_system_error8+set}" = set; then :
17757 $as_echo_n "(cached) " >&6
17758 else
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17762 #include <errno.h>
17764 main ()
17766 int i = ETIME;
17768 return 0;
17770 _ACEOF
17771 if ac_fn_c_try_compile "$LINENO"; then :
17772 glibcxx_cv_system_error8=yes
17773 else
17774 glibcxx_cv_system_error8=no
17776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17781 $as_echo "$glibcxx_cv_system_error8" >&6; }
17782 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17784 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17788 $as_echo_n "checking for EBADMSG... " >&6; }
17789 if test "${glibcxx_cv_system_error9+set}" = set; then :
17790 $as_echo_n "(cached) " >&6
17791 else
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17795 #include <errno.h>
17797 main ()
17799 int i = EBADMSG;
17801 return 0;
17803 _ACEOF
17804 if ac_fn_c_try_compile "$LINENO"; then :
17805 glibcxx_cv_system_error9=yes
17806 else
17807 glibcxx_cv_system_error9=no
17809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17814 $as_echo "$glibcxx_cv_system_error9" >&6; }
17815 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17817 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17821 $as_echo_n "checking for ECANCELED... " >&6; }
17822 if test "${glibcxx_cv_system_error10+set}" = set; then :
17823 $as_echo_n "(cached) " >&6
17824 else
17826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17827 /* end confdefs.h. */
17828 #include <errno.h>
17830 main ()
17832 int i = ECANCELED;
17834 return 0;
17836 _ACEOF
17837 if ac_fn_c_try_compile "$LINENO"; then :
17838 glibcxx_cv_system_error10=yes
17839 else
17840 glibcxx_cv_system_error10=no
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17847 $as_echo "$glibcxx_cv_system_error10" >&6; }
17848 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17850 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17854 $as_echo_n "checking for EOVERFLOW... " >&6; }
17855 if test "${glibcxx_cv_system_error11+set}" = set; then :
17856 $as_echo_n "(cached) " >&6
17857 else
17859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17860 /* end confdefs.h. */
17861 #include <errno.h>
17863 main ()
17865 int i = EOVERFLOW;
17867 return 0;
17869 _ACEOF
17870 if ac_fn_c_try_compile "$LINENO"; then :
17871 glibcxx_cv_system_error11=yes
17872 else
17873 glibcxx_cv_system_error11=no
17875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17880 $as_echo "$glibcxx_cv_system_error11" >&6; }
17881 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17883 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17887 $as_echo_n "checking for ENOTSUP... " >&6; }
17888 if test "${glibcxx_cv_system_error12+set}" = set; then :
17889 $as_echo_n "(cached) " >&6
17890 else
17892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17894 #include <errno.h>
17896 main ()
17898 int i = ENOTSUP;
17900 return 0;
17902 _ACEOF
17903 if ac_fn_c_try_compile "$LINENO"; then :
17904 glibcxx_cv_system_error12=yes
17905 else
17906 glibcxx_cv_system_error12=no
17908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17913 $as_echo "$glibcxx_cv_system_error12" >&6; }
17914 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17916 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17920 $as_echo_n "checking for EIDRM... " >&6; }
17921 if test "${glibcxx_cv_system_error13+set}" = set; then :
17922 $as_echo_n "(cached) " >&6
17923 else
17925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17927 #include <errno.h>
17929 main ()
17931 int i = EIDRM;
17933 return 0;
17935 _ACEOF
17936 if ac_fn_c_try_compile "$LINENO"; then :
17937 glibcxx_cv_system_error13=yes
17938 else
17939 glibcxx_cv_system_error13=no
17941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17946 $as_echo "$glibcxx_cv_system_error13" >&6; }
17947 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17949 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17953 $as_echo_n "checking for ETXTBSY... " >&6; }
17954 if test "${glibcxx_cv_system_error14+set}" = set; then :
17955 $as_echo_n "(cached) " >&6
17956 else
17958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17959 /* end confdefs.h. */
17960 #include <errno.h>
17962 main ()
17964 int i = ETXTBSY;
17966 return 0;
17968 _ACEOF
17969 if ac_fn_c_try_compile "$LINENO"; then :
17970 glibcxx_cv_system_error14=yes
17971 else
17972 glibcxx_cv_system_error14=no
17974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17979 $as_echo "$glibcxx_cv_system_error14" >&6; }
17980 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17982 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17986 $as_echo_n "checking for ECHILD... " >&6; }
17987 if test "${glibcxx_cv_system_error15+set}" = set; then :
17988 $as_echo_n "(cached) " >&6
17989 else
17991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17992 /* end confdefs.h. */
17993 #include <errno.h>
17995 main ()
17997 int i = ECHILD;
17999 return 0;
18001 _ACEOF
18002 if ac_fn_c_try_compile "$LINENO"; then :
18003 glibcxx_cv_system_error15=yes
18004 else
18005 glibcxx_cv_system_error15=no
18007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18012 $as_echo "$glibcxx_cv_system_error15" >&6; }
18013 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18015 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18019 $as_echo_n "checking for ENOSPC... " >&6; }
18020 if test "${glibcxx_cv_system_error16+set}" = set; then :
18021 $as_echo_n "(cached) " >&6
18022 else
18024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18025 /* end confdefs.h. */
18026 #include <errno.h>
18028 main ()
18030 int i = ENOSPC;
18032 return 0;
18034 _ACEOF
18035 if ac_fn_c_try_compile "$LINENO"; then :
18036 glibcxx_cv_system_error16=yes
18037 else
18038 glibcxx_cv_system_error16=no
18040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18045 $as_echo "$glibcxx_cv_system_error16" >&6; }
18046 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18048 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18052 $as_echo_n "checking for EPERM... " >&6; }
18053 if test "${glibcxx_cv_system_error17+set}" = set; then :
18054 $as_echo_n "(cached) " >&6
18055 else
18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18059 #include <errno.h>
18061 main ()
18063 int i = EPERM;
18065 return 0;
18067 _ACEOF
18068 if ac_fn_c_try_compile "$LINENO"; then :
18069 glibcxx_cv_system_error17=yes
18070 else
18071 glibcxx_cv_system_error17=no
18073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18078 $as_echo "$glibcxx_cv_system_error17" >&6; }
18079 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18081 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18085 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18086 if test "${glibcxx_cv_system_error18+set}" = set; then :
18087 $as_echo_n "(cached) " >&6
18088 else
18090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18092 #include <errno.h>
18094 main ()
18096 int i = ETIMEDOUT;
18098 return 0;
18100 _ACEOF
18101 if ac_fn_c_try_compile "$LINENO"; then :
18102 glibcxx_cv_system_error18=yes
18103 else
18104 glibcxx_cv_system_error18=no
18106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18111 $as_echo "$glibcxx_cv_system_error18" >&6; }
18112 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18114 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18118 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18119 if test "${glibcxx_cv_system_error19+set}" = set; then :
18120 $as_echo_n "(cached) " >&6
18121 else
18123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18124 /* end confdefs.h. */
18125 #include <errno.h>
18127 main ()
18129 int i = EWOULDBLOCK;
18131 return 0;
18133 _ACEOF
18134 if ac_fn_c_try_compile "$LINENO"; then :
18135 glibcxx_cv_system_error19=yes
18136 else
18137 glibcxx_cv_system_error19=no
18139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18144 $as_echo "$glibcxx_cv_system_error19" >&6; }
18145 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18147 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18153 # For the streamoff typedef.
18157 ac_ext=cpp
18158 ac_cpp='$CXXCPP $CPPFLAGS'
18159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18165 $as_echo_n "checking for int64_t... " >&6; }
18166 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18167 $as_echo_n "(cached) " >&6
18168 else
18170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18172 #include <stdint.h>
18174 main ()
18176 int64_t var;
18178 return 0;
18180 _ACEOF
18181 if ac_fn_cxx_try_compile "$LINENO"; then :
18182 glibcxx_cv_INT64_T=yes
18183 else
18184 glibcxx_cv_INT64_T=no
18186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18191 if test $glibcxx_cv_INT64_T = yes; then
18193 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18196 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18199 $as_echo_n "checking for int64_t as long... " >&6; }
18200 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18201 $as_echo_n "(cached) " >&6
18202 else
18204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18205 /* end confdefs.h. */
18206 #include <stdint.h>
18207 template<typename, typename> struct same { enum { value = -1 }; };
18208 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18209 int array[same<int64_t, long>::value];
18211 main ()
18215 return 0;
18217 _ACEOF
18218 if ac_fn_cxx_try_compile "$LINENO"; then :
18219 glibcxx_cv_int64_t_long=yes
18220 else
18221 glibcxx_cv_int64_t_long=no
18223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18228 if test $glibcxx_cv_int64_t_long = yes; then
18230 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18233 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18237 $as_echo_n "checking for int64_t as long long... " >&6; }
18238 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18239 $as_echo_n "(cached) " >&6
18240 else
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18244 #include <stdint.h>
18245 template<typename, typename> struct same { enum { value = -1 }; };
18246 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18247 int array[same<int64_t, long long>::value];
18249 main ()
18253 return 0;
18255 _ACEOF
18256 if ac_fn_cxx_try_compile "$LINENO"; then :
18257 glibcxx_cv_int64_t_long_long=yes
18258 else
18259 glibcxx_cv_int64_t_long_long=no
18261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18266 if test $glibcxx_cv_int64_t_long_long = yes; then
18268 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18271 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18275 ac_ext=c
18276 ac_cpp='$CPP $CPPFLAGS'
18277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18283 # For LFS support.
18286 ac_ext=cpp
18287 ac_cpp='$CXXCPP $CPPFLAGS'
18288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18292 ac_save_CXXFLAGS="$CXXFLAGS"
18293 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18295 $as_echo_n "checking for LFS support... " >&6; }
18296 if test "${glibcxx_cv_LFS+set}" = set; then :
18297 $as_echo_n "(cached) " >&6
18298 else
18300 if test x$gcc_no_link = xyes; then
18301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18302 /* end confdefs.h. */
18303 #include <unistd.h>
18304 #include <stdio.h>
18305 #include <sys/stat.h>
18308 main ()
18310 FILE* fp;
18311 fopen64("t", "w");
18312 fseeko64(fp, 0, SEEK_CUR);
18313 ftello64(fp);
18314 lseek64(1, 0, SEEK_CUR);
18315 struct stat64 buf;
18316 fstat64(1, &buf);
18318 return 0;
18320 _ACEOF
18321 if ac_fn_cxx_try_compile "$LINENO"; then :
18322 glibcxx_cv_LFS=yes
18323 else
18324 glibcxx_cv_LFS=no
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18327 else
18328 if test x$gcc_no_link = xyes; then
18329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18332 /* end confdefs.h. */
18333 #include <unistd.h>
18334 #include <stdio.h>
18335 #include <sys/stat.h>
18338 main ()
18340 FILE* fp;
18341 fopen64("t", "w");
18342 fseeko64(fp, 0, SEEK_CUR);
18343 ftello64(fp);
18344 lseek64(1, 0, SEEK_CUR);
18345 struct stat64 buf;
18346 fstat64(1, &buf);
18348 return 0;
18350 _ACEOF
18351 if ac_fn_cxx_try_link "$LINENO"; then :
18352 glibcxx_cv_LFS=yes
18353 else
18354 glibcxx_cv_LFS=no
18356 rm -f core conftest.err conftest.$ac_objext \
18357 conftest$ac_exeext conftest.$ac_ext
18362 if test $glibcxx_cv_LFS = yes; then
18364 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18368 $as_echo "$glibcxx_cv_LFS" >&6; }
18369 CXXFLAGS="$ac_save_CXXFLAGS"
18370 ac_ext=c
18371 ac_cpp='$CPP $CPPFLAGS'
18372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18378 # For showmanyc_helper().
18379 for ac_header in sys/ioctl.h sys/filio.h
18380 do :
18381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18382 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18383 eval as_val=\$$as_ac_Header
18384 if test "x$as_val" = x""yes; then :
18385 cat >>confdefs.h <<_ACEOF
18386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18387 _ACEOF
18391 done
18396 ac_ext=cpp
18397 ac_cpp='$CXXCPP $CPPFLAGS'
18398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18402 ac_save_CXXFLAGS="$CXXFLAGS"
18403 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18406 $as_echo_n "checking for poll... " >&6; }
18407 if test "${glibcxx_cv_POLL+set}" = set; then :
18408 $as_echo_n "(cached) " >&6
18409 else
18411 if test x$gcc_no_link = xyes; then
18412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18413 /* end confdefs.h. */
18414 #include <poll.h>
18416 main ()
18418 struct pollfd pfd[1];
18419 pfd[0].events = POLLIN;
18420 poll(pfd, 1, 0);
18422 return 0;
18424 _ACEOF
18425 if ac_fn_cxx_try_compile "$LINENO"; then :
18426 glibcxx_cv_POLL=yes
18427 else
18428 glibcxx_cv_POLL=no
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 else
18432 if test x$gcc_no_link = xyes; then
18433 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h. */
18437 #include <poll.h>
18439 main ()
18441 struct pollfd pfd[1];
18442 pfd[0].events = POLLIN;
18443 poll(pfd, 1, 0);
18445 return 0;
18447 _ACEOF
18448 if ac_fn_cxx_try_link "$LINENO"; then :
18449 glibcxx_cv_POLL=yes
18450 else
18451 glibcxx_cv_POLL=no
18453 rm -f core conftest.err conftest.$ac_objext \
18454 conftest$ac_exeext conftest.$ac_ext
18459 if test $glibcxx_cv_POLL = yes; then
18461 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18465 $as_echo "$glibcxx_cv_POLL" >&6; }
18467 CXXFLAGS="$ac_save_CXXFLAGS"
18468 ac_ext=c
18469 ac_cpp='$CPP $CPPFLAGS'
18470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18478 ac_ext=cpp
18479 ac_cpp='$CXXCPP $CPPFLAGS'
18480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18484 ac_save_CXXFLAGS="$CXXFLAGS"
18485 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18488 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18489 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18490 $as_echo_n "(cached) " >&6
18491 else
18493 if test x$gcc_no_link = xyes; then
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18496 #include <sys/stat.h>
18498 main ()
18500 struct stat buffer;
18501 fstat(0, &buffer);
18502 S_ISREG(buffer.st_mode);
18504 return 0;
18506 _ACEOF
18507 if ac_fn_cxx_try_compile "$LINENO"; then :
18508 glibcxx_cv_S_ISREG=yes
18509 else
18510 glibcxx_cv_S_ISREG=no
18512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18513 else
18514 if test x$gcc_no_link = xyes; then
18515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18519 #include <sys/stat.h>
18521 main ()
18523 struct stat buffer;
18524 fstat(0, &buffer);
18525 S_ISREG(buffer.st_mode);
18527 return 0;
18529 _ACEOF
18530 if ac_fn_cxx_try_link "$LINENO"; then :
18531 glibcxx_cv_S_ISREG=yes
18532 else
18533 glibcxx_cv_S_ISREG=no
18535 rm -f core conftest.err conftest.$ac_objext \
18536 conftest$ac_exeext conftest.$ac_ext
18541 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18542 $as_echo_n "(cached) " >&6
18543 else
18545 if test x$gcc_no_link = xyes; then
18546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18547 /* end confdefs.h. */
18548 #include <sys/stat.h>
18550 main ()
18552 struct stat buffer;
18553 fstat(0, &buffer);
18554 S_IFREG & buffer.st_mode;
18556 return 0;
18558 _ACEOF
18559 if ac_fn_cxx_try_compile "$LINENO"; then :
18560 glibcxx_cv_S_IFREG=yes
18561 else
18562 glibcxx_cv_S_IFREG=no
18564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18565 else
18566 if test x$gcc_no_link = xyes; then
18567 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18570 /* end confdefs.h. */
18571 #include <sys/stat.h>
18573 main ()
18575 struct stat buffer;
18576 fstat(0, &buffer);
18577 S_IFREG & buffer.st_mode;
18579 return 0;
18581 _ACEOF
18582 if ac_fn_cxx_try_link "$LINENO"; then :
18583 glibcxx_cv_S_IFREG=yes
18584 else
18585 glibcxx_cv_S_IFREG=no
18587 rm -f core conftest.err conftest.$ac_objext \
18588 conftest$ac_exeext conftest.$ac_ext
18593 res=no
18594 if test $glibcxx_cv_S_ISREG = yes; then
18596 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18598 res=S_ISREG
18599 elif test $glibcxx_cv_S_IFREG = yes; then
18601 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18603 res=S_IFREG
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18606 $as_echo "$res" >&6; }
18608 CXXFLAGS="$ac_save_CXXFLAGS"
18609 ac_ext=c
18610 ac_cpp='$CPP $CPPFLAGS'
18611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18617 # For xsputn_2().
18618 for ac_header in sys/uio.h
18619 do :
18620 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18621 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18622 cat >>confdefs.h <<_ACEOF
18623 #define HAVE_SYS_UIO_H 1
18624 _ACEOF
18628 done
18633 ac_ext=cpp
18634 ac_cpp='$CXXCPP $CPPFLAGS'
18635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18639 ac_save_CXXFLAGS="$CXXFLAGS"
18640 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18643 $as_echo_n "checking for writev... " >&6; }
18644 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18645 $as_echo_n "(cached) " >&6
18646 else
18648 if test x$gcc_no_link = xyes; then
18649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18650 /* end confdefs.h. */
18651 #include <sys/uio.h>
18653 main ()
18655 struct iovec iov[2];
18656 writev(0, iov, 0);
18658 return 0;
18660 _ACEOF
18661 if ac_fn_cxx_try_compile "$LINENO"; then :
18662 glibcxx_cv_WRITEV=yes
18663 else
18664 glibcxx_cv_WRITEV=no
18666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18667 else
18668 if test x$gcc_no_link = xyes; then
18669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18672 /* end confdefs.h. */
18673 #include <sys/uio.h>
18675 main ()
18677 struct iovec iov[2];
18678 writev(0, iov, 0);
18680 return 0;
18682 _ACEOF
18683 if ac_fn_cxx_try_link "$LINENO"; then :
18684 glibcxx_cv_WRITEV=yes
18685 else
18686 glibcxx_cv_WRITEV=no
18688 rm -f core conftest.err conftest.$ac_objext \
18689 conftest$ac_exeext conftest.$ac_ext
18694 if test $glibcxx_cv_WRITEV = yes; then
18696 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18700 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18702 CXXFLAGS="$ac_save_CXXFLAGS"
18703 ac_ext=c
18704 ac_cpp='$CPP $CPPFLAGS'
18705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18711 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18712 # so that the check is done with the C compiler (not C++).
18713 # Checking with C++ can break a canadian cross build if either
18714 # file does not exist in C but does in C++.
18715 for ac_header in fenv.h complex.h
18716 do :
18717 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18718 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18719 eval as_val=\$$as_ac_Header
18720 if test "x$as_val" = x""yes; then :
18721 cat >>confdefs.h <<_ACEOF
18722 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18723 _ACEOF
18727 done
18730 # For C99 support to TR1.
18734 ac_ext=cpp
18735 ac_cpp='$CXXCPP $CPPFLAGS'
18736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18741 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18742 # undefined and fake C99 facilities may be spuriously enabled.
18743 ac_save_CXXFLAGS="$CXXFLAGS"
18744 CXXFLAGS="$CXXFLAGS -std=c++98"
18746 # Check for the existence of <complex.h> complex math functions used
18747 # by tr1/complex.
18748 for ac_header in complex.h
18749 do :
18750 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18751 if test "x$ac_cv_header_complex_h" = x""yes; then :
18752 cat >>confdefs.h <<_ACEOF
18753 #define HAVE_COMPLEX_H 1
18754 _ACEOF
18755 ac_has_complex_h=yes
18756 else
18757 ac_has_complex_h=no
18760 done
18762 ac_c99_complex_tr1=no;
18763 if test x"$ac_has_complex_h" = x"yes"; then
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18765 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18767 /* end confdefs.h. */
18768 #include <complex.h>
18770 main ()
18772 typedef __complex__ float float_type; float_type tmpf;
18773 cacosf(tmpf);
18774 casinf(tmpf);
18775 catanf(tmpf);
18776 cacoshf(tmpf);
18777 casinhf(tmpf);
18778 catanhf(tmpf);
18779 typedef __complex__ double double_type; double_type tmpd;
18780 cacos(tmpd);
18781 casin(tmpd);
18782 catan(tmpd);
18783 cacosh(tmpd);
18784 casinh(tmpd);
18785 catanh(tmpd);
18786 typedef __complex__ long double ld_type; ld_type tmpld;
18787 cacosl(tmpld);
18788 casinl(tmpld);
18789 catanl(tmpld);
18790 cacoshl(tmpld);
18791 casinhl(tmpld);
18792 catanhl(tmpld);
18795 return 0;
18797 _ACEOF
18798 if ac_fn_cxx_try_compile "$LINENO"; then :
18799 ac_c99_complex_tr1=yes
18800 else
18801 ac_c99_complex_tr1=no
18803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18806 $as_echo "$ac_c99_complex_tr1" >&6; }
18807 if test x"$ac_c99_complex_tr1" = x"yes"; then
18809 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18813 # Check for the existence of <ctype.h> functions.
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18815 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18816 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18817 $as_echo_n "(cached) " >&6
18818 else
18820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h. */
18822 #include <ctype.h>
18824 main ()
18826 int ch;
18827 int ret;
18828 ret = isblank(ch);
18831 return 0;
18833 _ACEOF
18834 if ac_fn_cxx_try_compile "$LINENO"; then :
18835 glibcxx_cv_c99_ctype_tr1=yes
18836 else
18837 glibcxx_cv_c99_ctype_tr1=no
18839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18844 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18845 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18847 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18851 # Check for the existence of <fenv.h> functions.
18852 for ac_header in fenv.h
18853 do :
18854 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18855 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18856 cat >>confdefs.h <<_ACEOF
18857 #define HAVE_FENV_H 1
18858 _ACEOF
18859 ac_has_fenv_h=yes
18860 else
18861 ac_has_fenv_h=no
18864 done
18866 ac_c99_fenv_tr1=no;
18867 if test x"$ac_has_fenv_h" = x"yes"; then
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18869 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18872 #include <fenv.h>
18874 main ()
18876 int except, mode;
18877 fexcept_t* pflag;
18878 fenv_t* penv;
18879 int ret;
18880 ret = feclearexcept(except);
18881 ret = fegetexceptflag(pflag, except);
18882 ret = feraiseexcept(except);
18883 ret = fesetexceptflag(pflag, except);
18884 ret = fetestexcept(except);
18885 ret = fegetround();
18886 ret = fesetround(mode);
18887 ret = fegetenv(penv);
18888 ret = feholdexcept(penv);
18889 ret = fesetenv(penv);
18890 ret = feupdateenv(penv);
18893 return 0;
18895 _ACEOF
18896 if ac_fn_cxx_try_compile "$LINENO"; then :
18897 ac_c99_fenv_tr1=yes
18898 else
18899 ac_c99_fenv_tr1=no
18901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18904 $as_echo "$ac_c99_fenv_tr1" >&6; }
18905 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18907 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18911 # Check for the existence of <stdint.h> types.
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18913 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18914 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18915 $as_echo_n "(cached) " >&6
18916 else
18918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18919 /* end confdefs.h. */
18920 #define __STDC_LIMIT_MACROS
18921 #define __STDC_CONSTANT_MACROS
18922 #include <stdint.h>
18924 main ()
18926 typedef int8_t my_int8_t;
18927 my_int8_t i8 = INT8_MIN;
18928 i8 = INT8_MAX;
18929 typedef int16_t my_int16_t;
18930 my_int16_t i16 = INT16_MIN;
18931 i16 = INT16_MAX;
18932 typedef int32_t my_int32_t;
18933 my_int32_t i32 = INT32_MIN;
18934 i32 = INT32_MAX;
18935 typedef int64_t my_int64_t;
18936 my_int64_t i64 = INT64_MIN;
18937 i64 = INT64_MAX;
18938 typedef int_fast8_t my_int_fast8_t;
18939 my_int_fast8_t if8 = INT_FAST8_MIN;
18940 if8 = INT_FAST8_MAX;
18941 typedef int_fast16_t my_int_fast16_t;
18942 my_int_fast16_t if16 = INT_FAST16_MIN;
18943 if16 = INT_FAST16_MAX;
18944 typedef int_fast32_t my_int_fast32_t;
18945 my_int_fast32_t if32 = INT_FAST32_MIN;
18946 if32 = INT_FAST32_MAX;
18947 typedef int_fast64_t my_int_fast64_t;
18948 my_int_fast64_t if64 = INT_FAST64_MIN;
18949 if64 = INT_FAST64_MAX;
18950 typedef int_least8_t my_int_least8_t;
18951 my_int_least8_t il8 = INT_LEAST8_MIN;
18952 il8 = INT_LEAST8_MAX;
18953 typedef int_least16_t my_int_least16_t;
18954 my_int_least16_t il16 = INT_LEAST16_MIN;
18955 il16 = INT_LEAST16_MAX;
18956 typedef int_least32_t my_int_least32_t;
18957 my_int_least32_t il32 = INT_LEAST32_MIN;
18958 il32 = INT_LEAST32_MAX;
18959 typedef int_least64_t my_int_least64_t;
18960 my_int_least64_t il64 = INT_LEAST64_MIN;
18961 il64 = INT_LEAST64_MAX;
18962 typedef intmax_t my_intmax_t;
18963 my_intmax_t im = INTMAX_MAX;
18964 im = INTMAX_MIN;
18965 typedef intptr_t my_intptr_t;
18966 my_intptr_t ip = INTPTR_MAX;
18967 ip = INTPTR_MIN;
18968 typedef uint8_t my_uint8_t;
18969 my_uint8_t ui8 = UINT8_MAX;
18970 ui8 = UINT8_MAX;
18971 typedef uint16_t my_uint16_t;
18972 my_uint16_t ui16 = UINT16_MAX;
18973 ui16 = UINT16_MAX;
18974 typedef uint32_t my_uint32_t;
18975 my_uint32_t ui32 = UINT32_MAX;
18976 ui32 = UINT32_MAX;
18977 typedef uint64_t my_uint64_t;
18978 my_uint64_t ui64 = UINT64_MAX;
18979 ui64 = UINT64_MAX;
18980 typedef uint_fast8_t my_uint_fast8_t;
18981 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18982 uif8 = UINT_FAST8_MAX;
18983 typedef uint_fast16_t my_uint_fast16_t;
18984 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18985 uif16 = UINT_FAST16_MAX;
18986 typedef uint_fast32_t my_uint_fast32_t;
18987 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18988 uif32 = UINT_FAST32_MAX;
18989 typedef uint_fast64_t my_uint_fast64_t;
18990 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18991 uif64 = UINT_FAST64_MAX;
18992 typedef uint_least8_t my_uint_least8_t;
18993 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18994 uil8 = UINT_LEAST8_MAX;
18995 typedef uint_least16_t my_uint_least16_t;
18996 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18997 uil16 = UINT_LEAST16_MAX;
18998 typedef uint_least32_t my_uint_least32_t;
18999 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19000 uil32 = UINT_LEAST32_MAX;
19001 typedef uint_least64_t my_uint_least64_t;
19002 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19003 uil64 = UINT_LEAST64_MAX;
19004 typedef uintmax_t my_uintmax_t;
19005 my_uintmax_t uim = UINTMAX_MAX;
19006 uim = UINTMAX_MAX;
19007 typedef uintptr_t my_uintptr_t;
19008 my_uintptr_t uip = UINTPTR_MAX;
19009 uip = UINTPTR_MAX;
19012 return 0;
19014 _ACEOF
19015 if ac_fn_cxx_try_compile "$LINENO"; then :
19016 glibcxx_cv_c99_stdint_tr1=yes
19017 else
19018 glibcxx_cv_c99_stdint_tr1=no
19020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19025 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19026 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19028 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19032 # Check for the existence of <math.h> functions.
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19034 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19035 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19036 $as_echo_n "(cached) " >&6
19037 else
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19041 #include <math.h>
19043 main ()
19045 typedef double_t my_double_t;
19046 typedef float_t my_float_t;
19047 acosh(0.0);
19048 acoshf(0.0f);
19049 acoshl(0.0l);
19050 asinh(0.0);
19051 asinhf(0.0f);
19052 asinhl(0.0l);
19053 atanh(0.0);
19054 atanhf(0.0f);
19055 atanhl(0.0l);
19056 cbrt(0.0);
19057 cbrtf(0.0f);
19058 cbrtl(0.0l);
19059 copysign(0.0, 0.0);
19060 copysignf(0.0f, 0.0f);
19061 copysignl(0.0l, 0.0l);
19062 erf(0.0);
19063 erff(0.0f);
19064 erfl(0.0l);
19065 erfc(0.0);
19066 erfcf(0.0f);
19067 erfcl(0.0l);
19068 exp2(0.0);
19069 exp2f(0.0f);
19070 exp2l(0.0l);
19071 expm1(0.0);
19072 expm1f(0.0f);
19073 expm1l(0.0l);
19074 fdim(0.0, 0.0);
19075 fdimf(0.0f, 0.0f);
19076 fdiml(0.0l, 0.0l);
19077 fma(0.0, 0.0, 0.0);
19078 fmaf(0.0f, 0.0f, 0.0f);
19079 fmal(0.0l, 0.0l, 0.0l);
19080 fmax(0.0, 0.0);
19081 fmaxf(0.0f, 0.0f);
19082 fmaxl(0.0l, 0.0l);
19083 fmin(0.0, 0.0);
19084 fminf(0.0f, 0.0f);
19085 fminl(0.0l, 0.0l);
19086 hypot(0.0, 0.0);
19087 hypotf(0.0f, 0.0f);
19088 hypotl(0.0l, 0.0l);
19089 ilogb(0.0);
19090 ilogbf(0.0f);
19091 ilogbl(0.0l);
19092 lgamma(0.0);
19093 lgammaf(0.0f);
19094 lgammal(0.0l);
19095 llrint(0.0);
19096 llrintf(0.0f);
19097 llrintl(0.0l);
19098 llround(0.0);
19099 llroundf(0.0f);
19100 llroundl(0.0l);
19101 log1p(0.0);
19102 log1pf(0.0f);
19103 log1pl(0.0l);
19104 log2(0.0);
19105 log2f(0.0f);
19106 log2l(0.0l);
19107 logb(0.0);
19108 logbf(0.0f);
19109 logbl(0.0l);
19110 lrint(0.0);
19111 lrintf(0.0f);
19112 lrintl(0.0l);
19113 lround(0.0);
19114 lroundf(0.0f);
19115 lroundl(0.0l);
19116 nan(0);
19117 nanf(0);
19118 nanl(0);
19119 nearbyint(0.0);
19120 nearbyintf(0.0f);
19121 nearbyintl(0.0l);
19122 nextafter(0.0, 0.0);
19123 nextafterf(0.0f, 0.0f);
19124 nextafterl(0.0l, 0.0l);
19125 nexttoward(0.0, 0.0);
19126 nexttowardf(0.0f, 0.0f);
19127 nexttowardl(0.0l, 0.0l);
19128 remainder(0.0, 0.0);
19129 remainderf(0.0f, 0.0f);
19130 remainderl(0.0l, 0.0l);
19131 remquo(0.0, 0.0, 0);
19132 remquof(0.0f, 0.0f, 0);
19133 remquol(0.0l, 0.0l, 0);
19134 rint(0.0);
19135 rintf(0.0f);
19136 rintl(0.0l);
19137 round(0.0);
19138 roundf(0.0f);
19139 roundl(0.0l);
19140 scalbln(0.0, 0l);
19141 scalblnf(0.0f, 0l);
19142 scalblnl(0.0l, 0l);
19143 scalbn(0.0, 0);
19144 scalbnf(0.0f, 0);
19145 scalbnl(0.0l, 0);
19146 tgamma(0.0);
19147 tgammaf(0.0f);
19148 tgammal(0.0l);
19149 trunc(0.0);
19150 truncf(0.0f);
19151 truncl(0.0l);
19154 return 0;
19156 _ACEOF
19157 if ac_fn_cxx_try_compile "$LINENO"; then :
19158 glibcxx_cv_c99_math_tr1=yes
19159 else
19160 glibcxx_cv_c99_math_tr1=no
19162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19167 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19168 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19170 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19174 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19175 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19176 ac_c99_inttypes_tr1=no;
19177 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19179 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19182 #include <inttypes.h>
19184 main ()
19186 intmax_t i, numer, denom, base;
19187 const char* s;
19188 char** endptr;
19189 intmax_t ret = imaxabs(i);
19190 imaxdiv_t dret = imaxdiv(numer, denom);
19191 ret = strtoimax(s, endptr, base);
19192 uintmax_t uret = strtoumax(s, endptr, base);
19195 return 0;
19197 _ACEOF
19198 if ac_fn_cxx_try_compile "$LINENO"; then :
19199 ac_c99_inttypes_tr1=yes
19200 else
19201 ac_c99_inttypes_tr1=no
19203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19206 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19207 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19209 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19213 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19214 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19215 ac_c99_inttypes_wchar_t_tr1=no;
19216 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19218 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19220 /* end confdefs.h. */
19221 #include <inttypes.h>
19223 main ()
19225 intmax_t base;
19226 const wchar_t* s;
19227 wchar_t** endptr;
19228 intmax_t ret = wcstoimax(s, endptr, base);
19229 uintmax_t uret = wcstoumax(s, endptr, base);
19232 return 0;
19234 _ACEOF
19235 if ac_fn_cxx_try_compile "$LINENO"; then :
19236 ac_c99_inttypes_wchar_t_tr1=yes
19237 else
19238 ac_c99_inttypes_wchar_t_tr1=no
19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19243 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19244 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19246 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19250 # Check for the existence of the <stdbool.h> header.
19251 for ac_header in stdbool.h
19252 do :
19253 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19254 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19255 cat >>confdefs.h <<_ACEOF
19256 #define HAVE_STDBOOL_H 1
19257 _ACEOF
19261 done
19264 # Check for the existence of the <stdalign.h> header.
19265 for ac_header in stdalign.h
19266 do :
19267 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19268 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19269 cat >>confdefs.h <<_ACEOF
19270 #define HAVE_STDALIGN_H 1
19271 _ACEOF
19275 done
19278 CXXFLAGS="$ac_save_CXXFLAGS"
19279 ac_ext=c
19280 ac_cpp='$CPP $CPPFLAGS'
19281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19287 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19291 $as_echo_n "checking for the value of EOF... " >&6; }
19292 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19293 $as_echo_n "(cached) " >&6
19294 else
19296 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19298 else
19299 as_fn_error "computing EOF failed" "$LINENO" 5
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19305 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19307 cat >>confdefs.h <<_ACEOF
19308 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19309 _ACEOF
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19313 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19314 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19315 $as_echo_n "(cached) " >&6
19316 else
19318 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19320 else
19321 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19327 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19329 cat >>confdefs.h <<_ACEOF
19330 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19331 _ACEOF
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19335 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19336 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19337 $as_echo_n "(cached) " >&6
19338 else
19340 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19342 else
19343 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19349 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19351 cat >>confdefs.h <<_ACEOF
19352 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19353 _ACEOF
19357 # For gettimeofday support.
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19361 $as_echo_n "checking for gettimeofday... " >&6; }
19364 ac_ext=cpp
19365 ac_cpp='$CXXCPP $CPPFLAGS'
19366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19370 ac_save_CXXFLAGS="$CXXFLAGS"
19371 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19373 ac_has_gettimeofday=no;
19374 for ac_header in sys/time.h
19375 do :
19376 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19377 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19378 cat >>confdefs.h <<_ACEOF
19379 #define HAVE_SYS_TIME_H 1
19380 _ACEOF
19381 ac_has_sys_time_h=yes
19382 else
19383 ac_has_sys_time_h=no
19386 done
19388 if test x"$ac_has_sys_time_h" = x"yes"; then
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19390 $as_echo_n "checking for gettimeofday... " >&6; }
19391 if test x$gcc_no_link = xyes; then
19392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19393 /* end confdefs.h. */
19394 #include <sys/time.h>
19396 main ()
19398 timeval tv; gettimeofday(&tv, 0);
19400 return 0;
19402 _ACEOF
19403 if ac_fn_cxx_try_compile "$LINENO"; then :
19404 ac_has_gettimeofday=yes
19405 else
19406 ac_has_gettimeofday=no
19408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19409 else
19410 if test x$gcc_no_link = xyes; then
19411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 #include <sys/time.h>
19417 main ()
19419 timeval tv; gettimeofday(&tv, 0);
19421 return 0;
19423 _ACEOF
19424 if ac_fn_cxx_try_link "$LINENO"; then :
19425 ac_has_gettimeofday=yes
19426 else
19427 ac_has_gettimeofday=no
19429 rm -f core conftest.err conftest.$ac_objext \
19430 conftest$ac_exeext conftest.$ac_ext
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19434 $as_echo "$ac_has_gettimeofday" >&6; }
19437 if test x"$ac_has_gettimeofday" = x"yes"; then
19439 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19443 CXXFLAGS="$ac_save_CXXFLAGS"
19444 ac_ext=c
19445 ac_cpp='$CPP $CPPFLAGS'
19446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19452 # For clock_gettime, nanosleep and sched_yield support.
19455 # Check whether --enable-libstdcxx-time was given.
19456 if test "${enable_libstdcxx_time+set}" = set; then :
19457 enableval=$enable_libstdcxx_time;
19458 case "$enableval" in
19459 yes|no|rt) ;;
19460 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19461 esac
19463 else
19464 enable_libstdcxx_time=auto
19470 ac_ext=cpp
19471 ac_cpp='$CXXCPP $CPPFLAGS'
19472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19476 ac_save_CXXFLAGS="$CXXFLAGS"
19477 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19478 ac_save_LIBS="$LIBS"
19480 ac_has_clock_monotonic=no
19481 ac_has_clock_realtime=no
19482 ac_has_nanosleep=no
19483 ac_has_sched_yield=no
19485 if test x"$enable_libstdcxx_time" = x"auto"; then
19487 case "${target_os}" in
19488 cygwin*)
19489 ac_has_nanosleep=yes
19491 darwin*)
19492 ac_has_nanosleep=yes
19493 ac_has_sched_yield=yes
19495 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19497 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19499 /* end confdefs.h. */
19500 #include <features.h>
19502 main ()
19505 #if ! __GLIBC_PREREQ(2, 17)
19506 #error
19507 #endif
19510 return 0;
19512 _ACEOF
19513 if ac_fn_cxx_try_compile "$LINENO"; then :
19514 glibcxx_glibc217=yes
19515 else
19516 glibcxx_glibc217=no
19518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19520 $as_echo "$glibcxx_glibc217" >&6; }
19522 if test x"$glibcxx_glibc217" = x"yes"; then
19523 ac_has_clock_monotonic=yes
19524 ac_has_clock_realtime=yes
19526 ac_has_nanosleep=yes
19527 ac_has_sched_yield=yes
19529 freebsd*|netbsd*)
19530 ac_has_clock_monotonic=yes
19531 ac_has_clock_realtime=yes
19532 ac_has_nanosleep=yes
19533 ac_has_sched_yield=yes
19535 openbsd*)
19536 ac_has_clock_monotonic=yes
19537 ac_has_clock_realtime=yes
19538 ac_has_nanosleep=yes
19540 solaris*)
19541 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19542 ac_has_clock_monotonic=yes
19543 ac_has_clock_realtime=yes
19544 ac_has_nanosleep=yes
19545 ac_has_sched_yield=yes
19547 esac
19549 elif test x"$enable_libstdcxx_time" != x"no"; then
19551 if test x"$enable_libstdcxx_time" = x"rt"; then
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19553 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19554 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19555 $as_echo_n "(cached) " >&6
19556 else
19557 ac_func_search_save_LIBS=$LIBS
19558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19559 /* end confdefs.h. */
19561 /* Override any GCC internal prototype to avoid an error.
19562 Use char because int might match the return type of a GCC
19563 builtin and then its argument prototype would still apply. */
19564 #ifdef __cplusplus
19565 extern "C"
19566 #endif
19567 char clock_gettime ();
19569 main ()
19571 return clock_gettime ();
19573 return 0;
19575 _ACEOF
19576 for ac_lib in '' rt posix4; do
19577 if test -z "$ac_lib"; then
19578 ac_res="none required"
19579 else
19580 ac_res=-l$ac_lib
19581 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19583 if test x$gcc_no_link = xyes; then
19584 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19586 if ac_fn_cxx_try_link "$LINENO"; then :
19587 ac_cv_search_clock_gettime=$ac_res
19589 rm -f core conftest.err conftest.$ac_objext \
19590 conftest$ac_exeext
19591 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19592 break
19594 done
19595 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19597 else
19598 ac_cv_search_clock_gettime=no
19600 rm conftest.$ac_ext
19601 LIBS=$ac_func_search_save_LIBS
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19604 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19605 ac_res=$ac_cv_search_clock_gettime
19606 if test "$ac_res" != no; then :
19607 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19612 $as_echo_n "checking for library containing nanosleep... " >&6; }
19613 if test "${ac_cv_search_nanosleep+set}" = set; then :
19614 $as_echo_n "(cached) " >&6
19615 else
19616 ac_func_search_save_LIBS=$LIBS
19617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19620 /* Override any GCC internal prototype to avoid an error.
19621 Use char because int might match the return type of a GCC
19622 builtin and then its argument prototype would still apply. */
19623 #ifdef __cplusplus
19624 extern "C"
19625 #endif
19626 char nanosleep ();
19628 main ()
19630 return nanosleep ();
19632 return 0;
19634 _ACEOF
19635 for ac_lib in '' rt posix4; do
19636 if test -z "$ac_lib"; then
19637 ac_res="none required"
19638 else
19639 ac_res=-l$ac_lib
19640 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19642 if test x$gcc_no_link = xyes; then
19643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19645 if ac_fn_cxx_try_link "$LINENO"; then :
19646 ac_cv_search_nanosleep=$ac_res
19648 rm -f core conftest.err conftest.$ac_objext \
19649 conftest$ac_exeext
19650 if test "${ac_cv_search_nanosleep+set}" = set; then :
19651 break
19653 done
19654 if test "${ac_cv_search_nanosleep+set}" = set; then :
19656 else
19657 ac_cv_search_nanosleep=no
19659 rm conftest.$ac_ext
19660 LIBS=$ac_func_search_save_LIBS
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19663 $as_echo "$ac_cv_search_nanosleep" >&6; }
19664 ac_res=$ac_cv_search_nanosleep
19665 if test "$ac_res" != no; then :
19666 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19670 else
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19672 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19673 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19674 $as_echo_n "(cached) " >&6
19675 else
19676 ac_func_search_save_LIBS=$LIBS
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19680 /* Override any GCC internal prototype to avoid an error.
19681 Use char because int might match the return type of a GCC
19682 builtin and then its argument prototype would still apply. */
19683 #ifdef __cplusplus
19684 extern "C"
19685 #endif
19686 char clock_gettime ();
19688 main ()
19690 return clock_gettime ();
19692 return 0;
19694 _ACEOF
19695 for ac_lib in '' posix4; do
19696 if test -z "$ac_lib"; then
19697 ac_res="none required"
19698 else
19699 ac_res=-l$ac_lib
19700 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19702 if test x$gcc_no_link = xyes; then
19703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19705 if ac_fn_cxx_try_link "$LINENO"; then :
19706 ac_cv_search_clock_gettime=$ac_res
19708 rm -f core conftest.err conftest.$ac_objext \
19709 conftest$ac_exeext
19710 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19711 break
19713 done
19714 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19716 else
19717 ac_cv_search_clock_gettime=no
19719 rm conftest.$ac_ext
19720 LIBS=$ac_func_search_save_LIBS
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19723 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19724 ac_res=$ac_cv_search_clock_gettime
19725 if test "$ac_res" != no; then :
19726 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19731 $as_echo_n "checking for library containing nanosleep... " >&6; }
19732 if test "${ac_cv_search_nanosleep+set}" = set; then :
19733 $as_echo_n "(cached) " >&6
19734 else
19735 ac_func_search_save_LIBS=$LIBS
19736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19737 /* end confdefs.h. */
19739 /* Override any GCC internal prototype to avoid an error.
19740 Use char because int might match the return type of a GCC
19741 builtin and then its argument prototype would still apply. */
19742 #ifdef __cplusplus
19743 extern "C"
19744 #endif
19745 char nanosleep ();
19747 main ()
19749 return nanosleep ();
19751 return 0;
19753 _ACEOF
19754 for ac_lib in '' posix4; do
19755 if test -z "$ac_lib"; then
19756 ac_res="none required"
19757 else
19758 ac_res=-l$ac_lib
19759 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19761 if test x$gcc_no_link = xyes; then
19762 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19764 if ac_fn_cxx_try_link "$LINENO"; then :
19765 ac_cv_search_nanosleep=$ac_res
19767 rm -f core conftest.err conftest.$ac_objext \
19768 conftest$ac_exeext
19769 if test "${ac_cv_search_nanosleep+set}" = set; then :
19770 break
19772 done
19773 if test "${ac_cv_search_nanosleep+set}" = set; then :
19775 else
19776 ac_cv_search_nanosleep=no
19778 rm conftest.$ac_ext
19779 LIBS=$ac_func_search_save_LIBS
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19782 $as_echo "$ac_cv_search_nanosleep" >&6; }
19783 ac_res=$ac_cv_search_nanosleep
19784 if test "$ac_res" != no; then :
19785 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19791 case "$ac_cv_search_clock_gettime" in
19792 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19794 esac
19795 case "$ac_cv_search_nanosleep" in
19796 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19798 esac
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19801 $as_echo_n "checking for library containing sched_yield... " >&6; }
19802 if test "${ac_cv_search_sched_yield+set}" = set; then :
19803 $as_echo_n "(cached) " >&6
19804 else
19805 ac_func_search_save_LIBS=$LIBS
19806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h. */
19809 /* Override any GCC internal prototype to avoid an error.
19810 Use char because int might match the return type of a GCC
19811 builtin and then its argument prototype would still apply. */
19812 #ifdef __cplusplus
19813 extern "C"
19814 #endif
19815 char sched_yield ();
19817 main ()
19819 return sched_yield ();
19821 return 0;
19823 _ACEOF
19824 for ac_lib in '' rt posix4; do
19825 if test -z "$ac_lib"; then
19826 ac_res="none required"
19827 else
19828 ac_res=-l$ac_lib
19829 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19831 if test x$gcc_no_link = xyes; then
19832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19834 if ac_fn_cxx_try_link "$LINENO"; then :
19835 ac_cv_search_sched_yield=$ac_res
19837 rm -f core conftest.err conftest.$ac_objext \
19838 conftest$ac_exeext
19839 if test "${ac_cv_search_sched_yield+set}" = set; then :
19840 break
19842 done
19843 if test "${ac_cv_search_sched_yield+set}" = set; then :
19845 else
19846 ac_cv_search_sched_yield=no
19848 rm conftest.$ac_ext
19849 LIBS=$ac_func_search_save_LIBS
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19852 $as_echo "$ac_cv_search_sched_yield" >&6; }
19853 ac_res=$ac_cv_search_sched_yield
19854 if test "$ac_res" != no; then :
19855 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19860 case "$ac_cv_search_sched_yield" in
19861 -lposix4*)
19862 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19863 ac_has_sched_yield=yes
19865 -lrt*)
19866 if test x"$enable_libstdcxx_time" = x"rt"; then
19867 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19868 ac_has_sched_yield=yes
19872 ac_has_sched_yield=yes
19874 esac
19876 for ac_header in unistd.h
19877 do :
19878 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19879 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19880 cat >>confdefs.h <<_ACEOF
19881 #define HAVE_UNISTD_H 1
19882 _ACEOF
19883 ac_has_unistd_h=yes
19884 else
19885 ac_has_unistd_h=no
19888 done
19891 if test x"$ac_has_unistd_h" = x"yes"; then
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19893 $as_echo_n "checking for monotonic clock... " >&6; }
19894 if test x$gcc_no_link = xyes; then
19895 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19898 /* end confdefs.h. */
19899 #include <unistd.h>
19900 #include <time.h>
19903 main ()
19905 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19906 timespec tp;
19907 #endif
19908 clock_gettime(CLOCK_MONOTONIC, &tp);
19911 return 0;
19913 _ACEOF
19914 if ac_fn_cxx_try_link "$LINENO"; then :
19915 ac_has_clock_monotonic=yes
19916 else
19917 ac_has_clock_monotonic=no
19919 rm -f core conftest.err conftest.$ac_objext \
19920 conftest$ac_exeext conftest.$ac_ext
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19923 $as_echo "$ac_has_clock_monotonic" >&6; }
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19926 $as_echo_n "checking for realtime clock... " >&6; }
19927 if test x$gcc_no_link = xyes; then
19928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19931 /* end confdefs.h. */
19932 #include <unistd.h>
19933 #include <time.h>
19936 main ()
19938 #if _POSIX_TIMERS > 0
19939 timespec tp;
19940 #endif
19941 clock_gettime(CLOCK_REALTIME, &tp);
19944 return 0;
19946 _ACEOF
19947 if ac_fn_cxx_try_link "$LINENO"; then :
19948 ac_has_clock_realtime=yes
19949 else
19950 ac_has_clock_realtime=no
19952 rm -f core conftest.err conftest.$ac_objext \
19953 conftest$ac_exeext conftest.$ac_ext
19955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19956 $as_echo "$ac_has_clock_realtime" >&6; }
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19959 $as_echo_n "checking for nanosleep... " >&6; }
19960 if test x$gcc_no_link = xyes; then
19961 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19964 /* end confdefs.h. */
19965 #include <unistd.h>
19966 #include <time.h>
19969 main ()
19971 #if _POSIX_TIMERS > 0
19972 timespec tp;
19973 #endif
19974 nanosleep(&tp, 0);
19977 return 0;
19979 _ACEOF
19980 if ac_fn_cxx_try_link "$LINENO"; then :
19981 ac_has_nanosleep=yes
19982 else
19983 ac_has_nanosleep=no
19985 rm -f core conftest.err conftest.$ac_objext \
19986 conftest$ac_exeext conftest.$ac_ext
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19989 $as_echo "$ac_has_nanosleep" >&6; }
19993 if test x"$ac_has_clock_monotonic" != x"yes"; then
19994 case ${target_os} in
19995 linux*)
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19997 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19999 /* end confdefs.h. */
20000 #include <unistd.h>
20001 #include <time.h>
20002 #include <sys/syscall.h>
20005 main ()
20007 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20008 timespec tp;
20009 #endif
20010 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20011 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20014 return 0;
20016 _ACEOF
20017 if ac_fn_cxx_try_compile "$LINENO"; then :
20018 ac_has_clock_monotonic_syscall=yes
20019 else
20020 ac_has_clock_monotonic_syscall=no
20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20024 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20025 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20027 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20029 ac_has_clock_monotonic=yes
20030 ac_has_clock_realtime=yes
20031 fi;;
20032 esac
20035 if test x"$ac_has_clock_monotonic" = x"yes"; then
20037 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20041 if test x"$ac_has_clock_realtime" = x"yes"; then
20043 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20047 if test x"$ac_has_sched_yield" = x"yes"; then
20049 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20053 if test x"$ac_has_nanosleep" = x"yes"; then
20055 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20057 else
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20059 $as_echo_n "checking for sleep... " >&6; }
20060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20061 /* end confdefs.h. */
20062 #include <unistd.h>
20064 main ()
20066 sleep(1)
20068 return 0;
20070 _ACEOF
20071 if ac_fn_cxx_try_compile "$LINENO"; then :
20072 ac_has_sleep=yes
20073 else
20074 ac_has_sleep=no
20076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20077 if test x"$ac_has_sleep" = x"yes"; then
20079 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20083 $as_echo "$ac_has_sleep" >&6; }
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20085 $as_echo_n "checking for usleep... " >&6; }
20086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20087 /* end confdefs.h. */
20088 #include <unistd.h>
20090 main ()
20092 sleep(1);
20093 usleep(100);
20095 return 0;
20097 _ACEOF
20098 if ac_fn_cxx_try_compile "$LINENO"; then :
20099 ac_has_usleep=yes
20100 else
20101 ac_has_usleep=no
20103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20104 if test x"$ac_has_usleep" = x"yes"; then
20106 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20110 $as_echo "$ac_has_usleep" >&6; }
20113 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20115 $as_echo_n "checking for Sleep... " >&6; }
20116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20117 /* end confdefs.h. */
20118 #include <windows.h>
20120 main ()
20122 Sleep(1)
20124 return 0;
20126 _ACEOF
20127 if ac_fn_cxx_try_compile "$LINENO"; then :
20128 ac_has_win32_sleep=yes
20129 else
20130 ac_has_win32_sleep=no
20132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20133 if test x"$ac_has_win32_sleep" = x"yes"; then
20135 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20139 $as_echo "$ac_has_win32_sleep" >&6; }
20144 CXXFLAGS="$ac_save_CXXFLAGS"
20145 LIBS="$ac_save_LIBS"
20146 ac_ext=c
20147 ac_cpp='$CPP $CPPFLAGS'
20148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20154 # Check for tmpnam which is obsolescent in POSIX.1-2008
20156 ac_ext=cpp
20157 ac_cpp='$CXXCPP $CPPFLAGS'
20158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20162 ac_save_CXXFLAGS="$CXXFLAGS"
20163 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20165 $as_echo_n "checking for tmpnam... " >&6; }
20166 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20167 $as_echo_n "(cached) " >&6
20168 else
20169 if test x$gcc_no_link = xyes; then
20170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20171 /* end confdefs.h. */
20172 #include <stdio.h>
20174 main ()
20176 char *tmp = tmpnam(NULL);
20178 return 0;
20180 _ACEOF
20181 if ac_fn_cxx_try_compile "$LINENO"; then :
20182 glibcxx_cv_TMPNAM=yes
20183 else
20184 glibcxx_cv_TMPNAM=no
20186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20187 else
20188 if test x$gcc_no_link = xyes; then
20189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20192 /* end confdefs.h. */
20193 #include <stdio.h>
20195 main ()
20197 char *tmp = tmpnam(NULL);
20199 return 0;
20201 _ACEOF
20202 if ac_fn_cxx_try_link "$LINENO"; then :
20203 glibcxx_cv_TMPNAM=yes
20204 else
20205 glibcxx_cv_TMPNAM=no
20207 rm -f core conftest.err conftest.$ac_objext \
20208 conftest$ac_exeext conftest.$ac_ext
20213 if test $glibcxx_cv_TMPNAM = yes; then
20215 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20219 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20220 CXXFLAGS="$ac_save_CXXFLAGS"
20221 ac_ext=c
20222 ac_cpp='$CPP $CPPFLAGS'
20223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20230 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20231 if test "x$ac_cv_header_locale_h" = x""yes; then :
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20234 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20235 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20236 $as_echo_n "(cached) " >&6
20237 else
20238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20239 /* end confdefs.h. */
20240 #include <locale.h>
20242 main ()
20244 return LC_MESSAGES
20246 return 0;
20248 _ACEOF
20249 if ac_fn_c_try_compile "$LINENO"; then :
20250 ac_cv_val_LC_MESSAGES=yes
20251 else
20252 ac_cv_val_LC_MESSAGES=no
20254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20257 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20258 if test $ac_cv_val_LC_MESSAGES = yes; then
20260 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20269 # For hardware_concurrency
20270 for ac_header in sys/sysinfo.h
20271 do :
20272 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20273 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20274 cat >>confdefs.h <<_ACEOF
20275 #define HAVE_SYS_SYSINFO_H 1
20276 _ACEOF
20280 done
20285 ac_ext=cpp
20286 ac_cpp='$CXXCPP $CPPFLAGS'
20287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20291 ac_save_CXXFLAGS="$CXXFLAGS"
20292 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20295 $as_echo_n "checking for get_nprocs... " >&6; }
20296 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20297 $as_echo_n "(cached) " >&6
20298 else
20300 if test x$gcc_no_link = xyes; then
20301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20302 /* end confdefs.h. */
20303 #include <sys/sysinfo.h>
20305 main ()
20307 int n = get_nprocs();
20309 return 0;
20311 _ACEOF
20312 if ac_fn_cxx_try_compile "$LINENO"; then :
20313 glibcxx_cv_GET_NPROCS=yes
20314 else
20315 glibcxx_cv_GET_NPROCS=no
20317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20318 else
20319 if test x$gcc_no_link = xyes; then
20320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20323 /* end confdefs.h. */
20324 #include <sys/sysinfo.h>
20326 main ()
20328 int n = get_nprocs();
20330 return 0;
20332 _ACEOF
20333 if ac_fn_cxx_try_link "$LINENO"; then :
20334 glibcxx_cv_GET_NPROCS=yes
20335 else
20336 glibcxx_cv_GET_NPROCS=no
20338 rm -f core conftest.err conftest.$ac_objext \
20339 conftest$ac_exeext conftest.$ac_ext
20344 if test $glibcxx_cv_GET_NPROCS = yes; then
20346 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20350 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20352 CXXFLAGS="$ac_save_CXXFLAGS"
20353 ac_ext=c
20354 ac_cpp='$CPP $CPPFLAGS'
20355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20360 for ac_header in unistd.h
20361 do :
20362 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20363 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20364 cat >>confdefs.h <<_ACEOF
20365 #define HAVE_UNISTD_H 1
20366 _ACEOF
20370 done
20375 ac_ext=cpp
20376 ac_cpp='$CXXCPP $CPPFLAGS'
20377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20381 ac_save_CXXFLAGS="$CXXFLAGS"
20382 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20385 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20386 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20387 $as_echo_n "(cached) " >&6
20388 else
20390 if test x$gcc_no_link = xyes; then
20391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20392 /* end confdefs.h. */
20393 #include <unistd.h>
20395 main ()
20397 int n = sysconf(_SC_NPROCESSORS_ONLN);
20399 return 0;
20401 _ACEOF
20402 if ac_fn_cxx_try_compile "$LINENO"; then :
20403 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20404 else
20405 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20408 else
20409 if test x$gcc_no_link = xyes; then
20410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20413 /* end confdefs.h. */
20414 #include <unistd.h>
20416 main ()
20418 int n = sysconf(_SC_NPROCESSORS_ONLN);
20420 return 0;
20422 _ACEOF
20423 if ac_fn_cxx_try_link "$LINENO"; then :
20424 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20425 else
20426 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20428 rm -f core conftest.err conftest.$ac_objext \
20429 conftest$ac_exeext conftest.$ac_ext
20434 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20436 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20440 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20442 CXXFLAGS="$ac_save_CXXFLAGS"
20443 ac_ext=c
20444 ac_cpp='$CPP $CPPFLAGS'
20445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20453 ac_ext=cpp
20454 ac_cpp='$CXXCPP $CPPFLAGS'
20455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20459 ac_save_CXXFLAGS="$CXXFLAGS"
20460 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20463 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20464 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20465 $as_echo_n "(cached) " >&6
20466 else
20468 if test x$gcc_no_link = xyes; then
20469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20470 /* end confdefs.h. */
20471 #include <unistd.h>
20473 main ()
20475 int n = sysconf(_SC_NPROC_ONLN);
20477 return 0;
20479 _ACEOF
20480 if ac_fn_cxx_try_compile "$LINENO"; then :
20481 glibcxx_cv_SC_NPROC_ONLN=yes
20482 else
20483 glibcxx_cv_SC_NPROC_ONLN=no
20485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20486 else
20487 if test x$gcc_no_link = xyes; then
20488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20491 /* end confdefs.h. */
20492 #include <unistd.h>
20494 main ()
20496 int n = sysconf(_SC_NPROC_ONLN);
20498 return 0;
20500 _ACEOF
20501 if ac_fn_cxx_try_link "$LINENO"; then :
20502 glibcxx_cv_SC_NPROC_ONLN=yes
20503 else
20504 glibcxx_cv_SC_NPROC_ONLN=no
20506 rm -f core conftest.err conftest.$ac_objext \
20507 conftest$ac_exeext conftest.$ac_ext
20512 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20514 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20518 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20520 CXXFLAGS="$ac_save_CXXFLAGS"
20521 ac_ext=c
20522 ac_cpp='$CPP $CPPFLAGS'
20523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20531 ac_ext=cpp
20532 ac_cpp='$CXXCPP $CPPFLAGS'
20533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20537 ac_save_CXXFLAGS="$CXXFLAGS"
20538 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20541 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20542 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20543 $as_echo_n "(cached) " >&6
20544 else
20546 if test x$gcc_no_link = xyes; then
20547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20548 /* end confdefs.h. */
20549 #include <pthread.h>
20551 main ()
20553 int n = pthread_num_processors_np();
20555 return 0;
20557 _ACEOF
20558 if ac_fn_cxx_try_compile "$LINENO"; then :
20559 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20560 else
20561 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20564 else
20565 if test x$gcc_no_link = xyes; then
20566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20569 /* end confdefs.h. */
20570 #include <pthread.h>
20572 main ()
20574 int n = pthread_num_processors_np();
20576 return 0;
20578 _ACEOF
20579 if ac_fn_cxx_try_link "$LINENO"; then :
20580 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20581 else
20582 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20584 rm -f core conftest.err conftest.$ac_objext \
20585 conftest$ac_exeext conftest.$ac_ext
20590 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20592 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20596 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20598 CXXFLAGS="$ac_save_CXXFLAGS"
20599 ac_ext=c
20600 ac_cpp='$CPP $CPPFLAGS'
20601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20609 ac_ext=cpp
20610 ac_cpp='$CXXCPP $CPPFLAGS'
20611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20615 ac_save_CXXFLAGS="$CXXFLAGS"
20616 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20619 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20620 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20621 $as_echo_n "(cached) " >&6
20622 else
20624 if test x$gcc_no_link = xyes; then
20625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20626 /* end confdefs.h. */
20628 #include <stddef.h>
20629 #include <sys/sysctl.h>
20632 main ()
20635 int count;
20636 size_t size = sizeof(count);
20637 int mib[] = { CTL_HW, HW_NCPU };
20638 sysctl(mib, 2, &count, &size, NULL, 0);
20641 return 0;
20643 _ACEOF
20644 if ac_fn_cxx_try_compile "$LINENO"; then :
20645 glibcxx_cv_SYSCTL_HW_NCPU=yes
20646 else
20647 glibcxx_cv_SYSCTL_HW_NCPU=no
20649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20650 else
20651 if test x$gcc_no_link = xyes; then
20652 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20655 /* end confdefs.h. */
20657 #include <stddef.h>
20658 #include <sys/sysctl.h>
20661 main ()
20664 int count;
20665 size_t size = sizeof(count);
20666 int mib[] = { CTL_HW, HW_NCPU };
20667 sysctl(mib, 2, &count, &size, NULL, 0);
20670 return 0;
20672 _ACEOF
20673 if ac_fn_cxx_try_link "$LINENO"; then :
20674 glibcxx_cv_SYSCTL_HW_NCPU=yes
20675 else
20676 glibcxx_cv_SYSCTL_HW_NCPU=no
20678 rm -f core conftest.err conftest.$ac_objext \
20679 conftest$ac_exeext conftest.$ac_ext
20684 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20686 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20690 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20692 CXXFLAGS="$ac_save_CXXFLAGS"
20693 ac_ext=c
20694 ac_cpp='$CPP $CPPFLAGS'
20695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20702 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20703 # Note that this test has to be run with the C language.
20704 # Otherwise, sdt.h will try to include some headers from
20705 # libstdc++ itself.
20707 ac_ext=c
20708 ac_cpp='$CPP $CPPFLAGS'
20709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20713 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20714 $as_echo_n "(cached) " >&6
20715 else
20717 # Because we have to run the test in C, we use grep rather
20718 # than the compiler to check for the bug. The bug is that
20719 # were strings without trailing whitespace, causing g++
20720 # to look for operator"". The pattern searches for the fixed
20721 # output.
20722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20723 /* end confdefs.h. */
20725 #include <sys/sdt.h>
20726 int f() { STAP_PROBE(hi, bob); }
20728 _ACEOF
20729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20730 $EGREP " \",\" " >/dev/null 2>&1; then :
20731 glibcxx_cv_sys_sdt_h=yes
20732 else
20733 glibcxx_cv_sys_sdt_h=no
20735 rm -f conftest*
20740 ac_ext=c
20741 ac_cpp='$CPP $CPPFLAGS'
20742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20746 if test $glibcxx_cv_sys_sdt_h = yes; then
20748 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20752 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20755 # Check for available headers.
20756 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20757 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20758 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20759 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20760 wchar.h wctype.h
20761 do :
20762 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20763 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20764 eval as_val=\$$as_ac_Header
20765 if test "x$as_val" = x""yes; then :
20766 cat >>confdefs.h <<_ACEOF
20767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20768 _ACEOF
20772 done
20775 # Only do link tests if native. Else, hardcode.
20776 if $GLIBCXX_IS_NATIVE; then
20778 # We can do more elaborate tests that assume a working linker.
20779 CANADIAN=no
20783 # Check whether --with-gnu-ld was given.
20784 if test "${with_gnu_ld+set}" = set; then :
20785 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20786 else
20787 with_gnu_ld=no
20790 ac_prog=ld
20791 if test "$GCC" = yes; then
20792 # Check if gcc -print-prog-name=ld gives a path.
20793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20794 $as_echo_n "checking for ld used by $CC... " >&6; }
20795 case $host in
20796 *-*-mingw*)
20797 # gcc leaves a trailing carriage return which upsets mingw
20798 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20800 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20801 esac
20802 case $ac_prog in
20803 # Accept absolute paths.
20804 [\\/]* | ?:[\\/]*)
20805 re_direlt='/[^/][^/]*/\.\./'
20806 # Canonicalize the pathname of ld
20807 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20808 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20809 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20810 done
20811 test -z "$LD" && LD="$ac_prog"
20814 # If it fails, then pretend we aren't using GCC.
20815 ac_prog=ld
20818 # If it is relative, then search for the first ld in PATH.
20819 with_gnu_ld=unknown
20821 esac
20822 elif test "$with_gnu_ld" = yes; then
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20824 $as_echo_n "checking for GNU ld... " >&6; }
20825 else
20826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20827 $as_echo_n "checking for non-GNU ld... " >&6; }
20829 if test "${lt_cv_path_LD+set}" = set; then :
20830 $as_echo_n "(cached) " >&6
20831 else
20832 if test -z "$LD"; then
20833 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20834 for ac_dir in $PATH; do
20835 IFS="$lt_save_ifs"
20836 test -z "$ac_dir" && ac_dir=.
20837 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20838 lt_cv_path_LD="$ac_dir/$ac_prog"
20839 # Check to see if the program is GNU ld. I'd rather use --version,
20840 # but apparently some variants of GNU ld only accept -v.
20841 # Break only if it was the GNU/non-GNU ld that we prefer.
20842 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20843 *GNU* | *'with BFD'*)
20844 test "$with_gnu_ld" != no && break
20847 test "$with_gnu_ld" != yes && break
20849 esac
20851 done
20852 IFS="$lt_save_ifs"
20853 else
20854 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20858 LD="$lt_cv_path_LD"
20859 if test -n "$LD"; then
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20861 $as_echo "$LD" >&6; }
20862 else
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20864 $as_echo "no" >&6; }
20866 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20868 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20869 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20870 $as_echo_n "(cached) " >&6
20871 else
20872 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20873 case `$LD -v 2>&1 </dev/null` in
20874 *GNU* | *'with BFD'*)
20875 lt_cv_prog_gnu_ld=yes
20878 lt_cv_prog_gnu_ld=no
20880 esac
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20883 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20884 with_gnu_ld=$lt_cv_prog_gnu_ld
20892 # If we're not using GNU ld, then there's no point in even trying these
20893 # tests. Check for that first. We should have already tested for gld
20894 # by now (in libtool), but require it now just to be safe...
20895 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20896 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20900 # The name set by libtool depends on the version of libtool. Shame on us
20901 # for depending on an impl detail, but c'est la vie. Older versions used
20902 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20903 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20904 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20905 # set (hence we're using an older libtool), then set it.
20906 if test x${with_gnu_ld+set} != xset; then
20907 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20908 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20909 with_gnu_ld=no
20910 else
20911 with_gnu_ld=$ac_cv_prog_gnu_ld
20915 # Start by getting the version number. I think the libtool test already
20916 # does some of this, but throws away the result.
20917 glibcxx_ld_is_gold=no
20918 if test x"$with_gnu_ld" = x"yes"; then
20919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20920 $as_echo_n "checking for ld version... " >&6; }
20922 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20923 glibcxx_ld_is_gold=yes
20925 ldver=`$LD --version 2>/dev/null |
20926 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'`
20928 glibcxx_gnu_ld_version=`echo $ldver | \
20929 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20931 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20934 # Set --gc-sections.
20935 glibcxx_have_gc_sections=no
20936 if test "$glibcxx_ld_is_gold" = "yes"; then
20937 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20938 glibcxx_have_gc_sections=yes
20940 else
20941 glibcxx_gcsections_min_ld=21602
20942 if test x"$with_gnu_ld" = x"yes" &&
20943 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20944 glibcxx_have_gc_sections=yes
20947 if test "$glibcxx_have_gc_sections" = "yes"; then
20948 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20949 # NB: This flag only works reliably after 2.16.1. Configure tests
20950 # for this are difficult, so hard wire a value that should work.
20952 ac_test_CFLAGS="${CFLAGS+set}"
20953 ac_save_CFLAGS="$CFLAGS"
20954 CFLAGS='-Wl,--gc-sections'
20956 # Check for -Wl,--gc-sections
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20958 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20959 if test x$gcc_no_link = xyes; then
20960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20963 /* end confdefs.h. */
20964 int one(void) { return 1; }
20965 int two(void) { return 2; }
20968 main ()
20970 two();
20972 return 0;
20974 _ACEOF
20975 if ac_fn_c_try_link "$LINENO"; then :
20976 ac_gcsections=yes
20977 else
20978 ac_gcsections=no
20980 rm -f core conftest.err conftest.$ac_objext \
20981 conftest$ac_exeext conftest.$ac_ext
20982 if test "$ac_gcsections" = "yes"; then
20983 rm -f conftest.c
20984 touch conftest.c
20985 if $CC -c conftest.c; then
20986 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20987 grep "Warning: gc-sections option ignored" > /dev/null; then
20988 ac_gcsections=no
20991 rm -f conftest.c conftest.o conftest
20993 if test "$ac_gcsections" = "yes"; then
20994 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20997 $as_echo "$ac_gcsections" >&6; }
20999 if test "$ac_test_CFLAGS" = set; then
21000 CFLAGS="$ac_save_CFLAGS"
21001 else
21002 # this is the suspicious part
21003 CFLAGS=''
21007 # Set -z,relro.
21008 # Note this is only for shared objects.
21009 ac_ld_relro=no
21010 if test x"$with_gnu_ld" = x"yes"; then
21011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21012 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21013 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21014 if test -n "$cxx_z_relo"; then
21015 OPT_LDFLAGS="-Wl,-z,relro"
21016 ac_ld_relro=yes
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21019 $as_echo "$ac_ld_relro" >&6; }
21022 # Set linker optimization flags.
21023 if test x"$with_gnu_ld" = x"yes"; then
21024 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21031 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21032 ac_save_CXXFLAGS="$CXXFLAGS"
21033 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21036 $as_echo_n "checking for sin in -lm... " >&6; }
21037 if test "${ac_cv_lib_m_sin+set}" = set; then :
21038 $as_echo_n "(cached) " >&6
21039 else
21040 ac_check_lib_save_LIBS=$LIBS
21041 LIBS="-lm $LIBS"
21042 if test x$gcc_no_link = xyes; then
21043 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21046 /* end confdefs.h. */
21048 /* Override any GCC internal prototype to avoid an error.
21049 Use char because int might match the return type of a GCC
21050 builtin and then its argument prototype would still apply. */
21051 #ifdef __cplusplus
21052 extern "C"
21053 #endif
21054 char sin ();
21056 main ()
21058 return sin ();
21060 return 0;
21062 _ACEOF
21063 if ac_fn_c_try_link "$LINENO"; then :
21064 ac_cv_lib_m_sin=yes
21065 else
21066 ac_cv_lib_m_sin=no
21068 rm -f core conftest.err conftest.$ac_objext \
21069 conftest$ac_exeext conftest.$ac_ext
21070 LIBS=$ac_check_lib_save_LIBS
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21073 $as_echo "$ac_cv_lib_m_sin" >&6; }
21074 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21075 libm="-lm"
21078 ac_save_LIBS="$LIBS"
21079 LIBS="$LIBS $libm"
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21084 $as_echo_n "checking for isinf declaration... " >&6; }
21085 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21086 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21087 $as_echo_n "(cached) " >&6
21088 else
21091 ac_ext=cpp
21092 ac_cpp='$CXXCPP $CPPFLAGS'
21093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21098 /* end confdefs.h. */
21099 #include <math.h>
21100 #ifdef HAVE_IEEEFP_H
21101 #include <ieeefp.h>
21102 #endif
21105 main ()
21107 isinf(0);
21109 return 0;
21111 _ACEOF
21112 if ac_fn_cxx_try_compile "$LINENO"; then :
21113 glibcxx_cv_func_isinf_use=yes
21114 else
21115 glibcxx_cv_func_isinf_use=no
21117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21118 ac_ext=c
21119 ac_cpp='$CPP $CPPFLAGS'
21120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21129 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21131 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21132 for ac_func in isinf
21133 do :
21134 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21135 if test "x$ac_cv_func_isinf" = x""yes; then :
21136 cat >>confdefs.h <<_ACEOF
21137 #define HAVE_ISINF 1
21138 _ACEOF
21141 done
21143 else
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21146 $as_echo_n "checking for _isinf declaration... " >&6; }
21147 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21148 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21149 $as_echo_n "(cached) " >&6
21150 else
21153 ac_ext=cpp
21154 ac_cpp='$CXXCPP $CPPFLAGS'
21155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21161 #include <math.h>
21162 #ifdef HAVE_IEEEFP_H
21163 #include <ieeefp.h>
21164 #endif
21167 main ()
21169 _isinf(0);
21171 return 0;
21173 _ACEOF
21174 if ac_fn_cxx_try_compile "$LINENO"; then :
21175 glibcxx_cv_func__isinf_use=yes
21176 else
21177 glibcxx_cv_func__isinf_use=no
21179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21180 ac_ext=c
21181 ac_cpp='$CPP $CPPFLAGS'
21182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21191 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21193 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21194 for ac_func in _isinf
21195 do :
21196 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21197 if test "x$ac_cv_func__isinf" = x""yes; then :
21198 cat >>confdefs.h <<_ACEOF
21199 #define HAVE__ISINF 1
21200 _ACEOF
21203 done
21212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21213 $as_echo_n "checking for isnan declaration... " >&6; }
21214 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21215 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21216 $as_echo_n "(cached) " >&6
21217 else
21220 ac_ext=cpp
21221 ac_cpp='$CXXCPP $CPPFLAGS'
21222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21227 /* end confdefs.h. */
21228 #include <math.h>
21229 #ifdef HAVE_IEEEFP_H
21230 #include <ieeefp.h>
21231 #endif
21234 main ()
21236 isnan(0);
21238 return 0;
21240 _ACEOF
21241 if ac_fn_cxx_try_compile "$LINENO"; then :
21242 glibcxx_cv_func_isnan_use=yes
21243 else
21244 glibcxx_cv_func_isnan_use=no
21246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21247 ac_ext=c
21248 ac_cpp='$CPP $CPPFLAGS'
21249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21258 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21260 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21261 for ac_func in isnan
21262 do :
21263 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21264 if test "x$ac_cv_func_isnan" = x""yes; then :
21265 cat >>confdefs.h <<_ACEOF
21266 #define HAVE_ISNAN 1
21267 _ACEOF
21270 done
21272 else
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21275 $as_echo_n "checking for _isnan declaration... " >&6; }
21276 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21277 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21278 $as_echo_n "(cached) " >&6
21279 else
21282 ac_ext=cpp
21283 ac_cpp='$CXXCPP $CPPFLAGS'
21284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21289 /* end confdefs.h. */
21290 #include <math.h>
21291 #ifdef HAVE_IEEEFP_H
21292 #include <ieeefp.h>
21293 #endif
21296 main ()
21298 _isnan(0);
21300 return 0;
21302 _ACEOF
21303 if ac_fn_cxx_try_compile "$LINENO"; then :
21304 glibcxx_cv_func__isnan_use=yes
21305 else
21306 glibcxx_cv_func__isnan_use=no
21308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21309 ac_ext=c
21310 ac_cpp='$CPP $CPPFLAGS'
21311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21320 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21322 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21323 for ac_func in _isnan
21324 do :
21325 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21326 if test "x$ac_cv_func__isnan" = x""yes; then :
21327 cat >>confdefs.h <<_ACEOF
21328 #define HAVE__ISNAN 1
21329 _ACEOF
21332 done
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21342 $as_echo_n "checking for finite declaration... " >&6; }
21343 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21344 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21345 $as_echo_n "(cached) " >&6
21346 else
21349 ac_ext=cpp
21350 ac_cpp='$CXXCPP $CPPFLAGS'
21351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21356 /* end confdefs.h. */
21357 #include <math.h>
21358 #ifdef HAVE_IEEEFP_H
21359 #include <ieeefp.h>
21360 #endif
21363 main ()
21365 finite(0);
21367 return 0;
21369 _ACEOF
21370 if ac_fn_cxx_try_compile "$LINENO"; then :
21371 glibcxx_cv_func_finite_use=yes
21372 else
21373 glibcxx_cv_func_finite_use=no
21375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21376 ac_ext=c
21377 ac_cpp='$CPP $CPPFLAGS'
21378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21387 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21389 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21390 for ac_func in finite
21391 do :
21392 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21393 if test "x$ac_cv_func_finite" = x""yes; then :
21394 cat >>confdefs.h <<_ACEOF
21395 #define HAVE_FINITE 1
21396 _ACEOF
21399 done
21401 else
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21404 $as_echo_n "checking for _finite declaration... " >&6; }
21405 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21406 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21407 $as_echo_n "(cached) " >&6
21408 else
21411 ac_ext=cpp
21412 ac_cpp='$CXXCPP $CPPFLAGS'
21413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21418 /* end confdefs.h. */
21419 #include <math.h>
21420 #ifdef HAVE_IEEEFP_H
21421 #include <ieeefp.h>
21422 #endif
21425 main ()
21427 _finite(0);
21429 return 0;
21431 _ACEOF
21432 if ac_fn_cxx_try_compile "$LINENO"; then :
21433 glibcxx_cv_func__finite_use=yes
21434 else
21435 glibcxx_cv_func__finite_use=no
21437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21438 ac_ext=c
21439 ac_cpp='$CPP $CPPFLAGS'
21440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21449 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21451 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21452 for ac_func in _finite
21453 do :
21454 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21455 if test "x$ac_cv_func__finite" = x""yes; then :
21456 cat >>confdefs.h <<_ACEOF
21457 #define HAVE__FINITE 1
21458 _ACEOF
21461 done
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21471 $as_echo_n "checking for sincos declaration... " >&6; }
21472 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21473 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21474 $as_echo_n "(cached) " >&6
21475 else
21478 ac_ext=cpp
21479 ac_cpp='$CXXCPP $CPPFLAGS'
21480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21485 /* end confdefs.h. */
21486 #include <math.h>
21488 main ()
21490 sincos(0, 0, 0);
21492 return 0;
21494 _ACEOF
21495 if ac_fn_cxx_try_compile "$LINENO"; then :
21496 glibcxx_cv_func_sincos_use=yes
21497 else
21498 glibcxx_cv_func_sincos_use=no
21500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21501 ac_ext=c
21502 ac_cpp='$CPP $CPPFLAGS'
21503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21512 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21514 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21515 for ac_func in sincos
21516 do :
21517 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21518 if test "x$ac_cv_func_sincos" = x""yes; then :
21519 cat >>confdefs.h <<_ACEOF
21520 #define HAVE_SINCOS 1
21521 _ACEOF
21524 done
21526 else
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21529 $as_echo_n "checking for _sincos declaration... " >&6; }
21530 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21531 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21532 $as_echo_n "(cached) " >&6
21533 else
21536 ac_ext=cpp
21537 ac_cpp='$CXXCPP $CPPFLAGS'
21538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21543 /* end confdefs.h. */
21544 #include <math.h>
21546 main ()
21548 _sincos(0, 0, 0);
21550 return 0;
21552 _ACEOF
21553 if ac_fn_cxx_try_compile "$LINENO"; then :
21554 glibcxx_cv_func__sincos_use=yes
21555 else
21556 glibcxx_cv_func__sincos_use=no
21558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21559 ac_ext=c
21560 ac_cpp='$CPP $CPPFLAGS'
21561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21570 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21572 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21573 for ac_func in _sincos
21574 do :
21575 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21576 if test "x$ac_cv_func__sincos" = x""yes; then :
21577 cat >>confdefs.h <<_ACEOF
21578 #define HAVE__SINCOS 1
21579 _ACEOF
21582 done
21591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21592 $as_echo_n "checking for fpclass declaration... " >&6; }
21593 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21594 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21595 $as_echo_n "(cached) " >&6
21596 else
21599 ac_ext=cpp
21600 ac_cpp='$CXXCPP $CPPFLAGS'
21601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21606 /* end confdefs.h. */
21607 #include <math.h>
21608 #ifdef HAVE_IEEEFP_H
21609 #include <ieeefp.h>
21610 #endif
21613 main ()
21615 fpclass(0);
21617 return 0;
21619 _ACEOF
21620 if ac_fn_cxx_try_compile "$LINENO"; then :
21621 glibcxx_cv_func_fpclass_use=yes
21622 else
21623 glibcxx_cv_func_fpclass_use=no
21625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21626 ac_ext=c
21627 ac_cpp='$CPP $CPPFLAGS'
21628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21637 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21639 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21640 for ac_func in fpclass
21641 do :
21642 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21643 if test "x$ac_cv_func_fpclass" = x""yes; then :
21644 cat >>confdefs.h <<_ACEOF
21645 #define HAVE_FPCLASS 1
21646 _ACEOF
21649 done
21651 else
21653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21654 $as_echo_n "checking for _fpclass declaration... " >&6; }
21655 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21656 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21657 $as_echo_n "(cached) " >&6
21658 else
21661 ac_ext=cpp
21662 ac_cpp='$CXXCPP $CPPFLAGS'
21663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21668 /* end confdefs.h. */
21669 #include <math.h>
21670 #ifdef HAVE_IEEEFP_H
21671 #include <ieeefp.h>
21672 #endif
21675 main ()
21677 _fpclass(0);
21679 return 0;
21681 _ACEOF
21682 if ac_fn_cxx_try_compile "$LINENO"; then :
21683 glibcxx_cv_func__fpclass_use=yes
21684 else
21685 glibcxx_cv_func__fpclass_use=no
21687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21688 ac_ext=c
21689 ac_cpp='$CPP $CPPFLAGS'
21690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21699 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21701 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21702 for ac_func in _fpclass
21703 do :
21704 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21705 if test "x$ac_cv_func__fpclass" = x""yes; then :
21706 cat >>confdefs.h <<_ACEOF
21707 #define HAVE__FPCLASS 1
21708 _ACEOF
21711 done
21720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21721 $as_echo_n "checking for qfpclass declaration... " >&6; }
21722 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21723 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21724 $as_echo_n "(cached) " >&6
21725 else
21728 ac_ext=cpp
21729 ac_cpp='$CXXCPP $CPPFLAGS'
21730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21736 #include <math.h>
21737 #ifdef HAVE_IEEEFP_H
21738 #include <ieeefp.h>
21739 #endif
21742 main ()
21744 qfpclass(0);
21746 return 0;
21748 _ACEOF
21749 if ac_fn_cxx_try_compile "$LINENO"; then :
21750 glibcxx_cv_func_qfpclass_use=yes
21751 else
21752 glibcxx_cv_func_qfpclass_use=no
21754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21755 ac_ext=c
21756 ac_cpp='$CPP $CPPFLAGS'
21757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21766 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21768 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21769 for ac_func in qfpclass
21770 do :
21771 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21772 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21773 cat >>confdefs.h <<_ACEOF
21774 #define HAVE_QFPCLASS 1
21775 _ACEOF
21778 done
21780 else
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21783 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21784 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21785 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21786 $as_echo_n "(cached) " >&6
21787 else
21790 ac_ext=cpp
21791 ac_cpp='$CXXCPP $CPPFLAGS'
21792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21797 /* end confdefs.h. */
21798 #include <math.h>
21799 #ifdef HAVE_IEEEFP_H
21800 #include <ieeefp.h>
21801 #endif
21804 main ()
21806 _qfpclass(0);
21808 return 0;
21810 _ACEOF
21811 if ac_fn_cxx_try_compile "$LINENO"; then :
21812 glibcxx_cv_func__qfpclass_use=yes
21813 else
21814 glibcxx_cv_func__qfpclass_use=no
21816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21817 ac_ext=c
21818 ac_cpp='$CPP $CPPFLAGS'
21819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21828 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21830 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21831 for ac_func in _qfpclass
21832 do :
21833 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21834 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21835 cat >>confdefs.h <<_ACEOF
21836 #define HAVE__QFPCLASS 1
21837 _ACEOF
21840 done
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21850 $as_echo_n "checking for hypot declaration... " >&6; }
21851 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21852 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21853 $as_echo_n "(cached) " >&6
21854 else
21857 ac_ext=cpp
21858 ac_cpp='$CXXCPP $CPPFLAGS'
21859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21864 /* end confdefs.h. */
21865 #include <math.h>
21867 main ()
21869 hypot(0, 0);
21871 return 0;
21873 _ACEOF
21874 if ac_fn_cxx_try_compile "$LINENO"; then :
21875 glibcxx_cv_func_hypot_use=yes
21876 else
21877 glibcxx_cv_func_hypot_use=no
21879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21880 ac_ext=c
21881 ac_cpp='$CPP $CPPFLAGS'
21882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21891 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21893 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21894 for ac_func in hypot
21895 do :
21896 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21897 if test "x$ac_cv_func_hypot" = x""yes; then :
21898 cat >>confdefs.h <<_ACEOF
21899 #define HAVE_HYPOT 1
21900 _ACEOF
21903 done
21905 else
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21908 $as_echo_n "checking for _hypot declaration... " >&6; }
21909 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21910 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21911 $as_echo_n "(cached) " >&6
21912 else
21915 ac_ext=cpp
21916 ac_cpp='$CXXCPP $CPPFLAGS'
21917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21922 /* end confdefs.h. */
21923 #include <math.h>
21925 main ()
21927 _hypot(0, 0);
21929 return 0;
21931 _ACEOF
21932 if ac_fn_cxx_try_compile "$LINENO"; then :
21933 glibcxx_cv_func__hypot_use=yes
21934 else
21935 glibcxx_cv_func__hypot_use=no
21937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21938 ac_ext=c
21939 ac_cpp='$CPP $CPPFLAGS'
21940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21949 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21951 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21952 for ac_func in _hypot
21953 do :
21954 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21955 if test "x$ac_cv_func__hypot" = x""yes; then :
21956 cat >>confdefs.h <<_ACEOF
21957 #define HAVE__HYPOT 1
21958 _ACEOF
21961 done
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21971 $as_echo_n "checking for float trig functions... " >&6; }
21972 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21973 $as_echo_n "(cached) " >&6
21974 else
21977 ac_ext=cpp
21978 ac_cpp='$CXXCPP $CPPFLAGS'
21979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21984 /* end confdefs.h. */
21985 #include <math.h>
21987 main ()
21989 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21991 return 0;
21993 _ACEOF
21994 if ac_fn_cxx_try_compile "$LINENO"; then :
21995 glibcxx_cv_func_float_trig_use=yes
21996 else
21997 glibcxx_cv_func_float_trig_use=no
21999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22000 ac_ext=c
22001 ac_cpp='$CPP $CPPFLAGS'
22002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22009 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22010 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22011 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22012 do :
22013 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22014 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22015 eval as_val=\$$as_ac_var
22016 if test "x$as_val" = x""yes; then :
22017 cat >>confdefs.h <<_ACEOF
22018 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22019 _ACEOF
22022 done
22024 else
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22026 $as_echo_n "checking for _float trig functions... " >&6; }
22027 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22028 $as_echo_n "(cached) " >&6
22029 else
22032 ac_ext=cpp
22033 ac_cpp='$CXXCPP $CPPFLAGS'
22034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22039 /* end confdefs.h. */
22040 #include <math.h>
22042 main ()
22044 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22046 return 0;
22048 _ACEOF
22049 if ac_fn_cxx_try_compile "$LINENO"; then :
22050 glibcxx_cv_func__float_trig_use=yes
22051 else
22052 glibcxx_cv_func__float_trig_use=no
22054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22055 ac_ext=c
22056 ac_cpp='$CPP $CPPFLAGS'
22057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22064 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22065 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22066 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22067 do :
22068 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22069 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22070 eval as_val=\$$as_ac_var
22071 if test "x$as_val" = x""yes; then :
22072 cat >>confdefs.h <<_ACEOF
22073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22074 _ACEOF
22077 done
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22087 $as_echo_n "checking for float round functions... " >&6; }
22088 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22089 $as_echo_n "(cached) " >&6
22090 else
22093 ac_ext=cpp
22094 ac_cpp='$CXXCPP $CPPFLAGS'
22095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22100 /* end confdefs.h. */
22101 #include <math.h>
22103 main ()
22105 ceilf (0); floorf (0);
22107 return 0;
22109 _ACEOF
22110 if ac_fn_cxx_try_compile "$LINENO"; then :
22111 glibcxx_cv_func_float_round_use=yes
22112 else
22113 glibcxx_cv_func_float_round_use=no
22115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22116 ac_ext=c
22117 ac_cpp='$CPP $CPPFLAGS'
22118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22125 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22126 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22127 for ac_func in ceilf floorf
22128 do :
22129 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22130 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22131 eval as_val=\$$as_ac_var
22132 if test "x$as_val" = x""yes; then :
22133 cat >>confdefs.h <<_ACEOF
22134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22135 _ACEOF
22138 done
22140 else
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22142 $as_echo_n "checking for _float round functions... " >&6; }
22143 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22144 $as_echo_n "(cached) " >&6
22145 else
22148 ac_ext=cpp
22149 ac_cpp='$CXXCPP $CPPFLAGS'
22150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22155 /* end confdefs.h. */
22156 #include <math.h>
22158 main ()
22160 _ceilf (0); _floorf (0);
22162 return 0;
22164 _ACEOF
22165 if ac_fn_cxx_try_compile "$LINENO"; then :
22166 glibcxx_cv_func__float_round_use=yes
22167 else
22168 glibcxx_cv_func__float_round_use=no
22170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22171 ac_ext=c
22172 ac_cpp='$CPP $CPPFLAGS'
22173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22180 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22181 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22182 for ac_func in _ceilf _floorf
22183 do :
22184 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22185 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22186 eval as_val=\$$as_ac_var
22187 if test "x$as_val" = x""yes; then :
22188 cat >>confdefs.h <<_ACEOF
22189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22190 _ACEOF
22193 done
22203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22204 $as_echo_n "checking for expf declaration... " >&6; }
22205 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22206 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22207 $as_echo_n "(cached) " >&6
22208 else
22211 ac_ext=cpp
22212 ac_cpp='$CXXCPP $CPPFLAGS'
22213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22218 /* end confdefs.h. */
22219 #include <math.h>
22220 #ifdef HAVE_IEEEFP_H
22221 #include <ieeefp.h>
22222 #endif
22225 main ()
22227 expf(0);
22229 return 0;
22231 _ACEOF
22232 if ac_fn_cxx_try_compile "$LINENO"; then :
22233 glibcxx_cv_func_expf_use=yes
22234 else
22235 glibcxx_cv_func_expf_use=no
22237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22238 ac_ext=c
22239 ac_cpp='$CPP $CPPFLAGS'
22240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22249 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22251 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22252 for ac_func in expf
22253 do :
22254 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22255 if test "x$ac_cv_func_expf" = x""yes; then :
22256 cat >>confdefs.h <<_ACEOF
22257 #define HAVE_EXPF 1
22258 _ACEOF
22261 done
22263 else
22265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22266 $as_echo_n "checking for _expf declaration... " >&6; }
22267 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22268 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22269 $as_echo_n "(cached) " >&6
22270 else
22273 ac_ext=cpp
22274 ac_cpp='$CXXCPP $CPPFLAGS'
22275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22280 /* end confdefs.h. */
22281 #include <math.h>
22282 #ifdef HAVE_IEEEFP_H
22283 #include <ieeefp.h>
22284 #endif
22287 main ()
22289 _expf(0);
22291 return 0;
22293 _ACEOF
22294 if ac_fn_cxx_try_compile "$LINENO"; then :
22295 glibcxx_cv_func__expf_use=yes
22296 else
22297 glibcxx_cv_func__expf_use=no
22299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22300 ac_ext=c
22301 ac_cpp='$CPP $CPPFLAGS'
22302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22311 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22313 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22314 for ac_func in _expf
22315 do :
22316 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22317 if test "x$ac_cv_func__expf" = x""yes; then :
22318 cat >>confdefs.h <<_ACEOF
22319 #define HAVE__EXPF 1
22320 _ACEOF
22323 done
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22333 $as_echo_n "checking for isnanf declaration... " >&6; }
22334 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22335 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22336 $as_echo_n "(cached) " >&6
22337 else
22340 ac_ext=cpp
22341 ac_cpp='$CXXCPP $CPPFLAGS'
22342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22347 /* end confdefs.h. */
22348 #include <math.h>
22349 #ifdef HAVE_IEEEFP_H
22350 #include <ieeefp.h>
22351 #endif
22354 main ()
22356 isnanf(0);
22358 return 0;
22360 _ACEOF
22361 if ac_fn_cxx_try_compile "$LINENO"; then :
22362 glibcxx_cv_func_isnanf_use=yes
22363 else
22364 glibcxx_cv_func_isnanf_use=no
22366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22367 ac_ext=c
22368 ac_cpp='$CPP $CPPFLAGS'
22369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22378 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22380 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22381 for ac_func in isnanf
22382 do :
22383 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22384 if test "x$ac_cv_func_isnanf" = x""yes; then :
22385 cat >>confdefs.h <<_ACEOF
22386 #define HAVE_ISNANF 1
22387 _ACEOF
22390 done
22392 else
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22395 $as_echo_n "checking for _isnanf declaration... " >&6; }
22396 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22397 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22398 $as_echo_n "(cached) " >&6
22399 else
22402 ac_ext=cpp
22403 ac_cpp='$CXXCPP $CPPFLAGS'
22404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h. */
22410 #include <math.h>
22411 #ifdef HAVE_IEEEFP_H
22412 #include <ieeefp.h>
22413 #endif
22416 main ()
22418 _isnanf(0);
22420 return 0;
22422 _ACEOF
22423 if ac_fn_cxx_try_compile "$LINENO"; then :
22424 glibcxx_cv_func__isnanf_use=yes
22425 else
22426 glibcxx_cv_func__isnanf_use=no
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22429 ac_ext=c
22430 ac_cpp='$CPP $CPPFLAGS'
22431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22440 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22442 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22443 for ac_func in _isnanf
22444 do :
22445 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22446 if test "x$ac_cv_func__isnanf" = x""yes; then :
22447 cat >>confdefs.h <<_ACEOF
22448 #define HAVE__ISNANF 1
22449 _ACEOF
22452 done
22461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22462 $as_echo_n "checking for isinff declaration... " >&6; }
22463 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22464 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22465 $as_echo_n "(cached) " >&6
22466 else
22469 ac_ext=cpp
22470 ac_cpp='$CXXCPP $CPPFLAGS'
22471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22476 /* end confdefs.h. */
22477 #include <math.h>
22478 #ifdef HAVE_IEEEFP_H
22479 #include <ieeefp.h>
22480 #endif
22483 main ()
22485 isinff(0);
22487 return 0;
22489 _ACEOF
22490 if ac_fn_cxx_try_compile "$LINENO"; then :
22491 glibcxx_cv_func_isinff_use=yes
22492 else
22493 glibcxx_cv_func_isinff_use=no
22495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22496 ac_ext=c
22497 ac_cpp='$CPP $CPPFLAGS'
22498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22507 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22509 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22510 for ac_func in isinff
22511 do :
22512 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22513 if test "x$ac_cv_func_isinff" = x""yes; then :
22514 cat >>confdefs.h <<_ACEOF
22515 #define HAVE_ISINFF 1
22516 _ACEOF
22519 done
22521 else
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22524 $as_echo_n "checking for _isinff declaration... " >&6; }
22525 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22526 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22527 $as_echo_n "(cached) " >&6
22528 else
22531 ac_ext=cpp
22532 ac_cpp='$CXXCPP $CPPFLAGS'
22533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22538 /* end confdefs.h. */
22539 #include <math.h>
22540 #ifdef HAVE_IEEEFP_H
22541 #include <ieeefp.h>
22542 #endif
22545 main ()
22547 _isinff(0);
22549 return 0;
22551 _ACEOF
22552 if ac_fn_cxx_try_compile "$LINENO"; then :
22553 glibcxx_cv_func__isinff_use=yes
22554 else
22555 glibcxx_cv_func__isinff_use=no
22557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22558 ac_ext=c
22559 ac_cpp='$CPP $CPPFLAGS'
22560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22569 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22571 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22572 for ac_func in _isinff
22573 do :
22574 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22575 if test "x$ac_cv_func__isinff" = x""yes; then :
22576 cat >>confdefs.h <<_ACEOF
22577 #define HAVE__ISINFF 1
22578 _ACEOF
22581 done
22590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22591 $as_echo_n "checking for atan2f declaration... " >&6; }
22592 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22593 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22594 $as_echo_n "(cached) " >&6
22595 else
22598 ac_ext=cpp
22599 ac_cpp='$CXXCPP $CPPFLAGS'
22600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22605 /* end confdefs.h. */
22606 #include <math.h>
22608 main ()
22610 atan2f(0, 0);
22612 return 0;
22614 _ACEOF
22615 if ac_fn_cxx_try_compile "$LINENO"; then :
22616 glibcxx_cv_func_atan2f_use=yes
22617 else
22618 glibcxx_cv_func_atan2f_use=no
22620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22621 ac_ext=c
22622 ac_cpp='$CPP $CPPFLAGS'
22623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22632 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22634 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22635 for ac_func in atan2f
22636 do :
22637 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22638 if test "x$ac_cv_func_atan2f" = x""yes; then :
22639 cat >>confdefs.h <<_ACEOF
22640 #define HAVE_ATAN2F 1
22641 _ACEOF
22644 done
22646 else
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22649 $as_echo_n "checking for _atan2f declaration... " >&6; }
22650 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22651 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22652 $as_echo_n "(cached) " >&6
22653 else
22656 ac_ext=cpp
22657 ac_cpp='$CXXCPP $CPPFLAGS'
22658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22663 /* end confdefs.h. */
22664 #include <math.h>
22666 main ()
22668 _atan2f(0, 0);
22670 return 0;
22672 _ACEOF
22673 if ac_fn_cxx_try_compile "$LINENO"; then :
22674 glibcxx_cv_func__atan2f_use=yes
22675 else
22676 glibcxx_cv_func__atan2f_use=no
22678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22679 ac_ext=c
22680 ac_cpp='$CPP $CPPFLAGS'
22681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22690 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22692 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22693 for ac_func in _atan2f
22694 do :
22695 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22696 if test "x$ac_cv_func__atan2f" = x""yes; then :
22697 cat >>confdefs.h <<_ACEOF
22698 #define HAVE__ATAN2F 1
22699 _ACEOF
22702 done
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22712 $as_echo_n "checking for fabsf declaration... " >&6; }
22713 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22714 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22715 $as_echo_n "(cached) " >&6
22716 else
22719 ac_ext=cpp
22720 ac_cpp='$CXXCPP $CPPFLAGS'
22721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22726 /* end confdefs.h. */
22727 #include <math.h>
22728 #ifdef HAVE_IEEEFP_H
22729 #include <ieeefp.h>
22730 #endif
22733 main ()
22735 fabsf(0);
22737 return 0;
22739 _ACEOF
22740 if ac_fn_cxx_try_compile "$LINENO"; then :
22741 glibcxx_cv_func_fabsf_use=yes
22742 else
22743 glibcxx_cv_func_fabsf_use=no
22745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22746 ac_ext=c
22747 ac_cpp='$CPP $CPPFLAGS'
22748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22757 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22759 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22760 for ac_func in fabsf
22761 do :
22762 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22763 if test "x$ac_cv_func_fabsf" = x""yes; then :
22764 cat >>confdefs.h <<_ACEOF
22765 #define HAVE_FABSF 1
22766 _ACEOF
22769 done
22771 else
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22774 $as_echo_n "checking for _fabsf declaration... " >&6; }
22775 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22776 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22777 $as_echo_n "(cached) " >&6
22778 else
22781 ac_ext=cpp
22782 ac_cpp='$CXXCPP $CPPFLAGS'
22783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22788 /* end confdefs.h. */
22789 #include <math.h>
22790 #ifdef HAVE_IEEEFP_H
22791 #include <ieeefp.h>
22792 #endif
22795 main ()
22797 _fabsf(0);
22799 return 0;
22801 _ACEOF
22802 if ac_fn_cxx_try_compile "$LINENO"; then :
22803 glibcxx_cv_func__fabsf_use=yes
22804 else
22805 glibcxx_cv_func__fabsf_use=no
22807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22808 ac_ext=c
22809 ac_cpp='$CPP $CPPFLAGS'
22810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22819 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22821 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22822 for ac_func in _fabsf
22823 do :
22824 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22825 if test "x$ac_cv_func__fabsf" = x""yes; then :
22826 cat >>confdefs.h <<_ACEOF
22827 #define HAVE__FABSF 1
22828 _ACEOF
22831 done
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22841 $as_echo_n "checking for fmodf declaration... " >&6; }
22842 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22843 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22844 $as_echo_n "(cached) " >&6
22845 else
22848 ac_ext=cpp
22849 ac_cpp='$CXXCPP $CPPFLAGS'
22850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22855 /* end confdefs.h. */
22856 #include <math.h>
22858 main ()
22860 fmodf(0, 0);
22862 return 0;
22864 _ACEOF
22865 if ac_fn_cxx_try_compile "$LINENO"; then :
22866 glibcxx_cv_func_fmodf_use=yes
22867 else
22868 glibcxx_cv_func_fmodf_use=no
22870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22871 ac_ext=c
22872 ac_cpp='$CPP $CPPFLAGS'
22873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22882 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22884 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22885 for ac_func in fmodf
22886 do :
22887 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22888 if test "x$ac_cv_func_fmodf" = x""yes; then :
22889 cat >>confdefs.h <<_ACEOF
22890 #define HAVE_FMODF 1
22891 _ACEOF
22894 done
22896 else
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22899 $as_echo_n "checking for _fmodf declaration... " >&6; }
22900 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22901 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22902 $as_echo_n "(cached) " >&6
22903 else
22906 ac_ext=cpp
22907 ac_cpp='$CXXCPP $CPPFLAGS'
22908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22913 /* end confdefs.h. */
22914 #include <math.h>
22916 main ()
22918 _fmodf(0, 0);
22920 return 0;
22922 _ACEOF
22923 if ac_fn_cxx_try_compile "$LINENO"; then :
22924 glibcxx_cv_func__fmodf_use=yes
22925 else
22926 glibcxx_cv_func__fmodf_use=no
22928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22929 ac_ext=c
22930 ac_cpp='$CPP $CPPFLAGS'
22931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22940 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22942 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22943 for ac_func in _fmodf
22944 do :
22945 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22946 if test "x$ac_cv_func__fmodf" = x""yes; then :
22947 cat >>confdefs.h <<_ACEOF
22948 #define HAVE__FMODF 1
22949 _ACEOF
22952 done
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22962 $as_echo_n "checking for frexpf declaration... " >&6; }
22963 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22964 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22965 $as_echo_n "(cached) " >&6
22966 else
22969 ac_ext=cpp
22970 ac_cpp='$CXXCPP $CPPFLAGS'
22971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22976 /* end confdefs.h. */
22977 #include <math.h>
22979 main ()
22981 frexpf(0, 0);
22983 return 0;
22985 _ACEOF
22986 if ac_fn_cxx_try_compile "$LINENO"; then :
22987 glibcxx_cv_func_frexpf_use=yes
22988 else
22989 glibcxx_cv_func_frexpf_use=no
22991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22992 ac_ext=c
22993 ac_cpp='$CPP $CPPFLAGS'
22994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23003 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23005 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23006 for ac_func in frexpf
23007 do :
23008 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23009 if test "x$ac_cv_func_frexpf" = x""yes; then :
23010 cat >>confdefs.h <<_ACEOF
23011 #define HAVE_FREXPF 1
23012 _ACEOF
23015 done
23017 else
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23020 $as_echo_n "checking for _frexpf declaration... " >&6; }
23021 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23022 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23023 $as_echo_n "(cached) " >&6
23024 else
23027 ac_ext=cpp
23028 ac_cpp='$CXXCPP $CPPFLAGS'
23029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23034 /* end confdefs.h. */
23035 #include <math.h>
23037 main ()
23039 _frexpf(0, 0);
23041 return 0;
23043 _ACEOF
23044 if ac_fn_cxx_try_compile "$LINENO"; then :
23045 glibcxx_cv_func__frexpf_use=yes
23046 else
23047 glibcxx_cv_func__frexpf_use=no
23049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23050 ac_ext=c
23051 ac_cpp='$CPP $CPPFLAGS'
23052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23061 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23063 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23064 for ac_func in _frexpf
23065 do :
23066 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23067 if test "x$ac_cv_func__frexpf" = x""yes; then :
23068 cat >>confdefs.h <<_ACEOF
23069 #define HAVE__FREXPF 1
23070 _ACEOF
23073 done
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23083 $as_echo_n "checking for hypotf declaration... " >&6; }
23084 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23085 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23086 $as_echo_n "(cached) " >&6
23087 else
23090 ac_ext=cpp
23091 ac_cpp='$CXXCPP $CPPFLAGS'
23092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23097 /* end confdefs.h. */
23098 #include <math.h>
23100 main ()
23102 hypotf(0, 0);
23104 return 0;
23106 _ACEOF
23107 if ac_fn_cxx_try_compile "$LINENO"; then :
23108 glibcxx_cv_func_hypotf_use=yes
23109 else
23110 glibcxx_cv_func_hypotf_use=no
23112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23113 ac_ext=c
23114 ac_cpp='$CPP $CPPFLAGS'
23115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23124 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23126 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23127 for ac_func in hypotf
23128 do :
23129 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23130 if test "x$ac_cv_func_hypotf" = x""yes; then :
23131 cat >>confdefs.h <<_ACEOF
23132 #define HAVE_HYPOTF 1
23133 _ACEOF
23136 done
23138 else
23140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23141 $as_echo_n "checking for _hypotf declaration... " >&6; }
23142 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23143 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23144 $as_echo_n "(cached) " >&6
23145 else
23148 ac_ext=cpp
23149 ac_cpp='$CXXCPP $CPPFLAGS'
23150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23155 /* end confdefs.h. */
23156 #include <math.h>
23158 main ()
23160 _hypotf(0, 0);
23162 return 0;
23164 _ACEOF
23165 if ac_fn_cxx_try_compile "$LINENO"; then :
23166 glibcxx_cv_func__hypotf_use=yes
23167 else
23168 glibcxx_cv_func__hypotf_use=no
23170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23171 ac_ext=c
23172 ac_cpp='$CPP $CPPFLAGS'
23173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23182 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23184 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23185 for ac_func in _hypotf
23186 do :
23187 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23188 if test "x$ac_cv_func__hypotf" = x""yes; then :
23189 cat >>confdefs.h <<_ACEOF
23190 #define HAVE__HYPOTF 1
23191 _ACEOF
23194 done
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23204 $as_echo_n "checking for ldexpf declaration... " >&6; }
23205 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23206 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23207 $as_echo_n "(cached) " >&6
23208 else
23211 ac_ext=cpp
23212 ac_cpp='$CXXCPP $CPPFLAGS'
23213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23218 /* end confdefs.h. */
23219 #include <math.h>
23221 main ()
23223 ldexpf(0, 0);
23225 return 0;
23227 _ACEOF
23228 if ac_fn_cxx_try_compile "$LINENO"; then :
23229 glibcxx_cv_func_ldexpf_use=yes
23230 else
23231 glibcxx_cv_func_ldexpf_use=no
23233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23234 ac_ext=c
23235 ac_cpp='$CPP $CPPFLAGS'
23236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23245 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23247 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23248 for ac_func in ldexpf
23249 do :
23250 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23251 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23252 cat >>confdefs.h <<_ACEOF
23253 #define HAVE_LDEXPF 1
23254 _ACEOF
23257 done
23259 else
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23262 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23263 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23264 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23265 $as_echo_n "(cached) " >&6
23266 else
23269 ac_ext=cpp
23270 ac_cpp='$CXXCPP $CPPFLAGS'
23271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23276 /* end confdefs.h. */
23277 #include <math.h>
23279 main ()
23281 _ldexpf(0, 0);
23283 return 0;
23285 _ACEOF
23286 if ac_fn_cxx_try_compile "$LINENO"; then :
23287 glibcxx_cv_func__ldexpf_use=yes
23288 else
23289 glibcxx_cv_func__ldexpf_use=no
23291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23292 ac_ext=c
23293 ac_cpp='$CPP $CPPFLAGS'
23294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23303 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23305 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23306 for ac_func in _ldexpf
23307 do :
23308 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23309 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23310 cat >>confdefs.h <<_ACEOF
23311 #define HAVE__LDEXPF 1
23312 _ACEOF
23315 done
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23325 $as_echo_n "checking for logf declaration... " >&6; }
23326 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23327 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23328 $as_echo_n "(cached) " >&6
23329 else
23332 ac_ext=cpp
23333 ac_cpp='$CXXCPP $CPPFLAGS'
23334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23339 /* end confdefs.h. */
23340 #include <math.h>
23341 #ifdef HAVE_IEEEFP_H
23342 #include <ieeefp.h>
23343 #endif
23346 main ()
23348 logf(0);
23350 return 0;
23352 _ACEOF
23353 if ac_fn_cxx_try_compile "$LINENO"; then :
23354 glibcxx_cv_func_logf_use=yes
23355 else
23356 glibcxx_cv_func_logf_use=no
23358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23359 ac_ext=c
23360 ac_cpp='$CPP $CPPFLAGS'
23361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23370 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23372 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23373 for ac_func in logf
23374 do :
23375 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23376 if test "x$ac_cv_func_logf" = x""yes; then :
23377 cat >>confdefs.h <<_ACEOF
23378 #define HAVE_LOGF 1
23379 _ACEOF
23382 done
23384 else
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23387 $as_echo_n "checking for _logf declaration... " >&6; }
23388 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23389 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23390 $as_echo_n "(cached) " >&6
23391 else
23394 ac_ext=cpp
23395 ac_cpp='$CXXCPP $CPPFLAGS'
23396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23401 /* end confdefs.h. */
23402 #include <math.h>
23403 #ifdef HAVE_IEEEFP_H
23404 #include <ieeefp.h>
23405 #endif
23408 main ()
23410 _logf(0);
23412 return 0;
23414 _ACEOF
23415 if ac_fn_cxx_try_compile "$LINENO"; then :
23416 glibcxx_cv_func__logf_use=yes
23417 else
23418 glibcxx_cv_func__logf_use=no
23420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23421 ac_ext=c
23422 ac_cpp='$CPP $CPPFLAGS'
23423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23432 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23434 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23435 for ac_func in _logf
23436 do :
23437 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23438 if test "x$ac_cv_func__logf" = x""yes; then :
23439 cat >>confdefs.h <<_ACEOF
23440 #define HAVE__LOGF 1
23441 _ACEOF
23444 done
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23454 $as_echo_n "checking for log10f declaration... " >&6; }
23455 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23456 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23457 $as_echo_n "(cached) " >&6
23458 else
23461 ac_ext=cpp
23462 ac_cpp='$CXXCPP $CPPFLAGS'
23463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23468 /* end confdefs.h. */
23469 #include <math.h>
23470 #ifdef HAVE_IEEEFP_H
23471 #include <ieeefp.h>
23472 #endif
23475 main ()
23477 log10f(0);
23479 return 0;
23481 _ACEOF
23482 if ac_fn_cxx_try_compile "$LINENO"; then :
23483 glibcxx_cv_func_log10f_use=yes
23484 else
23485 glibcxx_cv_func_log10f_use=no
23487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23488 ac_ext=c
23489 ac_cpp='$CPP $CPPFLAGS'
23490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23499 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23501 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23502 for ac_func in log10f
23503 do :
23504 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23505 if test "x$ac_cv_func_log10f" = x""yes; then :
23506 cat >>confdefs.h <<_ACEOF
23507 #define HAVE_LOG10F 1
23508 _ACEOF
23511 done
23513 else
23515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23516 $as_echo_n "checking for _log10f declaration... " >&6; }
23517 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23518 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23519 $as_echo_n "(cached) " >&6
23520 else
23523 ac_ext=cpp
23524 ac_cpp='$CXXCPP $CPPFLAGS'
23525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23530 /* end confdefs.h. */
23531 #include <math.h>
23532 #ifdef HAVE_IEEEFP_H
23533 #include <ieeefp.h>
23534 #endif
23537 main ()
23539 _log10f(0);
23541 return 0;
23543 _ACEOF
23544 if ac_fn_cxx_try_compile "$LINENO"; then :
23545 glibcxx_cv_func__log10f_use=yes
23546 else
23547 glibcxx_cv_func__log10f_use=no
23549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23550 ac_ext=c
23551 ac_cpp='$CPP $CPPFLAGS'
23552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23561 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23563 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23564 for ac_func in _log10f
23565 do :
23566 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23567 if test "x$ac_cv_func__log10f" = x""yes; then :
23568 cat >>confdefs.h <<_ACEOF
23569 #define HAVE__LOG10F 1
23570 _ACEOF
23573 done
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23583 $as_echo_n "checking for modff declaration... " >&6; }
23584 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23585 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23586 $as_echo_n "(cached) " >&6
23587 else
23590 ac_ext=cpp
23591 ac_cpp='$CXXCPP $CPPFLAGS'
23592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23597 /* end confdefs.h. */
23598 #include <math.h>
23600 main ()
23602 modff(0, 0);
23604 return 0;
23606 _ACEOF
23607 if ac_fn_cxx_try_compile "$LINENO"; then :
23608 glibcxx_cv_func_modff_use=yes
23609 else
23610 glibcxx_cv_func_modff_use=no
23612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23613 ac_ext=c
23614 ac_cpp='$CPP $CPPFLAGS'
23615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23624 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23626 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23627 for ac_func in modff
23628 do :
23629 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23630 if test "x$ac_cv_func_modff" = x""yes; then :
23631 cat >>confdefs.h <<_ACEOF
23632 #define HAVE_MODFF 1
23633 _ACEOF
23636 done
23638 else
23640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23641 $as_echo_n "checking for _modff declaration... " >&6; }
23642 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23643 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23644 $as_echo_n "(cached) " >&6
23645 else
23648 ac_ext=cpp
23649 ac_cpp='$CXXCPP $CPPFLAGS'
23650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23655 /* end confdefs.h. */
23656 #include <math.h>
23658 main ()
23660 _modff(0, 0);
23662 return 0;
23664 _ACEOF
23665 if ac_fn_cxx_try_compile "$LINENO"; then :
23666 glibcxx_cv_func__modff_use=yes
23667 else
23668 glibcxx_cv_func__modff_use=no
23670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23671 ac_ext=c
23672 ac_cpp='$CPP $CPPFLAGS'
23673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23682 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23684 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23685 for ac_func in _modff
23686 do :
23687 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23688 if test "x$ac_cv_func__modff" = x""yes; then :
23689 cat >>confdefs.h <<_ACEOF
23690 #define HAVE__MODFF 1
23691 _ACEOF
23694 done
23703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23704 $as_echo_n "checking for modf declaration... " >&6; }
23705 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23706 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23707 $as_echo_n "(cached) " >&6
23708 else
23711 ac_ext=cpp
23712 ac_cpp='$CXXCPP $CPPFLAGS'
23713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23718 /* end confdefs.h. */
23719 #include <math.h>
23721 main ()
23723 modf(0, 0);
23725 return 0;
23727 _ACEOF
23728 if ac_fn_cxx_try_compile "$LINENO"; then :
23729 glibcxx_cv_func_modf_use=yes
23730 else
23731 glibcxx_cv_func_modf_use=no
23733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23734 ac_ext=c
23735 ac_cpp='$CPP $CPPFLAGS'
23736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23745 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23747 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23748 for ac_func in modf
23749 do :
23750 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23751 if test "x$ac_cv_func_modf" = x""yes; then :
23752 cat >>confdefs.h <<_ACEOF
23753 #define HAVE_MODF 1
23754 _ACEOF
23757 done
23759 else
23761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23762 $as_echo_n "checking for _modf declaration... " >&6; }
23763 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23764 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23765 $as_echo_n "(cached) " >&6
23766 else
23769 ac_ext=cpp
23770 ac_cpp='$CXXCPP $CPPFLAGS'
23771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23776 /* end confdefs.h. */
23777 #include <math.h>
23779 main ()
23781 _modf(0, 0);
23783 return 0;
23785 _ACEOF
23786 if ac_fn_cxx_try_compile "$LINENO"; then :
23787 glibcxx_cv_func__modf_use=yes
23788 else
23789 glibcxx_cv_func__modf_use=no
23791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23792 ac_ext=c
23793 ac_cpp='$CPP $CPPFLAGS'
23794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23803 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23805 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23806 for ac_func in _modf
23807 do :
23808 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23809 if test "x$ac_cv_func__modf" = x""yes; then :
23810 cat >>confdefs.h <<_ACEOF
23811 #define HAVE__MODF 1
23812 _ACEOF
23815 done
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23825 $as_echo_n "checking for powf declaration... " >&6; }
23826 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23827 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23828 $as_echo_n "(cached) " >&6
23829 else
23832 ac_ext=cpp
23833 ac_cpp='$CXXCPP $CPPFLAGS'
23834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23839 /* end confdefs.h. */
23840 #include <math.h>
23842 main ()
23844 powf(0, 0);
23846 return 0;
23848 _ACEOF
23849 if ac_fn_cxx_try_compile "$LINENO"; then :
23850 glibcxx_cv_func_powf_use=yes
23851 else
23852 glibcxx_cv_func_powf_use=no
23854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23855 ac_ext=c
23856 ac_cpp='$CPP $CPPFLAGS'
23857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23866 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23868 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23869 for ac_func in powf
23870 do :
23871 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23872 if test "x$ac_cv_func_powf" = x""yes; then :
23873 cat >>confdefs.h <<_ACEOF
23874 #define HAVE_POWF 1
23875 _ACEOF
23878 done
23880 else
23882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23883 $as_echo_n "checking for _powf declaration... " >&6; }
23884 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23885 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23886 $as_echo_n "(cached) " >&6
23887 else
23890 ac_ext=cpp
23891 ac_cpp='$CXXCPP $CPPFLAGS'
23892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23897 /* end confdefs.h. */
23898 #include <math.h>
23900 main ()
23902 _powf(0, 0);
23904 return 0;
23906 _ACEOF
23907 if ac_fn_cxx_try_compile "$LINENO"; then :
23908 glibcxx_cv_func__powf_use=yes
23909 else
23910 glibcxx_cv_func__powf_use=no
23912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23913 ac_ext=c
23914 ac_cpp='$CPP $CPPFLAGS'
23915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23924 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23926 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23927 for ac_func in _powf
23928 do :
23929 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23930 if test "x$ac_cv_func__powf" = x""yes; then :
23931 cat >>confdefs.h <<_ACEOF
23932 #define HAVE__POWF 1
23933 _ACEOF
23936 done
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23946 $as_echo_n "checking for sqrtf declaration... " >&6; }
23947 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23948 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23949 $as_echo_n "(cached) " >&6
23950 else
23953 ac_ext=cpp
23954 ac_cpp='$CXXCPP $CPPFLAGS'
23955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23960 /* end confdefs.h. */
23961 #include <math.h>
23962 #ifdef HAVE_IEEEFP_H
23963 #include <ieeefp.h>
23964 #endif
23967 main ()
23969 sqrtf(0);
23971 return 0;
23973 _ACEOF
23974 if ac_fn_cxx_try_compile "$LINENO"; then :
23975 glibcxx_cv_func_sqrtf_use=yes
23976 else
23977 glibcxx_cv_func_sqrtf_use=no
23979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23980 ac_ext=c
23981 ac_cpp='$CPP $CPPFLAGS'
23982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23991 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23993 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23994 for ac_func in sqrtf
23995 do :
23996 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23997 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23998 cat >>confdefs.h <<_ACEOF
23999 #define HAVE_SQRTF 1
24000 _ACEOF
24003 done
24005 else
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24008 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24009 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24010 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24011 $as_echo_n "(cached) " >&6
24012 else
24015 ac_ext=cpp
24016 ac_cpp='$CXXCPP $CPPFLAGS'
24017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24022 /* end confdefs.h. */
24023 #include <math.h>
24024 #ifdef HAVE_IEEEFP_H
24025 #include <ieeefp.h>
24026 #endif
24029 main ()
24031 _sqrtf(0);
24033 return 0;
24035 _ACEOF
24036 if ac_fn_cxx_try_compile "$LINENO"; then :
24037 glibcxx_cv_func__sqrtf_use=yes
24038 else
24039 glibcxx_cv_func__sqrtf_use=no
24041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24042 ac_ext=c
24043 ac_cpp='$CPP $CPPFLAGS'
24044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24053 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24055 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24056 for ac_func in _sqrtf
24057 do :
24058 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24059 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24060 cat >>confdefs.h <<_ACEOF
24061 #define HAVE__SQRTF 1
24062 _ACEOF
24065 done
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24075 $as_echo_n "checking for sincosf declaration... " >&6; }
24076 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24077 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24078 $as_echo_n "(cached) " >&6
24079 else
24082 ac_ext=cpp
24083 ac_cpp='$CXXCPP $CPPFLAGS'
24084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24089 /* end confdefs.h. */
24090 #include <math.h>
24092 main ()
24094 sincosf(0, 0, 0);
24096 return 0;
24098 _ACEOF
24099 if ac_fn_cxx_try_compile "$LINENO"; then :
24100 glibcxx_cv_func_sincosf_use=yes
24101 else
24102 glibcxx_cv_func_sincosf_use=no
24104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24105 ac_ext=c
24106 ac_cpp='$CPP $CPPFLAGS'
24107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24116 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24118 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24119 for ac_func in sincosf
24120 do :
24121 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24122 if test "x$ac_cv_func_sincosf" = x""yes; then :
24123 cat >>confdefs.h <<_ACEOF
24124 #define HAVE_SINCOSF 1
24125 _ACEOF
24128 done
24130 else
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24133 $as_echo_n "checking for _sincosf declaration... " >&6; }
24134 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24135 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24136 $as_echo_n "(cached) " >&6
24137 else
24140 ac_ext=cpp
24141 ac_cpp='$CXXCPP $CPPFLAGS'
24142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24147 /* end confdefs.h. */
24148 #include <math.h>
24150 main ()
24152 _sincosf(0, 0, 0);
24154 return 0;
24156 _ACEOF
24157 if ac_fn_cxx_try_compile "$LINENO"; then :
24158 glibcxx_cv_func__sincosf_use=yes
24159 else
24160 glibcxx_cv_func__sincosf_use=no
24162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24163 ac_ext=c
24164 ac_cpp='$CPP $CPPFLAGS'
24165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24174 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24176 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24177 for ac_func in _sincosf
24178 do :
24179 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24180 if test "x$ac_cv_func__sincosf" = x""yes; then :
24181 cat >>confdefs.h <<_ACEOF
24182 #define HAVE__SINCOSF 1
24183 _ACEOF
24186 done
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24196 $as_echo_n "checking for finitef declaration... " >&6; }
24197 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24198 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24199 $as_echo_n "(cached) " >&6
24200 else
24203 ac_ext=cpp
24204 ac_cpp='$CXXCPP $CPPFLAGS'
24205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24210 /* end confdefs.h. */
24211 #include <math.h>
24212 #ifdef HAVE_IEEEFP_H
24213 #include <ieeefp.h>
24214 #endif
24217 main ()
24219 finitef(0);
24221 return 0;
24223 _ACEOF
24224 if ac_fn_cxx_try_compile "$LINENO"; then :
24225 glibcxx_cv_func_finitef_use=yes
24226 else
24227 glibcxx_cv_func_finitef_use=no
24229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24230 ac_ext=c
24231 ac_cpp='$CPP $CPPFLAGS'
24232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24241 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24243 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24244 for ac_func in finitef
24245 do :
24246 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24247 if test "x$ac_cv_func_finitef" = x""yes; then :
24248 cat >>confdefs.h <<_ACEOF
24249 #define HAVE_FINITEF 1
24250 _ACEOF
24253 done
24255 else
24257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24258 $as_echo_n "checking for _finitef declaration... " >&6; }
24259 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24260 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24261 $as_echo_n "(cached) " >&6
24262 else
24265 ac_ext=cpp
24266 ac_cpp='$CXXCPP $CPPFLAGS'
24267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24272 /* end confdefs.h. */
24273 #include <math.h>
24274 #ifdef HAVE_IEEEFP_H
24275 #include <ieeefp.h>
24276 #endif
24279 main ()
24281 _finitef(0);
24283 return 0;
24285 _ACEOF
24286 if ac_fn_cxx_try_compile "$LINENO"; then :
24287 glibcxx_cv_func__finitef_use=yes
24288 else
24289 glibcxx_cv_func__finitef_use=no
24291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24292 ac_ext=c
24293 ac_cpp='$CPP $CPPFLAGS'
24294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24303 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24305 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24306 for ac_func in _finitef
24307 do :
24308 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24309 if test "x$ac_cv_func__finitef" = x""yes; then :
24310 cat >>confdefs.h <<_ACEOF
24311 #define HAVE__FINITEF 1
24312 _ACEOF
24315 done
24324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24325 $as_echo_n "checking for long double trig functions... " >&6; }
24326 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24327 $as_echo_n "(cached) " >&6
24328 else
24331 ac_ext=cpp
24332 ac_cpp='$CXXCPP $CPPFLAGS'
24333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24338 /* end confdefs.h. */
24339 #include <math.h>
24341 main ()
24343 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24345 return 0;
24347 _ACEOF
24348 if ac_fn_cxx_try_compile "$LINENO"; then :
24349 glibcxx_cv_func_long_double_trig_use=yes
24350 else
24351 glibcxx_cv_func_long_double_trig_use=no
24353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24354 ac_ext=c
24355 ac_cpp='$CPP $CPPFLAGS'
24356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24363 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24364 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24365 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24366 do :
24367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24369 eval as_val=\$$as_ac_var
24370 if test "x$as_val" = x""yes; then :
24371 cat >>confdefs.h <<_ACEOF
24372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24373 _ACEOF
24376 done
24378 else
24379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24380 $as_echo_n "checking for _long double trig functions... " >&6; }
24381 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24382 $as_echo_n "(cached) " >&6
24383 else
24386 ac_ext=cpp
24387 ac_cpp='$CXXCPP $CPPFLAGS'
24388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24393 /* end confdefs.h. */
24394 #include <math.h>
24396 main ()
24398 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24400 return 0;
24402 _ACEOF
24403 if ac_fn_cxx_try_compile "$LINENO"; then :
24404 glibcxx_cv_func__long_double_trig_use=yes
24405 else
24406 glibcxx_cv_func__long_double_trig_use=no
24408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24409 ac_ext=c
24410 ac_cpp='$CPP $CPPFLAGS'
24411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24418 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24419 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24420 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24421 do :
24422 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24423 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24424 eval as_val=\$$as_ac_var
24425 if test "x$as_val" = x""yes; then :
24426 cat >>confdefs.h <<_ACEOF
24427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24428 _ACEOF
24431 done
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24441 $as_echo_n "checking for long double round functions... " >&6; }
24442 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24443 $as_echo_n "(cached) " >&6
24444 else
24447 ac_ext=cpp
24448 ac_cpp='$CXXCPP $CPPFLAGS'
24449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24454 /* end confdefs.h. */
24455 #include <math.h>
24457 main ()
24459 ceill (0); floorl (0);
24461 return 0;
24463 _ACEOF
24464 if ac_fn_cxx_try_compile "$LINENO"; then :
24465 glibcxx_cv_func_long_double_round_use=yes
24466 else
24467 glibcxx_cv_func_long_double_round_use=no
24469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24470 ac_ext=c
24471 ac_cpp='$CPP $CPPFLAGS'
24472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24479 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24480 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24481 for ac_func in ceill floorl
24482 do :
24483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24485 eval as_val=\$$as_ac_var
24486 if test "x$as_val" = x""yes; then :
24487 cat >>confdefs.h <<_ACEOF
24488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24489 _ACEOF
24492 done
24494 else
24495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24496 $as_echo_n "checking for _long double round functions... " >&6; }
24497 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24498 $as_echo_n "(cached) " >&6
24499 else
24502 ac_ext=cpp
24503 ac_cpp='$CXXCPP $CPPFLAGS'
24504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24509 /* end confdefs.h. */
24510 #include <math.h>
24512 main ()
24514 _ceill (0); _floorl (0);
24516 return 0;
24518 _ACEOF
24519 if ac_fn_cxx_try_compile "$LINENO"; then :
24520 glibcxx_cv_func__long_double_round_use=yes
24521 else
24522 glibcxx_cv_func__long_double_round_use=no
24524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24525 ac_ext=c
24526 ac_cpp='$CPP $CPPFLAGS'
24527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24534 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24535 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24536 for ac_func in _ceill _floorl
24537 do :
24538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24540 eval as_val=\$$as_ac_var
24541 if test "x$as_val" = x""yes; then :
24542 cat >>confdefs.h <<_ACEOF
24543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24544 _ACEOF
24547 done
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24558 $as_echo_n "checking for isnanl declaration... " >&6; }
24559 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24560 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24561 $as_echo_n "(cached) " >&6
24562 else
24565 ac_ext=cpp
24566 ac_cpp='$CXXCPP $CPPFLAGS'
24567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24572 /* end confdefs.h. */
24573 #include <math.h>
24574 #ifdef HAVE_IEEEFP_H
24575 #include <ieeefp.h>
24576 #endif
24579 main ()
24581 isnanl(0);
24583 return 0;
24585 _ACEOF
24586 if ac_fn_cxx_try_compile "$LINENO"; then :
24587 glibcxx_cv_func_isnanl_use=yes
24588 else
24589 glibcxx_cv_func_isnanl_use=no
24591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24592 ac_ext=c
24593 ac_cpp='$CPP $CPPFLAGS'
24594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24603 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24605 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24606 for ac_func in isnanl
24607 do :
24608 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24609 if test "x$ac_cv_func_isnanl" = x""yes; then :
24610 cat >>confdefs.h <<_ACEOF
24611 #define HAVE_ISNANL 1
24612 _ACEOF
24615 done
24617 else
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24620 $as_echo_n "checking for _isnanl declaration... " >&6; }
24621 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24622 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24623 $as_echo_n "(cached) " >&6
24624 else
24627 ac_ext=cpp
24628 ac_cpp='$CXXCPP $CPPFLAGS'
24629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24634 /* end confdefs.h. */
24635 #include <math.h>
24636 #ifdef HAVE_IEEEFP_H
24637 #include <ieeefp.h>
24638 #endif
24641 main ()
24643 _isnanl(0);
24645 return 0;
24647 _ACEOF
24648 if ac_fn_cxx_try_compile "$LINENO"; then :
24649 glibcxx_cv_func__isnanl_use=yes
24650 else
24651 glibcxx_cv_func__isnanl_use=no
24653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24654 ac_ext=c
24655 ac_cpp='$CPP $CPPFLAGS'
24656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24665 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24667 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24668 for ac_func in _isnanl
24669 do :
24670 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24671 if test "x$ac_cv_func__isnanl" = x""yes; then :
24672 cat >>confdefs.h <<_ACEOF
24673 #define HAVE__ISNANL 1
24674 _ACEOF
24677 done
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24687 $as_echo_n "checking for isinfl declaration... " >&6; }
24688 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24689 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24690 $as_echo_n "(cached) " >&6
24691 else
24694 ac_ext=cpp
24695 ac_cpp='$CXXCPP $CPPFLAGS'
24696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24701 /* end confdefs.h. */
24702 #include <math.h>
24703 #ifdef HAVE_IEEEFP_H
24704 #include <ieeefp.h>
24705 #endif
24708 main ()
24710 isinfl(0);
24712 return 0;
24714 _ACEOF
24715 if ac_fn_cxx_try_compile "$LINENO"; then :
24716 glibcxx_cv_func_isinfl_use=yes
24717 else
24718 glibcxx_cv_func_isinfl_use=no
24720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24721 ac_ext=c
24722 ac_cpp='$CPP $CPPFLAGS'
24723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24732 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24734 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24735 for ac_func in isinfl
24736 do :
24737 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24738 if test "x$ac_cv_func_isinfl" = x""yes; then :
24739 cat >>confdefs.h <<_ACEOF
24740 #define HAVE_ISINFL 1
24741 _ACEOF
24744 done
24746 else
24748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24749 $as_echo_n "checking for _isinfl declaration... " >&6; }
24750 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24751 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24752 $as_echo_n "(cached) " >&6
24753 else
24756 ac_ext=cpp
24757 ac_cpp='$CXXCPP $CPPFLAGS'
24758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24763 /* end confdefs.h. */
24764 #include <math.h>
24765 #ifdef HAVE_IEEEFP_H
24766 #include <ieeefp.h>
24767 #endif
24770 main ()
24772 _isinfl(0);
24774 return 0;
24776 _ACEOF
24777 if ac_fn_cxx_try_compile "$LINENO"; then :
24778 glibcxx_cv_func__isinfl_use=yes
24779 else
24780 glibcxx_cv_func__isinfl_use=no
24782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24783 ac_ext=c
24784 ac_cpp='$CPP $CPPFLAGS'
24785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24794 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24796 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24797 for ac_func in _isinfl
24798 do :
24799 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24800 if test "x$ac_cv_func__isinfl" = x""yes; then :
24801 cat >>confdefs.h <<_ACEOF
24802 #define HAVE__ISINFL 1
24803 _ACEOF
24806 done
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24816 $as_echo_n "checking for atan2l declaration... " >&6; }
24817 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24818 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24819 $as_echo_n "(cached) " >&6
24820 else
24823 ac_ext=cpp
24824 ac_cpp='$CXXCPP $CPPFLAGS'
24825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24830 /* end confdefs.h. */
24831 #include <math.h>
24833 main ()
24835 atan2l(0, 0);
24837 return 0;
24839 _ACEOF
24840 if ac_fn_cxx_try_compile "$LINENO"; then :
24841 glibcxx_cv_func_atan2l_use=yes
24842 else
24843 glibcxx_cv_func_atan2l_use=no
24845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24846 ac_ext=c
24847 ac_cpp='$CPP $CPPFLAGS'
24848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24857 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24859 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24860 for ac_func in atan2l
24861 do :
24862 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24863 if test "x$ac_cv_func_atan2l" = x""yes; then :
24864 cat >>confdefs.h <<_ACEOF
24865 #define HAVE_ATAN2L 1
24866 _ACEOF
24869 done
24871 else
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24874 $as_echo_n "checking for _atan2l declaration... " >&6; }
24875 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24876 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24877 $as_echo_n "(cached) " >&6
24878 else
24881 ac_ext=cpp
24882 ac_cpp='$CXXCPP $CPPFLAGS'
24883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24888 /* end confdefs.h. */
24889 #include <math.h>
24891 main ()
24893 _atan2l(0, 0);
24895 return 0;
24897 _ACEOF
24898 if ac_fn_cxx_try_compile "$LINENO"; then :
24899 glibcxx_cv_func__atan2l_use=yes
24900 else
24901 glibcxx_cv_func__atan2l_use=no
24903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24904 ac_ext=c
24905 ac_cpp='$CPP $CPPFLAGS'
24906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24915 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24917 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24918 for ac_func in _atan2l
24919 do :
24920 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24921 if test "x$ac_cv_func__atan2l" = x""yes; then :
24922 cat >>confdefs.h <<_ACEOF
24923 #define HAVE__ATAN2L 1
24924 _ACEOF
24927 done
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24937 $as_echo_n "checking for expl declaration... " >&6; }
24938 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24939 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24940 $as_echo_n "(cached) " >&6
24941 else
24944 ac_ext=cpp
24945 ac_cpp='$CXXCPP $CPPFLAGS'
24946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24951 /* end confdefs.h. */
24952 #include <math.h>
24953 #ifdef HAVE_IEEEFP_H
24954 #include <ieeefp.h>
24955 #endif
24958 main ()
24960 expl(0);
24962 return 0;
24964 _ACEOF
24965 if ac_fn_cxx_try_compile "$LINENO"; then :
24966 glibcxx_cv_func_expl_use=yes
24967 else
24968 glibcxx_cv_func_expl_use=no
24970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24971 ac_ext=c
24972 ac_cpp='$CPP $CPPFLAGS'
24973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24982 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24984 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24985 for ac_func in expl
24986 do :
24987 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24988 if test "x$ac_cv_func_expl" = x""yes; then :
24989 cat >>confdefs.h <<_ACEOF
24990 #define HAVE_EXPL 1
24991 _ACEOF
24994 done
24996 else
24998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24999 $as_echo_n "checking for _expl declaration... " >&6; }
25000 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25001 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25002 $as_echo_n "(cached) " >&6
25003 else
25006 ac_ext=cpp
25007 ac_cpp='$CXXCPP $CPPFLAGS'
25008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25013 /* end confdefs.h. */
25014 #include <math.h>
25015 #ifdef HAVE_IEEEFP_H
25016 #include <ieeefp.h>
25017 #endif
25020 main ()
25022 _expl(0);
25024 return 0;
25026 _ACEOF
25027 if ac_fn_cxx_try_compile "$LINENO"; then :
25028 glibcxx_cv_func__expl_use=yes
25029 else
25030 glibcxx_cv_func__expl_use=no
25032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25033 ac_ext=c
25034 ac_cpp='$CPP $CPPFLAGS'
25035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25044 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25046 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25047 for ac_func in _expl
25048 do :
25049 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25050 if test "x$ac_cv_func__expl" = x""yes; then :
25051 cat >>confdefs.h <<_ACEOF
25052 #define HAVE__EXPL 1
25053 _ACEOF
25056 done
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25066 $as_echo_n "checking for fabsl declaration... " >&6; }
25067 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25068 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25069 $as_echo_n "(cached) " >&6
25070 else
25073 ac_ext=cpp
25074 ac_cpp='$CXXCPP $CPPFLAGS'
25075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25080 /* end confdefs.h. */
25081 #include <math.h>
25082 #ifdef HAVE_IEEEFP_H
25083 #include <ieeefp.h>
25084 #endif
25087 main ()
25089 fabsl(0);
25091 return 0;
25093 _ACEOF
25094 if ac_fn_cxx_try_compile "$LINENO"; then :
25095 glibcxx_cv_func_fabsl_use=yes
25096 else
25097 glibcxx_cv_func_fabsl_use=no
25099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25100 ac_ext=c
25101 ac_cpp='$CPP $CPPFLAGS'
25102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25111 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25113 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25114 for ac_func in fabsl
25115 do :
25116 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25117 if test "x$ac_cv_func_fabsl" = x""yes; then :
25118 cat >>confdefs.h <<_ACEOF
25119 #define HAVE_FABSL 1
25120 _ACEOF
25123 done
25125 else
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25128 $as_echo_n "checking for _fabsl declaration... " >&6; }
25129 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25130 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25131 $as_echo_n "(cached) " >&6
25132 else
25135 ac_ext=cpp
25136 ac_cpp='$CXXCPP $CPPFLAGS'
25137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25142 /* end confdefs.h. */
25143 #include <math.h>
25144 #ifdef HAVE_IEEEFP_H
25145 #include <ieeefp.h>
25146 #endif
25149 main ()
25151 _fabsl(0);
25153 return 0;
25155 _ACEOF
25156 if ac_fn_cxx_try_compile "$LINENO"; then :
25157 glibcxx_cv_func__fabsl_use=yes
25158 else
25159 glibcxx_cv_func__fabsl_use=no
25161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25162 ac_ext=c
25163 ac_cpp='$CPP $CPPFLAGS'
25164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25173 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25175 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25176 for ac_func in _fabsl
25177 do :
25178 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25179 if test "x$ac_cv_func__fabsl" = x""yes; then :
25180 cat >>confdefs.h <<_ACEOF
25181 #define HAVE__FABSL 1
25182 _ACEOF
25185 done
25194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25195 $as_echo_n "checking for fmodl declaration... " >&6; }
25196 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25197 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25198 $as_echo_n "(cached) " >&6
25199 else
25202 ac_ext=cpp
25203 ac_cpp='$CXXCPP $CPPFLAGS'
25204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25209 /* end confdefs.h. */
25210 #include <math.h>
25212 main ()
25214 fmodl(0, 0);
25216 return 0;
25218 _ACEOF
25219 if ac_fn_cxx_try_compile "$LINENO"; then :
25220 glibcxx_cv_func_fmodl_use=yes
25221 else
25222 glibcxx_cv_func_fmodl_use=no
25224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25225 ac_ext=c
25226 ac_cpp='$CPP $CPPFLAGS'
25227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25236 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25238 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25239 for ac_func in fmodl
25240 do :
25241 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25242 if test "x$ac_cv_func_fmodl" = x""yes; then :
25243 cat >>confdefs.h <<_ACEOF
25244 #define HAVE_FMODL 1
25245 _ACEOF
25248 done
25250 else
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25253 $as_echo_n "checking for _fmodl declaration... " >&6; }
25254 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25255 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25256 $as_echo_n "(cached) " >&6
25257 else
25260 ac_ext=cpp
25261 ac_cpp='$CXXCPP $CPPFLAGS'
25262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25267 /* end confdefs.h. */
25268 #include <math.h>
25270 main ()
25272 _fmodl(0, 0);
25274 return 0;
25276 _ACEOF
25277 if ac_fn_cxx_try_compile "$LINENO"; then :
25278 glibcxx_cv_func__fmodl_use=yes
25279 else
25280 glibcxx_cv_func__fmodl_use=no
25282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25283 ac_ext=c
25284 ac_cpp='$CPP $CPPFLAGS'
25285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25294 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25296 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25297 for ac_func in _fmodl
25298 do :
25299 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25300 if test "x$ac_cv_func__fmodl" = x""yes; then :
25301 cat >>confdefs.h <<_ACEOF
25302 #define HAVE__FMODL 1
25303 _ACEOF
25306 done
25315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25316 $as_echo_n "checking for frexpl declaration... " >&6; }
25317 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25318 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25319 $as_echo_n "(cached) " >&6
25320 else
25323 ac_ext=cpp
25324 ac_cpp='$CXXCPP $CPPFLAGS'
25325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25330 /* end confdefs.h. */
25331 #include <math.h>
25333 main ()
25335 frexpl(0, 0);
25337 return 0;
25339 _ACEOF
25340 if ac_fn_cxx_try_compile "$LINENO"; then :
25341 glibcxx_cv_func_frexpl_use=yes
25342 else
25343 glibcxx_cv_func_frexpl_use=no
25345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25346 ac_ext=c
25347 ac_cpp='$CPP $CPPFLAGS'
25348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25357 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25359 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25360 for ac_func in frexpl
25361 do :
25362 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25363 if test "x$ac_cv_func_frexpl" = x""yes; then :
25364 cat >>confdefs.h <<_ACEOF
25365 #define HAVE_FREXPL 1
25366 _ACEOF
25369 done
25371 else
25373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25374 $as_echo_n "checking for _frexpl declaration... " >&6; }
25375 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25376 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25377 $as_echo_n "(cached) " >&6
25378 else
25381 ac_ext=cpp
25382 ac_cpp='$CXXCPP $CPPFLAGS'
25383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25388 /* end confdefs.h. */
25389 #include <math.h>
25391 main ()
25393 _frexpl(0, 0);
25395 return 0;
25397 _ACEOF
25398 if ac_fn_cxx_try_compile "$LINENO"; then :
25399 glibcxx_cv_func__frexpl_use=yes
25400 else
25401 glibcxx_cv_func__frexpl_use=no
25403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25404 ac_ext=c
25405 ac_cpp='$CPP $CPPFLAGS'
25406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25415 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25417 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25418 for ac_func in _frexpl
25419 do :
25420 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25421 if test "x$ac_cv_func__frexpl" = x""yes; then :
25422 cat >>confdefs.h <<_ACEOF
25423 #define HAVE__FREXPL 1
25424 _ACEOF
25427 done
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25437 $as_echo_n "checking for hypotl declaration... " >&6; }
25438 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25439 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25440 $as_echo_n "(cached) " >&6
25441 else
25444 ac_ext=cpp
25445 ac_cpp='$CXXCPP $CPPFLAGS'
25446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25451 /* end confdefs.h. */
25452 #include <math.h>
25454 main ()
25456 hypotl(0, 0);
25458 return 0;
25460 _ACEOF
25461 if ac_fn_cxx_try_compile "$LINENO"; then :
25462 glibcxx_cv_func_hypotl_use=yes
25463 else
25464 glibcxx_cv_func_hypotl_use=no
25466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25467 ac_ext=c
25468 ac_cpp='$CPP $CPPFLAGS'
25469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25478 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25480 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25481 for ac_func in hypotl
25482 do :
25483 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25484 if test "x$ac_cv_func_hypotl" = x""yes; then :
25485 cat >>confdefs.h <<_ACEOF
25486 #define HAVE_HYPOTL 1
25487 _ACEOF
25490 done
25492 else
25494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25495 $as_echo_n "checking for _hypotl declaration... " >&6; }
25496 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25497 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25498 $as_echo_n "(cached) " >&6
25499 else
25502 ac_ext=cpp
25503 ac_cpp='$CXXCPP $CPPFLAGS'
25504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25509 /* end confdefs.h. */
25510 #include <math.h>
25512 main ()
25514 _hypotl(0, 0);
25516 return 0;
25518 _ACEOF
25519 if ac_fn_cxx_try_compile "$LINENO"; then :
25520 glibcxx_cv_func__hypotl_use=yes
25521 else
25522 glibcxx_cv_func__hypotl_use=no
25524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25525 ac_ext=c
25526 ac_cpp='$CPP $CPPFLAGS'
25527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25536 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25538 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25539 for ac_func in _hypotl
25540 do :
25541 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25542 if test "x$ac_cv_func__hypotl" = x""yes; then :
25543 cat >>confdefs.h <<_ACEOF
25544 #define HAVE__HYPOTL 1
25545 _ACEOF
25548 done
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25558 $as_echo_n "checking for ldexpl declaration... " >&6; }
25559 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25560 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25561 $as_echo_n "(cached) " >&6
25562 else
25565 ac_ext=cpp
25566 ac_cpp='$CXXCPP $CPPFLAGS'
25567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25572 /* end confdefs.h. */
25573 #include <math.h>
25575 main ()
25577 ldexpl(0, 0);
25579 return 0;
25581 _ACEOF
25582 if ac_fn_cxx_try_compile "$LINENO"; then :
25583 glibcxx_cv_func_ldexpl_use=yes
25584 else
25585 glibcxx_cv_func_ldexpl_use=no
25587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25588 ac_ext=c
25589 ac_cpp='$CPP $CPPFLAGS'
25590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25599 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25601 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25602 for ac_func in ldexpl
25603 do :
25604 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25605 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25606 cat >>confdefs.h <<_ACEOF
25607 #define HAVE_LDEXPL 1
25608 _ACEOF
25611 done
25613 else
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25616 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25617 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25618 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25619 $as_echo_n "(cached) " >&6
25620 else
25623 ac_ext=cpp
25624 ac_cpp='$CXXCPP $CPPFLAGS'
25625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25630 /* end confdefs.h. */
25631 #include <math.h>
25633 main ()
25635 _ldexpl(0, 0);
25637 return 0;
25639 _ACEOF
25640 if ac_fn_cxx_try_compile "$LINENO"; then :
25641 glibcxx_cv_func__ldexpl_use=yes
25642 else
25643 glibcxx_cv_func__ldexpl_use=no
25645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25646 ac_ext=c
25647 ac_cpp='$CPP $CPPFLAGS'
25648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25657 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25659 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25660 for ac_func in _ldexpl
25661 do :
25662 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25663 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25664 cat >>confdefs.h <<_ACEOF
25665 #define HAVE__LDEXPL 1
25666 _ACEOF
25669 done
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25679 $as_echo_n "checking for logl declaration... " >&6; }
25680 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25681 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25682 $as_echo_n "(cached) " >&6
25683 else
25686 ac_ext=cpp
25687 ac_cpp='$CXXCPP $CPPFLAGS'
25688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25693 /* end confdefs.h. */
25694 #include <math.h>
25695 #ifdef HAVE_IEEEFP_H
25696 #include <ieeefp.h>
25697 #endif
25700 main ()
25702 logl(0);
25704 return 0;
25706 _ACEOF
25707 if ac_fn_cxx_try_compile "$LINENO"; then :
25708 glibcxx_cv_func_logl_use=yes
25709 else
25710 glibcxx_cv_func_logl_use=no
25712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25713 ac_ext=c
25714 ac_cpp='$CPP $CPPFLAGS'
25715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25724 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25726 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25727 for ac_func in logl
25728 do :
25729 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25730 if test "x$ac_cv_func_logl" = x""yes; then :
25731 cat >>confdefs.h <<_ACEOF
25732 #define HAVE_LOGL 1
25733 _ACEOF
25736 done
25738 else
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25741 $as_echo_n "checking for _logl declaration... " >&6; }
25742 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25743 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25744 $as_echo_n "(cached) " >&6
25745 else
25748 ac_ext=cpp
25749 ac_cpp='$CXXCPP $CPPFLAGS'
25750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25755 /* end confdefs.h. */
25756 #include <math.h>
25757 #ifdef HAVE_IEEEFP_H
25758 #include <ieeefp.h>
25759 #endif
25762 main ()
25764 _logl(0);
25766 return 0;
25768 _ACEOF
25769 if ac_fn_cxx_try_compile "$LINENO"; then :
25770 glibcxx_cv_func__logl_use=yes
25771 else
25772 glibcxx_cv_func__logl_use=no
25774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25775 ac_ext=c
25776 ac_cpp='$CPP $CPPFLAGS'
25777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25786 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25788 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25789 for ac_func in _logl
25790 do :
25791 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25792 if test "x$ac_cv_func__logl" = x""yes; then :
25793 cat >>confdefs.h <<_ACEOF
25794 #define HAVE__LOGL 1
25795 _ACEOF
25798 done
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25808 $as_echo_n "checking for log10l declaration... " >&6; }
25809 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25810 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25811 $as_echo_n "(cached) " >&6
25812 else
25815 ac_ext=cpp
25816 ac_cpp='$CXXCPP $CPPFLAGS'
25817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25822 /* end confdefs.h. */
25823 #include <math.h>
25824 #ifdef HAVE_IEEEFP_H
25825 #include <ieeefp.h>
25826 #endif
25829 main ()
25831 log10l(0);
25833 return 0;
25835 _ACEOF
25836 if ac_fn_cxx_try_compile "$LINENO"; then :
25837 glibcxx_cv_func_log10l_use=yes
25838 else
25839 glibcxx_cv_func_log10l_use=no
25841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25842 ac_ext=c
25843 ac_cpp='$CPP $CPPFLAGS'
25844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25853 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25855 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25856 for ac_func in log10l
25857 do :
25858 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25859 if test "x$ac_cv_func_log10l" = x""yes; then :
25860 cat >>confdefs.h <<_ACEOF
25861 #define HAVE_LOG10L 1
25862 _ACEOF
25865 done
25867 else
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25870 $as_echo_n "checking for _log10l declaration... " >&6; }
25871 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25872 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25873 $as_echo_n "(cached) " >&6
25874 else
25877 ac_ext=cpp
25878 ac_cpp='$CXXCPP $CPPFLAGS'
25879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25884 /* end confdefs.h. */
25885 #include <math.h>
25886 #ifdef HAVE_IEEEFP_H
25887 #include <ieeefp.h>
25888 #endif
25891 main ()
25893 _log10l(0);
25895 return 0;
25897 _ACEOF
25898 if ac_fn_cxx_try_compile "$LINENO"; then :
25899 glibcxx_cv_func__log10l_use=yes
25900 else
25901 glibcxx_cv_func__log10l_use=no
25903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25904 ac_ext=c
25905 ac_cpp='$CPP $CPPFLAGS'
25906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25915 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25917 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25918 for ac_func in _log10l
25919 do :
25920 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25921 if test "x$ac_cv_func__log10l" = x""yes; then :
25922 cat >>confdefs.h <<_ACEOF
25923 #define HAVE__LOG10L 1
25924 _ACEOF
25927 done
25936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25937 $as_echo_n "checking for modfl declaration... " >&6; }
25938 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25939 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25940 $as_echo_n "(cached) " >&6
25941 else
25944 ac_ext=cpp
25945 ac_cpp='$CXXCPP $CPPFLAGS'
25946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25951 /* end confdefs.h. */
25952 #include <math.h>
25954 main ()
25956 modfl(0, 0);
25958 return 0;
25960 _ACEOF
25961 if ac_fn_cxx_try_compile "$LINENO"; then :
25962 glibcxx_cv_func_modfl_use=yes
25963 else
25964 glibcxx_cv_func_modfl_use=no
25966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25967 ac_ext=c
25968 ac_cpp='$CPP $CPPFLAGS'
25969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25978 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25980 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25981 for ac_func in modfl
25982 do :
25983 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25984 if test "x$ac_cv_func_modfl" = x""yes; then :
25985 cat >>confdefs.h <<_ACEOF
25986 #define HAVE_MODFL 1
25987 _ACEOF
25990 done
25992 else
25994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25995 $as_echo_n "checking for _modfl declaration... " >&6; }
25996 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25997 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25998 $as_echo_n "(cached) " >&6
25999 else
26002 ac_ext=cpp
26003 ac_cpp='$CXXCPP $CPPFLAGS'
26004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26009 /* end confdefs.h. */
26010 #include <math.h>
26012 main ()
26014 _modfl(0, 0);
26016 return 0;
26018 _ACEOF
26019 if ac_fn_cxx_try_compile "$LINENO"; then :
26020 glibcxx_cv_func__modfl_use=yes
26021 else
26022 glibcxx_cv_func__modfl_use=no
26024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26025 ac_ext=c
26026 ac_cpp='$CPP $CPPFLAGS'
26027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26036 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26038 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26039 for ac_func in _modfl
26040 do :
26041 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26042 if test "x$ac_cv_func__modfl" = x""yes; then :
26043 cat >>confdefs.h <<_ACEOF
26044 #define HAVE__MODFL 1
26045 _ACEOF
26048 done
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26058 $as_echo_n "checking for powl declaration... " >&6; }
26059 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26060 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26061 $as_echo_n "(cached) " >&6
26062 else
26065 ac_ext=cpp
26066 ac_cpp='$CXXCPP $CPPFLAGS'
26067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26072 /* end confdefs.h. */
26073 #include <math.h>
26075 main ()
26077 powl(0, 0);
26079 return 0;
26081 _ACEOF
26082 if ac_fn_cxx_try_compile "$LINENO"; then :
26083 glibcxx_cv_func_powl_use=yes
26084 else
26085 glibcxx_cv_func_powl_use=no
26087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26088 ac_ext=c
26089 ac_cpp='$CPP $CPPFLAGS'
26090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26099 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26101 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26102 for ac_func in powl
26103 do :
26104 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26105 if test "x$ac_cv_func_powl" = x""yes; then :
26106 cat >>confdefs.h <<_ACEOF
26107 #define HAVE_POWL 1
26108 _ACEOF
26111 done
26113 else
26115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26116 $as_echo_n "checking for _powl declaration... " >&6; }
26117 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26118 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26119 $as_echo_n "(cached) " >&6
26120 else
26123 ac_ext=cpp
26124 ac_cpp='$CXXCPP $CPPFLAGS'
26125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26130 /* end confdefs.h. */
26131 #include <math.h>
26133 main ()
26135 _powl(0, 0);
26137 return 0;
26139 _ACEOF
26140 if ac_fn_cxx_try_compile "$LINENO"; then :
26141 glibcxx_cv_func__powl_use=yes
26142 else
26143 glibcxx_cv_func__powl_use=no
26145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26146 ac_ext=c
26147 ac_cpp='$CPP $CPPFLAGS'
26148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26157 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26159 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26160 for ac_func in _powl
26161 do :
26162 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26163 if test "x$ac_cv_func__powl" = x""yes; then :
26164 cat >>confdefs.h <<_ACEOF
26165 #define HAVE__POWL 1
26166 _ACEOF
26169 done
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26179 $as_echo_n "checking for sqrtl declaration... " >&6; }
26180 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26181 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26182 $as_echo_n "(cached) " >&6
26183 else
26186 ac_ext=cpp
26187 ac_cpp='$CXXCPP $CPPFLAGS'
26188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26193 /* end confdefs.h. */
26194 #include <math.h>
26195 #ifdef HAVE_IEEEFP_H
26196 #include <ieeefp.h>
26197 #endif
26200 main ()
26202 sqrtl(0);
26204 return 0;
26206 _ACEOF
26207 if ac_fn_cxx_try_compile "$LINENO"; then :
26208 glibcxx_cv_func_sqrtl_use=yes
26209 else
26210 glibcxx_cv_func_sqrtl_use=no
26212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26213 ac_ext=c
26214 ac_cpp='$CPP $CPPFLAGS'
26215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26224 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26226 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26227 for ac_func in sqrtl
26228 do :
26229 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26230 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26231 cat >>confdefs.h <<_ACEOF
26232 #define HAVE_SQRTL 1
26233 _ACEOF
26236 done
26238 else
26240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26241 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26242 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26243 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26244 $as_echo_n "(cached) " >&6
26245 else
26248 ac_ext=cpp
26249 ac_cpp='$CXXCPP $CPPFLAGS'
26250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26255 /* end confdefs.h. */
26256 #include <math.h>
26257 #ifdef HAVE_IEEEFP_H
26258 #include <ieeefp.h>
26259 #endif
26262 main ()
26264 _sqrtl(0);
26266 return 0;
26268 _ACEOF
26269 if ac_fn_cxx_try_compile "$LINENO"; then :
26270 glibcxx_cv_func__sqrtl_use=yes
26271 else
26272 glibcxx_cv_func__sqrtl_use=no
26274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26275 ac_ext=c
26276 ac_cpp='$CPP $CPPFLAGS'
26277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26286 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26288 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26289 for ac_func in _sqrtl
26290 do :
26291 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26292 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26293 cat >>confdefs.h <<_ACEOF
26294 #define HAVE__SQRTL 1
26295 _ACEOF
26298 done
26307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26308 $as_echo_n "checking for sincosl declaration... " >&6; }
26309 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26310 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26311 $as_echo_n "(cached) " >&6
26312 else
26315 ac_ext=cpp
26316 ac_cpp='$CXXCPP $CPPFLAGS'
26317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26322 /* end confdefs.h. */
26323 #include <math.h>
26325 main ()
26327 sincosl(0, 0, 0);
26329 return 0;
26331 _ACEOF
26332 if ac_fn_cxx_try_compile "$LINENO"; then :
26333 glibcxx_cv_func_sincosl_use=yes
26334 else
26335 glibcxx_cv_func_sincosl_use=no
26337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26338 ac_ext=c
26339 ac_cpp='$CPP $CPPFLAGS'
26340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26349 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26351 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26352 for ac_func in sincosl
26353 do :
26354 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26355 if test "x$ac_cv_func_sincosl" = x""yes; then :
26356 cat >>confdefs.h <<_ACEOF
26357 #define HAVE_SINCOSL 1
26358 _ACEOF
26361 done
26363 else
26365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26366 $as_echo_n "checking for _sincosl declaration... " >&6; }
26367 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26368 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26369 $as_echo_n "(cached) " >&6
26370 else
26373 ac_ext=cpp
26374 ac_cpp='$CXXCPP $CPPFLAGS'
26375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26380 /* end confdefs.h. */
26381 #include <math.h>
26383 main ()
26385 _sincosl(0, 0, 0);
26387 return 0;
26389 _ACEOF
26390 if ac_fn_cxx_try_compile "$LINENO"; then :
26391 glibcxx_cv_func__sincosl_use=yes
26392 else
26393 glibcxx_cv_func__sincosl_use=no
26395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26396 ac_ext=c
26397 ac_cpp='$CPP $CPPFLAGS'
26398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26407 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26409 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26410 for ac_func in _sincosl
26411 do :
26412 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26413 if test "x$ac_cv_func__sincosl" = x""yes; then :
26414 cat >>confdefs.h <<_ACEOF
26415 #define HAVE__SINCOSL 1
26416 _ACEOF
26419 done
26428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26429 $as_echo_n "checking for finitel declaration... " >&6; }
26430 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26431 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26432 $as_echo_n "(cached) " >&6
26433 else
26436 ac_ext=cpp
26437 ac_cpp='$CXXCPP $CPPFLAGS'
26438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26443 /* end confdefs.h. */
26444 #include <math.h>
26445 #ifdef HAVE_IEEEFP_H
26446 #include <ieeefp.h>
26447 #endif
26450 main ()
26452 finitel(0);
26454 return 0;
26456 _ACEOF
26457 if ac_fn_cxx_try_compile "$LINENO"; then :
26458 glibcxx_cv_func_finitel_use=yes
26459 else
26460 glibcxx_cv_func_finitel_use=no
26462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26463 ac_ext=c
26464 ac_cpp='$CPP $CPPFLAGS'
26465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26474 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26476 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26477 for ac_func in finitel
26478 do :
26479 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26480 if test "x$ac_cv_func_finitel" = x""yes; then :
26481 cat >>confdefs.h <<_ACEOF
26482 #define HAVE_FINITEL 1
26483 _ACEOF
26486 done
26488 else
26490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26491 $as_echo_n "checking for _finitel declaration... " >&6; }
26492 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26493 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26494 $as_echo_n "(cached) " >&6
26495 else
26498 ac_ext=cpp
26499 ac_cpp='$CXXCPP $CPPFLAGS'
26500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26505 /* end confdefs.h. */
26506 #include <math.h>
26507 #ifdef HAVE_IEEEFP_H
26508 #include <ieeefp.h>
26509 #endif
26512 main ()
26514 _finitel(0);
26516 return 0;
26518 _ACEOF
26519 if ac_fn_cxx_try_compile "$LINENO"; then :
26520 glibcxx_cv_func__finitel_use=yes
26521 else
26522 glibcxx_cv_func__finitel_use=no
26524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26525 ac_ext=c
26526 ac_cpp='$CPP $CPPFLAGS'
26527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26536 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26538 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26539 for ac_func in _finitel
26540 do :
26541 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26542 if test "x$ac_cv_func__finitel" = x""yes; then :
26543 cat >>confdefs.h <<_ACEOF
26544 #define HAVE__FINITEL 1
26545 _ACEOF
26548 done
26556 LIBS="$ac_save_LIBS"
26557 CXXFLAGS="$ac_save_CXXFLAGS"
26560 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26561 ac_save_CXXFLAGS="$CXXFLAGS"
26562 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26566 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26567 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26568 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26569 $as_echo_n "(cached) " >&6
26570 else
26573 ac_ext=cpp
26574 ac_cpp='$CXXCPP $CPPFLAGS'
26575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26580 /* end confdefs.h. */
26581 #include <stdlib.h>
26583 main ()
26585 at_quick_exit(0);
26587 return 0;
26589 _ACEOF
26590 if ac_fn_cxx_try_compile "$LINENO"; then :
26591 glibcxx_cv_func_at_quick_exit_use=yes
26592 else
26593 glibcxx_cv_func_at_quick_exit_use=no
26595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26596 ac_ext=c
26597 ac_cpp='$CPP $CPPFLAGS'
26598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26607 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26608 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26609 for ac_func in at_quick_exit
26610 do :
26611 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26612 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26613 cat >>confdefs.h <<_ACEOF
26614 #define HAVE_AT_QUICK_EXIT 1
26615 _ACEOF
26618 done
26623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26624 $as_echo_n "checking for quick_exit declaration... " >&6; }
26625 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26626 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26627 $as_echo_n "(cached) " >&6
26628 else
26631 ac_ext=cpp
26632 ac_cpp='$CXXCPP $CPPFLAGS'
26633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26638 /* end confdefs.h. */
26639 #include <stdlib.h>
26641 main ()
26643 quick_exit(0);
26645 return 0;
26647 _ACEOF
26648 if ac_fn_cxx_try_compile "$LINENO"; then :
26649 glibcxx_cv_func_quick_exit_use=yes
26650 else
26651 glibcxx_cv_func_quick_exit_use=no
26653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26654 ac_ext=c
26655 ac_cpp='$CPP $CPPFLAGS'
26656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26665 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26666 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26667 for ac_func in quick_exit
26668 do :
26669 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26670 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26671 cat >>confdefs.h <<_ACEOF
26672 #define HAVE_QUICK_EXIT 1
26673 _ACEOF
26676 done
26681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26682 $as_echo_n "checking for strtold declaration... " >&6; }
26683 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26684 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26685 $as_echo_n "(cached) " >&6
26686 else
26689 ac_ext=cpp
26690 ac_cpp='$CXXCPP $CPPFLAGS'
26691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26696 /* end confdefs.h. */
26697 #include <stdlib.h>
26699 main ()
26701 strtold(0, 0);
26703 return 0;
26705 _ACEOF
26706 if ac_fn_cxx_try_compile "$LINENO"; then :
26707 glibcxx_cv_func_strtold_use=yes
26708 else
26709 glibcxx_cv_func_strtold_use=no
26711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26712 ac_ext=c
26713 ac_cpp='$CPP $CPPFLAGS'
26714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26723 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26724 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26725 for ac_func in strtold
26726 do :
26727 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26728 if test "x$ac_cv_func_strtold" = x""yes; then :
26729 cat >>confdefs.h <<_ACEOF
26730 #define HAVE_STRTOLD 1
26731 _ACEOF
26734 done
26741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26742 $as_echo_n "checking for strtof declaration... " >&6; }
26743 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26744 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26745 $as_echo_n "(cached) " >&6
26746 else
26749 ac_ext=cpp
26750 ac_cpp='$CXXCPP $CPPFLAGS'
26751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26756 /* end confdefs.h. */
26757 #include <stdlib.h>
26759 main ()
26761 strtof(0, 0);
26763 return 0;
26765 _ACEOF
26766 if ac_fn_cxx_try_compile "$LINENO"; then :
26767 glibcxx_cv_func_strtof_use=yes
26768 else
26769 glibcxx_cv_func_strtof_use=no
26771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26772 ac_ext=c
26773 ac_cpp='$CPP $CPPFLAGS'
26774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26783 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26784 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26785 for ac_func in strtof
26786 do :
26787 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26788 if test "x$ac_cv_func_strtof" = x""yes; then :
26789 cat >>confdefs.h <<_ACEOF
26790 #define HAVE_STRTOF 1
26791 _ACEOF
26794 done
26801 CXXFLAGS="$ac_save_CXXFLAGS"
26804 # For /dev/random and /dev/urandom for TR1.
26807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26808 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26809 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26810 $as_echo_n "(cached) " >&6
26811 else
26813 if test -r /dev/random && test -r /dev/urandom; then
26814 ## For MSys environment the test above is detect as false-positive
26815 ## on mingw-targets. So disable it explicit for them.
26816 case ${target_os} in
26817 *mingw*) glibcxx_cv_random_tr1=no ;;
26818 *) glibcxx_cv_random_tr1=yes ;;
26819 esac
26820 else
26821 glibcxx_cv_random_tr1=no;
26826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26827 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26829 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26831 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26837 # For TLS support.
26840 # Check whether --enable-tls was given.
26841 if test "${enable_tls+set}" = set; then :
26842 enableval=$enable_tls;
26843 case "$enableval" in
26844 yes|no) ;;
26845 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26846 esac
26848 else
26849 enable_tls=yes
26853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26854 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26855 if test "${gcc_cv_have_tls+set}" = set; then :
26856 $as_echo_n "(cached) " >&6
26857 else
26859 if test "$cross_compiling" = yes; then :
26860 if test x$gcc_no_link = xyes; then
26861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26864 /* end confdefs.h. */
26865 __thread int a; int b; int main() { return a = b; }
26866 _ACEOF
26867 if ac_fn_c_try_link "$LINENO"; then :
26868 chktls_save_LDFLAGS="$LDFLAGS"
26869 case $host in
26870 *-*-linux*)
26871 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26873 esac
26874 chktls_save_CFLAGS="$CFLAGS"
26875 CFLAGS="-fPIC $CFLAGS"
26876 if test x$gcc_no_link = xyes; then
26877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26880 /* end confdefs.h. */
26881 int f() { return 0; }
26882 _ACEOF
26883 if ac_fn_c_try_link "$LINENO"; then :
26884 if test x$gcc_no_link = xyes; then
26885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26888 /* end confdefs.h. */
26889 __thread int a; int b; int f() { return a = b; }
26890 _ACEOF
26891 if ac_fn_c_try_link "$LINENO"; then :
26892 gcc_cv_have_tls=yes
26893 else
26894 gcc_cv_have_tls=no
26896 rm -f core conftest.err conftest.$ac_objext \
26897 conftest$ac_exeext conftest.$ac_ext
26898 else
26899 gcc_cv_have_tls=yes
26901 rm -f core conftest.err conftest.$ac_objext \
26902 conftest$ac_exeext conftest.$ac_ext
26903 CFLAGS="$chktls_save_CFLAGS"
26904 LDFLAGS="$chktls_save_LDFLAGS"
26905 else
26906 gcc_cv_have_tls=no
26908 rm -f core conftest.err conftest.$ac_objext \
26909 conftest$ac_exeext conftest.$ac_ext
26912 else
26913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26914 /* end confdefs.h. */
26915 __thread int a; int b; int main() { return a = b; }
26916 _ACEOF
26917 if ac_fn_c_try_run "$LINENO"; then :
26918 chktls_save_LDFLAGS="$LDFLAGS"
26919 LDFLAGS="-static $LDFLAGS"
26920 if test x$gcc_no_link = xyes; then
26921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26924 /* end confdefs.h. */
26925 int main() { return 0; }
26926 _ACEOF
26927 if ac_fn_c_try_link "$LINENO"; then :
26928 if test "$cross_compiling" = yes; then :
26929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26931 as_fn_error "cannot run test program while cross compiling
26932 See \`config.log' for more details." "$LINENO" 5; }
26933 else
26934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26935 /* end confdefs.h. */
26936 __thread int a; int b; int main() { return a = b; }
26937 _ACEOF
26938 if ac_fn_c_try_run "$LINENO"; then :
26939 gcc_cv_have_tls=yes
26940 else
26941 gcc_cv_have_tls=no
26943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26944 conftest.$ac_objext conftest.beam conftest.$ac_ext
26947 else
26948 gcc_cv_have_tls=yes
26950 rm -f core conftest.err conftest.$ac_objext \
26951 conftest$ac_exeext conftest.$ac_ext
26952 LDFLAGS="$chktls_save_LDFLAGS"
26953 if test $gcc_cv_have_tls = yes; then
26954 chktls_save_CFLAGS="$CFLAGS"
26955 thread_CFLAGS=failed
26956 for flag in '' '-pthread' '-lpthread'; do
26957 CFLAGS="$flag $chktls_save_CFLAGS"
26958 if test x$gcc_no_link = xyes; then
26959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26962 /* end confdefs.h. */
26963 #include <pthread.h>
26964 void *g(void *d) { return NULL; }
26966 main ()
26968 pthread_t t; pthread_create(&t,NULL,g,NULL);
26970 return 0;
26972 _ACEOF
26973 if ac_fn_c_try_link "$LINENO"; then :
26974 thread_CFLAGS="$flag"
26976 rm -f core conftest.err conftest.$ac_objext \
26977 conftest$ac_exeext conftest.$ac_ext
26978 if test "X$thread_CFLAGS" != Xfailed; then
26979 break
26981 done
26982 CFLAGS="$chktls_save_CFLAGS"
26983 if test "X$thread_CFLAGS" != Xfailed; then
26984 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26985 if test "$cross_compiling" = yes; then :
26986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26988 as_fn_error "cannot run test program while cross compiling
26989 See \`config.log' for more details." "$LINENO" 5; }
26990 else
26991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26992 /* end confdefs.h. */
26993 #include <pthread.h>
26994 __thread int a;
26995 static int *volatile a_in_other_thread;
26996 static void *
26997 thread_func (void *arg)
26999 a_in_other_thread = &a;
27000 return (void *)0;
27003 main ()
27005 pthread_t thread;
27006 void *thread_retval;
27007 int *volatile a_in_main_thread;
27008 a_in_main_thread = &a;
27009 if (pthread_create (&thread, (pthread_attr_t *)0,
27010 thread_func, (void *)0))
27011 return 0;
27012 if (pthread_join (thread, &thread_retval))
27013 return 0;
27014 return (a_in_other_thread == a_in_main_thread);
27016 return 0;
27018 _ACEOF
27019 if ac_fn_c_try_run "$LINENO"; then :
27020 gcc_cv_have_tls=yes
27021 else
27022 gcc_cv_have_tls=no
27024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27025 conftest.$ac_objext conftest.beam conftest.$ac_ext
27028 CFLAGS="$chktls_save_CFLAGS"
27031 else
27032 gcc_cv_have_tls=no
27034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27035 conftest.$ac_objext conftest.beam conftest.$ac_ext
27039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27040 $as_echo "$gcc_cv_have_tls" >&6; }
27041 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27043 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27047 for ac_func in __cxa_thread_atexit_impl
27048 do :
27049 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27050 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27051 cat >>confdefs.h <<_ACEOF
27052 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27053 _ACEOF
27056 done
27059 # For iconv support.
27061 if test "X$prefix" = "XNONE"; then
27062 acl_final_prefix="$ac_default_prefix"
27063 else
27064 acl_final_prefix="$prefix"
27066 if test "X$exec_prefix" = "XNONE"; then
27067 acl_final_exec_prefix='${prefix}'
27068 else
27069 acl_final_exec_prefix="$exec_prefix"
27071 acl_save_prefix="$prefix"
27072 prefix="$acl_final_prefix"
27073 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27074 prefix="$acl_save_prefix"
27077 # Check whether --with-gnu-ld was given.
27078 if test "${with_gnu_ld+set}" = set; then :
27079 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27080 else
27081 with_gnu_ld=no
27084 # Prepare PATH_SEPARATOR.
27085 # The user is always right.
27086 if test "${PATH_SEPARATOR+set}" != set; then
27087 echo "#! /bin/sh" >conf$$.sh
27088 echo "exit 0" >>conf$$.sh
27089 chmod +x conf$$.sh
27090 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27091 PATH_SEPARATOR=';'
27092 else
27093 PATH_SEPARATOR=:
27095 rm -f conf$$.sh
27097 ac_prog=ld
27098 if test "$GCC" = yes; then
27099 # Check if gcc -print-prog-name=ld gives a path.
27100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27101 $as_echo_n "checking for ld used by GCC... " >&6; }
27102 case $host in
27103 *-*-mingw*)
27104 # gcc leaves a trailing carriage return which upsets mingw
27105 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27107 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27108 esac
27109 case $ac_prog in
27110 # Accept absolute paths.
27111 [\\/]* | [A-Za-z]:[\\/]*)
27112 re_direlt='/[^/][^/]*/\.\./'
27113 # Canonicalize the path of ld
27114 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27115 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27116 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27117 done
27118 test -z "$LD" && LD="$ac_prog"
27121 # If it fails, then pretend we aren't using GCC.
27122 ac_prog=ld
27125 # If it is relative, then search for the first ld in PATH.
27126 with_gnu_ld=unknown
27128 esac
27129 elif test "$with_gnu_ld" = yes; then
27130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27131 $as_echo_n "checking for GNU ld... " >&6; }
27132 else
27133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27134 $as_echo_n "checking for non-GNU ld... " >&6; }
27136 if test "${acl_cv_path_LD+set}" = set; then :
27137 $as_echo_n "(cached) " >&6
27138 else
27139 if test -z "$LD"; then
27140 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27141 for ac_dir in $PATH; do
27142 test -z "$ac_dir" && ac_dir=.
27143 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27144 acl_cv_path_LD="$ac_dir/$ac_prog"
27145 # Check to see if the program is GNU ld. I'd rather use --version,
27146 # but apparently some GNU ld's only accept -v.
27147 # Break only if it was the GNU/non-GNU ld that we prefer.
27148 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27149 test "$with_gnu_ld" != no && break
27150 else
27151 test "$with_gnu_ld" != yes && break
27154 done
27155 IFS="$ac_save_ifs"
27156 else
27157 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27161 LD="$acl_cv_path_LD"
27162 if test -n "$LD"; then
27163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27164 $as_echo "$LD" >&6; }
27165 else
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27167 $as_echo "no" >&6; }
27169 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27171 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27172 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27173 $as_echo_n "(cached) " >&6
27174 else
27175 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27176 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27177 acl_cv_prog_gnu_ld=yes
27178 else
27179 acl_cv_prog_gnu_ld=no
27182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27183 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27184 with_gnu_ld=$acl_cv_prog_gnu_ld
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27189 $as_echo_n "checking for shared library run path origin... " >&6; }
27190 if test "${acl_cv_rpath+set}" = set; then :
27191 $as_echo_n "(cached) " >&6
27192 else
27194 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27195 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27196 . ./conftest.sh
27197 rm -f ./conftest.sh
27198 acl_cv_rpath=done
27201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27202 $as_echo "$acl_cv_rpath" >&6; }
27203 wl="$acl_cv_wl"
27204 libext="$acl_cv_libext"
27205 shlibext="$acl_cv_shlibext"
27206 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27207 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27208 hardcode_direct="$acl_cv_hardcode_direct"
27209 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27210 # Check whether --enable-rpath was given.
27211 if test "${enable_rpath+set}" = set; then :
27212 enableval=$enable_rpath; :
27213 else
27214 enable_rpath=yes
27224 use_additional=yes
27226 acl_save_prefix="$prefix"
27227 prefix="$acl_final_prefix"
27228 acl_save_exec_prefix="$exec_prefix"
27229 exec_prefix="$acl_final_exec_prefix"
27231 eval additional_includedir=\"$includedir\"
27232 eval additional_libdir=\"$libdir\"
27234 exec_prefix="$acl_save_exec_prefix"
27235 prefix="$acl_save_prefix"
27238 # Check whether --with-libiconv-prefix was given.
27239 if test "${with_libiconv_prefix+set}" = set; then :
27240 withval=$with_libiconv_prefix;
27241 if test "X$withval" = "Xno"; then
27242 use_additional=no
27243 else
27244 if test "X$withval" = "X"; then
27246 acl_save_prefix="$prefix"
27247 prefix="$acl_final_prefix"
27248 acl_save_exec_prefix="$exec_prefix"
27249 exec_prefix="$acl_final_exec_prefix"
27251 eval additional_includedir=\"$includedir\"
27252 eval additional_libdir=\"$libdir\"
27254 exec_prefix="$acl_save_exec_prefix"
27255 prefix="$acl_save_prefix"
27257 else
27258 additional_includedir="$withval/include"
27259 additional_libdir="$withval/lib"
27265 LIBICONV=
27266 LTLIBICONV=
27267 INCICONV=
27268 rpathdirs=
27269 ltrpathdirs=
27270 names_already_handled=
27271 names_next_round='iconv '
27272 while test -n "$names_next_round"; do
27273 names_this_round="$names_next_round"
27274 names_next_round=
27275 for name in $names_this_round; do
27276 already_handled=
27277 for n in $names_already_handled; do
27278 if test "$n" = "$name"; then
27279 already_handled=yes
27280 break
27282 done
27283 if test -z "$already_handled"; then
27284 names_already_handled="$names_already_handled $name"
27285 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27286 eval value=\"\$HAVE_LIB$uppername\"
27287 if test -n "$value"; then
27288 if test "$value" = yes; then
27289 eval value=\"\$LIB$uppername\"
27290 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27291 eval value=\"\$LTLIB$uppername\"
27292 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27293 else
27296 else
27297 found_dir=
27298 found_la=
27299 found_so=
27300 found_a=
27301 if test $use_additional = yes; then
27302 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27303 found_dir="$additional_libdir"
27304 found_so="$additional_libdir/lib$name.$shlibext"
27305 if test -f "$additional_libdir/lib$name.la"; then
27306 found_la="$additional_libdir/lib$name.la"
27308 else
27309 if test -f "$additional_libdir/lib$name.$libext"; then
27310 found_dir="$additional_libdir"
27311 found_a="$additional_libdir/lib$name.$libext"
27312 if test -f "$additional_libdir/lib$name.la"; then
27313 found_la="$additional_libdir/lib$name.la"
27318 if test "X$found_dir" = "X"; then
27319 for x in $LDFLAGS $LTLIBICONV; do
27321 acl_save_prefix="$prefix"
27322 prefix="$acl_final_prefix"
27323 acl_save_exec_prefix="$exec_prefix"
27324 exec_prefix="$acl_final_exec_prefix"
27325 eval x=\"$x\"
27326 exec_prefix="$acl_save_exec_prefix"
27327 prefix="$acl_save_prefix"
27329 case "$x" in
27330 -L*)
27331 dir=`echo "X$x" | sed -e 's/^X-L//'`
27332 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27333 found_dir="$dir"
27334 found_so="$dir/lib$name.$shlibext"
27335 if test -f "$dir/lib$name.la"; then
27336 found_la="$dir/lib$name.la"
27338 else
27339 if test -f "$dir/lib$name.$libext"; then
27340 found_dir="$dir"
27341 found_a="$dir/lib$name.$libext"
27342 if test -f "$dir/lib$name.la"; then
27343 found_la="$dir/lib$name.la"
27348 esac
27349 if test "X$found_dir" != "X"; then
27350 break
27352 done
27354 if test "X$found_dir" != "X"; then
27355 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27356 if test "X$found_so" != "X"; then
27357 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27358 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27359 else
27360 haveit=
27361 for x in $ltrpathdirs; do
27362 if test "X$x" = "X$found_dir"; then
27363 haveit=yes
27364 break
27366 done
27367 if test -z "$haveit"; then
27368 ltrpathdirs="$ltrpathdirs $found_dir"
27370 if test "$hardcode_direct" = yes; then
27371 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27372 else
27373 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27374 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27375 haveit=
27376 for x in $rpathdirs; do
27377 if test "X$x" = "X$found_dir"; then
27378 haveit=yes
27379 break
27381 done
27382 if test -z "$haveit"; then
27383 rpathdirs="$rpathdirs $found_dir"
27385 else
27386 haveit=
27387 for x in $LDFLAGS $LIBICONV; do
27389 acl_save_prefix="$prefix"
27390 prefix="$acl_final_prefix"
27391 acl_save_exec_prefix="$exec_prefix"
27392 exec_prefix="$acl_final_exec_prefix"
27393 eval x=\"$x\"
27394 exec_prefix="$acl_save_exec_prefix"
27395 prefix="$acl_save_prefix"
27397 if test "X$x" = "X-L$found_dir"; then
27398 haveit=yes
27399 break
27401 done
27402 if test -z "$haveit"; then
27403 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27405 if test "$hardcode_minus_L" != no; then
27406 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27407 else
27408 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27413 else
27414 if test "X$found_a" != "X"; then
27415 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27416 else
27417 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27420 additional_includedir=
27421 case "$found_dir" in
27422 */lib | */lib/)
27423 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27424 additional_includedir="$basedir/include"
27426 esac
27427 if test "X$additional_includedir" != "X"; then
27428 if test "X$additional_includedir" != "X/usr/include"; then
27429 haveit=
27430 if test "X$additional_includedir" = "X/usr/local/include"; then
27431 if test -n "$GCC"; then
27432 case $host_os in
27433 linux*) haveit=yes;;
27434 esac
27437 if test -z "$haveit"; then
27438 for x in $CPPFLAGS $INCICONV; do
27440 acl_save_prefix="$prefix"
27441 prefix="$acl_final_prefix"
27442 acl_save_exec_prefix="$exec_prefix"
27443 exec_prefix="$acl_final_exec_prefix"
27444 eval x=\"$x\"
27445 exec_prefix="$acl_save_exec_prefix"
27446 prefix="$acl_save_prefix"
27448 if test "X$x" = "X-I$additional_includedir"; then
27449 haveit=yes
27450 break
27452 done
27453 if test -z "$haveit"; then
27454 if test -d "$additional_includedir"; then
27455 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27461 if test -n "$found_la"; then
27462 save_libdir="$libdir"
27463 case "$found_la" in
27464 */* | *\\*) . "$found_la" ;;
27465 *) . "./$found_la" ;;
27466 esac
27467 libdir="$save_libdir"
27468 for dep in $dependency_libs; do
27469 case "$dep" in
27470 -L*)
27471 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27472 if test "X$additional_libdir" != "X/usr/lib"; then
27473 haveit=
27474 if test "X$additional_libdir" = "X/usr/local/lib"; then
27475 if test -n "$GCC"; then
27476 case $host_os in
27477 linux*) haveit=yes;;
27478 esac
27481 if test -z "$haveit"; then
27482 haveit=
27483 for x in $LDFLAGS $LIBICONV; do
27485 acl_save_prefix="$prefix"
27486 prefix="$acl_final_prefix"
27487 acl_save_exec_prefix="$exec_prefix"
27488 exec_prefix="$acl_final_exec_prefix"
27489 eval x=\"$x\"
27490 exec_prefix="$acl_save_exec_prefix"
27491 prefix="$acl_save_prefix"
27493 if test "X$x" = "X-L$additional_libdir"; then
27494 haveit=yes
27495 break
27497 done
27498 if test -z "$haveit"; then
27499 if test -d "$additional_libdir"; then
27500 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27503 haveit=
27504 for x in $LDFLAGS $LTLIBICONV; do
27506 acl_save_prefix="$prefix"
27507 prefix="$acl_final_prefix"
27508 acl_save_exec_prefix="$exec_prefix"
27509 exec_prefix="$acl_final_exec_prefix"
27510 eval x=\"$x\"
27511 exec_prefix="$acl_save_exec_prefix"
27512 prefix="$acl_save_prefix"
27514 if test "X$x" = "X-L$additional_libdir"; then
27515 haveit=yes
27516 break
27518 done
27519 if test -z "$haveit"; then
27520 if test -d "$additional_libdir"; then
27521 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27527 -R*)
27528 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27529 if test "$enable_rpath" != no; then
27530 haveit=
27531 for x in $rpathdirs; do
27532 if test "X$x" = "X$dir"; then
27533 haveit=yes
27534 break
27536 done
27537 if test -z "$haveit"; then
27538 rpathdirs="$rpathdirs $dir"
27540 haveit=
27541 for x in $ltrpathdirs; do
27542 if test "X$x" = "X$dir"; then
27543 haveit=yes
27544 break
27546 done
27547 if test -z "$haveit"; then
27548 ltrpathdirs="$ltrpathdirs $dir"
27552 -l*)
27553 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27555 *.la)
27556 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27559 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27560 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27562 esac
27563 done
27565 else
27566 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27567 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27571 done
27572 done
27573 if test "X$rpathdirs" != "X"; then
27574 if test -n "$hardcode_libdir_separator"; then
27575 alldirs=
27576 for found_dir in $rpathdirs; do
27577 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27578 done
27579 acl_save_libdir="$libdir"
27580 libdir="$alldirs"
27581 eval flag=\"$hardcode_libdir_flag_spec\"
27582 libdir="$acl_save_libdir"
27583 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27584 else
27585 for found_dir in $rpathdirs; do
27586 acl_save_libdir="$libdir"
27587 libdir="$found_dir"
27588 eval flag=\"$hardcode_libdir_flag_spec\"
27589 libdir="$acl_save_libdir"
27590 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27591 done
27594 if test "X$ltrpathdirs" != "X"; then
27595 for found_dir in $ltrpathdirs; do
27596 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27597 done
27606 am_save_CPPFLAGS="$CPPFLAGS"
27608 for element in $INCICONV; do
27609 haveit=
27610 for x in $CPPFLAGS; do
27612 acl_save_prefix="$prefix"
27613 prefix="$acl_final_prefix"
27614 acl_save_exec_prefix="$exec_prefix"
27615 exec_prefix="$acl_final_exec_prefix"
27616 eval x=\"$x\"
27617 exec_prefix="$acl_save_exec_prefix"
27618 prefix="$acl_save_prefix"
27620 if test "X$x" = "X$element"; then
27621 haveit=yes
27622 break
27624 done
27625 if test -z "$haveit"; then
27626 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27628 done
27631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27632 $as_echo_n "checking for iconv... " >&6; }
27633 if test "${am_cv_func_iconv+set}" = set; then :
27634 $as_echo_n "(cached) " >&6
27635 else
27637 am_cv_func_iconv="no, consider installing GNU libiconv"
27638 am_cv_lib_iconv=no
27639 if test x$gcc_no_link = xyes; then
27640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27643 /* end confdefs.h. */
27644 #include <stdlib.h>
27645 #include <iconv.h>
27647 main ()
27649 iconv_t cd = iconv_open("","");
27650 iconv(cd,NULL,NULL,NULL,NULL);
27651 iconv_close(cd);
27653 return 0;
27655 _ACEOF
27656 if ac_fn_c_try_link "$LINENO"; then :
27657 am_cv_func_iconv=yes
27659 rm -f core conftest.err conftest.$ac_objext \
27660 conftest$ac_exeext conftest.$ac_ext
27661 if test "$am_cv_func_iconv" != yes; then
27662 am_save_LIBS="$LIBS"
27663 LIBS="$LIBS $LIBICONV"
27664 if test x$gcc_no_link = xyes; then
27665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27668 /* end confdefs.h. */
27669 #include <stdlib.h>
27670 #include <iconv.h>
27672 main ()
27674 iconv_t cd = iconv_open("","");
27675 iconv(cd,NULL,NULL,NULL,NULL);
27676 iconv_close(cd);
27678 return 0;
27680 _ACEOF
27681 if ac_fn_c_try_link "$LINENO"; then :
27682 am_cv_lib_iconv=yes
27683 am_cv_func_iconv=yes
27685 rm -f core conftest.err conftest.$ac_objext \
27686 conftest$ac_exeext conftest.$ac_ext
27687 LIBS="$am_save_LIBS"
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27692 $as_echo "$am_cv_func_iconv" >&6; }
27693 if test "$am_cv_func_iconv" = yes; then
27695 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27698 if test "$am_cv_lib_iconv" = yes; then
27699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27700 $as_echo_n "checking how to link with libiconv... " >&6; }
27701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27702 $as_echo "$LIBICONV" >&6; }
27703 else
27704 CPPFLAGS="$am_save_CPPFLAGS"
27705 LIBICONV=
27706 LTLIBICONV=
27711 if test "$am_cv_func_iconv" = yes; then
27712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27713 $as_echo_n "checking for iconv declaration... " >&6; }
27714 if test "${am_cv_proto_iconv+set}" = set; then :
27715 $as_echo_n "(cached) " >&6
27716 else
27718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27719 /* end confdefs.h. */
27721 #include <stdlib.h>
27722 #include <iconv.h>
27723 extern
27724 #ifdef __cplusplus
27726 #endif
27727 #if defined(__STDC__) || defined(__cplusplus)
27728 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27729 #else
27730 size_t iconv();
27731 #endif
27734 main ()
27738 return 0;
27740 _ACEOF
27741 if ac_fn_c_try_compile "$LINENO"; then :
27742 am_cv_proto_iconv_arg1=""
27743 else
27744 am_cv_proto_iconv_arg1="const"
27746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27747 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);"
27750 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27752 }$am_cv_proto_iconv" >&5
27753 $as_echo "${ac_t:-
27754 }$am_cv_proto_iconv" >&6; }
27756 cat >>confdefs.h <<_ACEOF
27757 #define ICONV_CONST $am_cv_proto_iconv_arg1
27758 _ACEOF
27763 else
27765 # This lets us hard-code the functionality we know we'll have in the cross
27766 # target environment. "Let" is a sugar-coated word placed on an especially
27767 # dull and tedious hack, actually.
27769 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27770 # that involve linking, can't be used:
27771 # "cannot open sim-crt0.o"
27772 # "cannot open crt0.o"
27773 # etc. All this is because there currently exists no unified, consistent
27774 # way for top level CC information to be passed down to target directories:
27775 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27776 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27777 # crosses can be removed.
27779 # If Canadian cross, then don't pick up tools from the build directory.
27780 # Used only in GLIBCXX_EXPORT_INCLUDES.
27781 if test -n "$with_cross_host" &&
27782 test x"$build_alias" != x"$with_cross_host" &&
27783 test x"$build" != x"$target";
27784 then
27785 CANADIAN=yes
27786 else
27787 CANADIAN=no
27790 # Construct crosses by hand, eliminating bits that need ld...
27791 # GLIBCXX_CHECK_MATH_SUPPORT
27793 # First, test for "known" system libraries. We may be using newlib even
27794 # on a hosted environment.
27795 if test "x${with_newlib}" = "xyes"; then
27796 os_include_dir="os/newlib"
27797 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27800 # GLIBCXX_CHECK_STDLIB_SUPPORT
27801 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27804 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27806 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27808 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27810 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27812 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27814 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27816 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27818 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27820 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27822 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27824 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27826 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27828 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27830 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27832 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27834 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27836 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27838 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27840 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27842 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27844 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27846 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27849 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27851 else
27853 # Base decisions on target environment.
27854 case "${host}" in
27855 arm*-*-symbianelf*)
27856 # This is a freestanding configuration; there is nothing to do here.
27859 mips*-sde-elf*)
27860 # These definitions are for the SDE C library rather than newlib.
27861 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27864 # All these tests are for C++; save the language and the compiler flags.
27865 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27866 # found in GLIBCXX_CONFIGURE.
27868 ac_ext=cpp
27869 ac_cpp='$CXXCPP $CPPFLAGS'
27870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27874 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27875 ac_save_CXXFLAGS="$CXXFLAGS"
27877 # Check for maintainer-mode bits.
27878 if test x"$USE_MAINTAINER_MODE" = xno; then
27879 WERROR=''
27880 else
27881 WERROR='-Werror'
27884 # Check for -ffunction-sections -fdata-sections
27885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27886 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27887 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27889 /* end confdefs.h. */
27890 int foo; void bar() { };
27892 main ()
27896 return 0;
27898 _ACEOF
27899 if ac_fn_cxx_try_compile "$LINENO"; then :
27900 ac_fdsections=yes
27901 else
27902 ac_fdsections=no
27904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27905 if test "$ac_test_CXXFLAGS" = set; then
27906 CXXFLAGS="$ac_save_CXXFLAGS"
27907 else
27908 # this is the suspicious part
27909 CXXFLAGS=''
27911 if test x"$ac_fdsections" = x"yes"; then
27912 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27915 $as_echo "$ac_fdsections" >&6; }
27917 ac_ext=c
27918 ac_cpp='$CPP $CPPFLAGS'
27919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27927 # If we're not using GNU ld, then there's no point in even trying these
27928 # tests. Check for that first. We should have already tested for gld
27929 # by now (in libtool), but require it now just to be safe...
27930 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27931 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27935 # The name set by libtool depends on the version of libtool. Shame on us
27936 # for depending on an impl detail, but c'est la vie. Older versions used
27937 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27938 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27939 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27940 # set (hence we're using an older libtool), then set it.
27941 if test x${with_gnu_ld+set} != xset; then
27942 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27943 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27944 with_gnu_ld=no
27945 else
27946 with_gnu_ld=$ac_cv_prog_gnu_ld
27950 # Start by getting the version number. I think the libtool test already
27951 # does some of this, but throws away the result.
27952 glibcxx_ld_is_gold=no
27953 if test x"$with_gnu_ld" = x"yes"; then
27954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27955 $as_echo_n "checking for ld version... " >&6; }
27957 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27958 glibcxx_ld_is_gold=yes
27960 ldver=`$LD --version 2>/dev/null |
27961 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'`
27963 glibcxx_gnu_ld_version=`echo $ldver | \
27964 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27966 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27969 # Set --gc-sections.
27970 glibcxx_have_gc_sections=no
27971 if test "$glibcxx_ld_is_gold" = "yes"; then
27972 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27973 glibcxx_have_gc_sections=yes
27975 else
27976 glibcxx_gcsections_min_ld=21602
27977 if test x"$with_gnu_ld" = x"yes" &&
27978 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27979 glibcxx_have_gc_sections=yes
27982 if test "$glibcxx_have_gc_sections" = "yes"; then
27983 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27984 # NB: This flag only works reliably after 2.16.1. Configure tests
27985 # for this are difficult, so hard wire a value that should work.
27987 ac_test_CFLAGS="${CFLAGS+set}"
27988 ac_save_CFLAGS="$CFLAGS"
27989 CFLAGS='-Wl,--gc-sections'
27991 # Check for -Wl,--gc-sections
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27993 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27994 if test x$gcc_no_link = xyes; then
27995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27998 /* end confdefs.h. */
27999 int one(void) { return 1; }
28000 int two(void) { return 2; }
28003 main ()
28005 two();
28007 return 0;
28009 _ACEOF
28010 if ac_fn_c_try_link "$LINENO"; then :
28011 ac_gcsections=yes
28012 else
28013 ac_gcsections=no
28015 rm -f core conftest.err conftest.$ac_objext \
28016 conftest$ac_exeext conftest.$ac_ext
28017 if test "$ac_gcsections" = "yes"; then
28018 rm -f conftest.c
28019 touch conftest.c
28020 if $CC -c conftest.c; then
28021 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28022 grep "Warning: gc-sections option ignored" > /dev/null; then
28023 ac_gcsections=no
28026 rm -f conftest.c conftest.o conftest
28028 if test "$ac_gcsections" = "yes"; then
28029 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28032 $as_echo "$ac_gcsections" >&6; }
28034 if test "$ac_test_CFLAGS" = set; then
28035 CFLAGS="$ac_save_CFLAGS"
28036 else
28037 # this is the suspicious part
28038 CFLAGS=''
28042 # Set -z,relro.
28043 # Note this is only for shared objects.
28044 ac_ld_relro=no
28045 if test x"$with_gnu_ld" = x"yes"; then
28046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28047 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28048 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28049 if test -n "$cxx_z_relo"; then
28050 OPT_LDFLAGS="-Wl,-z,relro"
28051 ac_ld_relro=yes
28053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28054 $as_echo "$ac_ld_relro" >&6; }
28057 # Set linker optimization flags.
28058 if test x"$with_gnu_ld" = x"yes"; then
28059 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28066 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28067 ac_save_CXXFLAGS="$CXXFLAGS"
28068 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28071 $as_echo_n "checking for sin in -lm... " >&6; }
28072 if test "${ac_cv_lib_m_sin+set}" = set; then :
28073 $as_echo_n "(cached) " >&6
28074 else
28075 ac_check_lib_save_LIBS=$LIBS
28076 LIBS="-lm $LIBS"
28077 if test x$gcc_no_link = xyes; then
28078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28081 /* end confdefs.h. */
28083 /* Override any GCC internal prototype to avoid an error.
28084 Use char because int might match the return type of a GCC
28085 builtin and then its argument prototype would still apply. */
28086 #ifdef __cplusplus
28087 extern "C"
28088 #endif
28089 char sin ();
28091 main ()
28093 return sin ();
28095 return 0;
28097 _ACEOF
28098 if ac_fn_c_try_link "$LINENO"; then :
28099 ac_cv_lib_m_sin=yes
28100 else
28101 ac_cv_lib_m_sin=no
28103 rm -f core conftest.err conftest.$ac_objext \
28104 conftest$ac_exeext conftest.$ac_ext
28105 LIBS=$ac_check_lib_save_LIBS
28107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28108 $as_echo "$ac_cv_lib_m_sin" >&6; }
28109 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28110 libm="-lm"
28113 ac_save_LIBS="$LIBS"
28114 LIBS="$LIBS $libm"
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28119 $as_echo_n "checking for isinf declaration... " >&6; }
28120 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28121 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28122 $as_echo_n "(cached) " >&6
28123 else
28126 ac_ext=cpp
28127 ac_cpp='$CXXCPP $CPPFLAGS'
28128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28133 /* end confdefs.h. */
28134 #include <math.h>
28135 #ifdef HAVE_IEEEFP_H
28136 #include <ieeefp.h>
28137 #endif
28140 main ()
28142 isinf(0);
28144 return 0;
28146 _ACEOF
28147 if ac_fn_cxx_try_compile "$LINENO"; then :
28148 glibcxx_cv_func_isinf_use=yes
28149 else
28150 glibcxx_cv_func_isinf_use=no
28152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153 ac_ext=c
28154 ac_cpp='$CPP $CPPFLAGS'
28155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28164 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28166 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28167 for ac_func in isinf
28168 do :
28169 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28170 if test "x$ac_cv_func_isinf" = x""yes; then :
28171 cat >>confdefs.h <<_ACEOF
28172 #define HAVE_ISINF 1
28173 _ACEOF
28176 done
28178 else
28180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28181 $as_echo_n "checking for _isinf declaration... " >&6; }
28182 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28183 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28184 $as_echo_n "(cached) " >&6
28185 else
28188 ac_ext=cpp
28189 ac_cpp='$CXXCPP $CPPFLAGS'
28190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28195 /* end confdefs.h. */
28196 #include <math.h>
28197 #ifdef HAVE_IEEEFP_H
28198 #include <ieeefp.h>
28199 #endif
28202 main ()
28204 _isinf(0);
28206 return 0;
28208 _ACEOF
28209 if ac_fn_cxx_try_compile "$LINENO"; then :
28210 glibcxx_cv_func__isinf_use=yes
28211 else
28212 glibcxx_cv_func__isinf_use=no
28214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28215 ac_ext=c
28216 ac_cpp='$CPP $CPPFLAGS'
28217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28226 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28228 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28229 for ac_func in _isinf
28230 do :
28231 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28232 if test "x$ac_cv_func__isinf" = x""yes; then :
28233 cat >>confdefs.h <<_ACEOF
28234 #define HAVE__ISINF 1
28235 _ACEOF
28238 done
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28248 $as_echo_n "checking for isnan declaration... " >&6; }
28249 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28250 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28251 $as_echo_n "(cached) " >&6
28252 else
28255 ac_ext=cpp
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28262 /* end confdefs.h. */
28263 #include <math.h>
28264 #ifdef HAVE_IEEEFP_H
28265 #include <ieeefp.h>
28266 #endif
28269 main ()
28271 isnan(0);
28273 return 0;
28275 _ACEOF
28276 if ac_fn_cxx_try_compile "$LINENO"; then :
28277 glibcxx_cv_func_isnan_use=yes
28278 else
28279 glibcxx_cv_func_isnan_use=no
28281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28282 ac_ext=c
28283 ac_cpp='$CPP $CPPFLAGS'
28284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28293 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28295 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28296 for ac_func in isnan
28297 do :
28298 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28299 if test "x$ac_cv_func_isnan" = x""yes; then :
28300 cat >>confdefs.h <<_ACEOF
28301 #define HAVE_ISNAN 1
28302 _ACEOF
28305 done
28307 else
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28310 $as_echo_n "checking for _isnan declaration... " >&6; }
28311 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28312 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28313 $as_echo_n "(cached) " >&6
28314 else
28317 ac_ext=cpp
28318 ac_cpp='$CXXCPP $CPPFLAGS'
28319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28324 /* end confdefs.h. */
28325 #include <math.h>
28326 #ifdef HAVE_IEEEFP_H
28327 #include <ieeefp.h>
28328 #endif
28331 main ()
28333 _isnan(0);
28335 return 0;
28337 _ACEOF
28338 if ac_fn_cxx_try_compile "$LINENO"; then :
28339 glibcxx_cv_func__isnan_use=yes
28340 else
28341 glibcxx_cv_func__isnan_use=no
28343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28344 ac_ext=c
28345 ac_cpp='$CPP $CPPFLAGS'
28346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28355 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28357 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28358 for ac_func in _isnan
28359 do :
28360 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28361 if test "x$ac_cv_func__isnan" = x""yes; then :
28362 cat >>confdefs.h <<_ACEOF
28363 #define HAVE__ISNAN 1
28364 _ACEOF
28367 done
28376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28377 $as_echo_n "checking for finite declaration... " >&6; }
28378 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28379 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28380 $as_echo_n "(cached) " >&6
28381 else
28384 ac_ext=cpp
28385 ac_cpp='$CXXCPP $CPPFLAGS'
28386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28391 /* end confdefs.h. */
28392 #include <math.h>
28393 #ifdef HAVE_IEEEFP_H
28394 #include <ieeefp.h>
28395 #endif
28398 main ()
28400 finite(0);
28402 return 0;
28404 _ACEOF
28405 if ac_fn_cxx_try_compile "$LINENO"; then :
28406 glibcxx_cv_func_finite_use=yes
28407 else
28408 glibcxx_cv_func_finite_use=no
28410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28411 ac_ext=c
28412 ac_cpp='$CPP $CPPFLAGS'
28413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28422 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28424 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28425 for ac_func in finite
28426 do :
28427 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28428 if test "x$ac_cv_func_finite" = x""yes; then :
28429 cat >>confdefs.h <<_ACEOF
28430 #define HAVE_FINITE 1
28431 _ACEOF
28434 done
28436 else
28438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28439 $as_echo_n "checking for _finite declaration... " >&6; }
28440 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28441 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28442 $as_echo_n "(cached) " >&6
28443 else
28446 ac_ext=cpp
28447 ac_cpp='$CXXCPP $CPPFLAGS'
28448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28453 /* end confdefs.h. */
28454 #include <math.h>
28455 #ifdef HAVE_IEEEFP_H
28456 #include <ieeefp.h>
28457 #endif
28460 main ()
28462 _finite(0);
28464 return 0;
28466 _ACEOF
28467 if ac_fn_cxx_try_compile "$LINENO"; then :
28468 glibcxx_cv_func__finite_use=yes
28469 else
28470 glibcxx_cv_func__finite_use=no
28472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28473 ac_ext=c
28474 ac_cpp='$CPP $CPPFLAGS'
28475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28484 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28486 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28487 for ac_func in _finite
28488 do :
28489 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28490 if test "x$ac_cv_func__finite" = x""yes; then :
28491 cat >>confdefs.h <<_ACEOF
28492 #define HAVE__FINITE 1
28493 _ACEOF
28496 done
28505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28506 $as_echo_n "checking for sincos declaration... " >&6; }
28507 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28508 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28509 $as_echo_n "(cached) " >&6
28510 else
28513 ac_ext=cpp
28514 ac_cpp='$CXXCPP $CPPFLAGS'
28515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28520 /* end confdefs.h. */
28521 #include <math.h>
28523 main ()
28525 sincos(0, 0, 0);
28527 return 0;
28529 _ACEOF
28530 if ac_fn_cxx_try_compile "$LINENO"; then :
28531 glibcxx_cv_func_sincos_use=yes
28532 else
28533 glibcxx_cv_func_sincos_use=no
28535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28536 ac_ext=c
28537 ac_cpp='$CPP $CPPFLAGS'
28538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28547 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28549 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28550 for ac_func in sincos
28551 do :
28552 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28553 if test "x$ac_cv_func_sincos" = x""yes; then :
28554 cat >>confdefs.h <<_ACEOF
28555 #define HAVE_SINCOS 1
28556 _ACEOF
28559 done
28561 else
28563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28564 $as_echo_n "checking for _sincos declaration... " >&6; }
28565 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28566 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28567 $as_echo_n "(cached) " >&6
28568 else
28571 ac_ext=cpp
28572 ac_cpp='$CXXCPP $CPPFLAGS'
28573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28578 /* end confdefs.h. */
28579 #include <math.h>
28581 main ()
28583 _sincos(0, 0, 0);
28585 return 0;
28587 _ACEOF
28588 if ac_fn_cxx_try_compile "$LINENO"; then :
28589 glibcxx_cv_func__sincos_use=yes
28590 else
28591 glibcxx_cv_func__sincos_use=no
28593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28594 ac_ext=c
28595 ac_cpp='$CPP $CPPFLAGS'
28596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28605 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28607 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28608 for ac_func in _sincos
28609 do :
28610 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28611 if test "x$ac_cv_func__sincos" = x""yes; then :
28612 cat >>confdefs.h <<_ACEOF
28613 #define HAVE__SINCOS 1
28614 _ACEOF
28617 done
28626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28627 $as_echo_n "checking for fpclass declaration... " >&6; }
28628 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28629 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28630 $as_echo_n "(cached) " >&6
28631 else
28634 ac_ext=cpp
28635 ac_cpp='$CXXCPP $CPPFLAGS'
28636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28641 /* end confdefs.h. */
28642 #include <math.h>
28643 #ifdef HAVE_IEEEFP_H
28644 #include <ieeefp.h>
28645 #endif
28648 main ()
28650 fpclass(0);
28652 return 0;
28654 _ACEOF
28655 if ac_fn_cxx_try_compile "$LINENO"; then :
28656 glibcxx_cv_func_fpclass_use=yes
28657 else
28658 glibcxx_cv_func_fpclass_use=no
28660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28661 ac_ext=c
28662 ac_cpp='$CPP $CPPFLAGS'
28663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28672 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28674 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28675 for ac_func in fpclass
28676 do :
28677 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28678 if test "x$ac_cv_func_fpclass" = x""yes; then :
28679 cat >>confdefs.h <<_ACEOF
28680 #define HAVE_FPCLASS 1
28681 _ACEOF
28684 done
28686 else
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28689 $as_echo_n "checking for _fpclass declaration... " >&6; }
28690 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28691 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28692 $as_echo_n "(cached) " >&6
28693 else
28696 ac_ext=cpp
28697 ac_cpp='$CXXCPP $CPPFLAGS'
28698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28703 /* end confdefs.h. */
28704 #include <math.h>
28705 #ifdef HAVE_IEEEFP_H
28706 #include <ieeefp.h>
28707 #endif
28710 main ()
28712 _fpclass(0);
28714 return 0;
28716 _ACEOF
28717 if ac_fn_cxx_try_compile "$LINENO"; then :
28718 glibcxx_cv_func__fpclass_use=yes
28719 else
28720 glibcxx_cv_func__fpclass_use=no
28722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28723 ac_ext=c
28724 ac_cpp='$CPP $CPPFLAGS'
28725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28734 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28736 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28737 for ac_func in _fpclass
28738 do :
28739 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28740 if test "x$ac_cv_func__fpclass" = x""yes; then :
28741 cat >>confdefs.h <<_ACEOF
28742 #define HAVE__FPCLASS 1
28743 _ACEOF
28746 done
28755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28756 $as_echo_n "checking for qfpclass declaration... " >&6; }
28757 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28758 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28759 $as_echo_n "(cached) " >&6
28760 else
28763 ac_ext=cpp
28764 ac_cpp='$CXXCPP $CPPFLAGS'
28765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28770 /* end confdefs.h. */
28771 #include <math.h>
28772 #ifdef HAVE_IEEEFP_H
28773 #include <ieeefp.h>
28774 #endif
28777 main ()
28779 qfpclass(0);
28781 return 0;
28783 _ACEOF
28784 if ac_fn_cxx_try_compile "$LINENO"; then :
28785 glibcxx_cv_func_qfpclass_use=yes
28786 else
28787 glibcxx_cv_func_qfpclass_use=no
28789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28790 ac_ext=c
28791 ac_cpp='$CPP $CPPFLAGS'
28792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28801 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28803 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28804 for ac_func in qfpclass
28805 do :
28806 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28807 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28808 cat >>confdefs.h <<_ACEOF
28809 #define HAVE_QFPCLASS 1
28810 _ACEOF
28813 done
28815 else
28817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28818 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28819 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28820 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28821 $as_echo_n "(cached) " >&6
28822 else
28825 ac_ext=cpp
28826 ac_cpp='$CXXCPP $CPPFLAGS'
28827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28832 /* end confdefs.h. */
28833 #include <math.h>
28834 #ifdef HAVE_IEEEFP_H
28835 #include <ieeefp.h>
28836 #endif
28839 main ()
28841 _qfpclass(0);
28843 return 0;
28845 _ACEOF
28846 if ac_fn_cxx_try_compile "$LINENO"; then :
28847 glibcxx_cv_func__qfpclass_use=yes
28848 else
28849 glibcxx_cv_func__qfpclass_use=no
28851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28852 ac_ext=c
28853 ac_cpp='$CPP $CPPFLAGS'
28854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28863 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28865 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28866 for ac_func in _qfpclass
28867 do :
28868 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28869 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28870 cat >>confdefs.h <<_ACEOF
28871 #define HAVE__QFPCLASS 1
28872 _ACEOF
28875 done
28884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28885 $as_echo_n "checking for hypot declaration... " >&6; }
28886 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28887 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28888 $as_echo_n "(cached) " >&6
28889 else
28892 ac_ext=cpp
28893 ac_cpp='$CXXCPP $CPPFLAGS'
28894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28899 /* end confdefs.h. */
28900 #include <math.h>
28902 main ()
28904 hypot(0, 0);
28906 return 0;
28908 _ACEOF
28909 if ac_fn_cxx_try_compile "$LINENO"; then :
28910 glibcxx_cv_func_hypot_use=yes
28911 else
28912 glibcxx_cv_func_hypot_use=no
28914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28915 ac_ext=c
28916 ac_cpp='$CPP $CPPFLAGS'
28917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28926 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28928 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28929 for ac_func in hypot
28930 do :
28931 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28932 if test "x$ac_cv_func_hypot" = x""yes; then :
28933 cat >>confdefs.h <<_ACEOF
28934 #define HAVE_HYPOT 1
28935 _ACEOF
28938 done
28940 else
28942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28943 $as_echo_n "checking for _hypot declaration... " >&6; }
28944 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28945 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28946 $as_echo_n "(cached) " >&6
28947 else
28950 ac_ext=cpp
28951 ac_cpp='$CXXCPP $CPPFLAGS'
28952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28957 /* end confdefs.h. */
28958 #include <math.h>
28960 main ()
28962 _hypot(0, 0);
28964 return 0;
28966 _ACEOF
28967 if ac_fn_cxx_try_compile "$LINENO"; then :
28968 glibcxx_cv_func__hypot_use=yes
28969 else
28970 glibcxx_cv_func__hypot_use=no
28972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28973 ac_ext=c
28974 ac_cpp='$CPP $CPPFLAGS'
28975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28984 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28986 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28987 for ac_func in _hypot
28988 do :
28989 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28990 if test "x$ac_cv_func__hypot" = x""yes; then :
28991 cat >>confdefs.h <<_ACEOF
28992 #define HAVE__HYPOT 1
28993 _ACEOF
28996 done
29005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29006 $as_echo_n "checking for float trig functions... " >&6; }
29007 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29008 $as_echo_n "(cached) " >&6
29009 else
29012 ac_ext=cpp
29013 ac_cpp='$CXXCPP $CPPFLAGS'
29014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29019 /* end confdefs.h. */
29020 #include <math.h>
29022 main ()
29024 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29026 return 0;
29028 _ACEOF
29029 if ac_fn_cxx_try_compile "$LINENO"; then :
29030 glibcxx_cv_func_float_trig_use=yes
29031 else
29032 glibcxx_cv_func_float_trig_use=no
29034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29035 ac_ext=c
29036 ac_cpp='$CPP $CPPFLAGS'
29037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29044 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29045 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29046 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29047 do :
29048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29050 eval as_val=\$$as_ac_var
29051 if test "x$as_val" = x""yes; then :
29052 cat >>confdefs.h <<_ACEOF
29053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29054 _ACEOF
29057 done
29059 else
29060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29061 $as_echo_n "checking for _float trig functions... " >&6; }
29062 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29063 $as_echo_n "(cached) " >&6
29064 else
29067 ac_ext=cpp
29068 ac_cpp='$CXXCPP $CPPFLAGS'
29069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29074 /* end confdefs.h. */
29075 #include <math.h>
29077 main ()
29079 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29081 return 0;
29083 _ACEOF
29084 if ac_fn_cxx_try_compile "$LINENO"; then :
29085 glibcxx_cv_func__float_trig_use=yes
29086 else
29087 glibcxx_cv_func__float_trig_use=no
29089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29090 ac_ext=c
29091 ac_cpp='$CPP $CPPFLAGS'
29092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29099 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29100 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29101 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29102 do :
29103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29105 eval as_val=\$$as_ac_var
29106 if test "x$as_val" = x""yes; then :
29107 cat >>confdefs.h <<_ACEOF
29108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29109 _ACEOF
29112 done
29121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29122 $as_echo_n "checking for float round functions... " >&6; }
29123 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29124 $as_echo_n "(cached) " >&6
29125 else
29128 ac_ext=cpp
29129 ac_cpp='$CXXCPP $CPPFLAGS'
29130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29135 /* end confdefs.h. */
29136 #include <math.h>
29138 main ()
29140 ceilf (0); floorf (0);
29142 return 0;
29144 _ACEOF
29145 if ac_fn_cxx_try_compile "$LINENO"; then :
29146 glibcxx_cv_func_float_round_use=yes
29147 else
29148 glibcxx_cv_func_float_round_use=no
29150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29151 ac_ext=c
29152 ac_cpp='$CPP $CPPFLAGS'
29153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29160 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29161 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29162 for ac_func in ceilf floorf
29163 do :
29164 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29166 eval as_val=\$$as_ac_var
29167 if test "x$as_val" = x""yes; then :
29168 cat >>confdefs.h <<_ACEOF
29169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29170 _ACEOF
29173 done
29175 else
29176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29177 $as_echo_n "checking for _float round functions... " >&6; }
29178 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29179 $as_echo_n "(cached) " >&6
29180 else
29183 ac_ext=cpp
29184 ac_cpp='$CXXCPP $CPPFLAGS'
29185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29190 /* end confdefs.h. */
29191 #include <math.h>
29193 main ()
29195 _ceilf (0); _floorf (0);
29197 return 0;
29199 _ACEOF
29200 if ac_fn_cxx_try_compile "$LINENO"; then :
29201 glibcxx_cv_func__float_round_use=yes
29202 else
29203 glibcxx_cv_func__float_round_use=no
29205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29206 ac_ext=c
29207 ac_cpp='$CPP $CPPFLAGS'
29208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29215 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29216 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29217 for ac_func in _ceilf _floorf
29218 do :
29219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29221 eval as_val=\$$as_ac_var
29222 if test "x$as_val" = x""yes; then :
29223 cat >>confdefs.h <<_ACEOF
29224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29225 _ACEOF
29228 done
29238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29239 $as_echo_n "checking for expf declaration... " >&6; }
29240 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29241 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29242 $as_echo_n "(cached) " >&6
29243 else
29246 ac_ext=cpp
29247 ac_cpp='$CXXCPP $CPPFLAGS'
29248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29253 /* end confdefs.h. */
29254 #include <math.h>
29255 #ifdef HAVE_IEEEFP_H
29256 #include <ieeefp.h>
29257 #endif
29260 main ()
29262 expf(0);
29264 return 0;
29266 _ACEOF
29267 if ac_fn_cxx_try_compile "$LINENO"; then :
29268 glibcxx_cv_func_expf_use=yes
29269 else
29270 glibcxx_cv_func_expf_use=no
29272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29273 ac_ext=c
29274 ac_cpp='$CPP $CPPFLAGS'
29275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29284 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29286 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29287 for ac_func in expf
29288 do :
29289 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29290 if test "x$ac_cv_func_expf" = x""yes; then :
29291 cat >>confdefs.h <<_ACEOF
29292 #define HAVE_EXPF 1
29293 _ACEOF
29296 done
29298 else
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29301 $as_echo_n "checking for _expf declaration... " >&6; }
29302 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29303 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29304 $as_echo_n "(cached) " >&6
29305 else
29308 ac_ext=cpp
29309 ac_cpp='$CXXCPP $CPPFLAGS'
29310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29315 /* end confdefs.h. */
29316 #include <math.h>
29317 #ifdef HAVE_IEEEFP_H
29318 #include <ieeefp.h>
29319 #endif
29322 main ()
29324 _expf(0);
29326 return 0;
29328 _ACEOF
29329 if ac_fn_cxx_try_compile "$LINENO"; then :
29330 glibcxx_cv_func__expf_use=yes
29331 else
29332 glibcxx_cv_func__expf_use=no
29334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29335 ac_ext=c
29336 ac_cpp='$CPP $CPPFLAGS'
29337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29346 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29348 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29349 for ac_func in _expf
29350 do :
29351 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29352 if test "x$ac_cv_func__expf" = x""yes; then :
29353 cat >>confdefs.h <<_ACEOF
29354 #define HAVE__EXPF 1
29355 _ACEOF
29358 done
29367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29368 $as_echo_n "checking for isnanf declaration... " >&6; }
29369 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29370 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29371 $as_echo_n "(cached) " >&6
29372 else
29375 ac_ext=cpp
29376 ac_cpp='$CXXCPP $CPPFLAGS'
29377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29382 /* end confdefs.h. */
29383 #include <math.h>
29384 #ifdef HAVE_IEEEFP_H
29385 #include <ieeefp.h>
29386 #endif
29389 main ()
29391 isnanf(0);
29393 return 0;
29395 _ACEOF
29396 if ac_fn_cxx_try_compile "$LINENO"; then :
29397 glibcxx_cv_func_isnanf_use=yes
29398 else
29399 glibcxx_cv_func_isnanf_use=no
29401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29402 ac_ext=c
29403 ac_cpp='$CPP $CPPFLAGS'
29404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29413 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29415 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29416 for ac_func in isnanf
29417 do :
29418 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29419 if test "x$ac_cv_func_isnanf" = x""yes; then :
29420 cat >>confdefs.h <<_ACEOF
29421 #define HAVE_ISNANF 1
29422 _ACEOF
29425 done
29427 else
29429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29430 $as_echo_n "checking for _isnanf declaration... " >&6; }
29431 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29432 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29433 $as_echo_n "(cached) " >&6
29434 else
29437 ac_ext=cpp
29438 ac_cpp='$CXXCPP $CPPFLAGS'
29439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29444 /* end confdefs.h. */
29445 #include <math.h>
29446 #ifdef HAVE_IEEEFP_H
29447 #include <ieeefp.h>
29448 #endif
29451 main ()
29453 _isnanf(0);
29455 return 0;
29457 _ACEOF
29458 if ac_fn_cxx_try_compile "$LINENO"; then :
29459 glibcxx_cv_func__isnanf_use=yes
29460 else
29461 glibcxx_cv_func__isnanf_use=no
29463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29464 ac_ext=c
29465 ac_cpp='$CPP $CPPFLAGS'
29466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29475 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29477 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29478 for ac_func in _isnanf
29479 do :
29480 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29481 if test "x$ac_cv_func__isnanf" = x""yes; then :
29482 cat >>confdefs.h <<_ACEOF
29483 #define HAVE__ISNANF 1
29484 _ACEOF
29487 done
29496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29497 $as_echo_n "checking for isinff declaration... " >&6; }
29498 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29499 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29500 $as_echo_n "(cached) " >&6
29501 else
29504 ac_ext=cpp
29505 ac_cpp='$CXXCPP $CPPFLAGS'
29506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29511 /* end confdefs.h. */
29512 #include <math.h>
29513 #ifdef HAVE_IEEEFP_H
29514 #include <ieeefp.h>
29515 #endif
29518 main ()
29520 isinff(0);
29522 return 0;
29524 _ACEOF
29525 if ac_fn_cxx_try_compile "$LINENO"; then :
29526 glibcxx_cv_func_isinff_use=yes
29527 else
29528 glibcxx_cv_func_isinff_use=no
29530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29531 ac_ext=c
29532 ac_cpp='$CPP $CPPFLAGS'
29533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29542 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29544 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29545 for ac_func in isinff
29546 do :
29547 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29548 if test "x$ac_cv_func_isinff" = x""yes; then :
29549 cat >>confdefs.h <<_ACEOF
29550 #define HAVE_ISINFF 1
29551 _ACEOF
29554 done
29556 else
29558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29559 $as_echo_n "checking for _isinff declaration... " >&6; }
29560 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29561 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29562 $as_echo_n "(cached) " >&6
29563 else
29566 ac_ext=cpp
29567 ac_cpp='$CXXCPP $CPPFLAGS'
29568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29573 /* end confdefs.h. */
29574 #include <math.h>
29575 #ifdef HAVE_IEEEFP_H
29576 #include <ieeefp.h>
29577 #endif
29580 main ()
29582 _isinff(0);
29584 return 0;
29586 _ACEOF
29587 if ac_fn_cxx_try_compile "$LINENO"; then :
29588 glibcxx_cv_func__isinff_use=yes
29589 else
29590 glibcxx_cv_func__isinff_use=no
29592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29593 ac_ext=c
29594 ac_cpp='$CPP $CPPFLAGS'
29595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29604 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29606 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29607 for ac_func in _isinff
29608 do :
29609 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29610 if test "x$ac_cv_func__isinff" = x""yes; then :
29611 cat >>confdefs.h <<_ACEOF
29612 #define HAVE__ISINFF 1
29613 _ACEOF
29616 done
29625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29626 $as_echo_n "checking for atan2f declaration... " >&6; }
29627 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29628 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29629 $as_echo_n "(cached) " >&6
29630 else
29633 ac_ext=cpp
29634 ac_cpp='$CXXCPP $CPPFLAGS'
29635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29640 /* end confdefs.h. */
29641 #include <math.h>
29643 main ()
29645 atan2f(0, 0);
29647 return 0;
29649 _ACEOF
29650 if ac_fn_cxx_try_compile "$LINENO"; then :
29651 glibcxx_cv_func_atan2f_use=yes
29652 else
29653 glibcxx_cv_func_atan2f_use=no
29655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29656 ac_ext=c
29657 ac_cpp='$CPP $CPPFLAGS'
29658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29667 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29669 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29670 for ac_func in atan2f
29671 do :
29672 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29673 if test "x$ac_cv_func_atan2f" = x""yes; then :
29674 cat >>confdefs.h <<_ACEOF
29675 #define HAVE_ATAN2F 1
29676 _ACEOF
29679 done
29681 else
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29684 $as_echo_n "checking for _atan2f declaration... " >&6; }
29685 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29686 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29687 $as_echo_n "(cached) " >&6
29688 else
29691 ac_ext=cpp
29692 ac_cpp='$CXXCPP $CPPFLAGS'
29693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29698 /* end confdefs.h. */
29699 #include <math.h>
29701 main ()
29703 _atan2f(0, 0);
29705 return 0;
29707 _ACEOF
29708 if ac_fn_cxx_try_compile "$LINENO"; then :
29709 glibcxx_cv_func__atan2f_use=yes
29710 else
29711 glibcxx_cv_func__atan2f_use=no
29713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29714 ac_ext=c
29715 ac_cpp='$CPP $CPPFLAGS'
29716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29725 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29727 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29728 for ac_func in _atan2f
29729 do :
29730 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29731 if test "x$ac_cv_func__atan2f" = x""yes; then :
29732 cat >>confdefs.h <<_ACEOF
29733 #define HAVE__ATAN2F 1
29734 _ACEOF
29737 done
29746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29747 $as_echo_n "checking for fabsf declaration... " >&6; }
29748 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29749 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29750 $as_echo_n "(cached) " >&6
29751 else
29754 ac_ext=cpp
29755 ac_cpp='$CXXCPP $CPPFLAGS'
29756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29761 /* end confdefs.h. */
29762 #include <math.h>
29763 #ifdef HAVE_IEEEFP_H
29764 #include <ieeefp.h>
29765 #endif
29768 main ()
29770 fabsf(0);
29772 return 0;
29774 _ACEOF
29775 if ac_fn_cxx_try_compile "$LINENO"; then :
29776 glibcxx_cv_func_fabsf_use=yes
29777 else
29778 glibcxx_cv_func_fabsf_use=no
29780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29781 ac_ext=c
29782 ac_cpp='$CPP $CPPFLAGS'
29783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29792 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29794 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29795 for ac_func in fabsf
29796 do :
29797 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29798 if test "x$ac_cv_func_fabsf" = x""yes; then :
29799 cat >>confdefs.h <<_ACEOF
29800 #define HAVE_FABSF 1
29801 _ACEOF
29804 done
29806 else
29808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29809 $as_echo_n "checking for _fabsf declaration... " >&6; }
29810 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29811 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29812 $as_echo_n "(cached) " >&6
29813 else
29816 ac_ext=cpp
29817 ac_cpp='$CXXCPP $CPPFLAGS'
29818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29823 /* end confdefs.h. */
29824 #include <math.h>
29825 #ifdef HAVE_IEEEFP_H
29826 #include <ieeefp.h>
29827 #endif
29830 main ()
29832 _fabsf(0);
29834 return 0;
29836 _ACEOF
29837 if ac_fn_cxx_try_compile "$LINENO"; then :
29838 glibcxx_cv_func__fabsf_use=yes
29839 else
29840 glibcxx_cv_func__fabsf_use=no
29842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29843 ac_ext=c
29844 ac_cpp='$CPP $CPPFLAGS'
29845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29854 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29856 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29857 for ac_func in _fabsf
29858 do :
29859 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29860 if test "x$ac_cv_func__fabsf" = x""yes; then :
29861 cat >>confdefs.h <<_ACEOF
29862 #define HAVE__FABSF 1
29863 _ACEOF
29866 done
29875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29876 $as_echo_n "checking for fmodf declaration... " >&6; }
29877 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29878 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29879 $as_echo_n "(cached) " >&6
29880 else
29883 ac_ext=cpp
29884 ac_cpp='$CXXCPP $CPPFLAGS'
29885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29890 /* end confdefs.h. */
29891 #include <math.h>
29893 main ()
29895 fmodf(0, 0);
29897 return 0;
29899 _ACEOF
29900 if ac_fn_cxx_try_compile "$LINENO"; then :
29901 glibcxx_cv_func_fmodf_use=yes
29902 else
29903 glibcxx_cv_func_fmodf_use=no
29905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29906 ac_ext=c
29907 ac_cpp='$CPP $CPPFLAGS'
29908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29917 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29919 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29920 for ac_func in fmodf
29921 do :
29922 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29923 if test "x$ac_cv_func_fmodf" = x""yes; then :
29924 cat >>confdefs.h <<_ACEOF
29925 #define HAVE_FMODF 1
29926 _ACEOF
29929 done
29931 else
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29934 $as_echo_n "checking for _fmodf declaration... " >&6; }
29935 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29936 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29937 $as_echo_n "(cached) " >&6
29938 else
29941 ac_ext=cpp
29942 ac_cpp='$CXXCPP $CPPFLAGS'
29943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29948 /* end confdefs.h. */
29949 #include <math.h>
29951 main ()
29953 _fmodf(0, 0);
29955 return 0;
29957 _ACEOF
29958 if ac_fn_cxx_try_compile "$LINENO"; then :
29959 glibcxx_cv_func__fmodf_use=yes
29960 else
29961 glibcxx_cv_func__fmodf_use=no
29963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29964 ac_ext=c
29965 ac_cpp='$CPP $CPPFLAGS'
29966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29975 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29977 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29978 for ac_func in _fmodf
29979 do :
29980 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29981 if test "x$ac_cv_func__fmodf" = x""yes; then :
29982 cat >>confdefs.h <<_ACEOF
29983 #define HAVE__FMODF 1
29984 _ACEOF
29987 done
29996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29997 $as_echo_n "checking for frexpf declaration... " >&6; }
29998 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29999 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30000 $as_echo_n "(cached) " >&6
30001 else
30004 ac_ext=cpp
30005 ac_cpp='$CXXCPP $CPPFLAGS'
30006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30011 /* end confdefs.h. */
30012 #include <math.h>
30014 main ()
30016 frexpf(0, 0);
30018 return 0;
30020 _ACEOF
30021 if ac_fn_cxx_try_compile "$LINENO"; then :
30022 glibcxx_cv_func_frexpf_use=yes
30023 else
30024 glibcxx_cv_func_frexpf_use=no
30026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30027 ac_ext=c
30028 ac_cpp='$CPP $CPPFLAGS'
30029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30038 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30040 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30041 for ac_func in frexpf
30042 do :
30043 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30044 if test "x$ac_cv_func_frexpf" = x""yes; then :
30045 cat >>confdefs.h <<_ACEOF
30046 #define HAVE_FREXPF 1
30047 _ACEOF
30050 done
30052 else
30054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30055 $as_echo_n "checking for _frexpf declaration... " >&6; }
30056 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30057 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30058 $as_echo_n "(cached) " >&6
30059 else
30062 ac_ext=cpp
30063 ac_cpp='$CXXCPP $CPPFLAGS'
30064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30069 /* end confdefs.h. */
30070 #include <math.h>
30072 main ()
30074 _frexpf(0, 0);
30076 return 0;
30078 _ACEOF
30079 if ac_fn_cxx_try_compile "$LINENO"; then :
30080 glibcxx_cv_func__frexpf_use=yes
30081 else
30082 glibcxx_cv_func__frexpf_use=no
30084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30085 ac_ext=c
30086 ac_cpp='$CPP $CPPFLAGS'
30087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30096 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30098 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30099 for ac_func in _frexpf
30100 do :
30101 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30102 if test "x$ac_cv_func__frexpf" = x""yes; then :
30103 cat >>confdefs.h <<_ACEOF
30104 #define HAVE__FREXPF 1
30105 _ACEOF
30108 done
30117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30118 $as_echo_n "checking for hypotf declaration... " >&6; }
30119 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30120 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30121 $as_echo_n "(cached) " >&6
30122 else
30125 ac_ext=cpp
30126 ac_cpp='$CXXCPP $CPPFLAGS'
30127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30132 /* end confdefs.h. */
30133 #include <math.h>
30135 main ()
30137 hypotf(0, 0);
30139 return 0;
30141 _ACEOF
30142 if ac_fn_cxx_try_compile "$LINENO"; then :
30143 glibcxx_cv_func_hypotf_use=yes
30144 else
30145 glibcxx_cv_func_hypotf_use=no
30147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30148 ac_ext=c
30149 ac_cpp='$CPP $CPPFLAGS'
30150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30159 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30161 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30162 for ac_func in hypotf
30163 do :
30164 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30165 if test "x$ac_cv_func_hypotf" = x""yes; then :
30166 cat >>confdefs.h <<_ACEOF
30167 #define HAVE_HYPOTF 1
30168 _ACEOF
30171 done
30173 else
30175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30176 $as_echo_n "checking for _hypotf declaration... " >&6; }
30177 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30178 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
30197 return 0;
30199 _ACEOF
30200 if ac_fn_cxx_try_compile "$LINENO"; then :
30201 glibcxx_cv_func__hypotf_use=yes
30202 else
30203 glibcxx_cv_func__hypotf_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
30216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30217 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30219 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30220 for ac_func in _hypotf
30221 do :
30222 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30223 if test "x$ac_cv_func__hypotf" = x""yes; then :
30224 cat >>confdefs.h <<_ACEOF
30225 #define HAVE__HYPOTF 1
30226 _ACEOF
30229 done
30238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30239 $as_echo_n "checking for ldexpf declaration... " >&6; }
30240 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30241 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30242 $as_echo_n "(cached) " >&6
30243 else
30246 ac_ext=cpp
30247 ac_cpp='$CXXCPP $CPPFLAGS'
30248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30253 /* end confdefs.h. */
30254 #include <math.h>
30256 main ()
30258 ldexpf(0, 0);
30260 return 0;
30262 _ACEOF
30263 if ac_fn_cxx_try_compile "$LINENO"; then :
30264 glibcxx_cv_func_ldexpf_use=yes
30265 else
30266 glibcxx_cv_func_ldexpf_use=no
30268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30269 ac_ext=c
30270 ac_cpp='$CPP $CPPFLAGS'
30271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30280 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30282 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30283 for ac_func in ldexpf
30284 do :
30285 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30286 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30287 cat >>confdefs.h <<_ACEOF
30288 #define HAVE_LDEXPF 1
30289 _ACEOF
30292 done
30294 else
30296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30297 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30298 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30299 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30300 $as_echo_n "(cached) " >&6
30301 else
30304 ac_ext=cpp
30305 ac_cpp='$CXXCPP $CPPFLAGS'
30306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30311 /* end confdefs.h. */
30312 #include <math.h>
30314 main ()
30316 _ldexpf(0, 0);
30318 return 0;
30320 _ACEOF
30321 if ac_fn_cxx_try_compile "$LINENO"; then :
30322 glibcxx_cv_func__ldexpf_use=yes
30323 else
30324 glibcxx_cv_func__ldexpf_use=no
30326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30327 ac_ext=c
30328 ac_cpp='$CPP $CPPFLAGS'
30329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30338 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30340 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30341 for ac_func in _ldexpf
30342 do :
30343 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30344 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30345 cat >>confdefs.h <<_ACEOF
30346 #define HAVE__LDEXPF 1
30347 _ACEOF
30350 done
30359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30360 $as_echo_n "checking for logf declaration... " >&6; }
30361 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30362 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30363 $as_echo_n "(cached) " >&6
30364 else
30367 ac_ext=cpp
30368 ac_cpp='$CXXCPP $CPPFLAGS'
30369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30374 /* end confdefs.h. */
30375 #include <math.h>
30376 #ifdef HAVE_IEEEFP_H
30377 #include <ieeefp.h>
30378 #endif
30381 main ()
30383 logf(0);
30385 return 0;
30387 _ACEOF
30388 if ac_fn_cxx_try_compile "$LINENO"; then :
30389 glibcxx_cv_func_logf_use=yes
30390 else
30391 glibcxx_cv_func_logf_use=no
30393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30394 ac_ext=c
30395 ac_cpp='$CPP $CPPFLAGS'
30396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30405 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30407 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30408 for ac_func in logf
30409 do :
30410 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30411 if test "x$ac_cv_func_logf" = x""yes; then :
30412 cat >>confdefs.h <<_ACEOF
30413 #define HAVE_LOGF 1
30414 _ACEOF
30417 done
30419 else
30421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30422 $as_echo_n "checking for _logf declaration... " >&6; }
30423 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30424 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30425 $as_echo_n "(cached) " >&6
30426 else
30429 ac_ext=cpp
30430 ac_cpp='$CXXCPP $CPPFLAGS'
30431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30436 /* end confdefs.h. */
30437 #include <math.h>
30438 #ifdef HAVE_IEEEFP_H
30439 #include <ieeefp.h>
30440 #endif
30443 main ()
30445 _logf(0);
30447 return 0;
30449 _ACEOF
30450 if ac_fn_cxx_try_compile "$LINENO"; then :
30451 glibcxx_cv_func__logf_use=yes
30452 else
30453 glibcxx_cv_func__logf_use=no
30455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30456 ac_ext=c
30457 ac_cpp='$CPP $CPPFLAGS'
30458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30467 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30469 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30470 for ac_func in _logf
30471 do :
30472 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30473 if test "x$ac_cv_func__logf" = x""yes; then :
30474 cat >>confdefs.h <<_ACEOF
30475 #define HAVE__LOGF 1
30476 _ACEOF
30479 done
30488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30489 $as_echo_n "checking for log10f declaration... " >&6; }
30490 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30491 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30492 $as_echo_n "(cached) " >&6
30493 else
30496 ac_ext=cpp
30497 ac_cpp='$CXXCPP $CPPFLAGS'
30498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30503 /* end confdefs.h. */
30504 #include <math.h>
30505 #ifdef HAVE_IEEEFP_H
30506 #include <ieeefp.h>
30507 #endif
30510 main ()
30512 log10f(0);
30514 return 0;
30516 _ACEOF
30517 if ac_fn_cxx_try_compile "$LINENO"; then :
30518 glibcxx_cv_func_log10f_use=yes
30519 else
30520 glibcxx_cv_func_log10f_use=no
30522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30523 ac_ext=c
30524 ac_cpp='$CPP $CPPFLAGS'
30525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30534 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30536 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30537 for ac_func in log10f
30538 do :
30539 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30540 if test "x$ac_cv_func_log10f" = x""yes; then :
30541 cat >>confdefs.h <<_ACEOF
30542 #define HAVE_LOG10F 1
30543 _ACEOF
30546 done
30548 else
30550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30551 $as_echo_n "checking for _log10f declaration... " >&6; }
30552 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30553 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30554 $as_echo_n "(cached) " >&6
30555 else
30558 ac_ext=cpp
30559 ac_cpp='$CXXCPP $CPPFLAGS'
30560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30565 /* end confdefs.h. */
30566 #include <math.h>
30567 #ifdef HAVE_IEEEFP_H
30568 #include <ieeefp.h>
30569 #endif
30572 main ()
30574 _log10f(0);
30576 return 0;
30578 _ACEOF
30579 if ac_fn_cxx_try_compile "$LINENO"; then :
30580 glibcxx_cv_func__log10f_use=yes
30581 else
30582 glibcxx_cv_func__log10f_use=no
30584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30585 ac_ext=c
30586 ac_cpp='$CPP $CPPFLAGS'
30587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30596 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30598 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30599 for ac_func in _log10f
30600 do :
30601 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30602 if test "x$ac_cv_func__log10f" = x""yes; then :
30603 cat >>confdefs.h <<_ACEOF
30604 #define HAVE__LOG10F 1
30605 _ACEOF
30608 done
30617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30618 $as_echo_n "checking for modff declaration... " >&6; }
30619 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30620 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30621 $as_echo_n "(cached) " >&6
30622 else
30625 ac_ext=cpp
30626 ac_cpp='$CXXCPP $CPPFLAGS'
30627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30632 /* end confdefs.h. */
30633 #include <math.h>
30635 main ()
30637 modff(0, 0);
30639 return 0;
30641 _ACEOF
30642 if ac_fn_cxx_try_compile "$LINENO"; then :
30643 glibcxx_cv_func_modff_use=yes
30644 else
30645 glibcxx_cv_func_modff_use=no
30647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30648 ac_ext=c
30649 ac_cpp='$CPP $CPPFLAGS'
30650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30659 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30661 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30662 for ac_func in modff
30663 do :
30664 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30665 if test "x$ac_cv_func_modff" = x""yes; then :
30666 cat >>confdefs.h <<_ACEOF
30667 #define HAVE_MODFF 1
30668 _ACEOF
30671 done
30673 else
30675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30676 $as_echo_n "checking for _modff declaration... " >&6; }
30677 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30678 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30679 $as_echo_n "(cached) " >&6
30680 else
30683 ac_ext=cpp
30684 ac_cpp='$CXXCPP $CPPFLAGS'
30685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30690 /* end confdefs.h. */
30691 #include <math.h>
30693 main ()
30695 _modff(0, 0);
30697 return 0;
30699 _ACEOF
30700 if ac_fn_cxx_try_compile "$LINENO"; then :
30701 glibcxx_cv_func__modff_use=yes
30702 else
30703 glibcxx_cv_func__modff_use=no
30705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30706 ac_ext=c
30707 ac_cpp='$CPP $CPPFLAGS'
30708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30717 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30719 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30720 for ac_func in _modff
30721 do :
30722 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30723 if test "x$ac_cv_func__modff" = x""yes; then :
30724 cat >>confdefs.h <<_ACEOF
30725 #define HAVE__MODFF 1
30726 _ACEOF
30729 done
30738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30739 $as_echo_n "checking for modf declaration... " >&6; }
30740 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30741 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30742 $as_echo_n "(cached) " >&6
30743 else
30746 ac_ext=cpp
30747 ac_cpp='$CXXCPP $CPPFLAGS'
30748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30753 /* end confdefs.h. */
30754 #include <math.h>
30756 main ()
30758 modf(0, 0);
30760 return 0;
30762 _ACEOF
30763 if ac_fn_cxx_try_compile "$LINENO"; then :
30764 glibcxx_cv_func_modf_use=yes
30765 else
30766 glibcxx_cv_func_modf_use=no
30768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30769 ac_ext=c
30770 ac_cpp='$CPP $CPPFLAGS'
30771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30780 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30782 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30783 for ac_func in modf
30784 do :
30785 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30786 if test "x$ac_cv_func_modf" = x""yes; then :
30787 cat >>confdefs.h <<_ACEOF
30788 #define HAVE_MODF 1
30789 _ACEOF
30792 done
30794 else
30796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30797 $as_echo_n "checking for _modf declaration... " >&6; }
30798 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30799 if test "${glibcxx_cv_func__modf_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 _modf(0, 0);
30818 return 0;
30820 _ACEOF
30821 if ac_fn_cxx_try_compile "$LINENO"; then :
30822 glibcxx_cv_func__modf_use=yes
30823 else
30824 glibcxx_cv_func__modf_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__modf_use" >&5
30838 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30840 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30841 for ac_func in _modf
30842 do :
30843 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30844 if test "x$ac_cv_func__modf" = x""yes; then :
30845 cat >>confdefs.h <<_ACEOF
30846 #define HAVE__MODF 1
30847 _ACEOF
30850 done
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30860 $as_echo_n "checking for powf declaration... " >&6; }
30861 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30862 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30863 $as_echo_n "(cached) " >&6
30864 else
30867 ac_ext=cpp
30868 ac_cpp='$CXXCPP $CPPFLAGS'
30869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30874 /* end confdefs.h. */
30875 #include <math.h>
30877 main ()
30879 powf(0, 0);
30881 return 0;
30883 _ACEOF
30884 if ac_fn_cxx_try_compile "$LINENO"; then :
30885 glibcxx_cv_func_powf_use=yes
30886 else
30887 glibcxx_cv_func_powf_use=no
30889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30890 ac_ext=c
30891 ac_cpp='$CPP $CPPFLAGS'
30892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30901 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30903 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30904 for ac_func in powf
30905 do :
30906 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30907 if test "x$ac_cv_func_powf" = x""yes; then :
30908 cat >>confdefs.h <<_ACEOF
30909 #define HAVE_POWF 1
30910 _ACEOF
30913 done
30915 else
30917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30918 $as_echo_n "checking for _powf declaration... " >&6; }
30919 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30920 if test "${glibcxx_cv_func__powf_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>
30935 main ()
30937 _powf(0, 0);
30939 return 0;
30941 _ACEOF
30942 if ac_fn_cxx_try_compile "$LINENO"; then :
30943 glibcxx_cv_func__powf_use=yes
30944 else
30945 glibcxx_cv_func__powf_use=no
30947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30948 ac_ext=c
30949 ac_cpp='$CPP $CPPFLAGS'
30950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30959 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30961 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30962 for ac_func in _powf
30963 do :
30964 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30965 if test "x$ac_cv_func__powf" = x""yes; then :
30966 cat >>confdefs.h <<_ACEOF
30967 #define HAVE__POWF 1
30968 _ACEOF
30971 done
30980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30981 $as_echo_n "checking for sqrtf declaration... " >&6; }
30982 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30983 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30984 $as_echo_n "(cached) " >&6
30985 else
30988 ac_ext=cpp
30989 ac_cpp='$CXXCPP $CPPFLAGS'
30990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30995 /* end confdefs.h. */
30996 #include <math.h>
30997 #ifdef HAVE_IEEEFP_H
30998 #include <ieeefp.h>
30999 #endif
31002 main ()
31004 sqrtf(0);
31006 return 0;
31008 _ACEOF
31009 if ac_fn_cxx_try_compile "$LINENO"; then :
31010 glibcxx_cv_func_sqrtf_use=yes
31011 else
31012 glibcxx_cv_func_sqrtf_use=no
31014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31015 ac_ext=c
31016 ac_cpp='$CPP $CPPFLAGS'
31017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31026 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31028 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31029 for ac_func in sqrtf
31030 do :
31031 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31032 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31033 cat >>confdefs.h <<_ACEOF
31034 #define HAVE_SQRTF 1
31035 _ACEOF
31038 done
31040 else
31042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31043 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31044 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31045 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31046 $as_echo_n "(cached) " >&6
31047 else
31050 ac_ext=cpp
31051 ac_cpp='$CXXCPP $CPPFLAGS'
31052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31057 /* end confdefs.h. */
31058 #include <math.h>
31059 #ifdef HAVE_IEEEFP_H
31060 #include <ieeefp.h>
31061 #endif
31064 main ()
31066 _sqrtf(0);
31068 return 0;
31070 _ACEOF
31071 if ac_fn_cxx_try_compile "$LINENO"; then :
31072 glibcxx_cv_func__sqrtf_use=yes
31073 else
31074 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
31088 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31090 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31091 for ac_func in _sqrtf
31092 do :
31093 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31094 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31095 cat >>confdefs.h <<_ACEOF
31096 #define HAVE__SQRTF 1
31097 _ACEOF
31100 done
31109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31110 $as_echo_n "checking for sincosf declaration... " >&6; }
31111 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31112 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31113 $as_echo_n "(cached) " >&6
31114 else
31117 ac_ext=cpp
31118 ac_cpp='$CXXCPP $CPPFLAGS'
31119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31124 /* end confdefs.h. */
31125 #include <math.h>
31127 main ()
31129 sincosf(0, 0, 0);
31131 return 0;
31133 _ACEOF
31134 if ac_fn_cxx_try_compile "$LINENO"; then :
31135 glibcxx_cv_func_sincosf_use=yes
31136 else
31137 glibcxx_cv_func_sincosf_use=no
31139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31140 ac_ext=c
31141 ac_cpp='$CPP $CPPFLAGS'
31142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31151 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31153 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31154 for ac_func in sincosf
31155 do :
31156 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31157 if test "x$ac_cv_func_sincosf" = x""yes; then :
31158 cat >>confdefs.h <<_ACEOF
31159 #define HAVE_SINCOSF 1
31160 _ACEOF
31163 done
31165 else
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31168 $as_echo_n "checking for _sincosf declaration... " >&6; }
31169 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31170 if test "${glibcxx_cv_func__sincosf_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 _sincosf(0, 0, 0);
31189 return 0;
31191 _ACEOF
31192 if ac_fn_cxx_try_compile "$LINENO"; then :
31193 glibcxx_cv_func__sincosf_use=yes
31194 else
31195 glibcxx_cv_func__sincosf_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__sincosf_use" >&5
31209 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31211 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31212 for ac_func in _sincosf
31213 do :
31214 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31215 if test "x$ac_cv_func__sincosf" = x""yes; then :
31216 cat >>confdefs.h <<_ACEOF
31217 #define HAVE__SINCOSF 1
31218 _ACEOF
31221 done
31230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31231 $as_echo_n "checking for finitef declaration... " >&6; }
31232 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31233 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31234 $as_echo_n "(cached) " >&6
31235 else
31238 ac_ext=cpp
31239 ac_cpp='$CXXCPP $CPPFLAGS'
31240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31245 /* end confdefs.h. */
31246 #include <math.h>
31247 #ifdef HAVE_IEEEFP_H
31248 #include <ieeefp.h>
31249 #endif
31252 main ()
31254 finitef(0);
31256 return 0;
31258 _ACEOF
31259 if ac_fn_cxx_try_compile "$LINENO"; then :
31260 glibcxx_cv_func_finitef_use=yes
31261 else
31262 glibcxx_cv_func_finitef_use=no
31264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31265 ac_ext=c
31266 ac_cpp='$CPP $CPPFLAGS'
31267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31276 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31278 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31279 for ac_func in finitef
31280 do :
31281 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31282 if test "x$ac_cv_func_finitef" = x""yes; then :
31283 cat >>confdefs.h <<_ACEOF
31284 #define HAVE_FINITEF 1
31285 _ACEOF
31288 done
31290 else
31292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31293 $as_echo_n "checking for _finitef declaration... " >&6; }
31294 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31295 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31296 $as_echo_n "(cached) " >&6
31297 else
31300 ac_ext=cpp
31301 ac_cpp='$CXXCPP $CPPFLAGS'
31302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31307 /* end confdefs.h. */
31308 #include <math.h>
31309 #ifdef HAVE_IEEEFP_H
31310 #include <ieeefp.h>
31311 #endif
31314 main ()
31316 _finitef(0);
31318 return 0;
31320 _ACEOF
31321 if ac_fn_cxx_try_compile "$LINENO"; then :
31322 glibcxx_cv_func__finitef_use=yes
31323 else
31324 glibcxx_cv_func__finitef_use=no
31326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31327 ac_ext=c
31328 ac_cpp='$CPP $CPPFLAGS'
31329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31338 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31340 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31341 for ac_func in _finitef
31342 do :
31343 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31344 if test "x$ac_cv_func__finitef" = x""yes; then :
31345 cat >>confdefs.h <<_ACEOF
31346 #define HAVE__FINITEF 1
31347 _ACEOF
31350 done
31359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31360 $as_echo_n "checking for long double trig functions... " >&6; }
31361 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31362 $as_echo_n "(cached) " >&6
31363 else
31366 ac_ext=cpp
31367 ac_cpp='$CXXCPP $CPPFLAGS'
31368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31373 /* end confdefs.h. */
31374 #include <math.h>
31376 main ()
31378 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31380 return 0;
31382 _ACEOF
31383 if ac_fn_cxx_try_compile "$LINENO"; then :
31384 glibcxx_cv_func_long_double_trig_use=yes
31385 else
31386 glibcxx_cv_func_long_double_trig_use=no
31388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31389 ac_ext=c
31390 ac_cpp='$CPP $CPPFLAGS'
31391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31398 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31399 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31400 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31401 do :
31402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31404 eval as_val=\$$as_ac_var
31405 if test "x$as_val" = x""yes; then :
31406 cat >>confdefs.h <<_ACEOF
31407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31408 _ACEOF
31411 done
31413 else
31414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31415 $as_echo_n "checking for _long double trig functions... " >&6; }
31416 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31417 $as_echo_n "(cached) " >&6
31418 else
31421 ac_ext=cpp
31422 ac_cpp='$CXXCPP $CPPFLAGS'
31423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31428 /* end confdefs.h. */
31429 #include <math.h>
31431 main ()
31433 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31435 return 0;
31437 _ACEOF
31438 if ac_fn_cxx_try_compile "$LINENO"; then :
31439 glibcxx_cv_func__long_double_trig_use=yes
31440 else
31441 glibcxx_cv_func__long_double_trig_use=no
31443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31444 ac_ext=c
31445 ac_cpp='$CPP $CPPFLAGS'
31446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31453 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31454 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31455 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31456 do :
31457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31459 eval as_val=\$$as_ac_var
31460 if test "x$as_val" = x""yes; then :
31461 cat >>confdefs.h <<_ACEOF
31462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31463 _ACEOF
31466 done
31475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31476 $as_echo_n "checking for long double round functions... " >&6; }
31477 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31478 $as_echo_n "(cached) " >&6
31479 else
31482 ac_ext=cpp
31483 ac_cpp='$CXXCPP $CPPFLAGS'
31484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31489 /* end confdefs.h. */
31490 #include <math.h>
31492 main ()
31494 ceill (0); floorl (0);
31496 return 0;
31498 _ACEOF
31499 if ac_fn_cxx_try_compile "$LINENO"; then :
31500 glibcxx_cv_func_long_double_round_use=yes
31501 else
31502 glibcxx_cv_func_long_double_round_use=no
31504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31505 ac_ext=c
31506 ac_cpp='$CPP $CPPFLAGS'
31507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31514 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31515 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31516 for ac_func in ceill floorl
31517 do :
31518 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31519 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31520 eval as_val=\$$as_ac_var
31521 if test "x$as_val" = x""yes; then :
31522 cat >>confdefs.h <<_ACEOF
31523 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31524 _ACEOF
31527 done
31529 else
31530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31531 $as_echo_n "checking for _long double round functions... " >&6; }
31532 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31533 $as_echo_n "(cached) " >&6
31534 else
31537 ac_ext=cpp
31538 ac_cpp='$CXXCPP $CPPFLAGS'
31539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31544 /* end confdefs.h. */
31545 #include <math.h>
31547 main ()
31549 _ceill (0); _floorl (0);
31551 return 0;
31553 _ACEOF
31554 if ac_fn_cxx_try_compile "$LINENO"; then :
31555 glibcxx_cv_func__long_double_round_use=yes
31556 else
31557 glibcxx_cv_func__long_double_round_use=no
31559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31560 ac_ext=c
31561 ac_cpp='$CPP $CPPFLAGS'
31562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31569 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31570 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31571 for ac_func in _ceill _floorl
31572 do :
31573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31575 eval as_val=\$$as_ac_var
31576 if test "x$as_val" = x""yes; then :
31577 cat >>confdefs.h <<_ACEOF
31578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31579 _ACEOF
31582 done
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31593 $as_echo_n "checking for isnanl declaration... " >&6; }
31594 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31595 if test "${glibcxx_cv_func_isnanl_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 isnanl(0);
31618 return 0;
31620 _ACEOF
31621 if ac_fn_cxx_try_compile "$LINENO"; then :
31622 glibcxx_cv_func_isnanl_use=yes
31623 else
31624 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
31638 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31640 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31641 for ac_func in isnanl
31642 do :
31643 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31644 if test "x$ac_cv_func_isnanl" = x""yes; then :
31645 cat >>confdefs.h <<_ACEOF
31646 #define HAVE_ISNANL 1
31647 _ACEOF
31650 done
31652 else
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31655 $as_echo_n "checking for _isnanl declaration... " >&6; }
31656 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31657 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31658 $as_echo_n "(cached) " >&6
31659 else
31662 ac_ext=cpp
31663 ac_cpp='$CXXCPP $CPPFLAGS'
31664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31669 /* end confdefs.h. */
31670 #include <math.h>
31671 #ifdef HAVE_IEEEFP_H
31672 #include <ieeefp.h>
31673 #endif
31676 main ()
31678 _isnanl(0);
31680 return 0;
31682 _ACEOF
31683 if ac_fn_cxx_try_compile "$LINENO"; then :
31684 glibcxx_cv_func__isnanl_use=yes
31685 else
31686 glibcxx_cv_func__isnanl_use=no
31688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31689 ac_ext=c
31690 ac_cpp='$CPP $CPPFLAGS'
31691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31700 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31702 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31703 for ac_func in _isnanl
31704 do :
31705 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31706 if test "x$ac_cv_func__isnanl" = x""yes; then :
31707 cat >>confdefs.h <<_ACEOF
31708 #define HAVE__ISNANL 1
31709 _ACEOF
31712 done
31721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31722 $as_echo_n "checking for isinfl declaration... " >&6; }
31723 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31724 if test "${glibcxx_cv_func_isinfl_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 isinfl(0);
31747 return 0;
31749 _ACEOF
31750 if ac_fn_cxx_try_compile "$LINENO"; then :
31751 glibcxx_cv_func_isinfl_use=yes
31752 else
31753 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
31767 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31769 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31770 for ac_func in isinfl
31771 do :
31772 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31773 if test "x$ac_cv_func_isinfl" = x""yes; then :
31774 cat >>confdefs.h <<_ACEOF
31775 #define HAVE_ISINFL 1
31776 _ACEOF
31779 done
31781 else
31783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31784 $as_echo_n "checking for _isinfl declaration... " >&6; }
31785 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31786 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31787 $as_echo_n "(cached) " >&6
31788 else
31791 ac_ext=cpp
31792 ac_cpp='$CXXCPP $CPPFLAGS'
31793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31798 /* end confdefs.h. */
31799 #include <math.h>
31800 #ifdef HAVE_IEEEFP_H
31801 #include <ieeefp.h>
31802 #endif
31805 main ()
31807 _isinfl(0);
31809 return 0;
31811 _ACEOF
31812 if ac_fn_cxx_try_compile "$LINENO"; then :
31813 glibcxx_cv_func__isinfl_use=yes
31814 else
31815 glibcxx_cv_func__isinfl_use=no
31817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31818 ac_ext=c
31819 ac_cpp='$CPP $CPPFLAGS'
31820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31829 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31831 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31832 for ac_func in _isinfl
31833 do :
31834 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31835 if test "x$ac_cv_func__isinfl" = x""yes; then :
31836 cat >>confdefs.h <<_ACEOF
31837 #define HAVE__ISINFL 1
31838 _ACEOF
31841 done
31850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31851 $as_echo_n "checking for atan2l declaration... " >&6; }
31852 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31853 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31854 $as_echo_n "(cached) " >&6
31855 else
31858 ac_ext=cpp
31859 ac_cpp='$CXXCPP $CPPFLAGS'
31860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31865 /* end confdefs.h. */
31866 #include <math.h>
31868 main ()
31870 atan2l(0, 0);
31872 return 0;
31874 _ACEOF
31875 if ac_fn_cxx_try_compile "$LINENO"; then :
31876 glibcxx_cv_func_atan2l_use=yes
31877 else
31878 glibcxx_cv_func_atan2l_use=no
31880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31881 ac_ext=c
31882 ac_cpp='$CPP $CPPFLAGS'
31883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31892 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31894 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31895 for ac_func in atan2l
31896 do :
31897 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31898 if test "x$ac_cv_func_atan2l" = x""yes; then :
31899 cat >>confdefs.h <<_ACEOF
31900 #define HAVE_ATAN2L 1
31901 _ACEOF
31904 done
31906 else
31908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31909 $as_echo_n "checking for _atan2l declaration... " >&6; }
31910 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31911 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31912 $as_echo_n "(cached) " >&6
31913 else
31916 ac_ext=cpp
31917 ac_cpp='$CXXCPP $CPPFLAGS'
31918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31923 /* end confdefs.h. */
31924 #include <math.h>
31926 main ()
31928 _atan2l(0, 0);
31930 return 0;
31932 _ACEOF
31933 if ac_fn_cxx_try_compile "$LINENO"; then :
31934 glibcxx_cv_func__atan2l_use=yes
31935 else
31936 glibcxx_cv_func__atan2l_use=no
31938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31939 ac_ext=c
31940 ac_cpp='$CPP $CPPFLAGS'
31941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31950 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31952 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31953 for ac_func in _atan2l
31954 do :
31955 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31956 if test "x$ac_cv_func__atan2l" = x""yes; then :
31957 cat >>confdefs.h <<_ACEOF
31958 #define HAVE__ATAN2L 1
31959 _ACEOF
31962 done
31971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31972 $as_echo_n "checking for expl declaration... " >&6; }
31973 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31974 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31975 $as_echo_n "(cached) " >&6
31976 else
31979 ac_ext=cpp
31980 ac_cpp='$CXXCPP $CPPFLAGS'
31981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31986 /* end confdefs.h. */
31987 #include <math.h>
31988 #ifdef HAVE_IEEEFP_H
31989 #include <ieeefp.h>
31990 #endif
31993 main ()
31995 expl(0);
31997 return 0;
31999 _ACEOF
32000 if ac_fn_cxx_try_compile "$LINENO"; then :
32001 glibcxx_cv_func_expl_use=yes
32002 else
32003 glibcxx_cv_func_expl_use=no
32005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32006 ac_ext=c
32007 ac_cpp='$CPP $CPPFLAGS'
32008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32017 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32019 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32020 for ac_func in expl
32021 do :
32022 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32023 if test "x$ac_cv_func_expl" = x""yes; then :
32024 cat >>confdefs.h <<_ACEOF
32025 #define HAVE_EXPL 1
32026 _ACEOF
32029 done
32031 else
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32034 $as_echo_n "checking for _expl declaration... " >&6; }
32035 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32036 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32037 $as_echo_n "(cached) " >&6
32038 else
32041 ac_ext=cpp
32042 ac_cpp='$CXXCPP $CPPFLAGS'
32043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32048 /* end confdefs.h. */
32049 #include <math.h>
32050 #ifdef HAVE_IEEEFP_H
32051 #include <ieeefp.h>
32052 #endif
32055 main ()
32057 _expl(0);
32059 return 0;
32061 _ACEOF
32062 if ac_fn_cxx_try_compile "$LINENO"; then :
32063 glibcxx_cv_func__expl_use=yes
32064 else
32065 glibcxx_cv_func__expl_use=no
32067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32068 ac_ext=c
32069 ac_cpp='$CPP $CPPFLAGS'
32070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32079 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32081 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32082 for ac_func in _expl
32083 do :
32084 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32085 if test "x$ac_cv_func__expl" = x""yes; then :
32086 cat >>confdefs.h <<_ACEOF
32087 #define HAVE__EXPL 1
32088 _ACEOF
32091 done
32100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32101 $as_echo_n "checking for fabsl declaration... " >&6; }
32102 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32103 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32104 $as_echo_n "(cached) " >&6
32105 else
32108 ac_ext=cpp
32109 ac_cpp='$CXXCPP $CPPFLAGS'
32110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32115 /* end confdefs.h. */
32116 #include <math.h>
32117 #ifdef HAVE_IEEEFP_H
32118 #include <ieeefp.h>
32119 #endif
32122 main ()
32124 fabsl(0);
32126 return 0;
32128 _ACEOF
32129 if ac_fn_cxx_try_compile "$LINENO"; then :
32130 glibcxx_cv_func_fabsl_use=yes
32131 else
32132 glibcxx_cv_func_fabsl_use=no
32134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32135 ac_ext=c
32136 ac_cpp='$CPP $CPPFLAGS'
32137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32146 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32148 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32149 for ac_func in fabsl
32150 do :
32151 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32152 if test "x$ac_cv_func_fabsl" = x""yes; then :
32153 cat >>confdefs.h <<_ACEOF
32154 #define HAVE_FABSL 1
32155 _ACEOF
32158 done
32160 else
32162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32163 $as_echo_n "checking for _fabsl declaration... " >&6; }
32164 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32165 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32166 $as_echo_n "(cached) " >&6
32167 else
32170 ac_ext=cpp
32171 ac_cpp='$CXXCPP $CPPFLAGS'
32172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32177 /* end confdefs.h. */
32178 #include <math.h>
32179 #ifdef HAVE_IEEEFP_H
32180 #include <ieeefp.h>
32181 #endif
32184 main ()
32186 _fabsl(0);
32188 return 0;
32190 _ACEOF
32191 if ac_fn_cxx_try_compile "$LINENO"; then :
32192 glibcxx_cv_func__fabsl_use=yes
32193 else
32194 glibcxx_cv_func__fabsl_use=no
32196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32197 ac_ext=c
32198 ac_cpp='$CPP $CPPFLAGS'
32199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32208 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32210 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32211 for ac_func in _fabsl
32212 do :
32213 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32214 if test "x$ac_cv_func__fabsl" = x""yes; then :
32215 cat >>confdefs.h <<_ACEOF
32216 #define HAVE__FABSL 1
32217 _ACEOF
32220 done
32229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32230 $as_echo_n "checking for fmodl declaration... " >&6; }
32231 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32232 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32233 $as_echo_n "(cached) " >&6
32234 else
32237 ac_ext=cpp
32238 ac_cpp='$CXXCPP $CPPFLAGS'
32239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32244 /* end confdefs.h. */
32245 #include <math.h>
32247 main ()
32249 fmodl(0, 0);
32251 return 0;
32253 _ACEOF
32254 if ac_fn_cxx_try_compile "$LINENO"; then :
32255 glibcxx_cv_func_fmodl_use=yes
32256 else
32257 glibcxx_cv_func_fmodl_use=no
32259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32260 ac_ext=c
32261 ac_cpp='$CPP $CPPFLAGS'
32262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32271 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32273 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32274 for ac_func in fmodl
32275 do :
32276 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32277 if test "x$ac_cv_func_fmodl" = x""yes; then :
32278 cat >>confdefs.h <<_ACEOF
32279 #define HAVE_FMODL 1
32280 _ACEOF
32283 done
32285 else
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32288 $as_echo_n "checking for _fmodl declaration... " >&6; }
32289 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32290 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32291 $as_echo_n "(cached) " >&6
32292 else
32295 ac_ext=cpp
32296 ac_cpp='$CXXCPP $CPPFLAGS'
32297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32302 /* end confdefs.h. */
32303 #include <math.h>
32305 main ()
32307 _fmodl(0, 0);
32309 return 0;
32311 _ACEOF
32312 if ac_fn_cxx_try_compile "$LINENO"; then :
32313 glibcxx_cv_func__fmodl_use=yes
32314 else
32315 glibcxx_cv_func__fmodl_use=no
32317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32318 ac_ext=c
32319 ac_cpp='$CPP $CPPFLAGS'
32320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32329 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32331 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32332 for ac_func in _fmodl
32333 do :
32334 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32335 if test "x$ac_cv_func__fmodl" = x""yes; then :
32336 cat >>confdefs.h <<_ACEOF
32337 #define HAVE__FMODL 1
32338 _ACEOF
32341 done
32350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32351 $as_echo_n "checking for frexpl declaration... " >&6; }
32352 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32353 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32354 $as_echo_n "(cached) " >&6
32355 else
32358 ac_ext=cpp
32359 ac_cpp='$CXXCPP $CPPFLAGS'
32360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32365 /* end confdefs.h. */
32366 #include <math.h>
32368 main ()
32370 frexpl(0, 0);
32372 return 0;
32374 _ACEOF
32375 if ac_fn_cxx_try_compile "$LINENO"; then :
32376 glibcxx_cv_func_frexpl_use=yes
32377 else
32378 glibcxx_cv_func_frexpl_use=no
32380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32381 ac_ext=c
32382 ac_cpp='$CPP $CPPFLAGS'
32383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32392 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32394 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32395 for ac_func in frexpl
32396 do :
32397 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32398 if test "x$ac_cv_func_frexpl" = x""yes; then :
32399 cat >>confdefs.h <<_ACEOF
32400 #define HAVE_FREXPL 1
32401 _ACEOF
32404 done
32406 else
32408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32409 $as_echo_n "checking for _frexpl declaration... " >&6; }
32410 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32411 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32412 $as_echo_n "(cached) " >&6
32413 else
32416 ac_ext=cpp
32417 ac_cpp='$CXXCPP $CPPFLAGS'
32418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32423 /* end confdefs.h. */
32424 #include <math.h>
32426 main ()
32428 _frexpl(0, 0);
32430 return 0;
32432 _ACEOF
32433 if ac_fn_cxx_try_compile "$LINENO"; then :
32434 glibcxx_cv_func__frexpl_use=yes
32435 else
32436 glibcxx_cv_func__frexpl_use=no
32438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32439 ac_ext=c
32440 ac_cpp='$CPP $CPPFLAGS'
32441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32450 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32452 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32453 for ac_func in _frexpl
32454 do :
32455 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32456 if test "x$ac_cv_func__frexpl" = x""yes; then :
32457 cat >>confdefs.h <<_ACEOF
32458 #define HAVE__FREXPL 1
32459 _ACEOF
32462 done
32471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32472 $as_echo_n "checking for hypotl declaration... " >&6; }
32473 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32474 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32475 $as_echo_n "(cached) " >&6
32476 else
32479 ac_ext=cpp
32480 ac_cpp='$CXXCPP $CPPFLAGS'
32481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32486 /* end confdefs.h. */
32487 #include <math.h>
32489 main ()
32491 hypotl(0, 0);
32493 return 0;
32495 _ACEOF
32496 if ac_fn_cxx_try_compile "$LINENO"; then :
32497 glibcxx_cv_func_hypotl_use=yes
32498 else
32499 glibcxx_cv_func_hypotl_use=no
32501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32502 ac_ext=c
32503 ac_cpp='$CPP $CPPFLAGS'
32504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32513 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32515 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32516 for ac_func in hypotl
32517 do :
32518 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32519 if test "x$ac_cv_func_hypotl" = x""yes; then :
32520 cat >>confdefs.h <<_ACEOF
32521 #define HAVE_HYPOTL 1
32522 _ACEOF
32525 done
32527 else
32529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32530 $as_echo_n "checking for _hypotl declaration... " >&6; }
32531 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32532 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
32551 return 0;
32553 _ACEOF
32554 if ac_fn_cxx_try_compile "$LINENO"; then :
32555 glibcxx_cv_func__hypotl_use=yes
32556 else
32557 glibcxx_cv_func__hypotl_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
32570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32571 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32573 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32574 for ac_func in _hypotl
32575 do :
32576 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32577 if test "x$ac_cv_func__hypotl" = x""yes; then :
32578 cat >>confdefs.h <<_ACEOF
32579 #define HAVE__HYPOTL 1
32580 _ACEOF
32583 done
32592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32593 $as_echo_n "checking for ldexpl declaration... " >&6; }
32594 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32595 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32596 $as_echo_n "(cached) " >&6
32597 else
32600 ac_ext=cpp
32601 ac_cpp='$CXXCPP $CPPFLAGS'
32602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32607 /* end confdefs.h. */
32608 #include <math.h>
32610 main ()
32612 ldexpl(0, 0);
32614 return 0;
32616 _ACEOF
32617 if ac_fn_cxx_try_compile "$LINENO"; then :
32618 glibcxx_cv_func_ldexpl_use=yes
32619 else
32620 glibcxx_cv_func_ldexpl_use=no
32622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32623 ac_ext=c
32624 ac_cpp='$CPP $CPPFLAGS'
32625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32634 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32636 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32637 for ac_func in ldexpl
32638 do :
32639 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32640 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32641 cat >>confdefs.h <<_ACEOF
32642 #define HAVE_LDEXPL 1
32643 _ACEOF
32646 done
32648 else
32650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32651 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32652 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32653 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32654 $as_echo_n "(cached) " >&6
32655 else
32658 ac_ext=cpp
32659 ac_cpp='$CXXCPP $CPPFLAGS'
32660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32665 /* end confdefs.h. */
32666 #include <math.h>
32668 main ()
32670 _ldexpl(0, 0);
32672 return 0;
32674 _ACEOF
32675 if ac_fn_cxx_try_compile "$LINENO"; then :
32676 glibcxx_cv_func__ldexpl_use=yes
32677 else
32678 glibcxx_cv_func__ldexpl_use=no
32680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32681 ac_ext=c
32682 ac_cpp='$CPP $CPPFLAGS'
32683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32692 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32694 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32695 for ac_func in _ldexpl
32696 do :
32697 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32698 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32699 cat >>confdefs.h <<_ACEOF
32700 #define HAVE__LDEXPL 1
32701 _ACEOF
32704 done
32713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32714 $as_echo_n "checking for logl declaration... " >&6; }
32715 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32716 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32717 $as_echo_n "(cached) " >&6
32718 else
32721 ac_ext=cpp
32722 ac_cpp='$CXXCPP $CPPFLAGS'
32723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32728 /* end confdefs.h. */
32729 #include <math.h>
32730 #ifdef HAVE_IEEEFP_H
32731 #include <ieeefp.h>
32732 #endif
32735 main ()
32737 logl(0);
32739 return 0;
32741 _ACEOF
32742 if ac_fn_cxx_try_compile "$LINENO"; then :
32743 glibcxx_cv_func_logl_use=yes
32744 else
32745 glibcxx_cv_func_logl_use=no
32747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32748 ac_ext=c
32749 ac_cpp='$CPP $CPPFLAGS'
32750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32759 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32761 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32762 for ac_func in logl
32763 do :
32764 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32765 if test "x$ac_cv_func_logl" = x""yes; then :
32766 cat >>confdefs.h <<_ACEOF
32767 #define HAVE_LOGL 1
32768 _ACEOF
32771 done
32773 else
32775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32776 $as_echo_n "checking for _logl declaration... " >&6; }
32777 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32778 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32779 $as_echo_n "(cached) " >&6
32780 else
32783 ac_ext=cpp
32784 ac_cpp='$CXXCPP $CPPFLAGS'
32785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32790 /* end confdefs.h. */
32791 #include <math.h>
32792 #ifdef HAVE_IEEEFP_H
32793 #include <ieeefp.h>
32794 #endif
32797 main ()
32799 _logl(0);
32801 return 0;
32803 _ACEOF
32804 if ac_fn_cxx_try_compile "$LINENO"; then :
32805 glibcxx_cv_func__logl_use=yes
32806 else
32807 glibcxx_cv_func__logl_use=no
32809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32810 ac_ext=c
32811 ac_cpp='$CPP $CPPFLAGS'
32812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32821 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32823 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32824 for ac_func in _logl
32825 do :
32826 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32827 if test "x$ac_cv_func__logl" = x""yes; then :
32828 cat >>confdefs.h <<_ACEOF
32829 #define HAVE__LOGL 1
32830 _ACEOF
32833 done
32842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32843 $as_echo_n "checking for log10l declaration... " >&6; }
32844 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32845 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32846 $as_echo_n "(cached) " >&6
32847 else
32850 ac_ext=cpp
32851 ac_cpp='$CXXCPP $CPPFLAGS'
32852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32857 /* end confdefs.h. */
32858 #include <math.h>
32859 #ifdef HAVE_IEEEFP_H
32860 #include <ieeefp.h>
32861 #endif
32864 main ()
32866 log10l(0);
32868 return 0;
32870 _ACEOF
32871 if ac_fn_cxx_try_compile "$LINENO"; then :
32872 glibcxx_cv_func_log10l_use=yes
32873 else
32874 glibcxx_cv_func_log10l_use=no
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32877 ac_ext=c
32878 ac_cpp='$CPP $CPPFLAGS'
32879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32888 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32890 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32891 for ac_func in log10l
32892 do :
32893 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32894 if test "x$ac_cv_func_log10l" = x""yes; then :
32895 cat >>confdefs.h <<_ACEOF
32896 #define HAVE_LOG10L 1
32897 _ACEOF
32900 done
32902 else
32904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32905 $as_echo_n "checking for _log10l declaration... " >&6; }
32906 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32907 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32908 $as_echo_n "(cached) " >&6
32909 else
32912 ac_ext=cpp
32913 ac_cpp='$CXXCPP $CPPFLAGS'
32914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32919 /* end confdefs.h. */
32920 #include <math.h>
32921 #ifdef HAVE_IEEEFP_H
32922 #include <ieeefp.h>
32923 #endif
32926 main ()
32928 _log10l(0);
32930 return 0;
32932 _ACEOF
32933 if ac_fn_cxx_try_compile "$LINENO"; then :
32934 glibcxx_cv_func__log10l_use=yes
32935 else
32936 glibcxx_cv_func__log10l_use=no
32938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32939 ac_ext=c
32940 ac_cpp='$CPP $CPPFLAGS'
32941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32950 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32952 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32953 for ac_func in _log10l
32954 do :
32955 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32956 if test "x$ac_cv_func__log10l" = x""yes; then :
32957 cat >>confdefs.h <<_ACEOF
32958 #define HAVE__LOG10L 1
32959 _ACEOF
32962 done
32971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32972 $as_echo_n "checking for modfl declaration... " >&6; }
32973 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32974 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32975 $as_echo_n "(cached) " >&6
32976 else
32979 ac_ext=cpp
32980 ac_cpp='$CXXCPP $CPPFLAGS'
32981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32986 /* end confdefs.h. */
32987 #include <math.h>
32989 main ()
32991 modfl(0, 0);
32993 return 0;
32995 _ACEOF
32996 if ac_fn_cxx_try_compile "$LINENO"; then :
32997 glibcxx_cv_func_modfl_use=yes
32998 else
32999 glibcxx_cv_func_modfl_use=no
33001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33002 ac_ext=c
33003 ac_cpp='$CPP $CPPFLAGS'
33004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33013 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33015 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33016 for ac_func in modfl
33017 do :
33018 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33019 if test "x$ac_cv_func_modfl" = x""yes; then :
33020 cat >>confdefs.h <<_ACEOF
33021 #define HAVE_MODFL 1
33022 _ACEOF
33025 done
33027 else
33029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33030 $as_echo_n "checking for _modfl declaration... " >&6; }
33031 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33032 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33033 $as_echo_n "(cached) " >&6
33034 else
33037 ac_ext=cpp
33038 ac_cpp='$CXXCPP $CPPFLAGS'
33039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33044 /* end confdefs.h. */
33045 #include <math.h>
33047 main ()
33049 _modfl(0, 0);
33051 return 0;
33053 _ACEOF
33054 if ac_fn_cxx_try_compile "$LINENO"; then :
33055 glibcxx_cv_func__modfl_use=yes
33056 else
33057 glibcxx_cv_func__modfl_use=no
33059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33060 ac_ext=c
33061 ac_cpp='$CPP $CPPFLAGS'
33062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33071 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33073 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33074 for ac_func in _modfl
33075 do :
33076 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33077 if test "x$ac_cv_func__modfl" = x""yes; then :
33078 cat >>confdefs.h <<_ACEOF
33079 #define HAVE__MODFL 1
33080 _ACEOF
33083 done
33092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33093 $as_echo_n "checking for powl declaration... " >&6; }
33094 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33095 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33096 $as_echo_n "(cached) " >&6
33097 else
33100 ac_ext=cpp
33101 ac_cpp='$CXXCPP $CPPFLAGS'
33102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33107 /* end confdefs.h. */
33108 #include <math.h>
33110 main ()
33112 powl(0, 0);
33114 return 0;
33116 _ACEOF
33117 if ac_fn_cxx_try_compile "$LINENO"; then :
33118 glibcxx_cv_func_powl_use=yes
33119 else
33120 glibcxx_cv_func_powl_use=no
33122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33123 ac_ext=c
33124 ac_cpp='$CPP $CPPFLAGS'
33125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33134 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33136 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33137 for ac_func in powl
33138 do :
33139 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33140 if test "x$ac_cv_func_powl" = x""yes; then :
33141 cat >>confdefs.h <<_ACEOF
33142 #define HAVE_POWL 1
33143 _ACEOF
33146 done
33148 else
33150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33151 $as_echo_n "checking for _powl declaration... " >&6; }
33152 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33153 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33154 $as_echo_n "(cached) " >&6
33155 else
33158 ac_ext=cpp
33159 ac_cpp='$CXXCPP $CPPFLAGS'
33160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33165 /* end confdefs.h. */
33166 #include <math.h>
33168 main ()
33170 _powl(0, 0);
33172 return 0;
33174 _ACEOF
33175 if ac_fn_cxx_try_compile "$LINENO"; then :
33176 glibcxx_cv_func__powl_use=yes
33177 else
33178 glibcxx_cv_func__powl_use=no
33180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33181 ac_ext=c
33182 ac_cpp='$CPP $CPPFLAGS'
33183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33192 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33194 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33195 for ac_func in _powl
33196 do :
33197 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33198 if test "x$ac_cv_func__powl" = x""yes; then :
33199 cat >>confdefs.h <<_ACEOF
33200 #define HAVE__POWL 1
33201 _ACEOF
33204 done
33213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33214 $as_echo_n "checking for sqrtl declaration... " >&6; }
33215 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33216 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33217 $as_echo_n "(cached) " >&6
33218 else
33221 ac_ext=cpp
33222 ac_cpp='$CXXCPP $CPPFLAGS'
33223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33228 /* end confdefs.h. */
33229 #include <math.h>
33230 #ifdef HAVE_IEEEFP_H
33231 #include <ieeefp.h>
33232 #endif
33235 main ()
33237 sqrtl(0);
33239 return 0;
33241 _ACEOF
33242 if ac_fn_cxx_try_compile "$LINENO"; then :
33243 glibcxx_cv_func_sqrtl_use=yes
33244 else
33245 glibcxx_cv_func_sqrtl_use=no
33247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33248 ac_ext=c
33249 ac_cpp='$CPP $CPPFLAGS'
33250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33259 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33261 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33262 for ac_func in sqrtl
33263 do :
33264 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33265 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33266 cat >>confdefs.h <<_ACEOF
33267 #define HAVE_SQRTL 1
33268 _ACEOF
33271 done
33273 else
33275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33276 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33277 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33278 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33279 $as_echo_n "(cached) " >&6
33280 else
33283 ac_ext=cpp
33284 ac_cpp='$CXXCPP $CPPFLAGS'
33285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33290 /* end confdefs.h. */
33291 #include <math.h>
33292 #ifdef HAVE_IEEEFP_H
33293 #include <ieeefp.h>
33294 #endif
33297 main ()
33299 _sqrtl(0);
33301 return 0;
33303 _ACEOF
33304 if ac_fn_cxx_try_compile "$LINENO"; then :
33305 glibcxx_cv_func__sqrtl_use=yes
33306 else
33307 glibcxx_cv_func__sqrtl_use=no
33309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33310 ac_ext=c
33311 ac_cpp='$CPP $CPPFLAGS'
33312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33321 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33323 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33324 for ac_func in _sqrtl
33325 do :
33326 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33327 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33328 cat >>confdefs.h <<_ACEOF
33329 #define HAVE__SQRTL 1
33330 _ACEOF
33333 done
33342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33343 $as_echo_n "checking for sincosl declaration... " >&6; }
33344 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33345 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33346 $as_echo_n "(cached) " >&6
33347 else
33350 ac_ext=cpp
33351 ac_cpp='$CXXCPP $CPPFLAGS'
33352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33357 /* end confdefs.h. */
33358 #include <math.h>
33360 main ()
33362 sincosl(0, 0, 0);
33364 return 0;
33366 _ACEOF
33367 if ac_fn_cxx_try_compile "$LINENO"; then :
33368 glibcxx_cv_func_sincosl_use=yes
33369 else
33370 glibcxx_cv_func_sincosl_use=no
33372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33373 ac_ext=c
33374 ac_cpp='$CPP $CPPFLAGS'
33375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33384 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33386 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33387 for ac_func in sincosl
33388 do :
33389 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33390 if test "x$ac_cv_func_sincosl" = x""yes; then :
33391 cat >>confdefs.h <<_ACEOF
33392 #define HAVE_SINCOSL 1
33393 _ACEOF
33396 done
33398 else
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33401 $as_echo_n "checking for _sincosl declaration... " >&6; }
33402 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33403 if test "${glibcxx_cv_func__sincosl_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 _sincosl(0, 0, 0);
33422 return 0;
33424 _ACEOF
33425 if ac_fn_cxx_try_compile "$LINENO"; then :
33426 glibcxx_cv_func__sincosl_use=yes
33427 else
33428 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
33442 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33444 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33445 for ac_func in _sincosl
33446 do :
33447 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33448 if test "x$ac_cv_func__sincosl" = x""yes; then :
33449 cat >>confdefs.h <<_ACEOF
33450 #define HAVE__SINCOSL 1
33451 _ACEOF
33454 done
33463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33464 $as_echo_n "checking for finitel declaration... " >&6; }
33465 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33466 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33467 $as_echo_n "(cached) " >&6
33468 else
33471 ac_ext=cpp
33472 ac_cpp='$CXXCPP $CPPFLAGS'
33473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33478 /* end confdefs.h. */
33479 #include <math.h>
33480 #ifdef HAVE_IEEEFP_H
33481 #include <ieeefp.h>
33482 #endif
33485 main ()
33487 finitel(0);
33489 return 0;
33491 _ACEOF
33492 if ac_fn_cxx_try_compile "$LINENO"; then :
33493 glibcxx_cv_func_finitel_use=yes
33494 else
33495 glibcxx_cv_func_finitel_use=no
33497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33498 ac_ext=c
33499 ac_cpp='$CPP $CPPFLAGS'
33500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33509 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33511 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33512 for ac_func in finitel
33513 do :
33514 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33515 if test "x$ac_cv_func_finitel" = x""yes; then :
33516 cat >>confdefs.h <<_ACEOF
33517 #define HAVE_FINITEL 1
33518 _ACEOF
33521 done
33523 else
33525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33526 $as_echo_n "checking for _finitel declaration... " >&6; }
33527 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33528 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33529 $as_echo_n "(cached) " >&6
33530 else
33533 ac_ext=cpp
33534 ac_cpp='$CXXCPP $CPPFLAGS'
33535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33540 /* end confdefs.h. */
33541 #include <math.h>
33542 #ifdef HAVE_IEEEFP_H
33543 #include <ieeefp.h>
33544 #endif
33547 main ()
33549 _finitel(0);
33551 return 0;
33553 _ACEOF
33554 if ac_fn_cxx_try_compile "$LINENO"; then :
33555 glibcxx_cv_func__finitel_use=yes
33556 else
33557 glibcxx_cv_func__finitel_use=no
33559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33560 ac_ext=c
33561 ac_cpp='$CPP $CPPFLAGS'
33562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33571 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33573 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33574 for ac_func in _finitel
33575 do :
33576 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33577 if test "x$ac_cv_func__finitel" = x""yes; then :
33578 cat >>confdefs.h <<_ACEOF
33579 #define HAVE__FINITEL 1
33580 _ACEOF
33583 done
33591 LIBS="$ac_save_LIBS"
33592 CXXFLAGS="$ac_save_CXXFLAGS"
33595 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33596 ac_save_CXXFLAGS="$CXXFLAGS"
33597 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33601 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33602 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33603 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33604 $as_echo_n "(cached) " >&6
33605 else
33608 ac_ext=cpp
33609 ac_cpp='$CXXCPP $CPPFLAGS'
33610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33615 /* end confdefs.h. */
33616 #include <stdlib.h>
33618 main ()
33620 at_quick_exit(0);
33622 return 0;
33624 _ACEOF
33625 if ac_fn_cxx_try_compile "$LINENO"; then :
33626 glibcxx_cv_func_at_quick_exit_use=yes
33627 else
33628 glibcxx_cv_func_at_quick_exit_use=no
33630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33631 ac_ext=c
33632 ac_cpp='$CPP $CPPFLAGS'
33633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33642 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33643 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33644 for ac_func in at_quick_exit
33645 do :
33646 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33647 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33648 cat >>confdefs.h <<_ACEOF
33649 #define HAVE_AT_QUICK_EXIT 1
33650 _ACEOF
33653 done
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33659 $as_echo_n "checking for quick_exit declaration... " >&6; }
33660 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33661 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33662 $as_echo_n "(cached) " >&6
33663 else
33666 ac_ext=cpp
33667 ac_cpp='$CXXCPP $CPPFLAGS'
33668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33673 /* end confdefs.h. */
33674 #include <stdlib.h>
33676 main ()
33678 quick_exit(0);
33680 return 0;
33682 _ACEOF
33683 if ac_fn_cxx_try_compile "$LINENO"; then :
33684 glibcxx_cv_func_quick_exit_use=yes
33685 else
33686 glibcxx_cv_func_quick_exit_use=no
33688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33689 ac_ext=c
33690 ac_cpp='$CPP $CPPFLAGS'
33691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33700 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33701 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33702 for ac_func in quick_exit
33703 do :
33704 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33705 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33706 cat >>confdefs.h <<_ACEOF
33707 #define HAVE_QUICK_EXIT 1
33708 _ACEOF
33711 done
33716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33717 $as_echo_n "checking for strtold declaration... " >&6; }
33718 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33719 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33720 $as_echo_n "(cached) " >&6
33721 else
33724 ac_ext=cpp
33725 ac_cpp='$CXXCPP $CPPFLAGS'
33726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33731 /* end confdefs.h. */
33732 #include <stdlib.h>
33734 main ()
33736 strtold(0, 0);
33738 return 0;
33740 _ACEOF
33741 if ac_fn_cxx_try_compile "$LINENO"; then :
33742 glibcxx_cv_func_strtold_use=yes
33743 else
33744 glibcxx_cv_func_strtold_use=no
33746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33747 ac_ext=c
33748 ac_cpp='$CPP $CPPFLAGS'
33749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33758 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33759 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33760 for ac_func in strtold
33761 do :
33762 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33763 if test "x$ac_cv_func_strtold" = x""yes; then :
33764 cat >>confdefs.h <<_ACEOF
33765 #define HAVE_STRTOLD 1
33766 _ACEOF
33769 done
33776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33777 $as_echo_n "checking for strtof declaration... " >&6; }
33778 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33779 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33780 $as_echo_n "(cached) " >&6
33781 else
33784 ac_ext=cpp
33785 ac_cpp='$CXXCPP $CPPFLAGS'
33786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33791 /* end confdefs.h. */
33792 #include <stdlib.h>
33794 main ()
33796 strtof(0, 0);
33798 return 0;
33800 _ACEOF
33801 if ac_fn_cxx_try_compile "$LINENO"; then :
33802 glibcxx_cv_func_strtof_use=yes
33803 else
33804 glibcxx_cv_func_strtof_use=no
33806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33807 ac_ext=c
33808 ac_cpp='$CPP $CPPFLAGS'
33809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33818 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33819 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33820 for ac_func in strtof
33821 do :
33822 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33823 if test "x$ac_cv_func_strtof" = x""yes; then :
33824 cat >>confdefs.h <<_ACEOF
33825 #define HAVE_STRTOF 1
33826 _ACEOF
33829 done
33836 CXXFLAGS="$ac_save_CXXFLAGS"
33839 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33841 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33843 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33845 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33848 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33850 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33852 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33856 spu-*-elf*)
33858 # All these tests are for C++; save the language and the compiler flags.
33859 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33860 # found in GLIBCXX_CONFIGURE.
33862 ac_ext=cpp
33863 ac_cpp='$CXXCPP $CPPFLAGS'
33864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33868 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33869 ac_save_CXXFLAGS="$CXXFLAGS"
33871 # Check for maintainer-mode bits.
33872 if test x"$USE_MAINTAINER_MODE" = xno; then
33873 WERROR=''
33874 else
33875 WERROR='-Werror'
33878 # Check for -ffunction-sections -fdata-sections
33879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33880 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33881 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33883 /* end confdefs.h. */
33884 int foo; void bar() { };
33886 main ()
33890 return 0;
33892 _ACEOF
33893 if ac_fn_cxx_try_compile "$LINENO"; then :
33894 ac_fdsections=yes
33895 else
33896 ac_fdsections=no
33898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33899 if test "$ac_test_CXXFLAGS" = set; then
33900 CXXFLAGS="$ac_save_CXXFLAGS"
33901 else
33902 # this is the suspicious part
33903 CXXFLAGS=''
33905 if test x"$ac_fdsections" = x"yes"; then
33906 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33909 $as_echo "$ac_fdsections" >&6; }
33911 ac_ext=c
33912 ac_cpp='$CPP $CPPFLAGS'
33913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33921 # If we're not using GNU ld, then there's no point in even trying these
33922 # tests. Check for that first. We should have already tested for gld
33923 # by now (in libtool), but require it now just to be safe...
33924 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33925 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33929 # The name set by libtool depends on the version of libtool. Shame on us
33930 # for depending on an impl detail, but c'est la vie. Older versions used
33931 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33932 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33933 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33934 # set (hence we're using an older libtool), then set it.
33935 if test x${with_gnu_ld+set} != xset; then
33936 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33937 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33938 with_gnu_ld=no
33939 else
33940 with_gnu_ld=$ac_cv_prog_gnu_ld
33944 # Start by getting the version number. I think the libtool test already
33945 # does some of this, but throws away the result.
33946 glibcxx_ld_is_gold=no
33947 if test x"$with_gnu_ld" = x"yes"; then
33948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33949 $as_echo_n "checking for ld version... " >&6; }
33951 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33952 glibcxx_ld_is_gold=yes
33954 ldver=`$LD --version 2>/dev/null |
33955 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'`
33957 glibcxx_gnu_ld_version=`echo $ldver | \
33958 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33960 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33963 # Set --gc-sections.
33964 glibcxx_have_gc_sections=no
33965 if test "$glibcxx_ld_is_gold" = "yes"; then
33966 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33967 glibcxx_have_gc_sections=yes
33969 else
33970 glibcxx_gcsections_min_ld=21602
33971 if test x"$with_gnu_ld" = x"yes" &&
33972 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33973 glibcxx_have_gc_sections=yes
33976 if test "$glibcxx_have_gc_sections" = "yes"; then
33977 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33978 # NB: This flag only works reliably after 2.16.1. Configure tests
33979 # for this are difficult, so hard wire a value that should work.
33981 ac_test_CFLAGS="${CFLAGS+set}"
33982 ac_save_CFLAGS="$CFLAGS"
33983 CFLAGS='-Wl,--gc-sections'
33985 # Check for -Wl,--gc-sections
33986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33987 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33988 if test x$gcc_no_link = xyes; then
33989 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33992 /* end confdefs.h. */
33993 int one(void) { return 1; }
33994 int two(void) { return 2; }
33997 main ()
33999 two();
34001 return 0;
34003 _ACEOF
34004 if ac_fn_c_try_link "$LINENO"; then :
34005 ac_gcsections=yes
34006 else
34007 ac_gcsections=no
34009 rm -f core conftest.err conftest.$ac_objext \
34010 conftest$ac_exeext conftest.$ac_ext
34011 if test "$ac_gcsections" = "yes"; then
34012 rm -f conftest.c
34013 touch conftest.c
34014 if $CC -c conftest.c; then
34015 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34016 grep "Warning: gc-sections option ignored" > /dev/null; then
34017 ac_gcsections=no
34020 rm -f conftest.c conftest.o conftest
34022 if test "$ac_gcsections" = "yes"; then
34023 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34026 $as_echo "$ac_gcsections" >&6; }
34028 if test "$ac_test_CFLAGS" = set; then
34029 CFLAGS="$ac_save_CFLAGS"
34030 else
34031 # this is the suspicious part
34032 CFLAGS=''
34036 # Set -z,relro.
34037 # Note this is only for shared objects.
34038 ac_ld_relro=no
34039 if test x"$with_gnu_ld" = x"yes"; then
34040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34041 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34042 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34043 if test -n "$cxx_z_relo"; then
34044 OPT_LDFLAGS="-Wl,-z,relro"
34045 ac_ld_relro=yes
34047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34048 $as_echo "$ac_ld_relro" >&6; }
34051 # Set linker optimization flags.
34052 if test x"$with_gnu_ld" = x"yes"; then
34053 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34060 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34061 ac_save_CXXFLAGS="$CXXFLAGS"
34062 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34065 $as_echo_n "checking for sin in -lm... " >&6; }
34066 if test "${ac_cv_lib_m_sin+set}" = set; then :
34067 $as_echo_n "(cached) " >&6
34068 else
34069 ac_check_lib_save_LIBS=$LIBS
34070 LIBS="-lm $LIBS"
34071 if test x$gcc_no_link = xyes; then
34072 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34075 /* end confdefs.h. */
34077 /* Override any GCC internal prototype to avoid an error.
34078 Use char because int might match the return type of a GCC
34079 builtin and then its argument prototype would still apply. */
34080 #ifdef __cplusplus
34081 extern "C"
34082 #endif
34083 char sin ();
34085 main ()
34087 return sin ();
34089 return 0;
34091 _ACEOF
34092 if ac_fn_c_try_link "$LINENO"; then :
34093 ac_cv_lib_m_sin=yes
34094 else
34095 ac_cv_lib_m_sin=no
34097 rm -f core conftest.err conftest.$ac_objext \
34098 conftest$ac_exeext conftest.$ac_ext
34099 LIBS=$ac_check_lib_save_LIBS
34101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34102 $as_echo "$ac_cv_lib_m_sin" >&6; }
34103 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34104 libm="-lm"
34107 ac_save_LIBS="$LIBS"
34108 LIBS="$LIBS $libm"
34112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34113 $as_echo_n "checking for isinf declaration... " >&6; }
34114 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34115 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34116 $as_echo_n "(cached) " >&6
34117 else
34120 ac_ext=cpp
34121 ac_cpp='$CXXCPP $CPPFLAGS'
34122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34127 /* end confdefs.h. */
34128 #include <math.h>
34129 #ifdef HAVE_IEEEFP_H
34130 #include <ieeefp.h>
34131 #endif
34134 main ()
34136 isinf(0);
34138 return 0;
34140 _ACEOF
34141 if ac_fn_cxx_try_compile "$LINENO"; then :
34142 glibcxx_cv_func_isinf_use=yes
34143 else
34144 glibcxx_cv_func_isinf_use=no
34146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34147 ac_ext=c
34148 ac_cpp='$CPP $CPPFLAGS'
34149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34158 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34160 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34161 for ac_func in isinf
34162 do :
34163 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34164 if test "x$ac_cv_func_isinf" = x""yes; then :
34165 cat >>confdefs.h <<_ACEOF
34166 #define HAVE_ISINF 1
34167 _ACEOF
34170 done
34172 else
34174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34175 $as_echo_n "checking for _isinf declaration... " >&6; }
34176 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34177 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34178 $as_echo_n "(cached) " >&6
34179 else
34182 ac_ext=cpp
34183 ac_cpp='$CXXCPP $CPPFLAGS'
34184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34189 /* end confdefs.h. */
34190 #include <math.h>
34191 #ifdef HAVE_IEEEFP_H
34192 #include <ieeefp.h>
34193 #endif
34196 main ()
34198 _isinf(0);
34200 return 0;
34202 _ACEOF
34203 if ac_fn_cxx_try_compile "$LINENO"; then :
34204 glibcxx_cv_func__isinf_use=yes
34205 else
34206 glibcxx_cv_func__isinf_use=no
34208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34209 ac_ext=c
34210 ac_cpp='$CPP $CPPFLAGS'
34211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34220 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34222 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34223 for ac_func in _isinf
34224 do :
34225 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34226 if test "x$ac_cv_func__isinf" = x""yes; then :
34227 cat >>confdefs.h <<_ACEOF
34228 #define HAVE__ISINF 1
34229 _ACEOF
34232 done
34241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34242 $as_echo_n "checking for isnan declaration... " >&6; }
34243 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34244 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34245 $as_echo_n "(cached) " >&6
34246 else
34249 ac_ext=cpp
34250 ac_cpp='$CXXCPP $CPPFLAGS'
34251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34256 /* end confdefs.h. */
34257 #include <math.h>
34258 #ifdef HAVE_IEEEFP_H
34259 #include <ieeefp.h>
34260 #endif
34263 main ()
34265 isnan(0);
34267 return 0;
34269 _ACEOF
34270 if ac_fn_cxx_try_compile "$LINENO"; then :
34271 glibcxx_cv_func_isnan_use=yes
34272 else
34273 glibcxx_cv_func_isnan_use=no
34275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34276 ac_ext=c
34277 ac_cpp='$CPP $CPPFLAGS'
34278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34287 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34289 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34290 for ac_func in isnan
34291 do :
34292 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34293 if test "x$ac_cv_func_isnan" = x""yes; then :
34294 cat >>confdefs.h <<_ACEOF
34295 #define HAVE_ISNAN 1
34296 _ACEOF
34299 done
34301 else
34303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34304 $as_echo_n "checking for _isnan declaration... " >&6; }
34305 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34306 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34307 $as_echo_n "(cached) " >&6
34308 else
34311 ac_ext=cpp
34312 ac_cpp='$CXXCPP $CPPFLAGS'
34313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34318 /* end confdefs.h. */
34319 #include <math.h>
34320 #ifdef HAVE_IEEEFP_H
34321 #include <ieeefp.h>
34322 #endif
34325 main ()
34327 _isnan(0);
34329 return 0;
34331 _ACEOF
34332 if ac_fn_cxx_try_compile "$LINENO"; then :
34333 glibcxx_cv_func__isnan_use=yes
34334 else
34335 glibcxx_cv_func__isnan_use=no
34337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34338 ac_ext=c
34339 ac_cpp='$CPP $CPPFLAGS'
34340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34349 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34351 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34352 for ac_func in _isnan
34353 do :
34354 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34355 if test "x$ac_cv_func__isnan" = x""yes; then :
34356 cat >>confdefs.h <<_ACEOF
34357 #define HAVE__ISNAN 1
34358 _ACEOF
34361 done
34370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34371 $as_echo_n "checking for finite declaration... " >&6; }
34372 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34373 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34374 $as_echo_n "(cached) " >&6
34375 else
34378 ac_ext=cpp
34379 ac_cpp='$CXXCPP $CPPFLAGS'
34380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34385 /* end confdefs.h. */
34386 #include <math.h>
34387 #ifdef HAVE_IEEEFP_H
34388 #include <ieeefp.h>
34389 #endif
34392 main ()
34394 finite(0);
34396 return 0;
34398 _ACEOF
34399 if ac_fn_cxx_try_compile "$LINENO"; then :
34400 glibcxx_cv_func_finite_use=yes
34401 else
34402 glibcxx_cv_func_finite_use=no
34404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34405 ac_ext=c
34406 ac_cpp='$CPP $CPPFLAGS'
34407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34416 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34418 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34419 for ac_func in finite
34420 do :
34421 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34422 if test "x$ac_cv_func_finite" = x""yes; then :
34423 cat >>confdefs.h <<_ACEOF
34424 #define HAVE_FINITE 1
34425 _ACEOF
34428 done
34430 else
34432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34433 $as_echo_n "checking for _finite declaration... " >&6; }
34434 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34435 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34436 $as_echo_n "(cached) " >&6
34437 else
34440 ac_ext=cpp
34441 ac_cpp='$CXXCPP $CPPFLAGS'
34442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34447 /* end confdefs.h. */
34448 #include <math.h>
34449 #ifdef HAVE_IEEEFP_H
34450 #include <ieeefp.h>
34451 #endif
34454 main ()
34456 _finite(0);
34458 return 0;
34460 _ACEOF
34461 if ac_fn_cxx_try_compile "$LINENO"; then :
34462 glibcxx_cv_func__finite_use=yes
34463 else
34464 glibcxx_cv_func__finite_use=no
34466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34467 ac_ext=c
34468 ac_cpp='$CPP $CPPFLAGS'
34469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34478 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34480 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34481 for ac_func in _finite
34482 do :
34483 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34484 if test "x$ac_cv_func__finite" = x""yes; then :
34485 cat >>confdefs.h <<_ACEOF
34486 #define HAVE__FINITE 1
34487 _ACEOF
34490 done
34499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34500 $as_echo_n "checking for sincos declaration... " >&6; }
34501 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34502 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34503 $as_echo_n "(cached) " >&6
34504 else
34507 ac_ext=cpp
34508 ac_cpp='$CXXCPP $CPPFLAGS'
34509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34514 /* end confdefs.h. */
34515 #include <math.h>
34517 main ()
34519 sincos(0, 0, 0);
34521 return 0;
34523 _ACEOF
34524 if ac_fn_cxx_try_compile "$LINENO"; then :
34525 glibcxx_cv_func_sincos_use=yes
34526 else
34527 glibcxx_cv_func_sincos_use=no
34529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34530 ac_ext=c
34531 ac_cpp='$CPP $CPPFLAGS'
34532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34541 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34543 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34544 for ac_func in sincos
34545 do :
34546 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34547 if test "x$ac_cv_func_sincos" = x""yes; then :
34548 cat >>confdefs.h <<_ACEOF
34549 #define HAVE_SINCOS 1
34550 _ACEOF
34553 done
34555 else
34557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34558 $as_echo_n "checking for _sincos declaration... " >&6; }
34559 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34560 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34561 $as_echo_n "(cached) " >&6
34562 else
34565 ac_ext=cpp
34566 ac_cpp='$CXXCPP $CPPFLAGS'
34567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34572 /* end confdefs.h. */
34573 #include <math.h>
34575 main ()
34577 _sincos(0, 0, 0);
34579 return 0;
34581 _ACEOF
34582 if ac_fn_cxx_try_compile "$LINENO"; then :
34583 glibcxx_cv_func__sincos_use=yes
34584 else
34585 glibcxx_cv_func__sincos_use=no
34587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34588 ac_ext=c
34589 ac_cpp='$CPP $CPPFLAGS'
34590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34599 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34601 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34602 for ac_func in _sincos
34603 do :
34604 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34605 if test "x$ac_cv_func__sincos" = x""yes; then :
34606 cat >>confdefs.h <<_ACEOF
34607 #define HAVE__SINCOS 1
34608 _ACEOF
34611 done
34620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34621 $as_echo_n "checking for fpclass declaration... " >&6; }
34622 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34623 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34624 $as_echo_n "(cached) " >&6
34625 else
34628 ac_ext=cpp
34629 ac_cpp='$CXXCPP $CPPFLAGS'
34630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34635 /* end confdefs.h. */
34636 #include <math.h>
34637 #ifdef HAVE_IEEEFP_H
34638 #include <ieeefp.h>
34639 #endif
34642 main ()
34644 fpclass(0);
34646 return 0;
34648 _ACEOF
34649 if ac_fn_cxx_try_compile "$LINENO"; then :
34650 glibcxx_cv_func_fpclass_use=yes
34651 else
34652 glibcxx_cv_func_fpclass_use=no
34654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34655 ac_ext=c
34656 ac_cpp='$CPP $CPPFLAGS'
34657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34666 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34668 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34669 for ac_func in fpclass
34670 do :
34671 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34672 if test "x$ac_cv_func_fpclass" = x""yes; then :
34673 cat >>confdefs.h <<_ACEOF
34674 #define HAVE_FPCLASS 1
34675 _ACEOF
34678 done
34680 else
34682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34683 $as_echo_n "checking for _fpclass declaration... " >&6; }
34684 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34685 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34686 $as_echo_n "(cached) " >&6
34687 else
34690 ac_ext=cpp
34691 ac_cpp='$CXXCPP $CPPFLAGS'
34692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34697 /* end confdefs.h. */
34698 #include <math.h>
34699 #ifdef HAVE_IEEEFP_H
34700 #include <ieeefp.h>
34701 #endif
34704 main ()
34706 _fpclass(0);
34708 return 0;
34710 _ACEOF
34711 if ac_fn_cxx_try_compile "$LINENO"; then :
34712 glibcxx_cv_func__fpclass_use=yes
34713 else
34714 glibcxx_cv_func__fpclass_use=no
34716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34717 ac_ext=c
34718 ac_cpp='$CPP $CPPFLAGS'
34719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34728 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34730 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34731 for ac_func in _fpclass
34732 do :
34733 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34734 if test "x$ac_cv_func__fpclass" = x""yes; then :
34735 cat >>confdefs.h <<_ACEOF
34736 #define HAVE__FPCLASS 1
34737 _ACEOF
34740 done
34749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34750 $as_echo_n "checking for qfpclass declaration... " >&6; }
34751 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34752 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34753 $as_echo_n "(cached) " >&6
34754 else
34757 ac_ext=cpp
34758 ac_cpp='$CXXCPP $CPPFLAGS'
34759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34764 /* end confdefs.h. */
34765 #include <math.h>
34766 #ifdef HAVE_IEEEFP_H
34767 #include <ieeefp.h>
34768 #endif
34771 main ()
34773 qfpclass(0);
34775 return 0;
34777 _ACEOF
34778 if ac_fn_cxx_try_compile "$LINENO"; then :
34779 glibcxx_cv_func_qfpclass_use=yes
34780 else
34781 glibcxx_cv_func_qfpclass_use=no
34783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34784 ac_ext=c
34785 ac_cpp='$CPP $CPPFLAGS'
34786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34795 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34797 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34798 for ac_func in qfpclass
34799 do :
34800 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34801 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34802 cat >>confdefs.h <<_ACEOF
34803 #define HAVE_QFPCLASS 1
34804 _ACEOF
34807 done
34809 else
34811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34812 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34813 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34814 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34815 $as_echo_n "(cached) " >&6
34816 else
34819 ac_ext=cpp
34820 ac_cpp='$CXXCPP $CPPFLAGS'
34821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34826 /* end confdefs.h. */
34827 #include <math.h>
34828 #ifdef HAVE_IEEEFP_H
34829 #include <ieeefp.h>
34830 #endif
34833 main ()
34835 _qfpclass(0);
34837 return 0;
34839 _ACEOF
34840 if ac_fn_cxx_try_compile "$LINENO"; then :
34841 glibcxx_cv_func__qfpclass_use=yes
34842 else
34843 glibcxx_cv_func__qfpclass_use=no
34845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34846 ac_ext=c
34847 ac_cpp='$CPP $CPPFLAGS'
34848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34857 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34859 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34860 for ac_func in _qfpclass
34861 do :
34862 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34863 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34864 cat >>confdefs.h <<_ACEOF
34865 #define HAVE__QFPCLASS 1
34866 _ACEOF
34869 done
34878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34879 $as_echo_n "checking for hypot declaration... " >&6; }
34880 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34881 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34882 $as_echo_n "(cached) " >&6
34883 else
34886 ac_ext=cpp
34887 ac_cpp='$CXXCPP $CPPFLAGS'
34888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34893 /* end confdefs.h. */
34894 #include <math.h>
34896 main ()
34898 hypot(0, 0);
34900 return 0;
34902 _ACEOF
34903 if ac_fn_cxx_try_compile "$LINENO"; then :
34904 glibcxx_cv_func_hypot_use=yes
34905 else
34906 glibcxx_cv_func_hypot_use=no
34908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34909 ac_ext=c
34910 ac_cpp='$CPP $CPPFLAGS'
34911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34920 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34922 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34923 for ac_func in hypot
34924 do :
34925 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34926 if test "x$ac_cv_func_hypot" = x""yes; then :
34927 cat >>confdefs.h <<_ACEOF
34928 #define HAVE_HYPOT 1
34929 _ACEOF
34932 done
34934 else
34936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34937 $as_echo_n "checking for _hypot declaration... " >&6; }
34938 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34939 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34940 $as_echo_n "(cached) " >&6
34941 else
34944 ac_ext=cpp
34945 ac_cpp='$CXXCPP $CPPFLAGS'
34946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34951 /* end confdefs.h. */
34952 #include <math.h>
34954 main ()
34956 _hypot(0, 0);
34958 return 0;
34960 _ACEOF
34961 if ac_fn_cxx_try_compile "$LINENO"; then :
34962 glibcxx_cv_func__hypot_use=yes
34963 else
34964 glibcxx_cv_func__hypot_use=no
34966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34967 ac_ext=c
34968 ac_cpp='$CPP $CPPFLAGS'
34969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34978 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34980 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34981 for ac_func in _hypot
34982 do :
34983 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34984 if test "x$ac_cv_func__hypot" = x""yes; then :
34985 cat >>confdefs.h <<_ACEOF
34986 #define HAVE__HYPOT 1
34987 _ACEOF
34990 done
34999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35000 $as_echo_n "checking for float trig functions... " >&6; }
35001 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35002 $as_echo_n "(cached) " >&6
35003 else
35006 ac_ext=cpp
35007 ac_cpp='$CXXCPP $CPPFLAGS'
35008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35013 /* end confdefs.h. */
35014 #include <math.h>
35016 main ()
35018 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35020 return 0;
35022 _ACEOF
35023 if ac_fn_cxx_try_compile "$LINENO"; then :
35024 glibcxx_cv_func_float_trig_use=yes
35025 else
35026 glibcxx_cv_func_float_trig_use=no
35028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35029 ac_ext=c
35030 ac_cpp='$CPP $CPPFLAGS'
35031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35038 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35039 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35040 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35041 do :
35042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35044 eval as_val=\$$as_ac_var
35045 if test "x$as_val" = x""yes; then :
35046 cat >>confdefs.h <<_ACEOF
35047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35048 _ACEOF
35051 done
35053 else
35054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35055 $as_echo_n "checking for _float trig functions... " >&6; }
35056 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35057 $as_echo_n "(cached) " >&6
35058 else
35061 ac_ext=cpp
35062 ac_cpp='$CXXCPP $CPPFLAGS'
35063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h. */
35069 #include <math.h>
35071 main ()
35073 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35075 return 0;
35077 _ACEOF
35078 if ac_fn_cxx_try_compile "$LINENO"; then :
35079 glibcxx_cv_func__float_trig_use=yes
35080 else
35081 glibcxx_cv_func__float_trig_use=no
35083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35084 ac_ext=c
35085 ac_cpp='$CPP $CPPFLAGS'
35086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35093 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35094 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35095 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35096 do :
35097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35099 eval as_val=\$$as_ac_var
35100 if test "x$as_val" = x""yes; then :
35101 cat >>confdefs.h <<_ACEOF
35102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35103 _ACEOF
35106 done
35115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35116 $as_echo_n "checking for float round functions... " >&6; }
35117 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35118 $as_echo_n "(cached) " >&6
35119 else
35122 ac_ext=cpp
35123 ac_cpp='$CXXCPP $CPPFLAGS'
35124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35129 /* end confdefs.h. */
35130 #include <math.h>
35132 main ()
35134 ceilf (0); floorf (0);
35136 return 0;
35138 _ACEOF
35139 if ac_fn_cxx_try_compile "$LINENO"; then :
35140 glibcxx_cv_func_float_round_use=yes
35141 else
35142 glibcxx_cv_func_float_round_use=no
35144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35145 ac_ext=c
35146 ac_cpp='$CPP $CPPFLAGS'
35147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35154 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35155 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35156 for ac_func in ceilf floorf
35157 do :
35158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35160 eval as_val=\$$as_ac_var
35161 if test "x$as_val" = x""yes; then :
35162 cat >>confdefs.h <<_ACEOF
35163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35164 _ACEOF
35167 done
35169 else
35170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35171 $as_echo_n "checking for _float round functions... " >&6; }
35172 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35173 $as_echo_n "(cached) " >&6
35174 else
35177 ac_ext=cpp
35178 ac_cpp='$CXXCPP $CPPFLAGS'
35179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35184 /* end confdefs.h. */
35185 #include <math.h>
35187 main ()
35189 _ceilf (0); _floorf (0);
35191 return 0;
35193 _ACEOF
35194 if ac_fn_cxx_try_compile "$LINENO"; then :
35195 glibcxx_cv_func__float_round_use=yes
35196 else
35197 glibcxx_cv_func__float_round_use=no
35199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35200 ac_ext=c
35201 ac_cpp='$CPP $CPPFLAGS'
35202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35209 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35210 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35211 for ac_func in _ceilf _floorf
35212 do :
35213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35215 eval as_val=\$$as_ac_var
35216 if test "x$as_val" = x""yes; then :
35217 cat >>confdefs.h <<_ACEOF
35218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35219 _ACEOF
35222 done
35232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35233 $as_echo_n "checking for expf declaration... " >&6; }
35234 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35235 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35236 $as_echo_n "(cached) " >&6
35237 else
35240 ac_ext=cpp
35241 ac_cpp='$CXXCPP $CPPFLAGS'
35242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35247 /* end confdefs.h. */
35248 #include <math.h>
35249 #ifdef HAVE_IEEEFP_H
35250 #include <ieeefp.h>
35251 #endif
35254 main ()
35256 expf(0);
35258 return 0;
35260 _ACEOF
35261 if ac_fn_cxx_try_compile "$LINENO"; then :
35262 glibcxx_cv_func_expf_use=yes
35263 else
35264 glibcxx_cv_func_expf_use=no
35266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35267 ac_ext=c
35268 ac_cpp='$CPP $CPPFLAGS'
35269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35278 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35280 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35281 for ac_func in expf
35282 do :
35283 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35284 if test "x$ac_cv_func_expf" = x""yes; then :
35285 cat >>confdefs.h <<_ACEOF
35286 #define HAVE_EXPF 1
35287 _ACEOF
35290 done
35292 else
35294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35295 $as_echo_n "checking for _expf declaration... " >&6; }
35296 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35297 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35298 $as_echo_n "(cached) " >&6
35299 else
35302 ac_ext=cpp
35303 ac_cpp='$CXXCPP $CPPFLAGS'
35304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35309 /* end confdefs.h. */
35310 #include <math.h>
35311 #ifdef HAVE_IEEEFP_H
35312 #include <ieeefp.h>
35313 #endif
35316 main ()
35318 _expf(0);
35320 return 0;
35322 _ACEOF
35323 if ac_fn_cxx_try_compile "$LINENO"; then :
35324 glibcxx_cv_func__expf_use=yes
35325 else
35326 glibcxx_cv_func__expf_use=no
35328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35329 ac_ext=c
35330 ac_cpp='$CPP $CPPFLAGS'
35331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35340 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35342 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35343 for ac_func in _expf
35344 do :
35345 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35346 if test "x$ac_cv_func__expf" = x""yes; then :
35347 cat >>confdefs.h <<_ACEOF
35348 #define HAVE__EXPF 1
35349 _ACEOF
35352 done
35361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35362 $as_echo_n "checking for isnanf declaration... " >&6; }
35363 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35364 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35365 $as_echo_n "(cached) " >&6
35366 else
35369 ac_ext=cpp
35370 ac_cpp='$CXXCPP $CPPFLAGS'
35371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35376 /* end confdefs.h. */
35377 #include <math.h>
35378 #ifdef HAVE_IEEEFP_H
35379 #include <ieeefp.h>
35380 #endif
35383 main ()
35385 isnanf(0);
35387 return 0;
35389 _ACEOF
35390 if ac_fn_cxx_try_compile "$LINENO"; then :
35391 glibcxx_cv_func_isnanf_use=yes
35392 else
35393 glibcxx_cv_func_isnanf_use=no
35395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35396 ac_ext=c
35397 ac_cpp='$CPP $CPPFLAGS'
35398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35407 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35409 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35410 for ac_func in isnanf
35411 do :
35412 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35413 if test "x$ac_cv_func_isnanf" = x""yes; then :
35414 cat >>confdefs.h <<_ACEOF
35415 #define HAVE_ISNANF 1
35416 _ACEOF
35419 done
35421 else
35423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35424 $as_echo_n "checking for _isnanf declaration... " >&6; }
35425 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35426 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35427 $as_echo_n "(cached) " >&6
35428 else
35431 ac_ext=cpp
35432 ac_cpp='$CXXCPP $CPPFLAGS'
35433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35438 /* end confdefs.h. */
35439 #include <math.h>
35440 #ifdef HAVE_IEEEFP_H
35441 #include <ieeefp.h>
35442 #endif
35445 main ()
35447 _isnanf(0);
35449 return 0;
35451 _ACEOF
35452 if ac_fn_cxx_try_compile "$LINENO"; then :
35453 glibcxx_cv_func__isnanf_use=yes
35454 else
35455 glibcxx_cv_func__isnanf_use=no
35457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35458 ac_ext=c
35459 ac_cpp='$CPP $CPPFLAGS'
35460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35469 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35471 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35472 for ac_func in _isnanf
35473 do :
35474 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35475 if test "x$ac_cv_func__isnanf" = x""yes; then :
35476 cat >>confdefs.h <<_ACEOF
35477 #define HAVE__ISNANF 1
35478 _ACEOF
35481 done
35490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35491 $as_echo_n "checking for isinff declaration... " >&6; }
35492 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35493 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35494 $as_echo_n "(cached) " >&6
35495 else
35498 ac_ext=cpp
35499 ac_cpp='$CXXCPP $CPPFLAGS'
35500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35505 /* end confdefs.h. */
35506 #include <math.h>
35507 #ifdef HAVE_IEEEFP_H
35508 #include <ieeefp.h>
35509 #endif
35512 main ()
35514 isinff(0);
35516 return 0;
35518 _ACEOF
35519 if ac_fn_cxx_try_compile "$LINENO"; then :
35520 glibcxx_cv_func_isinff_use=yes
35521 else
35522 glibcxx_cv_func_isinff_use=no
35524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35525 ac_ext=c
35526 ac_cpp='$CPP $CPPFLAGS'
35527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35536 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35538 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35539 for ac_func in isinff
35540 do :
35541 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35542 if test "x$ac_cv_func_isinff" = x""yes; then :
35543 cat >>confdefs.h <<_ACEOF
35544 #define HAVE_ISINFF 1
35545 _ACEOF
35548 done
35550 else
35552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35553 $as_echo_n "checking for _isinff declaration... " >&6; }
35554 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35555 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35556 $as_echo_n "(cached) " >&6
35557 else
35560 ac_ext=cpp
35561 ac_cpp='$CXXCPP $CPPFLAGS'
35562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35567 /* end confdefs.h. */
35568 #include <math.h>
35569 #ifdef HAVE_IEEEFP_H
35570 #include <ieeefp.h>
35571 #endif
35574 main ()
35576 _isinff(0);
35578 return 0;
35580 _ACEOF
35581 if ac_fn_cxx_try_compile "$LINENO"; then :
35582 glibcxx_cv_func__isinff_use=yes
35583 else
35584 glibcxx_cv_func__isinff_use=no
35586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35587 ac_ext=c
35588 ac_cpp='$CPP $CPPFLAGS'
35589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35598 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35600 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35601 for ac_func in _isinff
35602 do :
35603 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35604 if test "x$ac_cv_func__isinff" = x""yes; then :
35605 cat >>confdefs.h <<_ACEOF
35606 #define HAVE__ISINFF 1
35607 _ACEOF
35610 done
35619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35620 $as_echo_n "checking for atan2f declaration... " >&6; }
35621 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35622 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35623 $as_echo_n "(cached) " >&6
35624 else
35627 ac_ext=cpp
35628 ac_cpp='$CXXCPP $CPPFLAGS'
35629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35634 /* end confdefs.h. */
35635 #include <math.h>
35637 main ()
35639 atan2f(0, 0);
35641 return 0;
35643 _ACEOF
35644 if ac_fn_cxx_try_compile "$LINENO"; then :
35645 glibcxx_cv_func_atan2f_use=yes
35646 else
35647 glibcxx_cv_func_atan2f_use=no
35649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35650 ac_ext=c
35651 ac_cpp='$CPP $CPPFLAGS'
35652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35661 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35663 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35664 for ac_func in atan2f
35665 do :
35666 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35667 if test "x$ac_cv_func_atan2f" = x""yes; then :
35668 cat >>confdefs.h <<_ACEOF
35669 #define HAVE_ATAN2F 1
35670 _ACEOF
35673 done
35675 else
35677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35678 $as_echo_n "checking for _atan2f declaration... " >&6; }
35679 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35680 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35681 $as_echo_n "(cached) " >&6
35682 else
35685 ac_ext=cpp
35686 ac_cpp='$CXXCPP $CPPFLAGS'
35687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35692 /* end confdefs.h. */
35693 #include <math.h>
35695 main ()
35697 _atan2f(0, 0);
35699 return 0;
35701 _ACEOF
35702 if ac_fn_cxx_try_compile "$LINENO"; then :
35703 glibcxx_cv_func__atan2f_use=yes
35704 else
35705 glibcxx_cv_func__atan2f_use=no
35707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35708 ac_ext=c
35709 ac_cpp='$CPP $CPPFLAGS'
35710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35719 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35721 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35722 for ac_func in _atan2f
35723 do :
35724 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35725 if test "x$ac_cv_func__atan2f" = x""yes; then :
35726 cat >>confdefs.h <<_ACEOF
35727 #define HAVE__ATAN2F 1
35728 _ACEOF
35731 done
35740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35741 $as_echo_n "checking for fabsf declaration... " >&6; }
35742 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35743 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35744 $as_echo_n "(cached) " >&6
35745 else
35748 ac_ext=cpp
35749 ac_cpp='$CXXCPP $CPPFLAGS'
35750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35755 /* end confdefs.h. */
35756 #include <math.h>
35757 #ifdef HAVE_IEEEFP_H
35758 #include <ieeefp.h>
35759 #endif
35762 main ()
35764 fabsf(0);
35766 return 0;
35768 _ACEOF
35769 if ac_fn_cxx_try_compile "$LINENO"; then :
35770 glibcxx_cv_func_fabsf_use=yes
35771 else
35772 glibcxx_cv_func_fabsf_use=no
35774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35775 ac_ext=c
35776 ac_cpp='$CPP $CPPFLAGS'
35777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35786 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35788 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35789 for ac_func in fabsf
35790 do :
35791 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35792 if test "x$ac_cv_func_fabsf" = x""yes; then :
35793 cat >>confdefs.h <<_ACEOF
35794 #define HAVE_FABSF 1
35795 _ACEOF
35798 done
35800 else
35802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35803 $as_echo_n "checking for _fabsf declaration... " >&6; }
35804 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35805 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35806 $as_echo_n "(cached) " >&6
35807 else
35810 ac_ext=cpp
35811 ac_cpp='$CXXCPP $CPPFLAGS'
35812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35817 /* end confdefs.h. */
35818 #include <math.h>
35819 #ifdef HAVE_IEEEFP_H
35820 #include <ieeefp.h>
35821 #endif
35824 main ()
35826 _fabsf(0);
35828 return 0;
35830 _ACEOF
35831 if ac_fn_cxx_try_compile "$LINENO"; then :
35832 glibcxx_cv_func__fabsf_use=yes
35833 else
35834 glibcxx_cv_func__fabsf_use=no
35836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35837 ac_ext=c
35838 ac_cpp='$CPP $CPPFLAGS'
35839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35848 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35850 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35851 for ac_func in _fabsf
35852 do :
35853 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35854 if test "x$ac_cv_func__fabsf" = x""yes; then :
35855 cat >>confdefs.h <<_ACEOF
35856 #define HAVE__FABSF 1
35857 _ACEOF
35860 done
35869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35870 $as_echo_n "checking for fmodf declaration... " >&6; }
35871 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35872 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35873 $as_echo_n "(cached) " >&6
35874 else
35877 ac_ext=cpp
35878 ac_cpp='$CXXCPP $CPPFLAGS'
35879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35884 /* end confdefs.h. */
35885 #include <math.h>
35887 main ()
35889 fmodf(0, 0);
35891 return 0;
35893 _ACEOF
35894 if ac_fn_cxx_try_compile "$LINENO"; then :
35895 glibcxx_cv_func_fmodf_use=yes
35896 else
35897 glibcxx_cv_func_fmodf_use=no
35899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35900 ac_ext=c
35901 ac_cpp='$CPP $CPPFLAGS'
35902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35911 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35913 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35914 for ac_func in fmodf
35915 do :
35916 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35917 if test "x$ac_cv_func_fmodf" = x""yes; then :
35918 cat >>confdefs.h <<_ACEOF
35919 #define HAVE_FMODF 1
35920 _ACEOF
35923 done
35925 else
35927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35928 $as_echo_n "checking for _fmodf declaration... " >&6; }
35929 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35930 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35931 $as_echo_n "(cached) " >&6
35932 else
35935 ac_ext=cpp
35936 ac_cpp='$CXXCPP $CPPFLAGS'
35937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35942 /* end confdefs.h. */
35943 #include <math.h>
35945 main ()
35947 _fmodf(0, 0);
35949 return 0;
35951 _ACEOF
35952 if ac_fn_cxx_try_compile "$LINENO"; then :
35953 glibcxx_cv_func__fmodf_use=yes
35954 else
35955 glibcxx_cv_func__fmodf_use=no
35957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35958 ac_ext=c
35959 ac_cpp='$CPP $CPPFLAGS'
35960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35969 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35971 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35972 for ac_func in _fmodf
35973 do :
35974 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35975 if test "x$ac_cv_func__fmodf" = x""yes; then :
35976 cat >>confdefs.h <<_ACEOF
35977 #define HAVE__FMODF 1
35978 _ACEOF
35981 done
35990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35991 $as_echo_n "checking for frexpf declaration... " >&6; }
35992 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35993 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35994 $as_echo_n "(cached) " >&6
35995 else
35998 ac_ext=cpp
35999 ac_cpp='$CXXCPP $CPPFLAGS'
36000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36005 /* end confdefs.h. */
36006 #include <math.h>
36008 main ()
36010 frexpf(0, 0);
36012 return 0;
36014 _ACEOF
36015 if ac_fn_cxx_try_compile "$LINENO"; then :
36016 glibcxx_cv_func_frexpf_use=yes
36017 else
36018 glibcxx_cv_func_frexpf_use=no
36020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36021 ac_ext=c
36022 ac_cpp='$CPP $CPPFLAGS'
36023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36032 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36034 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36035 for ac_func in frexpf
36036 do :
36037 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36038 if test "x$ac_cv_func_frexpf" = x""yes; then :
36039 cat >>confdefs.h <<_ACEOF
36040 #define HAVE_FREXPF 1
36041 _ACEOF
36044 done
36046 else
36048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36049 $as_echo_n "checking for _frexpf declaration... " >&6; }
36050 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36051 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36052 $as_echo_n "(cached) " >&6
36053 else
36056 ac_ext=cpp
36057 ac_cpp='$CXXCPP $CPPFLAGS'
36058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36063 /* end confdefs.h. */
36064 #include <math.h>
36066 main ()
36068 _frexpf(0, 0);
36070 return 0;
36072 _ACEOF
36073 if ac_fn_cxx_try_compile "$LINENO"; then :
36074 glibcxx_cv_func__frexpf_use=yes
36075 else
36076 glibcxx_cv_func__frexpf_use=no
36078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36079 ac_ext=c
36080 ac_cpp='$CPP $CPPFLAGS'
36081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36090 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36092 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36093 for ac_func in _frexpf
36094 do :
36095 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36096 if test "x$ac_cv_func__frexpf" = x""yes; then :
36097 cat >>confdefs.h <<_ACEOF
36098 #define HAVE__FREXPF 1
36099 _ACEOF
36102 done
36111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36112 $as_echo_n "checking for hypotf declaration... " >&6; }
36113 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36114 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36115 $as_echo_n "(cached) " >&6
36116 else
36119 ac_ext=cpp
36120 ac_cpp='$CXXCPP $CPPFLAGS'
36121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36126 /* end confdefs.h. */
36127 #include <math.h>
36129 main ()
36131 hypotf(0, 0);
36133 return 0;
36135 _ACEOF
36136 if ac_fn_cxx_try_compile "$LINENO"; then :
36137 glibcxx_cv_func_hypotf_use=yes
36138 else
36139 glibcxx_cv_func_hypotf_use=no
36141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36142 ac_ext=c
36143 ac_cpp='$CPP $CPPFLAGS'
36144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36153 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36155 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36156 for ac_func in hypotf
36157 do :
36158 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36159 if test "x$ac_cv_func_hypotf" = x""yes; then :
36160 cat >>confdefs.h <<_ACEOF
36161 #define HAVE_HYPOTF 1
36162 _ACEOF
36165 done
36167 else
36169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36170 $as_echo_n "checking for _hypotf declaration... " >&6; }
36171 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36172 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
36191 return 0;
36193 _ACEOF
36194 if ac_fn_cxx_try_compile "$LINENO"; then :
36195 glibcxx_cv_func__hypotf_use=yes
36196 else
36197 glibcxx_cv_func__hypotf_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
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36211 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36213 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36214 for ac_func in _hypotf
36215 do :
36216 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36217 if test "x$ac_cv_func__hypotf" = x""yes; then :
36218 cat >>confdefs.h <<_ACEOF
36219 #define HAVE__HYPOTF 1
36220 _ACEOF
36223 done
36232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36233 $as_echo_n "checking for ldexpf declaration... " >&6; }
36234 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36235 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36236 $as_echo_n "(cached) " >&6
36237 else
36240 ac_ext=cpp
36241 ac_cpp='$CXXCPP $CPPFLAGS'
36242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36247 /* end confdefs.h. */
36248 #include <math.h>
36250 main ()
36252 ldexpf(0, 0);
36254 return 0;
36256 _ACEOF
36257 if ac_fn_cxx_try_compile "$LINENO"; then :
36258 glibcxx_cv_func_ldexpf_use=yes
36259 else
36260 glibcxx_cv_func_ldexpf_use=no
36262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36263 ac_ext=c
36264 ac_cpp='$CPP $CPPFLAGS'
36265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36274 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36276 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36277 for ac_func in ldexpf
36278 do :
36279 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36280 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36281 cat >>confdefs.h <<_ACEOF
36282 #define HAVE_LDEXPF 1
36283 _ACEOF
36286 done
36288 else
36290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36291 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36292 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36293 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36294 $as_echo_n "(cached) " >&6
36295 else
36298 ac_ext=cpp
36299 ac_cpp='$CXXCPP $CPPFLAGS'
36300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36305 /* end confdefs.h. */
36306 #include <math.h>
36308 main ()
36310 _ldexpf(0, 0);
36312 return 0;
36314 _ACEOF
36315 if ac_fn_cxx_try_compile "$LINENO"; then :
36316 glibcxx_cv_func__ldexpf_use=yes
36317 else
36318 glibcxx_cv_func__ldexpf_use=no
36320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36321 ac_ext=c
36322 ac_cpp='$CPP $CPPFLAGS'
36323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36332 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36334 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36335 for ac_func in _ldexpf
36336 do :
36337 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36338 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36339 cat >>confdefs.h <<_ACEOF
36340 #define HAVE__LDEXPF 1
36341 _ACEOF
36344 done
36353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36354 $as_echo_n "checking for logf declaration... " >&6; }
36355 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36356 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36357 $as_echo_n "(cached) " >&6
36358 else
36361 ac_ext=cpp
36362 ac_cpp='$CXXCPP $CPPFLAGS'
36363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36368 /* end confdefs.h. */
36369 #include <math.h>
36370 #ifdef HAVE_IEEEFP_H
36371 #include <ieeefp.h>
36372 #endif
36375 main ()
36377 logf(0);
36379 return 0;
36381 _ACEOF
36382 if ac_fn_cxx_try_compile "$LINENO"; then :
36383 glibcxx_cv_func_logf_use=yes
36384 else
36385 glibcxx_cv_func_logf_use=no
36387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36388 ac_ext=c
36389 ac_cpp='$CPP $CPPFLAGS'
36390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36399 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36401 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36402 for ac_func in logf
36403 do :
36404 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36405 if test "x$ac_cv_func_logf" = x""yes; then :
36406 cat >>confdefs.h <<_ACEOF
36407 #define HAVE_LOGF 1
36408 _ACEOF
36411 done
36413 else
36415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36416 $as_echo_n "checking for _logf declaration... " >&6; }
36417 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36418 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36419 $as_echo_n "(cached) " >&6
36420 else
36423 ac_ext=cpp
36424 ac_cpp='$CXXCPP $CPPFLAGS'
36425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36430 /* end confdefs.h. */
36431 #include <math.h>
36432 #ifdef HAVE_IEEEFP_H
36433 #include <ieeefp.h>
36434 #endif
36437 main ()
36439 _logf(0);
36441 return 0;
36443 _ACEOF
36444 if ac_fn_cxx_try_compile "$LINENO"; then :
36445 glibcxx_cv_func__logf_use=yes
36446 else
36447 glibcxx_cv_func__logf_use=no
36449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36450 ac_ext=c
36451 ac_cpp='$CPP $CPPFLAGS'
36452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36461 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36463 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36464 for ac_func in _logf
36465 do :
36466 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36467 if test "x$ac_cv_func__logf" = x""yes; then :
36468 cat >>confdefs.h <<_ACEOF
36469 #define HAVE__LOGF 1
36470 _ACEOF
36473 done
36482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36483 $as_echo_n "checking for log10f declaration... " >&6; }
36484 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36485 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36486 $as_echo_n "(cached) " >&6
36487 else
36490 ac_ext=cpp
36491 ac_cpp='$CXXCPP $CPPFLAGS'
36492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36497 /* end confdefs.h. */
36498 #include <math.h>
36499 #ifdef HAVE_IEEEFP_H
36500 #include <ieeefp.h>
36501 #endif
36504 main ()
36506 log10f(0);
36508 return 0;
36510 _ACEOF
36511 if ac_fn_cxx_try_compile "$LINENO"; then :
36512 glibcxx_cv_func_log10f_use=yes
36513 else
36514 glibcxx_cv_func_log10f_use=no
36516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36517 ac_ext=c
36518 ac_cpp='$CPP $CPPFLAGS'
36519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36528 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36530 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36531 for ac_func in log10f
36532 do :
36533 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36534 if test "x$ac_cv_func_log10f" = x""yes; then :
36535 cat >>confdefs.h <<_ACEOF
36536 #define HAVE_LOG10F 1
36537 _ACEOF
36540 done
36542 else
36544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36545 $as_echo_n "checking for _log10f declaration... " >&6; }
36546 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36547 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36548 $as_echo_n "(cached) " >&6
36549 else
36552 ac_ext=cpp
36553 ac_cpp='$CXXCPP $CPPFLAGS'
36554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36559 /* end confdefs.h. */
36560 #include <math.h>
36561 #ifdef HAVE_IEEEFP_H
36562 #include <ieeefp.h>
36563 #endif
36566 main ()
36568 _log10f(0);
36570 return 0;
36572 _ACEOF
36573 if ac_fn_cxx_try_compile "$LINENO"; then :
36574 glibcxx_cv_func__log10f_use=yes
36575 else
36576 glibcxx_cv_func__log10f_use=no
36578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36579 ac_ext=c
36580 ac_cpp='$CPP $CPPFLAGS'
36581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36590 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36592 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36593 for ac_func in _log10f
36594 do :
36595 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36596 if test "x$ac_cv_func__log10f" = x""yes; then :
36597 cat >>confdefs.h <<_ACEOF
36598 #define HAVE__LOG10F 1
36599 _ACEOF
36602 done
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36612 $as_echo_n "checking for modff declaration... " >&6; }
36613 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36614 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36615 $as_echo_n "(cached) " >&6
36616 else
36619 ac_ext=cpp
36620 ac_cpp='$CXXCPP $CPPFLAGS'
36621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36626 /* end confdefs.h. */
36627 #include <math.h>
36629 main ()
36631 modff(0, 0);
36633 return 0;
36635 _ACEOF
36636 if ac_fn_cxx_try_compile "$LINENO"; then :
36637 glibcxx_cv_func_modff_use=yes
36638 else
36639 glibcxx_cv_func_modff_use=no
36641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36642 ac_ext=c
36643 ac_cpp='$CPP $CPPFLAGS'
36644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36653 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36655 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36656 for ac_func in modff
36657 do :
36658 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36659 if test "x$ac_cv_func_modff" = x""yes; then :
36660 cat >>confdefs.h <<_ACEOF
36661 #define HAVE_MODFF 1
36662 _ACEOF
36665 done
36667 else
36669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36670 $as_echo_n "checking for _modff declaration... " >&6; }
36671 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36672 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36673 $as_echo_n "(cached) " >&6
36674 else
36677 ac_ext=cpp
36678 ac_cpp='$CXXCPP $CPPFLAGS'
36679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36684 /* end confdefs.h. */
36685 #include <math.h>
36687 main ()
36689 _modff(0, 0);
36691 return 0;
36693 _ACEOF
36694 if ac_fn_cxx_try_compile "$LINENO"; then :
36695 glibcxx_cv_func__modff_use=yes
36696 else
36697 glibcxx_cv_func__modff_use=no
36699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36700 ac_ext=c
36701 ac_cpp='$CPP $CPPFLAGS'
36702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36711 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36713 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36714 for ac_func in _modff
36715 do :
36716 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36717 if test "x$ac_cv_func__modff" = x""yes; then :
36718 cat >>confdefs.h <<_ACEOF
36719 #define HAVE__MODFF 1
36720 _ACEOF
36723 done
36732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36733 $as_echo_n "checking for modf declaration... " >&6; }
36734 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36735 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36736 $as_echo_n "(cached) " >&6
36737 else
36740 ac_ext=cpp
36741 ac_cpp='$CXXCPP $CPPFLAGS'
36742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36747 /* end confdefs.h. */
36748 #include <math.h>
36750 main ()
36752 modf(0, 0);
36754 return 0;
36756 _ACEOF
36757 if ac_fn_cxx_try_compile "$LINENO"; then :
36758 glibcxx_cv_func_modf_use=yes
36759 else
36760 glibcxx_cv_func_modf_use=no
36762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36763 ac_ext=c
36764 ac_cpp='$CPP $CPPFLAGS'
36765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36774 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36776 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36777 for ac_func in modf
36778 do :
36779 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36780 if test "x$ac_cv_func_modf" = x""yes; then :
36781 cat >>confdefs.h <<_ACEOF
36782 #define HAVE_MODF 1
36783 _ACEOF
36786 done
36788 else
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36791 $as_echo_n "checking for _modf declaration... " >&6; }
36792 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36793 if test "${glibcxx_cv_func__modf_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 _modf(0, 0);
36812 return 0;
36814 _ACEOF
36815 if ac_fn_cxx_try_compile "$LINENO"; then :
36816 glibcxx_cv_func__modf_use=yes
36817 else
36818 glibcxx_cv_func__modf_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__modf_use" >&5
36832 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36834 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36835 for ac_func in _modf
36836 do :
36837 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36838 if test "x$ac_cv_func__modf" = x""yes; then :
36839 cat >>confdefs.h <<_ACEOF
36840 #define HAVE__MODF 1
36841 _ACEOF
36844 done
36853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36854 $as_echo_n "checking for powf declaration... " >&6; }
36855 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36856 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36857 $as_echo_n "(cached) " >&6
36858 else
36861 ac_ext=cpp
36862 ac_cpp='$CXXCPP $CPPFLAGS'
36863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36868 /* end confdefs.h. */
36869 #include <math.h>
36871 main ()
36873 powf(0, 0);
36875 return 0;
36877 _ACEOF
36878 if ac_fn_cxx_try_compile "$LINENO"; then :
36879 glibcxx_cv_func_powf_use=yes
36880 else
36881 glibcxx_cv_func_powf_use=no
36883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36884 ac_ext=c
36885 ac_cpp='$CPP $CPPFLAGS'
36886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36895 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36897 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36898 for ac_func in powf
36899 do :
36900 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36901 if test "x$ac_cv_func_powf" = x""yes; then :
36902 cat >>confdefs.h <<_ACEOF
36903 #define HAVE_POWF 1
36904 _ACEOF
36907 done
36909 else
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36912 $as_echo_n "checking for _powf declaration... " >&6; }
36913 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36914 if test "${glibcxx_cv_func__powf_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>
36929 main ()
36931 _powf(0, 0);
36933 return 0;
36935 _ACEOF
36936 if ac_fn_cxx_try_compile "$LINENO"; then :
36937 glibcxx_cv_func__powf_use=yes
36938 else
36939 glibcxx_cv_func__powf_use=no
36941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36942 ac_ext=c
36943 ac_cpp='$CPP $CPPFLAGS'
36944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36953 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36955 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36956 for ac_func in _powf
36957 do :
36958 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36959 if test "x$ac_cv_func__powf" = x""yes; then :
36960 cat >>confdefs.h <<_ACEOF
36961 #define HAVE__POWF 1
36962 _ACEOF
36965 done
36974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36975 $as_echo_n "checking for sqrtf declaration... " >&6; }
36976 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36977 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36978 $as_echo_n "(cached) " >&6
36979 else
36982 ac_ext=cpp
36983 ac_cpp='$CXXCPP $CPPFLAGS'
36984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36989 /* end confdefs.h. */
36990 #include <math.h>
36991 #ifdef HAVE_IEEEFP_H
36992 #include <ieeefp.h>
36993 #endif
36996 main ()
36998 sqrtf(0);
37000 return 0;
37002 _ACEOF
37003 if ac_fn_cxx_try_compile "$LINENO"; then :
37004 glibcxx_cv_func_sqrtf_use=yes
37005 else
37006 glibcxx_cv_func_sqrtf_use=no
37008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37009 ac_ext=c
37010 ac_cpp='$CPP $CPPFLAGS'
37011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37020 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37022 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37023 for ac_func in sqrtf
37024 do :
37025 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37026 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37027 cat >>confdefs.h <<_ACEOF
37028 #define HAVE_SQRTF 1
37029 _ACEOF
37032 done
37034 else
37036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37037 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37038 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37039 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37040 $as_echo_n "(cached) " >&6
37041 else
37044 ac_ext=cpp
37045 ac_cpp='$CXXCPP $CPPFLAGS'
37046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37051 /* end confdefs.h. */
37052 #include <math.h>
37053 #ifdef HAVE_IEEEFP_H
37054 #include <ieeefp.h>
37055 #endif
37058 main ()
37060 _sqrtf(0);
37062 return 0;
37064 _ACEOF
37065 if ac_fn_cxx_try_compile "$LINENO"; then :
37066 glibcxx_cv_func__sqrtf_use=yes
37067 else
37068 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
37082 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37084 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37085 for ac_func in _sqrtf
37086 do :
37087 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37088 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37089 cat >>confdefs.h <<_ACEOF
37090 #define HAVE__SQRTF 1
37091 _ACEOF
37094 done
37103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37104 $as_echo_n "checking for sincosf declaration... " >&6; }
37105 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37106 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37107 $as_echo_n "(cached) " >&6
37108 else
37111 ac_ext=cpp
37112 ac_cpp='$CXXCPP $CPPFLAGS'
37113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37118 /* end confdefs.h. */
37119 #include <math.h>
37121 main ()
37123 sincosf(0, 0, 0);
37125 return 0;
37127 _ACEOF
37128 if ac_fn_cxx_try_compile "$LINENO"; then :
37129 glibcxx_cv_func_sincosf_use=yes
37130 else
37131 glibcxx_cv_func_sincosf_use=no
37133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37134 ac_ext=c
37135 ac_cpp='$CPP $CPPFLAGS'
37136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37145 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37147 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37148 for ac_func in sincosf
37149 do :
37150 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37151 if test "x$ac_cv_func_sincosf" = x""yes; then :
37152 cat >>confdefs.h <<_ACEOF
37153 #define HAVE_SINCOSF 1
37154 _ACEOF
37157 done
37159 else
37161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37162 $as_echo_n "checking for _sincosf declaration... " >&6; }
37163 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37164 if test "${glibcxx_cv_func__sincosf_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 _sincosf(0, 0, 0);
37183 return 0;
37185 _ACEOF
37186 if ac_fn_cxx_try_compile "$LINENO"; then :
37187 glibcxx_cv_func__sincosf_use=yes
37188 else
37189 glibcxx_cv_func__sincosf_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__sincosf_use" >&5
37203 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37205 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37206 for ac_func in _sincosf
37207 do :
37208 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37209 if test "x$ac_cv_func__sincosf" = x""yes; then :
37210 cat >>confdefs.h <<_ACEOF
37211 #define HAVE__SINCOSF 1
37212 _ACEOF
37215 done
37224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37225 $as_echo_n "checking for finitef declaration... " >&6; }
37226 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37227 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37228 $as_echo_n "(cached) " >&6
37229 else
37232 ac_ext=cpp
37233 ac_cpp='$CXXCPP $CPPFLAGS'
37234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37239 /* end confdefs.h. */
37240 #include <math.h>
37241 #ifdef HAVE_IEEEFP_H
37242 #include <ieeefp.h>
37243 #endif
37246 main ()
37248 finitef(0);
37250 return 0;
37252 _ACEOF
37253 if ac_fn_cxx_try_compile "$LINENO"; then :
37254 glibcxx_cv_func_finitef_use=yes
37255 else
37256 glibcxx_cv_func_finitef_use=no
37258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37259 ac_ext=c
37260 ac_cpp='$CPP $CPPFLAGS'
37261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37270 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37272 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37273 for ac_func in finitef
37274 do :
37275 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37276 if test "x$ac_cv_func_finitef" = x""yes; then :
37277 cat >>confdefs.h <<_ACEOF
37278 #define HAVE_FINITEF 1
37279 _ACEOF
37282 done
37284 else
37286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37287 $as_echo_n "checking for _finitef declaration... " >&6; }
37288 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37289 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37290 $as_echo_n "(cached) " >&6
37291 else
37294 ac_ext=cpp
37295 ac_cpp='$CXXCPP $CPPFLAGS'
37296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37301 /* end confdefs.h. */
37302 #include <math.h>
37303 #ifdef HAVE_IEEEFP_H
37304 #include <ieeefp.h>
37305 #endif
37308 main ()
37310 _finitef(0);
37312 return 0;
37314 _ACEOF
37315 if ac_fn_cxx_try_compile "$LINENO"; then :
37316 glibcxx_cv_func__finitef_use=yes
37317 else
37318 glibcxx_cv_func__finitef_use=no
37320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37321 ac_ext=c
37322 ac_cpp='$CPP $CPPFLAGS'
37323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37332 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37334 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37335 for ac_func in _finitef
37336 do :
37337 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37338 if test "x$ac_cv_func__finitef" = x""yes; then :
37339 cat >>confdefs.h <<_ACEOF
37340 #define HAVE__FINITEF 1
37341 _ACEOF
37344 done
37353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37354 $as_echo_n "checking for long double trig functions... " >&6; }
37355 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37356 $as_echo_n "(cached) " >&6
37357 else
37360 ac_ext=cpp
37361 ac_cpp='$CXXCPP $CPPFLAGS'
37362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37367 /* end confdefs.h. */
37368 #include <math.h>
37370 main ()
37372 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37374 return 0;
37376 _ACEOF
37377 if ac_fn_cxx_try_compile "$LINENO"; then :
37378 glibcxx_cv_func_long_double_trig_use=yes
37379 else
37380 glibcxx_cv_func_long_double_trig_use=no
37382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37383 ac_ext=c
37384 ac_cpp='$CPP $CPPFLAGS'
37385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37392 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37393 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37394 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37395 do :
37396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37398 eval as_val=\$$as_ac_var
37399 if test "x$as_val" = x""yes; then :
37400 cat >>confdefs.h <<_ACEOF
37401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37402 _ACEOF
37405 done
37407 else
37408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37409 $as_echo_n "checking for _long double trig functions... " >&6; }
37410 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37411 $as_echo_n "(cached) " >&6
37412 else
37415 ac_ext=cpp
37416 ac_cpp='$CXXCPP $CPPFLAGS'
37417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37422 /* end confdefs.h. */
37423 #include <math.h>
37425 main ()
37427 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37429 return 0;
37431 _ACEOF
37432 if ac_fn_cxx_try_compile "$LINENO"; then :
37433 glibcxx_cv_func__long_double_trig_use=yes
37434 else
37435 glibcxx_cv_func__long_double_trig_use=no
37437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37438 ac_ext=c
37439 ac_cpp='$CPP $CPPFLAGS'
37440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37447 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37448 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37449 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37450 do :
37451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37453 eval as_val=\$$as_ac_var
37454 if test "x$as_val" = x""yes; then :
37455 cat >>confdefs.h <<_ACEOF
37456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37457 _ACEOF
37460 done
37469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37470 $as_echo_n "checking for long double round functions... " >&6; }
37471 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37472 $as_echo_n "(cached) " >&6
37473 else
37476 ac_ext=cpp
37477 ac_cpp='$CXXCPP $CPPFLAGS'
37478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37483 /* end confdefs.h. */
37484 #include <math.h>
37486 main ()
37488 ceill (0); floorl (0);
37490 return 0;
37492 _ACEOF
37493 if ac_fn_cxx_try_compile "$LINENO"; then :
37494 glibcxx_cv_func_long_double_round_use=yes
37495 else
37496 glibcxx_cv_func_long_double_round_use=no
37498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37499 ac_ext=c
37500 ac_cpp='$CPP $CPPFLAGS'
37501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37508 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37509 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37510 for ac_func in ceill floorl
37511 do :
37512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37514 eval as_val=\$$as_ac_var
37515 if test "x$as_val" = x""yes; then :
37516 cat >>confdefs.h <<_ACEOF
37517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37518 _ACEOF
37521 done
37523 else
37524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37525 $as_echo_n "checking for _long double round functions... " >&6; }
37526 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37527 $as_echo_n "(cached) " >&6
37528 else
37531 ac_ext=cpp
37532 ac_cpp='$CXXCPP $CPPFLAGS'
37533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37538 /* end confdefs.h. */
37539 #include <math.h>
37541 main ()
37543 _ceill (0); _floorl (0);
37545 return 0;
37547 _ACEOF
37548 if ac_fn_cxx_try_compile "$LINENO"; then :
37549 glibcxx_cv_func__long_double_round_use=yes
37550 else
37551 glibcxx_cv_func__long_double_round_use=no
37553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37554 ac_ext=c
37555 ac_cpp='$CPP $CPPFLAGS'
37556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37563 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37564 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37565 for ac_func in _ceill _floorl
37566 do :
37567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37569 eval as_val=\$$as_ac_var
37570 if test "x$as_val" = x""yes; then :
37571 cat >>confdefs.h <<_ACEOF
37572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37573 _ACEOF
37576 done
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37587 $as_echo_n "checking for isnanl declaration... " >&6; }
37588 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37589 if test "${glibcxx_cv_func_isnanl_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 isnanl(0);
37612 return 0;
37614 _ACEOF
37615 if ac_fn_cxx_try_compile "$LINENO"; then :
37616 glibcxx_cv_func_isnanl_use=yes
37617 else
37618 glibcxx_cv_func_isnanl_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_isnanl_use" >&5
37632 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37634 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37635 for ac_func in isnanl
37636 do :
37637 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37638 if test "x$ac_cv_func_isnanl" = x""yes; then :
37639 cat >>confdefs.h <<_ACEOF
37640 #define HAVE_ISNANL 1
37641 _ACEOF
37644 done
37646 else
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37649 $as_echo_n "checking for _isnanl declaration... " >&6; }
37650 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37651 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37652 $as_echo_n "(cached) " >&6
37653 else
37656 ac_ext=cpp
37657 ac_cpp='$CXXCPP $CPPFLAGS'
37658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37663 /* end confdefs.h. */
37664 #include <math.h>
37665 #ifdef HAVE_IEEEFP_H
37666 #include <ieeefp.h>
37667 #endif
37670 main ()
37672 _isnanl(0);
37674 return 0;
37676 _ACEOF
37677 if ac_fn_cxx_try_compile "$LINENO"; then :
37678 glibcxx_cv_func__isnanl_use=yes
37679 else
37680 glibcxx_cv_func__isnanl_use=no
37682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37683 ac_ext=c
37684 ac_cpp='$CPP $CPPFLAGS'
37685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37694 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37696 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37697 for ac_func in _isnanl
37698 do :
37699 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37700 if test "x$ac_cv_func__isnanl" = x""yes; then :
37701 cat >>confdefs.h <<_ACEOF
37702 #define HAVE__ISNANL 1
37703 _ACEOF
37706 done
37715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37716 $as_echo_n "checking for isinfl declaration... " >&6; }
37717 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37718 if test "${glibcxx_cv_func_isinfl_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 isinfl(0);
37741 return 0;
37743 _ACEOF
37744 if ac_fn_cxx_try_compile "$LINENO"; then :
37745 glibcxx_cv_func_isinfl_use=yes
37746 else
37747 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
37761 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37763 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37764 for ac_func in isinfl
37765 do :
37766 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37767 if test "x$ac_cv_func_isinfl" = x""yes; then :
37768 cat >>confdefs.h <<_ACEOF
37769 #define HAVE_ISINFL 1
37770 _ACEOF
37773 done
37775 else
37777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37778 $as_echo_n "checking for _isinfl declaration... " >&6; }
37779 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37780 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37781 $as_echo_n "(cached) " >&6
37782 else
37785 ac_ext=cpp
37786 ac_cpp='$CXXCPP $CPPFLAGS'
37787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37792 /* end confdefs.h. */
37793 #include <math.h>
37794 #ifdef HAVE_IEEEFP_H
37795 #include <ieeefp.h>
37796 #endif
37799 main ()
37801 _isinfl(0);
37803 return 0;
37805 _ACEOF
37806 if ac_fn_cxx_try_compile "$LINENO"; then :
37807 glibcxx_cv_func__isinfl_use=yes
37808 else
37809 glibcxx_cv_func__isinfl_use=no
37811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37812 ac_ext=c
37813 ac_cpp='$CPP $CPPFLAGS'
37814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37823 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37825 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37826 for ac_func in _isinfl
37827 do :
37828 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37829 if test "x$ac_cv_func__isinfl" = x""yes; then :
37830 cat >>confdefs.h <<_ACEOF
37831 #define HAVE__ISINFL 1
37832 _ACEOF
37835 done
37844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37845 $as_echo_n "checking for atan2l declaration... " >&6; }
37846 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37847 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37848 $as_echo_n "(cached) " >&6
37849 else
37852 ac_ext=cpp
37853 ac_cpp='$CXXCPP $CPPFLAGS'
37854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37859 /* end confdefs.h. */
37860 #include <math.h>
37862 main ()
37864 atan2l(0, 0);
37866 return 0;
37868 _ACEOF
37869 if ac_fn_cxx_try_compile "$LINENO"; then :
37870 glibcxx_cv_func_atan2l_use=yes
37871 else
37872 glibcxx_cv_func_atan2l_use=no
37874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37875 ac_ext=c
37876 ac_cpp='$CPP $CPPFLAGS'
37877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37886 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37888 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37889 for ac_func in atan2l
37890 do :
37891 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37892 if test "x$ac_cv_func_atan2l" = x""yes; then :
37893 cat >>confdefs.h <<_ACEOF
37894 #define HAVE_ATAN2L 1
37895 _ACEOF
37898 done
37900 else
37902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37903 $as_echo_n "checking for _atan2l declaration... " >&6; }
37904 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37905 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37906 $as_echo_n "(cached) " >&6
37907 else
37910 ac_ext=cpp
37911 ac_cpp='$CXXCPP $CPPFLAGS'
37912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37917 /* end confdefs.h. */
37918 #include <math.h>
37920 main ()
37922 _atan2l(0, 0);
37924 return 0;
37926 _ACEOF
37927 if ac_fn_cxx_try_compile "$LINENO"; then :
37928 glibcxx_cv_func__atan2l_use=yes
37929 else
37930 glibcxx_cv_func__atan2l_use=no
37932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37933 ac_ext=c
37934 ac_cpp='$CPP $CPPFLAGS'
37935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37944 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37946 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37947 for ac_func in _atan2l
37948 do :
37949 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37950 if test "x$ac_cv_func__atan2l" = x""yes; then :
37951 cat >>confdefs.h <<_ACEOF
37952 #define HAVE__ATAN2L 1
37953 _ACEOF
37956 done
37965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37966 $as_echo_n "checking for expl declaration... " >&6; }
37967 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37968 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37969 $as_echo_n "(cached) " >&6
37970 else
37973 ac_ext=cpp
37974 ac_cpp='$CXXCPP $CPPFLAGS'
37975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37980 /* end confdefs.h. */
37981 #include <math.h>
37982 #ifdef HAVE_IEEEFP_H
37983 #include <ieeefp.h>
37984 #endif
37987 main ()
37989 expl(0);
37991 return 0;
37993 _ACEOF
37994 if ac_fn_cxx_try_compile "$LINENO"; then :
37995 glibcxx_cv_func_expl_use=yes
37996 else
37997 glibcxx_cv_func_expl_use=no
37999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38000 ac_ext=c
38001 ac_cpp='$CPP $CPPFLAGS'
38002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38011 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38013 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38014 for ac_func in expl
38015 do :
38016 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38017 if test "x$ac_cv_func_expl" = x""yes; then :
38018 cat >>confdefs.h <<_ACEOF
38019 #define HAVE_EXPL 1
38020 _ACEOF
38023 done
38025 else
38027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38028 $as_echo_n "checking for _expl declaration... " >&6; }
38029 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38030 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38031 $as_echo_n "(cached) " >&6
38032 else
38035 ac_ext=cpp
38036 ac_cpp='$CXXCPP $CPPFLAGS'
38037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38042 /* end confdefs.h. */
38043 #include <math.h>
38044 #ifdef HAVE_IEEEFP_H
38045 #include <ieeefp.h>
38046 #endif
38049 main ()
38051 _expl(0);
38053 return 0;
38055 _ACEOF
38056 if ac_fn_cxx_try_compile "$LINENO"; then :
38057 glibcxx_cv_func__expl_use=yes
38058 else
38059 glibcxx_cv_func__expl_use=no
38061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38062 ac_ext=c
38063 ac_cpp='$CPP $CPPFLAGS'
38064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38073 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38075 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38076 for ac_func in _expl
38077 do :
38078 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38079 if test "x$ac_cv_func__expl" = x""yes; then :
38080 cat >>confdefs.h <<_ACEOF
38081 #define HAVE__EXPL 1
38082 _ACEOF
38085 done
38094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38095 $as_echo_n "checking for fabsl declaration... " >&6; }
38096 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38097 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38098 $as_echo_n "(cached) " >&6
38099 else
38102 ac_ext=cpp
38103 ac_cpp='$CXXCPP $CPPFLAGS'
38104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38109 /* end confdefs.h. */
38110 #include <math.h>
38111 #ifdef HAVE_IEEEFP_H
38112 #include <ieeefp.h>
38113 #endif
38116 main ()
38118 fabsl(0);
38120 return 0;
38122 _ACEOF
38123 if ac_fn_cxx_try_compile "$LINENO"; then :
38124 glibcxx_cv_func_fabsl_use=yes
38125 else
38126 glibcxx_cv_func_fabsl_use=no
38128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38129 ac_ext=c
38130 ac_cpp='$CPP $CPPFLAGS'
38131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38140 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38142 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38143 for ac_func in fabsl
38144 do :
38145 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38146 if test "x$ac_cv_func_fabsl" = x""yes; then :
38147 cat >>confdefs.h <<_ACEOF
38148 #define HAVE_FABSL 1
38149 _ACEOF
38152 done
38154 else
38156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38157 $as_echo_n "checking for _fabsl declaration... " >&6; }
38158 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38159 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38160 $as_echo_n "(cached) " >&6
38161 else
38164 ac_ext=cpp
38165 ac_cpp='$CXXCPP $CPPFLAGS'
38166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38171 /* end confdefs.h. */
38172 #include <math.h>
38173 #ifdef HAVE_IEEEFP_H
38174 #include <ieeefp.h>
38175 #endif
38178 main ()
38180 _fabsl(0);
38182 return 0;
38184 _ACEOF
38185 if ac_fn_cxx_try_compile "$LINENO"; then :
38186 glibcxx_cv_func__fabsl_use=yes
38187 else
38188 glibcxx_cv_func__fabsl_use=no
38190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38191 ac_ext=c
38192 ac_cpp='$CPP $CPPFLAGS'
38193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38202 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38204 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38205 for ac_func in _fabsl
38206 do :
38207 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38208 if test "x$ac_cv_func__fabsl" = x""yes; then :
38209 cat >>confdefs.h <<_ACEOF
38210 #define HAVE__FABSL 1
38211 _ACEOF
38214 done
38223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38224 $as_echo_n "checking for fmodl declaration... " >&6; }
38225 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38226 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38227 $as_echo_n "(cached) " >&6
38228 else
38231 ac_ext=cpp
38232 ac_cpp='$CXXCPP $CPPFLAGS'
38233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38238 /* end confdefs.h. */
38239 #include <math.h>
38241 main ()
38243 fmodl(0, 0);
38245 return 0;
38247 _ACEOF
38248 if ac_fn_cxx_try_compile "$LINENO"; then :
38249 glibcxx_cv_func_fmodl_use=yes
38250 else
38251 glibcxx_cv_func_fmodl_use=no
38253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38254 ac_ext=c
38255 ac_cpp='$CPP $CPPFLAGS'
38256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38265 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38267 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38268 for ac_func in fmodl
38269 do :
38270 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38271 if test "x$ac_cv_func_fmodl" = x""yes; then :
38272 cat >>confdefs.h <<_ACEOF
38273 #define HAVE_FMODL 1
38274 _ACEOF
38277 done
38279 else
38281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38282 $as_echo_n "checking for _fmodl declaration... " >&6; }
38283 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38284 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38285 $as_echo_n "(cached) " >&6
38286 else
38289 ac_ext=cpp
38290 ac_cpp='$CXXCPP $CPPFLAGS'
38291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38296 /* end confdefs.h. */
38297 #include <math.h>
38299 main ()
38301 _fmodl(0, 0);
38303 return 0;
38305 _ACEOF
38306 if ac_fn_cxx_try_compile "$LINENO"; then :
38307 glibcxx_cv_func__fmodl_use=yes
38308 else
38309 glibcxx_cv_func__fmodl_use=no
38311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38312 ac_ext=c
38313 ac_cpp='$CPP $CPPFLAGS'
38314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38323 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38325 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38326 for ac_func in _fmodl
38327 do :
38328 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38329 if test "x$ac_cv_func__fmodl" = x""yes; then :
38330 cat >>confdefs.h <<_ACEOF
38331 #define HAVE__FMODL 1
38332 _ACEOF
38335 done
38344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38345 $as_echo_n "checking for frexpl declaration... " >&6; }
38346 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38347 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38348 $as_echo_n "(cached) " >&6
38349 else
38352 ac_ext=cpp
38353 ac_cpp='$CXXCPP $CPPFLAGS'
38354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38359 /* end confdefs.h. */
38360 #include <math.h>
38362 main ()
38364 frexpl(0, 0);
38366 return 0;
38368 _ACEOF
38369 if ac_fn_cxx_try_compile "$LINENO"; then :
38370 glibcxx_cv_func_frexpl_use=yes
38371 else
38372 glibcxx_cv_func_frexpl_use=no
38374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38375 ac_ext=c
38376 ac_cpp='$CPP $CPPFLAGS'
38377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38386 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38388 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38389 for ac_func in frexpl
38390 do :
38391 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38392 if test "x$ac_cv_func_frexpl" = x""yes; then :
38393 cat >>confdefs.h <<_ACEOF
38394 #define HAVE_FREXPL 1
38395 _ACEOF
38398 done
38400 else
38402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38403 $as_echo_n "checking for _frexpl declaration... " >&6; }
38404 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38405 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38406 $as_echo_n "(cached) " >&6
38407 else
38410 ac_ext=cpp
38411 ac_cpp='$CXXCPP $CPPFLAGS'
38412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38417 /* end confdefs.h. */
38418 #include <math.h>
38420 main ()
38422 _frexpl(0, 0);
38424 return 0;
38426 _ACEOF
38427 if ac_fn_cxx_try_compile "$LINENO"; then :
38428 glibcxx_cv_func__frexpl_use=yes
38429 else
38430 glibcxx_cv_func__frexpl_use=no
38432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38433 ac_ext=c
38434 ac_cpp='$CPP $CPPFLAGS'
38435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38444 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38446 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38447 for ac_func in _frexpl
38448 do :
38449 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38450 if test "x$ac_cv_func__frexpl" = x""yes; then :
38451 cat >>confdefs.h <<_ACEOF
38452 #define HAVE__FREXPL 1
38453 _ACEOF
38456 done
38465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38466 $as_echo_n "checking for hypotl declaration... " >&6; }
38467 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38468 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38469 $as_echo_n "(cached) " >&6
38470 else
38473 ac_ext=cpp
38474 ac_cpp='$CXXCPP $CPPFLAGS'
38475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38480 /* end confdefs.h. */
38481 #include <math.h>
38483 main ()
38485 hypotl(0, 0);
38487 return 0;
38489 _ACEOF
38490 if ac_fn_cxx_try_compile "$LINENO"; then :
38491 glibcxx_cv_func_hypotl_use=yes
38492 else
38493 glibcxx_cv_func_hypotl_use=no
38495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38496 ac_ext=c
38497 ac_cpp='$CPP $CPPFLAGS'
38498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38507 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38509 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38510 for ac_func in hypotl
38511 do :
38512 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38513 if test "x$ac_cv_func_hypotl" = x""yes; then :
38514 cat >>confdefs.h <<_ACEOF
38515 #define HAVE_HYPOTL 1
38516 _ACEOF
38519 done
38521 else
38523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38524 $as_echo_n "checking for _hypotl declaration... " >&6; }
38525 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38526 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
38545 return 0;
38547 _ACEOF
38548 if ac_fn_cxx_try_compile "$LINENO"; then :
38549 glibcxx_cv_func__hypotl_use=yes
38550 else
38551 glibcxx_cv_func__hypotl_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
38564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38565 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38567 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38568 for ac_func in _hypotl
38569 do :
38570 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38571 if test "x$ac_cv_func__hypotl" = x""yes; then :
38572 cat >>confdefs.h <<_ACEOF
38573 #define HAVE__HYPOTL 1
38574 _ACEOF
38577 done
38586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38587 $as_echo_n "checking for ldexpl declaration... " >&6; }
38588 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38589 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38590 $as_echo_n "(cached) " >&6
38591 else
38594 ac_ext=cpp
38595 ac_cpp='$CXXCPP $CPPFLAGS'
38596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38601 /* end confdefs.h. */
38602 #include <math.h>
38604 main ()
38606 ldexpl(0, 0);
38608 return 0;
38610 _ACEOF
38611 if ac_fn_cxx_try_compile "$LINENO"; then :
38612 glibcxx_cv_func_ldexpl_use=yes
38613 else
38614 glibcxx_cv_func_ldexpl_use=no
38616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38617 ac_ext=c
38618 ac_cpp='$CPP $CPPFLAGS'
38619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38628 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38630 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38631 for ac_func in ldexpl
38632 do :
38633 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38634 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38635 cat >>confdefs.h <<_ACEOF
38636 #define HAVE_LDEXPL 1
38637 _ACEOF
38640 done
38642 else
38644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38645 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38646 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38647 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38648 $as_echo_n "(cached) " >&6
38649 else
38652 ac_ext=cpp
38653 ac_cpp='$CXXCPP $CPPFLAGS'
38654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38659 /* end confdefs.h. */
38660 #include <math.h>
38662 main ()
38664 _ldexpl(0, 0);
38666 return 0;
38668 _ACEOF
38669 if ac_fn_cxx_try_compile "$LINENO"; then :
38670 glibcxx_cv_func__ldexpl_use=yes
38671 else
38672 glibcxx_cv_func__ldexpl_use=no
38674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38675 ac_ext=c
38676 ac_cpp='$CPP $CPPFLAGS'
38677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38686 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38688 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38689 for ac_func in _ldexpl
38690 do :
38691 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38692 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38693 cat >>confdefs.h <<_ACEOF
38694 #define HAVE__LDEXPL 1
38695 _ACEOF
38698 done
38707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38708 $as_echo_n "checking for logl declaration... " >&6; }
38709 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38710 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38711 $as_echo_n "(cached) " >&6
38712 else
38715 ac_ext=cpp
38716 ac_cpp='$CXXCPP $CPPFLAGS'
38717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38722 /* end confdefs.h. */
38723 #include <math.h>
38724 #ifdef HAVE_IEEEFP_H
38725 #include <ieeefp.h>
38726 #endif
38729 main ()
38731 logl(0);
38733 return 0;
38735 _ACEOF
38736 if ac_fn_cxx_try_compile "$LINENO"; then :
38737 glibcxx_cv_func_logl_use=yes
38738 else
38739 glibcxx_cv_func_logl_use=no
38741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38742 ac_ext=c
38743 ac_cpp='$CPP $CPPFLAGS'
38744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38753 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38755 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38756 for ac_func in logl
38757 do :
38758 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38759 if test "x$ac_cv_func_logl" = x""yes; then :
38760 cat >>confdefs.h <<_ACEOF
38761 #define HAVE_LOGL 1
38762 _ACEOF
38765 done
38767 else
38769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38770 $as_echo_n "checking for _logl declaration... " >&6; }
38771 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38772 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38773 $as_echo_n "(cached) " >&6
38774 else
38777 ac_ext=cpp
38778 ac_cpp='$CXXCPP $CPPFLAGS'
38779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38784 /* end confdefs.h. */
38785 #include <math.h>
38786 #ifdef HAVE_IEEEFP_H
38787 #include <ieeefp.h>
38788 #endif
38791 main ()
38793 _logl(0);
38795 return 0;
38797 _ACEOF
38798 if ac_fn_cxx_try_compile "$LINENO"; then :
38799 glibcxx_cv_func__logl_use=yes
38800 else
38801 glibcxx_cv_func__logl_use=no
38803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38804 ac_ext=c
38805 ac_cpp='$CPP $CPPFLAGS'
38806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38815 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38817 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38818 for ac_func in _logl
38819 do :
38820 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38821 if test "x$ac_cv_func__logl" = x""yes; then :
38822 cat >>confdefs.h <<_ACEOF
38823 #define HAVE__LOGL 1
38824 _ACEOF
38827 done
38836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38837 $as_echo_n "checking for log10l declaration... " >&6; }
38838 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38839 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38840 $as_echo_n "(cached) " >&6
38841 else
38844 ac_ext=cpp
38845 ac_cpp='$CXXCPP $CPPFLAGS'
38846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38851 /* end confdefs.h. */
38852 #include <math.h>
38853 #ifdef HAVE_IEEEFP_H
38854 #include <ieeefp.h>
38855 #endif
38858 main ()
38860 log10l(0);
38862 return 0;
38864 _ACEOF
38865 if ac_fn_cxx_try_compile "$LINENO"; then :
38866 glibcxx_cv_func_log10l_use=yes
38867 else
38868 glibcxx_cv_func_log10l_use=no
38870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38871 ac_ext=c
38872 ac_cpp='$CPP $CPPFLAGS'
38873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38882 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38884 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38885 for ac_func in log10l
38886 do :
38887 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38888 if test "x$ac_cv_func_log10l" = x""yes; then :
38889 cat >>confdefs.h <<_ACEOF
38890 #define HAVE_LOG10L 1
38891 _ACEOF
38894 done
38896 else
38898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38899 $as_echo_n "checking for _log10l declaration... " >&6; }
38900 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38901 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38902 $as_echo_n "(cached) " >&6
38903 else
38906 ac_ext=cpp
38907 ac_cpp='$CXXCPP $CPPFLAGS'
38908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38913 /* end confdefs.h. */
38914 #include <math.h>
38915 #ifdef HAVE_IEEEFP_H
38916 #include <ieeefp.h>
38917 #endif
38920 main ()
38922 _log10l(0);
38924 return 0;
38926 _ACEOF
38927 if ac_fn_cxx_try_compile "$LINENO"; then :
38928 glibcxx_cv_func__log10l_use=yes
38929 else
38930 glibcxx_cv_func__log10l_use=no
38932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38933 ac_ext=c
38934 ac_cpp='$CPP $CPPFLAGS'
38935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38944 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38946 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38947 for ac_func in _log10l
38948 do :
38949 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38950 if test "x$ac_cv_func__log10l" = x""yes; then :
38951 cat >>confdefs.h <<_ACEOF
38952 #define HAVE__LOG10L 1
38953 _ACEOF
38956 done
38965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38966 $as_echo_n "checking for modfl declaration... " >&6; }
38967 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38968 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38969 $as_echo_n "(cached) " >&6
38970 else
38973 ac_ext=cpp
38974 ac_cpp='$CXXCPP $CPPFLAGS'
38975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38980 /* end confdefs.h. */
38981 #include <math.h>
38983 main ()
38985 modfl(0, 0);
38987 return 0;
38989 _ACEOF
38990 if ac_fn_cxx_try_compile "$LINENO"; then :
38991 glibcxx_cv_func_modfl_use=yes
38992 else
38993 glibcxx_cv_func_modfl_use=no
38995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38996 ac_ext=c
38997 ac_cpp='$CPP $CPPFLAGS'
38998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39007 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39009 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39010 for ac_func in modfl
39011 do :
39012 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39013 if test "x$ac_cv_func_modfl" = x""yes; then :
39014 cat >>confdefs.h <<_ACEOF
39015 #define HAVE_MODFL 1
39016 _ACEOF
39019 done
39021 else
39023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39024 $as_echo_n "checking for _modfl declaration... " >&6; }
39025 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39026 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39027 $as_echo_n "(cached) " >&6
39028 else
39031 ac_ext=cpp
39032 ac_cpp='$CXXCPP $CPPFLAGS'
39033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39038 /* end confdefs.h. */
39039 #include <math.h>
39041 main ()
39043 _modfl(0, 0);
39045 return 0;
39047 _ACEOF
39048 if ac_fn_cxx_try_compile "$LINENO"; then :
39049 glibcxx_cv_func__modfl_use=yes
39050 else
39051 glibcxx_cv_func__modfl_use=no
39053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39054 ac_ext=c
39055 ac_cpp='$CPP $CPPFLAGS'
39056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39065 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39067 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39068 for ac_func in _modfl
39069 do :
39070 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39071 if test "x$ac_cv_func__modfl" = x""yes; then :
39072 cat >>confdefs.h <<_ACEOF
39073 #define HAVE__MODFL 1
39074 _ACEOF
39077 done
39086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39087 $as_echo_n "checking for powl declaration... " >&6; }
39088 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39089 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39090 $as_echo_n "(cached) " >&6
39091 else
39094 ac_ext=cpp
39095 ac_cpp='$CXXCPP $CPPFLAGS'
39096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39101 /* end confdefs.h. */
39102 #include <math.h>
39104 main ()
39106 powl(0, 0);
39108 return 0;
39110 _ACEOF
39111 if ac_fn_cxx_try_compile "$LINENO"; then :
39112 glibcxx_cv_func_powl_use=yes
39113 else
39114 glibcxx_cv_func_powl_use=no
39116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39117 ac_ext=c
39118 ac_cpp='$CPP $CPPFLAGS'
39119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39128 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39130 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39131 for ac_func in powl
39132 do :
39133 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39134 if test "x$ac_cv_func_powl" = x""yes; then :
39135 cat >>confdefs.h <<_ACEOF
39136 #define HAVE_POWL 1
39137 _ACEOF
39140 done
39142 else
39144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39145 $as_echo_n "checking for _powl declaration... " >&6; }
39146 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39147 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39148 $as_echo_n "(cached) " >&6
39149 else
39152 ac_ext=cpp
39153 ac_cpp='$CXXCPP $CPPFLAGS'
39154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39159 /* end confdefs.h. */
39160 #include <math.h>
39162 main ()
39164 _powl(0, 0);
39166 return 0;
39168 _ACEOF
39169 if ac_fn_cxx_try_compile "$LINENO"; then :
39170 glibcxx_cv_func__powl_use=yes
39171 else
39172 glibcxx_cv_func__powl_use=no
39174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39175 ac_ext=c
39176 ac_cpp='$CPP $CPPFLAGS'
39177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39186 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39188 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39189 for ac_func in _powl
39190 do :
39191 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39192 if test "x$ac_cv_func__powl" = x""yes; then :
39193 cat >>confdefs.h <<_ACEOF
39194 #define HAVE__POWL 1
39195 _ACEOF
39198 done
39207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39208 $as_echo_n "checking for sqrtl declaration... " >&6; }
39209 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39210 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39211 $as_echo_n "(cached) " >&6
39212 else
39215 ac_ext=cpp
39216 ac_cpp='$CXXCPP $CPPFLAGS'
39217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39222 /* end confdefs.h. */
39223 #include <math.h>
39224 #ifdef HAVE_IEEEFP_H
39225 #include <ieeefp.h>
39226 #endif
39229 main ()
39231 sqrtl(0);
39233 return 0;
39235 _ACEOF
39236 if ac_fn_cxx_try_compile "$LINENO"; then :
39237 glibcxx_cv_func_sqrtl_use=yes
39238 else
39239 glibcxx_cv_func_sqrtl_use=no
39241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39242 ac_ext=c
39243 ac_cpp='$CPP $CPPFLAGS'
39244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39253 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39255 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39256 for ac_func in sqrtl
39257 do :
39258 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39259 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39260 cat >>confdefs.h <<_ACEOF
39261 #define HAVE_SQRTL 1
39262 _ACEOF
39265 done
39267 else
39269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39270 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39271 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39272 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39273 $as_echo_n "(cached) " >&6
39274 else
39277 ac_ext=cpp
39278 ac_cpp='$CXXCPP $CPPFLAGS'
39279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39284 /* end confdefs.h. */
39285 #include <math.h>
39286 #ifdef HAVE_IEEEFP_H
39287 #include <ieeefp.h>
39288 #endif
39291 main ()
39293 _sqrtl(0);
39295 return 0;
39297 _ACEOF
39298 if ac_fn_cxx_try_compile "$LINENO"; then :
39299 glibcxx_cv_func__sqrtl_use=yes
39300 else
39301 glibcxx_cv_func__sqrtl_use=no
39303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39304 ac_ext=c
39305 ac_cpp='$CPP $CPPFLAGS'
39306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39315 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39317 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39318 for ac_func in _sqrtl
39319 do :
39320 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39321 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39322 cat >>confdefs.h <<_ACEOF
39323 #define HAVE__SQRTL 1
39324 _ACEOF
39327 done
39336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39337 $as_echo_n "checking for sincosl declaration... " >&6; }
39338 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39339 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39340 $as_echo_n "(cached) " >&6
39341 else
39344 ac_ext=cpp
39345 ac_cpp='$CXXCPP $CPPFLAGS'
39346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39351 /* end confdefs.h. */
39352 #include <math.h>
39354 main ()
39356 sincosl(0, 0, 0);
39358 return 0;
39360 _ACEOF
39361 if ac_fn_cxx_try_compile "$LINENO"; then :
39362 glibcxx_cv_func_sincosl_use=yes
39363 else
39364 glibcxx_cv_func_sincosl_use=no
39366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39367 ac_ext=c
39368 ac_cpp='$CPP $CPPFLAGS'
39369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39378 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39380 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39381 for ac_func in sincosl
39382 do :
39383 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39384 if test "x$ac_cv_func_sincosl" = x""yes; then :
39385 cat >>confdefs.h <<_ACEOF
39386 #define HAVE_SINCOSL 1
39387 _ACEOF
39390 done
39392 else
39394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39395 $as_echo_n "checking for _sincosl declaration... " >&6; }
39396 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39397 if test "${glibcxx_cv_func__sincosl_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 _sincosl(0, 0, 0);
39416 return 0;
39418 _ACEOF
39419 if ac_fn_cxx_try_compile "$LINENO"; then :
39420 glibcxx_cv_func__sincosl_use=yes
39421 else
39422 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
39436 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39438 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39439 for ac_func in _sincosl
39440 do :
39441 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39442 if test "x$ac_cv_func__sincosl" = x""yes; then :
39443 cat >>confdefs.h <<_ACEOF
39444 #define HAVE__SINCOSL 1
39445 _ACEOF
39448 done
39457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39458 $as_echo_n "checking for finitel declaration... " >&6; }
39459 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39460 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39461 $as_echo_n "(cached) " >&6
39462 else
39465 ac_ext=cpp
39466 ac_cpp='$CXXCPP $CPPFLAGS'
39467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39472 /* end confdefs.h. */
39473 #include <math.h>
39474 #ifdef HAVE_IEEEFP_H
39475 #include <ieeefp.h>
39476 #endif
39479 main ()
39481 finitel(0);
39483 return 0;
39485 _ACEOF
39486 if ac_fn_cxx_try_compile "$LINENO"; then :
39487 glibcxx_cv_func_finitel_use=yes
39488 else
39489 glibcxx_cv_func_finitel_use=no
39491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39492 ac_ext=c
39493 ac_cpp='$CPP $CPPFLAGS'
39494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39503 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39505 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39506 for ac_func in finitel
39507 do :
39508 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39509 if test "x$ac_cv_func_finitel" = x""yes; then :
39510 cat >>confdefs.h <<_ACEOF
39511 #define HAVE_FINITEL 1
39512 _ACEOF
39515 done
39517 else
39519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39520 $as_echo_n "checking for _finitel declaration... " >&6; }
39521 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39522 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39523 $as_echo_n "(cached) " >&6
39524 else
39527 ac_ext=cpp
39528 ac_cpp='$CXXCPP $CPPFLAGS'
39529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39534 /* end confdefs.h. */
39535 #include <math.h>
39536 #ifdef HAVE_IEEEFP_H
39537 #include <ieeefp.h>
39538 #endif
39541 main ()
39543 _finitel(0);
39545 return 0;
39547 _ACEOF
39548 if ac_fn_cxx_try_compile "$LINENO"; then :
39549 glibcxx_cv_func__finitel_use=yes
39550 else
39551 glibcxx_cv_func__finitel_use=no
39553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39554 ac_ext=c
39555 ac_cpp='$CPP $CPPFLAGS'
39556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39565 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39567 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39568 for ac_func in _finitel
39569 do :
39570 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39571 if test "x$ac_cv_func__finitel" = x""yes; then :
39572 cat >>confdefs.h <<_ACEOF
39573 #define HAVE__FINITEL 1
39574 _ACEOF
39577 done
39585 LIBS="$ac_save_LIBS"
39586 CXXFLAGS="$ac_save_CXXFLAGS"
39589 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39590 ac_save_CXXFLAGS="$CXXFLAGS"
39591 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39595 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39596 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39597 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39598 $as_echo_n "(cached) " >&6
39599 else
39602 ac_ext=cpp
39603 ac_cpp='$CXXCPP $CPPFLAGS'
39604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39609 /* end confdefs.h. */
39610 #include <stdlib.h>
39612 main ()
39614 at_quick_exit(0);
39616 return 0;
39618 _ACEOF
39619 if ac_fn_cxx_try_compile "$LINENO"; then :
39620 glibcxx_cv_func_at_quick_exit_use=yes
39621 else
39622 glibcxx_cv_func_at_quick_exit_use=no
39624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39625 ac_ext=c
39626 ac_cpp='$CPP $CPPFLAGS'
39627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39636 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39637 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39638 for ac_func in at_quick_exit
39639 do :
39640 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39641 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39642 cat >>confdefs.h <<_ACEOF
39643 #define HAVE_AT_QUICK_EXIT 1
39644 _ACEOF
39647 done
39652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39653 $as_echo_n "checking for quick_exit declaration... " >&6; }
39654 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39655 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39656 $as_echo_n "(cached) " >&6
39657 else
39660 ac_ext=cpp
39661 ac_cpp='$CXXCPP $CPPFLAGS'
39662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39667 /* end confdefs.h. */
39668 #include <stdlib.h>
39670 main ()
39672 quick_exit(0);
39674 return 0;
39676 _ACEOF
39677 if ac_fn_cxx_try_compile "$LINENO"; then :
39678 glibcxx_cv_func_quick_exit_use=yes
39679 else
39680 glibcxx_cv_func_quick_exit_use=no
39682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39683 ac_ext=c
39684 ac_cpp='$CPP $CPPFLAGS'
39685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39694 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39695 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39696 for ac_func in quick_exit
39697 do :
39698 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39699 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39700 cat >>confdefs.h <<_ACEOF
39701 #define HAVE_QUICK_EXIT 1
39702 _ACEOF
39705 done
39710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39711 $as_echo_n "checking for strtold declaration... " >&6; }
39712 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39713 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39714 $as_echo_n "(cached) " >&6
39715 else
39718 ac_ext=cpp
39719 ac_cpp='$CXXCPP $CPPFLAGS'
39720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39725 /* end confdefs.h. */
39726 #include <stdlib.h>
39728 main ()
39730 strtold(0, 0);
39732 return 0;
39734 _ACEOF
39735 if ac_fn_cxx_try_compile "$LINENO"; then :
39736 glibcxx_cv_func_strtold_use=yes
39737 else
39738 glibcxx_cv_func_strtold_use=no
39740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39741 ac_ext=c
39742 ac_cpp='$CPP $CPPFLAGS'
39743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39752 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39753 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39754 for ac_func in strtold
39755 do :
39756 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39757 if test "x$ac_cv_func_strtold" = x""yes; then :
39758 cat >>confdefs.h <<_ACEOF
39759 #define HAVE_STRTOLD 1
39760 _ACEOF
39763 done
39770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39771 $as_echo_n "checking for strtof declaration... " >&6; }
39772 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39773 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39774 $as_echo_n "(cached) " >&6
39775 else
39778 ac_ext=cpp
39779 ac_cpp='$CXXCPP $CPPFLAGS'
39780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39785 /* end confdefs.h. */
39786 #include <stdlib.h>
39788 main ()
39790 strtof(0, 0);
39792 return 0;
39794 _ACEOF
39795 if ac_fn_cxx_try_compile "$LINENO"; then :
39796 glibcxx_cv_func_strtof_use=yes
39797 else
39798 glibcxx_cv_func_strtof_use=no
39800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39801 ac_ext=c
39802 ac_cpp='$CPP $CPPFLAGS'
39803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39812 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39813 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39814 for ac_func in strtof
39815 do :
39816 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39817 if test "x$ac_cv_func_strtof" = x""yes; then :
39818 cat >>confdefs.h <<_ACEOF
39819 #define HAVE_STRTOF 1
39820 _ACEOF
39823 done
39830 CXXFLAGS="$ac_save_CXXFLAGS"
39837 am_save_CPPFLAGS="$CPPFLAGS"
39839 for element in $INCICONV; do
39840 haveit=
39841 for x in $CPPFLAGS; do
39843 acl_save_prefix="$prefix"
39844 prefix="$acl_final_prefix"
39845 acl_save_exec_prefix="$exec_prefix"
39846 exec_prefix="$acl_final_exec_prefix"
39847 eval x=\"$x\"
39848 exec_prefix="$acl_save_exec_prefix"
39849 prefix="$acl_save_prefix"
39851 if test "X$x" = "X$element"; then
39852 haveit=yes
39853 break
39855 done
39856 if test -z "$haveit"; then
39857 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39859 done
39862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39863 $as_echo_n "checking for iconv... " >&6; }
39864 if test "${am_cv_func_iconv+set}" = set; then :
39865 $as_echo_n "(cached) " >&6
39866 else
39868 am_cv_func_iconv="no, consider installing GNU libiconv"
39869 am_cv_lib_iconv=no
39870 if test x$gcc_no_link = xyes; then
39871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39874 /* end confdefs.h. */
39875 #include <stdlib.h>
39876 #include <iconv.h>
39878 main ()
39880 iconv_t cd = iconv_open("","");
39881 iconv(cd,NULL,NULL,NULL,NULL);
39882 iconv_close(cd);
39884 return 0;
39886 _ACEOF
39887 if ac_fn_c_try_link "$LINENO"; then :
39888 am_cv_func_iconv=yes
39890 rm -f core conftest.err conftest.$ac_objext \
39891 conftest$ac_exeext conftest.$ac_ext
39892 if test "$am_cv_func_iconv" != yes; then
39893 am_save_LIBS="$LIBS"
39894 LIBS="$LIBS $LIBICONV"
39895 if test x$gcc_no_link = xyes; then
39896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39899 /* end confdefs.h. */
39900 #include <stdlib.h>
39901 #include <iconv.h>
39903 main ()
39905 iconv_t cd = iconv_open("","");
39906 iconv(cd,NULL,NULL,NULL,NULL);
39907 iconv_close(cd);
39909 return 0;
39911 _ACEOF
39912 if ac_fn_c_try_link "$LINENO"; then :
39913 am_cv_lib_iconv=yes
39914 am_cv_func_iconv=yes
39916 rm -f core conftest.err conftest.$ac_objext \
39917 conftest$ac_exeext conftest.$ac_ext
39918 LIBS="$am_save_LIBS"
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39923 $as_echo "$am_cv_func_iconv" >&6; }
39924 if test "$am_cv_func_iconv" = yes; then
39926 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39929 if test "$am_cv_lib_iconv" = yes; then
39930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39931 $as_echo_n "checking how to link with libiconv... " >&6; }
39932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39933 $as_echo "$LIBICONV" >&6; }
39934 else
39935 CPPFLAGS="$am_save_CPPFLAGS"
39936 LIBICONV=
39937 LTLIBICONV=
39942 if test "$am_cv_func_iconv" = yes; then
39943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39944 $as_echo_n "checking for iconv declaration... " >&6; }
39945 if test "${am_cv_proto_iconv+set}" = set; then :
39946 $as_echo_n "(cached) " >&6
39947 else
39949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39950 /* end confdefs.h. */
39952 #include <stdlib.h>
39953 #include <iconv.h>
39954 extern
39955 #ifdef __cplusplus
39957 #endif
39958 #if defined(__STDC__) || defined(__cplusplus)
39959 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39960 #else
39961 size_t iconv();
39962 #endif
39965 main ()
39969 return 0;
39971 _ACEOF
39972 if ac_fn_c_try_compile "$LINENO"; then :
39973 am_cv_proto_iconv_arg1=""
39974 else
39975 am_cv_proto_iconv_arg1="const"
39977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39978 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);"
39981 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39983 }$am_cv_proto_iconv" >&5
39984 $as_echo "${ac_t:-
39985 }$am_cv_proto_iconv" >&6; }
39987 cat >>confdefs.h <<_ACEOF
39988 #define ICONV_CONST $am_cv_proto_iconv_arg1
39989 _ACEOF
39995 *-aix*)
39997 # If we're not using GNU ld, then there's no point in even trying these
39998 # tests. Check for that first. We should have already tested for gld
39999 # by now (in libtool), but require it now just to be safe...
40000 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40001 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40005 # The name set by libtool depends on the version of libtool. Shame on us
40006 # for depending on an impl detail, but c'est la vie. Older versions used
40007 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40008 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40009 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40010 # set (hence we're using an older libtool), then set it.
40011 if test x${with_gnu_ld+set} != xset; then
40012 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40013 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40014 with_gnu_ld=no
40015 else
40016 with_gnu_ld=$ac_cv_prog_gnu_ld
40020 # Start by getting the version number. I think the libtool test already
40021 # does some of this, but throws away the result.
40022 glibcxx_ld_is_gold=no
40023 if test x"$with_gnu_ld" = x"yes"; then
40024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40025 $as_echo_n "checking for ld version... " >&6; }
40027 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40028 glibcxx_ld_is_gold=yes
40030 ldver=`$LD --version 2>/dev/null |
40031 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'`
40033 glibcxx_gnu_ld_version=`echo $ldver | \
40034 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40036 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40039 # Set --gc-sections.
40040 glibcxx_have_gc_sections=no
40041 if test "$glibcxx_ld_is_gold" = "yes"; then
40042 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40043 glibcxx_have_gc_sections=yes
40045 else
40046 glibcxx_gcsections_min_ld=21602
40047 if test x"$with_gnu_ld" = x"yes" &&
40048 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40049 glibcxx_have_gc_sections=yes
40052 if test "$glibcxx_have_gc_sections" = "yes"; then
40053 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40054 # NB: This flag only works reliably after 2.16.1. Configure tests
40055 # for this are difficult, so hard wire a value that should work.
40057 ac_test_CFLAGS="${CFLAGS+set}"
40058 ac_save_CFLAGS="$CFLAGS"
40059 CFLAGS='-Wl,--gc-sections'
40061 # Check for -Wl,--gc-sections
40062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40063 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40064 if test x$gcc_no_link = xyes; then
40065 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40068 /* end confdefs.h. */
40069 int one(void) { return 1; }
40070 int two(void) { return 2; }
40073 main ()
40075 two();
40077 return 0;
40079 _ACEOF
40080 if ac_fn_c_try_link "$LINENO"; then :
40081 ac_gcsections=yes
40082 else
40083 ac_gcsections=no
40085 rm -f core conftest.err conftest.$ac_objext \
40086 conftest$ac_exeext conftest.$ac_ext
40087 if test "$ac_gcsections" = "yes"; then
40088 rm -f conftest.c
40089 touch conftest.c
40090 if $CC -c conftest.c; then
40091 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40092 grep "Warning: gc-sections option ignored" > /dev/null; then
40093 ac_gcsections=no
40096 rm -f conftest.c conftest.o conftest
40098 if test "$ac_gcsections" = "yes"; then
40099 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40102 $as_echo "$ac_gcsections" >&6; }
40104 if test "$ac_test_CFLAGS" = set; then
40105 CFLAGS="$ac_save_CFLAGS"
40106 else
40107 # this is the suspicious part
40108 CFLAGS=''
40112 # Set -z,relro.
40113 # Note this is only for shared objects.
40114 ac_ld_relro=no
40115 if test x"$with_gnu_ld" = x"yes"; then
40116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40117 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40118 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40119 if test -n "$cxx_z_relo"; then
40120 OPT_LDFLAGS="-Wl,-z,relro"
40121 ac_ld_relro=yes
40123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40124 $as_echo "$ac_ld_relro" >&6; }
40127 # Set linker optimization flags.
40128 if test x"$with_gnu_ld" = x"yes"; then
40129 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40136 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40137 ac_save_CXXFLAGS="$CXXFLAGS"
40138 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40141 $as_echo_n "checking for sin in -lm... " >&6; }
40142 if test "${ac_cv_lib_m_sin+set}" = set; then :
40143 $as_echo_n "(cached) " >&6
40144 else
40145 ac_check_lib_save_LIBS=$LIBS
40146 LIBS="-lm $LIBS"
40147 if test x$gcc_no_link = xyes; then
40148 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40151 /* end confdefs.h. */
40153 /* Override any GCC internal prototype to avoid an error.
40154 Use char because int might match the return type of a GCC
40155 builtin and then its argument prototype would still apply. */
40156 #ifdef __cplusplus
40157 extern "C"
40158 #endif
40159 char sin ();
40161 main ()
40163 return sin ();
40165 return 0;
40167 _ACEOF
40168 if ac_fn_c_try_link "$LINENO"; then :
40169 ac_cv_lib_m_sin=yes
40170 else
40171 ac_cv_lib_m_sin=no
40173 rm -f core conftest.err conftest.$ac_objext \
40174 conftest$ac_exeext conftest.$ac_ext
40175 LIBS=$ac_check_lib_save_LIBS
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40178 $as_echo "$ac_cv_lib_m_sin" >&6; }
40179 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40180 libm="-lm"
40183 ac_save_LIBS="$LIBS"
40184 LIBS="$LIBS $libm"
40188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40189 $as_echo_n "checking for isinf declaration... " >&6; }
40190 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40191 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40192 $as_echo_n "(cached) " >&6
40193 else
40196 ac_ext=cpp
40197 ac_cpp='$CXXCPP $CPPFLAGS'
40198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40203 /* end confdefs.h. */
40204 #include <math.h>
40205 #ifdef HAVE_IEEEFP_H
40206 #include <ieeefp.h>
40207 #endif
40210 main ()
40212 isinf(0);
40214 return 0;
40216 _ACEOF
40217 if ac_fn_cxx_try_compile "$LINENO"; then :
40218 glibcxx_cv_func_isinf_use=yes
40219 else
40220 glibcxx_cv_func_isinf_use=no
40222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40223 ac_ext=c
40224 ac_cpp='$CPP $CPPFLAGS'
40225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40234 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40236 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40237 for ac_func in isinf
40238 do :
40239 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40240 if test "x$ac_cv_func_isinf" = x""yes; then :
40241 cat >>confdefs.h <<_ACEOF
40242 #define HAVE_ISINF 1
40243 _ACEOF
40246 done
40248 else
40250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40251 $as_echo_n "checking for _isinf declaration... " >&6; }
40252 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40253 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40254 $as_echo_n "(cached) " >&6
40255 else
40258 ac_ext=cpp
40259 ac_cpp='$CXXCPP $CPPFLAGS'
40260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40265 /* end confdefs.h. */
40266 #include <math.h>
40267 #ifdef HAVE_IEEEFP_H
40268 #include <ieeefp.h>
40269 #endif
40272 main ()
40274 _isinf(0);
40276 return 0;
40278 _ACEOF
40279 if ac_fn_cxx_try_compile "$LINENO"; then :
40280 glibcxx_cv_func__isinf_use=yes
40281 else
40282 glibcxx_cv_func__isinf_use=no
40284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40285 ac_ext=c
40286 ac_cpp='$CPP $CPPFLAGS'
40287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40296 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40298 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40299 for ac_func in _isinf
40300 do :
40301 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40302 if test "x$ac_cv_func__isinf" = x""yes; then :
40303 cat >>confdefs.h <<_ACEOF
40304 #define HAVE__ISINF 1
40305 _ACEOF
40308 done
40317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40318 $as_echo_n "checking for isnan declaration... " >&6; }
40319 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40320 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40321 $as_echo_n "(cached) " >&6
40322 else
40325 ac_ext=cpp
40326 ac_cpp='$CXXCPP $CPPFLAGS'
40327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40332 /* end confdefs.h. */
40333 #include <math.h>
40334 #ifdef HAVE_IEEEFP_H
40335 #include <ieeefp.h>
40336 #endif
40339 main ()
40341 isnan(0);
40343 return 0;
40345 _ACEOF
40346 if ac_fn_cxx_try_compile "$LINENO"; then :
40347 glibcxx_cv_func_isnan_use=yes
40348 else
40349 glibcxx_cv_func_isnan_use=no
40351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40352 ac_ext=c
40353 ac_cpp='$CPP $CPPFLAGS'
40354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40363 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40365 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40366 for ac_func in isnan
40367 do :
40368 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40369 if test "x$ac_cv_func_isnan" = x""yes; then :
40370 cat >>confdefs.h <<_ACEOF
40371 #define HAVE_ISNAN 1
40372 _ACEOF
40375 done
40377 else
40379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40380 $as_echo_n "checking for _isnan declaration... " >&6; }
40381 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40382 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40383 $as_echo_n "(cached) " >&6
40384 else
40387 ac_ext=cpp
40388 ac_cpp='$CXXCPP $CPPFLAGS'
40389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40394 /* end confdefs.h. */
40395 #include <math.h>
40396 #ifdef HAVE_IEEEFP_H
40397 #include <ieeefp.h>
40398 #endif
40401 main ()
40403 _isnan(0);
40405 return 0;
40407 _ACEOF
40408 if ac_fn_cxx_try_compile "$LINENO"; then :
40409 glibcxx_cv_func__isnan_use=yes
40410 else
40411 glibcxx_cv_func__isnan_use=no
40413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40414 ac_ext=c
40415 ac_cpp='$CPP $CPPFLAGS'
40416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40425 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40427 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40428 for ac_func in _isnan
40429 do :
40430 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40431 if test "x$ac_cv_func__isnan" = x""yes; then :
40432 cat >>confdefs.h <<_ACEOF
40433 #define HAVE__ISNAN 1
40434 _ACEOF
40437 done
40446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40447 $as_echo_n "checking for finite declaration... " >&6; }
40448 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40449 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40450 $as_echo_n "(cached) " >&6
40451 else
40454 ac_ext=cpp
40455 ac_cpp='$CXXCPP $CPPFLAGS'
40456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40461 /* end confdefs.h. */
40462 #include <math.h>
40463 #ifdef HAVE_IEEEFP_H
40464 #include <ieeefp.h>
40465 #endif
40468 main ()
40470 finite(0);
40472 return 0;
40474 _ACEOF
40475 if ac_fn_cxx_try_compile "$LINENO"; then :
40476 glibcxx_cv_func_finite_use=yes
40477 else
40478 glibcxx_cv_func_finite_use=no
40480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40481 ac_ext=c
40482 ac_cpp='$CPP $CPPFLAGS'
40483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40492 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40494 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40495 for ac_func in finite
40496 do :
40497 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40498 if test "x$ac_cv_func_finite" = x""yes; then :
40499 cat >>confdefs.h <<_ACEOF
40500 #define HAVE_FINITE 1
40501 _ACEOF
40504 done
40506 else
40508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40509 $as_echo_n "checking for _finite declaration... " >&6; }
40510 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40511 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40512 $as_echo_n "(cached) " >&6
40513 else
40516 ac_ext=cpp
40517 ac_cpp='$CXXCPP $CPPFLAGS'
40518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40523 /* end confdefs.h. */
40524 #include <math.h>
40525 #ifdef HAVE_IEEEFP_H
40526 #include <ieeefp.h>
40527 #endif
40530 main ()
40532 _finite(0);
40534 return 0;
40536 _ACEOF
40537 if ac_fn_cxx_try_compile "$LINENO"; then :
40538 glibcxx_cv_func__finite_use=yes
40539 else
40540 glibcxx_cv_func__finite_use=no
40542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40543 ac_ext=c
40544 ac_cpp='$CPP $CPPFLAGS'
40545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40554 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40556 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40557 for ac_func in _finite
40558 do :
40559 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40560 if test "x$ac_cv_func__finite" = x""yes; then :
40561 cat >>confdefs.h <<_ACEOF
40562 #define HAVE__FINITE 1
40563 _ACEOF
40566 done
40575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40576 $as_echo_n "checking for sincos declaration... " >&6; }
40577 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40578 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40579 $as_echo_n "(cached) " >&6
40580 else
40583 ac_ext=cpp
40584 ac_cpp='$CXXCPP $CPPFLAGS'
40585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40590 /* end confdefs.h. */
40591 #include <math.h>
40593 main ()
40595 sincos(0, 0, 0);
40597 return 0;
40599 _ACEOF
40600 if ac_fn_cxx_try_compile "$LINENO"; then :
40601 glibcxx_cv_func_sincos_use=yes
40602 else
40603 glibcxx_cv_func_sincos_use=no
40605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40606 ac_ext=c
40607 ac_cpp='$CPP $CPPFLAGS'
40608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40617 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40619 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40620 for ac_func in sincos
40621 do :
40622 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40623 if test "x$ac_cv_func_sincos" = x""yes; then :
40624 cat >>confdefs.h <<_ACEOF
40625 #define HAVE_SINCOS 1
40626 _ACEOF
40629 done
40631 else
40633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40634 $as_echo_n "checking for _sincos declaration... " >&6; }
40635 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40636 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40637 $as_echo_n "(cached) " >&6
40638 else
40641 ac_ext=cpp
40642 ac_cpp='$CXXCPP $CPPFLAGS'
40643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40648 /* end confdefs.h. */
40649 #include <math.h>
40651 main ()
40653 _sincos(0, 0, 0);
40655 return 0;
40657 _ACEOF
40658 if ac_fn_cxx_try_compile "$LINENO"; then :
40659 glibcxx_cv_func__sincos_use=yes
40660 else
40661 glibcxx_cv_func__sincos_use=no
40663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40664 ac_ext=c
40665 ac_cpp='$CPP $CPPFLAGS'
40666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40675 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40677 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40678 for ac_func in _sincos
40679 do :
40680 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40681 if test "x$ac_cv_func__sincos" = x""yes; then :
40682 cat >>confdefs.h <<_ACEOF
40683 #define HAVE__SINCOS 1
40684 _ACEOF
40687 done
40696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40697 $as_echo_n "checking for fpclass declaration... " >&6; }
40698 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40699 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40700 $as_echo_n "(cached) " >&6
40701 else
40704 ac_ext=cpp
40705 ac_cpp='$CXXCPP $CPPFLAGS'
40706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40711 /* end confdefs.h. */
40712 #include <math.h>
40713 #ifdef HAVE_IEEEFP_H
40714 #include <ieeefp.h>
40715 #endif
40718 main ()
40720 fpclass(0);
40722 return 0;
40724 _ACEOF
40725 if ac_fn_cxx_try_compile "$LINENO"; then :
40726 glibcxx_cv_func_fpclass_use=yes
40727 else
40728 glibcxx_cv_func_fpclass_use=no
40730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40731 ac_ext=c
40732 ac_cpp='$CPP $CPPFLAGS'
40733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40742 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40744 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40745 for ac_func in fpclass
40746 do :
40747 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40748 if test "x$ac_cv_func_fpclass" = x""yes; then :
40749 cat >>confdefs.h <<_ACEOF
40750 #define HAVE_FPCLASS 1
40751 _ACEOF
40754 done
40756 else
40758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40759 $as_echo_n "checking for _fpclass declaration... " >&6; }
40760 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40761 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40762 $as_echo_n "(cached) " >&6
40763 else
40766 ac_ext=cpp
40767 ac_cpp='$CXXCPP $CPPFLAGS'
40768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40773 /* end confdefs.h. */
40774 #include <math.h>
40775 #ifdef HAVE_IEEEFP_H
40776 #include <ieeefp.h>
40777 #endif
40780 main ()
40782 _fpclass(0);
40784 return 0;
40786 _ACEOF
40787 if ac_fn_cxx_try_compile "$LINENO"; then :
40788 glibcxx_cv_func__fpclass_use=yes
40789 else
40790 glibcxx_cv_func__fpclass_use=no
40792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40793 ac_ext=c
40794 ac_cpp='$CPP $CPPFLAGS'
40795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40804 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40806 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40807 for ac_func in _fpclass
40808 do :
40809 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40810 if test "x$ac_cv_func__fpclass" = x""yes; then :
40811 cat >>confdefs.h <<_ACEOF
40812 #define HAVE__FPCLASS 1
40813 _ACEOF
40816 done
40825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40826 $as_echo_n "checking for qfpclass declaration... " >&6; }
40827 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40828 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40829 $as_echo_n "(cached) " >&6
40830 else
40833 ac_ext=cpp
40834 ac_cpp='$CXXCPP $CPPFLAGS'
40835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40840 /* end confdefs.h. */
40841 #include <math.h>
40842 #ifdef HAVE_IEEEFP_H
40843 #include <ieeefp.h>
40844 #endif
40847 main ()
40849 qfpclass(0);
40851 return 0;
40853 _ACEOF
40854 if ac_fn_cxx_try_compile "$LINENO"; then :
40855 glibcxx_cv_func_qfpclass_use=yes
40856 else
40857 glibcxx_cv_func_qfpclass_use=no
40859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40860 ac_ext=c
40861 ac_cpp='$CPP $CPPFLAGS'
40862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40871 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40873 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40874 for ac_func in qfpclass
40875 do :
40876 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40877 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40878 cat >>confdefs.h <<_ACEOF
40879 #define HAVE_QFPCLASS 1
40880 _ACEOF
40883 done
40885 else
40887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40888 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40889 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40890 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40891 $as_echo_n "(cached) " >&6
40892 else
40895 ac_ext=cpp
40896 ac_cpp='$CXXCPP $CPPFLAGS'
40897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40902 /* end confdefs.h. */
40903 #include <math.h>
40904 #ifdef HAVE_IEEEFP_H
40905 #include <ieeefp.h>
40906 #endif
40909 main ()
40911 _qfpclass(0);
40913 return 0;
40915 _ACEOF
40916 if ac_fn_cxx_try_compile "$LINENO"; then :
40917 glibcxx_cv_func__qfpclass_use=yes
40918 else
40919 glibcxx_cv_func__qfpclass_use=no
40921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40922 ac_ext=c
40923 ac_cpp='$CPP $CPPFLAGS'
40924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40933 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40935 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40936 for ac_func in _qfpclass
40937 do :
40938 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40939 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40940 cat >>confdefs.h <<_ACEOF
40941 #define HAVE__QFPCLASS 1
40942 _ACEOF
40945 done
40954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40955 $as_echo_n "checking for hypot declaration... " >&6; }
40956 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40957 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40958 $as_echo_n "(cached) " >&6
40959 else
40962 ac_ext=cpp
40963 ac_cpp='$CXXCPP $CPPFLAGS'
40964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40969 /* end confdefs.h. */
40970 #include <math.h>
40972 main ()
40974 hypot(0, 0);
40976 return 0;
40978 _ACEOF
40979 if ac_fn_cxx_try_compile "$LINENO"; then :
40980 glibcxx_cv_func_hypot_use=yes
40981 else
40982 glibcxx_cv_func_hypot_use=no
40984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40985 ac_ext=c
40986 ac_cpp='$CPP $CPPFLAGS'
40987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40996 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40998 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40999 for ac_func in hypot
41000 do :
41001 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41002 if test "x$ac_cv_func_hypot" = x""yes; then :
41003 cat >>confdefs.h <<_ACEOF
41004 #define HAVE_HYPOT 1
41005 _ACEOF
41008 done
41010 else
41012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41013 $as_echo_n "checking for _hypot declaration... " >&6; }
41014 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41015 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41016 $as_echo_n "(cached) " >&6
41017 else
41020 ac_ext=cpp
41021 ac_cpp='$CXXCPP $CPPFLAGS'
41022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41027 /* end confdefs.h. */
41028 #include <math.h>
41030 main ()
41032 _hypot(0, 0);
41034 return 0;
41036 _ACEOF
41037 if ac_fn_cxx_try_compile "$LINENO"; then :
41038 glibcxx_cv_func__hypot_use=yes
41039 else
41040 glibcxx_cv_func__hypot_use=no
41042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41043 ac_ext=c
41044 ac_cpp='$CPP $CPPFLAGS'
41045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41054 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41056 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41057 for ac_func in _hypot
41058 do :
41059 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41060 if test "x$ac_cv_func__hypot" = x""yes; then :
41061 cat >>confdefs.h <<_ACEOF
41062 #define HAVE__HYPOT 1
41063 _ACEOF
41066 done
41075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41076 $as_echo_n "checking for float trig functions... " >&6; }
41077 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41078 $as_echo_n "(cached) " >&6
41079 else
41082 ac_ext=cpp
41083 ac_cpp='$CXXCPP $CPPFLAGS'
41084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41089 /* end confdefs.h. */
41090 #include <math.h>
41092 main ()
41094 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41096 return 0;
41098 _ACEOF
41099 if ac_fn_cxx_try_compile "$LINENO"; then :
41100 glibcxx_cv_func_float_trig_use=yes
41101 else
41102 glibcxx_cv_func_float_trig_use=no
41104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41105 ac_ext=c
41106 ac_cpp='$CPP $CPPFLAGS'
41107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41114 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41115 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41116 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41117 do :
41118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41120 eval as_val=\$$as_ac_var
41121 if test "x$as_val" = x""yes; then :
41122 cat >>confdefs.h <<_ACEOF
41123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41124 _ACEOF
41127 done
41129 else
41130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41131 $as_echo_n "checking for _float trig functions... " >&6; }
41132 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41133 $as_echo_n "(cached) " >&6
41134 else
41137 ac_ext=cpp
41138 ac_cpp='$CXXCPP $CPPFLAGS'
41139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41144 /* end confdefs.h. */
41145 #include <math.h>
41147 main ()
41149 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41151 return 0;
41153 _ACEOF
41154 if ac_fn_cxx_try_compile "$LINENO"; then :
41155 glibcxx_cv_func__float_trig_use=yes
41156 else
41157 glibcxx_cv_func__float_trig_use=no
41159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41160 ac_ext=c
41161 ac_cpp='$CPP $CPPFLAGS'
41162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41169 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41170 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41171 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41172 do :
41173 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41175 eval as_val=\$$as_ac_var
41176 if test "x$as_val" = x""yes; then :
41177 cat >>confdefs.h <<_ACEOF
41178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41179 _ACEOF
41182 done
41191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41192 $as_echo_n "checking for float round functions... " >&6; }
41193 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41194 $as_echo_n "(cached) " >&6
41195 else
41198 ac_ext=cpp
41199 ac_cpp='$CXXCPP $CPPFLAGS'
41200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41205 /* end confdefs.h. */
41206 #include <math.h>
41208 main ()
41210 ceilf (0); floorf (0);
41212 return 0;
41214 _ACEOF
41215 if ac_fn_cxx_try_compile "$LINENO"; then :
41216 glibcxx_cv_func_float_round_use=yes
41217 else
41218 glibcxx_cv_func_float_round_use=no
41220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41221 ac_ext=c
41222 ac_cpp='$CPP $CPPFLAGS'
41223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41230 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41231 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41232 for ac_func in ceilf floorf
41233 do :
41234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41236 eval as_val=\$$as_ac_var
41237 if test "x$as_val" = x""yes; then :
41238 cat >>confdefs.h <<_ACEOF
41239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41240 _ACEOF
41243 done
41245 else
41246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41247 $as_echo_n "checking for _float round functions... " >&6; }
41248 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41249 $as_echo_n "(cached) " >&6
41250 else
41253 ac_ext=cpp
41254 ac_cpp='$CXXCPP $CPPFLAGS'
41255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41260 /* end confdefs.h. */
41261 #include <math.h>
41263 main ()
41265 _ceilf (0); _floorf (0);
41267 return 0;
41269 _ACEOF
41270 if ac_fn_cxx_try_compile "$LINENO"; then :
41271 glibcxx_cv_func__float_round_use=yes
41272 else
41273 glibcxx_cv_func__float_round_use=no
41275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41276 ac_ext=c
41277 ac_cpp='$CPP $CPPFLAGS'
41278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41285 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41286 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41287 for ac_func in _ceilf _floorf
41288 do :
41289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41290 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41291 eval as_val=\$$as_ac_var
41292 if test "x$as_val" = x""yes; then :
41293 cat >>confdefs.h <<_ACEOF
41294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41295 _ACEOF
41298 done
41308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41309 $as_echo_n "checking for expf declaration... " >&6; }
41310 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41311 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41312 $as_echo_n "(cached) " >&6
41313 else
41316 ac_ext=cpp
41317 ac_cpp='$CXXCPP $CPPFLAGS'
41318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41323 /* end confdefs.h. */
41324 #include <math.h>
41325 #ifdef HAVE_IEEEFP_H
41326 #include <ieeefp.h>
41327 #endif
41330 main ()
41332 expf(0);
41334 return 0;
41336 _ACEOF
41337 if ac_fn_cxx_try_compile "$LINENO"; then :
41338 glibcxx_cv_func_expf_use=yes
41339 else
41340 glibcxx_cv_func_expf_use=no
41342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41343 ac_ext=c
41344 ac_cpp='$CPP $CPPFLAGS'
41345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41354 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41356 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41357 for ac_func in expf
41358 do :
41359 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41360 if test "x$ac_cv_func_expf" = x""yes; then :
41361 cat >>confdefs.h <<_ACEOF
41362 #define HAVE_EXPF 1
41363 _ACEOF
41366 done
41368 else
41370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41371 $as_echo_n "checking for _expf declaration... " >&6; }
41372 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41373 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41374 $as_echo_n "(cached) " >&6
41375 else
41378 ac_ext=cpp
41379 ac_cpp='$CXXCPP $CPPFLAGS'
41380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41385 /* end confdefs.h. */
41386 #include <math.h>
41387 #ifdef HAVE_IEEEFP_H
41388 #include <ieeefp.h>
41389 #endif
41392 main ()
41394 _expf(0);
41396 return 0;
41398 _ACEOF
41399 if ac_fn_cxx_try_compile "$LINENO"; then :
41400 glibcxx_cv_func__expf_use=yes
41401 else
41402 glibcxx_cv_func__expf_use=no
41404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41405 ac_ext=c
41406 ac_cpp='$CPP $CPPFLAGS'
41407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41416 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41418 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41419 for ac_func in _expf
41420 do :
41421 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41422 if test "x$ac_cv_func__expf" = x""yes; then :
41423 cat >>confdefs.h <<_ACEOF
41424 #define HAVE__EXPF 1
41425 _ACEOF
41428 done
41437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41438 $as_echo_n "checking for isnanf declaration... " >&6; }
41439 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41440 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41441 $as_echo_n "(cached) " >&6
41442 else
41445 ac_ext=cpp
41446 ac_cpp='$CXXCPP $CPPFLAGS'
41447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41452 /* end confdefs.h. */
41453 #include <math.h>
41454 #ifdef HAVE_IEEEFP_H
41455 #include <ieeefp.h>
41456 #endif
41459 main ()
41461 isnanf(0);
41463 return 0;
41465 _ACEOF
41466 if ac_fn_cxx_try_compile "$LINENO"; then :
41467 glibcxx_cv_func_isnanf_use=yes
41468 else
41469 glibcxx_cv_func_isnanf_use=no
41471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41472 ac_ext=c
41473 ac_cpp='$CPP $CPPFLAGS'
41474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41483 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41485 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41486 for ac_func in isnanf
41487 do :
41488 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41489 if test "x$ac_cv_func_isnanf" = x""yes; then :
41490 cat >>confdefs.h <<_ACEOF
41491 #define HAVE_ISNANF 1
41492 _ACEOF
41495 done
41497 else
41499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41500 $as_echo_n "checking for _isnanf declaration... " >&6; }
41501 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41502 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41503 $as_echo_n "(cached) " >&6
41504 else
41507 ac_ext=cpp
41508 ac_cpp='$CXXCPP $CPPFLAGS'
41509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41514 /* end confdefs.h. */
41515 #include <math.h>
41516 #ifdef HAVE_IEEEFP_H
41517 #include <ieeefp.h>
41518 #endif
41521 main ()
41523 _isnanf(0);
41525 return 0;
41527 _ACEOF
41528 if ac_fn_cxx_try_compile "$LINENO"; then :
41529 glibcxx_cv_func__isnanf_use=yes
41530 else
41531 glibcxx_cv_func__isnanf_use=no
41533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41534 ac_ext=c
41535 ac_cpp='$CPP $CPPFLAGS'
41536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41545 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41547 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41548 for ac_func in _isnanf
41549 do :
41550 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41551 if test "x$ac_cv_func__isnanf" = x""yes; then :
41552 cat >>confdefs.h <<_ACEOF
41553 #define HAVE__ISNANF 1
41554 _ACEOF
41557 done
41566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41567 $as_echo_n "checking for isinff declaration... " >&6; }
41568 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41569 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41570 $as_echo_n "(cached) " >&6
41571 else
41574 ac_ext=cpp
41575 ac_cpp='$CXXCPP $CPPFLAGS'
41576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41581 /* end confdefs.h. */
41582 #include <math.h>
41583 #ifdef HAVE_IEEEFP_H
41584 #include <ieeefp.h>
41585 #endif
41588 main ()
41590 isinff(0);
41592 return 0;
41594 _ACEOF
41595 if ac_fn_cxx_try_compile "$LINENO"; then :
41596 glibcxx_cv_func_isinff_use=yes
41597 else
41598 glibcxx_cv_func_isinff_use=no
41600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41601 ac_ext=c
41602 ac_cpp='$CPP $CPPFLAGS'
41603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41612 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41614 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41615 for ac_func in isinff
41616 do :
41617 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41618 if test "x$ac_cv_func_isinff" = x""yes; then :
41619 cat >>confdefs.h <<_ACEOF
41620 #define HAVE_ISINFF 1
41621 _ACEOF
41624 done
41626 else
41628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41629 $as_echo_n "checking for _isinff declaration... " >&6; }
41630 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41631 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41632 $as_echo_n "(cached) " >&6
41633 else
41636 ac_ext=cpp
41637 ac_cpp='$CXXCPP $CPPFLAGS'
41638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41643 /* end confdefs.h. */
41644 #include <math.h>
41645 #ifdef HAVE_IEEEFP_H
41646 #include <ieeefp.h>
41647 #endif
41650 main ()
41652 _isinff(0);
41654 return 0;
41656 _ACEOF
41657 if ac_fn_cxx_try_compile "$LINENO"; then :
41658 glibcxx_cv_func__isinff_use=yes
41659 else
41660 glibcxx_cv_func__isinff_use=no
41662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41663 ac_ext=c
41664 ac_cpp='$CPP $CPPFLAGS'
41665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41674 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41676 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41677 for ac_func in _isinff
41678 do :
41679 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41680 if test "x$ac_cv_func__isinff" = x""yes; then :
41681 cat >>confdefs.h <<_ACEOF
41682 #define HAVE__ISINFF 1
41683 _ACEOF
41686 done
41695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41696 $as_echo_n "checking for atan2f declaration... " >&6; }
41697 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41698 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41699 $as_echo_n "(cached) " >&6
41700 else
41703 ac_ext=cpp
41704 ac_cpp='$CXXCPP $CPPFLAGS'
41705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41710 /* end confdefs.h. */
41711 #include <math.h>
41713 main ()
41715 atan2f(0, 0);
41717 return 0;
41719 _ACEOF
41720 if ac_fn_cxx_try_compile "$LINENO"; then :
41721 glibcxx_cv_func_atan2f_use=yes
41722 else
41723 glibcxx_cv_func_atan2f_use=no
41725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41726 ac_ext=c
41727 ac_cpp='$CPP $CPPFLAGS'
41728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41737 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41739 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41740 for ac_func in atan2f
41741 do :
41742 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41743 if test "x$ac_cv_func_atan2f" = x""yes; then :
41744 cat >>confdefs.h <<_ACEOF
41745 #define HAVE_ATAN2F 1
41746 _ACEOF
41749 done
41751 else
41753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41754 $as_echo_n "checking for _atan2f declaration... " >&6; }
41755 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41756 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41757 $as_echo_n "(cached) " >&6
41758 else
41761 ac_ext=cpp
41762 ac_cpp='$CXXCPP $CPPFLAGS'
41763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41768 /* end confdefs.h. */
41769 #include <math.h>
41771 main ()
41773 _atan2f(0, 0);
41775 return 0;
41777 _ACEOF
41778 if ac_fn_cxx_try_compile "$LINENO"; then :
41779 glibcxx_cv_func__atan2f_use=yes
41780 else
41781 glibcxx_cv_func__atan2f_use=no
41783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41784 ac_ext=c
41785 ac_cpp='$CPP $CPPFLAGS'
41786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41795 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41797 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41798 for ac_func in _atan2f
41799 do :
41800 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41801 if test "x$ac_cv_func__atan2f" = x""yes; then :
41802 cat >>confdefs.h <<_ACEOF
41803 #define HAVE__ATAN2F 1
41804 _ACEOF
41807 done
41816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41817 $as_echo_n "checking for fabsf declaration... " >&6; }
41818 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41819 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41820 $as_echo_n "(cached) " >&6
41821 else
41824 ac_ext=cpp
41825 ac_cpp='$CXXCPP $CPPFLAGS'
41826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41831 /* end confdefs.h. */
41832 #include <math.h>
41833 #ifdef HAVE_IEEEFP_H
41834 #include <ieeefp.h>
41835 #endif
41838 main ()
41840 fabsf(0);
41842 return 0;
41844 _ACEOF
41845 if ac_fn_cxx_try_compile "$LINENO"; then :
41846 glibcxx_cv_func_fabsf_use=yes
41847 else
41848 glibcxx_cv_func_fabsf_use=no
41850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41851 ac_ext=c
41852 ac_cpp='$CPP $CPPFLAGS'
41853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41862 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41864 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41865 for ac_func in fabsf
41866 do :
41867 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41868 if test "x$ac_cv_func_fabsf" = x""yes; then :
41869 cat >>confdefs.h <<_ACEOF
41870 #define HAVE_FABSF 1
41871 _ACEOF
41874 done
41876 else
41878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41879 $as_echo_n "checking for _fabsf declaration... " >&6; }
41880 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41881 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41882 $as_echo_n "(cached) " >&6
41883 else
41886 ac_ext=cpp
41887 ac_cpp='$CXXCPP $CPPFLAGS'
41888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41893 /* end confdefs.h. */
41894 #include <math.h>
41895 #ifdef HAVE_IEEEFP_H
41896 #include <ieeefp.h>
41897 #endif
41900 main ()
41902 _fabsf(0);
41904 return 0;
41906 _ACEOF
41907 if ac_fn_cxx_try_compile "$LINENO"; then :
41908 glibcxx_cv_func__fabsf_use=yes
41909 else
41910 glibcxx_cv_func__fabsf_use=no
41912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41913 ac_ext=c
41914 ac_cpp='$CPP $CPPFLAGS'
41915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41924 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41926 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41927 for ac_func in _fabsf
41928 do :
41929 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41930 if test "x$ac_cv_func__fabsf" = x""yes; then :
41931 cat >>confdefs.h <<_ACEOF
41932 #define HAVE__FABSF 1
41933 _ACEOF
41936 done
41945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41946 $as_echo_n "checking for fmodf declaration... " >&6; }
41947 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41948 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41949 $as_echo_n "(cached) " >&6
41950 else
41953 ac_ext=cpp
41954 ac_cpp='$CXXCPP $CPPFLAGS'
41955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41960 /* end confdefs.h. */
41961 #include <math.h>
41963 main ()
41965 fmodf(0, 0);
41967 return 0;
41969 _ACEOF
41970 if ac_fn_cxx_try_compile "$LINENO"; then :
41971 glibcxx_cv_func_fmodf_use=yes
41972 else
41973 glibcxx_cv_func_fmodf_use=no
41975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41976 ac_ext=c
41977 ac_cpp='$CPP $CPPFLAGS'
41978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41987 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41989 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41990 for ac_func in fmodf
41991 do :
41992 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41993 if test "x$ac_cv_func_fmodf" = x""yes; then :
41994 cat >>confdefs.h <<_ACEOF
41995 #define HAVE_FMODF 1
41996 _ACEOF
41999 done
42001 else
42003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42004 $as_echo_n "checking for _fmodf declaration... " >&6; }
42005 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42006 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42007 $as_echo_n "(cached) " >&6
42008 else
42011 ac_ext=cpp
42012 ac_cpp='$CXXCPP $CPPFLAGS'
42013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42018 /* end confdefs.h. */
42019 #include <math.h>
42021 main ()
42023 _fmodf(0, 0);
42025 return 0;
42027 _ACEOF
42028 if ac_fn_cxx_try_compile "$LINENO"; then :
42029 glibcxx_cv_func__fmodf_use=yes
42030 else
42031 glibcxx_cv_func__fmodf_use=no
42033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42034 ac_ext=c
42035 ac_cpp='$CPP $CPPFLAGS'
42036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42045 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42047 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42048 for ac_func in _fmodf
42049 do :
42050 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42051 if test "x$ac_cv_func__fmodf" = x""yes; then :
42052 cat >>confdefs.h <<_ACEOF
42053 #define HAVE__FMODF 1
42054 _ACEOF
42057 done
42066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42067 $as_echo_n "checking for frexpf declaration... " >&6; }
42068 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42069 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42070 $as_echo_n "(cached) " >&6
42071 else
42074 ac_ext=cpp
42075 ac_cpp='$CXXCPP $CPPFLAGS'
42076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42081 /* end confdefs.h. */
42082 #include <math.h>
42084 main ()
42086 frexpf(0, 0);
42088 return 0;
42090 _ACEOF
42091 if ac_fn_cxx_try_compile "$LINENO"; then :
42092 glibcxx_cv_func_frexpf_use=yes
42093 else
42094 glibcxx_cv_func_frexpf_use=no
42096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42097 ac_ext=c
42098 ac_cpp='$CPP $CPPFLAGS'
42099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42108 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42110 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42111 for ac_func in frexpf
42112 do :
42113 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42114 if test "x$ac_cv_func_frexpf" = x""yes; then :
42115 cat >>confdefs.h <<_ACEOF
42116 #define HAVE_FREXPF 1
42117 _ACEOF
42120 done
42122 else
42124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42125 $as_echo_n "checking for _frexpf declaration... " >&6; }
42126 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42127 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42128 $as_echo_n "(cached) " >&6
42129 else
42132 ac_ext=cpp
42133 ac_cpp='$CXXCPP $CPPFLAGS'
42134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42139 /* end confdefs.h. */
42140 #include <math.h>
42142 main ()
42144 _frexpf(0, 0);
42146 return 0;
42148 _ACEOF
42149 if ac_fn_cxx_try_compile "$LINENO"; then :
42150 glibcxx_cv_func__frexpf_use=yes
42151 else
42152 glibcxx_cv_func__frexpf_use=no
42154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42155 ac_ext=c
42156 ac_cpp='$CPP $CPPFLAGS'
42157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42166 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42168 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42169 for ac_func in _frexpf
42170 do :
42171 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42172 if test "x$ac_cv_func__frexpf" = x""yes; then :
42173 cat >>confdefs.h <<_ACEOF
42174 #define HAVE__FREXPF 1
42175 _ACEOF
42178 done
42187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42188 $as_echo_n "checking for hypotf declaration... " >&6; }
42189 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42190 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42191 $as_echo_n "(cached) " >&6
42192 else
42195 ac_ext=cpp
42196 ac_cpp='$CXXCPP $CPPFLAGS'
42197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42202 /* end confdefs.h. */
42203 #include <math.h>
42205 main ()
42207 hypotf(0, 0);
42209 return 0;
42211 _ACEOF
42212 if ac_fn_cxx_try_compile "$LINENO"; then :
42213 glibcxx_cv_func_hypotf_use=yes
42214 else
42215 glibcxx_cv_func_hypotf_use=no
42217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42218 ac_ext=c
42219 ac_cpp='$CPP $CPPFLAGS'
42220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42229 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42231 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42232 for ac_func in hypotf
42233 do :
42234 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42235 if test "x$ac_cv_func_hypotf" = x""yes; then :
42236 cat >>confdefs.h <<_ACEOF
42237 #define HAVE_HYPOTF 1
42238 _ACEOF
42241 done
42243 else
42245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42246 $as_echo_n "checking for _hypotf declaration... " >&6; }
42247 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42248 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42249 $as_echo_n "(cached) " >&6
42250 else
42253 ac_ext=cpp
42254 ac_cpp='$CXXCPP $CPPFLAGS'
42255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42260 /* end confdefs.h. */
42261 #include <math.h>
42263 main ()
42265 _hypotf(0, 0);
42267 return 0;
42269 _ACEOF
42270 if ac_fn_cxx_try_compile "$LINENO"; then :
42271 glibcxx_cv_func__hypotf_use=yes
42272 else
42273 glibcxx_cv_func__hypotf_use=no
42275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42276 ac_ext=c
42277 ac_cpp='$CPP $CPPFLAGS'
42278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42287 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42289 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42290 for ac_func in _hypotf
42291 do :
42292 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42293 if test "x$ac_cv_func__hypotf" = x""yes; then :
42294 cat >>confdefs.h <<_ACEOF
42295 #define HAVE__HYPOTF 1
42296 _ACEOF
42299 done
42308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42309 $as_echo_n "checking for ldexpf declaration... " >&6; }
42310 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42311 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42312 $as_echo_n "(cached) " >&6
42313 else
42316 ac_ext=cpp
42317 ac_cpp='$CXXCPP $CPPFLAGS'
42318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42323 /* end confdefs.h. */
42324 #include <math.h>
42326 main ()
42328 ldexpf(0, 0);
42330 return 0;
42332 _ACEOF
42333 if ac_fn_cxx_try_compile "$LINENO"; then :
42334 glibcxx_cv_func_ldexpf_use=yes
42335 else
42336 glibcxx_cv_func_ldexpf_use=no
42338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42339 ac_ext=c
42340 ac_cpp='$CPP $CPPFLAGS'
42341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42350 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42352 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42353 for ac_func in ldexpf
42354 do :
42355 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42356 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42357 cat >>confdefs.h <<_ACEOF
42358 #define HAVE_LDEXPF 1
42359 _ACEOF
42362 done
42364 else
42366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42367 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42368 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42369 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42370 $as_echo_n "(cached) " >&6
42371 else
42374 ac_ext=cpp
42375 ac_cpp='$CXXCPP $CPPFLAGS'
42376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42381 /* end confdefs.h. */
42382 #include <math.h>
42384 main ()
42386 _ldexpf(0, 0);
42388 return 0;
42390 _ACEOF
42391 if ac_fn_cxx_try_compile "$LINENO"; then :
42392 glibcxx_cv_func__ldexpf_use=yes
42393 else
42394 glibcxx_cv_func__ldexpf_use=no
42396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42397 ac_ext=c
42398 ac_cpp='$CPP $CPPFLAGS'
42399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42408 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42410 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42411 for ac_func in _ldexpf
42412 do :
42413 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42414 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42415 cat >>confdefs.h <<_ACEOF
42416 #define HAVE__LDEXPF 1
42417 _ACEOF
42420 done
42429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42430 $as_echo_n "checking for logf declaration... " >&6; }
42431 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42432 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42433 $as_echo_n "(cached) " >&6
42434 else
42437 ac_ext=cpp
42438 ac_cpp='$CXXCPP $CPPFLAGS'
42439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42444 /* end confdefs.h. */
42445 #include <math.h>
42446 #ifdef HAVE_IEEEFP_H
42447 #include <ieeefp.h>
42448 #endif
42451 main ()
42453 logf(0);
42455 return 0;
42457 _ACEOF
42458 if ac_fn_cxx_try_compile "$LINENO"; then :
42459 glibcxx_cv_func_logf_use=yes
42460 else
42461 glibcxx_cv_func_logf_use=no
42463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42464 ac_ext=c
42465 ac_cpp='$CPP $CPPFLAGS'
42466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42475 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42477 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42478 for ac_func in logf
42479 do :
42480 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42481 if test "x$ac_cv_func_logf" = x""yes; then :
42482 cat >>confdefs.h <<_ACEOF
42483 #define HAVE_LOGF 1
42484 _ACEOF
42487 done
42489 else
42491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42492 $as_echo_n "checking for _logf declaration... " >&6; }
42493 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42494 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42495 $as_echo_n "(cached) " >&6
42496 else
42499 ac_ext=cpp
42500 ac_cpp='$CXXCPP $CPPFLAGS'
42501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42506 /* end confdefs.h. */
42507 #include <math.h>
42508 #ifdef HAVE_IEEEFP_H
42509 #include <ieeefp.h>
42510 #endif
42513 main ()
42515 _logf(0);
42517 return 0;
42519 _ACEOF
42520 if ac_fn_cxx_try_compile "$LINENO"; then :
42521 glibcxx_cv_func__logf_use=yes
42522 else
42523 glibcxx_cv_func__logf_use=no
42525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42526 ac_ext=c
42527 ac_cpp='$CPP $CPPFLAGS'
42528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42537 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42539 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42540 for ac_func in _logf
42541 do :
42542 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42543 if test "x$ac_cv_func__logf" = x""yes; then :
42544 cat >>confdefs.h <<_ACEOF
42545 #define HAVE__LOGF 1
42546 _ACEOF
42549 done
42558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42559 $as_echo_n "checking for log10f declaration... " >&6; }
42560 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42561 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42562 $as_echo_n "(cached) " >&6
42563 else
42566 ac_ext=cpp
42567 ac_cpp='$CXXCPP $CPPFLAGS'
42568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42573 /* end confdefs.h. */
42574 #include <math.h>
42575 #ifdef HAVE_IEEEFP_H
42576 #include <ieeefp.h>
42577 #endif
42580 main ()
42582 log10f(0);
42584 return 0;
42586 _ACEOF
42587 if ac_fn_cxx_try_compile "$LINENO"; then :
42588 glibcxx_cv_func_log10f_use=yes
42589 else
42590 glibcxx_cv_func_log10f_use=no
42592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42593 ac_ext=c
42594 ac_cpp='$CPP $CPPFLAGS'
42595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42604 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42606 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42607 for ac_func in log10f
42608 do :
42609 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42610 if test "x$ac_cv_func_log10f" = x""yes; then :
42611 cat >>confdefs.h <<_ACEOF
42612 #define HAVE_LOG10F 1
42613 _ACEOF
42616 done
42618 else
42620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42621 $as_echo_n "checking for _log10f declaration... " >&6; }
42622 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42623 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42624 $as_echo_n "(cached) " >&6
42625 else
42628 ac_ext=cpp
42629 ac_cpp='$CXXCPP $CPPFLAGS'
42630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42635 /* end confdefs.h. */
42636 #include <math.h>
42637 #ifdef HAVE_IEEEFP_H
42638 #include <ieeefp.h>
42639 #endif
42642 main ()
42644 _log10f(0);
42646 return 0;
42648 _ACEOF
42649 if ac_fn_cxx_try_compile "$LINENO"; then :
42650 glibcxx_cv_func__log10f_use=yes
42651 else
42652 glibcxx_cv_func__log10f_use=no
42654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42655 ac_ext=c
42656 ac_cpp='$CPP $CPPFLAGS'
42657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42666 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42668 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42669 for ac_func in _log10f
42670 do :
42671 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42672 if test "x$ac_cv_func__log10f" = x""yes; then :
42673 cat >>confdefs.h <<_ACEOF
42674 #define HAVE__LOG10F 1
42675 _ACEOF
42678 done
42687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42688 $as_echo_n "checking for modff declaration... " >&6; }
42689 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42690 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42691 $as_echo_n "(cached) " >&6
42692 else
42695 ac_ext=cpp
42696 ac_cpp='$CXXCPP $CPPFLAGS'
42697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42702 /* end confdefs.h. */
42703 #include <math.h>
42705 main ()
42707 modff(0, 0);
42709 return 0;
42711 _ACEOF
42712 if ac_fn_cxx_try_compile "$LINENO"; then :
42713 glibcxx_cv_func_modff_use=yes
42714 else
42715 glibcxx_cv_func_modff_use=no
42717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42718 ac_ext=c
42719 ac_cpp='$CPP $CPPFLAGS'
42720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42729 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42731 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42732 for ac_func in modff
42733 do :
42734 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42735 if test "x$ac_cv_func_modff" = x""yes; then :
42736 cat >>confdefs.h <<_ACEOF
42737 #define HAVE_MODFF 1
42738 _ACEOF
42741 done
42743 else
42745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42746 $as_echo_n "checking for _modff declaration... " >&6; }
42747 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42748 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42749 $as_echo_n "(cached) " >&6
42750 else
42753 ac_ext=cpp
42754 ac_cpp='$CXXCPP $CPPFLAGS'
42755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42760 /* end confdefs.h. */
42761 #include <math.h>
42763 main ()
42765 _modff(0, 0);
42767 return 0;
42769 _ACEOF
42770 if ac_fn_cxx_try_compile "$LINENO"; then :
42771 glibcxx_cv_func__modff_use=yes
42772 else
42773 glibcxx_cv_func__modff_use=no
42775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42776 ac_ext=c
42777 ac_cpp='$CPP $CPPFLAGS'
42778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42787 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42789 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42790 for ac_func in _modff
42791 do :
42792 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42793 if test "x$ac_cv_func__modff" = x""yes; then :
42794 cat >>confdefs.h <<_ACEOF
42795 #define HAVE__MODFF 1
42796 _ACEOF
42799 done
42808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42809 $as_echo_n "checking for modf declaration... " >&6; }
42810 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42811 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42812 $as_echo_n "(cached) " >&6
42813 else
42816 ac_ext=cpp
42817 ac_cpp='$CXXCPP $CPPFLAGS'
42818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42823 /* end confdefs.h. */
42824 #include <math.h>
42826 main ()
42828 modf(0, 0);
42830 return 0;
42832 _ACEOF
42833 if ac_fn_cxx_try_compile "$LINENO"; then :
42834 glibcxx_cv_func_modf_use=yes
42835 else
42836 glibcxx_cv_func_modf_use=no
42838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42839 ac_ext=c
42840 ac_cpp='$CPP $CPPFLAGS'
42841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42850 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42852 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42853 for ac_func in modf
42854 do :
42855 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42856 if test "x$ac_cv_func_modf" = x""yes; then :
42857 cat >>confdefs.h <<_ACEOF
42858 #define HAVE_MODF 1
42859 _ACEOF
42862 done
42864 else
42866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42867 $as_echo_n "checking for _modf declaration... " >&6; }
42868 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42869 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42870 $as_echo_n "(cached) " >&6
42871 else
42874 ac_ext=cpp
42875 ac_cpp='$CXXCPP $CPPFLAGS'
42876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42881 /* end confdefs.h. */
42882 #include <math.h>
42884 main ()
42886 _modf(0, 0);
42888 return 0;
42890 _ACEOF
42891 if ac_fn_cxx_try_compile "$LINENO"; then :
42892 glibcxx_cv_func__modf_use=yes
42893 else
42894 glibcxx_cv_func__modf_use=no
42896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42897 ac_ext=c
42898 ac_cpp='$CPP $CPPFLAGS'
42899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42908 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42910 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42911 for ac_func in _modf
42912 do :
42913 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42914 if test "x$ac_cv_func__modf" = x""yes; then :
42915 cat >>confdefs.h <<_ACEOF
42916 #define HAVE__MODF 1
42917 _ACEOF
42920 done
42929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42930 $as_echo_n "checking for powf declaration... " >&6; }
42931 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42932 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42933 $as_echo_n "(cached) " >&6
42934 else
42937 ac_ext=cpp
42938 ac_cpp='$CXXCPP $CPPFLAGS'
42939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42944 /* end confdefs.h. */
42945 #include <math.h>
42947 main ()
42949 powf(0, 0);
42951 return 0;
42953 _ACEOF
42954 if ac_fn_cxx_try_compile "$LINENO"; then :
42955 glibcxx_cv_func_powf_use=yes
42956 else
42957 glibcxx_cv_func_powf_use=no
42959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42960 ac_ext=c
42961 ac_cpp='$CPP $CPPFLAGS'
42962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42971 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42973 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42974 for ac_func in powf
42975 do :
42976 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42977 if test "x$ac_cv_func_powf" = x""yes; then :
42978 cat >>confdefs.h <<_ACEOF
42979 #define HAVE_POWF 1
42980 _ACEOF
42983 done
42985 else
42987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42988 $as_echo_n "checking for _powf declaration... " >&6; }
42989 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42990 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42991 $as_echo_n "(cached) " >&6
42992 else
42995 ac_ext=cpp
42996 ac_cpp='$CXXCPP $CPPFLAGS'
42997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43002 /* end confdefs.h. */
43003 #include <math.h>
43005 main ()
43007 _powf(0, 0);
43009 return 0;
43011 _ACEOF
43012 if ac_fn_cxx_try_compile "$LINENO"; then :
43013 glibcxx_cv_func__powf_use=yes
43014 else
43015 glibcxx_cv_func__powf_use=no
43017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43018 ac_ext=c
43019 ac_cpp='$CPP $CPPFLAGS'
43020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43029 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43031 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43032 for ac_func in _powf
43033 do :
43034 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43035 if test "x$ac_cv_func__powf" = x""yes; then :
43036 cat >>confdefs.h <<_ACEOF
43037 #define HAVE__POWF 1
43038 _ACEOF
43041 done
43050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43051 $as_echo_n "checking for sqrtf declaration... " >&6; }
43052 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43053 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43054 $as_echo_n "(cached) " >&6
43055 else
43058 ac_ext=cpp
43059 ac_cpp='$CXXCPP $CPPFLAGS'
43060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43065 /* end confdefs.h. */
43066 #include <math.h>
43067 #ifdef HAVE_IEEEFP_H
43068 #include <ieeefp.h>
43069 #endif
43072 main ()
43074 sqrtf(0);
43076 return 0;
43078 _ACEOF
43079 if ac_fn_cxx_try_compile "$LINENO"; then :
43080 glibcxx_cv_func_sqrtf_use=yes
43081 else
43082 glibcxx_cv_func_sqrtf_use=no
43084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43085 ac_ext=c
43086 ac_cpp='$CPP $CPPFLAGS'
43087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43096 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43098 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43099 for ac_func in sqrtf
43100 do :
43101 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43102 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43103 cat >>confdefs.h <<_ACEOF
43104 #define HAVE_SQRTF 1
43105 _ACEOF
43108 done
43110 else
43112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43113 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43114 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43115 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43116 $as_echo_n "(cached) " >&6
43117 else
43120 ac_ext=cpp
43121 ac_cpp='$CXXCPP $CPPFLAGS'
43122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43127 /* end confdefs.h. */
43128 #include <math.h>
43129 #ifdef HAVE_IEEEFP_H
43130 #include <ieeefp.h>
43131 #endif
43134 main ()
43136 _sqrtf(0);
43138 return 0;
43140 _ACEOF
43141 if ac_fn_cxx_try_compile "$LINENO"; then :
43142 glibcxx_cv_func__sqrtf_use=yes
43143 else
43144 glibcxx_cv_func__sqrtf_use=no
43146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43147 ac_ext=c
43148 ac_cpp='$CPP $CPPFLAGS'
43149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43158 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43160 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43161 for ac_func in _sqrtf
43162 do :
43163 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43164 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43165 cat >>confdefs.h <<_ACEOF
43166 #define HAVE__SQRTF 1
43167 _ACEOF
43170 done
43179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43180 $as_echo_n "checking for sincosf declaration... " >&6; }
43181 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43182 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43183 $as_echo_n "(cached) " >&6
43184 else
43187 ac_ext=cpp
43188 ac_cpp='$CXXCPP $CPPFLAGS'
43189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43194 /* end confdefs.h. */
43195 #include <math.h>
43197 main ()
43199 sincosf(0, 0, 0);
43201 return 0;
43203 _ACEOF
43204 if ac_fn_cxx_try_compile "$LINENO"; then :
43205 glibcxx_cv_func_sincosf_use=yes
43206 else
43207 glibcxx_cv_func_sincosf_use=no
43209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43210 ac_ext=c
43211 ac_cpp='$CPP $CPPFLAGS'
43212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43221 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43223 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43224 for ac_func in sincosf
43225 do :
43226 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43227 if test "x$ac_cv_func_sincosf" = x""yes; then :
43228 cat >>confdefs.h <<_ACEOF
43229 #define HAVE_SINCOSF 1
43230 _ACEOF
43233 done
43235 else
43237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43238 $as_echo_n "checking for _sincosf declaration... " >&6; }
43239 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43240 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43241 $as_echo_n "(cached) " >&6
43242 else
43245 ac_ext=cpp
43246 ac_cpp='$CXXCPP $CPPFLAGS'
43247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43252 /* end confdefs.h. */
43253 #include <math.h>
43255 main ()
43257 _sincosf(0, 0, 0);
43259 return 0;
43261 _ACEOF
43262 if ac_fn_cxx_try_compile "$LINENO"; then :
43263 glibcxx_cv_func__sincosf_use=yes
43264 else
43265 glibcxx_cv_func__sincosf_use=no
43267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43268 ac_ext=c
43269 ac_cpp='$CPP $CPPFLAGS'
43270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43279 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43281 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43282 for ac_func in _sincosf
43283 do :
43284 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43285 if test "x$ac_cv_func__sincosf" = x""yes; then :
43286 cat >>confdefs.h <<_ACEOF
43287 #define HAVE__SINCOSF 1
43288 _ACEOF
43291 done
43300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43301 $as_echo_n "checking for finitef declaration... " >&6; }
43302 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43303 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43304 $as_echo_n "(cached) " >&6
43305 else
43308 ac_ext=cpp
43309 ac_cpp='$CXXCPP $CPPFLAGS'
43310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43315 /* end confdefs.h. */
43316 #include <math.h>
43317 #ifdef HAVE_IEEEFP_H
43318 #include <ieeefp.h>
43319 #endif
43322 main ()
43324 finitef(0);
43326 return 0;
43328 _ACEOF
43329 if ac_fn_cxx_try_compile "$LINENO"; then :
43330 glibcxx_cv_func_finitef_use=yes
43331 else
43332 glibcxx_cv_func_finitef_use=no
43334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43335 ac_ext=c
43336 ac_cpp='$CPP $CPPFLAGS'
43337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43346 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43348 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43349 for ac_func in finitef
43350 do :
43351 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43352 if test "x$ac_cv_func_finitef" = x""yes; then :
43353 cat >>confdefs.h <<_ACEOF
43354 #define HAVE_FINITEF 1
43355 _ACEOF
43358 done
43360 else
43362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43363 $as_echo_n "checking for _finitef declaration... " >&6; }
43364 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43365 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43366 $as_echo_n "(cached) " >&6
43367 else
43370 ac_ext=cpp
43371 ac_cpp='$CXXCPP $CPPFLAGS'
43372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43377 /* end confdefs.h. */
43378 #include <math.h>
43379 #ifdef HAVE_IEEEFP_H
43380 #include <ieeefp.h>
43381 #endif
43384 main ()
43386 _finitef(0);
43388 return 0;
43390 _ACEOF
43391 if ac_fn_cxx_try_compile "$LINENO"; then :
43392 glibcxx_cv_func__finitef_use=yes
43393 else
43394 glibcxx_cv_func__finitef_use=no
43396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43397 ac_ext=c
43398 ac_cpp='$CPP $CPPFLAGS'
43399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43408 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43410 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43411 for ac_func in _finitef
43412 do :
43413 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43414 if test "x$ac_cv_func__finitef" = x""yes; then :
43415 cat >>confdefs.h <<_ACEOF
43416 #define HAVE__FINITEF 1
43417 _ACEOF
43420 done
43429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43430 $as_echo_n "checking for long double trig functions... " >&6; }
43431 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43432 $as_echo_n "(cached) " >&6
43433 else
43436 ac_ext=cpp
43437 ac_cpp='$CXXCPP $CPPFLAGS'
43438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43443 /* end confdefs.h. */
43444 #include <math.h>
43446 main ()
43448 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43450 return 0;
43452 _ACEOF
43453 if ac_fn_cxx_try_compile "$LINENO"; then :
43454 glibcxx_cv_func_long_double_trig_use=yes
43455 else
43456 glibcxx_cv_func_long_double_trig_use=no
43458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43459 ac_ext=c
43460 ac_cpp='$CPP $CPPFLAGS'
43461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43468 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43469 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43470 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43471 do :
43472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43474 eval as_val=\$$as_ac_var
43475 if test "x$as_val" = x""yes; then :
43476 cat >>confdefs.h <<_ACEOF
43477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43478 _ACEOF
43481 done
43483 else
43484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43485 $as_echo_n "checking for _long double trig functions... " >&6; }
43486 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43487 $as_echo_n "(cached) " >&6
43488 else
43491 ac_ext=cpp
43492 ac_cpp='$CXXCPP $CPPFLAGS'
43493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43498 /* end confdefs.h. */
43499 #include <math.h>
43501 main ()
43503 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43505 return 0;
43507 _ACEOF
43508 if ac_fn_cxx_try_compile "$LINENO"; then :
43509 glibcxx_cv_func__long_double_trig_use=yes
43510 else
43511 glibcxx_cv_func__long_double_trig_use=no
43513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43514 ac_ext=c
43515 ac_cpp='$CPP $CPPFLAGS'
43516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43523 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43524 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43525 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43526 do :
43527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43529 eval as_val=\$$as_ac_var
43530 if test "x$as_val" = x""yes; then :
43531 cat >>confdefs.h <<_ACEOF
43532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43533 _ACEOF
43536 done
43545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43546 $as_echo_n "checking for long double round functions... " >&6; }
43547 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43548 $as_echo_n "(cached) " >&6
43549 else
43552 ac_ext=cpp
43553 ac_cpp='$CXXCPP $CPPFLAGS'
43554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43559 /* end confdefs.h. */
43560 #include <math.h>
43562 main ()
43564 ceill (0); floorl (0);
43566 return 0;
43568 _ACEOF
43569 if ac_fn_cxx_try_compile "$LINENO"; then :
43570 glibcxx_cv_func_long_double_round_use=yes
43571 else
43572 glibcxx_cv_func_long_double_round_use=no
43574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43575 ac_ext=c
43576 ac_cpp='$CPP $CPPFLAGS'
43577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43584 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43585 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43586 for ac_func in ceill floorl
43587 do :
43588 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43589 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43590 eval as_val=\$$as_ac_var
43591 if test "x$as_val" = x""yes; then :
43592 cat >>confdefs.h <<_ACEOF
43593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43594 _ACEOF
43597 done
43599 else
43600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43601 $as_echo_n "checking for _long double round functions... " >&6; }
43602 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43603 $as_echo_n "(cached) " >&6
43604 else
43607 ac_ext=cpp
43608 ac_cpp='$CXXCPP $CPPFLAGS'
43609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43614 /* end confdefs.h. */
43615 #include <math.h>
43617 main ()
43619 _ceill (0); _floorl (0);
43621 return 0;
43623 _ACEOF
43624 if ac_fn_cxx_try_compile "$LINENO"; then :
43625 glibcxx_cv_func__long_double_round_use=yes
43626 else
43627 glibcxx_cv_func__long_double_round_use=no
43629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43630 ac_ext=c
43631 ac_cpp='$CPP $CPPFLAGS'
43632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43639 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43640 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43641 for ac_func in _ceill _floorl
43642 do :
43643 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43644 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43645 eval as_val=\$$as_ac_var
43646 if test "x$as_val" = x""yes; then :
43647 cat >>confdefs.h <<_ACEOF
43648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43649 _ACEOF
43652 done
43662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43663 $as_echo_n "checking for isnanl declaration... " >&6; }
43664 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43665 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43666 $as_echo_n "(cached) " >&6
43667 else
43670 ac_ext=cpp
43671 ac_cpp='$CXXCPP $CPPFLAGS'
43672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43677 /* end confdefs.h. */
43678 #include <math.h>
43679 #ifdef HAVE_IEEEFP_H
43680 #include <ieeefp.h>
43681 #endif
43684 main ()
43686 isnanl(0);
43688 return 0;
43690 _ACEOF
43691 if ac_fn_cxx_try_compile "$LINENO"; then :
43692 glibcxx_cv_func_isnanl_use=yes
43693 else
43694 glibcxx_cv_func_isnanl_use=no
43696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43697 ac_ext=c
43698 ac_cpp='$CPP $CPPFLAGS'
43699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43708 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43710 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43711 for ac_func in isnanl
43712 do :
43713 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43714 if test "x$ac_cv_func_isnanl" = x""yes; then :
43715 cat >>confdefs.h <<_ACEOF
43716 #define HAVE_ISNANL 1
43717 _ACEOF
43720 done
43722 else
43724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43725 $as_echo_n "checking for _isnanl declaration... " >&6; }
43726 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43727 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43728 $as_echo_n "(cached) " >&6
43729 else
43732 ac_ext=cpp
43733 ac_cpp='$CXXCPP $CPPFLAGS'
43734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43739 /* end confdefs.h. */
43740 #include <math.h>
43741 #ifdef HAVE_IEEEFP_H
43742 #include <ieeefp.h>
43743 #endif
43746 main ()
43748 _isnanl(0);
43750 return 0;
43752 _ACEOF
43753 if ac_fn_cxx_try_compile "$LINENO"; then :
43754 glibcxx_cv_func__isnanl_use=yes
43755 else
43756 glibcxx_cv_func__isnanl_use=no
43758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43759 ac_ext=c
43760 ac_cpp='$CPP $CPPFLAGS'
43761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43770 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43772 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43773 for ac_func in _isnanl
43774 do :
43775 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43776 if test "x$ac_cv_func__isnanl" = x""yes; then :
43777 cat >>confdefs.h <<_ACEOF
43778 #define HAVE__ISNANL 1
43779 _ACEOF
43782 done
43791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43792 $as_echo_n "checking for isinfl declaration... " >&6; }
43793 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43794 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43795 $as_echo_n "(cached) " >&6
43796 else
43799 ac_ext=cpp
43800 ac_cpp='$CXXCPP $CPPFLAGS'
43801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43806 /* end confdefs.h. */
43807 #include <math.h>
43808 #ifdef HAVE_IEEEFP_H
43809 #include <ieeefp.h>
43810 #endif
43813 main ()
43815 isinfl(0);
43817 return 0;
43819 _ACEOF
43820 if ac_fn_cxx_try_compile "$LINENO"; then :
43821 glibcxx_cv_func_isinfl_use=yes
43822 else
43823 glibcxx_cv_func_isinfl_use=no
43825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43826 ac_ext=c
43827 ac_cpp='$CPP $CPPFLAGS'
43828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43837 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43839 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43840 for ac_func in isinfl
43841 do :
43842 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43843 if test "x$ac_cv_func_isinfl" = x""yes; then :
43844 cat >>confdefs.h <<_ACEOF
43845 #define HAVE_ISINFL 1
43846 _ACEOF
43849 done
43851 else
43853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43854 $as_echo_n "checking for _isinfl declaration... " >&6; }
43855 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43856 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43857 $as_echo_n "(cached) " >&6
43858 else
43861 ac_ext=cpp
43862 ac_cpp='$CXXCPP $CPPFLAGS'
43863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43868 /* end confdefs.h. */
43869 #include <math.h>
43870 #ifdef HAVE_IEEEFP_H
43871 #include <ieeefp.h>
43872 #endif
43875 main ()
43877 _isinfl(0);
43879 return 0;
43881 _ACEOF
43882 if ac_fn_cxx_try_compile "$LINENO"; then :
43883 glibcxx_cv_func__isinfl_use=yes
43884 else
43885 glibcxx_cv_func__isinfl_use=no
43887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43888 ac_ext=c
43889 ac_cpp='$CPP $CPPFLAGS'
43890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43899 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43901 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43902 for ac_func in _isinfl
43903 do :
43904 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43905 if test "x$ac_cv_func__isinfl" = x""yes; then :
43906 cat >>confdefs.h <<_ACEOF
43907 #define HAVE__ISINFL 1
43908 _ACEOF
43911 done
43920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43921 $as_echo_n "checking for atan2l declaration... " >&6; }
43922 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43923 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43924 $as_echo_n "(cached) " >&6
43925 else
43928 ac_ext=cpp
43929 ac_cpp='$CXXCPP $CPPFLAGS'
43930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43935 /* end confdefs.h. */
43936 #include <math.h>
43938 main ()
43940 atan2l(0, 0);
43942 return 0;
43944 _ACEOF
43945 if ac_fn_cxx_try_compile "$LINENO"; then :
43946 glibcxx_cv_func_atan2l_use=yes
43947 else
43948 glibcxx_cv_func_atan2l_use=no
43950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43951 ac_ext=c
43952 ac_cpp='$CPP $CPPFLAGS'
43953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43962 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43964 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43965 for ac_func in atan2l
43966 do :
43967 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43968 if test "x$ac_cv_func_atan2l" = x""yes; then :
43969 cat >>confdefs.h <<_ACEOF
43970 #define HAVE_ATAN2L 1
43971 _ACEOF
43974 done
43976 else
43978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43979 $as_echo_n "checking for _atan2l declaration... " >&6; }
43980 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43981 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43982 $as_echo_n "(cached) " >&6
43983 else
43986 ac_ext=cpp
43987 ac_cpp='$CXXCPP $CPPFLAGS'
43988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43993 /* end confdefs.h. */
43994 #include <math.h>
43996 main ()
43998 _atan2l(0, 0);
44000 return 0;
44002 _ACEOF
44003 if ac_fn_cxx_try_compile "$LINENO"; then :
44004 glibcxx_cv_func__atan2l_use=yes
44005 else
44006 glibcxx_cv_func__atan2l_use=no
44008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44009 ac_ext=c
44010 ac_cpp='$CPP $CPPFLAGS'
44011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44020 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44022 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44023 for ac_func in _atan2l
44024 do :
44025 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44026 if test "x$ac_cv_func__atan2l" = x""yes; then :
44027 cat >>confdefs.h <<_ACEOF
44028 #define HAVE__ATAN2L 1
44029 _ACEOF
44032 done
44041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44042 $as_echo_n "checking for expl declaration... " >&6; }
44043 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44044 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44045 $as_echo_n "(cached) " >&6
44046 else
44049 ac_ext=cpp
44050 ac_cpp='$CXXCPP $CPPFLAGS'
44051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44056 /* end confdefs.h. */
44057 #include <math.h>
44058 #ifdef HAVE_IEEEFP_H
44059 #include <ieeefp.h>
44060 #endif
44063 main ()
44065 expl(0);
44067 return 0;
44069 _ACEOF
44070 if ac_fn_cxx_try_compile "$LINENO"; then :
44071 glibcxx_cv_func_expl_use=yes
44072 else
44073 glibcxx_cv_func_expl_use=no
44075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44076 ac_ext=c
44077 ac_cpp='$CPP $CPPFLAGS'
44078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44087 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44089 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44090 for ac_func in expl
44091 do :
44092 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44093 if test "x$ac_cv_func_expl" = x""yes; then :
44094 cat >>confdefs.h <<_ACEOF
44095 #define HAVE_EXPL 1
44096 _ACEOF
44099 done
44101 else
44103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44104 $as_echo_n "checking for _expl declaration... " >&6; }
44105 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44106 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44107 $as_echo_n "(cached) " >&6
44108 else
44111 ac_ext=cpp
44112 ac_cpp='$CXXCPP $CPPFLAGS'
44113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44118 /* end confdefs.h. */
44119 #include <math.h>
44120 #ifdef HAVE_IEEEFP_H
44121 #include <ieeefp.h>
44122 #endif
44125 main ()
44127 _expl(0);
44129 return 0;
44131 _ACEOF
44132 if ac_fn_cxx_try_compile "$LINENO"; then :
44133 glibcxx_cv_func__expl_use=yes
44134 else
44135 glibcxx_cv_func__expl_use=no
44137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44138 ac_ext=c
44139 ac_cpp='$CPP $CPPFLAGS'
44140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44149 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44151 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44152 for ac_func in _expl
44153 do :
44154 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44155 if test "x$ac_cv_func__expl" = x""yes; then :
44156 cat >>confdefs.h <<_ACEOF
44157 #define HAVE__EXPL 1
44158 _ACEOF
44161 done
44170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44171 $as_echo_n "checking for fabsl declaration... " >&6; }
44172 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44173 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44174 $as_echo_n "(cached) " >&6
44175 else
44178 ac_ext=cpp
44179 ac_cpp='$CXXCPP $CPPFLAGS'
44180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44185 /* end confdefs.h. */
44186 #include <math.h>
44187 #ifdef HAVE_IEEEFP_H
44188 #include <ieeefp.h>
44189 #endif
44192 main ()
44194 fabsl(0);
44196 return 0;
44198 _ACEOF
44199 if ac_fn_cxx_try_compile "$LINENO"; then :
44200 glibcxx_cv_func_fabsl_use=yes
44201 else
44202 glibcxx_cv_func_fabsl_use=no
44204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44205 ac_ext=c
44206 ac_cpp='$CPP $CPPFLAGS'
44207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44216 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44218 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44219 for ac_func in fabsl
44220 do :
44221 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44222 if test "x$ac_cv_func_fabsl" = x""yes; then :
44223 cat >>confdefs.h <<_ACEOF
44224 #define HAVE_FABSL 1
44225 _ACEOF
44228 done
44230 else
44232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44233 $as_echo_n "checking for _fabsl declaration... " >&6; }
44234 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44235 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44236 $as_echo_n "(cached) " >&6
44237 else
44240 ac_ext=cpp
44241 ac_cpp='$CXXCPP $CPPFLAGS'
44242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44247 /* end confdefs.h. */
44248 #include <math.h>
44249 #ifdef HAVE_IEEEFP_H
44250 #include <ieeefp.h>
44251 #endif
44254 main ()
44256 _fabsl(0);
44258 return 0;
44260 _ACEOF
44261 if ac_fn_cxx_try_compile "$LINENO"; then :
44262 glibcxx_cv_func__fabsl_use=yes
44263 else
44264 glibcxx_cv_func__fabsl_use=no
44266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44267 ac_ext=c
44268 ac_cpp='$CPP $CPPFLAGS'
44269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44278 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44280 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44281 for ac_func in _fabsl
44282 do :
44283 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44284 if test "x$ac_cv_func__fabsl" = x""yes; then :
44285 cat >>confdefs.h <<_ACEOF
44286 #define HAVE__FABSL 1
44287 _ACEOF
44290 done
44299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44300 $as_echo_n "checking for fmodl declaration... " >&6; }
44301 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44302 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44303 $as_echo_n "(cached) " >&6
44304 else
44307 ac_ext=cpp
44308 ac_cpp='$CXXCPP $CPPFLAGS'
44309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44314 /* end confdefs.h. */
44315 #include <math.h>
44317 main ()
44319 fmodl(0, 0);
44321 return 0;
44323 _ACEOF
44324 if ac_fn_cxx_try_compile "$LINENO"; then :
44325 glibcxx_cv_func_fmodl_use=yes
44326 else
44327 glibcxx_cv_func_fmodl_use=no
44329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44330 ac_ext=c
44331 ac_cpp='$CPP $CPPFLAGS'
44332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44341 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44343 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44344 for ac_func in fmodl
44345 do :
44346 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44347 if test "x$ac_cv_func_fmodl" = x""yes; then :
44348 cat >>confdefs.h <<_ACEOF
44349 #define HAVE_FMODL 1
44350 _ACEOF
44353 done
44355 else
44357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44358 $as_echo_n "checking for _fmodl declaration... " >&6; }
44359 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44360 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44361 $as_echo_n "(cached) " >&6
44362 else
44365 ac_ext=cpp
44366 ac_cpp='$CXXCPP $CPPFLAGS'
44367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44372 /* end confdefs.h. */
44373 #include <math.h>
44375 main ()
44377 _fmodl(0, 0);
44379 return 0;
44381 _ACEOF
44382 if ac_fn_cxx_try_compile "$LINENO"; then :
44383 glibcxx_cv_func__fmodl_use=yes
44384 else
44385 glibcxx_cv_func__fmodl_use=no
44387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44388 ac_ext=c
44389 ac_cpp='$CPP $CPPFLAGS'
44390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44399 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44401 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44402 for ac_func in _fmodl
44403 do :
44404 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44405 if test "x$ac_cv_func__fmodl" = x""yes; then :
44406 cat >>confdefs.h <<_ACEOF
44407 #define HAVE__FMODL 1
44408 _ACEOF
44411 done
44420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44421 $as_echo_n "checking for frexpl declaration... " >&6; }
44422 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44423 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44424 $as_echo_n "(cached) " >&6
44425 else
44428 ac_ext=cpp
44429 ac_cpp='$CXXCPP $CPPFLAGS'
44430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44435 /* end confdefs.h. */
44436 #include <math.h>
44438 main ()
44440 frexpl(0, 0);
44442 return 0;
44444 _ACEOF
44445 if ac_fn_cxx_try_compile "$LINENO"; then :
44446 glibcxx_cv_func_frexpl_use=yes
44447 else
44448 glibcxx_cv_func_frexpl_use=no
44450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44451 ac_ext=c
44452 ac_cpp='$CPP $CPPFLAGS'
44453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44462 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44464 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44465 for ac_func in frexpl
44466 do :
44467 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44468 if test "x$ac_cv_func_frexpl" = x""yes; then :
44469 cat >>confdefs.h <<_ACEOF
44470 #define HAVE_FREXPL 1
44471 _ACEOF
44474 done
44476 else
44478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44479 $as_echo_n "checking for _frexpl declaration... " >&6; }
44480 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44481 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44482 $as_echo_n "(cached) " >&6
44483 else
44486 ac_ext=cpp
44487 ac_cpp='$CXXCPP $CPPFLAGS'
44488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44493 /* end confdefs.h. */
44494 #include <math.h>
44496 main ()
44498 _frexpl(0, 0);
44500 return 0;
44502 _ACEOF
44503 if ac_fn_cxx_try_compile "$LINENO"; then :
44504 glibcxx_cv_func__frexpl_use=yes
44505 else
44506 glibcxx_cv_func__frexpl_use=no
44508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44509 ac_ext=c
44510 ac_cpp='$CPP $CPPFLAGS'
44511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44520 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44522 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44523 for ac_func in _frexpl
44524 do :
44525 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44526 if test "x$ac_cv_func__frexpl" = x""yes; then :
44527 cat >>confdefs.h <<_ACEOF
44528 #define HAVE__FREXPL 1
44529 _ACEOF
44532 done
44541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44542 $as_echo_n "checking for hypotl declaration... " >&6; }
44543 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44544 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44545 $as_echo_n "(cached) " >&6
44546 else
44549 ac_ext=cpp
44550 ac_cpp='$CXXCPP $CPPFLAGS'
44551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44556 /* end confdefs.h. */
44557 #include <math.h>
44559 main ()
44561 hypotl(0, 0);
44563 return 0;
44565 _ACEOF
44566 if ac_fn_cxx_try_compile "$LINENO"; then :
44567 glibcxx_cv_func_hypotl_use=yes
44568 else
44569 glibcxx_cv_func_hypotl_use=no
44571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44572 ac_ext=c
44573 ac_cpp='$CPP $CPPFLAGS'
44574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44583 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44585 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44586 for ac_func in hypotl
44587 do :
44588 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44589 if test "x$ac_cv_func_hypotl" = x""yes; then :
44590 cat >>confdefs.h <<_ACEOF
44591 #define HAVE_HYPOTL 1
44592 _ACEOF
44595 done
44597 else
44599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44600 $as_echo_n "checking for _hypotl declaration... " >&6; }
44601 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44602 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44603 $as_echo_n "(cached) " >&6
44604 else
44607 ac_ext=cpp
44608 ac_cpp='$CXXCPP $CPPFLAGS'
44609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44614 /* end confdefs.h. */
44615 #include <math.h>
44617 main ()
44619 _hypotl(0, 0);
44621 return 0;
44623 _ACEOF
44624 if ac_fn_cxx_try_compile "$LINENO"; then :
44625 glibcxx_cv_func__hypotl_use=yes
44626 else
44627 glibcxx_cv_func__hypotl_use=no
44629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44630 ac_ext=c
44631 ac_cpp='$CPP $CPPFLAGS'
44632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44641 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44643 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44644 for ac_func in _hypotl
44645 do :
44646 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44647 if test "x$ac_cv_func__hypotl" = x""yes; then :
44648 cat >>confdefs.h <<_ACEOF
44649 #define HAVE__HYPOTL 1
44650 _ACEOF
44653 done
44662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44663 $as_echo_n "checking for ldexpl declaration... " >&6; }
44664 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44665 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44666 $as_echo_n "(cached) " >&6
44667 else
44670 ac_ext=cpp
44671 ac_cpp='$CXXCPP $CPPFLAGS'
44672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44677 /* end confdefs.h. */
44678 #include <math.h>
44680 main ()
44682 ldexpl(0, 0);
44684 return 0;
44686 _ACEOF
44687 if ac_fn_cxx_try_compile "$LINENO"; then :
44688 glibcxx_cv_func_ldexpl_use=yes
44689 else
44690 glibcxx_cv_func_ldexpl_use=no
44692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44693 ac_ext=c
44694 ac_cpp='$CPP $CPPFLAGS'
44695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44704 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44706 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44707 for ac_func in ldexpl
44708 do :
44709 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44710 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44711 cat >>confdefs.h <<_ACEOF
44712 #define HAVE_LDEXPL 1
44713 _ACEOF
44716 done
44718 else
44720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44721 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44722 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44723 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44724 $as_echo_n "(cached) " >&6
44725 else
44728 ac_ext=cpp
44729 ac_cpp='$CXXCPP $CPPFLAGS'
44730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44735 /* end confdefs.h. */
44736 #include <math.h>
44738 main ()
44740 _ldexpl(0, 0);
44742 return 0;
44744 _ACEOF
44745 if ac_fn_cxx_try_compile "$LINENO"; then :
44746 glibcxx_cv_func__ldexpl_use=yes
44747 else
44748 glibcxx_cv_func__ldexpl_use=no
44750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44751 ac_ext=c
44752 ac_cpp='$CPP $CPPFLAGS'
44753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44762 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44764 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44765 for ac_func in _ldexpl
44766 do :
44767 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44768 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44769 cat >>confdefs.h <<_ACEOF
44770 #define HAVE__LDEXPL 1
44771 _ACEOF
44774 done
44783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44784 $as_echo_n "checking for logl declaration... " >&6; }
44785 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44786 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44787 $as_echo_n "(cached) " >&6
44788 else
44791 ac_ext=cpp
44792 ac_cpp='$CXXCPP $CPPFLAGS'
44793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44798 /* end confdefs.h. */
44799 #include <math.h>
44800 #ifdef HAVE_IEEEFP_H
44801 #include <ieeefp.h>
44802 #endif
44805 main ()
44807 logl(0);
44809 return 0;
44811 _ACEOF
44812 if ac_fn_cxx_try_compile "$LINENO"; then :
44813 glibcxx_cv_func_logl_use=yes
44814 else
44815 glibcxx_cv_func_logl_use=no
44817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44818 ac_ext=c
44819 ac_cpp='$CPP $CPPFLAGS'
44820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44829 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44831 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44832 for ac_func in logl
44833 do :
44834 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44835 if test "x$ac_cv_func_logl" = x""yes; then :
44836 cat >>confdefs.h <<_ACEOF
44837 #define HAVE_LOGL 1
44838 _ACEOF
44841 done
44843 else
44845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44846 $as_echo_n "checking for _logl declaration... " >&6; }
44847 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44848 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44849 $as_echo_n "(cached) " >&6
44850 else
44853 ac_ext=cpp
44854 ac_cpp='$CXXCPP $CPPFLAGS'
44855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44860 /* end confdefs.h. */
44861 #include <math.h>
44862 #ifdef HAVE_IEEEFP_H
44863 #include <ieeefp.h>
44864 #endif
44867 main ()
44869 _logl(0);
44871 return 0;
44873 _ACEOF
44874 if ac_fn_cxx_try_compile "$LINENO"; then :
44875 glibcxx_cv_func__logl_use=yes
44876 else
44877 glibcxx_cv_func__logl_use=no
44879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44880 ac_ext=c
44881 ac_cpp='$CPP $CPPFLAGS'
44882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44891 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44893 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44894 for ac_func in _logl
44895 do :
44896 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44897 if test "x$ac_cv_func__logl" = x""yes; then :
44898 cat >>confdefs.h <<_ACEOF
44899 #define HAVE__LOGL 1
44900 _ACEOF
44903 done
44912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44913 $as_echo_n "checking for log10l declaration... " >&6; }
44914 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44915 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44916 $as_echo_n "(cached) " >&6
44917 else
44920 ac_ext=cpp
44921 ac_cpp='$CXXCPP $CPPFLAGS'
44922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44927 /* end confdefs.h. */
44928 #include <math.h>
44929 #ifdef HAVE_IEEEFP_H
44930 #include <ieeefp.h>
44931 #endif
44934 main ()
44936 log10l(0);
44938 return 0;
44940 _ACEOF
44941 if ac_fn_cxx_try_compile "$LINENO"; then :
44942 glibcxx_cv_func_log10l_use=yes
44943 else
44944 glibcxx_cv_func_log10l_use=no
44946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44947 ac_ext=c
44948 ac_cpp='$CPP $CPPFLAGS'
44949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44958 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44960 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44961 for ac_func in log10l
44962 do :
44963 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44964 if test "x$ac_cv_func_log10l" = x""yes; then :
44965 cat >>confdefs.h <<_ACEOF
44966 #define HAVE_LOG10L 1
44967 _ACEOF
44970 done
44972 else
44974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44975 $as_echo_n "checking for _log10l declaration... " >&6; }
44976 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44977 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44978 $as_echo_n "(cached) " >&6
44979 else
44982 ac_ext=cpp
44983 ac_cpp='$CXXCPP $CPPFLAGS'
44984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44989 /* end confdefs.h. */
44990 #include <math.h>
44991 #ifdef HAVE_IEEEFP_H
44992 #include <ieeefp.h>
44993 #endif
44996 main ()
44998 _log10l(0);
45000 return 0;
45002 _ACEOF
45003 if ac_fn_cxx_try_compile "$LINENO"; then :
45004 glibcxx_cv_func__log10l_use=yes
45005 else
45006 glibcxx_cv_func__log10l_use=no
45008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45009 ac_ext=c
45010 ac_cpp='$CPP $CPPFLAGS'
45011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45020 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45022 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45023 for ac_func in _log10l
45024 do :
45025 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45026 if test "x$ac_cv_func__log10l" = x""yes; then :
45027 cat >>confdefs.h <<_ACEOF
45028 #define HAVE__LOG10L 1
45029 _ACEOF
45032 done
45041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45042 $as_echo_n "checking for modfl declaration... " >&6; }
45043 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45044 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45045 $as_echo_n "(cached) " >&6
45046 else
45049 ac_ext=cpp
45050 ac_cpp='$CXXCPP $CPPFLAGS'
45051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45056 /* end confdefs.h. */
45057 #include <math.h>
45059 main ()
45061 modfl(0, 0);
45063 return 0;
45065 _ACEOF
45066 if ac_fn_cxx_try_compile "$LINENO"; then :
45067 glibcxx_cv_func_modfl_use=yes
45068 else
45069 glibcxx_cv_func_modfl_use=no
45071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45072 ac_ext=c
45073 ac_cpp='$CPP $CPPFLAGS'
45074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45083 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45085 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45086 for ac_func in modfl
45087 do :
45088 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45089 if test "x$ac_cv_func_modfl" = x""yes; then :
45090 cat >>confdefs.h <<_ACEOF
45091 #define HAVE_MODFL 1
45092 _ACEOF
45095 done
45097 else
45099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45100 $as_echo_n "checking for _modfl declaration... " >&6; }
45101 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45102 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45103 $as_echo_n "(cached) " >&6
45104 else
45107 ac_ext=cpp
45108 ac_cpp='$CXXCPP $CPPFLAGS'
45109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45114 /* end confdefs.h. */
45115 #include <math.h>
45117 main ()
45119 _modfl(0, 0);
45121 return 0;
45123 _ACEOF
45124 if ac_fn_cxx_try_compile "$LINENO"; then :
45125 glibcxx_cv_func__modfl_use=yes
45126 else
45127 glibcxx_cv_func__modfl_use=no
45129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45130 ac_ext=c
45131 ac_cpp='$CPP $CPPFLAGS'
45132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45141 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45143 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45144 for ac_func in _modfl
45145 do :
45146 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45147 if test "x$ac_cv_func__modfl" = x""yes; then :
45148 cat >>confdefs.h <<_ACEOF
45149 #define HAVE__MODFL 1
45150 _ACEOF
45153 done
45162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45163 $as_echo_n "checking for powl declaration... " >&6; }
45164 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45165 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45166 $as_echo_n "(cached) " >&6
45167 else
45170 ac_ext=cpp
45171 ac_cpp='$CXXCPP $CPPFLAGS'
45172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45177 /* end confdefs.h. */
45178 #include <math.h>
45180 main ()
45182 powl(0, 0);
45184 return 0;
45186 _ACEOF
45187 if ac_fn_cxx_try_compile "$LINENO"; then :
45188 glibcxx_cv_func_powl_use=yes
45189 else
45190 glibcxx_cv_func_powl_use=no
45192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45193 ac_ext=c
45194 ac_cpp='$CPP $CPPFLAGS'
45195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45204 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45206 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45207 for ac_func in powl
45208 do :
45209 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45210 if test "x$ac_cv_func_powl" = x""yes; then :
45211 cat >>confdefs.h <<_ACEOF
45212 #define HAVE_POWL 1
45213 _ACEOF
45216 done
45218 else
45220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45221 $as_echo_n "checking for _powl declaration... " >&6; }
45222 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45223 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45224 $as_echo_n "(cached) " >&6
45225 else
45228 ac_ext=cpp
45229 ac_cpp='$CXXCPP $CPPFLAGS'
45230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45235 /* end confdefs.h. */
45236 #include <math.h>
45238 main ()
45240 _powl(0, 0);
45242 return 0;
45244 _ACEOF
45245 if ac_fn_cxx_try_compile "$LINENO"; then :
45246 glibcxx_cv_func__powl_use=yes
45247 else
45248 glibcxx_cv_func__powl_use=no
45250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45251 ac_ext=c
45252 ac_cpp='$CPP $CPPFLAGS'
45253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45262 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45264 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45265 for ac_func in _powl
45266 do :
45267 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45268 if test "x$ac_cv_func__powl" = x""yes; then :
45269 cat >>confdefs.h <<_ACEOF
45270 #define HAVE__POWL 1
45271 _ACEOF
45274 done
45283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45284 $as_echo_n "checking for sqrtl declaration... " >&6; }
45285 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45286 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45287 $as_echo_n "(cached) " >&6
45288 else
45291 ac_ext=cpp
45292 ac_cpp='$CXXCPP $CPPFLAGS'
45293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45298 /* end confdefs.h. */
45299 #include <math.h>
45300 #ifdef HAVE_IEEEFP_H
45301 #include <ieeefp.h>
45302 #endif
45305 main ()
45307 sqrtl(0);
45309 return 0;
45311 _ACEOF
45312 if ac_fn_cxx_try_compile "$LINENO"; then :
45313 glibcxx_cv_func_sqrtl_use=yes
45314 else
45315 glibcxx_cv_func_sqrtl_use=no
45317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45318 ac_ext=c
45319 ac_cpp='$CPP $CPPFLAGS'
45320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45329 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45331 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45332 for ac_func in sqrtl
45333 do :
45334 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45335 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45336 cat >>confdefs.h <<_ACEOF
45337 #define HAVE_SQRTL 1
45338 _ACEOF
45341 done
45343 else
45345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45346 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45347 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45348 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45349 $as_echo_n "(cached) " >&6
45350 else
45353 ac_ext=cpp
45354 ac_cpp='$CXXCPP $CPPFLAGS'
45355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45360 /* end confdefs.h. */
45361 #include <math.h>
45362 #ifdef HAVE_IEEEFP_H
45363 #include <ieeefp.h>
45364 #endif
45367 main ()
45369 _sqrtl(0);
45371 return 0;
45373 _ACEOF
45374 if ac_fn_cxx_try_compile "$LINENO"; then :
45375 glibcxx_cv_func__sqrtl_use=yes
45376 else
45377 glibcxx_cv_func__sqrtl_use=no
45379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45380 ac_ext=c
45381 ac_cpp='$CPP $CPPFLAGS'
45382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45391 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45393 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45394 for ac_func in _sqrtl
45395 do :
45396 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45397 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45398 cat >>confdefs.h <<_ACEOF
45399 #define HAVE__SQRTL 1
45400 _ACEOF
45403 done
45412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45413 $as_echo_n "checking for sincosl declaration... " >&6; }
45414 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45415 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45416 $as_echo_n "(cached) " >&6
45417 else
45420 ac_ext=cpp
45421 ac_cpp='$CXXCPP $CPPFLAGS'
45422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45427 /* end confdefs.h. */
45428 #include <math.h>
45430 main ()
45432 sincosl(0, 0, 0);
45434 return 0;
45436 _ACEOF
45437 if ac_fn_cxx_try_compile "$LINENO"; then :
45438 glibcxx_cv_func_sincosl_use=yes
45439 else
45440 glibcxx_cv_func_sincosl_use=no
45442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45443 ac_ext=c
45444 ac_cpp='$CPP $CPPFLAGS'
45445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45454 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45456 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45457 for ac_func in sincosl
45458 do :
45459 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45460 if test "x$ac_cv_func_sincosl" = x""yes; then :
45461 cat >>confdefs.h <<_ACEOF
45462 #define HAVE_SINCOSL 1
45463 _ACEOF
45466 done
45468 else
45470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45471 $as_echo_n "checking for _sincosl declaration... " >&6; }
45472 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45473 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45474 $as_echo_n "(cached) " >&6
45475 else
45478 ac_ext=cpp
45479 ac_cpp='$CXXCPP $CPPFLAGS'
45480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45485 /* end confdefs.h. */
45486 #include <math.h>
45488 main ()
45490 _sincosl(0, 0, 0);
45492 return 0;
45494 _ACEOF
45495 if ac_fn_cxx_try_compile "$LINENO"; then :
45496 glibcxx_cv_func__sincosl_use=yes
45497 else
45498 glibcxx_cv_func__sincosl_use=no
45500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45501 ac_ext=c
45502 ac_cpp='$CPP $CPPFLAGS'
45503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45512 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45514 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45515 for ac_func in _sincosl
45516 do :
45517 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45518 if test "x$ac_cv_func__sincosl" = x""yes; then :
45519 cat >>confdefs.h <<_ACEOF
45520 #define HAVE__SINCOSL 1
45521 _ACEOF
45524 done
45533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45534 $as_echo_n "checking for finitel declaration... " >&6; }
45535 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45536 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45537 $as_echo_n "(cached) " >&6
45538 else
45541 ac_ext=cpp
45542 ac_cpp='$CXXCPP $CPPFLAGS'
45543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45548 /* end confdefs.h. */
45549 #include <math.h>
45550 #ifdef HAVE_IEEEFP_H
45551 #include <ieeefp.h>
45552 #endif
45555 main ()
45557 finitel(0);
45559 return 0;
45561 _ACEOF
45562 if ac_fn_cxx_try_compile "$LINENO"; then :
45563 glibcxx_cv_func_finitel_use=yes
45564 else
45565 glibcxx_cv_func_finitel_use=no
45567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45568 ac_ext=c
45569 ac_cpp='$CPP $CPPFLAGS'
45570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45579 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45581 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45582 for ac_func in finitel
45583 do :
45584 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45585 if test "x$ac_cv_func_finitel" = x""yes; then :
45586 cat >>confdefs.h <<_ACEOF
45587 #define HAVE_FINITEL 1
45588 _ACEOF
45591 done
45593 else
45595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45596 $as_echo_n "checking for _finitel declaration... " >&6; }
45597 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45598 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45599 $as_echo_n "(cached) " >&6
45600 else
45603 ac_ext=cpp
45604 ac_cpp='$CXXCPP $CPPFLAGS'
45605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45610 /* end confdefs.h. */
45611 #include <math.h>
45612 #ifdef HAVE_IEEEFP_H
45613 #include <ieeefp.h>
45614 #endif
45617 main ()
45619 _finitel(0);
45621 return 0;
45623 _ACEOF
45624 if ac_fn_cxx_try_compile "$LINENO"; then :
45625 glibcxx_cv_func__finitel_use=yes
45626 else
45627 glibcxx_cv_func__finitel_use=no
45629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45630 ac_ext=c
45631 ac_cpp='$CPP $CPPFLAGS'
45632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45641 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45643 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45644 for ac_func in _finitel
45645 do :
45646 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45647 if test "x$ac_cv_func__finitel" = x""yes; then :
45648 cat >>confdefs.h <<_ACEOF
45649 #define HAVE__FINITEL 1
45650 _ACEOF
45653 done
45661 LIBS="$ac_save_LIBS"
45662 CXXFLAGS="$ac_save_CXXFLAGS"
45665 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45666 ac_save_CXXFLAGS="$CXXFLAGS"
45667 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45671 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45672 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45673 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45674 $as_echo_n "(cached) " >&6
45675 else
45678 ac_ext=cpp
45679 ac_cpp='$CXXCPP $CPPFLAGS'
45680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45685 /* end confdefs.h. */
45686 #include <stdlib.h>
45688 main ()
45690 at_quick_exit(0);
45692 return 0;
45694 _ACEOF
45695 if ac_fn_cxx_try_compile "$LINENO"; then :
45696 glibcxx_cv_func_at_quick_exit_use=yes
45697 else
45698 glibcxx_cv_func_at_quick_exit_use=no
45700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45701 ac_ext=c
45702 ac_cpp='$CPP $CPPFLAGS'
45703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45712 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45713 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45714 for ac_func in at_quick_exit
45715 do :
45716 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45717 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45718 cat >>confdefs.h <<_ACEOF
45719 #define HAVE_AT_QUICK_EXIT 1
45720 _ACEOF
45723 done
45728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45729 $as_echo_n "checking for quick_exit declaration... " >&6; }
45730 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45731 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45732 $as_echo_n "(cached) " >&6
45733 else
45736 ac_ext=cpp
45737 ac_cpp='$CXXCPP $CPPFLAGS'
45738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45743 /* end confdefs.h. */
45744 #include <stdlib.h>
45746 main ()
45748 quick_exit(0);
45750 return 0;
45752 _ACEOF
45753 if ac_fn_cxx_try_compile "$LINENO"; then :
45754 glibcxx_cv_func_quick_exit_use=yes
45755 else
45756 glibcxx_cv_func_quick_exit_use=no
45758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45759 ac_ext=c
45760 ac_cpp='$CPP $CPPFLAGS'
45761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45770 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45771 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45772 for ac_func in quick_exit
45773 do :
45774 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45775 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45776 cat >>confdefs.h <<_ACEOF
45777 #define HAVE_QUICK_EXIT 1
45778 _ACEOF
45781 done
45786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45787 $as_echo_n "checking for strtold declaration... " >&6; }
45788 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45789 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45790 $as_echo_n "(cached) " >&6
45791 else
45794 ac_ext=cpp
45795 ac_cpp='$CXXCPP $CPPFLAGS'
45796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45801 /* end confdefs.h. */
45802 #include <stdlib.h>
45804 main ()
45806 strtold(0, 0);
45808 return 0;
45810 _ACEOF
45811 if ac_fn_cxx_try_compile "$LINENO"; then :
45812 glibcxx_cv_func_strtold_use=yes
45813 else
45814 glibcxx_cv_func_strtold_use=no
45816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45817 ac_ext=c
45818 ac_cpp='$CPP $CPPFLAGS'
45819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45828 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45829 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45830 for ac_func in strtold
45831 do :
45832 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45833 if test "x$ac_cv_func_strtold" = x""yes; then :
45834 cat >>confdefs.h <<_ACEOF
45835 #define HAVE_STRTOLD 1
45836 _ACEOF
45839 done
45846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45847 $as_echo_n "checking for strtof declaration... " >&6; }
45848 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45849 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45850 $as_echo_n "(cached) " >&6
45851 else
45854 ac_ext=cpp
45855 ac_cpp='$CXXCPP $CPPFLAGS'
45856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45861 /* end confdefs.h. */
45862 #include <stdlib.h>
45864 main ()
45866 strtof(0, 0);
45868 return 0;
45870 _ACEOF
45871 if ac_fn_cxx_try_compile "$LINENO"; then :
45872 glibcxx_cv_func_strtof_use=yes
45873 else
45874 glibcxx_cv_func_strtof_use=no
45876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45877 ac_ext=c
45878 ac_cpp='$CPP $CPPFLAGS'
45879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45888 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45889 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45890 for ac_func in strtof
45891 do :
45892 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45893 if test "x$ac_cv_func_strtof" = x""yes; then :
45894 cat >>confdefs.h <<_ACEOF
45895 #define HAVE_STRTOF 1
45896 _ACEOF
45899 done
45906 CXXFLAGS="$ac_save_CXXFLAGS"
45908 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45910 # We don't yet support AIX's TLS ABI.
45911 #GCC_CHECK_TLS
45917 am_save_CPPFLAGS="$CPPFLAGS"
45919 for element in $INCICONV; do
45920 haveit=
45921 for x in $CPPFLAGS; do
45923 acl_save_prefix="$prefix"
45924 prefix="$acl_final_prefix"
45925 acl_save_exec_prefix="$exec_prefix"
45926 exec_prefix="$acl_final_exec_prefix"
45927 eval x=\"$x\"
45928 exec_prefix="$acl_save_exec_prefix"
45929 prefix="$acl_save_prefix"
45931 if test "X$x" = "X$element"; then
45932 haveit=yes
45933 break
45935 done
45936 if test -z "$haveit"; then
45937 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45939 done
45942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45943 $as_echo_n "checking for iconv... " >&6; }
45944 if test "${am_cv_func_iconv+set}" = set; then :
45945 $as_echo_n "(cached) " >&6
45946 else
45948 am_cv_func_iconv="no, consider installing GNU libiconv"
45949 am_cv_lib_iconv=no
45950 if test x$gcc_no_link = xyes; then
45951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45954 /* end confdefs.h. */
45955 #include <stdlib.h>
45956 #include <iconv.h>
45958 main ()
45960 iconv_t cd = iconv_open("","");
45961 iconv(cd,NULL,NULL,NULL,NULL);
45962 iconv_close(cd);
45964 return 0;
45966 _ACEOF
45967 if ac_fn_c_try_link "$LINENO"; then :
45968 am_cv_func_iconv=yes
45970 rm -f core conftest.err conftest.$ac_objext \
45971 conftest$ac_exeext conftest.$ac_ext
45972 if test "$am_cv_func_iconv" != yes; then
45973 am_save_LIBS="$LIBS"
45974 LIBS="$LIBS $LIBICONV"
45975 if test x$gcc_no_link = xyes; then
45976 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45979 /* end confdefs.h. */
45980 #include <stdlib.h>
45981 #include <iconv.h>
45983 main ()
45985 iconv_t cd = iconv_open("","");
45986 iconv(cd,NULL,NULL,NULL,NULL);
45987 iconv_close(cd);
45989 return 0;
45991 _ACEOF
45992 if ac_fn_c_try_link "$LINENO"; then :
45993 am_cv_lib_iconv=yes
45994 am_cv_func_iconv=yes
45996 rm -f core conftest.err conftest.$ac_objext \
45997 conftest$ac_exeext conftest.$ac_ext
45998 LIBS="$am_save_LIBS"
46002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46003 $as_echo "$am_cv_func_iconv" >&6; }
46004 if test "$am_cv_func_iconv" = yes; then
46006 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46009 if test "$am_cv_lib_iconv" = yes; then
46010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46011 $as_echo_n "checking how to link with libiconv... " >&6; }
46012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46013 $as_echo "$LIBICONV" >&6; }
46014 else
46015 CPPFLAGS="$am_save_CPPFLAGS"
46016 LIBICONV=
46017 LTLIBICONV=
46022 if test "$am_cv_func_iconv" = yes; then
46023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46024 $as_echo_n "checking for iconv declaration... " >&6; }
46025 if test "${am_cv_proto_iconv+set}" = set; then :
46026 $as_echo_n "(cached) " >&6
46027 else
46029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46030 /* end confdefs.h. */
46032 #include <stdlib.h>
46033 #include <iconv.h>
46034 extern
46035 #ifdef __cplusplus
46037 #endif
46038 #if defined(__STDC__) || defined(__cplusplus)
46039 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46040 #else
46041 size_t iconv();
46042 #endif
46045 main ()
46049 return 0;
46051 _ACEOF
46052 if ac_fn_c_try_compile "$LINENO"; then :
46053 am_cv_proto_iconv_arg1=""
46054 else
46055 am_cv_proto_iconv_arg1="const"
46057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46058 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);"
46061 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46063 }$am_cv_proto_iconv" >&5
46064 $as_echo "${ac_t:-
46065 }$am_cv_proto_iconv" >&6; }
46067 cat >>confdefs.h <<_ACEOF
46068 #define ICONV_CONST $am_cv_proto_iconv_arg1
46069 _ACEOF
46075 *-darwin*)
46076 # Darwin versions vary, but the linker should work in a cross environment,
46077 # so we just check for all the features here.
46078 # Check for available headers.
46080 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46082 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46083 ac_save_CXXFLAGS="$CXXFLAGS"
46084 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46087 $as_echo_n "checking for sin in -lm... " >&6; }
46088 if test "${ac_cv_lib_m_sin+set}" = set; then :
46089 $as_echo_n "(cached) " >&6
46090 else
46091 ac_check_lib_save_LIBS=$LIBS
46092 LIBS="-lm $LIBS"
46093 if test x$gcc_no_link = xyes; then
46094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46097 /* end confdefs.h. */
46099 /* Override any GCC internal prototype to avoid an error.
46100 Use char because int might match the return type of a GCC
46101 builtin and then its argument prototype would still apply. */
46102 #ifdef __cplusplus
46103 extern "C"
46104 #endif
46105 char sin ();
46107 main ()
46109 return sin ();
46111 return 0;
46113 _ACEOF
46114 if ac_fn_c_try_link "$LINENO"; then :
46115 ac_cv_lib_m_sin=yes
46116 else
46117 ac_cv_lib_m_sin=no
46119 rm -f core conftest.err conftest.$ac_objext \
46120 conftest$ac_exeext conftest.$ac_ext
46121 LIBS=$ac_check_lib_save_LIBS
46123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46124 $as_echo "$ac_cv_lib_m_sin" >&6; }
46125 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46126 libm="-lm"
46129 ac_save_LIBS="$LIBS"
46130 LIBS="$LIBS $libm"
46134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46135 $as_echo_n "checking for isinf declaration... " >&6; }
46136 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46137 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46138 $as_echo_n "(cached) " >&6
46139 else
46142 ac_ext=cpp
46143 ac_cpp='$CXXCPP $CPPFLAGS'
46144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46149 /* end confdefs.h. */
46150 #include <math.h>
46151 #ifdef HAVE_IEEEFP_H
46152 #include <ieeefp.h>
46153 #endif
46156 main ()
46158 isinf(0);
46160 return 0;
46162 _ACEOF
46163 if ac_fn_cxx_try_compile "$LINENO"; then :
46164 glibcxx_cv_func_isinf_use=yes
46165 else
46166 glibcxx_cv_func_isinf_use=no
46168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46169 ac_ext=c
46170 ac_cpp='$CPP $CPPFLAGS'
46171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46180 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46182 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46183 for ac_func in isinf
46184 do :
46185 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46186 if test "x$ac_cv_func_isinf" = x""yes; then :
46187 cat >>confdefs.h <<_ACEOF
46188 #define HAVE_ISINF 1
46189 _ACEOF
46192 done
46194 else
46196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46197 $as_echo_n "checking for _isinf declaration... " >&6; }
46198 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46199 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46200 $as_echo_n "(cached) " >&6
46201 else
46204 ac_ext=cpp
46205 ac_cpp='$CXXCPP $CPPFLAGS'
46206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46211 /* end confdefs.h. */
46212 #include <math.h>
46213 #ifdef HAVE_IEEEFP_H
46214 #include <ieeefp.h>
46215 #endif
46218 main ()
46220 _isinf(0);
46222 return 0;
46224 _ACEOF
46225 if ac_fn_cxx_try_compile "$LINENO"; then :
46226 glibcxx_cv_func__isinf_use=yes
46227 else
46228 glibcxx_cv_func__isinf_use=no
46230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46231 ac_ext=c
46232 ac_cpp='$CPP $CPPFLAGS'
46233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46242 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46244 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46245 for ac_func in _isinf
46246 do :
46247 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46248 if test "x$ac_cv_func__isinf" = x""yes; then :
46249 cat >>confdefs.h <<_ACEOF
46250 #define HAVE__ISINF 1
46251 _ACEOF
46254 done
46263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46264 $as_echo_n "checking for isnan declaration... " >&6; }
46265 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46266 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46267 $as_echo_n "(cached) " >&6
46268 else
46271 ac_ext=cpp
46272 ac_cpp='$CXXCPP $CPPFLAGS'
46273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46278 /* end confdefs.h. */
46279 #include <math.h>
46280 #ifdef HAVE_IEEEFP_H
46281 #include <ieeefp.h>
46282 #endif
46285 main ()
46287 isnan(0);
46289 return 0;
46291 _ACEOF
46292 if ac_fn_cxx_try_compile "$LINENO"; then :
46293 glibcxx_cv_func_isnan_use=yes
46294 else
46295 glibcxx_cv_func_isnan_use=no
46297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46298 ac_ext=c
46299 ac_cpp='$CPP $CPPFLAGS'
46300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46309 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46311 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46312 for ac_func in isnan
46313 do :
46314 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46315 if test "x$ac_cv_func_isnan" = x""yes; then :
46316 cat >>confdefs.h <<_ACEOF
46317 #define HAVE_ISNAN 1
46318 _ACEOF
46321 done
46323 else
46325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46326 $as_echo_n "checking for _isnan declaration... " >&6; }
46327 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46328 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46329 $as_echo_n "(cached) " >&6
46330 else
46333 ac_ext=cpp
46334 ac_cpp='$CXXCPP $CPPFLAGS'
46335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46340 /* end confdefs.h. */
46341 #include <math.h>
46342 #ifdef HAVE_IEEEFP_H
46343 #include <ieeefp.h>
46344 #endif
46347 main ()
46349 _isnan(0);
46351 return 0;
46353 _ACEOF
46354 if ac_fn_cxx_try_compile "$LINENO"; then :
46355 glibcxx_cv_func__isnan_use=yes
46356 else
46357 glibcxx_cv_func__isnan_use=no
46359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46360 ac_ext=c
46361 ac_cpp='$CPP $CPPFLAGS'
46362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46371 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46373 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46374 for ac_func in _isnan
46375 do :
46376 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46377 if test "x$ac_cv_func__isnan" = x""yes; then :
46378 cat >>confdefs.h <<_ACEOF
46379 #define HAVE__ISNAN 1
46380 _ACEOF
46383 done
46392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46393 $as_echo_n "checking for finite declaration... " >&6; }
46394 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46395 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46396 $as_echo_n "(cached) " >&6
46397 else
46400 ac_ext=cpp
46401 ac_cpp='$CXXCPP $CPPFLAGS'
46402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46407 /* end confdefs.h. */
46408 #include <math.h>
46409 #ifdef HAVE_IEEEFP_H
46410 #include <ieeefp.h>
46411 #endif
46414 main ()
46416 finite(0);
46418 return 0;
46420 _ACEOF
46421 if ac_fn_cxx_try_compile "$LINENO"; then :
46422 glibcxx_cv_func_finite_use=yes
46423 else
46424 glibcxx_cv_func_finite_use=no
46426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46427 ac_ext=c
46428 ac_cpp='$CPP $CPPFLAGS'
46429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46438 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46440 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46441 for ac_func in finite
46442 do :
46443 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46444 if test "x$ac_cv_func_finite" = x""yes; then :
46445 cat >>confdefs.h <<_ACEOF
46446 #define HAVE_FINITE 1
46447 _ACEOF
46450 done
46452 else
46454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46455 $as_echo_n "checking for _finite declaration... " >&6; }
46456 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46457 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46458 $as_echo_n "(cached) " >&6
46459 else
46462 ac_ext=cpp
46463 ac_cpp='$CXXCPP $CPPFLAGS'
46464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46469 /* end confdefs.h. */
46470 #include <math.h>
46471 #ifdef HAVE_IEEEFP_H
46472 #include <ieeefp.h>
46473 #endif
46476 main ()
46478 _finite(0);
46480 return 0;
46482 _ACEOF
46483 if ac_fn_cxx_try_compile "$LINENO"; then :
46484 glibcxx_cv_func__finite_use=yes
46485 else
46486 glibcxx_cv_func__finite_use=no
46488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46489 ac_ext=c
46490 ac_cpp='$CPP $CPPFLAGS'
46491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46500 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46502 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46503 for ac_func in _finite
46504 do :
46505 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46506 if test "x$ac_cv_func__finite" = x""yes; then :
46507 cat >>confdefs.h <<_ACEOF
46508 #define HAVE__FINITE 1
46509 _ACEOF
46512 done
46521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46522 $as_echo_n "checking for sincos declaration... " >&6; }
46523 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46524 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46525 $as_echo_n "(cached) " >&6
46526 else
46529 ac_ext=cpp
46530 ac_cpp='$CXXCPP $CPPFLAGS'
46531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46536 /* end confdefs.h. */
46537 #include <math.h>
46539 main ()
46541 sincos(0, 0, 0);
46543 return 0;
46545 _ACEOF
46546 if ac_fn_cxx_try_compile "$LINENO"; then :
46547 glibcxx_cv_func_sincos_use=yes
46548 else
46549 glibcxx_cv_func_sincos_use=no
46551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46552 ac_ext=c
46553 ac_cpp='$CPP $CPPFLAGS'
46554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46563 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46565 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46566 for ac_func in sincos
46567 do :
46568 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46569 if test "x$ac_cv_func_sincos" = x""yes; then :
46570 cat >>confdefs.h <<_ACEOF
46571 #define HAVE_SINCOS 1
46572 _ACEOF
46575 done
46577 else
46579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46580 $as_echo_n "checking for _sincos declaration... " >&6; }
46581 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46582 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46583 $as_echo_n "(cached) " >&6
46584 else
46587 ac_ext=cpp
46588 ac_cpp='$CXXCPP $CPPFLAGS'
46589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46594 /* end confdefs.h. */
46595 #include <math.h>
46597 main ()
46599 _sincos(0, 0, 0);
46601 return 0;
46603 _ACEOF
46604 if ac_fn_cxx_try_compile "$LINENO"; then :
46605 glibcxx_cv_func__sincos_use=yes
46606 else
46607 glibcxx_cv_func__sincos_use=no
46609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46610 ac_ext=c
46611 ac_cpp='$CPP $CPPFLAGS'
46612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46621 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46623 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46624 for ac_func in _sincos
46625 do :
46626 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46627 if test "x$ac_cv_func__sincos" = x""yes; then :
46628 cat >>confdefs.h <<_ACEOF
46629 #define HAVE__SINCOS 1
46630 _ACEOF
46633 done
46642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46643 $as_echo_n "checking for fpclass declaration... " >&6; }
46644 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46645 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46646 $as_echo_n "(cached) " >&6
46647 else
46650 ac_ext=cpp
46651 ac_cpp='$CXXCPP $CPPFLAGS'
46652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46657 /* end confdefs.h. */
46658 #include <math.h>
46659 #ifdef HAVE_IEEEFP_H
46660 #include <ieeefp.h>
46661 #endif
46664 main ()
46666 fpclass(0);
46668 return 0;
46670 _ACEOF
46671 if ac_fn_cxx_try_compile "$LINENO"; then :
46672 glibcxx_cv_func_fpclass_use=yes
46673 else
46674 glibcxx_cv_func_fpclass_use=no
46676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46677 ac_ext=c
46678 ac_cpp='$CPP $CPPFLAGS'
46679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46688 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46690 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46691 for ac_func in fpclass
46692 do :
46693 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46694 if test "x$ac_cv_func_fpclass" = x""yes; then :
46695 cat >>confdefs.h <<_ACEOF
46696 #define HAVE_FPCLASS 1
46697 _ACEOF
46700 done
46702 else
46704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46705 $as_echo_n "checking for _fpclass declaration... " >&6; }
46706 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46707 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46708 $as_echo_n "(cached) " >&6
46709 else
46712 ac_ext=cpp
46713 ac_cpp='$CXXCPP $CPPFLAGS'
46714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46719 /* end confdefs.h. */
46720 #include <math.h>
46721 #ifdef HAVE_IEEEFP_H
46722 #include <ieeefp.h>
46723 #endif
46726 main ()
46728 _fpclass(0);
46730 return 0;
46732 _ACEOF
46733 if ac_fn_cxx_try_compile "$LINENO"; then :
46734 glibcxx_cv_func__fpclass_use=yes
46735 else
46736 glibcxx_cv_func__fpclass_use=no
46738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46739 ac_ext=c
46740 ac_cpp='$CPP $CPPFLAGS'
46741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46750 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46752 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46753 for ac_func in _fpclass
46754 do :
46755 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46756 if test "x$ac_cv_func__fpclass" = x""yes; then :
46757 cat >>confdefs.h <<_ACEOF
46758 #define HAVE__FPCLASS 1
46759 _ACEOF
46762 done
46771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46772 $as_echo_n "checking for qfpclass declaration... " >&6; }
46773 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46774 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46775 $as_echo_n "(cached) " >&6
46776 else
46779 ac_ext=cpp
46780 ac_cpp='$CXXCPP $CPPFLAGS'
46781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46786 /* end confdefs.h. */
46787 #include <math.h>
46788 #ifdef HAVE_IEEEFP_H
46789 #include <ieeefp.h>
46790 #endif
46793 main ()
46795 qfpclass(0);
46797 return 0;
46799 _ACEOF
46800 if ac_fn_cxx_try_compile "$LINENO"; then :
46801 glibcxx_cv_func_qfpclass_use=yes
46802 else
46803 glibcxx_cv_func_qfpclass_use=no
46805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46806 ac_ext=c
46807 ac_cpp='$CPP $CPPFLAGS'
46808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46817 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46819 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46820 for ac_func in qfpclass
46821 do :
46822 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46823 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46824 cat >>confdefs.h <<_ACEOF
46825 #define HAVE_QFPCLASS 1
46826 _ACEOF
46829 done
46831 else
46833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46834 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46835 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46836 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46837 $as_echo_n "(cached) " >&6
46838 else
46841 ac_ext=cpp
46842 ac_cpp='$CXXCPP $CPPFLAGS'
46843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46848 /* end confdefs.h. */
46849 #include <math.h>
46850 #ifdef HAVE_IEEEFP_H
46851 #include <ieeefp.h>
46852 #endif
46855 main ()
46857 _qfpclass(0);
46859 return 0;
46861 _ACEOF
46862 if ac_fn_cxx_try_compile "$LINENO"; then :
46863 glibcxx_cv_func__qfpclass_use=yes
46864 else
46865 glibcxx_cv_func__qfpclass_use=no
46867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46868 ac_ext=c
46869 ac_cpp='$CPP $CPPFLAGS'
46870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46879 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46881 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46882 for ac_func in _qfpclass
46883 do :
46884 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46885 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46886 cat >>confdefs.h <<_ACEOF
46887 #define HAVE__QFPCLASS 1
46888 _ACEOF
46891 done
46900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46901 $as_echo_n "checking for hypot declaration... " >&6; }
46902 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46903 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46904 $as_echo_n "(cached) " >&6
46905 else
46908 ac_ext=cpp
46909 ac_cpp='$CXXCPP $CPPFLAGS'
46910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46915 /* end confdefs.h. */
46916 #include <math.h>
46918 main ()
46920 hypot(0, 0);
46922 return 0;
46924 _ACEOF
46925 if ac_fn_cxx_try_compile "$LINENO"; then :
46926 glibcxx_cv_func_hypot_use=yes
46927 else
46928 glibcxx_cv_func_hypot_use=no
46930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46931 ac_ext=c
46932 ac_cpp='$CPP $CPPFLAGS'
46933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46942 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46944 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46945 for ac_func in hypot
46946 do :
46947 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46948 if test "x$ac_cv_func_hypot" = x""yes; then :
46949 cat >>confdefs.h <<_ACEOF
46950 #define HAVE_HYPOT 1
46951 _ACEOF
46954 done
46956 else
46958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46959 $as_echo_n "checking for _hypot declaration... " >&6; }
46960 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46961 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46962 $as_echo_n "(cached) " >&6
46963 else
46966 ac_ext=cpp
46967 ac_cpp='$CXXCPP $CPPFLAGS'
46968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46973 /* end confdefs.h. */
46974 #include <math.h>
46976 main ()
46978 _hypot(0, 0);
46980 return 0;
46982 _ACEOF
46983 if ac_fn_cxx_try_compile "$LINENO"; then :
46984 glibcxx_cv_func__hypot_use=yes
46985 else
46986 glibcxx_cv_func__hypot_use=no
46988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46989 ac_ext=c
46990 ac_cpp='$CPP $CPPFLAGS'
46991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47000 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47002 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47003 for ac_func in _hypot
47004 do :
47005 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47006 if test "x$ac_cv_func__hypot" = x""yes; then :
47007 cat >>confdefs.h <<_ACEOF
47008 #define HAVE__HYPOT 1
47009 _ACEOF
47012 done
47021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47022 $as_echo_n "checking for float trig functions... " >&6; }
47023 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47024 $as_echo_n "(cached) " >&6
47025 else
47028 ac_ext=cpp
47029 ac_cpp='$CXXCPP $CPPFLAGS'
47030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47035 /* end confdefs.h. */
47036 #include <math.h>
47038 main ()
47040 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47042 return 0;
47044 _ACEOF
47045 if ac_fn_cxx_try_compile "$LINENO"; then :
47046 glibcxx_cv_func_float_trig_use=yes
47047 else
47048 glibcxx_cv_func_float_trig_use=no
47050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47051 ac_ext=c
47052 ac_cpp='$CPP $CPPFLAGS'
47053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47060 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47061 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47062 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47063 do :
47064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47066 eval as_val=\$$as_ac_var
47067 if test "x$as_val" = x""yes; then :
47068 cat >>confdefs.h <<_ACEOF
47069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47070 _ACEOF
47073 done
47075 else
47076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47077 $as_echo_n "checking for _float trig functions... " >&6; }
47078 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47079 $as_echo_n "(cached) " >&6
47080 else
47083 ac_ext=cpp
47084 ac_cpp='$CXXCPP $CPPFLAGS'
47085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47090 /* end confdefs.h. */
47091 #include <math.h>
47093 main ()
47095 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47097 return 0;
47099 _ACEOF
47100 if ac_fn_cxx_try_compile "$LINENO"; then :
47101 glibcxx_cv_func__float_trig_use=yes
47102 else
47103 glibcxx_cv_func__float_trig_use=no
47105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47106 ac_ext=c
47107 ac_cpp='$CPP $CPPFLAGS'
47108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47115 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47116 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47117 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47118 do :
47119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47121 eval as_val=\$$as_ac_var
47122 if test "x$as_val" = x""yes; then :
47123 cat >>confdefs.h <<_ACEOF
47124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47125 _ACEOF
47128 done
47137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47138 $as_echo_n "checking for float round functions... " >&6; }
47139 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47140 $as_echo_n "(cached) " >&6
47141 else
47144 ac_ext=cpp
47145 ac_cpp='$CXXCPP $CPPFLAGS'
47146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47151 /* end confdefs.h. */
47152 #include <math.h>
47154 main ()
47156 ceilf (0); floorf (0);
47158 return 0;
47160 _ACEOF
47161 if ac_fn_cxx_try_compile "$LINENO"; then :
47162 glibcxx_cv_func_float_round_use=yes
47163 else
47164 glibcxx_cv_func_float_round_use=no
47166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47167 ac_ext=c
47168 ac_cpp='$CPP $CPPFLAGS'
47169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47176 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47177 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47178 for ac_func in ceilf floorf
47179 do :
47180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47182 eval as_val=\$$as_ac_var
47183 if test "x$as_val" = x""yes; then :
47184 cat >>confdefs.h <<_ACEOF
47185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47186 _ACEOF
47189 done
47191 else
47192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47193 $as_echo_n "checking for _float round functions... " >&6; }
47194 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47195 $as_echo_n "(cached) " >&6
47196 else
47199 ac_ext=cpp
47200 ac_cpp='$CXXCPP $CPPFLAGS'
47201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47206 /* end confdefs.h. */
47207 #include <math.h>
47209 main ()
47211 _ceilf (0); _floorf (0);
47213 return 0;
47215 _ACEOF
47216 if ac_fn_cxx_try_compile "$LINENO"; then :
47217 glibcxx_cv_func__float_round_use=yes
47218 else
47219 glibcxx_cv_func__float_round_use=no
47221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47222 ac_ext=c
47223 ac_cpp='$CPP $CPPFLAGS'
47224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47231 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47232 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47233 for ac_func in _ceilf _floorf
47234 do :
47235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47237 eval as_val=\$$as_ac_var
47238 if test "x$as_val" = x""yes; then :
47239 cat >>confdefs.h <<_ACEOF
47240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47241 _ACEOF
47244 done
47254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47255 $as_echo_n "checking for expf declaration... " >&6; }
47256 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47257 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47258 $as_echo_n "(cached) " >&6
47259 else
47262 ac_ext=cpp
47263 ac_cpp='$CXXCPP $CPPFLAGS'
47264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47269 /* end confdefs.h. */
47270 #include <math.h>
47271 #ifdef HAVE_IEEEFP_H
47272 #include <ieeefp.h>
47273 #endif
47276 main ()
47278 expf(0);
47280 return 0;
47282 _ACEOF
47283 if ac_fn_cxx_try_compile "$LINENO"; then :
47284 glibcxx_cv_func_expf_use=yes
47285 else
47286 glibcxx_cv_func_expf_use=no
47288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47289 ac_ext=c
47290 ac_cpp='$CPP $CPPFLAGS'
47291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47300 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47302 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47303 for ac_func in expf
47304 do :
47305 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47306 if test "x$ac_cv_func_expf" = x""yes; then :
47307 cat >>confdefs.h <<_ACEOF
47308 #define HAVE_EXPF 1
47309 _ACEOF
47312 done
47314 else
47316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47317 $as_echo_n "checking for _expf declaration... " >&6; }
47318 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47319 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47320 $as_echo_n "(cached) " >&6
47321 else
47324 ac_ext=cpp
47325 ac_cpp='$CXXCPP $CPPFLAGS'
47326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47331 /* end confdefs.h. */
47332 #include <math.h>
47333 #ifdef HAVE_IEEEFP_H
47334 #include <ieeefp.h>
47335 #endif
47338 main ()
47340 _expf(0);
47342 return 0;
47344 _ACEOF
47345 if ac_fn_cxx_try_compile "$LINENO"; then :
47346 glibcxx_cv_func__expf_use=yes
47347 else
47348 glibcxx_cv_func__expf_use=no
47350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47351 ac_ext=c
47352 ac_cpp='$CPP $CPPFLAGS'
47353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47362 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47364 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47365 for ac_func in _expf
47366 do :
47367 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47368 if test "x$ac_cv_func__expf" = x""yes; then :
47369 cat >>confdefs.h <<_ACEOF
47370 #define HAVE__EXPF 1
47371 _ACEOF
47374 done
47383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47384 $as_echo_n "checking for isnanf declaration... " >&6; }
47385 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47386 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47387 $as_echo_n "(cached) " >&6
47388 else
47391 ac_ext=cpp
47392 ac_cpp='$CXXCPP $CPPFLAGS'
47393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47398 /* end confdefs.h. */
47399 #include <math.h>
47400 #ifdef HAVE_IEEEFP_H
47401 #include <ieeefp.h>
47402 #endif
47405 main ()
47407 isnanf(0);
47409 return 0;
47411 _ACEOF
47412 if ac_fn_cxx_try_compile "$LINENO"; then :
47413 glibcxx_cv_func_isnanf_use=yes
47414 else
47415 glibcxx_cv_func_isnanf_use=no
47417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47418 ac_ext=c
47419 ac_cpp='$CPP $CPPFLAGS'
47420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47429 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47431 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47432 for ac_func in isnanf
47433 do :
47434 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47435 if test "x$ac_cv_func_isnanf" = x""yes; then :
47436 cat >>confdefs.h <<_ACEOF
47437 #define HAVE_ISNANF 1
47438 _ACEOF
47441 done
47443 else
47445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47446 $as_echo_n "checking for _isnanf declaration... " >&6; }
47447 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47448 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47449 $as_echo_n "(cached) " >&6
47450 else
47453 ac_ext=cpp
47454 ac_cpp='$CXXCPP $CPPFLAGS'
47455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47460 /* end confdefs.h. */
47461 #include <math.h>
47462 #ifdef HAVE_IEEEFP_H
47463 #include <ieeefp.h>
47464 #endif
47467 main ()
47469 _isnanf(0);
47471 return 0;
47473 _ACEOF
47474 if ac_fn_cxx_try_compile "$LINENO"; then :
47475 glibcxx_cv_func__isnanf_use=yes
47476 else
47477 glibcxx_cv_func__isnanf_use=no
47479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47480 ac_ext=c
47481 ac_cpp='$CPP $CPPFLAGS'
47482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47491 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47493 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47494 for ac_func in _isnanf
47495 do :
47496 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47497 if test "x$ac_cv_func__isnanf" = x""yes; then :
47498 cat >>confdefs.h <<_ACEOF
47499 #define HAVE__ISNANF 1
47500 _ACEOF
47503 done
47512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47513 $as_echo_n "checking for isinff declaration... " >&6; }
47514 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47515 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47516 $as_echo_n "(cached) " >&6
47517 else
47520 ac_ext=cpp
47521 ac_cpp='$CXXCPP $CPPFLAGS'
47522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47527 /* end confdefs.h. */
47528 #include <math.h>
47529 #ifdef HAVE_IEEEFP_H
47530 #include <ieeefp.h>
47531 #endif
47534 main ()
47536 isinff(0);
47538 return 0;
47540 _ACEOF
47541 if ac_fn_cxx_try_compile "$LINENO"; then :
47542 glibcxx_cv_func_isinff_use=yes
47543 else
47544 glibcxx_cv_func_isinff_use=no
47546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47547 ac_ext=c
47548 ac_cpp='$CPP $CPPFLAGS'
47549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47558 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47560 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47561 for ac_func in isinff
47562 do :
47563 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47564 if test "x$ac_cv_func_isinff" = x""yes; then :
47565 cat >>confdefs.h <<_ACEOF
47566 #define HAVE_ISINFF 1
47567 _ACEOF
47570 done
47572 else
47574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47575 $as_echo_n "checking for _isinff declaration... " >&6; }
47576 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47577 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47578 $as_echo_n "(cached) " >&6
47579 else
47582 ac_ext=cpp
47583 ac_cpp='$CXXCPP $CPPFLAGS'
47584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47589 /* end confdefs.h. */
47590 #include <math.h>
47591 #ifdef HAVE_IEEEFP_H
47592 #include <ieeefp.h>
47593 #endif
47596 main ()
47598 _isinff(0);
47600 return 0;
47602 _ACEOF
47603 if ac_fn_cxx_try_compile "$LINENO"; then :
47604 glibcxx_cv_func__isinff_use=yes
47605 else
47606 glibcxx_cv_func__isinff_use=no
47608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47609 ac_ext=c
47610 ac_cpp='$CPP $CPPFLAGS'
47611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47620 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47622 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47623 for ac_func in _isinff
47624 do :
47625 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47626 if test "x$ac_cv_func__isinff" = x""yes; then :
47627 cat >>confdefs.h <<_ACEOF
47628 #define HAVE__ISINFF 1
47629 _ACEOF
47632 done
47641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47642 $as_echo_n "checking for atan2f declaration... " >&6; }
47643 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47644 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47645 $as_echo_n "(cached) " >&6
47646 else
47649 ac_ext=cpp
47650 ac_cpp='$CXXCPP $CPPFLAGS'
47651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47656 /* end confdefs.h. */
47657 #include <math.h>
47659 main ()
47661 atan2f(0, 0);
47663 return 0;
47665 _ACEOF
47666 if ac_fn_cxx_try_compile "$LINENO"; then :
47667 glibcxx_cv_func_atan2f_use=yes
47668 else
47669 glibcxx_cv_func_atan2f_use=no
47671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47672 ac_ext=c
47673 ac_cpp='$CPP $CPPFLAGS'
47674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47683 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47685 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47686 for ac_func in atan2f
47687 do :
47688 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47689 if test "x$ac_cv_func_atan2f" = x""yes; then :
47690 cat >>confdefs.h <<_ACEOF
47691 #define HAVE_ATAN2F 1
47692 _ACEOF
47695 done
47697 else
47699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47700 $as_echo_n "checking for _atan2f declaration... " >&6; }
47701 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47702 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47703 $as_echo_n "(cached) " >&6
47704 else
47707 ac_ext=cpp
47708 ac_cpp='$CXXCPP $CPPFLAGS'
47709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47714 /* end confdefs.h. */
47715 #include <math.h>
47717 main ()
47719 _atan2f(0, 0);
47721 return 0;
47723 _ACEOF
47724 if ac_fn_cxx_try_compile "$LINENO"; then :
47725 glibcxx_cv_func__atan2f_use=yes
47726 else
47727 glibcxx_cv_func__atan2f_use=no
47729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47730 ac_ext=c
47731 ac_cpp='$CPP $CPPFLAGS'
47732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47741 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47743 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47744 for ac_func in _atan2f
47745 do :
47746 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47747 if test "x$ac_cv_func__atan2f" = x""yes; then :
47748 cat >>confdefs.h <<_ACEOF
47749 #define HAVE__ATAN2F 1
47750 _ACEOF
47753 done
47762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47763 $as_echo_n "checking for fabsf declaration... " >&6; }
47764 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47765 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47766 $as_echo_n "(cached) " >&6
47767 else
47770 ac_ext=cpp
47771 ac_cpp='$CXXCPP $CPPFLAGS'
47772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47777 /* end confdefs.h. */
47778 #include <math.h>
47779 #ifdef HAVE_IEEEFP_H
47780 #include <ieeefp.h>
47781 #endif
47784 main ()
47786 fabsf(0);
47788 return 0;
47790 _ACEOF
47791 if ac_fn_cxx_try_compile "$LINENO"; then :
47792 glibcxx_cv_func_fabsf_use=yes
47793 else
47794 glibcxx_cv_func_fabsf_use=no
47796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47797 ac_ext=c
47798 ac_cpp='$CPP $CPPFLAGS'
47799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47808 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47810 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47811 for ac_func in fabsf
47812 do :
47813 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47814 if test "x$ac_cv_func_fabsf" = x""yes; then :
47815 cat >>confdefs.h <<_ACEOF
47816 #define HAVE_FABSF 1
47817 _ACEOF
47820 done
47822 else
47824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47825 $as_echo_n "checking for _fabsf declaration... " >&6; }
47826 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47827 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47828 $as_echo_n "(cached) " >&6
47829 else
47832 ac_ext=cpp
47833 ac_cpp='$CXXCPP $CPPFLAGS'
47834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47839 /* end confdefs.h. */
47840 #include <math.h>
47841 #ifdef HAVE_IEEEFP_H
47842 #include <ieeefp.h>
47843 #endif
47846 main ()
47848 _fabsf(0);
47850 return 0;
47852 _ACEOF
47853 if ac_fn_cxx_try_compile "$LINENO"; then :
47854 glibcxx_cv_func__fabsf_use=yes
47855 else
47856 glibcxx_cv_func__fabsf_use=no
47858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47859 ac_ext=c
47860 ac_cpp='$CPP $CPPFLAGS'
47861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47870 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47872 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47873 for ac_func in _fabsf
47874 do :
47875 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47876 if test "x$ac_cv_func__fabsf" = x""yes; then :
47877 cat >>confdefs.h <<_ACEOF
47878 #define HAVE__FABSF 1
47879 _ACEOF
47882 done
47891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47892 $as_echo_n "checking for fmodf declaration... " >&6; }
47893 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47894 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47895 $as_echo_n "(cached) " >&6
47896 else
47899 ac_ext=cpp
47900 ac_cpp='$CXXCPP $CPPFLAGS'
47901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47906 /* end confdefs.h. */
47907 #include <math.h>
47909 main ()
47911 fmodf(0, 0);
47913 return 0;
47915 _ACEOF
47916 if ac_fn_cxx_try_compile "$LINENO"; then :
47917 glibcxx_cv_func_fmodf_use=yes
47918 else
47919 glibcxx_cv_func_fmodf_use=no
47921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47922 ac_ext=c
47923 ac_cpp='$CPP $CPPFLAGS'
47924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47933 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47935 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47936 for ac_func in fmodf
47937 do :
47938 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47939 if test "x$ac_cv_func_fmodf" = x""yes; then :
47940 cat >>confdefs.h <<_ACEOF
47941 #define HAVE_FMODF 1
47942 _ACEOF
47945 done
47947 else
47949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47950 $as_echo_n "checking for _fmodf declaration... " >&6; }
47951 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47952 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47953 $as_echo_n "(cached) " >&6
47954 else
47957 ac_ext=cpp
47958 ac_cpp='$CXXCPP $CPPFLAGS'
47959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47964 /* end confdefs.h. */
47965 #include <math.h>
47967 main ()
47969 _fmodf(0, 0);
47971 return 0;
47973 _ACEOF
47974 if ac_fn_cxx_try_compile "$LINENO"; then :
47975 glibcxx_cv_func__fmodf_use=yes
47976 else
47977 glibcxx_cv_func__fmodf_use=no
47979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47980 ac_ext=c
47981 ac_cpp='$CPP $CPPFLAGS'
47982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47991 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47993 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47994 for ac_func in _fmodf
47995 do :
47996 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47997 if test "x$ac_cv_func__fmodf" = x""yes; then :
47998 cat >>confdefs.h <<_ACEOF
47999 #define HAVE__FMODF 1
48000 _ACEOF
48003 done
48012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48013 $as_echo_n "checking for frexpf declaration... " >&6; }
48014 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48015 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48016 $as_echo_n "(cached) " >&6
48017 else
48020 ac_ext=cpp
48021 ac_cpp='$CXXCPP $CPPFLAGS'
48022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48027 /* end confdefs.h. */
48028 #include <math.h>
48030 main ()
48032 frexpf(0, 0);
48034 return 0;
48036 _ACEOF
48037 if ac_fn_cxx_try_compile "$LINENO"; then :
48038 glibcxx_cv_func_frexpf_use=yes
48039 else
48040 glibcxx_cv_func_frexpf_use=no
48042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48043 ac_ext=c
48044 ac_cpp='$CPP $CPPFLAGS'
48045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48054 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48056 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48057 for ac_func in frexpf
48058 do :
48059 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48060 if test "x$ac_cv_func_frexpf" = x""yes; then :
48061 cat >>confdefs.h <<_ACEOF
48062 #define HAVE_FREXPF 1
48063 _ACEOF
48066 done
48068 else
48070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48071 $as_echo_n "checking for _frexpf declaration... " >&6; }
48072 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48073 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48074 $as_echo_n "(cached) " >&6
48075 else
48078 ac_ext=cpp
48079 ac_cpp='$CXXCPP $CPPFLAGS'
48080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48085 /* end confdefs.h. */
48086 #include <math.h>
48088 main ()
48090 _frexpf(0, 0);
48092 return 0;
48094 _ACEOF
48095 if ac_fn_cxx_try_compile "$LINENO"; then :
48096 glibcxx_cv_func__frexpf_use=yes
48097 else
48098 glibcxx_cv_func__frexpf_use=no
48100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48101 ac_ext=c
48102 ac_cpp='$CPP $CPPFLAGS'
48103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48112 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48114 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48115 for ac_func in _frexpf
48116 do :
48117 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48118 if test "x$ac_cv_func__frexpf" = x""yes; then :
48119 cat >>confdefs.h <<_ACEOF
48120 #define HAVE__FREXPF 1
48121 _ACEOF
48124 done
48133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48134 $as_echo_n "checking for hypotf declaration... " >&6; }
48135 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48136 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48137 $as_echo_n "(cached) " >&6
48138 else
48141 ac_ext=cpp
48142 ac_cpp='$CXXCPP $CPPFLAGS'
48143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48148 /* end confdefs.h. */
48149 #include <math.h>
48151 main ()
48153 hypotf(0, 0);
48155 return 0;
48157 _ACEOF
48158 if ac_fn_cxx_try_compile "$LINENO"; then :
48159 glibcxx_cv_func_hypotf_use=yes
48160 else
48161 glibcxx_cv_func_hypotf_use=no
48163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48164 ac_ext=c
48165 ac_cpp='$CPP $CPPFLAGS'
48166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48175 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48177 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48178 for ac_func in hypotf
48179 do :
48180 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48181 if test "x$ac_cv_func_hypotf" = x""yes; then :
48182 cat >>confdefs.h <<_ACEOF
48183 #define HAVE_HYPOTF 1
48184 _ACEOF
48187 done
48189 else
48191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48192 $as_echo_n "checking for _hypotf declaration... " >&6; }
48193 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48194 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48195 $as_echo_n "(cached) " >&6
48196 else
48199 ac_ext=cpp
48200 ac_cpp='$CXXCPP $CPPFLAGS'
48201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48206 /* end confdefs.h. */
48207 #include <math.h>
48209 main ()
48211 _hypotf(0, 0);
48213 return 0;
48215 _ACEOF
48216 if ac_fn_cxx_try_compile "$LINENO"; then :
48217 glibcxx_cv_func__hypotf_use=yes
48218 else
48219 glibcxx_cv_func__hypotf_use=no
48221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48222 ac_ext=c
48223 ac_cpp='$CPP $CPPFLAGS'
48224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48233 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48235 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48236 for ac_func in _hypotf
48237 do :
48238 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48239 if test "x$ac_cv_func__hypotf" = x""yes; then :
48240 cat >>confdefs.h <<_ACEOF
48241 #define HAVE__HYPOTF 1
48242 _ACEOF
48245 done
48254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48255 $as_echo_n "checking for ldexpf declaration... " >&6; }
48256 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48257 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48258 $as_echo_n "(cached) " >&6
48259 else
48262 ac_ext=cpp
48263 ac_cpp='$CXXCPP $CPPFLAGS'
48264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48269 /* end confdefs.h. */
48270 #include <math.h>
48272 main ()
48274 ldexpf(0, 0);
48276 return 0;
48278 _ACEOF
48279 if ac_fn_cxx_try_compile "$LINENO"; then :
48280 glibcxx_cv_func_ldexpf_use=yes
48281 else
48282 glibcxx_cv_func_ldexpf_use=no
48284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48285 ac_ext=c
48286 ac_cpp='$CPP $CPPFLAGS'
48287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48296 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48298 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48299 for ac_func in ldexpf
48300 do :
48301 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48302 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48303 cat >>confdefs.h <<_ACEOF
48304 #define HAVE_LDEXPF 1
48305 _ACEOF
48308 done
48310 else
48312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48313 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48314 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48315 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48316 $as_echo_n "(cached) " >&6
48317 else
48320 ac_ext=cpp
48321 ac_cpp='$CXXCPP $CPPFLAGS'
48322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48327 /* end confdefs.h. */
48328 #include <math.h>
48330 main ()
48332 _ldexpf(0, 0);
48334 return 0;
48336 _ACEOF
48337 if ac_fn_cxx_try_compile "$LINENO"; then :
48338 glibcxx_cv_func__ldexpf_use=yes
48339 else
48340 glibcxx_cv_func__ldexpf_use=no
48342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48343 ac_ext=c
48344 ac_cpp='$CPP $CPPFLAGS'
48345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48354 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48356 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48357 for ac_func in _ldexpf
48358 do :
48359 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48360 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48361 cat >>confdefs.h <<_ACEOF
48362 #define HAVE__LDEXPF 1
48363 _ACEOF
48366 done
48375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48376 $as_echo_n "checking for logf declaration... " >&6; }
48377 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48378 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48379 $as_echo_n "(cached) " >&6
48380 else
48383 ac_ext=cpp
48384 ac_cpp='$CXXCPP $CPPFLAGS'
48385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48390 /* end confdefs.h. */
48391 #include <math.h>
48392 #ifdef HAVE_IEEEFP_H
48393 #include <ieeefp.h>
48394 #endif
48397 main ()
48399 logf(0);
48401 return 0;
48403 _ACEOF
48404 if ac_fn_cxx_try_compile "$LINENO"; then :
48405 glibcxx_cv_func_logf_use=yes
48406 else
48407 glibcxx_cv_func_logf_use=no
48409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48410 ac_ext=c
48411 ac_cpp='$CPP $CPPFLAGS'
48412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48421 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48423 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48424 for ac_func in logf
48425 do :
48426 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48427 if test "x$ac_cv_func_logf" = x""yes; then :
48428 cat >>confdefs.h <<_ACEOF
48429 #define HAVE_LOGF 1
48430 _ACEOF
48433 done
48435 else
48437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48438 $as_echo_n "checking for _logf declaration... " >&6; }
48439 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48440 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48441 $as_echo_n "(cached) " >&6
48442 else
48445 ac_ext=cpp
48446 ac_cpp='$CXXCPP $CPPFLAGS'
48447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48452 /* end confdefs.h. */
48453 #include <math.h>
48454 #ifdef HAVE_IEEEFP_H
48455 #include <ieeefp.h>
48456 #endif
48459 main ()
48461 _logf(0);
48463 return 0;
48465 _ACEOF
48466 if ac_fn_cxx_try_compile "$LINENO"; then :
48467 glibcxx_cv_func__logf_use=yes
48468 else
48469 glibcxx_cv_func__logf_use=no
48471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48472 ac_ext=c
48473 ac_cpp='$CPP $CPPFLAGS'
48474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48483 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48485 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48486 for ac_func in _logf
48487 do :
48488 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48489 if test "x$ac_cv_func__logf" = x""yes; then :
48490 cat >>confdefs.h <<_ACEOF
48491 #define HAVE__LOGF 1
48492 _ACEOF
48495 done
48504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48505 $as_echo_n "checking for log10f declaration... " >&6; }
48506 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48507 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48508 $as_echo_n "(cached) " >&6
48509 else
48512 ac_ext=cpp
48513 ac_cpp='$CXXCPP $CPPFLAGS'
48514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48519 /* end confdefs.h. */
48520 #include <math.h>
48521 #ifdef HAVE_IEEEFP_H
48522 #include <ieeefp.h>
48523 #endif
48526 main ()
48528 log10f(0);
48530 return 0;
48532 _ACEOF
48533 if ac_fn_cxx_try_compile "$LINENO"; then :
48534 glibcxx_cv_func_log10f_use=yes
48535 else
48536 glibcxx_cv_func_log10f_use=no
48538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48539 ac_ext=c
48540 ac_cpp='$CPP $CPPFLAGS'
48541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48550 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48552 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48553 for ac_func in log10f
48554 do :
48555 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48556 if test "x$ac_cv_func_log10f" = x""yes; then :
48557 cat >>confdefs.h <<_ACEOF
48558 #define HAVE_LOG10F 1
48559 _ACEOF
48562 done
48564 else
48566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48567 $as_echo_n "checking for _log10f declaration... " >&6; }
48568 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48569 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48570 $as_echo_n "(cached) " >&6
48571 else
48574 ac_ext=cpp
48575 ac_cpp='$CXXCPP $CPPFLAGS'
48576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48581 /* end confdefs.h. */
48582 #include <math.h>
48583 #ifdef HAVE_IEEEFP_H
48584 #include <ieeefp.h>
48585 #endif
48588 main ()
48590 _log10f(0);
48592 return 0;
48594 _ACEOF
48595 if ac_fn_cxx_try_compile "$LINENO"; then :
48596 glibcxx_cv_func__log10f_use=yes
48597 else
48598 glibcxx_cv_func__log10f_use=no
48600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48601 ac_ext=c
48602 ac_cpp='$CPP $CPPFLAGS'
48603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48612 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48614 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48615 for ac_func in _log10f
48616 do :
48617 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48618 if test "x$ac_cv_func__log10f" = x""yes; then :
48619 cat >>confdefs.h <<_ACEOF
48620 #define HAVE__LOG10F 1
48621 _ACEOF
48624 done
48633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48634 $as_echo_n "checking for modff declaration... " >&6; }
48635 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48636 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48637 $as_echo_n "(cached) " >&6
48638 else
48641 ac_ext=cpp
48642 ac_cpp='$CXXCPP $CPPFLAGS'
48643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48648 /* end confdefs.h. */
48649 #include <math.h>
48651 main ()
48653 modff(0, 0);
48655 return 0;
48657 _ACEOF
48658 if ac_fn_cxx_try_compile "$LINENO"; then :
48659 glibcxx_cv_func_modff_use=yes
48660 else
48661 glibcxx_cv_func_modff_use=no
48663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48664 ac_ext=c
48665 ac_cpp='$CPP $CPPFLAGS'
48666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48675 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48677 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48678 for ac_func in modff
48679 do :
48680 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48681 if test "x$ac_cv_func_modff" = x""yes; then :
48682 cat >>confdefs.h <<_ACEOF
48683 #define HAVE_MODFF 1
48684 _ACEOF
48687 done
48689 else
48691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48692 $as_echo_n "checking for _modff declaration... " >&6; }
48693 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48694 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48695 $as_echo_n "(cached) " >&6
48696 else
48699 ac_ext=cpp
48700 ac_cpp='$CXXCPP $CPPFLAGS'
48701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48706 /* end confdefs.h. */
48707 #include <math.h>
48709 main ()
48711 _modff(0, 0);
48713 return 0;
48715 _ACEOF
48716 if ac_fn_cxx_try_compile "$LINENO"; then :
48717 glibcxx_cv_func__modff_use=yes
48718 else
48719 glibcxx_cv_func__modff_use=no
48721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48722 ac_ext=c
48723 ac_cpp='$CPP $CPPFLAGS'
48724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48733 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48735 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48736 for ac_func in _modff
48737 do :
48738 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48739 if test "x$ac_cv_func__modff" = x""yes; then :
48740 cat >>confdefs.h <<_ACEOF
48741 #define HAVE__MODFF 1
48742 _ACEOF
48745 done
48754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48755 $as_echo_n "checking for modf declaration... " >&6; }
48756 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48757 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48758 $as_echo_n "(cached) " >&6
48759 else
48762 ac_ext=cpp
48763 ac_cpp='$CXXCPP $CPPFLAGS'
48764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48769 /* end confdefs.h. */
48770 #include <math.h>
48772 main ()
48774 modf(0, 0);
48776 return 0;
48778 _ACEOF
48779 if ac_fn_cxx_try_compile "$LINENO"; then :
48780 glibcxx_cv_func_modf_use=yes
48781 else
48782 glibcxx_cv_func_modf_use=no
48784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48785 ac_ext=c
48786 ac_cpp='$CPP $CPPFLAGS'
48787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48796 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48798 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48799 for ac_func in modf
48800 do :
48801 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48802 if test "x$ac_cv_func_modf" = x""yes; then :
48803 cat >>confdefs.h <<_ACEOF
48804 #define HAVE_MODF 1
48805 _ACEOF
48808 done
48810 else
48812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48813 $as_echo_n "checking for _modf declaration... " >&6; }
48814 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48815 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48816 $as_echo_n "(cached) " >&6
48817 else
48820 ac_ext=cpp
48821 ac_cpp='$CXXCPP $CPPFLAGS'
48822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48827 /* end confdefs.h. */
48828 #include <math.h>
48830 main ()
48832 _modf(0, 0);
48834 return 0;
48836 _ACEOF
48837 if ac_fn_cxx_try_compile "$LINENO"; then :
48838 glibcxx_cv_func__modf_use=yes
48839 else
48840 glibcxx_cv_func__modf_use=no
48842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48843 ac_ext=c
48844 ac_cpp='$CPP $CPPFLAGS'
48845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48854 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48856 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48857 for ac_func in _modf
48858 do :
48859 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48860 if test "x$ac_cv_func__modf" = x""yes; then :
48861 cat >>confdefs.h <<_ACEOF
48862 #define HAVE__MODF 1
48863 _ACEOF
48866 done
48875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48876 $as_echo_n "checking for powf declaration... " >&6; }
48877 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48878 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48879 $as_echo_n "(cached) " >&6
48880 else
48883 ac_ext=cpp
48884 ac_cpp='$CXXCPP $CPPFLAGS'
48885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48890 /* end confdefs.h. */
48891 #include <math.h>
48893 main ()
48895 powf(0, 0);
48897 return 0;
48899 _ACEOF
48900 if ac_fn_cxx_try_compile "$LINENO"; then :
48901 glibcxx_cv_func_powf_use=yes
48902 else
48903 glibcxx_cv_func_powf_use=no
48905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48906 ac_ext=c
48907 ac_cpp='$CPP $CPPFLAGS'
48908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48917 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48919 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48920 for ac_func in powf
48921 do :
48922 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48923 if test "x$ac_cv_func_powf" = x""yes; then :
48924 cat >>confdefs.h <<_ACEOF
48925 #define HAVE_POWF 1
48926 _ACEOF
48929 done
48931 else
48933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48934 $as_echo_n "checking for _powf declaration... " >&6; }
48935 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48936 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48937 $as_echo_n "(cached) " >&6
48938 else
48941 ac_ext=cpp
48942 ac_cpp='$CXXCPP $CPPFLAGS'
48943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48948 /* end confdefs.h. */
48949 #include <math.h>
48951 main ()
48953 _powf(0, 0);
48955 return 0;
48957 _ACEOF
48958 if ac_fn_cxx_try_compile "$LINENO"; then :
48959 glibcxx_cv_func__powf_use=yes
48960 else
48961 glibcxx_cv_func__powf_use=no
48963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48964 ac_ext=c
48965 ac_cpp='$CPP $CPPFLAGS'
48966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48975 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48977 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48978 for ac_func in _powf
48979 do :
48980 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48981 if test "x$ac_cv_func__powf" = x""yes; then :
48982 cat >>confdefs.h <<_ACEOF
48983 #define HAVE__POWF 1
48984 _ACEOF
48987 done
48996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48997 $as_echo_n "checking for sqrtf declaration... " >&6; }
48998 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48999 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49000 $as_echo_n "(cached) " >&6
49001 else
49004 ac_ext=cpp
49005 ac_cpp='$CXXCPP $CPPFLAGS'
49006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49011 /* end confdefs.h. */
49012 #include <math.h>
49013 #ifdef HAVE_IEEEFP_H
49014 #include <ieeefp.h>
49015 #endif
49018 main ()
49020 sqrtf(0);
49022 return 0;
49024 _ACEOF
49025 if ac_fn_cxx_try_compile "$LINENO"; then :
49026 glibcxx_cv_func_sqrtf_use=yes
49027 else
49028 glibcxx_cv_func_sqrtf_use=no
49030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49031 ac_ext=c
49032 ac_cpp='$CPP $CPPFLAGS'
49033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49042 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49044 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49045 for ac_func in sqrtf
49046 do :
49047 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49048 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49049 cat >>confdefs.h <<_ACEOF
49050 #define HAVE_SQRTF 1
49051 _ACEOF
49054 done
49056 else
49058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49059 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49060 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49061 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49062 $as_echo_n "(cached) " >&6
49063 else
49066 ac_ext=cpp
49067 ac_cpp='$CXXCPP $CPPFLAGS'
49068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49073 /* end confdefs.h. */
49074 #include <math.h>
49075 #ifdef HAVE_IEEEFP_H
49076 #include <ieeefp.h>
49077 #endif
49080 main ()
49082 _sqrtf(0);
49084 return 0;
49086 _ACEOF
49087 if ac_fn_cxx_try_compile "$LINENO"; then :
49088 glibcxx_cv_func__sqrtf_use=yes
49089 else
49090 glibcxx_cv_func__sqrtf_use=no
49092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49093 ac_ext=c
49094 ac_cpp='$CPP $CPPFLAGS'
49095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49104 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49106 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49107 for ac_func in _sqrtf
49108 do :
49109 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49110 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49111 cat >>confdefs.h <<_ACEOF
49112 #define HAVE__SQRTF 1
49113 _ACEOF
49116 done
49125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49126 $as_echo_n "checking for sincosf declaration... " >&6; }
49127 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49128 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49129 $as_echo_n "(cached) " >&6
49130 else
49133 ac_ext=cpp
49134 ac_cpp='$CXXCPP $CPPFLAGS'
49135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49140 /* end confdefs.h. */
49141 #include <math.h>
49143 main ()
49145 sincosf(0, 0, 0);
49147 return 0;
49149 _ACEOF
49150 if ac_fn_cxx_try_compile "$LINENO"; then :
49151 glibcxx_cv_func_sincosf_use=yes
49152 else
49153 glibcxx_cv_func_sincosf_use=no
49155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49156 ac_ext=c
49157 ac_cpp='$CPP $CPPFLAGS'
49158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49167 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49169 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49170 for ac_func in sincosf
49171 do :
49172 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49173 if test "x$ac_cv_func_sincosf" = x""yes; then :
49174 cat >>confdefs.h <<_ACEOF
49175 #define HAVE_SINCOSF 1
49176 _ACEOF
49179 done
49181 else
49183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49184 $as_echo_n "checking for _sincosf declaration... " >&6; }
49185 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49186 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49187 $as_echo_n "(cached) " >&6
49188 else
49191 ac_ext=cpp
49192 ac_cpp='$CXXCPP $CPPFLAGS'
49193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49198 /* end confdefs.h. */
49199 #include <math.h>
49201 main ()
49203 _sincosf(0, 0, 0);
49205 return 0;
49207 _ACEOF
49208 if ac_fn_cxx_try_compile "$LINENO"; then :
49209 glibcxx_cv_func__sincosf_use=yes
49210 else
49211 glibcxx_cv_func__sincosf_use=no
49213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49214 ac_ext=c
49215 ac_cpp='$CPP $CPPFLAGS'
49216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49225 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49227 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49228 for ac_func in _sincosf
49229 do :
49230 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49231 if test "x$ac_cv_func__sincosf" = x""yes; then :
49232 cat >>confdefs.h <<_ACEOF
49233 #define HAVE__SINCOSF 1
49234 _ACEOF
49237 done
49246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49247 $as_echo_n "checking for finitef declaration... " >&6; }
49248 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49249 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49250 $as_echo_n "(cached) " >&6
49251 else
49254 ac_ext=cpp
49255 ac_cpp='$CXXCPP $CPPFLAGS'
49256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49261 /* end confdefs.h. */
49262 #include <math.h>
49263 #ifdef HAVE_IEEEFP_H
49264 #include <ieeefp.h>
49265 #endif
49268 main ()
49270 finitef(0);
49272 return 0;
49274 _ACEOF
49275 if ac_fn_cxx_try_compile "$LINENO"; then :
49276 glibcxx_cv_func_finitef_use=yes
49277 else
49278 glibcxx_cv_func_finitef_use=no
49280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49281 ac_ext=c
49282 ac_cpp='$CPP $CPPFLAGS'
49283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49292 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49294 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49295 for ac_func in finitef
49296 do :
49297 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49298 if test "x$ac_cv_func_finitef" = x""yes; then :
49299 cat >>confdefs.h <<_ACEOF
49300 #define HAVE_FINITEF 1
49301 _ACEOF
49304 done
49306 else
49308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49309 $as_echo_n "checking for _finitef declaration... " >&6; }
49310 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49311 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49312 $as_echo_n "(cached) " >&6
49313 else
49316 ac_ext=cpp
49317 ac_cpp='$CXXCPP $CPPFLAGS'
49318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49323 /* end confdefs.h. */
49324 #include <math.h>
49325 #ifdef HAVE_IEEEFP_H
49326 #include <ieeefp.h>
49327 #endif
49330 main ()
49332 _finitef(0);
49334 return 0;
49336 _ACEOF
49337 if ac_fn_cxx_try_compile "$LINENO"; then :
49338 glibcxx_cv_func__finitef_use=yes
49339 else
49340 glibcxx_cv_func__finitef_use=no
49342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49343 ac_ext=c
49344 ac_cpp='$CPP $CPPFLAGS'
49345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49354 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49356 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49357 for ac_func in _finitef
49358 do :
49359 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49360 if test "x$ac_cv_func__finitef" = x""yes; then :
49361 cat >>confdefs.h <<_ACEOF
49362 #define HAVE__FINITEF 1
49363 _ACEOF
49366 done
49375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49376 $as_echo_n "checking for long double trig functions... " >&6; }
49377 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49378 $as_echo_n "(cached) " >&6
49379 else
49382 ac_ext=cpp
49383 ac_cpp='$CXXCPP $CPPFLAGS'
49384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49389 /* end confdefs.h. */
49390 #include <math.h>
49392 main ()
49394 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49396 return 0;
49398 _ACEOF
49399 if ac_fn_cxx_try_compile "$LINENO"; then :
49400 glibcxx_cv_func_long_double_trig_use=yes
49401 else
49402 glibcxx_cv_func_long_double_trig_use=no
49404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49405 ac_ext=c
49406 ac_cpp='$CPP $CPPFLAGS'
49407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49414 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49415 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49416 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49417 do :
49418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49420 eval as_val=\$$as_ac_var
49421 if test "x$as_val" = x""yes; then :
49422 cat >>confdefs.h <<_ACEOF
49423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49424 _ACEOF
49427 done
49429 else
49430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49431 $as_echo_n "checking for _long double trig functions... " >&6; }
49432 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49433 $as_echo_n "(cached) " >&6
49434 else
49437 ac_ext=cpp
49438 ac_cpp='$CXXCPP $CPPFLAGS'
49439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49444 /* end confdefs.h. */
49445 #include <math.h>
49447 main ()
49449 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49451 return 0;
49453 _ACEOF
49454 if ac_fn_cxx_try_compile "$LINENO"; then :
49455 glibcxx_cv_func__long_double_trig_use=yes
49456 else
49457 glibcxx_cv_func__long_double_trig_use=no
49459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49460 ac_ext=c
49461 ac_cpp='$CPP $CPPFLAGS'
49462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49469 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49470 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49471 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49472 do :
49473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49475 eval as_val=\$$as_ac_var
49476 if test "x$as_val" = x""yes; then :
49477 cat >>confdefs.h <<_ACEOF
49478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49479 _ACEOF
49482 done
49491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49492 $as_echo_n "checking for long double round functions... " >&6; }
49493 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49494 $as_echo_n "(cached) " >&6
49495 else
49498 ac_ext=cpp
49499 ac_cpp='$CXXCPP $CPPFLAGS'
49500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49505 /* end confdefs.h. */
49506 #include <math.h>
49508 main ()
49510 ceill (0); floorl (0);
49512 return 0;
49514 _ACEOF
49515 if ac_fn_cxx_try_compile "$LINENO"; then :
49516 glibcxx_cv_func_long_double_round_use=yes
49517 else
49518 glibcxx_cv_func_long_double_round_use=no
49520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49521 ac_ext=c
49522 ac_cpp='$CPP $CPPFLAGS'
49523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49530 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49531 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49532 for ac_func in ceill floorl
49533 do :
49534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49536 eval as_val=\$$as_ac_var
49537 if test "x$as_val" = x""yes; then :
49538 cat >>confdefs.h <<_ACEOF
49539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49540 _ACEOF
49543 done
49545 else
49546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49547 $as_echo_n "checking for _long double round functions... " >&6; }
49548 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49549 $as_echo_n "(cached) " >&6
49550 else
49553 ac_ext=cpp
49554 ac_cpp='$CXXCPP $CPPFLAGS'
49555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49560 /* end confdefs.h. */
49561 #include <math.h>
49563 main ()
49565 _ceill (0); _floorl (0);
49567 return 0;
49569 _ACEOF
49570 if ac_fn_cxx_try_compile "$LINENO"; then :
49571 glibcxx_cv_func__long_double_round_use=yes
49572 else
49573 glibcxx_cv_func__long_double_round_use=no
49575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49576 ac_ext=c
49577 ac_cpp='$CPP $CPPFLAGS'
49578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49585 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49586 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49587 for ac_func in _ceill _floorl
49588 do :
49589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49591 eval as_val=\$$as_ac_var
49592 if test "x$as_val" = x""yes; then :
49593 cat >>confdefs.h <<_ACEOF
49594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49595 _ACEOF
49598 done
49608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49609 $as_echo_n "checking for isnanl declaration... " >&6; }
49610 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49611 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49612 $as_echo_n "(cached) " >&6
49613 else
49616 ac_ext=cpp
49617 ac_cpp='$CXXCPP $CPPFLAGS'
49618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49623 /* end confdefs.h. */
49624 #include <math.h>
49625 #ifdef HAVE_IEEEFP_H
49626 #include <ieeefp.h>
49627 #endif
49630 main ()
49632 isnanl(0);
49634 return 0;
49636 _ACEOF
49637 if ac_fn_cxx_try_compile "$LINENO"; then :
49638 glibcxx_cv_func_isnanl_use=yes
49639 else
49640 glibcxx_cv_func_isnanl_use=no
49642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49643 ac_ext=c
49644 ac_cpp='$CPP $CPPFLAGS'
49645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49654 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49656 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49657 for ac_func in isnanl
49658 do :
49659 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49660 if test "x$ac_cv_func_isnanl" = x""yes; then :
49661 cat >>confdefs.h <<_ACEOF
49662 #define HAVE_ISNANL 1
49663 _ACEOF
49666 done
49668 else
49670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49671 $as_echo_n "checking for _isnanl declaration... " >&6; }
49672 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49673 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49674 $as_echo_n "(cached) " >&6
49675 else
49678 ac_ext=cpp
49679 ac_cpp='$CXXCPP $CPPFLAGS'
49680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49685 /* end confdefs.h. */
49686 #include <math.h>
49687 #ifdef HAVE_IEEEFP_H
49688 #include <ieeefp.h>
49689 #endif
49692 main ()
49694 _isnanl(0);
49696 return 0;
49698 _ACEOF
49699 if ac_fn_cxx_try_compile "$LINENO"; then :
49700 glibcxx_cv_func__isnanl_use=yes
49701 else
49702 glibcxx_cv_func__isnanl_use=no
49704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49705 ac_ext=c
49706 ac_cpp='$CPP $CPPFLAGS'
49707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49716 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49718 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49719 for ac_func in _isnanl
49720 do :
49721 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49722 if test "x$ac_cv_func__isnanl" = x""yes; then :
49723 cat >>confdefs.h <<_ACEOF
49724 #define HAVE__ISNANL 1
49725 _ACEOF
49728 done
49737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49738 $as_echo_n "checking for isinfl declaration... " >&6; }
49739 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49740 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49741 $as_echo_n "(cached) " >&6
49742 else
49745 ac_ext=cpp
49746 ac_cpp='$CXXCPP $CPPFLAGS'
49747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49752 /* end confdefs.h. */
49753 #include <math.h>
49754 #ifdef HAVE_IEEEFP_H
49755 #include <ieeefp.h>
49756 #endif
49759 main ()
49761 isinfl(0);
49763 return 0;
49765 _ACEOF
49766 if ac_fn_cxx_try_compile "$LINENO"; then :
49767 glibcxx_cv_func_isinfl_use=yes
49768 else
49769 glibcxx_cv_func_isinfl_use=no
49771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49772 ac_ext=c
49773 ac_cpp='$CPP $CPPFLAGS'
49774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49783 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49785 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49786 for ac_func in isinfl
49787 do :
49788 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49789 if test "x$ac_cv_func_isinfl" = x""yes; then :
49790 cat >>confdefs.h <<_ACEOF
49791 #define HAVE_ISINFL 1
49792 _ACEOF
49795 done
49797 else
49799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49800 $as_echo_n "checking for _isinfl declaration... " >&6; }
49801 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49802 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49803 $as_echo_n "(cached) " >&6
49804 else
49807 ac_ext=cpp
49808 ac_cpp='$CXXCPP $CPPFLAGS'
49809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49814 /* end confdefs.h. */
49815 #include <math.h>
49816 #ifdef HAVE_IEEEFP_H
49817 #include <ieeefp.h>
49818 #endif
49821 main ()
49823 _isinfl(0);
49825 return 0;
49827 _ACEOF
49828 if ac_fn_cxx_try_compile "$LINENO"; then :
49829 glibcxx_cv_func__isinfl_use=yes
49830 else
49831 glibcxx_cv_func__isinfl_use=no
49833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49834 ac_ext=c
49835 ac_cpp='$CPP $CPPFLAGS'
49836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49845 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49847 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49848 for ac_func in _isinfl
49849 do :
49850 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49851 if test "x$ac_cv_func__isinfl" = x""yes; then :
49852 cat >>confdefs.h <<_ACEOF
49853 #define HAVE__ISINFL 1
49854 _ACEOF
49857 done
49866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49867 $as_echo_n "checking for atan2l declaration... " >&6; }
49868 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49869 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49870 $as_echo_n "(cached) " >&6
49871 else
49874 ac_ext=cpp
49875 ac_cpp='$CXXCPP $CPPFLAGS'
49876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49881 /* end confdefs.h. */
49882 #include <math.h>
49884 main ()
49886 atan2l(0, 0);
49888 return 0;
49890 _ACEOF
49891 if ac_fn_cxx_try_compile "$LINENO"; then :
49892 glibcxx_cv_func_atan2l_use=yes
49893 else
49894 glibcxx_cv_func_atan2l_use=no
49896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49897 ac_ext=c
49898 ac_cpp='$CPP $CPPFLAGS'
49899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49908 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49910 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49911 for ac_func in atan2l
49912 do :
49913 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49914 if test "x$ac_cv_func_atan2l" = x""yes; then :
49915 cat >>confdefs.h <<_ACEOF
49916 #define HAVE_ATAN2L 1
49917 _ACEOF
49920 done
49922 else
49924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49925 $as_echo_n "checking for _atan2l declaration... " >&6; }
49926 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49927 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49928 $as_echo_n "(cached) " >&6
49929 else
49932 ac_ext=cpp
49933 ac_cpp='$CXXCPP $CPPFLAGS'
49934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49939 /* end confdefs.h. */
49940 #include <math.h>
49942 main ()
49944 _atan2l(0, 0);
49946 return 0;
49948 _ACEOF
49949 if ac_fn_cxx_try_compile "$LINENO"; then :
49950 glibcxx_cv_func__atan2l_use=yes
49951 else
49952 glibcxx_cv_func__atan2l_use=no
49954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49955 ac_ext=c
49956 ac_cpp='$CPP $CPPFLAGS'
49957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49966 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49968 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49969 for ac_func in _atan2l
49970 do :
49971 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49972 if test "x$ac_cv_func__atan2l" = x""yes; then :
49973 cat >>confdefs.h <<_ACEOF
49974 #define HAVE__ATAN2L 1
49975 _ACEOF
49978 done
49987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49988 $as_echo_n "checking for expl declaration... " >&6; }
49989 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49990 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49991 $as_echo_n "(cached) " >&6
49992 else
49995 ac_ext=cpp
49996 ac_cpp='$CXXCPP $CPPFLAGS'
49997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50002 /* end confdefs.h. */
50003 #include <math.h>
50004 #ifdef HAVE_IEEEFP_H
50005 #include <ieeefp.h>
50006 #endif
50009 main ()
50011 expl(0);
50013 return 0;
50015 _ACEOF
50016 if ac_fn_cxx_try_compile "$LINENO"; then :
50017 glibcxx_cv_func_expl_use=yes
50018 else
50019 glibcxx_cv_func_expl_use=no
50021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50022 ac_ext=c
50023 ac_cpp='$CPP $CPPFLAGS'
50024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50033 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50035 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50036 for ac_func in expl
50037 do :
50038 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50039 if test "x$ac_cv_func_expl" = x""yes; then :
50040 cat >>confdefs.h <<_ACEOF
50041 #define HAVE_EXPL 1
50042 _ACEOF
50045 done
50047 else
50049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50050 $as_echo_n "checking for _expl declaration... " >&6; }
50051 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50052 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50053 $as_echo_n "(cached) " >&6
50054 else
50057 ac_ext=cpp
50058 ac_cpp='$CXXCPP $CPPFLAGS'
50059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50064 /* end confdefs.h. */
50065 #include <math.h>
50066 #ifdef HAVE_IEEEFP_H
50067 #include <ieeefp.h>
50068 #endif
50071 main ()
50073 _expl(0);
50075 return 0;
50077 _ACEOF
50078 if ac_fn_cxx_try_compile "$LINENO"; then :
50079 glibcxx_cv_func__expl_use=yes
50080 else
50081 glibcxx_cv_func__expl_use=no
50083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50084 ac_ext=c
50085 ac_cpp='$CPP $CPPFLAGS'
50086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50095 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50097 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50098 for ac_func in _expl
50099 do :
50100 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50101 if test "x$ac_cv_func__expl" = x""yes; then :
50102 cat >>confdefs.h <<_ACEOF
50103 #define HAVE__EXPL 1
50104 _ACEOF
50107 done
50116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50117 $as_echo_n "checking for fabsl declaration... " >&6; }
50118 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50119 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50120 $as_echo_n "(cached) " >&6
50121 else
50124 ac_ext=cpp
50125 ac_cpp='$CXXCPP $CPPFLAGS'
50126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50131 /* end confdefs.h. */
50132 #include <math.h>
50133 #ifdef HAVE_IEEEFP_H
50134 #include <ieeefp.h>
50135 #endif
50138 main ()
50140 fabsl(0);
50142 return 0;
50144 _ACEOF
50145 if ac_fn_cxx_try_compile "$LINENO"; then :
50146 glibcxx_cv_func_fabsl_use=yes
50147 else
50148 glibcxx_cv_func_fabsl_use=no
50150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50151 ac_ext=c
50152 ac_cpp='$CPP $CPPFLAGS'
50153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50162 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50164 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50165 for ac_func in fabsl
50166 do :
50167 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50168 if test "x$ac_cv_func_fabsl" = x""yes; then :
50169 cat >>confdefs.h <<_ACEOF
50170 #define HAVE_FABSL 1
50171 _ACEOF
50174 done
50176 else
50178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50179 $as_echo_n "checking for _fabsl declaration... " >&6; }
50180 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50181 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50182 $as_echo_n "(cached) " >&6
50183 else
50186 ac_ext=cpp
50187 ac_cpp='$CXXCPP $CPPFLAGS'
50188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50193 /* end confdefs.h. */
50194 #include <math.h>
50195 #ifdef HAVE_IEEEFP_H
50196 #include <ieeefp.h>
50197 #endif
50200 main ()
50202 _fabsl(0);
50204 return 0;
50206 _ACEOF
50207 if ac_fn_cxx_try_compile "$LINENO"; then :
50208 glibcxx_cv_func__fabsl_use=yes
50209 else
50210 glibcxx_cv_func__fabsl_use=no
50212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50213 ac_ext=c
50214 ac_cpp='$CPP $CPPFLAGS'
50215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50224 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50226 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50227 for ac_func in _fabsl
50228 do :
50229 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50230 if test "x$ac_cv_func__fabsl" = x""yes; then :
50231 cat >>confdefs.h <<_ACEOF
50232 #define HAVE__FABSL 1
50233 _ACEOF
50236 done
50245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50246 $as_echo_n "checking for fmodl declaration... " >&6; }
50247 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50248 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50249 $as_echo_n "(cached) " >&6
50250 else
50253 ac_ext=cpp
50254 ac_cpp='$CXXCPP $CPPFLAGS'
50255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50260 /* end confdefs.h. */
50261 #include <math.h>
50263 main ()
50265 fmodl(0, 0);
50267 return 0;
50269 _ACEOF
50270 if ac_fn_cxx_try_compile "$LINENO"; then :
50271 glibcxx_cv_func_fmodl_use=yes
50272 else
50273 glibcxx_cv_func_fmodl_use=no
50275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50276 ac_ext=c
50277 ac_cpp='$CPP $CPPFLAGS'
50278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50287 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50289 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50290 for ac_func in fmodl
50291 do :
50292 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50293 if test "x$ac_cv_func_fmodl" = x""yes; then :
50294 cat >>confdefs.h <<_ACEOF
50295 #define HAVE_FMODL 1
50296 _ACEOF
50299 done
50301 else
50303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50304 $as_echo_n "checking for _fmodl declaration... " >&6; }
50305 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50306 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50307 $as_echo_n "(cached) " >&6
50308 else
50311 ac_ext=cpp
50312 ac_cpp='$CXXCPP $CPPFLAGS'
50313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50318 /* end confdefs.h. */
50319 #include <math.h>
50321 main ()
50323 _fmodl(0, 0);
50325 return 0;
50327 _ACEOF
50328 if ac_fn_cxx_try_compile "$LINENO"; then :
50329 glibcxx_cv_func__fmodl_use=yes
50330 else
50331 glibcxx_cv_func__fmodl_use=no
50333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50334 ac_ext=c
50335 ac_cpp='$CPP $CPPFLAGS'
50336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50345 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50347 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50348 for ac_func in _fmodl
50349 do :
50350 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50351 if test "x$ac_cv_func__fmodl" = x""yes; then :
50352 cat >>confdefs.h <<_ACEOF
50353 #define HAVE__FMODL 1
50354 _ACEOF
50357 done
50366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50367 $as_echo_n "checking for frexpl declaration... " >&6; }
50368 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50369 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50370 $as_echo_n "(cached) " >&6
50371 else
50374 ac_ext=cpp
50375 ac_cpp='$CXXCPP $CPPFLAGS'
50376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50381 /* end confdefs.h. */
50382 #include <math.h>
50384 main ()
50386 frexpl(0, 0);
50388 return 0;
50390 _ACEOF
50391 if ac_fn_cxx_try_compile "$LINENO"; then :
50392 glibcxx_cv_func_frexpl_use=yes
50393 else
50394 glibcxx_cv_func_frexpl_use=no
50396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50397 ac_ext=c
50398 ac_cpp='$CPP $CPPFLAGS'
50399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50408 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50410 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50411 for ac_func in frexpl
50412 do :
50413 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50414 if test "x$ac_cv_func_frexpl" = x""yes; then :
50415 cat >>confdefs.h <<_ACEOF
50416 #define HAVE_FREXPL 1
50417 _ACEOF
50420 done
50422 else
50424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50425 $as_echo_n "checking for _frexpl declaration... " >&6; }
50426 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50427 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50428 $as_echo_n "(cached) " >&6
50429 else
50432 ac_ext=cpp
50433 ac_cpp='$CXXCPP $CPPFLAGS'
50434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50439 /* end confdefs.h. */
50440 #include <math.h>
50442 main ()
50444 _frexpl(0, 0);
50446 return 0;
50448 _ACEOF
50449 if ac_fn_cxx_try_compile "$LINENO"; then :
50450 glibcxx_cv_func__frexpl_use=yes
50451 else
50452 glibcxx_cv_func__frexpl_use=no
50454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50455 ac_ext=c
50456 ac_cpp='$CPP $CPPFLAGS'
50457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50466 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50468 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50469 for ac_func in _frexpl
50470 do :
50471 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50472 if test "x$ac_cv_func__frexpl" = x""yes; then :
50473 cat >>confdefs.h <<_ACEOF
50474 #define HAVE__FREXPL 1
50475 _ACEOF
50478 done
50487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50488 $as_echo_n "checking for hypotl declaration... " >&6; }
50489 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50490 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50491 $as_echo_n "(cached) " >&6
50492 else
50495 ac_ext=cpp
50496 ac_cpp='$CXXCPP $CPPFLAGS'
50497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50502 /* end confdefs.h. */
50503 #include <math.h>
50505 main ()
50507 hypotl(0, 0);
50509 return 0;
50511 _ACEOF
50512 if ac_fn_cxx_try_compile "$LINENO"; then :
50513 glibcxx_cv_func_hypotl_use=yes
50514 else
50515 glibcxx_cv_func_hypotl_use=no
50517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50518 ac_ext=c
50519 ac_cpp='$CPP $CPPFLAGS'
50520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50529 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50531 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50532 for ac_func in hypotl
50533 do :
50534 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50535 if test "x$ac_cv_func_hypotl" = x""yes; then :
50536 cat >>confdefs.h <<_ACEOF
50537 #define HAVE_HYPOTL 1
50538 _ACEOF
50541 done
50543 else
50545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50546 $as_echo_n "checking for _hypotl declaration... " >&6; }
50547 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50548 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50549 $as_echo_n "(cached) " >&6
50550 else
50553 ac_ext=cpp
50554 ac_cpp='$CXXCPP $CPPFLAGS'
50555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50560 /* end confdefs.h. */
50561 #include <math.h>
50563 main ()
50565 _hypotl(0, 0);
50567 return 0;
50569 _ACEOF
50570 if ac_fn_cxx_try_compile "$LINENO"; then :
50571 glibcxx_cv_func__hypotl_use=yes
50572 else
50573 glibcxx_cv_func__hypotl_use=no
50575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50576 ac_ext=c
50577 ac_cpp='$CPP $CPPFLAGS'
50578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50587 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50589 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50590 for ac_func in _hypotl
50591 do :
50592 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50593 if test "x$ac_cv_func__hypotl" = x""yes; then :
50594 cat >>confdefs.h <<_ACEOF
50595 #define HAVE__HYPOTL 1
50596 _ACEOF
50599 done
50608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50609 $as_echo_n "checking for ldexpl declaration... " >&6; }
50610 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50611 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50612 $as_echo_n "(cached) " >&6
50613 else
50616 ac_ext=cpp
50617 ac_cpp='$CXXCPP $CPPFLAGS'
50618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50623 /* end confdefs.h. */
50624 #include <math.h>
50626 main ()
50628 ldexpl(0, 0);
50630 return 0;
50632 _ACEOF
50633 if ac_fn_cxx_try_compile "$LINENO"; then :
50634 glibcxx_cv_func_ldexpl_use=yes
50635 else
50636 glibcxx_cv_func_ldexpl_use=no
50638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50639 ac_ext=c
50640 ac_cpp='$CPP $CPPFLAGS'
50641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50650 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50652 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50653 for ac_func in ldexpl
50654 do :
50655 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50656 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50657 cat >>confdefs.h <<_ACEOF
50658 #define HAVE_LDEXPL 1
50659 _ACEOF
50662 done
50664 else
50666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50667 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50668 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50669 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50670 $as_echo_n "(cached) " >&6
50671 else
50674 ac_ext=cpp
50675 ac_cpp='$CXXCPP $CPPFLAGS'
50676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50681 /* end confdefs.h. */
50682 #include <math.h>
50684 main ()
50686 _ldexpl(0, 0);
50688 return 0;
50690 _ACEOF
50691 if ac_fn_cxx_try_compile "$LINENO"; then :
50692 glibcxx_cv_func__ldexpl_use=yes
50693 else
50694 glibcxx_cv_func__ldexpl_use=no
50696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50697 ac_ext=c
50698 ac_cpp='$CPP $CPPFLAGS'
50699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50708 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50710 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50711 for ac_func in _ldexpl
50712 do :
50713 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50714 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50715 cat >>confdefs.h <<_ACEOF
50716 #define HAVE__LDEXPL 1
50717 _ACEOF
50720 done
50729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50730 $as_echo_n "checking for logl declaration... " >&6; }
50731 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50732 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50733 $as_echo_n "(cached) " >&6
50734 else
50737 ac_ext=cpp
50738 ac_cpp='$CXXCPP $CPPFLAGS'
50739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50744 /* end confdefs.h. */
50745 #include <math.h>
50746 #ifdef HAVE_IEEEFP_H
50747 #include <ieeefp.h>
50748 #endif
50751 main ()
50753 logl(0);
50755 return 0;
50757 _ACEOF
50758 if ac_fn_cxx_try_compile "$LINENO"; then :
50759 glibcxx_cv_func_logl_use=yes
50760 else
50761 glibcxx_cv_func_logl_use=no
50763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50764 ac_ext=c
50765 ac_cpp='$CPP $CPPFLAGS'
50766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50775 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50777 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50778 for ac_func in logl
50779 do :
50780 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50781 if test "x$ac_cv_func_logl" = x""yes; then :
50782 cat >>confdefs.h <<_ACEOF
50783 #define HAVE_LOGL 1
50784 _ACEOF
50787 done
50789 else
50791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50792 $as_echo_n "checking for _logl declaration... " >&6; }
50793 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50794 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50795 $as_echo_n "(cached) " >&6
50796 else
50799 ac_ext=cpp
50800 ac_cpp='$CXXCPP $CPPFLAGS'
50801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50806 /* end confdefs.h. */
50807 #include <math.h>
50808 #ifdef HAVE_IEEEFP_H
50809 #include <ieeefp.h>
50810 #endif
50813 main ()
50815 _logl(0);
50817 return 0;
50819 _ACEOF
50820 if ac_fn_cxx_try_compile "$LINENO"; then :
50821 glibcxx_cv_func__logl_use=yes
50822 else
50823 glibcxx_cv_func__logl_use=no
50825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50826 ac_ext=c
50827 ac_cpp='$CPP $CPPFLAGS'
50828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50837 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50839 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50840 for ac_func in _logl
50841 do :
50842 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50843 if test "x$ac_cv_func__logl" = x""yes; then :
50844 cat >>confdefs.h <<_ACEOF
50845 #define HAVE__LOGL 1
50846 _ACEOF
50849 done
50858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50859 $as_echo_n "checking for log10l declaration... " >&6; }
50860 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50861 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50862 $as_echo_n "(cached) " >&6
50863 else
50866 ac_ext=cpp
50867 ac_cpp='$CXXCPP $CPPFLAGS'
50868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50873 /* end confdefs.h. */
50874 #include <math.h>
50875 #ifdef HAVE_IEEEFP_H
50876 #include <ieeefp.h>
50877 #endif
50880 main ()
50882 log10l(0);
50884 return 0;
50886 _ACEOF
50887 if ac_fn_cxx_try_compile "$LINENO"; then :
50888 glibcxx_cv_func_log10l_use=yes
50889 else
50890 glibcxx_cv_func_log10l_use=no
50892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50893 ac_ext=c
50894 ac_cpp='$CPP $CPPFLAGS'
50895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50904 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50906 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50907 for ac_func in log10l
50908 do :
50909 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50910 if test "x$ac_cv_func_log10l" = x""yes; then :
50911 cat >>confdefs.h <<_ACEOF
50912 #define HAVE_LOG10L 1
50913 _ACEOF
50916 done
50918 else
50920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50921 $as_echo_n "checking for _log10l declaration... " >&6; }
50922 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50923 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50924 $as_echo_n "(cached) " >&6
50925 else
50928 ac_ext=cpp
50929 ac_cpp='$CXXCPP $CPPFLAGS'
50930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50935 /* end confdefs.h. */
50936 #include <math.h>
50937 #ifdef HAVE_IEEEFP_H
50938 #include <ieeefp.h>
50939 #endif
50942 main ()
50944 _log10l(0);
50946 return 0;
50948 _ACEOF
50949 if ac_fn_cxx_try_compile "$LINENO"; then :
50950 glibcxx_cv_func__log10l_use=yes
50951 else
50952 glibcxx_cv_func__log10l_use=no
50954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50955 ac_ext=c
50956 ac_cpp='$CPP $CPPFLAGS'
50957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50966 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50968 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50969 for ac_func in _log10l
50970 do :
50971 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50972 if test "x$ac_cv_func__log10l" = x""yes; then :
50973 cat >>confdefs.h <<_ACEOF
50974 #define HAVE__LOG10L 1
50975 _ACEOF
50978 done
50987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50988 $as_echo_n "checking for modfl declaration... " >&6; }
50989 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50990 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50991 $as_echo_n "(cached) " >&6
50992 else
50995 ac_ext=cpp
50996 ac_cpp='$CXXCPP $CPPFLAGS'
50997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51002 /* end confdefs.h. */
51003 #include <math.h>
51005 main ()
51007 modfl(0, 0);
51009 return 0;
51011 _ACEOF
51012 if ac_fn_cxx_try_compile "$LINENO"; then :
51013 glibcxx_cv_func_modfl_use=yes
51014 else
51015 glibcxx_cv_func_modfl_use=no
51017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51018 ac_ext=c
51019 ac_cpp='$CPP $CPPFLAGS'
51020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51029 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51031 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51032 for ac_func in modfl
51033 do :
51034 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51035 if test "x$ac_cv_func_modfl" = x""yes; then :
51036 cat >>confdefs.h <<_ACEOF
51037 #define HAVE_MODFL 1
51038 _ACEOF
51041 done
51043 else
51045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51046 $as_echo_n "checking for _modfl declaration... " >&6; }
51047 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51048 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51049 $as_echo_n "(cached) " >&6
51050 else
51053 ac_ext=cpp
51054 ac_cpp='$CXXCPP $CPPFLAGS'
51055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51060 /* end confdefs.h. */
51061 #include <math.h>
51063 main ()
51065 _modfl(0, 0);
51067 return 0;
51069 _ACEOF
51070 if ac_fn_cxx_try_compile "$LINENO"; then :
51071 glibcxx_cv_func__modfl_use=yes
51072 else
51073 glibcxx_cv_func__modfl_use=no
51075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51076 ac_ext=c
51077 ac_cpp='$CPP $CPPFLAGS'
51078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51087 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51089 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51090 for ac_func in _modfl
51091 do :
51092 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51093 if test "x$ac_cv_func__modfl" = x""yes; then :
51094 cat >>confdefs.h <<_ACEOF
51095 #define HAVE__MODFL 1
51096 _ACEOF
51099 done
51108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51109 $as_echo_n "checking for powl declaration... " >&6; }
51110 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51111 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51112 $as_echo_n "(cached) " >&6
51113 else
51116 ac_ext=cpp
51117 ac_cpp='$CXXCPP $CPPFLAGS'
51118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51123 /* end confdefs.h. */
51124 #include <math.h>
51126 main ()
51128 powl(0, 0);
51130 return 0;
51132 _ACEOF
51133 if ac_fn_cxx_try_compile "$LINENO"; then :
51134 glibcxx_cv_func_powl_use=yes
51135 else
51136 glibcxx_cv_func_powl_use=no
51138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51139 ac_ext=c
51140 ac_cpp='$CPP $CPPFLAGS'
51141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51150 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51152 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51153 for ac_func in powl
51154 do :
51155 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51156 if test "x$ac_cv_func_powl" = x""yes; then :
51157 cat >>confdefs.h <<_ACEOF
51158 #define HAVE_POWL 1
51159 _ACEOF
51162 done
51164 else
51166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51167 $as_echo_n "checking for _powl declaration... " >&6; }
51168 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51169 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51170 $as_echo_n "(cached) " >&6
51171 else
51174 ac_ext=cpp
51175 ac_cpp='$CXXCPP $CPPFLAGS'
51176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51181 /* end confdefs.h. */
51182 #include <math.h>
51184 main ()
51186 _powl(0, 0);
51188 return 0;
51190 _ACEOF
51191 if ac_fn_cxx_try_compile "$LINENO"; then :
51192 glibcxx_cv_func__powl_use=yes
51193 else
51194 glibcxx_cv_func__powl_use=no
51196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51197 ac_ext=c
51198 ac_cpp='$CPP $CPPFLAGS'
51199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51208 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51210 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51211 for ac_func in _powl
51212 do :
51213 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51214 if test "x$ac_cv_func__powl" = x""yes; then :
51215 cat >>confdefs.h <<_ACEOF
51216 #define HAVE__POWL 1
51217 _ACEOF
51220 done
51229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51230 $as_echo_n "checking for sqrtl declaration... " >&6; }
51231 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51232 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51233 $as_echo_n "(cached) " >&6
51234 else
51237 ac_ext=cpp
51238 ac_cpp='$CXXCPP $CPPFLAGS'
51239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51244 /* end confdefs.h. */
51245 #include <math.h>
51246 #ifdef HAVE_IEEEFP_H
51247 #include <ieeefp.h>
51248 #endif
51251 main ()
51253 sqrtl(0);
51255 return 0;
51257 _ACEOF
51258 if ac_fn_cxx_try_compile "$LINENO"; then :
51259 glibcxx_cv_func_sqrtl_use=yes
51260 else
51261 glibcxx_cv_func_sqrtl_use=no
51263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51264 ac_ext=c
51265 ac_cpp='$CPP $CPPFLAGS'
51266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51275 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51277 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51278 for ac_func in sqrtl
51279 do :
51280 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51281 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51282 cat >>confdefs.h <<_ACEOF
51283 #define HAVE_SQRTL 1
51284 _ACEOF
51287 done
51289 else
51291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51292 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51293 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51294 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51295 $as_echo_n "(cached) " >&6
51296 else
51299 ac_ext=cpp
51300 ac_cpp='$CXXCPP $CPPFLAGS'
51301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51306 /* end confdefs.h. */
51307 #include <math.h>
51308 #ifdef HAVE_IEEEFP_H
51309 #include <ieeefp.h>
51310 #endif
51313 main ()
51315 _sqrtl(0);
51317 return 0;
51319 _ACEOF
51320 if ac_fn_cxx_try_compile "$LINENO"; then :
51321 glibcxx_cv_func__sqrtl_use=yes
51322 else
51323 glibcxx_cv_func__sqrtl_use=no
51325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51326 ac_ext=c
51327 ac_cpp='$CPP $CPPFLAGS'
51328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51337 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51339 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51340 for ac_func in _sqrtl
51341 do :
51342 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51343 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51344 cat >>confdefs.h <<_ACEOF
51345 #define HAVE__SQRTL 1
51346 _ACEOF
51349 done
51358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51359 $as_echo_n "checking for sincosl declaration... " >&6; }
51360 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51361 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51362 $as_echo_n "(cached) " >&6
51363 else
51366 ac_ext=cpp
51367 ac_cpp='$CXXCPP $CPPFLAGS'
51368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51373 /* end confdefs.h. */
51374 #include <math.h>
51376 main ()
51378 sincosl(0, 0, 0);
51380 return 0;
51382 _ACEOF
51383 if ac_fn_cxx_try_compile "$LINENO"; then :
51384 glibcxx_cv_func_sincosl_use=yes
51385 else
51386 glibcxx_cv_func_sincosl_use=no
51388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51389 ac_ext=c
51390 ac_cpp='$CPP $CPPFLAGS'
51391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51400 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51402 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51403 for ac_func in sincosl
51404 do :
51405 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51406 if test "x$ac_cv_func_sincosl" = x""yes; then :
51407 cat >>confdefs.h <<_ACEOF
51408 #define HAVE_SINCOSL 1
51409 _ACEOF
51412 done
51414 else
51416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51417 $as_echo_n "checking for _sincosl declaration... " >&6; }
51418 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51419 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51420 $as_echo_n "(cached) " >&6
51421 else
51424 ac_ext=cpp
51425 ac_cpp='$CXXCPP $CPPFLAGS'
51426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51431 /* end confdefs.h. */
51432 #include <math.h>
51434 main ()
51436 _sincosl(0, 0, 0);
51438 return 0;
51440 _ACEOF
51441 if ac_fn_cxx_try_compile "$LINENO"; then :
51442 glibcxx_cv_func__sincosl_use=yes
51443 else
51444 glibcxx_cv_func__sincosl_use=no
51446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51447 ac_ext=c
51448 ac_cpp='$CPP $CPPFLAGS'
51449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51458 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51460 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51461 for ac_func in _sincosl
51462 do :
51463 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51464 if test "x$ac_cv_func__sincosl" = x""yes; then :
51465 cat >>confdefs.h <<_ACEOF
51466 #define HAVE__SINCOSL 1
51467 _ACEOF
51470 done
51479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51480 $as_echo_n "checking for finitel declaration... " >&6; }
51481 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51482 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51483 $as_echo_n "(cached) " >&6
51484 else
51487 ac_ext=cpp
51488 ac_cpp='$CXXCPP $CPPFLAGS'
51489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51494 /* end confdefs.h. */
51495 #include <math.h>
51496 #ifdef HAVE_IEEEFP_H
51497 #include <ieeefp.h>
51498 #endif
51501 main ()
51503 finitel(0);
51505 return 0;
51507 _ACEOF
51508 if ac_fn_cxx_try_compile "$LINENO"; then :
51509 glibcxx_cv_func_finitel_use=yes
51510 else
51511 glibcxx_cv_func_finitel_use=no
51513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51514 ac_ext=c
51515 ac_cpp='$CPP $CPPFLAGS'
51516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51525 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51527 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51528 for ac_func in finitel
51529 do :
51530 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51531 if test "x$ac_cv_func_finitel" = x""yes; then :
51532 cat >>confdefs.h <<_ACEOF
51533 #define HAVE_FINITEL 1
51534 _ACEOF
51537 done
51539 else
51541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51542 $as_echo_n "checking for _finitel declaration... " >&6; }
51543 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51544 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51545 $as_echo_n "(cached) " >&6
51546 else
51549 ac_ext=cpp
51550 ac_cpp='$CXXCPP $CPPFLAGS'
51551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51556 /* end confdefs.h. */
51557 #include <math.h>
51558 #ifdef HAVE_IEEEFP_H
51559 #include <ieeefp.h>
51560 #endif
51563 main ()
51565 _finitel(0);
51567 return 0;
51569 _ACEOF
51570 if ac_fn_cxx_try_compile "$LINENO"; then :
51571 glibcxx_cv_func__finitel_use=yes
51572 else
51573 glibcxx_cv_func__finitel_use=no
51575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51576 ac_ext=c
51577 ac_cpp='$CPP $CPPFLAGS'
51578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51587 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51589 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51590 for ac_func in _finitel
51591 do :
51592 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51593 if test "x$ac_cv_func__finitel" = x""yes; then :
51594 cat >>confdefs.h <<_ACEOF
51595 #define HAVE__FINITEL 1
51596 _ACEOF
51599 done
51607 LIBS="$ac_save_LIBS"
51608 CXXFLAGS="$ac_save_CXXFLAGS"
51611 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51612 ac_save_CXXFLAGS="$CXXFLAGS"
51613 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51617 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51618 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51619 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51620 $as_echo_n "(cached) " >&6
51621 else
51624 ac_ext=cpp
51625 ac_cpp='$CXXCPP $CPPFLAGS'
51626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51631 /* end confdefs.h. */
51632 #include <stdlib.h>
51634 main ()
51636 at_quick_exit(0);
51638 return 0;
51640 _ACEOF
51641 if ac_fn_cxx_try_compile "$LINENO"; then :
51642 glibcxx_cv_func_at_quick_exit_use=yes
51643 else
51644 glibcxx_cv_func_at_quick_exit_use=no
51646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51647 ac_ext=c
51648 ac_cpp='$CPP $CPPFLAGS'
51649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51658 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51659 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51660 for ac_func in at_quick_exit
51661 do :
51662 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51663 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51664 cat >>confdefs.h <<_ACEOF
51665 #define HAVE_AT_QUICK_EXIT 1
51666 _ACEOF
51669 done
51674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51675 $as_echo_n "checking for quick_exit declaration... " >&6; }
51676 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51677 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51678 $as_echo_n "(cached) " >&6
51679 else
51682 ac_ext=cpp
51683 ac_cpp='$CXXCPP $CPPFLAGS'
51684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51689 /* end confdefs.h. */
51690 #include <stdlib.h>
51692 main ()
51694 quick_exit(0);
51696 return 0;
51698 _ACEOF
51699 if ac_fn_cxx_try_compile "$LINENO"; then :
51700 glibcxx_cv_func_quick_exit_use=yes
51701 else
51702 glibcxx_cv_func_quick_exit_use=no
51704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51705 ac_ext=c
51706 ac_cpp='$CPP $CPPFLAGS'
51707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51716 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51717 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51718 for ac_func in quick_exit
51719 do :
51720 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51721 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51722 cat >>confdefs.h <<_ACEOF
51723 #define HAVE_QUICK_EXIT 1
51724 _ACEOF
51727 done
51732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51733 $as_echo_n "checking for strtold declaration... " >&6; }
51734 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51735 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51736 $as_echo_n "(cached) " >&6
51737 else
51740 ac_ext=cpp
51741 ac_cpp='$CXXCPP $CPPFLAGS'
51742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51747 /* end confdefs.h. */
51748 #include <stdlib.h>
51750 main ()
51752 strtold(0, 0);
51754 return 0;
51756 _ACEOF
51757 if ac_fn_cxx_try_compile "$LINENO"; then :
51758 glibcxx_cv_func_strtold_use=yes
51759 else
51760 glibcxx_cv_func_strtold_use=no
51762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51763 ac_ext=c
51764 ac_cpp='$CPP $CPPFLAGS'
51765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51774 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51775 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51776 for ac_func in strtold
51777 do :
51778 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51779 if test "x$ac_cv_func_strtold" = x""yes; then :
51780 cat >>confdefs.h <<_ACEOF
51781 #define HAVE_STRTOLD 1
51782 _ACEOF
51785 done
51792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51793 $as_echo_n "checking for strtof declaration... " >&6; }
51794 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51795 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51796 $as_echo_n "(cached) " >&6
51797 else
51800 ac_ext=cpp
51801 ac_cpp='$CXXCPP $CPPFLAGS'
51802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51807 /* end confdefs.h. */
51808 #include <stdlib.h>
51810 main ()
51812 strtof(0, 0);
51814 return 0;
51816 _ACEOF
51817 if ac_fn_cxx_try_compile "$LINENO"; then :
51818 glibcxx_cv_func_strtof_use=yes
51819 else
51820 glibcxx_cv_func_strtof_use=no
51822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51823 ac_ext=c
51824 ac_cpp='$CPP $CPPFLAGS'
51825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51834 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51835 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51836 for ac_func in strtof
51837 do :
51838 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51839 if test "x$ac_cv_func_strtof" = x""yes; then :
51840 cat >>confdefs.h <<_ACEOF
51841 #define HAVE_STRTOF 1
51842 _ACEOF
51845 done
51852 CXXFLAGS="$ac_save_CXXFLAGS"
51856 *djgpp)
51857 # GLIBCXX_CHECK_MATH_SUPPORT
51858 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51860 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51862 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51864 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51866 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51870 *-freebsd*)
51871 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51874 # If we're not using GNU ld, then there's no point in even trying these
51875 # tests. Check for that first. We should have already tested for gld
51876 # by now (in libtool), but require it now just to be safe...
51877 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51878 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51882 # The name set by libtool depends on the version of libtool. Shame on us
51883 # for depending on an impl detail, but c'est la vie. Older versions used
51884 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51885 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51886 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51887 # set (hence we're using an older libtool), then set it.
51888 if test x${with_gnu_ld+set} != xset; then
51889 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51890 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51891 with_gnu_ld=no
51892 else
51893 with_gnu_ld=$ac_cv_prog_gnu_ld
51897 # Start by getting the version number. I think the libtool test already
51898 # does some of this, but throws away the result.
51899 glibcxx_ld_is_gold=no
51900 if test x"$with_gnu_ld" = x"yes"; then
51901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51902 $as_echo_n "checking for ld version... " >&6; }
51904 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51905 glibcxx_ld_is_gold=yes
51907 ldver=`$LD --version 2>/dev/null |
51908 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'`
51910 glibcxx_gnu_ld_version=`echo $ldver | \
51911 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51913 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51916 # Set --gc-sections.
51917 glibcxx_have_gc_sections=no
51918 if test "$glibcxx_ld_is_gold" = "yes"; then
51919 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51920 glibcxx_have_gc_sections=yes
51922 else
51923 glibcxx_gcsections_min_ld=21602
51924 if test x"$with_gnu_ld" = x"yes" &&
51925 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51926 glibcxx_have_gc_sections=yes
51929 if test "$glibcxx_have_gc_sections" = "yes"; then
51930 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51931 # NB: This flag only works reliably after 2.16.1. Configure tests
51932 # for this are difficult, so hard wire a value that should work.
51934 ac_test_CFLAGS="${CFLAGS+set}"
51935 ac_save_CFLAGS="$CFLAGS"
51936 CFLAGS='-Wl,--gc-sections'
51938 # Check for -Wl,--gc-sections
51939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51940 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51941 if test x$gcc_no_link = xyes; then
51942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51945 /* end confdefs.h. */
51946 int one(void) { return 1; }
51947 int two(void) { return 2; }
51950 main ()
51952 two();
51954 return 0;
51956 _ACEOF
51957 if ac_fn_c_try_link "$LINENO"; then :
51958 ac_gcsections=yes
51959 else
51960 ac_gcsections=no
51962 rm -f core conftest.err conftest.$ac_objext \
51963 conftest$ac_exeext conftest.$ac_ext
51964 if test "$ac_gcsections" = "yes"; then
51965 rm -f conftest.c
51966 touch conftest.c
51967 if $CC -c conftest.c; then
51968 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51969 grep "Warning: gc-sections option ignored" > /dev/null; then
51970 ac_gcsections=no
51973 rm -f conftest.c conftest.o conftest
51975 if test "$ac_gcsections" = "yes"; then
51976 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51979 $as_echo "$ac_gcsections" >&6; }
51981 if test "$ac_test_CFLAGS" = set; then
51982 CFLAGS="$ac_save_CFLAGS"
51983 else
51984 # this is the suspicious part
51985 CFLAGS=''
51989 # Set -z,relro.
51990 # Note this is only for shared objects.
51991 ac_ld_relro=no
51992 if test x"$with_gnu_ld" = x"yes"; then
51993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51994 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51995 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51996 if test -n "$cxx_z_relo"; then
51997 OPT_LDFLAGS="-Wl,-z,relro"
51998 ac_ld_relro=yes
52000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52001 $as_echo "$ac_ld_relro" >&6; }
52004 # Set linker optimization flags.
52005 if test x"$with_gnu_ld" = x"yes"; then
52006 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52012 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52014 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52016 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52018 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52020 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52022 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52024 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52026 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52028 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52031 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52033 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52035 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52037 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52039 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52041 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52043 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52045 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52047 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52049 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52051 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52053 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52055 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52057 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52059 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52061 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52063 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52065 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52067 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52069 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52071 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52073 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52075 if test x"long_double_math_on_this_cpu" = x"yes"; then
52076 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52078 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52080 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52084 *-hpux*)
52085 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52088 # If we're not using GNU ld, then there's no point in even trying these
52089 # tests. Check for that first. We should have already tested for gld
52090 # by now (in libtool), but require it now just to be safe...
52091 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52092 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52096 # The name set by libtool depends on the version of libtool. Shame on us
52097 # for depending on an impl detail, but c'est la vie. Older versions used
52098 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52099 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52100 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52101 # set (hence we're using an older libtool), then set it.
52102 if test x${with_gnu_ld+set} != xset; then
52103 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52104 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52105 with_gnu_ld=no
52106 else
52107 with_gnu_ld=$ac_cv_prog_gnu_ld
52111 # Start by getting the version number. I think the libtool test already
52112 # does some of this, but throws away the result.
52113 glibcxx_ld_is_gold=no
52114 if test x"$with_gnu_ld" = x"yes"; then
52115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52116 $as_echo_n "checking for ld version... " >&6; }
52118 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52119 glibcxx_ld_is_gold=yes
52121 ldver=`$LD --version 2>/dev/null |
52122 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'`
52124 glibcxx_gnu_ld_version=`echo $ldver | \
52125 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52127 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52130 # Set --gc-sections.
52131 glibcxx_have_gc_sections=no
52132 if test "$glibcxx_ld_is_gold" = "yes"; then
52133 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52134 glibcxx_have_gc_sections=yes
52136 else
52137 glibcxx_gcsections_min_ld=21602
52138 if test x"$with_gnu_ld" = x"yes" &&
52139 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52140 glibcxx_have_gc_sections=yes
52143 if test "$glibcxx_have_gc_sections" = "yes"; then
52144 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52145 # NB: This flag only works reliably after 2.16.1. Configure tests
52146 # for this are difficult, so hard wire a value that should work.
52148 ac_test_CFLAGS="${CFLAGS+set}"
52149 ac_save_CFLAGS="$CFLAGS"
52150 CFLAGS='-Wl,--gc-sections'
52152 # Check for -Wl,--gc-sections
52153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52154 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52155 if test x$gcc_no_link = xyes; then
52156 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52159 /* end confdefs.h. */
52160 int one(void) { return 1; }
52161 int two(void) { return 2; }
52164 main ()
52166 two();
52168 return 0;
52170 _ACEOF
52171 if ac_fn_c_try_link "$LINENO"; then :
52172 ac_gcsections=yes
52173 else
52174 ac_gcsections=no
52176 rm -f core conftest.err conftest.$ac_objext \
52177 conftest$ac_exeext conftest.$ac_ext
52178 if test "$ac_gcsections" = "yes"; then
52179 rm -f conftest.c
52180 touch conftest.c
52181 if $CC -c conftest.c; then
52182 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52183 grep "Warning: gc-sections option ignored" > /dev/null; then
52184 ac_gcsections=no
52187 rm -f conftest.c conftest.o conftest
52189 if test "$ac_gcsections" = "yes"; then
52190 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52193 $as_echo "$ac_gcsections" >&6; }
52195 if test "$ac_test_CFLAGS" = set; then
52196 CFLAGS="$ac_save_CFLAGS"
52197 else
52198 # this is the suspicious part
52199 CFLAGS=''
52203 # Set -z,relro.
52204 # Note this is only for shared objects.
52205 ac_ld_relro=no
52206 if test x"$with_gnu_ld" = x"yes"; then
52207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52208 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52209 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52210 if test -n "$cxx_z_relo"; then
52211 OPT_LDFLAGS="-Wl,-z,relro"
52212 ac_ld_relro=yes
52214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52215 $as_echo "$ac_ld_relro" >&6; }
52218 # Set linker optimization flags.
52219 if test x"$with_gnu_ld" = x"yes"; then
52220 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52227 # GLIBCXX_CHECK_MATH_SUPPORT
52228 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52230 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52232 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52234 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52236 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52238 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52240 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52242 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52244 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52246 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52248 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52250 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52252 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52254 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52256 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52258 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52260 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52262 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52264 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52266 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52268 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52271 # GLIBCXX_CHECK_STDLIB_SUPPORT
52272 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52277 # Check whether --enable-tls was given.
52278 if test "${enable_tls+set}" = set; then :
52279 enableval=$enable_tls;
52280 case "$enableval" in
52281 yes|no) ;;
52282 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52283 esac
52285 else
52286 enable_tls=yes
52290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52291 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52292 if test "${gcc_cv_have_tls+set}" = set; then :
52293 $as_echo_n "(cached) " >&6
52294 else
52296 if test "$cross_compiling" = yes; then :
52297 if test x$gcc_no_link = xyes; then
52298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52301 /* end confdefs.h. */
52302 __thread int a; int b; int main() { return a = b; }
52303 _ACEOF
52304 if ac_fn_c_try_link "$LINENO"; then :
52305 chktls_save_LDFLAGS="$LDFLAGS"
52306 case $host in
52307 *-*-linux*)
52308 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52310 esac
52311 chktls_save_CFLAGS="$CFLAGS"
52312 CFLAGS="-fPIC $CFLAGS"
52313 if test x$gcc_no_link = xyes; then
52314 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52317 /* end confdefs.h. */
52318 int f() { return 0; }
52319 _ACEOF
52320 if ac_fn_c_try_link "$LINENO"; then :
52321 if test x$gcc_no_link = xyes; then
52322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52325 /* end confdefs.h. */
52326 __thread int a; int b; int f() { return a = b; }
52327 _ACEOF
52328 if ac_fn_c_try_link "$LINENO"; then :
52329 gcc_cv_have_tls=yes
52330 else
52331 gcc_cv_have_tls=no
52333 rm -f core conftest.err conftest.$ac_objext \
52334 conftest$ac_exeext conftest.$ac_ext
52335 else
52336 gcc_cv_have_tls=yes
52338 rm -f core conftest.err conftest.$ac_objext \
52339 conftest$ac_exeext conftest.$ac_ext
52340 CFLAGS="$chktls_save_CFLAGS"
52341 LDFLAGS="$chktls_save_LDFLAGS"
52342 else
52343 gcc_cv_have_tls=no
52345 rm -f core conftest.err conftest.$ac_objext \
52346 conftest$ac_exeext conftest.$ac_ext
52349 else
52350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52351 /* end confdefs.h. */
52352 __thread int a; int b; int main() { return a = b; }
52353 _ACEOF
52354 if ac_fn_c_try_run "$LINENO"; then :
52355 chktls_save_LDFLAGS="$LDFLAGS"
52356 LDFLAGS="-static $LDFLAGS"
52357 if test x$gcc_no_link = xyes; then
52358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52361 /* end confdefs.h. */
52362 int main() { return 0; }
52363 _ACEOF
52364 if ac_fn_c_try_link "$LINENO"; then :
52365 if test "$cross_compiling" = yes; then :
52366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52368 as_fn_error "cannot run test program while cross compiling
52369 See \`config.log' for more details." "$LINENO" 5; }
52370 else
52371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52372 /* end confdefs.h. */
52373 __thread int a; int b; int main() { return a = b; }
52374 _ACEOF
52375 if ac_fn_c_try_run "$LINENO"; then :
52376 gcc_cv_have_tls=yes
52377 else
52378 gcc_cv_have_tls=no
52380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52381 conftest.$ac_objext conftest.beam conftest.$ac_ext
52384 else
52385 gcc_cv_have_tls=yes
52387 rm -f core conftest.err conftest.$ac_objext \
52388 conftest$ac_exeext conftest.$ac_ext
52389 LDFLAGS="$chktls_save_LDFLAGS"
52390 if test $gcc_cv_have_tls = yes; then
52391 chktls_save_CFLAGS="$CFLAGS"
52392 thread_CFLAGS=failed
52393 for flag in '' '-pthread' '-lpthread'; do
52394 CFLAGS="$flag $chktls_save_CFLAGS"
52395 if test x$gcc_no_link = xyes; then
52396 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52399 /* end confdefs.h. */
52400 #include <pthread.h>
52401 void *g(void *d) { return NULL; }
52403 main ()
52405 pthread_t t; pthread_create(&t,NULL,g,NULL);
52407 return 0;
52409 _ACEOF
52410 if ac_fn_c_try_link "$LINENO"; then :
52411 thread_CFLAGS="$flag"
52413 rm -f core conftest.err conftest.$ac_objext \
52414 conftest$ac_exeext conftest.$ac_ext
52415 if test "X$thread_CFLAGS" != Xfailed; then
52416 break
52418 done
52419 CFLAGS="$chktls_save_CFLAGS"
52420 if test "X$thread_CFLAGS" != Xfailed; then
52421 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52422 if test "$cross_compiling" = yes; then :
52423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52425 as_fn_error "cannot run test program while cross compiling
52426 See \`config.log' for more details." "$LINENO" 5; }
52427 else
52428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52429 /* end confdefs.h. */
52430 #include <pthread.h>
52431 __thread int a;
52432 static int *volatile a_in_other_thread;
52433 static void *
52434 thread_func (void *arg)
52436 a_in_other_thread = &a;
52437 return (void *)0;
52440 main ()
52442 pthread_t thread;
52443 void *thread_retval;
52444 int *volatile a_in_main_thread;
52445 a_in_main_thread = &a;
52446 if (pthread_create (&thread, (pthread_attr_t *)0,
52447 thread_func, (void *)0))
52448 return 0;
52449 if (pthread_join (thread, &thread_retval))
52450 return 0;
52451 return (a_in_other_thread == a_in_main_thread);
52453 return 0;
52455 _ACEOF
52456 if ac_fn_c_try_run "$LINENO"; then :
52457 gcc_cv_have_tls=yes
52458 else
52459 gcc_cv_have_tls=no
52461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52462 conftest.$ac_objext conftest.beam conftest.$ac_ext
52465 CFLAGS="$chktls_save_CFLAGS"
52468 else
52469 gcc_cv_have_tls=no
52471 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52472 conftest.$ac_objext conftest.beam conftest.$ac_ext
52476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52477 $as_echo "$gcc_cv_have_tls" >&6; }
52478 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52480 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52483 case "$target" in
52484 *-hpux10*)
52485 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52487 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52489 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52491 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52493 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52496 esac
52498 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52500 # All these tests are for C++; save the language and the compiler flags.
52501 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52502 # found in GLIBCXX_CONFIGURE.
52504 ac_ext=cpp
52505 ac_cpp='$CXXCPP $CPPFLAGS'
52506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52510 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52511 ac_save_CXXFLAGS="$CXXFLAGS"
52513 # Check for maintainer-mode bits.
52514 if test x"$USE_MAINTAINER_MODE" = xno; then
52515 WERROR=''
52516 else
52517 WERROR='-Werror'
52520 # Check for -ffunction-sections -fdata-sections
52521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52522 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52523 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52525 /* end confdefs.h. */
52526 int foo; void bar() { };
52528 main ()
52532 return 0;
52534 _ACEOF
52535 if ac_fn_cxx_try_compile "$LINENO"; then :
52536 ac_fdsections=yes
52537 else
52538 ac_fdsections=no
52540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52541 if test "$ac_test_CXXFLAGS" = set; then
52542 CXXFLAGS="$ac_save_CXXFLAGS"
52543 else
52544 # this is the suspicious part
52545 CXXFLAGS=''
52547 if test x"$ac_fdsections" = x"yes"; then
52548 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52551 $as_echo "$ac_fdsections" >&6; }
52553 ac_ext=c
52554 ac_cpp='$CPP $CPPFLAGS'
52555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52563 # If we're not using GNU ld, then there's no point in even trying these
52564 # tests. Check for that first. We should have already tested for gld
52565 # by now (in libtool), but require it now just to be safe...
52566 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52567 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52571 # The name set by libtool depends on the version of libtool. Shame on us
52572 # for depending on an impl detail, but c'est la vie. Older versions used
52573 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52574 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52575 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52576 # set (hence we're using an older libtool), then set it.
52577 if test x${with_gnu_ld+set} != xset; then
52578 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52579 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52580 with_gnu_ld=no
52581 else
52582 with_gnu_ld=$ac_cv_prog_gnu_ld
52586 # Start by getting the version number. I think the libtool test already
52587 # does some of this, but throws away the result.
52588 glibcxx_ld_is_gold=no
52589 if test x"$with_gnu_ld" = x"yes"; then
52590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52591 $as_echo_n "checking for ld version... " >&6; }
52593 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52594 glibcxx_ld_is_gold=yes
52596 ldver=`$LD --version 2>/dev/null |
52597 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'`
52599 glibcxx_gnu_ld_version=`echo $ldver | \
52600 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52602 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52605 # Set --gc-sections.
52606 glibcxx_have_gc_sections=no
52607 if test "$glibcxx_ld_is_gold" = "yes"; then
52608 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52609 glibcxx_have_gc_sections=yes
52611 else
52612 glibcxx_gcsections_min_ld=21602
52613 if test x"$with_gnu_ld" = x"yes" &&
52614 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52615 glibcxx_have_gc_sections=yes
52618 if test "$glibcxx_have_gc_sections" = "yes"; then
52619 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52620 # NB: This flag only works reliably after 2.16.1. Configure tests
52621 # for this are difficult, so hard wire a value that should work.
52623 ac_test_CFLAGS="${CFLAGS+set}"
52624 ac_save_CFLAGS="$CFLAGS"
52625 CFLAGS='-Wl,--gc-sections'
52627 # Check for -Wl,--gc-sections
52628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52629 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52630 if test x$gcc_no_link = xyes; then
52631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52634 /* end confdefs.h. */
52635 int one(void) { return 1; }
52636 int two(void) { return 2; }
52639 main ()
52641 two();
52643 return 0;
52645 _ACEOF
52646 if ac_fn_c_try_link "$LINENO"; then :
52647 ac_gcsections=yes
52648 else
52649 ac_gcsections=no
52651 rm -f core conftest.err conftest.$ac_objext \
52652 conftest$ac_exeext conftest.$ac_ext
52653 if test "$ac_gcsections" = "yes"; then
52654 rm -f conftest.c
52655 touch conftest.c
52656 if $CC -c conftest.c; then
52657 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52658 grep "Warning: gc-sections option ignored" > /dev/null; then
52659 ac_gcsections=no
52662 rm -f conftest.c conftest.o conftest
52664 if test "$ac_gcsections" = "yes"; then
52665 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52668 $as_echo "$ac_gcsections" >&6; }
52670 if test "$ac_test_CFLAGS" = set; then
52671 CFLAGS="$ac_save_CFLAGS"
52672 else
52673 # this is the suspicious part
52674 CFLAGS=''
52678 # Set -z,relro.
52679 # Note this is only for shared objects.
52680 ac_ld_relro=no
52681 if test x"$with_gnu_ld" = x"yes"; then
52682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52683 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52684 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52685 if test -n "$cxx_z_relo"; then
52686 OPT_LDFLAGS="-Wl,-z,relro"
52687 ac_ld_relro=yes
52689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52690 $as_echo "$ac_ld_relro" >&6; }
52693 # Set linker optimization flags.
52694 if test x"$with_gnu_ld" = x"yes"; then
52695 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52702 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52703 ac_save_CXXFLAGS="$CXXFLAGS"
52704 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52707 $as_echo_n "checking for sin in -lm... " >&6; }
52708 if test "${ac_cv_lib_m_sin+set}" = set; then :
52709 $as_echo_n "(cached) " >&6
52710 else
52711 ac_check_lib_save_LIBS=$LIBS
52712 LIBS="-lm $LIBS"
52713 if test x$gcc_no_link = xyes; then
52714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52717 /* end confdefs.h. */
52719 /* Override any GCC internal prototype to avoid an error.
52720 Use char because int might match the return type of a GCC
52721 builtin and then its argument prototype would still apply. */
52722 #ifdef __cplusplus
52723 extern "C"
52724 #endif
52725 char sin ();
52727 main ()
52729 return sin ();
52731 return 0;
52733 _ACEOF
52734 if ac_fn_c_try_link "$LINENO"; then :
52735 ac_cv_lib_m_sin=yes
52736 else
52737 ac_cv_lib_m_sin=no
52739 rm -f core conftest.err conftest.$ac_objext \
52740 conftest$ac_exeext conftest.$ac_ext
52741 LIBS=$ac_check_lib_save_LIBS
52743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52744 $as_echo "$ac_cv_lib_m_sin" >&6; }
52745 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52746 libm="-lm"
52749 ac_save_LIBS="$LIBS"
52750 LIBS="$LIBS $libm"
52754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52755 $as_echo_n "checking for isinf declaration... " >&6; }
52756 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52757 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52758 $as_echo_n "(cached) " >&6
52759 else
52762 ac_ext=cpp
52763 ac_cpp='$CXXCPP $CPPFLAGS'
52764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52769 /* end confdefs.h. */
52770 #include <math.h>
52771 #ifdef HAVE_IEEEFP_H
52772 #include <ieeefp.h>
52773 #endif
52776 main ()
52778 isinf(0);
52780 return 0;
52782 _ACEOF
52783 if ac_fn_cxx_try_compile "$LINENO"; then :
52784 glibcxx_cv_func_isinf_use=yes
52785 else
52786 glibcxx_cv_func_isinf_use=no
52788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52789 ac_ext=c
52790 ac_cpp='$CPP $CPPFLAGS'
52791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52800 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52802 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52803 for ac_func in isinf
52804 do :
52805 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52806 if test "x$ac_cv_func_isinf" = x""yes; then :
52807 cat >>confdefs.h <<_ACEOF
52808 #define HAVE_ISINF 1
52809 _ACEOF
52812 done
52814 else
52816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52817 $as_echo_n "checking for _isinf declaration... " >&6; }
52818 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52819 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52820 $as_echo_n "(cached) " >&6
52821 else
52824 ac_ext=cpp
52825 ac_cpp='$CXXCPP $CPPFLAGS'
52826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52831 /* end confdefs.h. */
52832 #include <math.h>
52833 #ifdef HAVE_IEEEFP_H
52834 #include <ieeefp.h>
52835 #endif
52838 main ()
52840 _isinf(0);
52842 return 0;
52844 _ACEOF
52845 if ac_fn_cxx_try_compile "$LINENO"; then :
52846 glibcxx_cv_func__isinf_use=yes
52847 else
52848 glibcxx_cv_func__isinf_use=no
52850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52851 ac_ext=c
52852 ac_cpp='$CPP $CPPFLAGS'
52853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52862 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52864 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52865 for ac_func in _isinf
52866 do :
52867 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52868 if test "x$ac_cv_func__isinf" = x""yes; then :
52869 cat >>confdefs.h <<_ACEOF
52870 #define HAVE__ISINF 1
52871 _ACEOF
52874 done
52883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52884 $as_echo_n "checking for isnan declaration... " >&6; }
52885 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52886 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52887 $as_echo_n "(cached) " >&6
52888 else
52891 ac_ext=cpp
52892 ac_cpp='$CXXCPP $CPPFLAGS'
52893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52898 /* end confdefs.h. */
52899 #include <math.h>
52900 #ifdef HAVE_IEEEFP_H
52901 #include <ieeefp.h>
52902 #endif
52905 main ()
52907 isnan(0);
52909 return 0;
52911 _ACEOF
52912 if ac_fn_cxx_try_compile "$LINENO"; then :
52913 glibcxx_cv_func_isnan_use=yes
52914 else
52915 glibcxx_cv_func_isnan_use=no
52917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52918 ac_ext=c
52919 ac_cpp='$CPP $CPPFLAGS'
52920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52929 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52931 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52932 for ac_func in isnan
52933 do :
52934 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52935 if test "x$ac_cv_func_isnan" = x""yes; then :
52936 cat >>confdefs.h <<_ACEOF
52937 #define HAVE_ISNAN 1
52938 _ACEOF
52941 done
52943 else
52945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52946 $as_echo_n "checking for _isnan declaration... " >&6; }
52947 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52948 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52949 $as_echo_n "(cached) " >&6
52950 else
52953 ac_ext=cpp
52954 ac_cpp='$CXXCPP $CPPFLAGS'
52955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52960 /* end confdefs.h. */
52961 #include <math.h>
52962 #ifdef HAVE_IEEEFP_H
52963 #include <ieeefp.h>
52964 #endif
52967 main ()
52969 _isnan(0);
52971 return 0;
52973 _ACEOF
52974 if ac_fn_cxx_try_compile "$LINENO"; then :
52975 glibcxx_cv_func__isnan_use=yes
52976 else
52977 glibcxx_cv_func__isnan_use=no
52979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52980 ac_ext=c
52981 ac_cpp='$CPP $CPPFLAGS'
52982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52991 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52993 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52994 for ac_func in _isnan
52995 do :
52996 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52997 if test "x$ac_cv_func__isnan" = x""yes; then :
52998 cat >>confdefs.h <<_ACEOF
52999 #define HAVE__ISNAN 1
53000 _ACEOF
53003 done
53012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53013 $as_echo_n "checking for finite declaration... " >&6; }
53014 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53015 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53016 $as_echo_n "(cached) " >&6
53017 else
53020 ac_ext=cpp
53021 ac_cpp='$CXXCPP $CPPFLAGS'
53022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53027 /* end confdefs.h. */
53028 #include <math.h>
53029 #ifdef HAVE_IEEEFP_H
53030 #include <ieeefp.h>
53031 #endif
53034 main ()
53036 finite(0);
53038 return 0;
53040 _ACEOF
53041 if ac_fn_cxx_try_compile "$LINENO"; then :
53042 glibcxx_cv_func_finite_use=yes
53043 else
53044 glibcxx_cv_func_finite_use=no
53046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53047 ac_ext=c
53048 ac_cpp='$CPP $CPPFLAGS'
53049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53058 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53060 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53061 for ac_func in finite
53062 do :
53063 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53064 if test "x$ac_cv_func_finite" = x""yes; then :
53065 cat >>confdefs.h <<_ACEOF
53066 #define HAVE_FINITE 1
53067 _ACEOF
53070 done
53072 else
53074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53075 $as_echo_n "checking for _finite declaration... " >&6; }
53076 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53077 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53078 $as_echo_n "(cached) " >&6
53079 else
53082 ac_ext=cpp
53083 ac_cpp='$CXXCPP $CPPFLAGS'
53084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53089 /* end confdefs.h. */
53090 #include <math.h>
53091 #ifdef HAVE_IEEEFP_H
53092 #include <ieeefp.h>
53093 #endif
53096 main ()
53098 _finite(0);
53100 return 0;
53102 _ACEOF
53103 if ac_fn_cxx_try_compile "$LINENO"; then :
53104 glibcxx_cv_func__finite_use=yes
53105 else
53106 glibcxx_cv_func__finite_use=no
53108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53109 ac_ext=c
53110 ac_cpp='$CPP $CPPFLAGS'
53111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53120 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53122 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53123 for ac_func in _finite
53124 do :
53125 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53126 if test "x$ac_cv_func__finite" = x""yes; then :
53127 cat >>confdefs.h <<_ACEOF
53128 #define HAVE__FINITE 1
53129 _ACEOF
53132 done
53141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53142 $as_echo_n "checking for sincos declaration... " >&6; }
53143 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53144 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53145 $as_echo_n "(cached) " >&6
53146 else
53149 ac_ext=cpp
53150 ac_cpp='$CXXCPP $CPPFLAGS'
53151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53156 /* end confdefs.h. */
53157 #include <math.h>
53159 main ()
53161 sincos(0, 0, 0);
53163 return 0;
53165 _ACEOF
53166 if ac_fn_cxx_try_compile "$LINENO"; then :
53167 glibcxx_cv_func_sincos_use=yes
53168 else
53169 glibcxx_cv_func_sincos_use=no
53171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53172 ac_ext=c
53173 ac_cpp='$CPP $CPPFLAGS'
53174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53183 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53185 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53186 for ac_func in sincos
53187 do :
53188 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53189 if test "x$ac_cv_func_sincos" = x""yes; then :
53190 cat >>confdefs.h <<_ACEOF
53191 #define HAVE_SINCOS 1
53192 _ACEOF
53195 done
53197 else
53199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53200 $as_echo_n "checking for _sincos declaration... " >&6; }
53201 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53202 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53203 $as_echo_n "(cached) " >&6
53204 else
53207 ac_ext=cpp
53208 ac_cpp='$CXXCPP $CPPFLAGS'
53209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53214 /* end confdefs.h. */
53215 #include <math.h>
53217 main ()
53219 _sincos(0, 0, 0);
53221 return 0;
53223 _ACEOF
53224 if ac_fn_cxx_try_compile "$LINENO"; then :
53225 glibcxx_cv_func__sincos_use=yes
53226 else
53227 glibcxx_cv_func__sincos_use=no
53229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53230 ac_ext=c
53231 ac_cpp='$CPP $CPPFLAGS'
53232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53241 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53243 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53244 for ac_func in _sincos
53245 do :
53246 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53247 if test "x$ac_cv_func__sincos" = x""yes; then :
53248 cat >>confdefs.h <<_ACEOF
53249 #define HAVE__SINCOS 1
53250 _ACEOF
53253 done
53262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53263 $as_echo_n "checking for fpclass declaration... " >&6; }
53264 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53265 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53266 $as_echo_n "(cached) " >&6
53267 else
53270 ac_ext=cpp
53271 ac_cpp='$CXXCPP $CPPFLAGS'
53272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53277 /* end confdefs.h. */
53278 #include <math.h>
53279 #ifdef HAVE_IEEEFP_H
53280 #include <ieeefp.h>
53281 #endif
53284 main ()
53286 fpclass(0);
53288 return 0;
53290 _ACEOF
53291 if ac_fn_cxx_try_compile "$LINENO"; then :
53292 glibcxx_cv_func_fpclass_use=yes
53293 else
53294 glibcxx_cv_func_fpclass_use=no
53296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53297 ac_ext=c
53298 ac_cpp='$CPP $CPPFLAGS'
53299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53308 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53310 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53311 for ac_func in fpclass
53312 do :
53313 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53314 if test "x$ac_cv_func_fpclass" = x""yes; then :
53315 cat >>confdefs.h <<_ACEOF
53316 #define HAVE_FPCLASS 1
53317 _ACEOF
53320 done
53322 else
53324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53325 $as_echo_n "checking for _fpclass declaration... " >&6; }
53326 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53327 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53328 $as_echo_n "(cached) " >&6
53329 else
53332 ac_ext=cpp
53333 ac_cpp='$CXXCPP $CPPFLAGS'
53334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53339 /* end confdefs.h. */
53340 #include <math.h>
53341 #ifdef HAVE_IEEEFP_H
53342 #include <ieeefp.h>
53343 #endif
53346 main ()
53348 _fpclass(0);
53350 return 0;
53352 _ACEOF
53353 if ac_fn_cxx_try_compile "$LINENO"; then :
53354 glibcxx_cv_func__fpclass_use=yes
53355 else
53356 glibcxx_cv_func__fpclass_use=no
53358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53359 ac_ext=c
53360 ac_cpp='$CPP $CPPFLAGS'
53361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53370 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53372 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53373 for ac_func in _fpclass
53374 do :
53375 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53376 if test "x$ac_cv_func__fpclass" = x""yes; then :
53377 cat >>confdefs.h <<_ACEOF
53378 #define HAVE__FPCLASS 1
53379 _ACEOF
53382 done
53391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53392 $as_echo_n "checking for qfpclass declaration... " >&6; }
53393 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53394 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53395 $as_echo_n "(cached) " >&6
53396 else
53399 ac_ext=cpp
53400 ac_cpp='$CXXCPP $CPPFLAGS'
53401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53406 /* end confdefs.h. */
53407 #include <math.h>
53408 #ifdef HAVE_IEEEFP_H
53409 #include <ieeefp.h>
53410 #endif
53413 main ()
53415 qfpclass(0);
53417 return 0;
53419 _ACEOF
53420 if ac_fn_cxx_try_compile "$LINENO"; then :
53421 glibcxx_cv_func_qfpclass_use=yes
53422 else
53423 glibcxx_cv_func_qfpclass_use=no
53425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53426 ac_ext=c
53427 ac_cpp='$CPP $CPPFLAGS'
53428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53437 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53439 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53440 for ac_func in qfpclass
53441 do :
53442 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53443 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53444 cat >>confdefs.h <<_ACEOF
53445 #define HAVE_QFPCLASS 1
53446 _ACEOF
53449 done
53451 else
53453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53454 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53455 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53456 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53457 $as_echo_n "(cached) " >&6
53458 else
53461 ac_ext=cpp
53462 ac_cpp='$CXXCPP $CPPFLAGS'
53463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53468 /* end confdefs.h. */
53469 #include <math.h>
53470 #ifdef HAVE_IEEEFP_H
53471 #include <ieeefp.h>
53472 #endif
53475 main ()
53477 _qfpclass(0);
53479 return 0;
53481 _ACEOF
53482 if ac_fn_cxx_try_compile "$LINENO"; then :
53483 glibcxx_cv_func__qfpclass_use=yes
53484 else
53485 glibcxx_cv_func__qfpclass_use=no
53487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53488 ac_ext=c
53489 ac_cpp='$CPP $CPPFLAGS'
53490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53499 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53501 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53502 for ac_func in _qfpclass
53503 do :
53504 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53505 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53506 cat >>confdefs.h <<_ACEOF
53507 #define HAVE__QFPCLASS 1
53508 _ACEOF
53511 done
53520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53521 $as_echo_n "checking for hypot declaration... " >&6; }
53522 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53523 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53524 $as_echo_n "(cached) " >&6
53525 else
53528 ac_ext=cpp
53529 ac_cpp='$CXXCPP $CPPFLAGS'
53530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53535 /* end confdefs.h. */
53536 #include <math.h>
53538 main ()
53540 hypot(0, 0);
53542 return 0;
53544 _ACEOF
53545 if ac_fn_cxx_try_compile "$LINENO"; then :
53546 glibcxx_cv_func_hypot_use=yes
53547 else
53548 glibcxx_cv_func_hypot_use=no
53550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53551 ac_ext=c
53552 ac_cpp='$CPP $CPPFLAGS'
53553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53562 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53564 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53565 for ac_func in hypot
53566 do :
53567 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53568 if test "x$ac_cv_func_hypot" = x""yes; then :
53569 cat >>confdefs.h <<_ACEOF
53570 #define HAVE_HYPOT 1
53571 _ACEOF
53574 done
53576 else
53578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53579 $as_echo_n "checking for _hypot declaration... " >&6; }
53580 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53581 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53582 $as_echo_n "(cached) " >&6
53583 else
53586 ac_ext=cpp
53587 ac_cpp='$CXXCPP $CPPFLAGS'
53588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53593 /* end confdefs.h. */
53594 #include <math.h>
53596 main ()
53598 _hypot(0, 0);
53600 return 0;
53602 _ACEOF
53603 if ac_fn_cxx_try_compile "$LINENO"; then :
53604 glibcxx_cv_func__hypot_use=yes
53605 else
53606 glibcxx_cv_func__hypot_use=no
53608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53609 ac_ext=c
53610 ac_cpp='$CPP $CPPFLAGS'
53611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53620 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53622 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53623 for ac_func in _hypot
53624 do :
53625 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53626 if test "x$ac_cv_func__hypot" = x""yes; then :
53627 cat >>confdefs.h <<_ACEOF
53628 #define HAVE__HYPOT 1
53629 _ACEOF
53632 done
53641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53642 $as_echo_n "checking for float trig functions... " >&6; }
53643 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53644 $as_echo_n "(cached) " >&6
53645 else
53648 ac_ext=cpp
53649 ac_cpp='$CXXCPP $CPPFLAGS'
53650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53655 /* end confdefs.h. */
53656 #include <math.h>
53658 main ()
53660 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53662 return 0;
53664 _ACEOF
53665 if ac_fn_cxx_try_compile "$LINENO"; then :
53666 glibcxx_cv_func_float_trig_use=yes
53667 else
53668 glibcxx_cv_func_float_trig_use=no
53670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53671 ac_ext=c
53672 ac_cpp='$CPP $CPPFLAGS'
53673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53680 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53681 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53682 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53683 do :
53684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53686 eval as_val=\$$as_ac_var
53687 if test "x$as_val" = x""yes; then :
53688 cat >>confdefs.h <<_ACEOF
53689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53690 _ACEOF
53693 done
53695 else
53696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53697 $as_echo_n "checking for _float trig functions... " >&6; }
53698 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53699 $as_echo_n "(cached) " >&6
53700 else
53703 ac_ext=cpp
53704 ac_cpp='$CXXCPP $CPPFLAGS'
53705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53710 /* end confdefs.h. */
53711 #include <math.h>
53713 main ()
53715 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53717 return 0;
53719 _ACEOF
53720 if ac_fn_cxx_try_compile "$LINENO"; then :
53721 glibcxx_cv_func__float_trig_use=yes
53722 else
53723 glibcxx_cv_func__float_trig_use=no
53725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53726 ac_ext=c
53727 ac_cpp='$CPP $CPPFLAGS'
53728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53735 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53736 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53737 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53738 do :
53739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53741 eval as_val=\$$as_ac_var
53742 if test "x$as_val" = x""yes; then :
53743 cat >>confdefs.h <<_ACEOF
53744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53745 _ACEOF
53748 done
53757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53758 $as_echo_n "checking for float round functions... " >&6; }
53759 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53760 $as_echo_n "(cached) " >&6
53761 else
53764 ac_ext=cpp
53765 ac_cpp='$CXXCPP $CPPFLAGS'
53766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53771 /* end confdefs.h. */
53772 #include <math.h>
53774 main ()
53776 ceilf (0); floorf (0);
53778 return 0;
53780 _ACEOF
53781 if ac_fn_cxx_try_compile "$LINENO"; then :
53782 glibcxx_cv_func_float_round_use=yes
53783 else
53784 glibcxx_cv_func_float_round_use=no
53786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53787 ac_ext=c
53788 ac_cpp='$CPP $CPPFLAGS'
53789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53796 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53797 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53798 for ac_func in ceilf floorf
53799 do :
53800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53802 eval as_val=\$$as_ac_var
53803 if test "x$as_val" = x""yes; then :
53804 cat >>confdefs.h <<_ACEOF
53805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53806 _ACEOF
53809 done
53811 else
53812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53813 $as_echo_n "checking for _float round functions... " >&6; }
53814 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53815 $as_echo_n "(cached) " >&6
53816 else
53819 ac_ext=cpp
53820 ac_cpp='$CXXCPP $CPPFLAGS'
53821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53826 /* end confdefs.h. */
53827 #include <math.h>
53829 main ()
53831 _ceilf (0); _floorf (0);
53833 return 0;
53835 _ACEOF
53836 if ac_fn_cxx_try_compile "$LINENO"; then :
53837 glibcxx_cv_func__float_round_use=yes
53838 else
53839 glibcxx_cv_func__float_round_use=no
53841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
53850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53851 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53852 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53853 for ac_func in _ceilf _floorf
53854 do :
53855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53857 eval as_val=\$$as_ac_var
53858 if test "x$as_val" = x""yes; then :
53859 cat >>confdefs.h <<_ACEOF
53860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53861 _ACEOF
53864 done
53874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53875 $as_echo_n "checking for expf declaration... " >&6; }
53876 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53877 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53878 $as_echo_n "(cached) " >&6
53879 else
53882 ac_ext=cpp
53883 ac_cpp='$CXXCPP $CPPFLAGS'
53884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53889 /* end confdefs.h. */
53890 #include <math.h>
53891 #ifdef HAVE_IEEEFP_H
53892 #include <ieeefp.h>
53893 #endif
53896 main ()
53898 expf(0);
53900 return 0;
53902 _ACEOF
53903 if ac_fn_cxx_try_compile "$LINENO"; then :
53904 glibcxx_cv_func_expf_use=yes
53905 else
53906 glibcxx_cv_func_expf_use=no
53908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53909 ac_ext=c
53910 ac_cpp='$CPP $CPPFLAGS'
53911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53920 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53922 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53923 for ac_func in expf
53924 do :
53925 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53926 if test "x$ac_cv_func_expf" = x""yes; then :
53927 cat >>confdefs.h <<_ACEOF
53928 #define HAVE_EXPF 1
53929 _ACEOF
53932 done
53934 else
53936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53937 $as_echo_n "checking for _expf declaration... " >&6; }
53938 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53939 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53940 $as_echo_n "(cached) " >&6
53941 else
53944 ac_ext=cpp
53945 ac_cpp='$CXXCPP $CPPFLAGS'
53946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53951 /* end confdefs.h. */
53952 #include <math.h>
53953 #ifdef HAVE_IEEEFP_H
53954 #include <ieeefp.h>
53955 #endif
53958 main ()
53960 _expf(0);
53962 return 0;
53964 _ACEOF
53965 if ac_fn_cxx_try_compile "$LINENO"; then :
53966 glibcxx_cv_func__expf_use=yes
53967 else
53968 glibcxx_cv_func__expf_use=no
53970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53971 ac_ext=c
53972 ac_cpp='$CPP $CPPFLAGS'
53973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53982 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53984 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53985 for ac_func in _expf
53986 do :
53987 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53988 if test "x$ac_cv_func__expf" = x""yes; then :
53989 cat >>confdefs.h <<_ACEOF
53990 #define HAVE__EXPF 1
53991 _ACEOF
53994 done
54003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54004 $as_echo_n "checking for isnanf declaration... " >&6; }
54005 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54006 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54007 $as_echo_n "(cached) " >&6
54008 else
54011 ac_ext=cpp
54012 ac_cpp='$CXXCPP $CPPFLAGS'
54013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54018 /* end confdefs.h. */
54019 #include <math.h>
54020 #ifdef HAVE_IEEEFP_H
54021 #include <ieeefp.h>
54022 #endif
54025 main ()
54027 isnanf(0);
54029 return 0;
54031 _ACEOF
54032 if ac_fn_cxx_try_compile "$LINENO"; then :
54033 glibcxx_cv_func_isnanf_use=yes
54034 else
54035 glibcxx_cv_func_isnanf_use=no
54037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54038 ac_ext=c
54039 ac_cpp='$CPP $CPPFLAGS'
54040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54049 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54051 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54052 for ac_func in isnanf
54053 do :
54054 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54055 if test "x$ac_cv_func_isnanf" = x""yes; then :
54056 cat >>confdefs.h <<_ACEOF
54057 #define HAVE_ISNANF 1
54058 _ACEOF
54061 done
54063 else
54065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54066 $as_echo_n "checking for _isnanf declaration... " >&6; }
54067 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54068 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54069 $as_echo_n "(cached) " >&6
54070 else
54073 ac_ext=cpp
54074 ac_cpp='$CXXCPP $CPPFLAGS'
54075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54080 /* end confdefs.h. */
54081 #include <math.h>
54082 #ifdef HAVE_IEEEFP_H
54083 #include <ieeefp.h>
54084 #endif
54087 main ()
54089 _isnanf(0);
54091 return 0;
54093 _ACEOF
54094 if ac_fn_cxx_try_compile "$LINENO"; then :
54095 glibcxx_cv_func__isnanf_use=yes
54096 else
54097 glibcxx_cv_func__isnanf_use=no
54099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54100 ac_ext=c
54101 ac_cpp='$CPP $CPPFLAGS'
54102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54111 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54113 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54114 for ac_func in _isnanf
54115 do :
54116 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54117 if test "x$ac_cv_func__isnanf" = x""yes; then :
54118 cat >>confdefs.h <<_ACEOF
54119 #define HAVE__ISNANF 1
54120 _ACEOF
54123 done
54132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54133 $as_echo_n "checking for isinff declaration... " >&6; }
54134 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54135 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54136 $as_echo_n "(cached) " >&6
54137 else
54140 ac_ext=cpp
54141 ac_cpp='$CXXCPP $CPPFLAGS'
54142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54147 /* end confdefs.h. */
54148 #include <math.h>
54149 #ifdef HAVE_IEEEFP_H
54150 #include <ieeefp.h>
54151 #endif
54154 main ()
54156 isinff(0);
54158 return 0;
54160 _ACEOF
54161 if ac_fn_cxx_try_compile "$LINENO"; then :
54162 glibcxx_cv_func_isinff_use=yes
54163 else
54164 glibcxx_cv_func_isinff_use=no
54166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54167 ac_ext=c
54168 ac_cpp='$CPP $CPPFLAGS'
54169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54178 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54180 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54181 for ac_func in isinff
54182 do :
54183 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54184 if test "x$ac_cv_func_isinff" = x""yes; then :
54185 cat >>confdefs.h <<_ACEOF
54186 #define HAVE_ISINFF 1
54187 _ACEOF
54190 done
54192 else
54194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54195 $as_echo_n "checking for _isinff declaration... " >&6; }
54196 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54197 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54198 $as_echo_n "(cached) " >&6
54199 else
54202 ac_ext=cpp
54203 ac_cpp='$CXXCPP $CPPFLAGS'
54204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54209 /* end confdefs.h. */
54210 #include <math.h>
54211 #ifdef HAVE_IEEEFP_H
54212 #include <ieeefp.h>
54213 #endif
54216 main ()
54218 _isinff(0);
54220 return 0;
54222 _ACEOF
54223 if ac_fn_cxx_try_compile "$LINENO"; then :
54224 glibcxx_cv_func__isinff_use=yes
54225 else
54226 glibcxx_cv_func__isinff_use=no
54228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54229 ac_ext=c
54230 ac_cpp='$CPP $CPPFLAGS'
54231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54240 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54242 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54243 for ac_func in _isinff
54244 do :
54245 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54246 if test "x$ac_cv_func__isinff" = x""yes; then :
54247 cat >>confdefs.h <<_ACEOF
54248 #define HAVE__ISINFF 1
54249 _ACEOF
54252 done
54261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54262 $as_echo_n "checking for atan2f declaration... " >&6; }
54263 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54264 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54265 $as_echo_n "(cached) " >&6
54266 else
54269 ac_ext=cpp
54270 ac_cpp='$CXXCPP $CPPFLAGS'
54271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54276 /* end confdefs.h. */
54277 #include <math.h>
54279 main ()
54281 atan2f(0, 0);
54283 return 0;
54285 _ACEOF
54286 if ac_fn_cxx_try_compile "$LINENO"; then :
54287 glibcxx_cv_func_atan2f_use=yes
54288 else
54289 glibcxx_cv_func_atan2f_use=no
54291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54292 ac_ext=c
54293 ac_cpp='$CPP $CPPFLAGS'
54294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54303 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54305 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54306 for ac_func in atan2f
54307 do :
54308 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54309 if test "x$ac_cv_func_atan2f" = x""yes; then :
54310 cat >>confdefs.h <<_ACEOF
54311 #define HAVE_ATAN2F 1
54312 _ACEOF
54315 done
54317 else
54319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54320 $as_echo_n "checking for _atan2f declaration... " >&6; }
54321 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54322 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54323 $as_echo_n "(cached) " >&6
54324 else
54327 ac_ext=cpp
54328 ac_cpp='$CXXCPP $CPPFLAGS'
54329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54334 /* end confdefs.h. */
54335 #include <math.h>
54337 main ()
54339 _atan2f(0, 0);
54341 return 0;
54343 _ACEOF
54344 if ac_fn_cxx_try_compile "$LINENO"; then :
54345 glibcxx_cv_func__atan2f_use=yes
54346 else
54347 glibcxx_cv_func__atan2f_use=no
54349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54350 ac_ext=c
54351 ac_cpp='$CPP $CPPFLAGS'
54352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54361 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54363 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54364 for ac_func in _atan2f
54365 do :
54366 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54367 if test "x$ac_cv_func__atan2f" = x""yes; then :
54368 cat >>confdefs.h <<_ACEOF
54369 #define HAVE__ATAN2F 1
54370 _ACEOF
54373 done
54382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54383 $as_echo_n "checking for fabsf declaration... " >&6; }
54384 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54385 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54386 $as_echo_n "(cached) " >&6
54387 else
54390 ac_ext=cpp
54391 ac_cpp='$CXXCPP $CPPFLAGS'
54392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54397 /* end confdefs.h. */
54398 #include <math.h>
54399 #ifdef HAVE_IEEEFP_H
54400 #include <ieeefp.h>
54401 #endif
54404 main ()
54406 fabsf(0);
54408 return 0;
54410 _ACEOF
54411 if ac_fn_cxx_try_compile "$LINENO"; then :
54412 glibcxx_cv_func_fabsf_use=yes
54413 else
54414 glibcxx_cv_func_fabsf_use=no
54416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54417 ac_ext=c
54418 ac_cpp='$CPP $CPPFLAGS'
54419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54428 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54430 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54431 for ac_func in fabsf
54432 do :
54433 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54434 if test "x$ac_cv_func_fabsf" = x""yes; then :
54435 cat >>confdefs.h <<_ACEOF
54436 #define HAVE_FABSF 1
54437 _ACEOF
54440 done
54442 else
54444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54445 $as_echo_n "checking for _fabsf declaration... " >&6; }
54446 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54447 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54448 $as_echo_n "(cached) " >&6
54449 else
54452 ac_ext=cpp
54453 ac_cpp='$CXXCPP $CPPFLAGS'
54454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54459 /* end confdefs.h. */
54460 #include <math.h>
54461 #ifdef HAVE_IEEEFP_H
54462 #include <ieeefp.h>
54463 #endif
54466 main ()
54468 _fabsf(0);
54470 return 0;
54472 _ACEOF
54473 if ac_fn_cxx_try_compile "$LINENO"; then :
54474 glibcxx_cv_func__fabsf_use=yes
54475 else
54476 glibcxx_cv_func__fabsf_use=no
54478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54479 ac_ext=c
54480 ac_cpp='$CPP $CPPFLAGS'
54481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54490 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54492 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54493 for ac_func in _fabsf
54494 do :
54495 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54496 if test "x$ac_cv_func__fabsf" = x""yes; then :
54497 cat >>confdefs.h <<_ACEOF
54498 #define HAVE__FABSF 1
54499 _ACEOF
54502 done
54511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54512 $as_echo_n "checking for fmodf declaration... " >&6; }
54513 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54514 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54515 $as_echo_n "(cached) " >&6
54516 else
54519 ac_ext=cpp
54520 ac_cpp='$CXXCPP $CPPFLAGS'
54521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54526 /* end confdefs.h. */
54527 #include <math.h>
54529 main ()
54531 fmodf(0, 0);
54533 return 0;
54535 _ACEOF
54536 if ac_fn_cxx_try_compile "$LINENO"; then :
54537 glibcxx_cv_func_fmodf_use=yes
54538 else
54539 glibcxx_cv_func_fmodf_use=no
54541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54542 ac_ext=c
54543 ac_cpp='$CPP $CPPFLAGS'
54544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54553 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54555 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54556 for ac_func in fmodf
54557 do :
54558 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54559 if test "x$ac_cv_func_fmodf" = x""yes; then :
54560 cat >>confdefs.h <<_ACEOF
54561 #define HAVE_FMODF 1
54562 _ACEOF
54565 done
54567 else
54569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54570 $as_echo_n "checking for _fmodf declaration... " >&6; }
54571 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54572 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54573 $as_echo_n "(cached) " >&6
54574 else
54577 ac_ext=cpp
54578 ac_cpp='$CXXCPP $CPPFLAGS'
54579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54584 /* end confdefs.h. */
54585 #include <math.h>
54587 main ()
54589 _fmodf(0, 0);
54591 return 0;
54593 _ACEOF
54594 if ac_fn_cxx_try_compile "$LINENO"; then :
54595 glibcxx_cv_func__fmodf_use=yes
54596 else
54597 glibcxx_cv_func__fmodf_use=no
54599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54600 ac_ext=c
54601 ac_cpp='$CPP $CPPFLAGS'
54602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54611 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54613 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54614 for ac_func in _fmodf
54615 do :
54616 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54617 if test "x$ac_cv_func__fmodf" = x""yes; then :
54618 cat >>confdefs.h <<_ACEOF
54619 #define HAVE__FMODF 1
54620 _ACEOF
54623 done
54632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54633 $as_echo_n "checking for frexpf declaration... " >&6; }
54634 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54635 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54636 $as_echo_n "(cached) " >&6
54637 else
54640 ac_ext=cpp
54641 ac_cpp='$CXXCPP $CPPFLAGS'
54642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54647 /* end confdefs.h. */
54648 #include <math.h>
54650 main ()
54652 frexpf(0, 0);
54654 return 0;
54656 _ACEOF
54657 if ac_fn_cxx_try_compile "$LINENO"; then :
54658 glibcxx_cv_func_frexpf_use=yes
54659 else
54660 glibcxx_cv_func_frexpf_use=no
54662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54663 ac_ext=c
54664 ac_cpp='$CPP $CPPFLAGS'
54665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54674 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54676 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54677 for ac_func in frexpf
54678 do :
54679 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54680 if test "x$ac_cv_func_frexpf" = x""yes; then :
54681 cat >>confdefs.h <<_ACEOF
54682 #define HAVE_FREXPF 1
54683 _ACEOF
54686 done
54688 else
54690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54691 $as_echo_n "checking for _frexpf declaration... " >&6; }
54692 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54693 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54694 $as_echo_n "(cached) " >&6
54695 else
54698 ac_ext=cpp
54699 ac_cpp='$CXXCPP $CPPFLAGS'
54700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54705 /* end confdefs.h. */
54706 #include <math.h>
54708 main ()
54710 _frexpf(0, 0);
54712 return 0;
54714 _ACEOF
54715 if ac_fn_cxx_try_compile "$LINENO"; then :
54716 glibcxx_cv_func__frexpf_use=yes
54717 else
54718 glibcxx_cv_func__frexpf_use=no
54720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54721 ac_ext=c
54722 ac_cpp='$CPP $CPPFLAGS'
54723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54732 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54734 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54735 for ac_func in _frexpf
54736 do :
54737 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54738 if test "x$ac_cv_func__frexpf" = x""yes; then :
54739 cat >>confdefs.h <<_ACEOF
54740 #define HAVE__FREXPF 1
54741 _ACEOF
54744 done
54753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54754 $as_echo_n "checking for hypotf declaration... " >&6; }
54755 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54756 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54757 $as_echo_n "(cached) " >&6
54758 else
54761 ac_ext=cpp
54762 ac_cpp='$CXXCPP $CPPFLAGS'
54763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54768 /* end confdefs.h. */
54769 #include <math.h>
54771 main ()
54773 hypotf(0, 0);
54775 return 0;
54777 _ACEOF
54778 if ac_fn_cxx_try_compile "$LINENO"; then :
54779 glibcxx_cv_func_hypotf_use=yes
54780 else
54781 glibcxx_cv_func_hypotf_use=no
54783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54784 ac_ext=c
54785 ac_cpp='$CPP $CPPFLAGS'
54786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54795 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54797 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54798 for ac_func in hypotf
54799 do :
54800 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54801 if test "x$ac_cv_func_hypotf" = x""yes; then :
54802 cat >>confdefs.h <<_ACEOF
54803 #define HAVE_HYPOTF 1
54804 _ACEOF
54807 done
54809 else
54811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54812 $as_echo_n "checking for _hypotf declaration... " >&6; }
54813 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54814 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54815 $as_echo_n "(cached) " >&6
54816 else
54819 ac_ext=cpp
54820 ac_cpp='$CXXCPP $CPPFLAGS'
54821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54826 /* end confdefs.h. */
54827 #include <math.h>
54829 main ()
54831 _hypotf(0, 0);
54833 return 0;
54835 _ACEOF
54836 if ac_fn_cxx_try_compile "$LINENO"; then :
54837 glibcxx_cv_func__hypotf_use=yes
54838 else
54839 glibcxx_cv_func__hypotf_use=no
54841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54842 ac_ext=c
54843 ac_cpp='$CPP $CPPFLAGS'
54844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54853 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54855 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54856 for ac_func in _hypotf
54857 do :
54858 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54859 if test "x$ac_cv_func__hypotf" = x""yes; then :
54860 cat >>confdefs.h <<_ACEOF
54861 #define HAVE__HYPOTF 1
54862 _ACEOF
54865 done
54874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54875 $as_echo_n "checking for ldexpf declaration... " >&6; }
54876 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54877 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54878 $as_echo_n "(cached) " >&6
54879 else
54882 ac_ext=cpp
54883 ac_cpp='$CXXCPP $CPPFLAGS'
54884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54889 /* end confdefs.h. */
54890 #include <math.h>
54892 main ()
54894 ldexpf(0, 0);
54896 return 0;
54898 _ACEOF
54899 if ac_fn_cxx_try_compile "$LINENO"; then :
54900 glibcxx_cv_func_ldexpf_use=yes
54901 else
54902 glibcxx_cv_func_ldexpf_use=no
54904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54905 ac_ext=c
54906 ac_cpp='$CPP $CPPFLAGS'
54907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54916 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54918 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54919 for ac_func in ldexpf
54920 do :
54921 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54922 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54923 cat >>confdefs.h <<_ACEOF
54924 #define HAVE_LDEXPF 1
54925 _ACEOF
54928 done
54930 else
54932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54933 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54934 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54935 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54936 $as_echo_n "(cached) " >&6
54937 else
54940 ac_ext=cpp
54941 ac_cpp='$CXXCPP $CPPFLAGS'
54942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54947 /* end confdefs.h. */
54948 #include <math.h>
54950 main ()
54952 _ldexpf(0, 0);
54954 return 0;
54956 _ACEOF
54957 if ac_fn_cxx_try_compile "$LINENO"; then :
54958 glibcxx_cv_func__ldexpf_use=yes
54959 else
54960 glibcxx_cv_func__ldexpf_use=no
54962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54963 ac_ext=c
54964 ac_cpp='$CPP $CPPFLAGS'
54965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54974 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54976 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54977 for ac_func in _ldexpf
54978 do :
54979 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54980 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54981 cat >>confdefs.h <<_ACEOF
54982 #define HAVE__LDEXPF 1
54983 _ACEOF
54986 done
54995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54996 $as_echo_n "checking for logf declaration... " >&6; }
54997 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54998 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54999 $as_echo_n "(cached) " >&6
55000 else
55003 ac_ext=cpp
55004 ac_cpp='$CXXCPP $CPPFLAGS'
55005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55010 /* end confdefs.h. */
55011 #include <math.h>
55012 #ifdef HAVE_IEEEFP_H
55013 #include <ieeefp.h>
55014 #endif
55017 main ()
55019 logf(0);
55021 return 0;
55023 _ACEOF
55024 if ac_fn_cxx_try_compile "$LINENO"; then :
55025 glibcxx_cv_func_logf_use=yes
55026 else
55027 glibcxx_cv_func_logf_use=no
55029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55030 ac_ext=c
55031 ac_cpp='$CPP $CPPFLAGS'
55032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55041 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55043 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55044 for ac_func in logf
55045 do :
55046 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55047 if test "x$ac_cv_func_logf" = x""yes; then :
55048 cat >>confdefs.h <<_ACEOF
55049 #define HAVE_LOGF 1
55050 _ACEOF
55053 done
55055 else
55057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55058 $as_echo_n "checking for _logf declaration... " >&6; }
55059 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55060 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55061 $as_echo_n "(cached) " >&6
55062 else
55065 ac_ext=cpp
55066 ac_cpp='$CXXCPP $CPPFLAGS'
55067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55072 /* end confdefs.h. */
55073 #include <math.h>
55074 #ifdef HAVE_IEEEFP_H
55075 #include <ieeefp.h>
55076 #endif
55079 main ()
55081 _logf(0);
55083 return 0;
55085 _ACEOF
55086 if ac_fn_cxx_try_compile "$LINENO"; then :
55087 glibcxx_cv_func__logf_use=yes
55088 else
55089 glibcxx_cv_func__logf_use=no
55091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55092 ac_ext=c
55093 ac_cpp='$CPP $CPPFLAGS'
55094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55103 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55105 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55106 for ac_func in _logf
55107 do :
55108 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55109 if test "x$ac_cv_func__logf" = x""yes; then :
55110 cat >>confdefs.h <<_ACEOF
55111 #define HAVE__LOGF 1
55112 _ACEOF
55115 done
55124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55125 $as_echo_n "checking for log10f declaration... " >&6; }
55126 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55127 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55128 $as_echo_n "(cached) " >&6
55129 else
55132 ac_ext=cpp
55133 ac_cpp='$CXXCPP $CPPFLAGS'
55134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55139 /* end confdefs.h. */
55140 #include <math.h>
55141 #ifdef HAVE_IEEEFP_H
55142 #include <ieeefp.h>
55143 #endif
55146 main ()
55148 log10f(0);
55150 return 0;
55152 _ACEOF
55153 if ac_fn_cxx_try_compile "$LINENO"; then :
55154 glibcxx_cv_func_log10f_use=yes
55155 else
55156 glibcxx_cv_func_log10f_use=no
55158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55159 ac_ext=c
55160 ac_cpp='$CPP $CPPFLAGS'
55161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55170 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55172 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55173 for ac_func in log10f
55174 do :
55175 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55176 if test "x$ac_cv_func_log10f" = x""yes; then :
55177 cat >>confdefs.h <<_ACEOF
55178 #define HAVE_LOG10F 1
55179 _ACEOF
55182 done
55184 else
55186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55187 $as_echo_n "checking for _log10f declaration... " >&6; }
55188 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55189 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55190 $as_echo_n "(cached) " >&6
55191 else
55194 ac_ext=cpp
55195 ac_cpp='$CXXCPP $CPPFLAGS'
55196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55201 /* end confdefs.h. */
55202 #include <math.h>
55203 #ifdef HAVE_IEEEFP_H
55204 #include <ieeefp.h>
55205 #endif
55208 main ()
55210 _log10f(0);
55212 return 0;
55214 _ACEOF
55215 if ac_fn_cxx_try_compile "$LINENO"; then :
55216 glibcxx_cv_func__log10f_use=yes
55217 else
55218 glibcxx_cv_func__log10f_use=no
55220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55221 ac_ext=c
55222 ac_cpp='$CPP $CPPFLAGS'
55223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55232 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55234 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55235 for ac_func in _log10f
55236 do :
55237 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55238 if test "x$ac_cv_func__log10f" = x""yes; then :
55239 cat >>confdefs.h <<_ACEOF
55240 #define HAVE__LOG10F 1
55241 _ACEOF
55244 done
55253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55254 $as_echo_n "checking for modff declaration... " >&6; }
55255 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55256 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55257 $as_echo_n "(cached) " >&6
55258 else
55261 ac_ext=cpp
55262 ac_cpp='$CXXCPP $CPPFLAGS'
55263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55268 /* end confdefs.h. */
55269 #include <math.h>
55271 main ()
55273 modff(0, 0);
55275 return 0;
55277 _ACEOF
55278 if ac_fn_cxx_try_compile "$LINENO"; then :
55279 glibcxx_cv_func_modff_use=yes
55280 else
55281 glibcxx_cv_func_modff_use=no
55283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55284 ac_ext=c
55285 ac_cpp='$CPP $CPPFLAGS'
55286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55295 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55297 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55298 for ac_func in modff
55299 do :
55300 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55301 if test "x$ac_cv_func_modff" = x""yes; then :
55302 cat >>confdefs.h <<_ACEOF
55303 #define HAVE_MODFF 1
55304 _ACEOF
55307 done
55309 else
55311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55312 $as_echo_n "checking for _modff declaration... " >&6; }
55313 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55314 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55315 $as_echo_n "(cached) " >&6
55316 else
55319 ac_ext=cpp
55320 ac_cpp='$CXXCPP $CPPFLAGS'
55321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55326 /* end confdefs.h. */
55327 #include <math.h>
55329 main ()
55331 _modff(0, 0);
55333 return 0;
55335 _ACEOF
55336 if ac_fn_cxx_try_compile "$LINENO"; then :
55337 glibcxx_cv_func__modff_use=yes
55338 else
55339 glibcxx_cv_func__modff_use=no
55341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55342 ac_ext=c
55343 ac_cpp='$CPP $CPPFLAGS'
55344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55353 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55355 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55356 for ac_func in _modff
55357 do :
55358 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55359 if test "x$ac_cv_func__modff" = x""yes; then :
55360 cat >>confdefs.h <<_ACEOF
55361 #define HAVE__MODFF 1
55362 _ACEOF
55365 done
55374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55375 $as_echo_n "checking for modf declaration... " >&6; }
55376 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55377 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55378 $as_echo_n "(cached) " >&6
55379 else
55382 ac_ext=cpp
55383 ac_cpp='$CXXCPP $CPPFLAGS'
55384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55389 /* end confdefs.h. */
55390 #include <math.h>
55392 main ()
55394 modf(0, 0);
55396 return 0;
55398 _ACEOF
55399 if ac_fn_cxx_try_compile "$LINENO"; then :
55400 glibcxx_cv_func_modf_use=yes
55401 else
55402 glibcxx_cv_func_modf_use=no
55404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55405 ac_ext=c
55406 ac_cpp='$CPP $CPPFLAGS'
55407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55416 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55418 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55419 for ac_func in modf
55420 do :
55421 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55422 if test "x$ac_cv_func_modf" = x""yes; then :
55423 cat >>confdefs.h <<_ACEOF
55424 #define HAVE_MODF 1
55425 _ACEOF
55428 done
55430 else
55432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55433 $as_echo_n "checking for _modf declaration... " >&6; }
55434 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55435 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55436 $as_echo_n "(cached) " >&6
55437 else
55440 ac_ext=cpp
55441 ac_cpp='$CXXCPP $CPPFLAGS'
55442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55447 /* end confdefs.h. */
55448 #include <math.h>
55450 main ()
55452 _modf(0, 0);
55454 return 0;
55456 _ACEOF
55457 if ac_fn_cxx_try_compile "$LINENO"; then :
55458 glibcxx_cv_func__modf_use=yes
55459 else
55460 glibcxx_cv_func__modf_use=no
55462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55463 ac_ext=c
55464 ac_cpp='$CPP $CPPFLAGS'
55465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55474 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55476 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55477 for ac_func in _modf
55478 do :
55479 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55480 if test "x$ac_cv_func__modf" = x""yes; then :
55481 cat >>confdefs.h <<_ACEOF
55482 #define HAVE__MODF 1
55483 _ACEOF
55486 done
55495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55496 $as_echo_n "checking for powf declaration... " >&6; }
55497 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55498 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55499 $as_echo_n "(cached) " >&6
55500 else
55503 ac_ext=cpp
55504 ac_cpp='$CXXCPP $CPPFLAGS'
55505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55510 /* end confdefs.h. */
55511 #include <math.h>
55513 main ()
55515 powf(0, 0);
55517 return 0;
55519 _ACEOF
55520 if ac_fn_cxx_try_compile "$LINENO"; then :
55521 glibcxx_cv_func_powf_use=yes
55522 else
55523 glibcxx_cv_func_powf_use=no
55525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55526 ac_ext=c
55527 ac_cpp='$CPP $CPPFLAGS'
55528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55537 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55539 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55540 for ac_func in powf
55541 do :
55542 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55543 if test "x$ac_cv_func_powf" = x""yes; then :
55544 cat >>confdefs.h <<_ACEOF
55545 #define HAVE_POWF 1
55546 _ACEOF
55549 done
55551 else
55553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55554 $as_echo_n "checking for _powf declaration... " >&6; }
55555 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55556 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55557 $as_echo_n "(cached) " >&6
55558 else
55561 ac_ext=cpp
55562 ac_cpp='$CXXCPP $CPPFLAGS'
55563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55568 /* end confdefs.h. */
55569 #include <math.h>
55571 main ()
55573 _powf(0, 0);
55575 return 0;
55577 _ACEOF
55578 if ac_fn_cxx_try_compile "$LINENO"; then :
55579 glibcxx_cv_func__powf_use=yes
55580 else
55581 glibcxx_cv_func__powf_use=no
55583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55584 ac_ext=c
55585 ac_cpp='$CPP $CPPFLAGS'
55586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55595 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55597 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55598 for ac_func in _powf
55599 do :
55600 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55601 if test "x$ac_cv_func__powf" = x""yes; then :
55602 cat >>confdefs.h <<_ACEOF
55603 #define HAVE__POWF 1
55604 _ACEOF
55607 done
55616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55617 $as_echo_n "checking for sqrtf declaration... " >&6; }
55618 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55619 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55620 $as_echo_n "(cached) " >&6
55621 else
55624 ac_ext=cpp
55625 ac_cpp='$CXXCPP $CPPFLAGS'
55626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55631 /* end confdefs.h. */
55632 #include <math.h>
55633 #ifdef HAVE_IEEEFP_H
55634 #include <ieeefp.h>
55635 #endif
55638 main ()
55640 sqrtf(0);
55642 return 0;
55644 _ACEOF
55645 if ac_fn_cxx_try_compile "$LINENO"; then :
55646 glibcxx_cv_func_sqrtf_use=yes
55647 else
55648 glibcxx_cv_func_sqrtf_use=no
55650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55651 ac_ext=c
55652 ac_cpp='$CPP $CPPFLAGS'
55653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55662 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55664 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55665 for ac_func in sqrtf
55666 do :
55667 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55668 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55669 cat >>confdefs.h <<_ACEOF
55670 #define HAVE_SQRTF 1
55671 _ACEOF
55674 done
55676 else
55678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55679 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55680 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55681 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55682 $as_echo_n "(cached) " >&6
55683 else
55686 ac_ext=cpp
55687 ac_cpp='$CXXCPP $CPPFLAGS'
55688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55693 /* end confdefs.h. */
55694 #include <math.h>
55695 #ifdef HAVE_IEEEFP_H
55696 #include <ieeefp.h>
55697 #endif
55700 main ()
55702 _sqrtf(0);
55704 return 0;
55706 _ACEOF
55707 if ac_fn_cxx_try_compile "$LINENO"; then :
55708 glibcxx_cv_func__sqrtf_use=yes
55709 else
55710 glibcxx_cv_func__sqrtf_use=no
55712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55713 ac_ext=c
55714 ac_cpp='$CPP $CPPFLAGS'
55715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55724 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55726 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55727 for ac_func in _sqrtf
55728 do :
55729 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55730 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55731 cat >>confdefs.h <<_ACEOF
55732 #define HAVE__SQRTF 1
55733 _ACEOF
55736 done
55745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55746 $as_echo_n "checking for sincosf declaration... " >&6; }
55747 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55748 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55749 $as_echo_n "(cached) " >&6
55750 else
55753 ac_ext=cpp
55754 ac_cpp='$CXXCPP $CPPFLAGS'
55755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55760 /* end confdefs.h. */
55761 #include <math.h>
55763 main ()
55765 sincosf(0, 0, 0);
55767 return 0;
55769 _ACEOF
55770 if ac_fn_cxx_try_compile "$LINENO"; then :
55771 glibcxx_cv_func_sincosf_use=yes
55772 else
55773 glibcxx_cv_func_sincosf_use=no
55775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55776 ac_ext=c
55777 ac_cpp='$CPP $CPPFLAGS'
55778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55787 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55789 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55790 for ac_func in sincosf
55791 do :
55792 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55793 if test "x$ac_cv_func_sincosf" = x""yes; then :
55794 cat >>confdefs.h <<_ACEOF
55795 #define HAVE_SINCOSF 1
55796 _ACEOF
55799 done
55801 else
55803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55804 $as_echo_n "checking for _sincosf declaration... " >&6; }
55805 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55806 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55807 $as_echo_n "(cached) " >&6
55808 else
55811 ac_ext=cpp
55812 ac_cpp='$CXXCPP $CPPFLAGS'
55813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55818 /* end confdefs.h. */
55819 #include <math.h>
55821 main ()
55823 _sincosf(0, 0, 0);
55825 return 0;
55827 _ACEOF
55828 if ac_fn_cxx_try_compile "$LINENO"; then :
55829 glibcxx_cv_func__sincosf_use=yes
55830 else
55831 glibcxx_cv_func__sincosf_use=no
55833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55834 ac_ext=c
55835 ac_cpp='$CPP $CPPFLAGS'
55836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55845 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55847 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55848 for ac_func in _sincosf
55849 do :
55850 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55851 if test "x$ac_cv_func__sincosf" = x""yes; then :
55852 cat >>confdefs.h <<_ACEOF
55853 #define HAVE__SINCOSF 1
55854 _ACEOF
55857 done
55866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55867 $as_echo_n "checking for finitef declaration... " >&6; }
55868 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55869 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55870 $as_echo_n "(cached) " >&6
55871 else
55874 ac_ext=cpp
55875 ac_cpp='$CXXCPP $CPPFLAGS'
55876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55881 /* end confdefs.h. */
55882 #include <math.h>
55883 #ifdef HAVE_IEEEFP_H
55884 #include <ieeefp.h>
55885 #endif
55888 main ()
55890 finitef(0);
55892 return 0;
55894 _ACEOF
55895 if ac_fn_cxx_try_compile "$LINENO"; then :
55896 glibcxx_cv_func_finitef_use=yes
55897 else
55898 glibcxx_cv_func_finitef_use=no
55900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55901 ac_ext=c
55902 ac_cpp='$CPP $CPPFLAGS'
55903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55912 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55914 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55915 for ac_func in finitef
55916 do :
55917 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55918 if test "x$ac_cv_func_finitef" = x""yes; then :
55919 cat >>confdefs.h <<_ACEOF
55920 #define HAVE_FINITEF 1
55921 _ACEOF
55924 done
55926 else
55928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55929 $as_echo_n "checking for _finitef declaration... " >&6; }
55930 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55931 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55932 $as_echo_n "(cached) " >&6
55933 else
55936 ac_ext=cpp
55937 ac_cpp='$CXXCPP $CPPFLAGS'
55938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55943 /* end confdefs.h. */
55944 #include <math.h>
55945 #ifdef HAVE_IEEEFP_H
55946 #include <ieeefp.h>
55947 #endif
55950 main ()
55952 _finitef(0);
55954 return 0;
55956 _ACEOF
55957 if ac_fn_cxx_try_compile "$LINENO"; then :
55958 glibcxx_cv_func__finitef_use=yes
55959 else
55960 glibcxx_cv_func__finitef_use=no
55962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55963 ac_ext=c
55964 ac_cpp='$CPP $CPPFLAGS'
55965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55974 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55976 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55977 for ac_func in _finitef
55978 do :
55979 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55980 if test "x$ac_cv_func__finitef" = x""yes; then :
55981 cat >>confdefs.h <<_ACEOF
55982 #define HAVE__FINITEF 1
55983 _ACEOF
55986 done
55995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55996 $as_echo_n "checking for long double trig functions... " >&6; }
55997 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55998 $as_echo_n "(cached) " >&6
55999 else
56002 ac_ext=cpp
56003 ac_cpp='$CXXCPP $CPPFLAGS'
56004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56009 /* end confdefs.h. */
56010 #include <math.h>
56012 main ()
56014 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56016 return 0;
56018 _ACEOF
56019 if ac_fn_cxx_try_compile "$LINENO"; then :
56020 glibcxx_cv_func_long_double_trig_use=yes
56021 else
56022 glibcxx_cv_func_long_double_trig_use=no
56024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56025 ac_ext=c
56026 ac_cpp='$CPP $CPPFLAGS'
56027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56034 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56035 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56036 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56037 do :
56038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56040 eval as_val=\$$as_ac_var
56041 if test "x$as_val" = x""yes; then :
56042 cat >>confdefs.h <<_ACEOF
56043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56044 _ACEOF
56047 done
56049 else
56050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56051 $as_echo_n "checking for _long double trig functions... " >&6; }
56052 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56053 $as_echo_n "(cached) " >&6
56054 else
56057 ac_ext=cpp
56058 ac_cpp='$CXXCPP $CPPFLAGS'
56059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56064 /* end confdefs.h. */
56065 #include <math.h>
56067 main ()
56069 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56071 return 0;
56073 _ACEOF
56074 if ac_fn_cxx_try_compile "$LINENO"; then :
56075 glibcxx_cv_func__long_double_trig_use=yes
56076 else
56077 glibcxx_cv_func__long_double_trig_use=no
56079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56080 ac_ext=c
56081 ac_cpp='$CPP $CPPFLAGS'
56082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56089 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56090 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56091 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56092 do :
56093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56095 eval as_val=\$$as_ac_var
56096 if test "x$as_val" = x""yes; then :
56097 cat >>confdefs.h <<_ACEOF
56098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56099 _ACEOF
56102 done
56111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56112 $as_echo_n "checking for long double round functions... " >&6; }
56113 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56114 $as_echo_n "(cached) " >&6
56115 else
56118 ac_ext=cpp
56119 ac_cpp='$CXXCPP $CPPFLAGS'
56120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56125 /* end confdefs.h. */
56126 #include <math.h>
56128 main ()
56130 ceill (0); floorl (0);
56132 return 0;
56134 _ACEOF
56135 if ac_fn_cxx_try_compile "$LINENO"; then :
56136 glibcxx_cv_func_long_double_round_use=yes
56137 else
56138 glibcxx_cv_func_long_double_round_use=no
56140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56141 ac_ext=c
56142 ac_cpp='$CPP $CPPFLAGS'
56143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56150 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56151 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56152 for ac_func in ceill floorl
56153 do :
56154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56156 eval as_val=\$$as_ac_var
56157 if test "x$as_val" = x""yes; then :
56158 cat >>confdefs.h <<_ACEOF
56159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56160 _ACEOF
56163 done
56165 else
56166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56167 $as_echo_n "checking for _long double round functions... " >&6; }
56168 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56169 $as_echo_n "(cached) " >&6
56170 else
56173 ac_ext=cpp
56174 ac_cpp='$CXXCPP $CPPFLAGS'
56175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56180 /* end confdefs.h. */
56181 #include <math.h>
56183 main ()
56185 _ceill (0); _floorl (0);
56187 return 0;
56189 _ACEOF
56190 if ac_fn_cxx_try_compile "$LINENO"; then :
56191 glibcxx_cv_func__long_double_round_use=yes
56192 else
56193 glibcxx_cv_func__long_double_round_use=no
56195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56196 ac_ext=c
56197 ac_cpp='$CPP $CPPFLAGS'
56198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56205 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56206 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56207 for ac_func in _ceill _floorl
56208 do :
56209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56211 eval as_val=\$$as_ac_var
56212 if test "x$as_val" = x""yes; then :
56213 cat >>confdefs.h <<_ACEOF
56214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56215 _ACEOF
56218 done
56228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56229 $as_echo_n "checking for isnanl declaration... " >&6; }
56230 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56231 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56232 $as_echo_n "(cached) " >&6
56233 else
56236 ac_ext=cpp
56237 ac_cpp='$CXXCPP $CPPFLAGS'
56238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56243 /* end confdefs.h. */
56244 #include <math.h>
56245 #ifdef HAVE_IEEEFP_H
56246 #include <ieeefp.h>
56247 #endif
56250 main ()
56252 isnanl(0);
56254 return 0;
56256 _ACEOF
56257 if ac_fn_cxx_try_compile "$LINENO"; then :
56258 glibcxx_cv_func_isnanl_use=yes
56259 else
56260 glibcxx_cv_func_isnanl_use=no
56262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56263 ac_ext=c
56264 ac_cpp='$CPP $CPPFLAGS'
56265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56274 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56276 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56277 for ac_func in isnanl
56278 do :
56279 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56280 if test "x$ac_cv_func_isnanl" = x""yes; then :
56281 cat >>confdefs.h <<_ACEOF
56282 #define HAVE_ISNANL 1
56283 _ACEOF
56286 done
56288 else
56290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56291 $as_echo_n "checking for _isnanl declaration... " >&6; }
56292 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56293 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56294 $as_echo_n "(cached) " >&6
56295 else
56298 ac_ext=cpp
56299 ac_cpp='$CXXCPP $CPPFLAGS'
56300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56305 /* end confdefs.h. */
56306 #include <math.h>
56307 #ifdef HAVE_IEEEFP_H
56308 #include <ieeefp.h>
56309 #endif
56312 main ()
56314 _isnanl(0);
56316 return 0;
56318 _ACEOF
56319 if ac_fn_cxx_try_compile "$LINENO"; then :
56320 glibcxx_cv_func__isnanl_use=yes
56321 else
56322 glibcxx_cv_func__isnanl_use=no
56324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56325 ac_ext=c
56326 ac_cpp='$CPP $CPPFLAGS'
56327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56336 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56338 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56339 for ac_func in _isnanl
56340 do :
56341 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56342 if test "x$ac_cv_func__isnanl" = x""yes; then :
56343 cat >>confdefs.h <<_ACEOF
56344 #define HAVE__ISNANL 1
56345 _ACEOF
56348 done
56357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56358 $as_echo_n "checking for isinfl declaration... " >&6; }
56359 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56360 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56361 $as_echo_n "(cached) " >&6
56362 else
56365 ac_ext=cpp
56366 ac_cpp='$CXXCPP $CPPFLAGS'
56367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56372 /* end confdefs.h. */
56373 #include <math.h>
56374 #ifdef HAVE_IEEEFP_H
56375 #include <ieeefp.h>
56376 #endif
56379 main ()
56381 isinfl(0);
56383 return 0;
56385 _ACEOF
56386 if ac_fn_cxx_try_compile "$LINENO"; then :
56387 glibcxx_cv_func_isinfl_use=yes
56388 else
56389 glibcxx_cv_func_isinfl_use=no
56391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56392 ac_ext=c
56393 ac_cpp='$CPP $CPPFLAGS'
56394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56403 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56405 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56406 for ac_func in isinfl
56407 do :
56408 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56409 if test "x$ac_cv_func_isinfl" = x""yes; then :
56410 cat >>confdefs.h <<_ACEOF
56411 #define HAVE_ISINFL 1
56412 _ACEOF
56415 done
56417 else
56419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56420 $as_echo_n "checking for _isinfl declaration... " >&6; }
56421 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56422 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56423 $as_echo_n "(cached) " >&6
56424 else
56427 ac_ext=cpp
56428 ac_cpp='$CXXCPP $CPPFLAGS'
56429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56434 /* end confdefs.h. */
56435 #include <math.h>
56436 #ifdef HAVE_IEEEFP_H
56437 #include <ieeefp.h>
56438 #endif
56441 main ()
56443 _isinfl(0);
56445 return 0;
56447 _ACEOF
56448 if ac_fn_cxx_try_compile "$LINENO"; then :
56449 glibcxx_cv_func__isinfl_use=yes
56450 else
56451 glibcxx_cv_func__isinfl_use=no
56453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56454 ac_ext=c
56455 ac_cpp='$CPP $CPPFLAGS'
56456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56465 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56467 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56468 for ac_func in _isinfl
56469 do :
56470 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56471 if test "x$ac_cv_func__isinfl" = x""yes; then :
56472 cat >>confdefs.h <<_ACEOF
56473 #define HAVE__ISINFL 1
56474 _ACEOF
56477 done
56486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56487 $as_echo_n "checking for atan2l declaration... " >&6; }
56488 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56489 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56490 $as_echo_n "(cached) " >&6
56491 else
56494 ac_ext=cpp
56495 ac_cpp='$CXXCPP $CPPFLAGS'
56496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56501 /* end confdefs.h. */
56502 #include <math.h>
56504 main ()
56506 atan2l(0, 0);
56508 return 0;
56510 _ACEOF
56511 if ac_fn_cxx_try_compile "$LINENO"; then :
56512 glibcxx_cv_func_atan2l_use=yes
56513 else
56514 glibcxx_cv_func_atan2l_use=no
56516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56517 ac_ext=c
56518 ac_cpp='$CPP $CPPFLAGS'
56519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56528 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56530 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56531 for ac_func in atan2l
56532 do :
56533 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56534 if test "x$ac_cv_func_atan2l" = x""yes; then :
56535 cat >>confdefs.h <<_ACEOF
56536 #define HAVE_ATAN2L 1
56537 _ACEOF
56540 done
56542 else
56544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56545 $as_echo_n "checking for _atan2l declaration... " >&6; }
56546 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56547 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56548 $as_echo_n "(cached) " >&6
56549 else
56552 ac_ext=cpp
56553 ac_cpp='$CXXCPP $CPPFLAGS'
56554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56559 /* end confdefs.h. */
56560 #include <math.h>
56562 main ()
56564 _atan2l(0, 0);
56566 return 0;
56568 _ACEOF
56569 if ac_fn_cxx_try_compile "$LINENO"; then :
56570 glibcxx_cv_func__atan2l_use=yes
56571 else
56572 glibcxx_cv_func__atan2l_use=no
56574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56575 ac_ext=c
56576 ac_cpp='$CPP $CPPFLAGS'
56577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56586 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56588 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56589 for ac_func in _atan2l
56590 do :
56591 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56592 if test "x$ac_cv_func__atan2l" = x""yes; then :
56593 cat >>confdefs.h <<_ACEOF
56594 #define HAVE__ATAN2L 1
56595 _ACEOF
56598 done
56607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56608 $as_echo_n "checking for expl declaration... " >&6; }
56609 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56610 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56611 $as_echo_n "(cached) " >&6
56612 else
56615 ac_ext=cpp
56616 ac_cpp='$CXXCPP $CPPFLAGS'
56617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56622 /* end confdefs.h. */
56623 #include <math.h>
56624 #ifdef HAVE_IEEEFP_H
56625 #include <ieeefp.h>
56626 #endif
56629 main ()
56631 expl(0);
56633 return 0;
56635 _ACEOF
56636 if ac_fn_cxx_try_compile "$LINENO"; then :
56637 glibcxx_cv_func_expl_use=yes
56638 else
56639 glibcxx_cv_func_expl_use=no
56641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56642 ac_ext=c
56643 ac_cpp='$CPP $CPPFLAGS'
56644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56653 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56655 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56656 for ac_func in expl
56657 do :
56658 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56659 if test "x$ac_cv_func_expl" = x""yes; then :
56660 cat >>confdefs.h <<_ACEOF
56661 #define HAVE_EXPL 1
56662 _ACEOF
56665 done
56667 else
56669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56670 $as_echo_n "checking for _expl declaration... " >&6; }
56671 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56672 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56673 $as_echo_n "(cached) " >&6
56674 else
56677 ac_ext=cpp
56678 ac_cpp='$CXXCPP $CPPFLAGS'
56679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56684 /* end confdefs.h. */
56685 #include <math.h>
56686 #ifdef HAVE_IEEEFP_H
56687 #include <ieeefp.h>
56688 #endif
56691 main ()
56693 _expl(0);
56695 return 0;
56697 _ACEOF
56698 if ac_fn_cxx_try_compile "$LINENO"; then :
56699 glibcxx_cv_func__expl_use=yes
56700 else
56701 glibcxx_cv_func__expl_use=no
56703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56704 ac_ext=c
56705 ac_cpp='$CPP $CPPFLAGS'
56706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56715 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56717 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56718 for ac_func in _expl
56719 do :
56720 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56721 if test "x$ac_cv_func__expl" = x""yes; then :
56722 cat >>confdefs.h <<_ACEOF
56723 #define HAVE__EXPL 1
56724 _ACEOF
56727 done
56736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56737 $as_echo_n "checking for fabsl declaration... " >&6; }
56738 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56739 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56740 $as_echo_n "(cached) " >&6
56741 else
56744 ac_ext=cpp
56745 ac_cpp='$CXXCPP $CPPFLAGS'
56746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56751 /* end confdefs.h. */
56752 #include <math.h>
56753 #ifdef HAVE_IEEEFP_H
56754 #include <ieeefp.h>
56755 #endif
56758 main ()
56760 fabsl(0);
56762 return 0;
56764 _ACEOF
56765 if ac_fn_cxx_try_compile "$LINENO"; then :
56766 glibcxx_cv_func_fabsl_use=yes
56767 else
56768 glibcxx_cv_func_fabsl_use=no
56770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56771 ac_ext=c
56772 ac_cpp='$CPP $CPPFLAGS'
56773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56782 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56784 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56785 for ac_func in fabsl
56786 do :
56787 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56788 if test "x$ac_cv_func_fabsl" = x""yes; then :
56789 cat >>confdefs.h <<_ACEOF
56790 #define HAVE_FABSL 1
56791 _ACEOF
56794 done
56796 else
56798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56799 $as_echo_n "checking for _fabsl declaration... " >&6; }
56800 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56801 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56802 $as_echo_n "(cached) " >&6
56803 else
56806 ac_ext=cpp
56807 ac_cpp='$CXXCPP $CPPFLAGS'
56808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56813 /* end confdefs.h. */
56814 #include <math.h>
56815 #ifdef HAVE_IEEEFP_H
56816 #include <ieeefp.h>
56817 #endif
56820 main ()
56822 _fabsl(0);
56824 return 0;
56826 _ACEOF
56827 if ac_fn_cxx_try_compile "$LINENO"; then :
56828 glibcxx_cv_func__fabsl_use=yes
56829 else
56830 glibcxx_cv_func__fabsl_use=no
56832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56833 ac_ext=c
56834 ac_cpp='$CPP $CPPFLAGS'
56835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56844 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56846 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56847 for ac_func in _fabsl
56848 do :
56849 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56850 if test "x$ac_cv_func__fabsl" = x""yes; then :
56851 cat >>confdefs.h <<_ACEOF
56852 #define HAVE__FABSL 1
56853 _ACEOF
56856 done
56865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56866 $as_echo_n "checking for fmodl declaration... " >&6; }
56867 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56868 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56869 $as_echo_n "(cached) " >&6
56870 else
56873 ac_ext=cpp
56874 ac_cpp='$CXXCPP $CPPFLAGS'
56875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56880 /* end confdefs.h. */
56881 #include <math.h>
56883 main ()
56885 fmodl(0, 0);
56887 return 0;
56889 _ACEOF
56890 if ac_fn_cxx_try_compile "$LINENO"; then :
56891 glibcxx_cv_func_fmodl_use=yes
56892 else
56893 glibcxx_cv_func_fmodl_use=no
56895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56896 ac_ext=c
56897 ac_cpp='$CPP $CPPFLAGS'
56898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56907 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56909 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56910 for ac_func in fmodl
56911 do :
56912 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56913 if test "x$ac_cv_func_fmodl" = x""yes; then :
56914 cat >>confdefs.h <<_ACEOF
56915 #define HAVE_FMODL 1
56916 _ACEOF
56919 done
56921 else
56923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56924 $as_echo_n "checking for _fmodl declaration... " >&6; }
56925 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56926 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56927 $as_echo_n "(cached) " >&6
56928 else
56931 ac_ext=cpp
56932 ac_cpp='$CXXCPP $CPPFLAGS'
56933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56938 /* end confdefs.h. */
56939 #include <math.h>
56941 main ()
56943 _fmodl(0, 0);
56945 return 0;
56947 _ACEOF
56948 if ac_fn_cxx_try_compile "$LINENO"; then :
56949 glibcxx_cv_func__fmodl_use=yes
56950 else
56951 glibcxx_cv_func__fmodl_use=no
56953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56954 ac_ext=c
56955 ac_cpp='$CPP $CPPFLAGS'
56956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56965 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56967 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56968 for ac_func in _fmodl
56969 do :
56970 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56971 if test "x$ac_cv_func__fmodl" = x""yes; then :
56972 cat >>confdefs.h <<_ACEOF
56973 #define HAVE__FMODL 1
56974 _ACEOF
56977 done
56986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56987 $as_echo_n "checking for frexpl declaration... " >&6; }
56988 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56989 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56990 $as_echo_n "(cached) " >&6
56991 else
56994 ac_ext=cpp
56995 ac_cpp='$CXXCPP $CPPFLAGS'
56996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57001 /* end confdefs.h. */
57002 #include <math.h>
57004 main ()
57006 frexpl(0, 0);
57008 return 0;
57010 _ACEOF
57011 if ac_fn_cxx_try_compile "$LINENO"; then :
57012 glibcxx_cv_func_frexpl_use=yes
57013 else
57014 glibcxx_cv_func_frexpl_use=no
57016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57017 ac_ext=c
57018 ac_cpp='$CPP $CPPFLAGS'
57019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57028 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57030 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57031 for ac_func in frexpl
57032 do :
57033 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57034 if test "x$ac_cv_func_frexpl" = x""yes; then :
57035 cat >>confdefs.h <<_ACEOF
57036 #define HAVE_FREXPL 1
57037 _ACEOF
57040 done
57042 else
57044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57045 $as_echo_n "checking for _frexpl declaration... " >&6; }
57046 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57047 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57048 $as_echo_n "(cached) " >&6
57049 else
57052 ac_ext=cpp
57053 ac_cpp='$CXXCPP $CPPFLAGS'
57054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57059 /* end confdefs.h. */
57060 #include <math.h>
57062 main ()
57064 _frexpl(0, 0);
57066 return 0;
57068 _ACEOF
57069 if ac_fn_cxx_try_compile "$LINENO"; then :
57070 glibcxx_cv_func__frexpl_use=yes
57071 else
57072 glibcxx_cv_func__frexpl_use=no
57074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57075 ac_ext=c
57076 ac_cpp='$CPP $CPPFLAGS'
57077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57086 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57088 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57089 for ac_func in _frexpl
57090 do :
57091 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57092 if test "x$ac_cv_func__frexpl" = x""yes; then :
57093 cat >>confdefs.h <<_ACEOF
57094 #define HAVE__FREXPL 1
57095 _ACEOF
57098 done
57107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57108 $as_echo_n "checking for hypotl declaration... " >&6; }
57109 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57110 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57111 $as_echo_n "(cached) " >&6
57112 else
57115 ac_ext=cpp
57116 ac_cpp='$CXXCPP $CPPFLAGS'
57117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57122 /* end confdefs.h. */
57123 #include <math.h>
57125 main ()
57127 hypotl(0, 0);
57129 return 0;
57131 _ACEOF
57132 if ac_fn_cxx_try_compile "$LINENO"; then :
57133 glibcxx_cv_func_hypotl_use=yes
57134 else
57135 glibcxx_cv_func_hypotl_use=no
57137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57138 ac_ext=c
57139 ac_cpp='$CPP $CPPFLAGS'
57140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57149 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57151 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57152 for ac_func in hypotl
57153 do :
57154 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57155 if test "x$ac_cv_func_hypotl" = x""yes; then :
57156 cat >>confdefs.h <<_ACEOF
57157 #define HAVE_HYPOTL 1
57158 _ACEOF
57161 done
57163 else
57165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57166 $as_echo_n "checking for _hypotl declaration... " >&6; }
57167 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57168 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57169 $as_echo_n "(cached) " >&6
57170 else
57173 ac_ext=cpp
57174 ac_cpp='$CXXCPP $CPPFLAGS'
57175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57180 /* end confdefs.h. */
57181 #include <math.h>
57183 main ()
57185 _hypotl(0, 0);
57187 return 0;
57189 _ACEOF
57190 if ac_fn_cxx_try_compile "$LINENO"; then :
57191 glibcxx_cv_func__hypotl_use=yes
57192 else
57193 glibcxx_cv_func__hypotl_use=no
57195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57196 ac_ext=c
57197 ac_cpp='$CPP $CPPFLAGS'
57198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57207 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57209 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57210 for ac_func in _hypotl
57211 do :
57212 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57213 if test "x$ac_cv_func__hypotl" = x""yes; then :
57214 cat >>confdefs.h <<_ACEOF
57215 #define HAVE__HYPOTL 1
57216 _ACEOF
57219 done
57228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57229 $as_echo_n "checking for ldexpl declaration... " >&6; }
57230 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57231 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57232 $as_echo_n "(cached) " >&6
57233 else
57236 ac_ext=cpp
57237 ac_cpp='$CXXCPP $CPPFLAGS'
57238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57243 /* end confdefs.h. */
57244 #include <math.h>
57246 main ()
57248 ldexpl(0, 0);
57250 return 0;
57252 _ACEOF
57253 if ac_fn_cxx_try_compile "$LINENO"; then :
57254 glibcxx_cv_func_ldexpl_use=yes
57255 else
57256 glibcxx_cv_func_ldexpl_use=no
57258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57259 ac_ext=c
57260 ac_cpp='$CPP $CPPFLAGS'
57261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57270 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57272 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57273 for ac_func in ldexpl
57274 do :
57275 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57276 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57277 cat >>confdefs.h <<_ACEOF
57278 #define HAVE_LDEXPL 1
57279 _ACEOF
57282 done
57284 else
57286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57287 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57288 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57289 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57290 $as_echo_n "(cached) " >&6
57291 else
57294 ac_ext=cpp
57295 ac_cpp='$CXXCPP $CPPFLAGS'
57296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57301 /* end confdefs.h. */
57302 #include <math.h>
57304 main ()
57306 _ldexpl(0, 0);
57308 return 0;
57310 _ACEOF
57311 if ac_fn_cxx_try_compile "$LINENO"; then :
57312 glibcxx_cv_func__ldexpl_use=yes
57313 else
57314 glibcxx_cv_func__ldexpl_use=no
57316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57317 ac_ext=c
57318 ac_cpp='$CPP $CPPFLAGS'
57319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57328 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57330 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57331 for ac_func in _ldexpl
57332 do :
57333 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57334 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57335 cat >>confdefs.h <<_ACEOF
57336 #define HAVE__LDEXPL 1
57337 _ACEOF
57340 done
57349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57350 $as_echo_n "checking for logl declaration... " >&6; }
57351 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57352 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57353 $as_echo_n "(cached) " >&6
57354 else
57357 ac_ext=cpp
57358 ac_cpp='$CXXCPP $CPPFLAGS'
57359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57364 /* end confdefs.h. */
57365 #include <math.h>
57366 #ifdef HAVE_IEEEFP_H
57367 #include <ieeefp.h>
57368 #endif
57371 main ()
57373 logl(0);
57375 return 0;
57377 _ACEOF
57378 if ac_fn_cxx_try_compile "$LINENO"; then :
57379 glibcxx_cv_func_logl_use=yes
57380 else
57381 glibcxx_cv_func_logl_use=no
57383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57384 ac_ext=c
57385 ac_cpp='$CPP $CPPFLAGS'
57386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57395 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57397 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57398 for ac_func in logl
57399 do :
57400 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57401 if test "x$ac_cv_func_logl" = x""yes; then :
57402 cat >>confdefs.h <<_ACEOF
57403 #define HAVE_LOGL 1
57404 _ACEOF
57407 done
57409 else
57411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57412 $as_echo_n "checking for _logl declaration... " >&6; }
57413 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57414 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57415 $as_echo_n "(cached) " >&6
57416 else
57419 ac_ext=cpp
57420 ac_cpp='$CXXCPP $CPPFLAGS'
57421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57426 /* end confdefs.h. */
57427 #include <math.h>
57428 #ifdef HAVE_IEEEFP_H
57429 #include <ieeefp.h>
57430 #endif
57433 main ()
57435 _logl(0);
57437 return 0;
57439 _ACEOF
57440 if ac_fn_cxx_try_compile "$LINENO"; then :
57441 glibcxx_cv_func__logl_use=yes
57442 else
57443 glibcxx_cv_func__logl_use=no
57445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57446 ac_ext=c
57447 ac_cpp='$CPP $CPPFLAGS'
57448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57457 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57459 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57460 for ac_func in _logl
57461 do :
57462 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57463 if test "x$ac_cv_func__logl" = x""yes; then :
57464 cat >>confdefs.h <<_ACEOF
57465 #define HAVE__LOGL 1
57466 _ACEOF
57469 done
57478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57479 $as_echo_n "checking for log10l declaration... " >&6; }
57480 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57481 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57482 $as_echo_n "(cached) " >&6
57483 else
57486 ac_ext=cpp
57487 ac_cpp='$CXXCPP $CPPFLAGS'
57488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57493 /* end confdefs.h. */
57494 #include <math.h>
57495 #ifdef HAVE_IEEEFP_H
57496 #include <ieeefp.h>
57497 #endif
57500 main ()
57502 log10l(0);
57504 return 0;
57506 _ACEOF
57507 if ac_fn_cxx_try_compile "$LINENO"; then :
57508 glibcxx_cv_func_log10l_use=yes
57509 else
57510 glibcxx_cv_func_log10l_use=no
57512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57513 ac_ext=c
57514 ac_cpp='$CPP $CPPFLAGS'
57515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57524 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57526 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57527 for ac_func in log10l
57528 do :
57529 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57530 if test "x$ac_cv_func_log10l" = x""yes; then :
57531 cat >>confdefs.h <<_ACEOF
57532 #define HAVE_LOG10L 1
57533 _ACEOF
57536 done
57538 else
57540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57541 $as_echo_n "checking for _log10l declaration... " >&6; }
57542 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57543 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57544 $as_echo_n "(cached) " >&6
57545 else
57548 ac_ext=cpp
57549 ac_cpp='$CXXCPP $CPPFLAGS'
57550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57555 /* end confdefs.h. */
57556 #include <math.h>
57557 #ifdef HAVE_IEEEFP_H
57558 #include <ieeefp.h>
57559 #endif
57562 main ()
57564 _log10l(0);
57566 return 0;
57568 _ACEOF
57569 if ac_fn_cxx_try_compile "$LINENO"; then :
57570 glibcxx_cv_func__log10l_use=yes
57571 else
57572 glibcxx_cv_func__log10l_use=no
57574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57575 ac_ext=c
57576 ac_cpp='$CPP $CPPFLAGS'
57577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57586 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57588 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57589 for ac_func in _log10l
57590 do :
57591 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57592 if test "x$ac_cv_func__log10l" = x""yes; then :
57593 cat >>confdefs.h <<_ACEOF
57594 #define HAVE__LOG10L 1
57595 _ACEOF
57598 done
57607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57608 $as_echo_n "checking for modfl declaration... " >&6; }
57609 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57610 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57611 $as_echo_n "(cached) " >&6
57612 else
57615 ac_ext=cpp
57616 ac_cpp='$CXXCPP $CPPFLAGS'
57617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57622 /* end confdefs.h. */
57623 #include <math.h>
57625 main ()
57627 modfl(0, 0);
57629 return 0;
57631 _ACEOF
57632 if ac_fn_cxx_try_compile "$LINENO"; then :
57633 glibcxx_cv_func_modfl_use=yes
57634 else
57635 glibcxx_cv_func_modfl_use=no
57637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57638 ac_ext=c
57639 ac_cpp='$CPP $CPPFLAGS'
57640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57649 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57651 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57652 for ac_func in modfl
57653 do :
57654 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57655 if test "x$ac_cv_func_modfl" = x""yes; then :
57656 cat >>confdefs.h <<_ACEOF
57657 #define HAVE_MODFL 1
57658 _ACEOF
57661 done
57663 else
57665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57666 $as_echo_n "checking for _modfl declaration... " >&6; }
57667 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57668 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57669 $as_echo_n "(cached) " >&6
57670 else
57673 ac_ext=cpp
57674 ac_cpp='$CXXCPP $CPPFLAGS'
57675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57680 /* end confdefs.h. */
57681 #include <math.h>
57683 main ()
57685 _modfl(0, 0);
57687 return 0;
57689 _ACEOF
57690 if ac_fn_cxx_try_compile "$LINENO"; then :
57691 glibcxx_cv_func__modfl_use=yes
57692 else
57693 glibcxx_cv_func__modfl_use=no
57695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57696 ac_ext=c
57697 ac_cpp='$CPP $CPPFLAGS'
57698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57707 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57709 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57710 for ac_func in _modfl
57711 do :
57712 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57713 if test "x$ac_cv_func__modfl" = x""yes; then :
57714 cat >>confdefs.h <<_ACEOF
57715 #define HAVE__MODFL 1
57716 _ACEOF
57719 done
57728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57729 $as_echo_n "checking for powl declaration... " >&6; }
57730 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57731 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57732 $as_echo_n "(cached) " >&6
57733 else
57736 ac_ext=cpp
57737 ac_cpp='$CXXCPP $CPPFLAGS'
57738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57743 /* end confdefs.h. */
57744 #include <math.h>
57746 main ()
57748 powl(0, 0);
57750 return 0;
57752 _ACEOF
57753 if ac_fn_cxx_try_compile "$LINENO"; then :
57754 glibcxx_cv_func_powl_use=yes
57755 else
57756 glibcxx_cv_func_powl_use=no
57758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57759 ac_ext=c
57760 ac_cpp='$CPP $CPPFLAGS'
57761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57770 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57772 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57773 for ac_func in powl
57774 do :
57775 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57776 if test "x$ac_cv_func_powl" = x""yes; then :
57777 cat >>confdefs.h <<_ACEOF
57778 #define HAVE_POWL 1
57779 _ACEOF
57782 done
57784 else
57786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57787 $as_echo_n "checking for _powl declaration... " >&6; }
57788 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57789 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57790 $as_echo_n "(cached) " >&6
57791 else
57794 ac_ext=cpp
57795 ac_cpp='$CXXCPP $CPPFLAGS'
57796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57801 /* end confdefs.h. */
57802 #include <math.h>
57804 main ()
57806 _powl(0, 0);
57808 return 0;
57810 _ACEOF
57811 if ac_fn_cxx_try_compile "$LINENO"; then :
57812 glibcxx_cv_func__powl_use=yes
57813 else
57814 glibcxx_cv_func__powl_use=no
57816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57817 ac_ext=c
57818 ac_cpp='$CPP $CPPFLAGS'
57819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57828 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57830 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57831 for ac_func in _powl
57832 do :
57833 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57834 if test "x$ac_cv_func__powl" = x""yes; then :
57835 cat >>confdefs.h <<_ACEOF
57836 #define HAVE__POWL 1
57837 _ACEOF
57840 done
57849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57850 $as_echo_n "checking for sqrtl declaration... " >&6; }
57851 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57852 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57853 $as_echo_n "(cached) " >&6
57854 else
57857 ac_ext=cpp
57858 ac_cpp='$CXXCPP $CPPFLAGS'
57859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57864 /* end confdefs.h. */
57865 #include <math.h>
57866 #ifdef HAVE_IEEEFP_H
57867 #include <ieeefp.h>
57868 #endif
57871 main ()
57873 sqrtl(0);
57875 return 0;
57877 _ACEOF
57878 if ac_fn_cxx_try_compile "$LINENO"; then :
57879 glibcxx_cv_func_sqrtl_use=yes
57880 else
57881 glibcxx_cv_func_sqrtl_use=no
57883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57884 ac_ext=c
57885 ac_cpp='$CPP $CPPFLAGS'
57886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57895 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57897 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57898 for ac_func in sqrtl
57899 do :
57900 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57901 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57902 cat >>confdefs.h <<_ACEOF
57903 #define HAVE_SQRTL 1
57904 _ACEOF
57907 done
57909 else
57911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57912 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57913 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57914 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57915 $as_echo_n "(cached) " >&6
57916 else
57919 ac_ext=cpp
57920 ac_cpp='$CXXCPP $CPPFLAGS'
57921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57926 /* end confdefs.h. */
57927 #include <math.h>
57928 #ifdef HAVE_IEEEFP_H
57929 #include <ieeefp.h>
57930 #endif
57933 main ()
57935 _sqrtl(0);
57937 return 0;
57939 _ACEOF
57940 if ac_fn_cxx_try_compile "$LINENO"; then :
57941 glibcxx_cv_func__sqrtl_use=yes
57942 else
57943 glibcxx_cv_func__sqrtl_use=no
57945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57946 ac_ext=c
57947 ac_cpp='$CPP $CPPFLAGS'
57948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57957 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57959 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57960 for ac_func in _sqrtl
57961 do :
57962 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57963 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57964 cat >>confdefs.h <<_ACEOF
57965 #define HAVE__SQRTL 1
57966 _ACEOF
57969 done
57978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57979 $as_echo_n "checking for sincosl declaration... " >&6; }
57980 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57981 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57982 $as_echo_n "(cached) " >&6
57983 else
57986 ac_ext=cpp
57987 ac_cpp='$CXXCPP $CPPFLAGS'
57988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57993 /* end confdefs.h. */
57994 #include <math.h>
57996 main ()
57998 sincosl(0, 0, 0);
58000 return 0;
58002 _ACEOF
58003 if ac_fn_cxx_try_compile "$LINENO"; then :
58004 glibcxx_cv_func_sincosl_use=yes
58005 else
58006 glibcxx_cv_func_sincosl_use=no
58008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58009 ac_ext=c
58010 ac_cpp='$CPP $CPPFLAGS'
58011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58020 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58022 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58023 for ac_func in sincosl
58024 do :
58025 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58026 if test "x$ac_cv_func_sincosl" = x""yes; then :
58027 cat >>confdefs.h <<_ACEOF
58028 #define HAVE_SINCOSL 1
58029 _ACEOF
58032 done
58034 else
58036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58037 $as_echo_n "checking for _sincosl declaration... " >&6; }
58038 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58039 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58040 $as_echo_n "(cached) " >&6
58041 else
58044 ac_ext=cpp
58045 ac_cpp='$CXXCPP $CPPFLAGS'
58046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58051 /* end confdefs.h. */
58052 #include <math.h>
58054 main ()
58056 _sincosl(0, 0, 0);
58058 return 0;
58060 _ACEOF
58061 if ac_fn_cxx_try_compile "$LINENO"; then :
58062 glibcxx_cv_func__sincosl_use=yes
58063 else
58064 glibcxx_cv_func__sincosl_use=no
58066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58067 ac_ext=c
58068 ac_cpp='$CPP $CPPFLAGS'
58069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58078 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58080 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58081 for ac_func in _sincosl
58082 do :
58083 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58084 if test "x$ac_cv_func__sincosl" = x""yes; then :
58085 cat >>confdefs.h <<_ACEOF
58086 #define HAVE__SINCOSL 1
58087 _ACEOF
58090 done
58099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58100 $as_echo_n "checking for finitel declaration... " >&6; }
58101 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58102 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58103 $as_echo_n "(cached) " >&6
58104 else
58107 ac_ext=cpp
58108 ac_cpp='$CXXCPP $CPPFLAGS'
58109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58114 /* end confdefs.h. */
58115 #include <math.h>
58116 #ifdef HAVE_IEEEFP_H
58117 #include <ieeefp.h>
58118 #endif
58121 main ()
58123 finitel(0);
58125 return 0;
58127 _ACEOF
58128 if ac_fn_cxx_try_compile "$LINENO"; then :
58129 glibcxx_cv_func_finitel_use=yes
58130 else
58131 glibcxx_cv_func_finitel_use=no
58133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58134 ac_ext=c
58135 ac_cpp='$CPP $CPPFLAGS'
58136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58145 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58147 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58148 for ac_func in finitel
58149 do :
58150 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58151 if test "x$ac_cv_func_finitel" = x""yes; then :
58152 cat >>confdefs.h <<_ACEOF
58153 #define HAVE_FINITEL 1
58154 _ACEOF
58157 done
58159 else
58161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58162 $as_echo_n "checking for _finitel declaration... " >&6; }
58163 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58164 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58165 $as_echo_n "(cached) " >&6
58166 else
58169 ac_ext=cpp
58170 ac_cpp='$CXXCPP $CPPFLAGS'
58171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58176 /* end confdefs.h. */
58177 #include <math.h>
58178 #ifdef HAVE_IEEEFP_H
58179 #include <ieeefp.h>
58180 #endif
58183 main ()
58185 _finitel(0);
58187 return 0;
58189 _ACEOF
58190 if ac_fn_cxx_try_compile "$LINENO"; then :
58191 glibcxx_cv_func__finitel_use=yes
58192 else
58193 glibcxx_cv_func__finitel_use=no
58195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58196 ac_ext=c
58197 ac_cpp='$CPP $CPPFLAGS'
58198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58207 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58209 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58210 for ac_func in _finitel
58211 do :
58212 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58213 if test "x$ac_cv_func__finitel" = x""yes; then :
58214 cat >>confdefs.h <<_ACEOF
58215 #define HAVE__FINITEL 1
58216 _ACEOF
58219 done
58227 LIBS="$ac_save_LIBS"
58228 CXXFLAGS="$ac_save_CXXFLAGS"
58231 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58232 ac_save_CXXFLAGS="$CXXFLAGS"
58233 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58237 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58238 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58239 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58240 $as_echo_n "(cached) " >&6
58241 else
58244 ac_ext=cpp
58245 ac_cpp='$CXXCPP $CPPFLAGS'
58246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58251 /* end confdefs.h. */
58252 #include <stdlib.h>
58254 main ()
58256 at_quick_exit(0);
58258 return 0;
58260 _ACEOF
58261 if ac_fn_cxx_try_compile "$LINENO"; then :
58262 glibcxx_cv_func_at_quick_exit_use=yes
58263 else
58264 glibcxx_cv_func_at_quick_exit_use=no
58266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58267 ac_ext=c
58268 ac_cpp='$CPP $CPPFLAGS'
58269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58278 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58279 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58280 for ac_func in at_quick_exit
58281 do :
58282 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58283 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58284 cat >>confdefs.h <<_ACEOF
58285 #define HAVE_AT_QUICK_EXIT 1
58286 _ACEOF
58289 done
58294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58295 $as_echo_n "checking for quick_exit declaration... " >&6; }
58296 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58297 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58298 $as_echo_n "(cached) " >&6
58299 else
58302 ac_ext=cpp
58303 ac_cpp='$CXXCPP $CPPFLAGS'
58304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58309 /* end confdefs.h. */
58310 #include <stdlib.h>
58312 main ()
58314 quick_exit(0);
58316 return 0;
58318 _ACEOF
58319 if ac_fn_cxx_try_compile "$LINENO"; then :
58320 glibcxx_cv_func_quick_exit_use=yes
58321 else
58322 glibcxx_cv_func_quick_exit_use=no
58324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58325 ac_ext=c
58326 ac_cpp='$CPP $CPPFLAGS'
58327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58336 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58337 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58338 for ac_func in quick_exit
58339 do :
58340 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58341 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58342 cat >>confdefs.h <<_ACEOF
58343 #define HAVE_QUICK_EXIT 1
58344 _ACEOF
58347 done
58352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58353 $as_echo_n "checking for strtold declaration... " >&6; }
58354 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58355 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58356 $as_echo_n "(cached) " >&6
58357 else
58360 ac_ext=cpp
58361 ac_cpp='$CXXCPP $CPPFLAGS'
58362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58367 /* end confdefs.h. */
58368 #include <stdlib.h>
58370 main ()
58372 strtold(0, 0);
58374 return 0;
58376 _ACEOF
58377 if ac_fn_cxx_try_compile "$LINENO"; then :
58378 glibcxx_cv_func_strtold_use=yes
58379 else
58380 glibcxx_cv_func_strtold_use=no
58382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58383 ac_ext=c
58384 ac_cpp='$CPP $CPPFLAGS'
58385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58394 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58395 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58396 for ac_func in strtold
58397 do :
58398 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58399 if test "x$ac_cv_func_strtold" = x""yes; then :
58400 cat >>confdefs.h <<_ACEOF
58401 #define HAVE_STRTOLD 1
58402 _ACEOF
58405 done
58412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58413 $as_echo_n "checking for strtof declaration... " >&6; }
58414 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58415 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58416 $as_echo_n "(cached) " >&6
58417 else
58420 ac_ext=cpp
58421 ac_cpp='$CXXCPP $CPPFLAGS'
58422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58427 /* end confdefs.h. */
58428 #include <stdlib.h>
58430 main ()
58432 strtof(0, 0);
58434 return 0;
58436 _ACEOF
58437 if ac_fn_cxx_try_compile "$LINENO"; then :
58438 glibcxx_cv_func_strtof_use=yes
58439 else
58440 glibcxx_cv_func_strtof_use=no
58442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58443 ac_ext=c
58444 ac_cpp='$CPP $CPPFLAGS'
58445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58454 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58455 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58456 for ac_func in strtof
58457 do :
58458 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58459 if test "x$ac_cv_func_strtof" = x""yes; then :
58460 cat >>confdefs.h <<_ACEOF
58461 #define HAVE_STRTOF 1
58462 _ACEOF
58465 done
58472 CXXFLAGS="$ac_save_CXXFLAGS"
58474 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58478 # Check whether --enable-tls was given.
58479 if test "${enable_tls+set}" = set; then :
58480 enableval=$enable_tls;
58481 case "$enableval" in
58482 yes|no) ;;
58483 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58484 esac
58486 else
58487 enable_tls=yes
58491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58492 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58493 if test "${gcc_cv_have_tls+set}" = set; then :
58494 $as_echo_n "(cached) " >&6
58495 else
58497 if test "$cross_compiling" = yes; then :
58498 if test x$gcc_no_link = xyes; then
58499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58502 /* end confdefs.h. */
58503 __thread int a; int b; int main() { return a = b; }
58504 _ACEOF
58505 if ac_fn_c_try_link "$LINENO"; then :
58506 chktls_save_LDFLAGS="$LDFLAGS"
58507 case $host in
58508 *-*-linux*)
58509 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58511 esac
58512 chktls_save_CFLAGS="$CFLAGS"
58513 CFLAGS="-fPIC $CFLAGS"
58514 if test x$gcc_no_link = xyes; then
58515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58518 /* end confdefs.h. */
58519 int f() { return 0; }
58520 _ACEOF
58521 if ac_fn_c_try_link "$LINENO"; then :
58522 if test x$gcc_no_link = xyes; then
58523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58526 /* end confdefs.h. */
58527 __thread int a; int b; int f() { return a = b; }
58528 _ACEOF
58529 if ac_fn_c_try_link "$LINENO"; then :
58530 gcc_cv_have_tls=yes
58531 else
58532 gcc_cv_have_tls=no
58534 rm -f core conftest.err conftest.$ac_objext \
58535 conftest$ac_exeext conftest.$ac_ext
58536 else
58537 gcc_cv_have_tls=yes
58539 rm -f core conftest.err conftest.$ac_objext \
58540 conftest$ac_exeext conftest.$ac_ext
58541 CFLAGS="$chktls_save_CFLAGS"
58542 LDFLAGS="$chktls_save_LDFLAGS"
58543 else
58544 gcc_cv_have_tls=no
58546 rm -f core conftest.err conftest.$ac_objext \
58547 conftest$ac_exeext conftest.$ac_ext
58550 else
58551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58552 /* end confdefs.h. */
58553 __thread int a; int b; int main() { return a = b; }
58554 _ACEOF
58555 if ac_fn_c_try_run "$LINENO"; then :
58556 chktls_save_LDFLAGS="$LDFLAGS"
58557 LDFLAGS="-static $LDFLAGS"
58558 if test x$gcc_no_link = xyes; then
58559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58562 /* end confdefs.h. */
58563 int main() { return 0; }
58564 _ACEOF
58565 if ac_fn_c_try_link "$LINENO"; then :
58566 if test "$cross_compiling" = yes; then :
58567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58569 as_fn_error "cannot run test program while cross compiling
58570 See \`config.log' for more details." "$LINENO" 5; }
58571 else
58572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58573 /* end confdefs.h. */
58574 __thread int a; int b; int main() { return a = b; }
58575 _ACEOF
58576 if ac_fn_c_try_run "$LINENO"; then :
58577 gcc_cv_have_tls=yes
58578 else
58579 gcc_cv_have_tls=no
58581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58582 conftest.$ac_objext conftest.beam conftest.$ac_ext
58585 else
58586 gcc_cv_have_tls=yes
58588 rm -f core conftest.err conftest.$ac_objext \
58589 conftest$ac_exeext conftest.$ac_ext
58590 LDFLAGS="$chktls_save_LDFLAGS"
58591 if test $gcc_cv_have_tls = yes; then
58592 chktls_save_CFLAGS="$CFLAGS"
58593 thread_CFLAGS=failed
58594 for flag in '' '-pthread' '-lpthread'; do
58595 CFLAGS="$flag $chktls_save_CFLAGS"
58596 if test x$gcc_no_link = xyes; then
58597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58600 /* end confdefs.h. */
58601 #include <pthread.h>
58602 void *g(void *d) { return NULL; }
58604 main ()
58606 pthread_t t; pthread_create(&t,NULL,g,NULL);
58608 return 0;
58610 _ACEOF
58611 if ac_fn_c_try_link "$LINENO"; then :
58612 thread_CFLAGS="$flag"
58614 rm -f core conftest.err conftest.$ac_objext \
58615 conftest$ac_exeext conftest.$ac_ext
58616 if test "X$thread_CFLAGS" != Xfailed; then
58617 break
58619 done
58620 CFLAGS="$chktls_save_CFLAGS"
58621 if test "X$thread_CFLAGS" != Xfailed; then
58622 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58623 if test "$cross_compiling" = yes; then :
58624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58626 as_fn_error "cannot run test program while cross compiling
58627 See \`config.log' for more details." "$LINENO" 5; }
58628 else
58629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58630 /* end confdefs.h. */
58631 #include <pthread.h>
58632 __thread int a;
58633 static int *volatile a_in_other_thread;
58634 static void *
58635 thread_func (void *arg)
58637 a_in_other_thread = &a;
58638 return (void *)0;
58641 main ()
58643 pthread_t thread;
58644 void *thread_retval;
58645 int *volatile a_in_main_thread;
58646 a_in_main_thread = &a;
58647 if (pthread_create (&thread, (pthread_attr_t *)0,
58648 thread_func, (void *)0))
58649 return 0;
58650 if (pthread_join (thread, &thread_retval))
58651 return 0;
58652 return (a_in_other_thread == a_in_main_thread);
58654 return 0;
58656 _ACEOF
58657 if ac_fn_c_try_run "$LINENO"; then :
58658 gcc_cv_have_tls=yes
58659 else
58660 gcc_cv_have_tls=no
58662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58663 conftest.$ac_objext conftest.beam conftest.$ac_ext
58666 CFLAGS="$chktls_save_CFLAGS"
58669 else
58670 gcc_cv_have_tls=no
58672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58673 conftest.$ac_objext conftest.beam conftest.$ac_ext
58677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58678 $as_echo "$gcc_cv_have_tls" >&6; }
58679 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58681 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58689 am_save_CPPFLAGS="$CPPFLAGS"
58691 for element in $INCICONV; do
58692 haveit=
58693 for x in $CPPFLAGS; do
58695 acl_save_prefix="$prefix"
58696 prefix="$acl_final_prefix"
58697 acl_save_exec_prefix="$exec_prefix"
58698 exec_prefix="$acl_final_exec_prefix"
58699 eval x=\"$x\"
58700 exec_prefix="$acl_save_exec_prefix"
58701 prefix="$acl_save_prefix"
58703 if test "X$x" = "X$element"; then
58704 haveit=yes
58705 break
58707 done
58708 if test -z "$haveit"; then
58709 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58711 done
58714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58715 $as_echo_n "checking for iconv... " >&6; }
58716 if test "${am_cv_func_iconv+set}" = set; then :
58717 $as_echo_n "(cached) " >&6
58718 else
58720 am_cv_func_iconv="no, consider installing GNU libiconv"
58721 am_cv_lib_iconv=no
58722 if test x$gcc_no_link = xyes; then
58723 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58726 /* end confdefs.h. */
58727 #include <stdlib.h>
58728 #include <iconv.h>
58730 main ()
58732 iconv_t cd = iconv_open("","");
58733 iconv(cd,NULL,NULL,NULL,NULL);
58734 iconv_close(cd);
58736 return 0;
58738 _ACEOF
58739 if ac_fn_c_try_link "$LINENO"; then :
58740 am_cv_func_iconv=yes
58742 rm -f core conftest.err conftest.$ac_objext \
58743 conftest$ac_exeext conftest.$ac_ext
58744 if test "$am_cv_func_iconv" != yes; then
58745 am_save_LIBS="$LIBS"
58746 LIBS="$LIBS $LIBICONV"
58747 if test x$gcc_no_link = xyes; then
58748 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58751 /* end confdefs.h. */
58752 #include <stdlib.h>
58753 #include <iconv.h>
58755 main ()
58757 iconv_t cd = iconv_open("","");
58758 iconv(cd,NULL,NULL,NULL,NULL);
58759 iconv_close(cd);
58761 return 0;
58763 _ACEOF
58764 if ac_fn_c_try_link "$LINENO"; then :
58765 am_cv_lib_iconv=yes
58766 am_cv_func_iconv=yes
58768 rm -f core conftest.err conftest.$ac_objext \
58769 conftest$ac_exeext conftest.$ac_ext
58770 LIBS="$am_save_LIBS"
58774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58775 $as_echo "$am_cv_func_iconv" >&6; }
58776 if test "$am_cv_func_iconv" = yes; then
58778 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58781 if test "$am_cv_lib_iconv" = yes; then
58782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58783 $as_echo_n "checking how to link with libiconv... " >&6; }
58784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58785 $as_echo "$LIBICONV" >&6; }
58786 else
58787 CPPFLAGS="$am_save_CPPFLAGS"
58788 LIBICONV=
58789 LTLIBICONV=
58794 if test "$am_cv_func_iconv" = yes; then
58795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58796 $as_echo_n "checking for iconv declaration... " >&6; }
58797 if test "${am_cv_proto_iconv+set}" = set; then :
58798 $as_echo_n "(cached) " >&6
58799 else
58801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58802 /* end confdefs.h. */
58804 #include <stdlib.h>
58805 #include <iconv.h>
58806 extern
58807 #ifdef __cplusplus
58809 #endif
58810 #if defined(__STDC__) || defined(__cplusplus)
58811 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58812 #else
58813 size_t iconv();
58814 #endif
58817 main ()
58821 return 0;
58823 _ACEOF
58824 if ac_fn_c_try_compile "$LINENO"; then :
58825 am_cv_proto_iconv_arg1=""
58826 else
58827 am_cv_proto_iconv_arg1="const"
58829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58830 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);"
58833 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58835 }$am_cv_proto_iconv" >&5
58836 $as_echo "${ac_t:-
58837 }$am_cv_proto_iconv" >&6; }
58839 cat >>confdefs.h <<_ACEOF
58840 #define ICONV_CONST $am_cv_proto_iconv_arg1
58841 _ACEOF
58846 *-mingw32*)
58848 # If we're not using GNU ld, then there's no point in even trying these
58849 # tests. Check for that first. We should have already tested for gld
58850 # by now (in libtool), but require it now just to be safe...
58851 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58852 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58856 # The name set by libtool depends on the version of libtool. Shame on us
58857 # for depending on an impl detail, but c'est la vie. Older versions used
58858 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58859 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58860 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58861 # set (hence we're using an older libtool), then set it.
58862 if test x${with_gnu_ld+set} != xset; then
58863 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58864 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58865 with_gnu_ld=no
58866 else
58867 with_gnu_ld=$ac_cv_prog_gnu_ld
58871 # Start by getting the version number. I think the libtool test already
58872 # does some of this, but throws away the result.
58873 glibcxx_ld_is_gold=no
58874 if test x"$with_gnu_ld" = x"yes"; then
58875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58876 $as_echo_n "checking for ld version... " >&6; }
58878 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58879 glibcxx_ld_is_gold=yes
58881 ldver=`$LD --version 2>/dev/null |
58882 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'`
58884 glibcxx_gnu_ld_version=`echo $ldver | \
58885 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58887 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58890 # Set --gc-sections.
58891 glibcxx_have_gc_sections=no
58892 if test "$glibcxx_ld_is_gold" = "yes"; then
58893 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58894 glibcxx_have_gc_sections=yes
58896 else
58897 glibcxx_gcsections_min_ld=21602
58898 if test x"$with_gnu_ld" = x"yes" &&
58899 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58900 glibcxx_have_gc_sections=yes
58903 if test "$glibcxx_have_gc_sections" = "yes"; then
58904 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58905 # NB: This flag only works reliably after 2.16.1. Configure tests
58906 # for this are difficult, so hard wire a value that should work.
58908 ac_test_CFLAGS="${CFLAGS+set}"
58909 ac_save_CFLAGS="$CFLAGS"
58910 CFLAGS='-Wl,--gc-sections'
58912 # Check for -Wl,--gc-sections
58913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58914 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58915 if test x$gcc_no_link = xyes; then
58916 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58919 /* end confdefs.h. */
58920 int one(void) { return 1; }
58921 int two(void) { return 2; }
58924 main ()
58926 two();
58928 return 0;
58930 _ACEOF
58931 if ac_fn_c_try_link "$LINENO"; then :
58932 ac_gcsections=yes
58933 else
58934 ac_gcsections=no
58936 rm -f core conftest.err conftest.$ac_objext \
58937 conftest$ac_exeext conftest.$ac_ext
58938 if test "$ac_gcsections" = "yes"; then
58939 rm -f conftest.c
58940 touch conftest.c
58941 if $CC -c conftest.c; then
58942 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58943 grep "Warning: gc-sections option ignored" > /dev/null; then
58944 ac_gcsections=no
58947 rm -f conftest.c conftest.o conftest
58949 if test "$ac_gcsections" = "yes"; then
58950 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58953 $as_echo "$ac_gcsections" >&6; }
58955 if test "$ac_test_CFLAGS" = set; then
58956 CFLAGS="$ac_save_CFLAGS"
58957 else
58958 # this is the suspicious part
58959 CFLAGS=''
58963 # Set -z,relro.
58964 # Note this is only for shared objects.
58965 ac_ld_relro=no
58966 if test x"$with_gnu_ld" = x"yes"; then
58967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58968 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58969 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58970 if test -n "$cxx_z_relo"; then
58971 OPT_LDFLAGS="-Wl,-z,relro"
58972 ac_ld_relro=yes
58974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58975 $as_echo "$ac_ld_relro" >&6; }
58978 # Set linker optimization flags.
58979 if test x"$with_gnu_ld" = x"yes"; then
58980 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58987 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58988 ac_save_CXXFLAGS="$CXXFLAGS"
58989 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58992 $as_echo_n "checking for sin in -lm... " >&6; }
58993 if test "${ac_cv_lib_m_sin+set}" = set; then :
58994 $as_echo_n "(cached) " >&6
58995 else
58996 ac_check_lib_save_LIBS=$LIBS
58997 LIBS="-lm $LIBS"
58998 if test x$gcc_no_link = xyes; then
58999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59002 /* end confdefs.h. */
59004 /* Override any GCC internal prototype to avoid an error.
59005 Use char because int might match the return type of a GCC
59006 builtin and then its argument prototype would still apply. */
59007 #ifdef __cplusplus
59008 extern "C"
59009 #endif
59010 char sin ();
59012 main ()
59014 return sin ();
59016 return 0;
59018 _ACEOF
59019 if ac_fn_c_try_link "$LINENO"; then :
59020 ac_cv_lib_m_sin=yes
59021 else
59022 ac_cv_lib_m_sin=no
59024 rm -f core conftest.err conftest.$ac_objext \
59025 conftest$ac_exeext conftest.$ac_ext
59026 LIBS=$ac_check_lib_save_LIBS
59028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59029 $as_echo "$ac_cv_lib_m_sin" >&6; }
59030 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59031 libm="-lm"
59034 ac_save_LIBS="$LIBS"
59035 LIBS="$LIBS $libm"
59039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59040 $as_echo_n "checking for isinf declaration... " >&6; }
59041 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59042 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59043 $as_echo_n "(cached) " >&6
59044 else
59047 ac_ext=cpp
59048 ac_cpp='$CXXCPP $CPPFLAGS'
59049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59054 /* end confdefs.h. */
59055 #include <math.h>
59056 #ifdef HAVE_IEEEFP_H
59057 #include <ieeefp.h>
59058 #endif
59061 main ()
59063 isinf(0);
59065 return 0;
59067 _ACEOF
59068 if ac_fn_cxx_try_compile "$LINENO"; then :
59069 glibcxx_cv_func_isinf_use=yes
59070 else
59071 glibcxx_cv_func_isinf_use=no
59073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59074 ac_ext=c
59075 ac_cpp='$CPP $CPPFLAGS'
59076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59085 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59087 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59088 for ac_func in isinf
59089 do :
59090 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59091 if test "x$ac_cv_func_isinf" = x""yes; then :
59092 cat >>confdefs.h <<_ACEOF
59093 #define HAVE_ISINF 1
59094 _ACEOF
59097 done
59099 else
59101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59102 $as_echo_n "checking for _isinf declaration... " >&6; }
59103 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59104 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59105 $as_echo_n "(cached) " >&6
59106 else
59109 ac_ext=cpp
59110 ac_cpp='$CXXCPP $CPPFLAGS'
59111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59116 /* end confdefs.h. */
59117 #include <math.h>
59118 #ifdef HAVE_IEEEFP_H
59119 #include <ieeefp.h>
59120 #endif
59123 main ()
59125 _isinf(0);
59127 return 0;
59129 _ACEOF
59130 if ac_fn_cxx_try_compile "$LINENO"; then :
59131 glibcxx_cv_func__isinf_use=yes
59132 else
59133 glibcxx_cv_func__isinf_use=no
59135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59136 ac_ext=c
59137 ac_cpp='$CPP $CPPFLAGS'
59138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59147 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59149 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59150 for ac_func in _isinf
59151 do :
59152 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59153 if test "x$ac_cv_func__isinf" = x""yes; then :
59154 cat >>confdefs.h <<_ACEOF
59155 #define HAVE__ISINF 1
59156 _ACEOF
59159 done
59168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59169 $as_echo_n "checking for isnan declaration... " >&6; }
59170 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59171 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59172 $as_echo_n "(cached) " >&6
59173 else
59176 ac_ext=cpp
59177 ac_cpp='$CXXCPP $CPPFLAGS'
59178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59183 /* end confdefs.h. */
59184 #include <math.h>
59185 #ifdef HAVE_IEEEFP_H
59186 #include <ieeefp.h>
59187 #endif
59190 main ()
59192 isnan(0);
59194 return 0;
59196 _ACEOF
59197 if ac_fn_cxx_try_compile "$LINENO"; then :
59198 glibcxx_cv_func_isnan_use=yes
59199 else
59200 glibcxx_cv_func_isnan_use=no
59202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59203 ac_ext=c
59204 ac_cpp='$CPP $CPPFLAGS'
59205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59214 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59216 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59217 for ac_func in isnan
59218 do :
59219 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59220 if test "x$ac_cv_func_isnan" = x""yes; then :
59221 cat >>confdefs.h <<_ACEOF
59222 #define HAVE_ISNAN 1
59223 _ACEOF
59226 done
59228 else
59230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59231 $as_echo_n "checking for _isnan declaration... " >&6; }
59232 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59233 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59234 $as_echo_n "(cached) " >&6
59235 else
59238 ac_ext=cpp
59239 ac_cpp='$CXXCPP $CPPFLAGS'
59240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59245 /* end confdefs.h. */
59246 #include <math.h>
59247 #ifdef HAVE_IEEEFP_H
59248 #include <ieeefp.h>
59249 #endif
59252 main ()
59254 _isnan(0);
59256 return 0;
59258 _ACEOF
59259 if ac_fn_cxx_try_compile "$LINENO"; then :
59260 glibcxx_cv_func__isnan_use=yes
59261 else
59262 glibcxx_cv_func__isnan_use=no
59264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59265 ac_ext=c
59266 ac_cpp='$CPP $CPPFLAGS'
59267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59276 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59278 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59279 for ac_func in _isnan
59280 do :
59281 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59282 if test "x$ac_cv_func__isnan" = x""yes; then :
59283 cat >>confdefs.h <<_ACEOF
59284 #define HAVE__ISNAN 1
59285 _ACEOF
59288 done
59297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59298 $as_echo_n "checking for finite declaration... " >&6; }
59299 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59300 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59301 $as_echo_n "(cached) " >&6
59302 else
59305 ac_ext=cpp
59306 ac_cpp='$CXXCPP $CPPFLAGS'
59307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59312 /* end confdefs.h. */
59313 #include <math.h>
59314 #ifdef HAVE_IEEEFP_H
59315 #include <ieeefp.h>
59316 #endif
59319 main ()
59321 finite(0);
59323 return 0;
59325 _ACEOF
59326 if ac_fn_cxx_try_compile "$LINENO"; then :
59327 glibcxx_cv_func_finite_use=yes
59328 else
59329 glibcxx_cv_func_finite_use=no
59331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59332 ac_ext=c
59333 ac_cpp='$CPP $CPPFLAGS'
59334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59343 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59345 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59346 for ac_func in finite
59347 do :
59348 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59349 if test "x$ac_cv_func_finite" = x""yes; then :
59350 cat >>confdefs.h <<_ACEOF
59351 #define HAVE_FINITE 1
59352 _ACEOF
59355 done
59357 else
59359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59360 $as_echo_n "checking for _finite declaration... " >&6; }
59361 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59362 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59363 $as_echo_n "(cached) " >&6
59364 else
59367 ac_ext=cpp
59368 ac_cpp='$CXXCPP $CPPFLAGS'
59369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59374 /* end confdefs.h. */
59375 #include <math.h>
59376 #ifdef HAVE_IEEEFP_H
59377 #include <ieeefp.h>
59378 #endif
59381 main ()
59383 _finite(0);
59385 return 0;
59387 _ACEOF
59388 if ac_fn_cxx_try_compile "$LINENO"; then :
59389 glibcxx_cv_func__finite_use=yes
59390 else
59391 glibcxx_cv_func__finite_use=no
59393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59394 ac_ext=c
59395 ac_cpp='$CPP $CPPFLAGS'
59396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59405 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59407 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59408 for ac_func in _finite
59409 do :
59410 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59411 if test "x$ac_cv_func__finite" = x""yes; then :
59412 cat >>confdefs.h <<_ACEOF
59413 #define HAVE__FINITE 1
59414 _ACEOF
59417 done
59426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59427 $as_echo_n "checking for sincos declaration... " >&6; }
59428 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59429 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59430 $as_echo_n "(cached) " >&6
59431 else
59434 ac_ext=cpp
59435 ac_cpp='$CXXCPP $CPPFLAGS'
59436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59441 /* end confdefs.h. */
59442 #include <math.h>
59444 main ()
59446 sincos(0, 0, 0);
59448 return 0;
59450 _ACEOF
59451 if ac_fn_cxx_try_compile "$LINENO"; then :
59452 glibcxx_cv_func_sincos_use=yes
59453 else
59454 glibcxx_cv_func_sincos_use=no
59456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59457 ac_ext=c
59458 ac_cpp='$CPP $CPPFLAGS'
59459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59468 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59470 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59471 for ac_func in sincos
59472 do :
59473 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59474 if test "x$ac_cv_func_sincos" = x""yes; then :
59475 cat >>confdefs.h <<_ACEOF
59476 #define HAVE_SINCOS 1
59477 _ACEOF
59480 done
59482 else
59484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59485 $as_echo_n "checking for _sincos declaration... " >&6; }
59486 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59487 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59488 $as_echo_n "(cached) " >&6
59489 else
59492 ac_ext=cpp
59493 ac_cpp='$CXXCPP $CPPFLAGS'
59494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59499 /* end confdefs.h. */
59500 #include <math.h>
59502 main ()
59504 _sincos(0, 0, 0);
59506 return 0;
59508 _ACEOF
59509 if ac_fn_cxx_try_compile "$LINENO"; then :
59510 glibcxx_cv_func__sincos_use=yes
59511 else
59512 glibcxx_cv_func__sincos_use=no
59514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59515 ac_ext=c
59516 ac_cpp='$CPP $CPPFLAGS'
59517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59526 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59528 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59529 for ac_func in _sincos
59530 do :
59531 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59532 if test "x$ac_cv_func__sincos" = x""yes; then :
59533 cat >>confdefs.h <<_ACEOF
59534 #define HAVE__SINCOS 1
59535 _ACEOF
59538 done
59547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59548 $as_echo_n "checking for fpclass declaration... " >&6; }
59549 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59550 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59551 $as_echo_n "(cached) " >&6
59552 else
59555 ac_ext=cpp
59556 ac_cpp='$CXXCPP $CPPFLAGS'
59557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59562 /* end confdefs.h. */
59563 #include <math.h>
59564 #ifdef HAVE_IEEEFP_H
59565 #include <ieeefp.h>
59566 #endif
59569 main ()
59571 fpclass(0);
59573 return 0;
59575 _ACEOF
59576 if ac_fn_cxx_try_compile "$LINENO"; then :
59577 glibcxx_cv_func_fpclass_use=yes
59578 else
59579 glibcxx_cv_func_fpclass_use=no
59581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59582 ac_ext=c
59583 ac_cpp='$CPP $CPPFLAGS'
59584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59593 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59595 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59596 for ac_func in fpclass
59597 do :
59598 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59599 if test "x$ac_cv_func_fpclass" = x""yes; then :
59600 cat >>confdefs.h <<_ACEOF
59601 #define HAVE_FPCLASS 1
59602 _ACEOF
59605 done
59607 else
59609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59610 $as_echo_n "checking for _fpclass declaration... " >&6; }
59611 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59612 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59613 $as_echo_n "(cached) " >&6
59614 else
59617 ac_ext=cpp
59618 ac_cpp='$CXXCPP $CPPFLAGS'
59619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59624 /* end confdefs.h. */
59625 #include <math.h>
59626 #ifdef HAVE_IEEEFP_H
59627 #include <ieeefp.h>
59628 #endif
59631 main ()
59633 _fpclass(0);
59635 return 0;
59637 _ACEOF
59638 if ac_fn_cxx_try_compile "$LINENO"; then :
59639 glibcxx_cv_func__fpclass_use=yes
59640 else
59641 glibcxx_cv_func__fpclass_use=no
59643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59644 ac_ext=c
59645 ac_cpp='$CPP $CPPFLAGS'
59646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59655 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59657 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59658 for ac_func in _fpclass
59659 do :
59660 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59661 if test "x$ac_cv_func__fpclass" = x""yes; then :
59662 cat >>confdefs.h <<_ACEOF
59663 #define HAVE__FPCLASS 1
59664 _ACEOF
59667 done
59676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59677 $as_echo_n "checking for qfpclass declaration... " >&6; }
59678 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59679 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59680 $as_echo_n "(cached) " >&6
59681 else
59684 ac_ext=cpp
59685 ac_cpp='$CXXCPP $CPPFLAGS'
59686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59691 /* end confdefs.h. */
59692 #include <math.h>
59693 #ifdef HAVE_IEEEFP_H
59694 #include <ieeefp.h>
59695 #endif
59698 main ()
59700 qfpclass(0);
59702 return 0;
59704 _ACEOF
59705 if ac_fn_cxx_try_compile "$LINENO"; then :
59706 glibcxx_cv_func_qfpclass_use=yes
59707 else
59708 glibcxx_cv_func_qfpclass_use=no
59710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59711 ac_ext=c
59712 ac_cpp='$CPP $CPPFLAGS'
59713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59722 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59724 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59725 for ac_func in qfpclass
59726 do :
59727 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59728 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59729 cat >>confdefs.h <<_ACEOF
59730 #define HAVE_QFPCLASS 1
59731 _ACEOF
59734 done
59736 else
59738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59739 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59740 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59741 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59742 $as_echo_n "(cached) " >&6
59743 else
59746 ac_ext=cpp
59747 ac_cpp='$CXXCPP $CPPFLAGS'
59748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59753 /* end confdefs.h. */
59754 #include <math.h>
59755 #ifdef HAVE_IEEEFP_H
59756 #include <ieeefp.h>
59757 #endif
59760 main ()
59762 _qfpclass(0);
59764 return 0;
59766 _ACEOF
59767 if ac_fn_cxx_try_compile "$LINENO"; then :
59768 glibcxx_cv_func__qfpclass_use=yes
59769 else
59770 glibcxx_cv_func__qfpclass_use=no
59772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59773 ac_ext=c
59774 ac_cpp='$CPP $CPPFLAGS'
59775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59784 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59786 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59787 for ac_func in _qfpclass
59788 do :
59789 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59790 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59791 cat >>confdefs.h <<_ACEOF
59792 #define HAVE__QFPCLASS 1
59793 _ACEOF
59796 done
59805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59806 $as_echo_n "checking for hypot declaration... " >&6; }
59807 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59808 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59809 $as_echo_n "(cached) " >&6
59810 else
59813 ac_ext=cpp
59814 ac_cpp='$CXXCPP $CPPFLAGS'
59815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59820 /* end confdefs.h. */
59821 #include <math.h>
59823 main ()
59825 hypot(0, 0);
59827 return 0;
59829 _ACEOF
59830 if ac_fn_cxx_try_compile "$LINENO"; then :
59831 glibcxx_cv_func_hypot_use=yes
59832 else
59833 glibcxx_cv_func_hypot_use=no
59835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59836 ac_ext=c
59837 ac_cpp='$CPP $CPPFLAGS'
59838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59847 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59849 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59850 for ac_func in hypot
59851 do :
59852 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59853 if test "x$ac_cv_func_hypot" = x""yes; then :
59854 cat >>confdefs.h <<_ACEOF
59855 #define HAVE_HYPOT 1
59856 _ACEOF
59859 done
59861 else
59863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59864 $as_echo_n "checking for _hypot declaration... " >&6; }
59865 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59866 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59867 $as_echo_n "(cached) " >&6
59868 else
59871 ac_ext=cpp
59872 ac_cpp='$CXXCPP $CPPFLAGS'
59873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59878 /* end confdefs.h. */
59879 #include <math.h>
59881 main ()
59883 _hypot(0, 0);
59885 return 0;
59887 _ACEOF
59888 if ac_fn_cxx_try_compile "$LINENO"; then :
59889 glibcxx_cv_func__hypot_use=yes
59890 else
59891 glibcxx_cv_func__hypot_use=no
59893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59894 ac_ext=c
59895 ac_cpp='$CPP $CPPFLAGS'
59896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59905 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59907 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59908 for ac_func in _hypot
59909 do :
59910 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59911 if test "x$ac_cv_func__hypot" = x""yes; then :
59912 cat >>confdefs.h <<_ACEOF
59913 #define HAVE__HYPOT 1
59914 _ACEOF
59917 done
59926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59927 $as_echo_n "checking for float trig functions... " >&6; }
59928 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59929 $as_echo_n "(cached) " >&6
59930 else
59933 ac_ext=cpp
59934 ac_cpp='$CXXCPP $CPPFLAGS'
59935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59940 /* end confdefs.h. */
59941 #include <math.h>
59943 main ()
59945 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59947 return 0;
59949 _ACEOF
59950 if ac_fn_cxx_try_compile "$LINENO"; then :
59951 glibcxx_cv_func_float_trig_use=yes
59952 else
59953 glibcxx_cv_func_float_trig_use=no
59955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59956 ac_ext=c
59957 ac_cpp='$CPP $CPPFLAGS'
59958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59965 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59966 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59967 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59968 do :
59969 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59971 eval as_val=\$$as_ac_var
59972 if test "x$as_val" = x""yes; then :
59973 cat >>confdefs.h <<_ACEOF
59974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59975 _ACEOF
59978 done
59980 else
59981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59982 $as_echo_n "checking for _float trig functions... " >&6; }
59983 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59984 $as_echo_n "(cached) " >&6
59985 else
59988 ac_ext=cpp
59989 ac_cpp='$CXXCPP $CPPFLAGS'
59990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59995 /* end confdefs.h. */
59996 #include <math.h>
59998 main ()
60000 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60002 return 0;
60004 _ACEOF
60005 if ac_fn_cxx_try_compile "$LINENO"; then :
60006 glibcxx_cv_func__float_trig_use=yes
60007 else
60008 glibcxx_cv_func__float_trig_use=no
60010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60011 ac_ext=c
60012 ac_cpp='$CPP $CPPFLAGS'
60013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60020 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60021 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60022 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60023 do :
60024 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60025 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60026 eval as_val=\$$as_ac_var
60027 if test "x$as_val" = x""yes; then :
60028 cat >>confdefs.h <<_ACEOF
60029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60030 _ACEOF
60033 done
60042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60043 $as_echo_n "checking for float round functions... " >&6; }
60044 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60045 $as_echo_n "(cached) " >&6
60046 else
60049 ac_ext=cpp
60050 ac_cpp='$CXXCPP $CPPFLAGS'
60051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60056 /* end confdefs.h. */
60057 #include <math.h>
60059 main ()
60061 ceilf (0); floorf (0);
60063 return 0;
60065 _ACEOF
60066 if ac_fn_cxx_try_compile "$LINENO"; then :
60067 glibcxx_cv_func_float_round_use=yes
60068 else
60069 glibcxx_cv_func_float_round_use=no
60071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60072 ac_ext=c
60073 ac_cpp='$CPP $CPPFLAGS'
60074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60081 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60082 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60083 for ac_func in ceilf floorf
60084 do :
60085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60087 eval as_val=\$$as_ac_var
60088 if test "x$as_val" = x""yes; then :
60089 cat >>confdefs.h <<_ACEOF
60090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60091 _ACEOF
60094 done
60096 else
60097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60098 $as_echo_n "checking for _float round functions... " >&6; }
60099 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60100 $as_echo_n "(cached) " >&6
60101 else
60104 ac_ext=cpp
60105 ac_cpp='$CXXCPP $CPPFLAGS'
60106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60111 /* end confdefs.h. */
60112 #include <math.h>
60114 main ()
60116 _ceilf (0); _floorf (0);
60118 return 0;
60120 _ACEOF
60121 if ac_fn_cxx_try_compile "$LINENO"; then :
60122 glibcxx_cv_func__float_round_use=yes
60123 else
60124 glibcxx_cv_func__float_round_use=no
60126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60127 ac_ext=c
60128 ac_cpp='$CPP $CPPFLAGS'
60129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60136 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60137 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60138 for ac_func in _ceilf _floorf
60139 do :
60140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60142 eval as_val=\$$as_ac_var
60143 if test "x$as_val" = x""yes; then :
60144 cat >>confdefs.h <<_ACEOF
60145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60146 _ACEOF
60149 done
60159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60160 $as_echo_n "checking for expf declaration... " >&6; }
60161 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60162 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60163 $as_echo_n "(cached) " >&6
60164 else
60167 ac_ext=cpp
60168 ac_cpp='$CXXCPP $CPPFLAGS'
60169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60174 /* end confdefs.h. */
60175 #include <math.h>
60176 #ifdef HAVE_IEEEFP_H
60177 #include <ieeefp.h>
60178 #endif
60181 main ()
60183 expf(0);
60185 return 0;
60187 _ACEOF
60188 if ac_fn_cxx_try_compile "$LINENO"; then :
60189 glibcxx_cv_func_expf_use=yes
60190 else
60191 glibcxx_cv_func_expf_use=no
60193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60194 ac_ext=c
60195 ac_cpp='$CPP $CPPFLAGS'
60196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60205 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60207 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60208 for ac_func in expf
60209 do :
60210 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60211 if test "x$ac_cv_func_expf" = x""yes; then :
60212 cat >>confdefs.h <<_ACEOF
60213 #define HAVE_EXPF 1
60214 _ACEOF
60217 done
60219 else
60221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60222 $as_echo_n "checking for _expf declaration... " >&6; }
60223 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60224 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60225 $as_echo_n "(cached) " >&6
60226 else
60229 ac_ext=cpp
60230 ac_cpp='$CXXCPP $CPPFLAGS'
60231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60236 /* end confdefs.h. */
60237 #include <math.h>
60238 #ifdef HAVE_IEEEFP_H
60239 #include <ieeefp.h>
60240 #endif
60243 main ()
60245 _expf(0);
60247 return 0;
60249 _ACEOF
60250 if ac_fn_cxx_try_compile "$LINENO"; then :
60251 glibcxx_cv_func__expf_use=yes
60252 else
60253 glibcxx_cv_func__expf_use=no
60255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60256 ac_ext=c
60257 ac_cpp='$CPP $CPPFLAGS'
60258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60267 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60269 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60270 for ac_func in _expf
60271 do :
60272 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60273 if test "x$ac_cv_func__expf" = x""yes; then :
60274 cat >>confdefs.h <<_ACEOF
60275 #define HAVE__EXPF 1
60276 _ACEOF
60279 done
60288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60289 $as_echo_n "checking for isnanf declaration... " >&6; }
60290 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60291 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60292 $as_echo_n "(cached) " >&6
60293 else
60296 ac_ext=cpp
60297 ac_cpp='$CXXCPP $CPPFLAGS'
60298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60303 /* end confdefs.h. */
60304 #include <math.h>
60305 #ifdef HAVE_IEEEFP_H
60306 #include <ieeefp.h>
60307 #endif
60310 main ()
60312 isnanf(0);
60314 return 0;
60316 _ACEOF
60317 if ac_fn_cxx_try_compile "$LINENO"; then :
60318 glibcxx_cv_func_isnanf_use=yes
60319 else
60320 glibcxx_cv_func_isnanf_use=no
60322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60323 ac_ext=c
60324 ac_cpp='$CPP $CPPFLAGS'
60325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60334 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60336 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60337 for ac_func in isnanf
60338 do :
60339 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60340 if test "x$ac_cv_func_isnanf" = x""yes; then :
60341 cat >>confdefs.h <<_ACEOF
60342 #define HAVE_ISNANF 1
60343 _ACEOF
60346 done
60348 else
60350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60351 $as_echo_n "checking for _isnanf declaration... " >&6; }
60352 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60353 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60354 $as_echo_n "(cached) " >&6
60355 else
60358 ac_ext=cpp
60359 ac_cpp='$CXXCPP $CPPFLAGS'
60360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60365 /* end confdefs.h. */
60366 #include <math.h>
60367 #ifdef HAVE_IEEEFP_H
60368 #include <ieeefp.h>
60369 #endif
60372 main ()
60374 _isnanf(0);
60376 return 0;
60378 _ACEOF
60379 if ac_fn_cxx_try_compile "$LINENO"; then :
60380 glibcxx_cv_func__isnanf_use=yes
60381 else
60382 glibcxx_cv_func__isnanf_use=no
60384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60385 ac_ext=c
60386 ac_cpp='$CPP $CPPFLAGS'
60387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60396 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60398 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60399 for ac_func in _isnanf
60400 do :
60401 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60402 if test "x$ac_cv_func__isnanf" = x""yes; then :
60403 cat >>confdefs.h <<_ACEOF
60404 #define HAVE__ISNANF 1
60405 _ACEOF
60408 done
60417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60418 $as_echo_n "checking for isinff declaration... " >&6; }
60419 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60420 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60421 $as_echo_n "(cached) " >&6
60422 else
60425 ac_ext=cpp
60426 ac_cpp='$CXXCPP $CPPFLAGS'
60427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60432 /* end confdefs.h. */
60433 #include <math.h>
60434 #ifdef HAVE_IEEEFP_H
60435 #include <ieeefp.h>
60436 #endif
60439 main ()
60441 isinff(0);
60443 return 0;
60445 _ACEOF
60446 if ac_fn_cxx_try_compile "$LINENO"; then :
60447 glibcxx_cv_func_isinff_use=yes
60448 else
60449 glibcxx_cv_func_isinff_use=no
60451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60452 ac_ext=c
60453 ac_cpp='$CPP $CPPFLAGS'
60454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60463 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60465 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60466 for ac_func in isinff
60467 do :
60468 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60469 if test "x$ac_cv_func_isinff" = x""yes; then :
60470 cat >>confdefs.h <<_ACEOF
60471 #define HAVE_ISINFF 1
60472 _ACEOF
60475 done
60477 else
60479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60480 $as_echo_n "checking for _isinff declaration... " >&6; }
60481 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60482 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60483 $as_echo_n "(cached) " >&6
60484 else
60487 ac_ext=cpp
60488 ac_cpp='$CXXCPP $CPPFLAGS'
60489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60494 /* end confdefs.h. */
60495 #include <math.h>
60496 #ifdef HAVE_IEEEFP_H
60497 #include <ieeefp.h>
60498 #endif
60501 main ()
60503 _isinff(0);
60505 return 0;
60507 _ACEOF
60508 if ac_fn_cxx_try_compile "$LINENO"; then :
60509 glibcxx_cv_func__isinff_use=yes
60510 else
60511 glibcxx_cv_func__isinff_use=no
60513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60514 ac_ext=c
60515 ac_cpp='$CPP $CPPFLAGS'
60516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60525 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60527 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60528 for ac_func in _isinff
60529 do :
60530 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60531 if test "x$ac_cv_func__isinff" = x""yes; then :
60532 cat >>confdefs.h <<_ACEOF
60533 #define HAVE__ISINFF 1
60534 _ACEOF
60537 done
60546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60547 $as_echo_n "checking for atan2f declaration... " >&6; }
60548 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60549 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60550 $as_echo_n "(cached) " >&6
60551 else
60554 ac_ext=cpp
60555 ac_cpp='$CXXCPP $CPPFLAGS'
60556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60561 /* end confdefs.h. */
60562 #include <math.h>
60564 main ()
60566 atan2f(0, 0);
60568 return 0;
60570 _ACEOF
60571 if ac_fn_cxx_try_compile "$LINENO"; then :
60572 glibcxx_cv_func_atan2f_use=yes
60573 else
60574 glibcxx_cv_func_atan2f_use=no
60576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60577 ac_ext=c
60578 ac_cpp='$CPP $CPPFLAGS'
60579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60588 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60590 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60591 for ac_func in atan2f
60592 do :
60593 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60594 if test "x$ac_cv_func_atan2f" = x""yes; then :
60595 cat >>confdefs.h <<_ACEOF
60596 #define HAVE_ATAN2F 1
60597 _ACEOF
60600 done
60602 else
60604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60605 $as_echo_n "checking for _atan2f declaration... " >&6; }
60606 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60607 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60608 $as_echo_n "(cached) " >&6
60609 else
60612 ac_ext=cpp
60613 ac_cpp='$CXXCPP $CPPFLAGS'
60614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60619 /* end confdefs.h. */
60620 #include <math.h>
60622 main ()
60624 _atan2f(0, 0);
60626 return 0;
60628 _ACEOF
60629 if ac_fn_cxx_try_compile "$LINENO"; then :
60630 glibcxx_cv_func__atan2f_use=yes
60631 else
60632 glibcxx_cv_func__atan2f_use=no
60634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60635 ac_ext=c
60636 ac_cpp='$CPP $CPPFLAGS'
60637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60646 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60648 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60649 for ac_func in _atan2f
60650 do :
60651 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60652 if test "x$ac_cv_func__atan2f" = x""yes; then :
60653 cat >>confdefs.h <<_ACEOF
60654 #define HAVE__ATAN2F 1
60655 _ACEOF
60658 done
60667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60668 $as_echo_n "checking for fabsf declaration... " >&6; }
60669 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60670 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60671 $as_echo_n "(cached) " >&6
60672 else
60675 ac_ext=cpp
60676 ac_cpp='$CXXCPP $CPPFLAGS'
60677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60682 /* end confdefs.h. */
60683 #include <math.h>
60684 #ifdef HAVE_IEEEFP_H
60685 #include <ieeefp.h>
60686 #endif
60689 main ()
60691 fabsf(0);
60693 return 0;
60695 _ACEOF
60696 if ac_fn_cxx_try_compile "$LINENO"; then :
60697 glibcxx_cv_func_fabsf_use=yes
60698 else
60699 glibcxx_cv_func_fabsf_use=no
60701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60702 ac_ext=c
60703 ac_cpp='$CPP $CPPFLAGS'
60704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60713 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60715 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60716 for ac_func in fabsf
60717 do :
60718 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60719 if test "x$ac_cv_func_fabsf" = x""yes; then :
60720 cat >>confdefs.h <<_ACEOF
60721 #define HAVE_FABSF 1
60722 _ACEOF
60725 done
60727 else
60729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60730 $as_echo_n "checking for _fabsf declaration... " >&6; }
60731 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60732 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60733 $as_echo_n "(cached) " >&6
60734 else
60737 ac_ext=cpp
60738 ac_cpp='$CXXCPP $CPPFLAGS'
60739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60744 /* end confdefs.h. */
60745 #include <math.h>
60746 #ifdef HAVE_IEEEFP_H
60747 #include <ieeefp.h>
60748 #endif
60751 main ()
60753 _fabsf(0);
60755 return 0;
60757 _ACEOF
60758 if ac_fn_cxx_try_compile "$LINENO"; then :
60759 glibcxx_cv_func__fabsf_use=yes
60760 else
60761 glibcxx_cv_func__fabsf_use=no
60763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60764 ac_ext=c
60765 ac_cpp='$CPP $CPPFLAGS'
60766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60775 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60777 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60778 for ac_func in _fabsf
60779 do :
60780 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60781 if test "x$ac_cv_func__fabsf" = x""yes; then :
60782 cat >>confdefs.h <<_ACEOF
60783 #define HAVE__FABSF 1
60784 _ACEOF
60787 done
60796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60797 $as_echo_n "checking for fmodf declaration... " >&6; }
60798 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60799 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60800 $as_echo_n "(cached) " >&6
60801 else
60804 ac_ext=cpp
60805 ac_cpp='$CXXCPP $CPPFLAGS'
60806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60811 /* end confdefs.h. */
60812 #include <math.h>
60814 main ()
60816 fmodf(0, 0);
60818 return 0;
60820 _ACEOF
60821 if ac_fn_cxx_try_compile "$LINENO"; then :
60822 glibcxx_cv_func_fmodf_use=yes
60823 else
60824 glibcxx_cv_func_fmodf_use=no
60826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60827 ac_ext=c
60828 ac_cpp='$CPP $CPPFLAGS'
60829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60838 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60840 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60841 for ac_func in fmodf
60842 do :
60843 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60844 if test "x$ac_cv_func_fmodf" = x""yes; then :
60845 cat >>confdefs.h <<_ACEOF
60846 #define HAVE_FMODF 1
60847 _ACEOF
60850 done
60852 else
60854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60855 $as_echo_n "checking for _fmodf declaration... " >&6; }
60856 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60857 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60858 $as_echo_n "(cached) " >&6
60859 else
60862 ac_ext=cpp
60863 ac_cpp='$CXXCPP $CPPFLAGS'
60864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60869 /* end confdefs.h. */
60870 #include <math.h>
60872 main ()
60874 _fmodf(0, 0);
60876 return 0;
60878 _ACEOF
60879 if ac_fn_cxx_try_compile "$LINENO"; then :
60880 glibcxx_cv_func__fmodf_use=yes
60881 else
60882 glibcxx_cv_func__fmodf_use=no
60884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60885 ac_ext=c
60886 ac_cpp='$CPP $CPPFLAGS'
60887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60896 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60898 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60899 for ac_func in _fmodf
60900 do :
60901 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60902 if test "x$ac_cv_func__fmodf" = x""yes; then :
60903 cat >>confdefs.h <<_ACEOF
60904 #define HAVE__FMODF 1
60905 _ACEOF
60908 done
60917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60918 $as_echo_n "checking for frexpf declaration... " >&6; }
60919 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60920 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60921 $as_echo_n "(cached) " >&6
60922 else
60925 ac_ext=cpp
60926 ac_cpp='$CXXCPP $CPPFLAGS'
60927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60932 /* end confdefs.h. */
60933 #include <math.h>
60935 main ()
60937 frexpf(0, 0);
60939 return 0;
60941 _ACEOF
60942 if ac_fn_cxx_try_compile "$LINENO"; then :
60943 glibcxx_cv_func_frexpf_use=yes
60944 else
60945 glibcxx_cv_func_frexpf_use=no
60947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60948 ac_ext=c
60949 ac_cpp='$CPP $CPPFLAGS'
60950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60959 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60961 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60962 for ac_func in frexpf
60963 do :
60964 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60965 if test "x$ac_cv_func_frexpf" = x""yes; then :
60966 cat >>confdefs.h <<_ACEOF
60967 #define HAVE_FREXPF 1
60968 _ACEOF
60971 done
60973 else
60975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60976 $as_echo_n "checking for _frexpf declaration... " >&6; }
60977 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60978 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60979 $as_echo_n "(cached) " >&6
60980 else
60983 ac_ext=cpp
60984 ac_cpp='$CXXCPP $CPPFLAGS'
60985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60990 /* end confdefs.h. */
60991 #include <math.h>
60993 main ()
60995 _frexpf(0, 0);
60997 return 0;
60999 _ACEOF
61000 if ac_fn_cxx_try_compile "$LINENO"; then :
61001 glibcxx_cv_func__frexpf_use=yes
61002 else
61003 glibcxx_cv_func__frexpf_use=no
61005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61006 ac_ext=c
61007 ac_cpp='$CPP $CPPFLAGS'
61008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61017 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61019 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61020 for ac_func in _frexpf
61021 do :
61022 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61023 if test "x$ac_cv_func__frexpf" = x""yes; then :
61024 cat >>confdefs.h <<_ACEOF
61025 #define HAVE__FREXPF 1
61026 _ACEOF
61029 done
61038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61039 $as_echo_n "checking for hypotf declaration... " >&6; }
61040 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61041 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61042 $as_echo_n "(cached) " >&6
61043 else
61046 ac_ext=cpp
61047 ac_cpp='$CXXCPP $CPPFLAGS'
61048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61053 /* end confdefs.h. */
61054 #include <math.h>
61056 main ()
61058 hypotf(0, 0);
61060 return 0;
61062 _ACEOF
61063 if ac_fn_cxx_try_compile "$LINENO"; then :
61064 glibcxx_cv_func_hypotf_use=yes
61065 else
61066 glibcxx_cv_func_hypotf_use=no
61068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61069 ac_ext=c
61070 ac_cpp='$CPP $CPPFLAGS'
61071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61080 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61082 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61083 for ac_func in hypotf
61084 do :
61085 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61086 if test "x$ac_cv_func_hypotf" = x""yes; then :
61087 cat >>confdefs.h <<_ACEOF
61088 #define HAVE_HYPOTF 1
61089 _ACEOF
61092 done
61094 else
61096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61097 $as_echo_n "checking for _hypotf declaration... " >&6; }
61098 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61099 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61100 $as_echo_n "(cached) " >&6
61101 else
61104 ac_ext=cpp
61105 ac_cpp='$CXXCPP $CPPFLAGS'
61106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61111 /* end confdefs.h. */
61112 #include <math.h>
61114 main ()
61116 _hypotf(0, 0);
61118 return 0;
61120 _ACEOF
61121 if ac_fn_cxx_try_compile "$LINENO"; then :
61122 glibcxx_cv_func__hypotf_use=yes
61123 else
61124 glibcxx_cv_func__hypotf_use=no
61126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61127 ac_ext=c
61128 ac_cpp='$CPP $CPPFLAGS'
61129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61138 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61140 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61141 for ac_func in _hypotf
61142 do :
61143 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61144 if test "x$ac_cv_func__hypotf" = x""yes; then :
61145 cat >>confdefs.h <<_ACEOF
61146 #define HAVE__HYPOTF 1
61147 _ACEOF
61150 done
61159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61160 $as_echo_n "checking for ldexpf declaration... " >&6; }
61161 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61162 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61163 $as_echo_n "(cached) " >&6
61164 else
61167 ac_ext=cpp
61168 ac_cpp='$CXXCPP $CPPFLAGS'
61169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61174 /* end confdefs.h. */
61175 #include <math.h>
61177 main ()
61179 ldexpf(0, 0);
61181 return 0;
61183 _ACEOF
61184 if ac_fn_cxx_try_compile "$LINENO"; then :
61185 glibcxx_cv_func_ldexpf_use=yes
61186 else
61187 glibcxx_cv_func_ldexpf_use=no
61189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61190 ac_ext=c
61191 ac_cpp='$CPP $CPPFLAGS'
61192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61201 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61203 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61204 for ac_func in ldexpf
61205 do :
61206 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61207 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61208 cat >>confdefs.h <<_ACEOF
61209 #define HAVE_LDEXPF 1
61210 _ACEOF
61213 done
61215 else
61217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61218 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61219 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61220 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61221 $as_echo_n "(cached) " >&6
61222 else
61225 ac_ext=cpp
61226 ac_cpp='$CXXCPP $CPPFLAGS'
61227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61232 /* end confdefs.h. */
61233 #include <math.h>
61235 main ()
61237 _ldexpf(0, 0);
61239 return 0;
61241 _ACEOF
61242 if ac_fn_cxx_try_compile "$LINENO"; then :
61243 glibcxx_cv_func__ldexpf_use=yes
61244 else
61245 glibcxx_cv_func__ldexpf_use=no
61247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61248 ac_ext=c
61249 ac_cpp='$CPP $CPPFLAGS'
61250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61259 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61261 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61262 for ac_func in _ldexpf
61263 do :
61264 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61265 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61266 cat >>confdefs.h <<_ACEOF
61267 #define HAVE__LDEXPF 1
61268 _ACEOF
61271 done
61280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61281 $as_echo_n "checking for logf declaration... " >&6; }
61282 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61283 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61284 $as_echo_n "(cached) " >&6
61285 else
61288 ac_ext=cpp
61289 ac_cpp='$CXXCPP $CPPFLAGS'
61290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61295 /* end confdefs.h. */
61296 #include <math.h>
61297 #ifdef HAVE_IEEEFP_H
61298 #include <ieeefp.h>
61299 #endif
61302 main ()
61304 logf(0);
61306 return 0;
61308 _ACEOF
61309 if ac_fn_cxx_try_compile "$LINENO"; then :
61310 glibcxx_cv_func_logf_use=yes
61311 else
61312 glibcxx_cv_func_logf_use=no
61314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61315 ac_ext=c
61316 ac_cpp='$CPP $CPPFLAGS'
61317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61326 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61328 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61329 for ac_func in logf
61330 do :
61331 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61332 if test "x$ac_cv_func_logf" = x""yes; then :
61333 cat >>confdefs.h <<_ACEOF
61334 #define HAVE_LOGF 1
61335 _ACEOF
61338 done
61340 else
61342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61343 $as_echo_n "checking for _logf declaration... " >&6; }
61344 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61345 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61346 $as_echo_n "(cached) " >&6
61347 else
61350 ac_ext=cpp
61351 ac_cpp='$CXXCPP $CPPFLAGS'
61352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61357 /* end confdefs.h. */
61358 #include <math.h>
61359 #ifdef HAVE_IEEEFP_H
61360 #include <ieeefp.h>
61361 #endif
61364 main ()
61366 _logf(0);
61368 return 0;
61370 _ACEOF
61371 if ac_fn_cxx_try_compile "$LINENO"; then :
61372 glibcxx_cv_func__logf_use=yes
61373 else
61374 glibcxx_cv_func__logf_use=no
61376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61377 ac_ext=c
61378 ac_cpp='$CPP $CPPFLAGS'
61379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61388 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61390 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61391 for ac_func in _logf
61392 do :
61393 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61394 if test "x$ac_cv_func__logf" = x""yes; then :
61395 cat >>confdefs.h <<_ACEOF
61396 #define HAVE__LOGF 1
61397 _ACEOF
61400 done
61409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61410 $as_echo_n "checking for log10f declaration... " >&6; }
61411 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61412 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61413 $as_echo_n "(cached) " >&6
61414 else
61417 ac_ext=cpp
61418 ac_cpp='$CXXCPP $CPPFLAGS'
61419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61424 /* end confdefs.h. */
61425 #include <math.h>
61426 #ifdef HAVE_IEEEFP_H
61427 #include <ieeefp.h>
61428 #endif
61431 main ()
61433 log10f(0);
61435 return 0;
61437 _ACEOF
61438 if ac_fn_cxx_try_compile "$LINENO"; then :
61439 glibcxx_cv_func_log10f_use=yes
61440 else
61441 glibcxx_cv_func_log10f_use=no
61443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61444 ac_ext=c
61445 ac_cpp='$CPP $CPPFLAGS'
61446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61455 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61457 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61458 for ac_func in log10f
61459 do :
61460 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61461 if test "x$ac_cv_func_log10f" = x""yes; then :
61462 cat >>confdefs.h <<_ACEOF
61463 #define HAVE_LOG10F 1
61464 _ACEOF
61467 done
61469 else
61471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61472 $as_echo_n "checking for _log10f declaration... " >&6; }
61473 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61474 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61475 $as_echo_n "(cached) " >&6
61476 else
61479 ac_ext=cpp
61480 ac_cpp='$CXXCPP $CPPFLAGS'
61481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61486 /* end confdefs.h. */
61487 #include <math.h>
61488 #ifdef HAVE_IEEEFP_H
61489 #include <ieeefp.h>
61490 #endif
61493 main ()
61495 _log10f(0);
61497 return 0;
61499 _ACEOF
61500 if ac_fn_cxx_try_compile "$LINENO"; then :
61501 glibcxx_cv_func__log10f_use=yes
61502 else
61503 glibcxx_cv_func__log10f_use=no
61505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61506 ac_ext=c
61507 ac_cpp='$CPP $CPPFLAGS'
61508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61517 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61519 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61520 for ac_func in _log10f
61521 do :
61522 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61523 if test "x$ac_cv_func__log10f" = x""yes; then :
61524 cat >>confdefs.h <<_ACEOF
61525 #define HAVE__LOG10F 1
61526 _ACEOF
61529 done
61538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61539 $as_echo_n "checking for modff declaration... " >&6; }
61540 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61541 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61542 $as_echo_n "(cached) " >&6
61543 else
61546 ac_ext=cpp
61547 ac_cpp='$CXXCPP $CPPFLAGS'
61548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61553 /* end confdefs.h. */
61554 #include <math.h>
61556 main ()
61558 modff(0, 0);
61560 return 0;
61562 _ACEOF
61563 if ac_fn_cxx_try_compile "$LINENO"; then :
61564 glibcxx_cv_func_modff_use=yes
61565 else
61566 glibcxx_cv_func_modff_use=no
61568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61569 ac_ext=c
61570 ac_cpp='$CPP $CPPFLAGS'
61571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61580 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61582 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61583 for ac_func in modff
61584 do :
61585 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61586 if test "x$ac_cv_func_modff" = x""yes; then :
61587 cat >>confdefs.h <<_ACEOF
61588 #define HAVE_MODFF 1
61589 _ACEOF
61592 done
61594 else
61596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61597 $as_echo_n "checking for _modff declaration... " >&6; }
61598 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61599 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61600 $as_echo_n "(cached) " >&6
61601 else
61604 ac_ext=cpp
61605 ac_cpp='$CXXCPP $CPPFLAGS'
61606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61611 /* end confdefs.h. */
61612 #include <math.h>
61614 main ()
61616 _modff(0, 0);
61618 return 0;
61620 _ACEOF
61621 if ac_fn_cxx_try_compile "$LINENO"; then :
61622 glibcxx_cv_func__modff_use=yes
61623 else
61624 glibcxx_cv_func__modff_use=no
61626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61627 ac_ext=c
61628 ac_cpp='$CPP $CPPFLAGS'
61629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61638 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61640 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61641 for ac_func in _modff
61642 do :
61643 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61644 if test "x$ac_cv_func__modff" = x""yes; then :
61645 cat >>confdefs.h <<_ACEOF
61646 #define HAVE__MODFF 1
61647 _ACEOF
61650 done
61659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61660 $as_echo_n "checking for modf declaration... " >&6; }
61661 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61662 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61663 $as_echo_n "(cached) " >&6
61664 else
61667 ac_ext=cpp
61668 ac_cpp='$CXXCPP $CPPFLAGS'
61669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61674 /* end confdefs.h. */
61675 #include <math.h>
61677 main ()
61679 modf(0, 0);
61681 return 0;
61683 _ACEOF
61684 if ac_fn_cxx_try_compile "$LINENO"; then :
61685 glibcxx_cv_func_modf_use=yes
61686 else
61687 glibcxx_cv_func_modf_use=no
61689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61690 ac_ext=c
61691 ac_cpp='$CPP $CPPFLAGS'
61692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61701 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61703 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61704 for ac_func in modf
61705 do :
61706 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61707 if test "x$ac_cv_func_modf" = x""yes; then :
61708 cat >>confdefs.h <<_ACEOF
61709 #define HAVE_MODF 1
61710 _ACEOF
61713 done
61715 else
61717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61718 $as_echo_n "checking for _modf declaration... " >&6; }
61719 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61720 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61721 $as_echo_n "(cached) " >&6
61722 else
61725 ac_ext=cpp
61726 ac_cpp='$CXXCPP $CPPFLAGS'
61727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61732 /* end confdefs.h. */
61733 #include <math.h>
61735 main ()
61737 _modf(0, 0);
61739 return 0;
61741 _ACEOF
61742 if ac_fn_cxx_try_compile "$LINENO"; then :
61743 glibcxx_cv_func__modf_use=yes
61744 else
61745 glibcxx_cv_func__modf_use=no
61747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61748 ac_ext=c
61749 ac_cpp='$CPP $CPPFLAGS'
61750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61759 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61761 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61762 for ac_func in _modf
61763 do :
61764 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61765 if test "x$ac_cv_func__modf" = x""yes; then :
61766 cat >>confdefs.h <<_ACEOF
61767 #define HAVE__MODF 1
61768 _ACEOF
61771 done
61780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61781 $as_echo_n "checking for powf declaration... " >&6; }
61782 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61783 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61784 $as_echo_n "(cached) " >&6
61785 else
61788 ac_ext=cpp
61789 ac_cpp='$CXXCPP $CPPFLAGS'
61790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61795 /* end confdefs.h. */
61796 #include <math.h>
61798 main ()
61800 powf(0, 0);
61802 return 0;
61804 _ACEOF
61805 if ac_fn_cxx_try_compile "$LINENO"; then :
61806 glibcxx_cv_func_powf_use=yes
61807 else
61808 glibcxx_cv_func_powf_use=no
61810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61811 ac_ext=c
61812 ac_cpp='$CPP $CPPFLAGS'
61813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61822 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61824 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61825 for ac_func in powf
61826 do :
61827 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61828 if test "x$ac_cv_func_powf" = x""yes; then :
61829 cat >>confdefs.h <<_ACEOF
61830 #define HAVE_POWF 1
61831 _ACEOF
61834 done
61836 else
61838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61839 $as_echo_n "checking for _powf declaration... " >&6; }
61840 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61841 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61842 $as_echo_n "(cached) " >&6
61843 else
61846 ac_ext=cpp
61847 ac_cpp='$CXXCPP $CPPFLAGS'
61848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61853 /* end confdefs.h. */
61854 #include <math.h>
61856 main ()
61858 _powf(0, 0);
61860 return 0;
61862 _ACEOF
61863 if ac_fn_cxx_try_compile "$LINENO"; then :
61864 glibcxx_cv_func__powf_use=yes
61865 else
61866 glibcxx_cv_func__powf_use=no
61868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61869 ac_ext=c
61870 ac_cpp='$CPP $CPPFLAGS'
61871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61880 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61882 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61883 for ac_func in _powf
61884 do :
61885 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61886 if test "x$ac_cv_func__powf" = x""yes; then :
61887 cat >>confdefs.h <<_ACEOF
61888 #define HAVE__POWF 1
61889 _ACEOF
61892 done
61901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61902 $as_echo_n "checking for sqrtf declaration... " >&6; }
61903 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61904 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61905 $as_echo_n "(cached) " >&6
61906 else
61909 ac_ext=cpp
61910 ac_cpp='$CXXCPP $CPPFLAGS'
61911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61916 /* end confdefs.h. */
61917 #include <math.h>
61918 #ifdef HAVE_IEEEFP_H
61919 #include <ieeefp.h>
61920 #endif
61923 main ()
61925 sqrtf(0);
61927 return 0;
61929 _ACEOF
61930 if ac_fn_cxx_try_compile "$LINENO"; then :
61931 glibcxx_cv_func_sqrtf_use=yes
61932 else
61933 glibcxx_cv_func_sqrtf_use=no
61935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61936 ac_ext=c
61937 ac_cpp='$CPP $CPPFLAGS'
61938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61947 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61949 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61950 for ac_func in sqrtf
61951 do :
61952 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61953 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61954 cat >>confdefs.h <<_ACEOF
61955 #define HAVE_SQRTF 1
61956 _ACEOF
61959 done
61961 else
61963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61964 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61965 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61966 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61967 $as_echo_n "(cached) " >&6
61968 else
61971 ac_ext=cpp
61972 ac_cpp='$CXXCPP $CPPFLAGS'
61973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61978 /* end confdefs.h. */
61979 #include <math.h>
61980 #ifdef HAVE_IEEEFP_H
61981 #include <ieeefp.h>
61982 #endif
61985 main ()
61987 _sqrtf(0);
61989 return 0;
61991 _ACEOF
61992 if ac_fn_cxx_try_compile "$LINENO"; then :
61993 glibcxx_cv_func__sqrtf_use=yes
61994 else
61995 glibcxx_cv_func__sqrtf_use=no
61997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61998 ac_ext=c
61999 ac_cpp='$CPP $CPPFLAGS'
62000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62009 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62011 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62012 for ac_func in _sqrtf
62013 do :
62014 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62015 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62016 cat >>confdefs.h <<_ACEOF
62017 #define HAVE__SQRTF 1
62018 _ACEOF
62021 done
62030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62031 $as_echo_n "checking for sincosf declaration... " >&6; }
62032 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62033 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62034 $as_echo_n "(cached) " >&6
62035 else
62038 ac_ext=cpp
62039 ac_cpp='$CXXCPP $CPPFLAGS'
62040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62045 /* end confdefs.h. */
62046 #include <math.h>
62048 main ()
62050 sincosf(0, 0, 0);
62052 return 0;
62054 _ACEOF
62055 if ac_fn_cxx_try_compile "$LINENO"; then :
62056 glibcxx_cv_func_sincosf_use=yes
62057 else
62058 glibcxx_cv_func_sincosf_use=no
62060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62061 ac_ext=c
62062 ac_cpp='$CPP $CPPFLAGS'
62063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62072 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62074 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62075 for ac_func in sincosf
62076 do :
62077 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62078 if test "x$ac_cv_func_sincosf" = x""yes; then :
62079 cat >>confdefs.h <<_ACEOF
62080 #define HAVE_SINCOSF 1
62081 _ACEOF
62084 done
62086 else
62088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62089 $as_echo_n "checking for _sincosf declaration... " >&6; }
62090 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62091 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62092 $as_echo_n "(cached) " >&6
62093 else
62096 ac_ext=cpp
62097 ac_cpp='$CXXCPP $CPPFLAGS'
62098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62103 /* end confdefs.h. */
62104 #include <math.h>
62106 main ()
62108 _sincosf(0, 0, 0);
62110 return 0;
62112 _ACEOF
62113 if ac_fn_cxx_try_compile "$LINENO"; then :
62114 glibcxx_cv_func__sincosf_use=yes
62115 else
62116 glibcxx_cv_func__sincosf_use=no
62118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62119 ac_ext=c
62120 ac_cpp='$CPP $CPPFLAGS'
62121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62130 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62132 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62133 for ac_func in _sincosf
62134 do :
62135 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62136 if test "x$ac_cv_func__sincosf" = x""yes; then :
62137 cat >>confdefs.h <<_ACEOF
62138 #define HAVE__SINCOSF 1
62139 _ACEOF
62142 done
62151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62152 $as_echo_n "checking for finitef declaration... " >&6; }
62153 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62154 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62155 $as_echo_n "(cached) " >&6
62156 else
62159 ac_ext=cpp
62160 ac_cpp='$CXXCPP $CPPFLAGS'
62161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62166 /* end confdefs.h. */
62167 #include <math.h>
62168 #ifdef HAVE_IEEEFP_H
62169 #include <ieeefp.h>
62170 #endif
62173 main ()
62175 finitef(0);
62177 return 0;
62179 _ACEOF
62180 if ac_fn_cxx_try_compile "$LINENO"; then :
62181 glibcxx_cv_func_finitef_use=yes
62182 else
62183 glibcxx_cv_func_finitef_use=no
62185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62186 ac_ext=c
62187 ac_cpp='$CPP $CPPFLAGS'
62188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62197 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62199 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62200 for ac_func in finitef
62201 do :
62202 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62203 if test "x$ac_cv_func_finitef" = x""yes; then :
62204 cat >>confdefs.h <<_ACEOF
62205 #define HAVE_FINITEF 1
62206 _ACEOF
62209 done
62211 else
62213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62214 $as_echo_n "checking for _finitef declaration... " >&6; }
62215 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62216 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62217 $as_echo_n "(cached) " >&6
62218 else
62221 ac_ext=cpp
62222 ac_cpp='$CXXCPP $CPPFLAGS'
62223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62228 /* end confdefs.h. */
62229 #include <math.h>
62230 #ifdef HAVE_IEEEFP_H
62231 #include <ieeefp.h>
62232 #endif
62235 main ()
62237 _finitef(0);
62239 return 0;
62241 _ACEOF
62242 if ac_fn_cxx_try_compile "$LINENO"; then :
62243 glibcxx_cv_func__finitef_use=yes
62244 else
62245 glibcxx_cv_func__finitef_use=no
62247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62248 ac_ext=c
62249 ac_cpp='$CPP $CPPFLAGS'
62250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62259 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62261 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62262 for ac_func in _finitef
62263 do :
62264 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62265 if test "x$ac_cv_func__finitef" = x""yes; then :
62266 cat >>confdefs.h <<_ACEOF
62267 #define HAVE__FINITEF 1
62268 _ACEOF
62271 done
62280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62281 $as_echo_n "checking for long double trig functions... " >&6; }
62282 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62283 $as_echo_n "(cached) " >&6
62284 else
62287 ac_ext=cpp
62288 ac_cpp='$CXXCPP $CPPFLAGS'
62289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62294 /* end confdefs.h. */
62295 #include <math.h>
62297 main ()
62299 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62301 return 0;
62303 _ACEOF
62304 if ac_fn_cxx_try_compile "$LINENO"; then :
62305 glibcxx_cv_func_long_double_trig_use=yes
62306 else
62307 glibcxx_cv_func_long_double_trig_use=no
62309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62310 ac_ext=c
62311 ac_cpp='$CPP $CPPFLAGS'
62312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62319 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62320 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62321 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62322 do :
62323 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62324 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62325 eval as_val=\$$as_ac_var
62326 if test "x$as_val" = x""yes; then :
62327 cat >>confdefs.h <<_ACEOF
62328 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62329 _ACEOF
62332 done
62334 else
62335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62336 $as_echo_n "checking for _long double trig functions... " >&6; }
62337 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62338 $as_echo_n "(cached) " >&6
62339 else
62342 ac_ext=cpp
62343 ac_cpp='$CXXCPP $CPPFLAGS'
62344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62349 /* end confdefs.h. */
62350 #include <math.h>
62352 main ()
62354 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62356 return 0;
62358 _ACEOF
62359 if ac_fn_cxx_try_compile "$LINENO"; then :
62360 glibcxx_cv_func__long_double_trig_use=yes
62361 else
62362 glibcxx_cv_func__long_double_trig_use=no
62364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62365 ac_ext=c
62366 ac_cpp='$CPP $CPPFLAGS'
62367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62374 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62375 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62376 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62377 do :
62378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62380 eval as_val=\$$as_ac_var
62381 if test "x$as_val" = x""yes; then :
62382 cat >>confdefs.h <<_ACEOF
62383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62384 _ACEOF
62387 done
62396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62397 $as_echo_n "checking for long double round functions... " >&6; }
62398 if test "${glibcxx_cv_func_long_double_round_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 ceill (0); floorl (0);
62417 return 0;
62419 _ACEOF
62420 if ac_fn_cxx_try_compile "$LINENO"; then :
62421 glibcxx_cv_func_long_double_round_use=yes
62422 else
62423 glibcxx_cv_func_long_double_round_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
62434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62435 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62436 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62437 for ac_func in ceill floorl
62438 do :
62439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62441 eval as_val=\$$as_ac_var
62442 if test "x$as_val" = x""yes; then :
62443 cat >>confdefs.h <<_ACEOF
62444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62445 _ACEOF
62448 done
62450 else
62451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62452 $as_echo_n "checking for _long double round functions... " >&6; }
62453 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62454 $as_echo_n "(cached) " >&6
62455 else
62458 ac_ext=cpp
62459 ac_cpp='$CXXCPP $CPPFLAGS'
62460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62465 /* end confdefs.h. */
62466 #include <math.h>
62468 main ()
62470 _ceill (0); _floorl (0);
62472 return 0;
62474 _ACEOF
62475 if ac_fn_cxx_try_compile "$LINENO"; then :
62476 glibcxx_cv_func__long_double_round_use=yes
62477 else
62478 glibcxx_cv_func__long_double_round_use=no
62480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62481 ac_ext=c
62482 ac_cpp='$CPP $CPPFLAGS'
62483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62490 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62491 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62492 for ac_func in _ceill _floorl
62493 do :
62494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62496 eval as_val=\$$as_ac_var
62497 if test "x$as_val" = x""yes; then :
62498 cat >>confdefs.h <<_ACEOF
62499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62500 _ACEOF
62503 done
62513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62514 $as_echo_n "checking for isnanl declaration... " >&6; }
62515 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62516 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62517 $as_echo_n "(cached) " >&6
62518 else
62521 ac_ext=cpp
62522 ac_cpp='$CXXCPP $CPPFLAGS'
62523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62528 /* end confdefs.h. */
62529 #include <math.h>
62530 #ifdef HAVE_IEEEFP_H
62531 #include <ieeefp.h>
62532 #endif
62535 main ()
62537 isnanl(0);
62539 return 0;
62541 _ACEOF
62542 if ac_fn_cxx_try_compile "$LINENO"; then :
62543 glibcxx_cv_func_isnanl_use=yes
62544 else
62545 glibcxx_cv_func_isnanl_use=no
62547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62548 ac_ext=c
62549 ac_cpp='$CPP $CPPFLAGS'
62550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62559 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62561 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62562 for ac_func in isnanl
62563 do :
62564 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62565 if test "x$ac_cv_func_isnanl" = x""yes; then :
62566 cat >>confdefs.h <<_ACEOF
62567 #define HAVE_ISNANL 1
62568 _ACEOF
62571 done
62573 else
62575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62576 $as_echo_n "checking for _isnanl declaration... " >&6; }
62577 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62578 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62579 $as_echo_n "(cached) " >&6
62580 else
62583 ac_ext=cpp
62584 ac_cpp='$CXXCPP $CPPFLAGS'
62585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62590 /* end confdefs.h. */
62591 #include <math.h>
62592 #ifdef HAVE_IEEEFP_H
62593 #include <ieeefp.h>
62594 #endif
62597 main ()
62599 _isnanl(0);
62601 return 0;
62603 _ACEOF
62604 if ac_fn_cxx_try_compile "$LINENO"; then :
62605 glibcxx_cv_func__isnanl_use=yes
62606 else
62607 glibcxx_cv_func__isnanl_use=no
62609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62610 ac_ext=c
62611 ac_cpp='$CPP $CPPFLAGS'
62612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62621 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62623 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62624 for ac_func in _isnanl
62625 do :
62626 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62627 if test "x$ac_cv_func__isnanl" = x""yes; then :
62628 cat >>confdefs.h <<_ACEOF
62629 #define HAVE__ISNANL 1
62630 _ACEOF
62633 done
62642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62643 $as_echo_n "checking for isinfl declaration... " >&6; }
62644 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62645 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62646 $as_echo_n "(cached) " >&6
62647 else
62650 ac_ext=cpp
62651 ac_cpp='$CXXCPP $CPPFLAGS'
62652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62657 /* end confdefs.h. */
62658 #include <math.h>
62659 #ifdef HAVE_IEEEFP_H
62660 #include <ieeefp.h>
62661 #endif
62664 main ()
62666 isinfl(0);
62668 return 0;
62670 _ACEOF
62671 if ac_fn_cxx_try_compile "$LINENO"; then :
62672 glibcxx_cv_func_isinfl_use=yes
62673 else
62674 glibcxx_cv_func_isinfl_use=no
62676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62677 ac_ext=c
62678 ac_cpp='$CPP $CPPFLAGS'
62679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62688 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62690 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62691 for ac_func in isinfl
62692 do :
62693 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62694 if test "x$ac_cv_func_isinfl" = x""yes; then :
62695 cat >>confdefs.h <<_ACEOF
62696 #define HAVE_ISINFL 1
62697 _ACEOF
62700 done
62702 else
62704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62705 $as_echo_n "checking for _isinfl declaration... " >&6; }
62706 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62707 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62708 $as_echo_n "(cached) " >&6
62709 else
62712 ac_ext=cpp
62713 ac_cpp='$CXXCPP $CPPFLAGS'
62714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62719 /* end confdefs.h. */
62720 #include <math.h>
62721 #ifdef HAVE_IEEEFP_H
62722 #include <ieeefp.h>
62723 #endif
62726 main ()
62728 _isinfl(0);
62730 return 0;
62732 _ACEOF
62733 if ac_fn_cxx_try_compile "$LINENO"; then :
62734 glibcxx_cv_func__isinfl_use=yes
62735 else
62736 glibcxx_cv_func__isinfl_use=no
62738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62739 ac_ext=c
62740 ac_cpp='$CPP $CPPFLAGS'
62741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62750 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62752 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62753 for ac_func in _isinfl
62754 do :
62755 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62756 if test "x$ac_cv_func__isinfl" = x""yes; then :
62757 cat >>confdefs.h <<_ACEOF
62758 #define HAVE__ISINFL 1
62759 _ACEOF
62762 done
62771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62772 $as_echo_n "checking for atan2l declaration... " >&6; }
62773 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62774 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62775 $as_echo_n "(cached) " >&6
62776 else
62779 ac_ext=cpp
62780 ac_cpp='$CXXCPP $CPPFLAGS'
62781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62786 /* end confdefs.h. */
62787 #include <math.h>
62789 main ()
62791 atan2l(0, 0);
62793 return 0;
62795 _ACEOF
62796 if ac_fn_cxx_try_compile "$LINENO"; then :
62797 glibcxx_cv_func_atan2l_use=yes
62798 else
62799 glibcxx_cv_func_atan2l_use=no
62801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62802 ac_ext=c
62803 ac_cpp='$CPP $CPPFLAGS'
62804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62813 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62815 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62816 for ac_func in atan2l
62817 do :
62818 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62819 if test "x$ac_cv_func_atan2l" = x""yes; then :
62820 cat >>confdefs.h <<_ACEOF
62821 #define HAVE_ATAN2L 1
62822 _ACEOF
62825 done
62827 else
62829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62830 $as_echo_n "checking for _atan2l declaration... " >&6; }
62831 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62832 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62833 $as_echo_n "(cached) " >&6
62834 else
62837 ac_ext=cpp
62838 ac_cpp='$CXXCPP $CPPFLAGS'
62839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62844 /* end confdefs.h. */
62845 #include <math.h>
62847 main ()
62849 _atan2l(0, 0);
62851 return 0;
62853 _ACEOF
62854 if ac_fn_cxx_try_compile "$LINENO"; then :
62855 glibcxx_cv_func__atan2l_use=yes
62856 else
62857 glibcxx_cv_func__atan2l_use=no
62859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62860 ac_ext=c
62861 ac_cpp='$CPP $CPPFLAGS'
62862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62871 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62873 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62874 for ac_func in _atan2l
62875 do :
62876 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62877 if test "x$ac_cv_func__atan2l" = x""yes; then :
62878 cat >>confdefs.h <<_ACEOF
62879 #define HAVE__ATAN2L 1
62880 _ACEOF
62883 done
62892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62893 $as_echo_n "checking for expl declaration... " >&6; }
62894 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62895 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62896 $as_echo_n "(cached) " >&6
62897 else
62900 ac_ext=cpp
62901 ac_cpp='$CXXCPP $CPPFLAGS'
62902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62907 /* end confdefs.h. */
62908 #include <math.h>
62909 #ifdef HAVE_IEEEFP_H
62910 #include <ieeefp.h>
62911 #endif
62914 main ()
62916 expl(0);
62918 return 0;
62920 _ACEOF
62921 if ac_fn_cxx_try_compile "$LINENO"; then :
62922 glibcxx_cv_func_expl_use=yes
62923 else
62924 glibcxx_cv_func_expl_use=no
62926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62927 ac_ext=c
62928 ac_cpp='$CPP $CPPFLAGS'
62929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62938 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62940 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62941 for ac_func in expl
62942 do :
62943 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62944 if test "x$ac_cv_func_expl" = x""yes; then :
62945 cat >>confdefs.h <<_ACEOF
62946 #define HAVE_EXPL 1
62947 _ACEOF
62950 done
62952 else
62954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62955 $as_echo_n "checking for _expl declaration... " >&6; }
62956 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62957 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62958 $as_echo_n "(cached) " >&6
62959 else
62962 ac_ext=cpp
62963 ac_cpp='$CXXCPP $CPPFLAGS'
62964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62969 /* end confdefs.h. */
62970 #include <math.h>
62971 #ifdef HAVE_IEEEFP_H
62972 #include <ieeefp.h>
62973 #endif
62976 main ()
62978 _expl(0);
62980 return 0;
62982 _ACEOF
62983 if ac_fn_cxx_try_compile "$LINENO"; then :
62984 glibcxx_cv_func__expl_use=yes
62985 else
62986 glibcxx_cv_func__expl_use=no
62988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62989 ac_ext=c
62990 ac_cpp='$CPP $CPPFLAGS'
62991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63000 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63002 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63003 for ac_func in _expl
63004 do :
63005 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63006 if test "x$ac_cv_func__expl" = x""yes; then :
63007 cat >>confdefs.h <<_ACEOF
63008 #define HAVE__EXPL 1
63009 _ACEOF
63012 done
63021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63022 $as_echo_n "checking for fabsl declaration... " >&6; }
63023 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63024 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63025 $as_echo_n "(cached) " >&6
63026 else
63029 ac_ext=cpp
63030 ac_cpp='$CXXCPP $CPPFLAGS'
63031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63036 /* end confdefs.h. */
63037 #include <math.h>
63038 #ifdef HAVE_IEEEFP_H
63039 #include <ieeefp.h>
63040 #endif
63043 main ()
63045 fabsl(0);
63047 return 0;
63049 _ACEOF
63050 if ac_fn_cxx_try_compile "$LINENO"; then :
63051 glibcxx_cv_func_fabsl_use=yes
63052 else
63053 glibcxx_cv_func_fabsl_use=no
63055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63056 ac_ext=c
63057 ac_cpp='$CPP $CPPFLAGS'
63058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63067 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63069 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63070 for ac_func in fabsl
63071 do :
63072 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63073 if test "x$ac_cv_func_fabsl" = x""yes; then :
63074 cat >>confdefs.h <<_ACEOF
63075 #define HAVE_FABSL 1
63076 _ACEOF
63079 done
63081 else
63083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63084 $as_echo_n "checking for _fabsl declaration... " >&6; }
63085 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63086 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63087 $as_echo_n "(cached) " >&6
63088 else
63091 ac_ext=cpp
63092 ac_cpp='$CXXCPP $CPPFLAGS'
63093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63098 /* end confdefs.h. */
63099 #include <math.h>
63100 #ifdef HAVE_IEEEFP_H
63101 #include <ieeefp.h>
63102 #endif
63105 main ()
63107 _fabsl(0);
63109 return 0;
63111 _ACEOF
63112 if ac_fn_cxx_try_compile "$LINENO"; then :
63113 glibcxx_cv_func__fabsl_use=yes
63114 else
63115 glibcxx_cv_func__fabsl_use=no
63117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63118 ac_ext=c
63119 ac_cpp='$CPP $CPPFLAGS'
63120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63129 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63131 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63132 for ac_func in _fabsl
63133 do :
63134 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63135 if test "x$ac_cv_func__fabsl" = x""yes; then :
63136 cat >>confdefs.h <<_ACEOF
63137 #define HAVE__FABSL 1
63138 _ACEOF
63141 done
63150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63151 $as_echo_n "checking for fmodl declaration... " >&6; }
63152 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63153 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63154 $as_echo_n "(cached) " >&6
63155 else
63158 ac_ext=cpp
63159 ac_cpp='$CXXCPP $CPPFLAGS'
63160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63165 /* end confdefs.h. */
63166 #include <math.h>
63168 main ()
63170 fmodl(0, 0);
63172 return 0;
63174 _ACEOF
63175 if ac_fn_cxx_try_compile "$LINENO"; then :
63176 glibcxx_cv_func_fmodl_use=yes
63177 else
63178 glibcxx_cv_func_fmodl_use=no
63180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63181 ac_ext=c
63182 ac_cpp='$CPP $CPPFLAGS'
63183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63192 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63194 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63195 for ac_func in fmodl
63196 do :
63197 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63198 if test "x$ac_cv_func_fmodl" = x""yes; then :
63199 cat >>confdefs.h <<_ACEOF
63200 #define HAVE_FMODL 1
63201 _ACEOF
63204 done
63206 else
63208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63209 $as_echo_n "checking for _fmodl declaration... " >&6; }
63210 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63211 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63212 $as_echo_n "(cached) " >&6
63213 else
63216 ac_ext=cpp
63217 ac_cpp='$CXXCPP $CPPFLAGS'
63218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63223 /* end confdefs.h. */
63224 #include <math.h>
63226 main ()
63228 _fmodl(0, 0);
63230 return 0;
63232 _ACEOF
63233 if ac_fn_cxx_try_compile "$LINENO"; then :
63234 glibcxx_cv_func__fmodl_use=yes
63235 else
63236 glibcxx_cv_func__fmodl_use=no
63238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63239 ac_ext=c
63240 ac_cpp='$CPP $CPPFLAGS'
63241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63250 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63252 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63253 for ac_func in _fmodl
63254 do :
63255 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63256 if test "x$ac_cv_func__fmodl" = x""yes; then :
63257 cat >>confdefs.h <<_ACEOF
63258 #define HAVE__FMODL 1
63259 _ACEOF
63262 done
63271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63272 $as_echo_n "checking for frexpl declaration... " >&6; }
63273 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63274 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63275 $as_echo_n "(cached) " >&6
63276 else
63279 ac_ext=cpp
63280 ac_cpp='$CXXCPP $CPPFLAGS'
63281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63286 /* end confdefs.h. */
63287 #include <math.h>
63289 main ()
63291 frexpl(0, 0);
63293 return 0;
63295 _ACEOF
63296 if ac_fn_cxx_try_compile "$LINENO"; then :
63297 glibcxx_cv_func_frexpl_use=yes
63298 else
63299 glibcxx_cv_func_frexpl_use=no
63301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63302 ac_ext=c
63303 ac_cpp='$CPP $CPPFLAGS'
63304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63313 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63315 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63316 for ac_func in frexpl
63317 do :
63318 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63319 if test "x$ac_cv_func_frexpl" = x""yes; then :
63320 cat >>confdefs.h <<_ACEOF
63321 #define HAVE_FREXPL 1
63322 _ACEOF
63325 done
63327 else
63329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63330 $as_echo_n "checking for _frexpl declaration... " >&6; }
63331 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63332 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63333 $as_echo_n "(cached) " >&6
63334 else
63337 ac_ext=cpp
63338 ac_cpp='$CXXCPP $CPPFLAGS'
63339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63344 /* end confdefs.h. */
63345 #include <math.h>
63347 main ()
63349 _frexpl(0, 0);
63351 return 0;
63353 _ACEOF
63354 if ac_fn_cxx_try_compile "$LINENO"; then :
63355 glibcxx_cv_func__frexpl_use=yes
63356 else
63357 glibcxx_cv_func__frexpl_use=no
63359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63360 ac_ext=c
63361 ac_cpp='$CPP $CPPFLAGS'
63362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63371 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63373 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63374 for ac_func in _frexpl
63375 do :
63376 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63377 if test "x$ac_cv_func__frexpl" = x""yes; then :
63378 cat >>confdefs.h <<_ACEOF
63379 #define HAVE__FREXPL 1
63380 _ACEOF
63383 done
63392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63393 $as_echo_n "checking for hypotl declaration... " >&6; }
63394 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63395 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63396 $as_echo_n "(cached) " >&6
63397 else
63400 ac_ext=cpp
63401 ac_cpp='$CXXCPP $CPPFLAGS'
63402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63407 /* end confdefs.h. */
63408 #include <math.h>
63410 main ()
63412 hypotl(0, 0);
63414 return 0;
63416 _ACEOF
63417 if ac_fn_cxx_try_compile "$LINENO"; then :
63418 glibcxx_cv_func_hypotl_use=yes
63419 else
63420 glibcxx_cv_func_hypotl_use=no
63422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63423 ac_ext=c
63424 ac_cpp='$CPP $CPPFLAGS'
63425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63434 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63436 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63437 for ac_func in hypotl
63438 do :
63439 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63440 if test "x$ac_cv_func_hypotl" = x""yes; then :
63441 cat >>confdefs.h <<_ACEOF
63442 #define HAVE_HYPOTL 1
63443 _ACEOF
63446 done
63448 else
63450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63451 $as_echo_n "checking for _hypotl declaration... " >&6; }
63452 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63453 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63454 $as_echo_n "(cached) " >&6
63455 else
63458 ac_ext=cpp
63459 ac_cpp='$CXXCPP $CPPFLAGS'
63460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63465 /* end confdefs.h. */
63466 #include <math.h>
63468 main ()
63470 _hypotl(0, 0);
63472 return 0;
63474 _ACEOF
63475 if ac_fn_cxx_try_compile "$LINENO"; then :
63476 glibcxx_cv_func__hypotl_use=yes
63477 else
63478 glibcxx_cv_func__hypotl_use=no
63480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63481 ac_ext=c
63482 ac_cpp='$CPP $CPPFLAGS'
63483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63492 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63494 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63495 for ac_func in _hypotl
63496 do :
63497 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63498 if test "x$ac_cv_func__hypotl" = x""yes; then :
63499 cat >>confdefs.h <<_ACEOF
63500 #define HAVE__HYPOTL 1
63501 _ACEOF
63504 done
63513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63514 $as_echo_n "checking for ldexpl declaration... " >&6; }
63515 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63516 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63517 $as_echo_n "(cached) " >&6
63518 else
63521 ac_ext=cpp
63522 ac_cpp='$CXXCPP $CPPFLAGS'
63523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63528 /* end confdefs.h. */
63529 #include <math.h>
63531 main ()
63533 ldexpl(0, 0);
63535 return 0;
63537 _ACEOF
63538 if ac_fn_cxx_try_compile "$LINENO"; then :
63539 glibcxx_cv_func_ldexpl_use=yes
63540 else
63541 glibcxx_cv_func_ldexpl_use=no
63543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63544 ac_ext=c
63545 ac_cpp='$CPP $CPPFLAGS'
63546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63555 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63557 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63558 for ac_func in ldexpl
63559 do :
63560 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63561 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63562 cat >>confdefs.h <<_ACEOF
63563 #define HAVE_LDEXPL 1
63564 _ACEOF
63567 done
63569 else
63571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63572 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63573 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63574 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63575 $as_echo_n "(cached) " >&6
63576 else
63579 ac_ext=cpp
63580 ac_cpp='$CXXCPP $CPPFLAGS'
63581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63586 /* end confdefs.h. */
63587 #include <math.h>
63589 main ()
63591 _ldexpl(0, 0);
63593 return 0;
63595 _ACEOF
63596 if ac_fn_cxx_try_compile "$LINENO"; then :
63597 glibcxx_cv_func__ldexpl_use=yes
63598 else
63599 glibcxx_cv_func__ldexpl_use=no
63601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63602 ac_ext=c
63603 ac_cpp='$CPP $CPPFLAGS'
63604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63613 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63615 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63616 for ac_func in _ldexpl
63617 do :
63618 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63619 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63620 cat >>confdefs.h <<_ACEOF
63621 #define HAVE__LDEXPL 1
63622 _ACEOF
63625 done
63634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63635 $as_echo_n "checking for logl declaration... " >&6; }
63636 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63637 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63638 $as_echo_n "(cached) " >&6
63639 else
63642 ac_ext=cpp
63643 ac_cpp='$CXXCPP $CPPFLAGS'
63644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63649 /* end confdefs.h. */
63650 #include <math.h>
63651 #ifdef HAVE_IEEEFP_H
63652 #include <ieeefp.h>
63653 #endif
63656 main ()
63658 logl(0);
63660 return 0;
63662 _ACEOF
63663 if ac_fn_cxx_try_compile "$LINENO"; then :
63664 glibcxx_cv_func_logl_use=yes
63665 else
63666 glibcxx_cv_func_logl_use=no
63668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63669 ac_ext=c
63670 ac_cpp='$CPP $CPPFLAGS'
63671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63680 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63682 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63683 for ac_func in logl
63684 do :
63685 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63686 if test "x$ac_cv_func_logl" = x""yes; then :
63687 cat >>confdefs.h <<_ACEOF
63688 #define HAVE_LOGL 1
63689 _ACEOF
63692 done
63694 else
63696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63697 $as_echo_n "checking for _logl declaration... " >&6; }
63698 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63699 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63700 $as_echo_n "(cached) " >&6
63701 else
63704 ac_ext=cpp
63705 ac_cpp='$CXXCPP $CPPFLAGS'
63706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63711 /* end confdefs.h. */
63712 #include <math.h>
63713 #ifdef HAVE_IEEEFP_H
63714 #include <ieeefp.h>
63715 #endif
63718 main ()
63720 _logl(0);
63722 return 0;
63724 _ACEOF
63725 if ac_fn_cxx_try_compile "$LINENO"; then :
63726 glibcxx_cv_func__logl_use=yes
63727 else
63728 glibcxx_cv_func__logl_use=no
63730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63731 ac_ext=c
63732 ac_cpp='$CPP $CPPFLAGS'
63733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63742 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63744 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63745 for ac_func in _logl
63746 do :
63747 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63748 if test "x$ac_cv_func__logl" = x""yes; then :
63749 cat >>confdefs.h <<_ACEOF
63750 #define HAVE__LOGL 1
63751 _ACEOF
63754 done
63763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63764 $as_echo_n "checking for log10l declaration... " >&6; }
63765 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63766 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63767 $as_echo_n "(cached) " >&6
63768 else
63771 ac_ext=cpp
63772 ac_cpp='$CXXCPP $CPPFLAGS'
63773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63778 /* end confdefs.h. */
63779 #include <math.h>
63780 #ifdef HAVE_IEEEFP_H
63781 #include <ieeefp.h>
63782 #endif
63785 main ()
63787 log10l(0);
63789 return 0;
63791 _ACEOF
63792 if ac_fn_cxx_try_compile "$LINENO"; then :
63793 glibcxx_cv_func_log10l_use=yes
63794 else
63795 glibcxx_cv_func_log10l_use=no
63797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63798 ac_ext=c
63799 ac_cpp='$CPP $CPPFLAGS'
63800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63809 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63811 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63812 for ac_func in log10l
63813 do :
63814 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63815 if test "x$ac_cv_func_log10l" = x""yes; then :
63816 cat >>confdefs.h <<_ACEOF
63817 #define HAVE_LOG10L 1
63818 _ACEOF
63821 done
63823 else
63825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63826 $as_echo_n "checking for _log10l declaration... " >&6; }
63827 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63828 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63829 $as_echo_n "(cached) " >&6
63830 else
63833 ac_ext=cpp
63834 ac_cpp='$CXXCPP $CPPFLAGS'
63835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63840 /* end confdefs.h. */
63841 #include <math.h>
63842 #ifdef HAVE_IEEEFP_H
63843 #include <ieeefp.h>
63844 #endif
63847 main ()
63849 _log10l(0);
63851 return 0;
63853 _ACEOF
63854 if ac_fn_cxx_try_compile "$LINENO"; then :
63855 glibcxx_cv_func__log10l_use=yes
63856 else
63857 glibcxx_cv_func__log10l_use=no
63859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63860 ac_ext=c
63861 ac_cpp='$CPP $CPPFLAGS'
63862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63871 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63873 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63874 for ac_func in _log10l
63875 do :
63876 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63877 if test "x$ac_cv_func__log10l" = x""yes; then :
63878 cat >>confdefs.h <<_ACEOF
63879 #define HAVE__LOG10L 1
63880 _ACEOF
63883 done
63892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63893 $as_echo_n "checking for modfl declaration... " >&6; }
63894 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63895 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63896 $as_echo_n "(cached) " >&6
63897 else
63900 ac_ext=cpp
63901 ac_cpp='$CXXCPP $CPPFLAGS'
63902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63907 /* end confdefs.h. */
63908 #include <math.h>
63910 main ()
63912 modfl(0, 0);
63914 return 0;
63916 _ACEOF
63917 if ac_fn_cxx_try_compile "$LINENO"; then :
63918 glibcxx_cv_func_modfl_use=yes
63919 else
63920 glibcxx_cv_func_modfl_use=no
63922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63923 ac_ext=c
63924 ac_cpp='$CPP $CPPFLAGS'
63925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63934 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63936 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63937 for ac_func in modfl
63938 do :
63939 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63940 if test "x$ac_cv_func_modfl" = x""yes; then :
63941 cat >>confdefs.h <<_ACEOF
63942 #define HAVE_MODFL 1
63943 _ACEOF
63946 done
63948 else
63950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63951 $as_echo_n "checking for _modfl declaration... " >&6; }
63952 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63953 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63954 $as_echo_n "(cached) " >&6
63955 else
63958 ac_ext=cpp
63959 ac_cpp='$CXXCPP $CPPFLAGS'
63960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63965 /* end confdefs.h. */
63966 #include <math.h>
63968 main ()
63970 _modfl(0, 0);
63972 return 0;
63974 _ACEOF
63975 if ac_fn_cxx_try_compile "$LINENO"; then :
63976 glibcxx_cv_func__modfl_use=yes
63977 else
63978 glibcxx_cv_func__modfl_use=no
63980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63981 ac_ext=c
63982 ac_cpp='$CPP $CPPFLAGS'
63983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63992 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63994 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63995 for ac_func in _modfl
63996 do :
63997 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63998 if test "x$ac_cv_func__modfl" = x""yes; then :
63999 cat >>confdefs.h <<_ACEOF
64000 #define HAVE__MODFL 1
64001 _ACEOF
64004 done
64013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64014 $as_echo_n "checking for powl declaration... " >&6; }
64015 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64016 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64017 $as_echo_n "(cached) " >&6
64018 else
64021 ac_ext=cpp
64022 ac_cpp='$CXXCPP $CPPFLAGS'
64023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64028 /* end confdefs.h. */
64029 #include <math.h>
64031 main ()
64033 powl(0, 0);
64035 return 0;
64037 _ACEOF
64038 if ac_fn_cxx_try_compile "$LINENO"; then :
64039 glibcxx_cv_func_powl_use=yes
64040 else
64041 glibcxx_cv_func_powl_use=no
64043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64044 ac_ext=c
64045 ac_cpp='$CPP $CPPFLAGS'
64046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64055 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64057 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64058 for ac_func in powl
64059 do :
64060 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64061 if test "x$ac_cv_func_powl" = x""yes; then :
64062 cat >>confdefs.h <<_ACEOF
64063 #define HAVE_POWL 1
64064 _ACEOF
64067 done
64069 else
64071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64072 $as_echo_n "checking for _powl declaration... " >&6; }
64073 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64074 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64075 $as_echo_n "(cached) " >&6
64076 else
64079 ac_ext=cpp
64080 ac_cpp='$CXXCPP $CPPFLAGS'
64081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64086 /* end confdefs.h. */
64087 #include <math.h>
64089 main ()
64091 _powl(0, 0);
64093 return 0;
64095 _ACEOF
64096 if ac_fn_cxx_try_compile "$LINENO"; then :
64097 glibcxx_cv_func__powl_use=yes
64098 else
64099 glibcxx_cv_func__powl_use=no
64101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64102 ac_ext=c
64103 ac_cpp='$CPP $CPPFLAGS'
64104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64113 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64115 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64116 for ac_func in _powl
64117 do :
64118 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64119 if test "x$ac_cv_func__powl" = x""yes; then :
64120 cat >>confdefs.h <<_ACEOF
64121 #define HAVE__POWL 1
64122 _ACEOF
64125 done
64134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64135 $as_echo_n "checking for sqrtl declaration... " >&6; }
64136 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64137 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64138 $as_echo_n "(cached) " >&6
64139 else
64142 ac_ext=cpp
64143 ac_cpp='$CXXCPP $CPPFLAGS'
64144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64149 /* end confdefs.h. */
64150 #include <math.h>
64151 #ifdef HAVE_IEEEFP_H
64152 #include <ieeefp.h>
64153 #endif
64156 main ()
64158 sqrtl(0);
64160 return 0;
64162 _ACEOF
64163 if ac_fn_cxx_try_compile "$LINENO"; then :
64164 glibcxx_cv_func_sqrtl_use=yes
64165 else
64166 glibcxx_cv_func_sqrtl_use=no
64168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64169 ac_ext=c
64170 ac_cpp='$CPP $CPPFLAGS'
64171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64180 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64182 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64183 for ac_func in sqrtl
64184 do :
64185 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64186 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64187 cat >>confdefs.h <<_ACEOF
64188 #define HAVE_SQRTL 1
64189 _ACEOF
64192 done
64194 else
64196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64197 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64198 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64199 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64200 $as_echo_n "(cached) " >&6
64201 else
64204 ac_ext=cpp
64205 ac_cpp='$CXXCPP $CPPFLAGS'
64206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64211 /* end confdefs.h. */
64212 #include <math.h>
64213 #ifdef HAVE_IEEEFP_H
64214 #include <ieeefp.h>
64215 #endif
64218 main ()
64220 _sqrtl(0);
64222 return 0;
64224 _ACEOF
64225 if ac_fn_cxx_try_compile "$LINENO"; then :
64226 glibcxx_cv_func__sqrtl_use=yes
64227 else
64228 glibcxx_cv_func__sqrtl_use=no
64230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64231 ac_ext=c
64232 ac_cpp='$CPP $CPPFLAGS'
64233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64242 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64244 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64245 for ac_func in _sqrtl
64246 do :
64247 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64248 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64249 cat >>confdefs.h <<_ACEOF
64250 #define HAVE__SQRTL 1
64251 _ACEOF
64254 done
64263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64264 $as_echo_n "checking for sincosl declaration... " >&6; }
64265 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64266 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64267 $as_echo_n "(cached) " >&6
64268 else
64271 ac_ext=cpp
64272 ac_cpp='$CXXCPP $CPPFLAGS'
64273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64278 /* end confdefs.h. */
64279 #include <math.h>
64281 main ()
64283 sincosl(0, 0, 0);
64285 return 0;
64287 _ACEOF
64288 if ac_fn_cxx_try_compile "$LINENO"; then :
64289 glibcxx_cv_func_sincosl_use=yes
64290 else
64291 glibcxx_cv_func_sincosl_use=no
64293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64294 ac_ext=c
64295 ac_cpp='$CPP $CPPFLAGS'
64296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64305 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64307 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64308 for ac_func in sincosl
64309 do :
64310 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64311 if test "x$ac_cv_func_sincosl" = x""yes; then :
64312 cat >>confdefs.h <<_ACEOF
64313 #define HAVE_SINCOSL 1
64314 _ACEOF
64317 done
64319 else
64321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64322 $as_echo_n "checking for _sincosl declaration... " >&6; }
64323 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64324 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64325 $as_echo_n "(cached) " >&6
64326 else
64329 ac_ext=cpp
64330 ac_cpp='$CXXCPP $CPPFLAGS'
64331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64336 /* end confdefs.h. */
64337 #include <math.h>
64339 main ()
64341 _sincosl(0, 0, 0);
64343 return 0;
64345 _ACEOF
64346 if ac_fn_cxx_try_compile "$LINENO"; then :
64347 glibcxx_cv_func__sincosl_use=yes
64348 else
64349 glibcxx_cv_func__sincosl_use=no
64351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64352 ac_ext=c
64353 ac_cpp='$CPP $CPPFLAGS'
64354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64363 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64365 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64366 for ac_func in _sincosl
64367 do :
64368 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64369 if test "x$ac_cv_func__sincosl" = x""yes; then :
64370 cat >>confdefs.h <<_ACEOF
64371 #define HAVE__SINCOSL 1
64372 _ACEOF
64375 done
64384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64385 $as_echo_n "checking for finitel declaration... " >&6; }
64386 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64387 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64388 $as_echo_n "(cached) " >&6
64389 else
64392 ac_ext=cpp
64393 ac_cpp='$CXXCPP $CPPFLAGS'
64394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64399 /* end confdefs.h. */
64400 #include <math.h>
64401 #ifdef HAVE_IEEEFP_H
64402 #include <ieeefp.h>
64403 #endif
64406 main ()
64408 finitel(0);
64410 return 0;
64412 _ACEOF
64413 if ac_fn_cxx_try_compile "$LINENO"; then :
64414 glibcxx_cv_func_finitel_use=yes
64415 else
64416 glibcxx_cv_func_finitel_use=no
64418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64419 ac_ext=c
64420 ac_cpp='$CPP $CPPFLAGS'
64421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64430 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64432 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64433 for ac_func in finitel
64434 do :
64435 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64436 if test "x$ac_cv_func_finitel" = x""yes; then :
64437 cat >>confdefs.h <<_ACEOF
64438 #define HAVE_FINITEL 1
64439 _ACEOF
64442 done
64444 else
64446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64447 $as_echo_n "checking for _finitel declaration... " >&6; }
64448 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64449 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64450 $as_echo_n "(cached) " >&6
64451 else
64454 ac_ext=cpp
64455 ac_cpp='$CXXCPP $CPPFLAGS'
64456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64461 /* end confdefs.h. */
64462 #include <math.h>
64463 #ifdef HAVE_IEEEFP_H
64464 #include <ieeefp.h>
64465 #endif
64468 main ()
64470 _finitel(0);
64472 return 0;
64474 _ACEOF
64475 if ac_fn_cxx_try_compile "$LINENO"; then :
64476 glibcxx_cv_func__finitel_use=yes
64477 else
64478 glibcxx_cv_func__finitel_use=no
64480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64481 ac_ext=c
64482 ac_cpp='$CPP $CPPFLAGS'
64483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64492 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64494 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64495 for ac_func in _finitel
64496 do :
64497 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64498 if test "x$ac_cv_func__finitel" = x""yes; then :
64499 cat >>confdefs.h <<_ACEOF
64500 #define HAVE__FINITEL 1
64501 _ACEOF
64504 done
64512 LIBS="$ac_save_LIBS"
64513 CXXFLAGS="$ac_save_CXXFLAGS"
64516 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64517 ac_save_CXXFLAGS="$CXXFLAGS"
64518 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64522 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64523 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64524 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64525 $as_echo_n "(cached) " >&6
64526 else
64529 ac_ext=cpp
64530 ac_cpp='$CXXCPP $CPPFLAGS'
64531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64536 /* end confdefs.h. */
64537 #include <stdlib.h>
64539 main ()
64541 at_quick_exit(0);
64543 return 0;
64545 _ACEOF
64546 if ac_fn_cxx_try_compile "$LINENO"; then :
64547 glibcxx_cv_func_at_quick_exit_use=yes
64548 else
64549 glibcxx_cv_func_at_quick_exit_use=no
64551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64552 ac_ext=c
64553 ac_cpp='$CPP $CPPFLAGS'
64554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64563 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64564 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64565 for ac_func in at_quick_exit
64566 do :
64567 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64568 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64569 cat >>confdefs.h <<_ACEOF
64570 #define HAVE_AT_QUICK_EXIT 1
64571 _ACEOF
64574 done
64579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64580 $as_echo_n "checking for quick_exit declaration... " >&6; }
64581 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64582 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64583 $as_echo_n "(cached) " >&6
64584 else
64587 ac_ext=cpp
64588 ac_cpp='$CXXCPP $CPPFLAGS'
64589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64594 /* end confdefs.h. */
64595 #include <stdlib.h>
64597 main ()
64599 quick_exit(0);
64601 return 0;
64603 _ACEOF
64604 if ac_fn_cxx_try_compile "$LINENO"; then :
64605 glibcxx_cv_func_quick_exit_use=yes
64606 else
64607 glibcxx_cv_func_quick_exit_use=no
64609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64610 ac_ext=c
64611 ac_cpp='$CPP $CPPFLAGS'
64612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64621 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64622 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64623 for ac_func in quick_exit
64624 do :
64625 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64626 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64627 cat >>confdefs.h <<_ACEOF
64628 #define HAVE_QUICK_EXIT 1
64629 _ACEOF
64632 done
64637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64638 $as_echo_n "checking for strtold declaration... " >&6; }
64639 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64640 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64641 $as_echo_n "(cached) " >&6
64642 else
64645 ac_ext=cpp
64646 ac_cpp='$CXXCPP $CPPFLAGS'
64647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64652 /* end confdefs.h. */
64653 #include <stdlib.h>
64655 main ()
64657 strtold(0, 0);
64659 return 0;
64661 _ACEOF
64662 if ac_fn_cxx_try_compile "$LINENO"; then :
64663 glibcxx_cv_func_strtold_use=yes
64664 else
64665 glibcxx_cv_func_strtold_use=no
64667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64668 ac_ext=c
64669 ac_cpp='$CPP $CPPFLAGS'
64670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64679 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64680 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64681 for ac_func in strtold
64682 do :
64683 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64684 if test "x$ac_cv_func_strtold" = x""yes; then :
64685 cat >>confdefs.h <<_ACEOF
64686 #define HAVE_STRTOLD 1
64687 _ACEOF
64690 done
64697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64698 $as_echo_n "checking for strtof declaration... " >&6; }
64699 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64700 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64701 $as_echo_n "(cached) " >&6
64702 else
64705 ac_ext=cpp
64706 ac_cpp='$CXXCPP $CPPFLAGS'
64707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64712 /* end confdefs.h. */
64713 #include <stdlib.h>
64715 main ()
64717 strtof(0, 0);
64719 return 0;
64721 _ACEOF
64722 if ac_fn_cxx_try_compile "$LINENO"; then :
64723 glibcxx_cv_func_strtof_use=yes
64724 else
64725 glibcxx_cv_func_strtof_use=no
64727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64728 ac_ext=c
64729 ac_cpp='$CPP $CPPFLAGS'
64730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64739 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64740 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64741 for ac_func in strtof
64742 do :
64743 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64744 if test "x$ac_cv_func_strtof" = x""yes; then :
64745 cat >>confdefs.h <<_ACEOF
64746 #define HAVE_STRTOF 1
64747 _ACEOF
64750 done
64757 CXXFLAGS="$ac_save_CXXFLAGS"
64760 *-netbsd*)
64761 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64764 # If we're not using GNU ld, then there's no point in even trying these
64765 # tests. Check for that first. We should have already tested for gld
64766 # by now (in libtool), but require it now just to be safe...
64767 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64768 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64772 # The name set by libtool depends on the version of libtool. Shame on us
64773 # for depending on an impl detail, but c'est la vie. Older versions used
64774 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64775 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64776 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64777 # set (hence we're using an older libtool), then set it.
64778 if test x${with_gnu_ld+set} != xset; then
64779 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64780 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64781 with_gnu_ld=no
64782 else
64783 with_gnu_ld=$ac_cv_prog_gnu_ld
64787 # Start by getting the version number. I think the libtool test already
64788 # does some of this, but throws away the result.
64789 glibcxx_ld_is_gold=no
64790 if test x"$with_gnu_ld" = x"yes"; then
64791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64792 $as_echo_n "checking for ld version... " >&6; }
64794 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64795 glibcxx_ld_is_gold=yes
64797 ldver=`$LD --version 2>/dev/null |
64798 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'`
64800 glibcxx_gnu_ld_version=`echo $ldver | \
64801 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64803 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64806 # Set --gc-sections.
64807 glibcxx_have_gc_sections=no
64808 if test "$glibcxx_ld_is_gold" = "yes"; then
64809 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64810 glibcxx_have_gc_sections=yes
64812 else
64813 glibcxx_gcsections_min_ld=21602
64814 if test x"$with_gnu_ld" = x"yes" &&
64815 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64816 glibcxx_have_gc_sections=yes
64819 if test "$glibcxx_have_gc_sections" = "yes"; then
64820 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64821 # NB: This flag only works reliably after 2.16.1. Configure tests
64822 # for this are difficult, so hard wire a value that should work.
64824 ac_test_CFLAGS="${CFLAGS+set}"
64825 ac_save_CFLAGS="$CFLAGS"
64826 CFLAGS='-Wl,--gc-sections'
64828 # Check for -Wl,--gc-sections
64829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64830 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64831 if test x$gcc_no_link = xyes; then
64832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64835 /* end confdefs.h. */
64836 int one(void) { return 1; }
64837 int two(void) { return 2; }
64840 main ()
64842 two();
64844 return 0;
64846 _ACEOF
64847 if ac_fn_c_try_link "$LINENO"; then :
64848 ac_gcsections=yes
64849 else
64850 ac_gcsections=no
64852 rm -f core conftest.err conftest.$ac_objext \
64853 conftest$ac_exeext conftest.$ac_ext
64854 if test "$ac_gcsections" = "yes"; then
64855 rm -f conftest.c
64856 touch conftest.c
64857 if $CC -c conftest.c; then
64858 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64859 grep "Warning: gc-sections option ignored" > /dev/null; then
64860 ac_gcsections=no
64863 rm -f conftest.c conftest.o conftest
64865 if test "$ac_gcsections" = "yes"; then
64866 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64869 $as_echo "$ac_gcsections" >&6; }
64871 if test "$ac_test_CFLAGS" = set; then
64872 CFLAGS="$ac_save_CFLAGS"
64873 else
64874 # this is the suspicious part
64875 CFLAGS=''
64879 # Set -z,relro.
64880 # Note this is only for shared objects.
64881 ac_ld_relro=no
64882 if test x"$with_gnu_ld" = x"yes"; then
64883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64884 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64885 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64886 if test -n "$cxx_z_relo"; then
64887 OPT_LDFLAGS="-Wl,-z,relro"
64888 ac_ld_relro=yes
64890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64891 $as_echo "$ac_ld_relro" >&6; }
64894 # Set linker optimization flags.
64895 if test x"$with_gnu_ld" = x"yes"; then
64896 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64902 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64904 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64906 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64908 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64910 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64912 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64914 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64916 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64918 if test x"long_double_math_on_this_cpu" = x"yes"; then
64919 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64921 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64923 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64927 *-qnx6.1* | *-qnx6.2*)
64928 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64931 # If we're not using GNU ld, then there's no point in even trying these
64932 # tests. Check for that first. We should have already tested for gld
64933 # by now (in libtool), but require it now just to be safe...
64934 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64935 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64939 # The name set by libtool depends on the version of libtool. Shame on us
64940 # for depending on an impl detail, but c'est la vie. Older versions used
64941 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64942 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64943 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64944 # set (hence we're using an older libtool), then set it.
64945 if test x${with_gnu_ld+set} != xset; then
64946 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64947 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64948 with_gnu_ld=no
64949 else
64950 with_gnu_ld=$ac_cv_prog_gnu_ld
64954 # Start by getting the version number. I think the libtool test already
64955 # does some of this, but throws away the result.
64956 glibcxx_ld_is_gold=no
64957 if test x"$with_gnu_ld" = x"yes"; then
64958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64959 $as_echo_n "checking for ld version... " >&6; }
64961 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64962 glibcxx_ld_is_gold=yes
64964 ldver=`$LD --version 2>/dev/null |
64965 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'`
64967 glibcxx_gnu_ld_version=`echo $ldver | \
64968 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64970 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64973 # Set --gc-sections.
64974 glibcxx_have_gc_sections=no
64975 if test "$glibcxx_ld_is_gold" = "yes"; then
64976 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64977 glibcxx_have_gc_sections=yes
64979 else
64980 glibcxx_gcsections_min_ld=21602
64981 if test x"$with_gnu_ld" = x"yes" &&
64982 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64983 glibcxx_have_gc_sections=yes
64986 if test "$glibcxx_have_gc_sections" = "yes"; then
64987 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64988 # NB: This flag only works reliably after 2.16.1. Configure tests
64989 # for this are difficult, so hard wire a value that should work.
64991 ac_test_CFLAGS="${CFLAGS+set}"
64992 ac_save_CFLAGS="$CFLAGS"
64993 CFLAGS='-Wl,--gc-sections'
64995 # Check for -Wl,--gc-sections
64996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64997 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64998 if test x$gcc_no_link = xyes; then
64999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65002 /* end confdefs.h. */
65003 int one(void) { return 1; }
65004 int two(void) { return 2; }
65007 main ()
65009 two();
65011 return 0;
65013 _ACEOF
65014 if ac_fn_c_try_link "$LINENO"; then :
65015 ac_gcsections=yes
65016 else
65017 ac_gcsections=no
65019 rm -f core conftest.err conftest.$ac_objext \
65020 conftest$ac_exeext conftest.$ac_ext
65021 if test "$ac_gcsections" = "yes"; then
65022 rm -f conftest.c
65023 touch conftest.c
65024 if $CC -c conftest.c; then
65025 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65026 grep "Warning: gc-sections option ignored" > /dev/null; then
65027 ac_gcsections=no
65030 rm -f conftest.c conftest.o conftest
65032 if test "$ac_gcsections" = "yes"; then
65033 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65036 $as_echo "$ac_gcsections" >&6; }
65038 if test "$ac_test_CFLAGS" = set; then
65039 CFLAGS="$ac_save_CFLAGS"
65040 else
65041 # this is the suspicious part
65042 CFLAGS=''
65046 # Set -z,relro.
65047 # Note this is only for shared objects.
65048 ac_ld_relro=no
65049 if test x"$with_gnu_ld" = x"yes"; then
65050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65051 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65052 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65053 if test -n "$cxx_z_relo"; then
65054 OPT_LDFLAGS="-Wl,-z,relro"
65055 ac_ld_relro=yes
65057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65058 $as_echo "$ac_ld_relro" >&6; }
65061 # Set linker optimization flags.
65062 if test x"$with_gnu_ld" = x"yes"; then
65063 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65069 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65071 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65073 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65075 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65077 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65079 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65081 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65083 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65085 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65087 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65089 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65091 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65094 *-rtems*)
65096 # All these tests are for C++; save the language and the compiler flags.
65097 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65098 # found in GLIBCXX_CONFIGURE.
65100 ac_ext=cpp
65101 ac_cpp='$CXXCPP $CPPFLAGS'
65102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65106 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65107 ac_save_CXXFLAGS="$CXXFLAGS"
65109 # Check for maintainer-mode bits.
65110 if test x"$USE_MAINTAINER_MODE" = xno; then
65111 WERROR=''
65112 else
65113 WERROR='-Werror'
65116 # Check for -ffunction-sections -fdata-sections
65117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65118 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65119 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65121 /* end confdefs.h. */
65122 int foo; void bar() { };
65124 main ()
65128 return 0;
65130 _ACEOF
65131 if ac_fn_cxx_try_compile "$LINENO"; then :
65132 ac_fdsections=yes
65133 else
65134 ac_fdsections=no
65136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65137 if test "$ac_test_CXXFLAGS" = set; then
65138 CXXFLAGS="$ac_save_CXXFLAGS"
65139 else
65140 # this is the suspicious part
65141 CXXFLAGS=''
65143 if test x"$ac_fdsections" = x"yes"; then
65144 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65147 $as_echo "$ac_fdsections" >&6; }
65149 ac_ext=c
65150 ac_cpp='$CPP $CPPFLAGS'
65151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65159 # If we're not using GNU ld, then there's no point in even trying these
65160 # tests. Check for that first. We should have already tested for gld
65161 # by now (in libtool), but require it now just to be safe...
65162 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65163 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65167 # The name set by libtool depends on the version of libtool. Shame on us
65168 # for depending on an impl detail, but c'est la vie. Older versions used
65169 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65170 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65171 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65172 # set (hence we're using an older libtool), then set it.
65173 if test x${with_gnu_ld+set} != xset; then
65174 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65175 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65176 with_gnu_ld=no
65177 else
65178 with_gnu_ld=$ac_cv_prog_gnu_ld
65182 # Start by getting the version number. I think the libtool test already
65183 # does some of this, but throws away the result.
65184 glibcxx_ld_is_gold=no
65185 if test x"$with_gnu_ld" = x"yes"; then
65186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65187 $as_echo_n "checking for ld version... " >&6; }
65189 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65190 glibcxx_ld_is_gold=yes
65192 ldver=`$LD --version 2>/dev/null |
65193 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'`
65195 glibcxx_gnu_ld_version=`echo $ldver | \
65196 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65198 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65201 # Set --gc-sections.
65202 glibcxx_have_gc_sections=no
65203 if test "$glibcxx_ld_is_gold" = "yes"; then
65204 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65205 glibcxx_have_gc_sections=yes
65207 else
65208 glibcxx_gcsections_min_ld=21602
65209 if test x"$with_gnu_ld" = x"yes" &&
65210 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65211 glibcxx_have_gc_sections=yes
65214 if test "$glibcxx_have_gc_sections" = "yes"; then
65215 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65216 # NB: This flag only works reliably after 2.16.1. Configure tests
65217 # for this are difficult, so hard wire a value that should work.
65219 ac_test_CFLAGS="${CFLAGS+set}"
65220 ac_save_CFLAGS="$CFLAGS"
65221 CFLAGS='-Wl,--gc-sections'
65223 # Check for -Wl,--gc-sections
65224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65225 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65226 if test x$gcc_no_link = xyes; then
65227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65230 /* end confdefs.h. */
65231 int one(void) { return 1; }
65232 int two(void) { return 2; }
65235 main ()
65237 two();
65239 return 0;
65241 _ACEOF
65242 if ac_fn_c_try_link "$LINENO"; then :
65243 ac_gcsections=yes
65244 else
65245 ac_gcsections=no
65247 rm -f core conftest.err conftest.$ac_objext \
65248 conftest$ac_exeext conftest.$ac_ext
65249 if test "$ac_gcsections" = "yes"; then
65250 rm -f conftest.c
65251 touch conftest.c
65252 if $CC -c conftest.c; then
65253 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65254 grep "Warning: gc-sections option ignored" > /dev/null; then
65255 ac_gcsections=no
65258 rm -f conftest.c conftest.o conftest
65260 if test "$ac_gcsections" = "yes"; then
65261 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65264 $as_echo "$ac_gcsections" >&6; }
65266 if test "$ac_test_CFLAGS" = set; then
65267 CFLAGS="$ac_save_CFLAGS"
65268 else
65269 # this is the suspicious part
65270 CFLAGS=''
65274 # Set -z,relro.
65275 # Note this is only for shared objects.
65276 ac_ld_relro=no
65277 if test x"$with_gnu_ld" = x"yes"; then
65278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65279 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65280 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65281 if test -n "$cxx_z_relo"; then
65282 OPT_LDFLAGS="-Wl,-z,relro"
65283 ac_ld_relro=yes
65285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65286 $as_echo "$ac_ld_relro" >&6; }
65289 # Set linker optimization flags.
65290 if test x"$with_gnu_ld" = x"yes"; then
65291 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65298 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65299 ac_save_CXXFLAGS="$CXXFLAGS"
65300 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65303 $as_echo_n "checking for sin in -lm... " >&6; }
65304 if test "${ac_cv_lib_m_sin+set}" = set; then :
65305 $as_echo_n "(cached) " >&6
65306 else
65307 ac_check_lib_save_LIBS=$LIBS
65308 LIBS="-lm $LIBS"
65309 if test x$gcc_no_link = xyes; then
65310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65313 /* end confdefs.h. */
65315 /* Override any GCC internal prototype to avoid an error.
65316 Use char because int might match the return type of a GCC
65317 builtin and then its argument prototype would still apply. */
65318 #ifdef __cplusplus
65319 extern "C"
65320 #endif
65321 char sin ();
65323 main ()
65325 return sin ();
65327 return 0;
65329 _ACEOF
65330 if ac_fn_c_try_link "$LINENO"; then :
65331 ac_cv_lib_m_sin=yes
65332 else
65333 ac_cv_lib_m_sin=no
65335 rm -f core conftest.err conftest.$ac_objext \
65336 conftest$ac_exeext conftest.$ac_ext
65337 LIBS=$ac_check_lib_save_LIBS
65339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65340 $as_echo "$ac_cv_lib_m_sin" >&6; }
65341 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65342 libm="-lm"
65345 ac_save_LIBS="$LIBS"
65346 LIBS="$LIBS $libm"
65350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65351 $as_echo_n "checking for isinf declaration... " >&6; }
65352 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65353 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65354 $as_echo_n "(cached) " >&6
65355 else
65358 ac_ext=cpp
65359 ac_cpp='$CXXCPP $CPPFLAGS'
65360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65365 /* end confdefs.h. */
65366 #include <math.h>
65367 #ifdef HAVE_IEEEFP_H
65368 #include <ieeefp.h>
65369 #endif
65372 main ()
65374 isinf(0);
65376 return 0;
65378 _ACEOF
65379 if ac_fn_cxx_try_compile "$LINENO"; then :
65380 glibcxx_cv_func_isinf_use=yes
65381 else
65382 glibcxx_cv_func_isinf_use=no
65384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65385 ac_ext=c
65386 ac_cpp='$CPP $CPPFLAGS'
65387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65396 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65398 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65399 for ac_func in isinf
65400 do :
65401 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65402 if test "x$ac_cv_func_isinf" = x""yes; then :
65403 cat >>confdefs.h <<_ACEOF
65404 #define HAVE_ISINF 1
65405 _ACEOF
65408 done
65410 else
65412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65413 $as_echo_n "checking for _isinf declaration... " >&6; }
65414 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65415 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65416 $as_echo_n "(cached) " >&6
65417 else
65420 ac_ext=cpp
65421 ac_cpp='$CXXCPP $CPPFLAGS'
65422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65427 /* end confdefs.h. */
65428 #include <math.h>
65429 #ifdef HAVE_IEEEFP_H
65430 #include <ieeefp.h>
65431 #endif
65434 main ()
65436 _isinf(0);
65438 return 0;
65440 _ACEOF
65441 if ac_fn_cxx_try_compile "$LINENO"; then :
65442 glibcxx_cv_func__isinf_use=yes
65443 else
65444 glibcxx_cv_func__isinf_use=no
65446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65447 ac_ext=c
65448 ac_cpp='$CPP $CPPFLAGS'
65449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65458 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65460 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65461 for ac_func in _isinf
65462 do :
65463 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65464 if test "x$ac_cv_func__isinf" = x""yes; then :
65465 cat >>confdefs.h <<_ACEOF
65466 #define HAVE__ISINF 1
65467 _ACEOF
65470 done
65479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65480 $as_echo_n "checking for isnan declaration... " >&6; }
65481 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65482 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65483 $as_echo_n "(cached) " >&6
65484 else
65487 ac_ext=cpp
65488 ac_cpp='$CXXCPP $CPPFLAGS'
65489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65494 /* end confdefs.h. */
65495 #include <math.h>
65496 #ifdef HAVE_IEEEFP_H
65497 #include <ieeefp.h>
65498 #endif
65501 main ()
65503 isnan(0);
65505 return 0;
65507 _ACEOF
65508 if ac_fn_cxx_try_compile "$LINENO"; then :
65509 glibcxx_cv_func_isnan_use=yes
65510 else
65511 glibcxx_cv_func_isnan_use=no
65513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65514 ac_ext=c
65515 ac_cpp='$CPP $CPPFLAGS'
65516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65525 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65527 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65528 for ac_func in isnan
65529 do :
65530 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65531 if test "x$ac_cv_func_isnan" = x""yes; then :
65532 cat >>confdefs.h <<_ACEOF
65533 #define HAVE_ISNAN 1
65534 _ACEOF
65537 done
65539 else
65541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65542 $as_echo_n "checking for _isnan declaration... " >&6; }
65543 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65544 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65545 $as_echo_n "(cached) " >&6
65546 else
65549 ac_ext=cpp
65550 ac_cpp='$CXXCPP $CPPFLAGS'
65551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65556 /* end confdefs.h. */
65557 #include <math.h>
65558 #ifdef HAVE_IEEEFP_H
65559 #include <ieeefp.h>
65560 #endif
65563 main ()
65565 _isnan(0);
65567 return 0;
65569 _ACEOF
65570 if ac_fn_cxx_try_compile "$LINENO"; then :
65571 glibcxx_cv_func__isnan_use=yes
65572 else
65573 glibcxx_cv_func__isnan_use=no
65575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65576 ac_ext=c
65577 ac_cpp='$CPP $CPPFLAGS'
65578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65587 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65589 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65590 for ac_func in _isnan
65591 do :
65592 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65593 if test "x$ac_cv_func__isnan" = x""yes; then :
65594 cat >>confdefs.h <<_ACEOF
65595 #define HAVE__ISNAN 1
65596 _ACEOF
65599 done
65608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65609 $as_echo_n "checking for finite declaration... " >&6; }
65610 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65611 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65612 $as_echo_n "(cached) " >&6
65613 else
65616 ac_ext=cpp
65617 ac_cpp='$CXXCPP $CPPFLAGS'
65618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65623 /* end confdefs.h. */
65624 #include <math.h>
65625 #ifdef HAVE_IEEEFP_H
65626 #include <ieeefp.h>
65627 #endif
65630 main ()
65632 finite(0);
65634 return 0;
65636 _ACEOF
65637 if ac_fn_cxx_try_compile "$LINENO"; then :
65638 glibcxx_cv_func_finite_use=yes
65639 else
65640 glibcxx_cv_func_finite_use=no
65642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65643 ac_ext=c
65644 ac_cpp='$CPP $CPPFLAGS'
65645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65654 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65656 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65657 for ac_func in finite
65658 do :
65659 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65660 if test "x$ac_cv_func_finite" = x""yes; then :
65661 cat >>confdefs.h <<_ACEOF
65662 #define HAVE_FINITE 1
65663 _ACEOF
65666 done
65668 else
65670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65671 $as_echo_n "checking for _finite declaration... " >&6; }
65672 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65673 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65674 $as_echo_n "(cached) " >&6
65675 else
65678 ac_ext=cpp
65679 ac_cpp='$CXXCPP $CPPFLAGS'
65680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65685 /* end confdefs.h. */
65686 #include <math.h>
65687 #ifdef HAVE_IEEEFP_H
65688 #include <ieeefp.h>
65689 #endif
65692 main ()
65694 _finite(0);
65696 return 0;
65698 _ACEOF
65699 if ac_fn_cxx_try_compile "$LINENO"; then :
65700 glibcxx_cv_func__finite_use=yes
65701 else
65702 glibcxx_cv_func__finite_use=no
65704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65705 ac_ext=c
65706 ac_cpp='$CPP $CPPFLAGS'
65707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65716 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65718 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65719 for ac_func in _finite
65720 do :
65721 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65722 if test "x$ac_cv_func__finite" = x""yes; then :
65723 cat >>confdefs.h <<_ACEOF
65724 #define HAVE__FINITE 1
65725 _ACEOF
65728 done
65737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65738 $as_echo_n "checking for sincos declaration... " >&6; }
65739 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65740 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65741 $as_echo_n "(cached) " >&6
65742 else
65745 ac_ext=cpp
65746 ac_cpp='$CXXCPP $CPPFLAGS'
65747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65752 /* end confdefs.h. */
65753 #include <math.h>
65755 main ()
65757 sincos(0, 0, 0);
65759 return 0;
65761 _ACEOF
65762 if ac_fn_cxx_try_compile "$LINENO"; then :
65763 glibcxx_cv_func_sincos_use=yes
65764 else
65765 glibcxx_cv_func_sincos_use=no
65767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65768 ac_ext=c
65769 ac_cpp='$CPP $CPPFLAGS'
65770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65779 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65781 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65782 for ac_func in sincos
65783 do :
65784 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65785 if test "x$ac_cv_func_sincos" = x""yes; then :
65786 cat >>confdefs.h <<_ACEOF
65787 #define HAVE_SINCOS 1
65788 _ACEOF
65791 done
65793 else
65795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65796 $as_echo_n "checking for _sincos declaration... " >&6; }
65797 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65798 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65799 $as_echo_n "(cached) " >&6
65800 else
65803 ac_ext=cpp
65804 ac_cpp='$CXXCPP $CPPFLAGS'
65805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65810 /* end confdefs.h. */
65811 #include <math.h>
65813 main ()
65815 _sincos(0, 0, 0);
65817 return 0;
65819 _ACEOF
65820 if ac_fn_cxx_try_compile "$LINENO"; then :
65821 glibcxx_cv_func__sincos_use=yes
65822 else
65823 glibcxx_cv_func__sincos_use=no
65825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65826 ac_ext=c
65827 ac_cpp='$CPP $CPPFLAGS'
65828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65837 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65839 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65840 for ac_func in _sincos
65841 do :
65842 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65843 if test "x$ac_cv_func__sincos" = x""yes; then :
65844 cat >>confdefs.h <<_ACEOF
65845 #define HAVE__SINCOS 1
65846 _ACEOF
65849 done
65858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65859 $as_echo_n "checking for fpclass declaration... " >&6; }
65860 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65861 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65862 $as_echo_n "(cached) " >&6
65863 else
65866 ac_ext=cpp
65867 ac_cpp='$CXXCPP $CPPFLAGS'
65868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65873 /* end confdefs.h. */
65874 #include <math.h>
65875 #ifdef HAVE_IEEEFP_H
65876 #include <ieeefp.h>
65877 #endif
65880 main ()
65882 fpclass(0);
65884 return 0;
65886 _ACEOF
65887 if ac_fn_cxx_try_compile "$LINENO"; then :
65888 glibcxx_cv_func_fpclass_use=yes
65889 else
65890 glibcxx_cv_func_fpclass_use=no
65892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65893 ac_ext=c
65894 ac_cpp='$CPP $CPPFLAGS'
65895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65904 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65906 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65907 for ac_func in fpclass
65908 do :
65909 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65910 if test "x$ac_cv_func_fpclass" = x""yes; then :
65911 cat >>confdefs.h <<_ACEOF
65912 #define HAVE_FPCLASS 1
65913 _ACEOF
65916 done
65918 else
65920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65921 $as_echo_n "checking for _fpclass declaration... " >&6; }
65922 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65923 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65924 $as_echo_n "(cached) " >&6
65925 else
65928 ac_ext=cpp
65929 ac_cpp='$CXXCPP $CPPFLAGS'
65930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65935 /* end confdefs.h. */
65936 #include <math.h>
65937 #ifdef HAVE_IEEEFP_H
65938 #include <ieeefp.h>
65939 #endif
65942 main ()
65944 _fpclass(0);
65946 return 0;
65948 _ACEOF
65949 if ac_fn_cxx_try_compile "$LINENO"; then :
65950 glibcxx_cv_func__fpclass_use=yes
65951 else
65952 glibcxx_cv_func__fpclass_use=no
65954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65955 ac_ext=c
65956 ac_cpp='$CPP $CPPFLAGS'
65957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65966 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65968 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65969 for ac_func in _fpclass
65970 do :
65971 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65972 if test "x$ac_cv_func__fpclass" = x""yes; then :
65973 cat >>confdefs.h <<_ACEOF
65974 #define HAVE__FPCLASS 1
65975 _ACEOF
65978 done
65987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65988 $as_echo_n "checking for qfpclass declaration... " >&6; }
65989 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65990 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65991 $as_echo_n "(cached) " >&6
65992 else
65995 ac_ext=cpp
65996 ac_cpp='$CXXCPP $CPPFLAGS'
65997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66002 /* end confdefs.h. */
66003 #include <math.h>
66004 #ifdef HAVE_IEEEFP_H
66005 #include <ieeefp.h>
66006 #endif
66009 main ()
66011 qfpclass(0);
66013 return 0;
66015 _ACEOF
66016 if ac_fn_cxx_try_compile "$LINENO"; then :
66017 glibcxx_cv_func_qfpclass_use=yes
66018 else
66019 glibcxx_cv_func_qfpclass_use=no
66021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66022 ac_ext=c
66023 ac_cpp='$CPP $CPPFLAGS'
66024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66033 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66035 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66036 for ac_func in qfpclass
66037 do :
66038 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66039 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66040 cat >>confdefs.h <<_ACEOF
66041 #define HAVE_QFPCLASS 1
66042 _ACEOF
66045 done
66047 else
66049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66050 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66051 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66052 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66053 $as_echo_n "(cached) " >&6
66054 else
66057 ac_ext=cpp
66058 ac_cpp='$CXXCPP $CPPFLAGS'
66059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66064 /* end confdefs.h. */
66065 #include <math.h>
66066 #ifdef HAVE_IEEEFP_H
66067 #include <ieeefp.h>
66068 #endif
66071 main ()
66073 _qfpclass(0);
66075 return 0;
66077 _ACEOF
66078 if ac_fn_cxx_try_compile "$LINENO"; then :
66079 glibcxx_cv_func__qfpclass_use=yes
66080 else
66081 glibcxx_cv_func__qfpclass_use=no
66083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66084 ac_ext=c
66085 ac_cpp='$CPP $CPPFLAGS'
66086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66095 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66097 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66098 for ac_func in _qfpclass
66099 do :
66100 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66101 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66102 cat >>confdefs.h <<_ACEOF
66103 #define HAVE__QFPCLASS 1
66104 _ACEOF
66107 done
66116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66117 $as_echo_n "checking for hypot declaration... " >&6; }
66118 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66119 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66120 $as_echo_n "(cached) " >&6
66121 else
66124 ac_ext=cpp
66125 ac_cpp='$CXXCPP $CPPFLAGS'
66126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66131 /* end confdefs.h. */
66132 #include <math.h>
66134 main ()
66136 hypot(0, 0);
66138 return 0;
66140 _ACEOF
66141 if ac_fn_cxx_try_compile "$LINENO"; then :
66142 glibcxx_cv_func_hypot_use=yes
66143 else
66144 glibcxx_cv_func_hypot_use=no
66146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66147 ac_ext=c
66148 ac_cpp='$CPP $CPPFLAGS'
66149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66158 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66160 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66161 for ac_func in hypot
66162 do :
66163 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66164 if test "x$ac_cv_func_hypot" = x""yes; then :
66165 cat >>confdefs.h <<_ACEOF
66166 #define HAVE_HYPOT 1
66167 _ACEOF
66170 done
66172 else
66174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66175 $as_echo_n "checking for _hypot declaration... " >&6; }
66176 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66177 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66178 $as_echo_n "(cached) " >&6
66179 else
66182 ac_ext=cpp
66183 ac_cpp='$CXXCPP $CPPFLAGS'
66184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66189 /* end confdefs.h. */
66190 #include <math.h>
66192 main ()
66194 _hypot(0, 0);
66196 return 0;
66198 _ACEOF
66199 if ac_fn_cxx_try_compile "$LINENO"; then :
66200 glibcxx_cv_func__hypot_use=yes
66201 else
66202 glibcxx_cv_func__hypot_use=no
66204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66205 ac_ext=c
66206 ac_cpp='$CPP $CPPFLAGS'
66207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66216 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66218 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66219 for ac_func in _hypot
66220 do :
66221 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66222 if test "x$ac_cv_func__hypot" = x""yes; then :
66223 cat >>confdefs.h <<_ACEOF
66224 #define HAVE__HYPOT 1
66225 _ACEOF
66228 done
66237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66238 $as_echo_n "checking for float trig functions... " >&6; }
66239 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66240 $as_echo_n "(cached) " >&6
66241 else
66244 ac_ext=cpp
66245 ac_cpp='$CXXCPP $CPPFLAGS'
66246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66251 /* end confdefs.h. */
66252 #include <math.h>
66254 main ()
66256 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66258 return 0;
66260 _ACEOF
66261 if ac_fn_cxx_try_compile "$LINENO"; then :
66262 glibcxx_cv_func_float_trig_use=yes
66263 else
66264 glibcxx_cv_func_float_trig_use=no
66266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66267 ac_ext=c
66268 ac_cpp='$CPP $CPPFLAGS'
66269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66276 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66277 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66278 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66279 do :
66280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66282 eval as_val=\$$as_ac_var
66283 if test "x$as_val" = x""yes; then :
66284 cat >>confdefs.h <<_ACEOF
66285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66286 _ACEOF
66289 done
66291 else
66292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66293 $as_echo_n "checking for _float trig functions... " >&6; }
66294 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66295 $as_echo_n "(cached) " >&6
66296 else
66299 ac_ext=cpp
66300 ac_cpp='$CXXCPP $CPPFLAGS'
66301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66306 /* end confdefs.h. */
66307 #include <math.h>
66309 main ()
66311 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66313 return 0;
66315 _ACEOF
66316 if ac_fn_cxx_try_compile "$LINENO"; then :
66317 glibcxx_cv_func__float_trig_use=yes
66318 else
66319 glibcxx_cv_func__float_trig_use=no
66321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66322 ac_ext=c
66323 ac_cpp='$CPP $CPPFLAGS'
66324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66331 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66332 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66333 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66334 do :
66335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66337 eval as_val=\$$as_ac_var
66338 if test "x$as_val" = x""yes; then :
66339 cat >>confdefs.h <<_ACEOF
66340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66341 _ACEOF
66344 done
66353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66354 $as_echo_n "checking for float round functions... " >&6; }
66355 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66356 $as_echo_n "(cached) " >&6
66357 else
66360 ac_ext=cpp
66361 ac_cpp='$CXXCPP $CPPFLAGS'
66362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66367 /* end confdefs.h. */
66368 #include <math.h>
66370 main ()
66372 ceilf (0); floorf (0);
66374 return 0;
66376 _ACEOF
66377 if ac_fn_cxx_try_compile "$LINENO"; then :
66378 glibcxx_cv_func_float_round_use=yes
66379 else
66380 glibcxx_cv_func_float_round_use=no
66382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66383 ac_ext=c
66384 ac_cpp='$CPP $CPPFLAGS'
66385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66392 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66393 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66394 for ac_func in ceilf floorf
66395 do :
66396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66398 eval as_val=\$$as_ac_var
66399 if test "x$as_val" = x""yes; then :
66400 cat >>confdefs.h <<_ACEOF
66401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66402 _ACEOF
66405 done
66407 else
66408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66409 $as_echo_n "checking for _float round functions... " >&6; }
66410 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66411 $as_echo_n "(cached) " >&6
66412 else
66415 ac_ext=cpp
66416 ac_cpp='$CXXCPP $CPPFLAGS'
66417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66422 /* end confdefs.h. */
66423 #include <math.h>
66425 main ()
66427 _ceilf (0); _floorf (0);
66429 return 0;
66431 _ACEOF
66432 if ac_fn_cxx_try_compile "$LINENO"; then :
66433 glibcxx_cv_func__float_round_use=yes
66434 else
66435 glibcxx_cv_func__float_round_use=no
66437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66438 ac_ext=c
66439 ac_cpp='$CPP $CPPFLAGS'
66440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66447 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66448 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66449 for ac_func in _ceilf _floorf
66450 do :
66451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66453 eval as_val=\$$as_ac_var
66454 if test "x$as_val" = x""yes; then :
66455 cat >>confdefs.h <<_ACEOF
66456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66457 _ACEOF
66460 done
66470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66471 $as_echo_n "checking for expf declaration... " >&6; }
66472 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66473 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66474 $as_echo_n "(cached) " >&6
66475 else
66478 ac_ext=cpp
66479 ac_cpp='$CXXCPP $CPPFLAGS'
66480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66485 /* end confdefs.h. */
66486 #include <math.h>
66487 #ifdef HAVE_IEEEFP_H
66488 #include <ieeefp.h>
66489 #endif
66492 main ()
66494 expf(0);
66496 return 0;
66498 _ACEOF
66499 if ac_fn_cxx_try_compile "$LINENO"; then :
66500 glibcxx_cv_func_expf_use=yes
66501 else
66502 glibcxx_cv_func_expf_use=no
66504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66505 ac_ext=c
66506 ac_cpp='$CPP $CPPFLAGS'
66507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66516 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66518 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66519 for ac_func in expf
66520 do :
66521 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66522 if test "x$ac_cv_func_expf" = x""yes; then :
66523 cat >>confdefs.h <<_ACEOF
66524 #define HAVE_EXPF 1
66525 _ACEOF
66528 done
66530 else
66532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66533 $as_echo_n "checking for _expf declaration... " >&6; }
66534 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66535 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66536 $as_echo_n "(cached) " >&6
66537 else
66540 ac_ext=cpp
66541 ac_cpp='$CXXCPP $CPPFLAGS'
66542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66547 /* end confdefs.h. */
66548 #include <math.h>
66549 #ifdef HAVE_IEEEFP_H
66550 #include <ieeefp.h>
66551 #endif
66554 main ()
66556 _expf(0);
66558 return 0;
66560 _ACEOF
66561 if ac_fn_cxx_try_compile "$LINENO"; then :
66562 glibcxx_cv_func__expf_use=yes
66563 else
66564 glibcxx_cv_func__expf_use=no
66566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66567 ac_ext=c
66568 ac_cpp='$CPP $CPPFLAGS'
66569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66578 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66580 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66581 for ac_func in _expf
66582 do :
66583 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66584 if test "x$ac_cv_func__expf" = x""yes; then :
66585 cat >>confdefs.h <<_ACEOF
66586 #define HAVE__EXPF 1
66587 _ACEOF
66590 done
66599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66600 $as_echo_n "checking for isnanf declaration... " >&6; }
66601 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66602 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66603 $as_echo_n "(cached) " >&6
66604 else
66607 ac_ext=cpp
66608 ac_cpp='$CXXCPP $CPPFLAGS'
66609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66614 /* end confdefs.h. */
66615 #include <math.h>
66616 #ifdef HAVE_IEEEFP_H
66617 #include <ieeefp.h>
66618 #endif
66621 main ()
66623 isnanf(0);
66625 return 0;
66627 _ACEOF
66628 if ac_fn_cxx_try_compile "$LINENO"; then :
66629 glibcxx_cv_func_isnanf_use=yes
66630 else
66631 glibcxx_cv_func_isnanf_use=no
66633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66634 ac_ext=c
66635 ac_cpp='$CPP $CPPFLAGS'
66636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66645 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66647 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66648 for ac_func in isnanf
66649 do :
66650 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66651 if test "x$ac_cv_func_isnanf" = x""yes; then :
66652 cat >>confdefs.h <<_ACEOF
66653 #define HAVE_ISNANF 1
66654 _ACEOF
66657 done
66659 else
66661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66662 $as_echo_n "checking for _isnanf declaration... " >&6; }
66663 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66664 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66665 $as_echo_n "(cached) " >&6
66666 else
66669 ac_ext=cpp
66670 ac_cpp='$CXXCPP $CPPFLAGS'
66671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66676 /* end confdefs.h. */
66677 #include <math.h>
66678 #ifdef HAVE_IEEEFP_H
66679 #include <ieeefp.h>
66680 #endif
66683 main ()
66685 _isnanf(0);
66687 return 0;
66689 _ACEOF
66690 if ac_fn_cxx_try_compile "$LINENO"; then :
66691 glibcxx_cv_func__isnanf_use=yes
66692 else
66693 glibcxx_cv_func__isnanf_use=no
66695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66696 ac_ext=c
66697 ac_cpp='$CPP $CPPFLAGS'
66698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66707 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66709 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66710 for ac_func in _isnanf
66711 do :
66712 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66713 if test "x$ac_cv_func__isnanf" = x""yes; then :
66714 cat >>confdefs.h <<_ACEOF
66715 #define HAVE__ISNANF 1
66716 _ACEOF
66719 done
66728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66729 $as_echo_n "checking for isinff declaration... " >&6; }
66730 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66731 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66732 $as_echo_n "(cached) " >&6
66733 else
66736 ac_ext=cpp
66737 ac_cpp='$CXXCPP $CPPFLAGS'
66738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66743 /* end confdefs.h. */
66744 #include <math.h>
66745 #ifdef HAVE_IEEEFP_H
66746 #include <ieeefp.h>
66747 #endif
66750 main ()
66752 isinff(0);
66754 return 0;
66756 _ACEOF
66757 if ac_fn_cxx_try_compile "$LINENO"; then :
66758 glibcxx_cv_func_isinff_use=yes
66759 else
66760 glibcxx_cv_func_isinff_use=no
66762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66763 ac_ext=c
66764 ac_cpp='$CPP $CPPFLAGS'
66765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66774 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66776 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66777 for ac_func in isinff
66778 do :
66779 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66780 if test "x$ac_cv_func_isinff" = x""yes; then :
66781 cat >>confdefs.h <<_ACEOF
66782 #define HAVE_ISINFF 1
66783 _ACEOF
66786 done
66788 else
66790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66791 $as_echo_n "checking for _isinff declaration... " >&6; }
66792 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66793 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66794 $as_echo_n "(cached) " >&6
66795 else
66798 ac_ext=cpp
66799 ac_cpp='$CXXCPP $CPPFLAGS'
66800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66805 /* end confdefs.h. */
66806 #include <math.h>
66807 #ifdef HAVE_IEEEFP_H
66808 #include <ieeefp.h>
66809 #endif
66812 main ()
66814 _isinff(0);
66816 return 0;
66818 _ACEOF
66819 if ac_fn_cxx_try_compile "$LINENO"; then :
66820 glibcxx_cv_func__isinff_use=yes
66821 else
66822 glibcxx_cv_func__isinff_use=no
66824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66825 ac_ext=c
66826 ac_cpp='$CPP $CPPFLAGS'
66827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66836 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66838 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66839 for ac_func in _isinff
66840 do :
66841 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66842 if test "x$ac_cv_func__isinff" = x""yes; then :
66843 cat >>confdefs.h <<_ACEOF
66844 #define HAVE__ISINFF 1
66845 _ACEOF
66848 done
66857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66858 $as_echo_n "checking for atan2f declaration... " >&6; }
66859 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66860 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66861 $as_echo_n "(cached) " >&6
66862 else
66865 ac_ext=cpp
66866 ac_cpp='$CXXCPP $CPPFLAGS'
66867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66872 /* end confdefs.h. */
66873 #include <math.h>
66875 main ()
66877 atan2f(0, 0);
66879 return 0;
66881 _ACEOF
66882 if ac_fn_cxx_try_compile "$LINENO"; then :
66883 glibcxx_cv_func_atan2f_use=yes
66884 else
66885 glibcxx_cv_func_atan2f_use=no
66887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66888 ac_ext=c
66889 ac_cpp='$CPP $CPPFLAGS'
66890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66899 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66901 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66902 for ac_func in atan2f
66903 do :
66904 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66905 if test "x$ac_cv_func_atan2f" = x""yes; then :
66906 cat >>confdefs.h <<_ACEOF
66907 #define HAVE_ATAN2F 1
66908 _ACEOF
66911 done
66913 else
66915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66916 $as_echo_n "checking for _atan2f declaration... " >&6; }
66917 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66918 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66919 $as_echo_n "(cached) " >&6
66920 else
66923 ac_ext=cpp
66924 ac_cpp='$CXXCPP $CPPFLAGS'
66925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66930 /* end confdefs.h. */
66931 #include <math.h>
66933 main ()
66935 _atan2f(0, 0);
66937 return 0;
66939 _ACEOF
66940 if ac_fn_cxx_try_compile "$LINENO"; then :
66941 glibcxx_cv_func__atan2f_use=yes
66942 else
66943 glibcxx_cv_func__atan2f_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__atan2f_use" >&5
66957 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66959 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66960 for ac_func in _atan2f
66961 do :
66962 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66963 if test "x$ac_cv_func__atan2f" = x""yes; then :
66964 cat >>confdefs.h <<_ACEOF
66965 #define HAVE__ATAN2F 1
66966 _ACEOF
66969 done
66978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66979 $as_echo_n "checking for fabsf declaration... " >&6; }
66980 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66981 if test "${glibcxx_cv_func_fabsf_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 fabsf(0);
67004 return 0;
67006 _ACEOF
67007 if ac_fn_cxx_try_compile "$LINENO"; then :
67008 glibcxx_cv_func_fabsf_use=yes
67009 else
67010 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
67024 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67026 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67027 for ac_func in fabsf
67028 do :
67029 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67030 if test "x$ac_cv_func_fabsf" = x""yes; then :
67031 cat >>confdefs.h <<_ACEOF
67032 #define HAVE_FABSF 1
67033 _ACEOF
67036 done
67038 else
67040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67041 $as_echo_n "checking for _fabsf declaration... " >&6; }
67042 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67043 if test "${glibcxx_cv_func__fabsf_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 _fabsf(0);
67066 return 0;
67068 _ACEOF
67069 if ac_fn_cxx_try_compile "$LINENO"; then :
67070 glibcxx_cv_func__fabsf_use=yes
67071 else
67072 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
67086 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67088 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67089 for ac_func in _fabsf
67090 do :
67091 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67092 if test "x$ac_cv_func__fabsf" = x""yes; then :
67093 cat >>confdefs.h <<_ACEOF
67094 #define HAVE__FABSF 1
67095 _ACEOF
67098 done
67107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67108 $as_echo_n "checking for fmodf declaration... " >&6; }
67109 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67110 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
67129 return 0;
67131 _ACEOF
67132 if ac_fn_cxx_try_compile "$LINENO"; then :
67133 glibcxx_cv_func_fmodf_use=yes
67134 else
67135 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
67149 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67151 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67152 for ac_func in fmodf
67153 do :
67154 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67155 if test "x$ac_cv_func_fmodf" = x""yes; then :
67156 cat >>confdefs.h <<_ACEOF
67157 #define HAVE_FMODF 1
67158 _ACEOF
67161 done
67163 else
67165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67166 $as_echo_n "checking for _fmodf declaration... " >&6; }
67167 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67168 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
67187 return 0;
67189 _ACEOF
67190 if ac_fn_cxx_try_compile "$LINENO"; then :
67191 glibcxx_cv_func__fmodf_use=yes
67192 else
67193 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
67207 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67209 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67210 for ac_func in _fmodf
67211 do :
67212 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67213 if test "x$ac_cv_func__fmodf" = x""yes; then :
67214 cat >>confdefs.h <<_ACEOF
67215 #define HAVE__FMODF 1
67216 _ACEOF
67219 done
67228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67229 $as_echo_n "checking for frexpf declaration... " >&6; }
67230 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67231 if test "${glibcxx_cv_func_frexpf_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>
67246 main ()
67248 frexpf(0, 0);
67250 return 0;
67252 _ACEOF
67253 if ac_fn_cxx_try_compile "$LINENO"; then :
67254 glibcxx_cv_func_frexpf_use=yes
67255 else
67256 glibcxx_cv_func_frexpf_use=no
67258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67259 ac_ext=c
67260 ac_cpp='$CPP $CPPFLAGS'
67261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67270 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67272 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67273 for ac_func in frexpf
67274 do :
67275 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67276 if test "x$ac_cv_func_frexpf" = x""yes; then :
67277 cat >>confdefs.h <<_ACEOF
67278 #define HAVE_FREXPF 1
67279 _ACEOF
67282 done
67284 else
67286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67287 $as_echo_n "checking for _frexpf declaration... " >&6; }
67288 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67289 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67290 $as_echo_n "(cached) " >&6
67291 else
67294 ac_ext=cpp
67295 ac_cpp='$CXXCPP $CPPFLAGS'
67296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67301 /* end confdefs.h. */
67302 #include <math.h>
67304 main ()
67306 _frexpf(0, 0);
67308 return 0;
67310 _ACEOF
67311 if ac_fn_cxx_try_compile "$LINENO"; then :
67312 glibcxx_cv_func__frexpf_use=yes
67313 else
67314 glibcxx_cv_func__frexpf_use=no
67316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67317 ac_ext=c
67318 ac_cpp='$CPP $CPPFLAGS'
67319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67328 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67330 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67331 for ac_func in _frexpf
67332 do :
67333 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67334 if test "x$ac_cv_func__frexpf" = x""yes; then :
67335 cat >>confdefs.h <<_ACEOF
67336 #define HAVE__FREXPF 1
67337 _ACEOF
67340 done
67349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67350 $as_echo_n "checking for hypotf declaration... " >&6; }
67351 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67352 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67353 $as_echo_n "(cached) " >&6
67354 else
67357 ac_ext=cpp
67358 ac_cpp='$CXXCPP $CPPFLAGS'
67359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67364 /* end confdefs.h. */
67365 #include <math.h>
67367 main ()
67369 hypotf(0, 0);
67371 return 0;
67373 _ACEOF
67374 if ac_fn_cxx_try_compile "$LINENO"; then :
67375 glibcxx_cv_func_hypotf_use=yes
67376 else
67377 glibcxx_cv_func_hypotf_use=no
67379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67380 ac_ext=c
67381 ac_cpp='$CPP $CPPFLAGS'
67382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67391 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67393 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67394 for ac_func in hypotf
67395 do :
67396 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67397 if test "x$ac_cv_func_hypotf" = x""yes; then :
67398 cat >>confdefs.h <<_ACEOF
67399 #define HAVE_HYPOTF 1
67400 _ACEOF
67403 done
67405 else
67407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67408 $as_echo_n "checking for _hypotf declaration... " >&6; }
67409 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67410 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67411 $as_echo_n "(cached) " >&6
67412 else
67415 ac_ext=cpp
67416 ac_cpp='$CXXCPP $CPPFLAGS'
67417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67422 /* end confdefs.h. */
67423 #include <math.h>
67425 main ()
67427 _hypotf(0, 0);
67429 return 0;
67431 _ACEOF
67432 if ac_fn_cxx_try_compile "$LINENO"; then :
67433 glibcxx_cv_func__hypotf_use=yes
67434 else
67435 glibcxx_cv_func__hypotf_use=no
67437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67438 ac_ext=c
67439 ac_cpp='$CPP $CPPFLAGS'
67440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67449 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67451 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67452 for ac_func in _hypotf
67453 do :
67454 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67455 if test "x$ac_cv_func__hypotf" = x""yes; then :
67456 cat >>confdefs.h <<_ACEOF
67457 #define HAVE__HYPOTF 1
67458 _ACEOF
67461 done
67470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67471 $as_echo_n "checking for ldexpf declaration... " >&6; }
67472 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67473 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67474 $as_echo_n "(cached) " >&6
67475 else
67478 ac_ext=cpp
67479 ac_cpp='$CXXCPP $CPPFLAGS'
67480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67485 /* end confdefs.h. */
67486 #include <math.h>
67488 main ()
67490 ldexpf(0, 0);
67492 return 0;
67494 _ACEOF
67495 if ac_fn_cxx_try_compile "$LINENO"; then :
67496 glibcxx_cv_func_ldexpf_use=yes
67497 else
67498 glibcxx_cv_func_ldexpf_use=no
67500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67501 ac_ext=c
67502 ac_cpp='$CPP $CPPFLAGS'
67503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67512 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67514 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67515 for ac_func in ldexpf
67516 do :
67517 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67518 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67519 cat >>confdefs.h <<_ACEOF
67520 #define HAVE_LDEXPF 1
67521 _ACEOF
67524 done
67526 else
67528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67529 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67530 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67531 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67532 $as_echo_n "(cached) " >&6
67533 else
67536 ac_ext=cpp
67537 ac_cpp='$CXXCPP $CPPFLAGS'
67538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67543 /* end confdefs.h. */
67544 #include <math.h>
67546 main ()
67548 _ldexpf(0, 0);
67550 return 0;
67552 _ACEOF
67553 if ac_fn_cxx_try_compile "$LINENO"; then :
67554 glibcxx_cv_func__ldexpf_use=yes
67555 else
67556 glibcxx_cv_func__ldexpf_use=no
67558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67559 ac_ext=c
67560 ac_cpp='$CPP $CPPFLAGS'
67561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67570 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67572 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67573 for ac_func in _ldexpf
67574 do :
67575 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67576 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67577 cat >>confdefs.h <<_ACEOF
67578 #define HAVE__LDEXPF 1
67579 _ACEOF
67582 done
67591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67592 $as_echo_n "checking for logf declaration... " >&6; }
67593 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67594 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67595 $as_echo_n "(cached) " >&6
67596 else
67599 ac_ext=cpp
67600 ac_cpp='$CXXCPP $CPPFLAGS'
67601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67606 /* end confdefs.h. */
67607 #include <math.h>
67608 #ifdef HAVE_IEEEFP_H
67609 #include <ieeefp.h>
67610 #endif
67613 main ()
67615 logf(0);
67617 return 0;
67619 _ACEOF
67620 if ac_fn_cxx_try_compile "$LINENO"; then :
67621 glibcxx_cv_func_logf_use=yes
67622 else
67623 glibcxx_cv_func_logf_use=no
67625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67626 ac_ext=c
67627 ac_cpp='$CPP $CPPFLAGS'
67628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67637 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67639 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67640 for ac_func in logf
67641 do :
67642 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67643 if test "x$ac_cv_func_logf" = x""yes; then :
67644 cat >>confdefs.h <<_ACEOF
67645 #define HAVE_LOGF 1
67646 _ACEOF
67649 done
67651 else
67653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67654 $as_echo_n "checking for _logf declaration... " >&6; }
67655 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67656 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67657 $as_echo_n "(cached) " >&6
67658 else
67661 ac_ext=cpp
67662 ac_cpp='$CXXCPP $CPPFLAGS'
67663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67668 /* end confdefs.h. */
67669 #include <math.h>
67670 #ifdef HAVE_IEEEFP_H
67671 #include <ieeefp.h>
67672 #endif
67675 main ()
67677 _logf(0);
67679 return 0;
67681 _ACEOF
67682 if ac_fn_cxx_try_compile "$LINENO"; then :
67683 glibcxx_cv_func__logf_use=yes
67684 else
67685 glibcxx_cv_func__logf_use=no
67687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67688 ac_ext=c
67689 ac_cpp='$CPP $CPPFLAGS'
67690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67699 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67701 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67702 for ac_func in _logf
67703 do :
67704 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67705 if test "x$ac_cv_func__logf" = x""yes; then :
67706 cat >>confdefs.h <<_ACEOF
67707 #define HAVE__LOGF 1
67708 _ACEOF
67711 done
67720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67721 $as_echo_n "checking for log10f declaration... " >&6; }
67722 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67723 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67724 $as_echo_n "(cached) " >&6
67725 else
67728 ac_ext=cpp
67729 ac_cpp='$CXXCPP $CPPFLAGS'
67730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67735 /* end confdefs.h. */
67736 #include <math.h>
67737 #ifdef HAVE_IEEEFP_H
67738 #include <ieeefp.h>
67739 #endif
67742 main ()
67744 log10f(0);
67746 return 0;
67748 _ACEOF
67749 if ac_fn_cxx_try_compile "$LINENO"; then :
67750 glibcxx_cv_func_log10f_use=yes
67751 else
67752 glibcxx_cv_func_log10f_use=no
67754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67755 ac_ext=c
67756 ac_cpp='$CPP $CPPFLAGS'
67757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67766 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67768 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67769 for ac_func in log10f
67770 do :
67771 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67772 if test "x$ac_cv_func_log10f" = x""yes; then :
67773 cat >>confdefs.h <<_ACEOF
67774 #define HAVE_LOG10F 1
67775 _ACEOF
67778 done
67780 else
67782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67783 $as_echo_n "checking for _log10f declaration... " >&6; }
67784 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67785 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67786 $as_echo_n "(cached) " >&6
67787 else
67790 ac_ext=cpp
67791 ac_cpp='$CXXCPP $CPPFLAGS'
67792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67797 /* end confdefs.h. */
67798 #include <math.h>
67799 #ifdef HAVE_IEEEFP_H
67800 #include <ieeefp.h>
67801 #endif
67804 main ()
67806 _log10f(0);
67808 return 0;
67810 _ACEOF
67811 if ac_fn_cxx_try_compile "$LINENO"; then :
67812 glibcxx_cv_func__log10f_use=yes
67813 else
67814 glibcxx_cv_func__log10f_use=no
67816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67817 ac_ext=c
67818 ac_cpp='$CPP $CPPFLAGS'
67819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67828 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67830 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67831 for ac_func in _log10f
67832 do :
67833 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67834 if test "x$ac_cv_func__log10f" = x""yes; then :
67835 cat >>confdefs.h <<_ACEOF
67836 #define HAVE__LOG10F 1
67837 _ACEOF
67840 done
67849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67850 $as_echo_n "checking for modff declaration... " >&6; }
67851 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67852 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67853 $as_echo_n "(cached) " >&6
67854 else
67857 ac_ext=cpp
67858 ac_cpp='$CXXCPP $CPPFLAGS'
67859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67864 /* end confdefs.h. */
67865 #include <math.h>
67867 main ()
67869 modff(0, 0);
67871 return 0;
67873 _ACEOF
67874 if ac_fn_cxx_try_compile "$LINENO"; then :
67875 glibcxx_cv_func_modff_use=yes
67876 else
67877 glibcxx_cv_func_modff_use=no
67879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67880 ac_ext=c
67881 ac_cpp='$CPP $CPPFLAGS'
67882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67891 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67893 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67894 for ac_func in modff
67895 do :
67896 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67897 if test "x$ac_cv_func_modff" = x""yes; then :
67898 cat >>confdefs.h <<_ACEOF
67899 #define HAVE_MODFF 1
67900 _ACEOF
67903 done
67905 else
67907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67908 $as_echo_n "checking for _modff declaration... " >&6; }
67909 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67910 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67911 $as_echo_n "(cached) " >&6
67912 else
67915 ac_ext=cpp
67916 ac_cpp='$CXXCPP $CPPFLAGS'
67917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67922 /* end confdefs.h. */
67923 #include <math.h>
67925 main ()
67927 _modff(0, 0);
67929 return 0;
67931 _ACEOF
67932 if ac_fn_cxx_try_compile "$LINENO"; then :
67933 glibcxx_cv_func__modff_use=yes
67934 else
67935 glibcxx_cv_func__modff_use=no
67937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67938 ac_ext=c
67939 ac_cpp='$CPP $CPPFLAGS'
67940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67949 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67951 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67952 for ac_func in _modff
67953 do :
67954 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67955 if test "x$ac_cv_func__modff" = x""yes; then :
67956 cat >>confdefs.h <<_ACEOF
67957 #define HAVE__MODFF 1
67958 _ACEOF
67961 done
67970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67971 $as_echo_n "checking for modf declaration... " >&6; }
67972 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67973 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67974 $as_echo_n "(cached) " >&6
67975 else
67978 ac_ext=cpp
67979 ac_cpp='$CXXCPP $CPPFLAGS'
67980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67985 /* end confdefs.h. */
67986 #include <math.h>
67988 main ()
67990 modf(0, 0);
67992 return 0;
67994 _ACEOF
67995 if ac_fn_cxx_try_compile "$LINENO"; then :
67996 glibcxx_cv_func_modf_use=yes
67997 else
67998 glibcxx_cv_func_modf_use=no
68000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68001 ac_ext=c
68002 ac_cpp='$CPP $CPPFLAGS'
68003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68012 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68014 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68015 for ac_func in modf
68016 do :
68017 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68018 if test "x$ac_cv_func_modf" = x""yes; then :
68019 cat >>confdefs.h <<_ACEOF
68020 #define HAVE_MODF 1
68021 _ACEOF
68024 done
68026 else
68028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68029 $as_echo_n "checking for _modf declaration... " >&6; }
68030 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68031 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68032 $as_echo_n "(cached) " >&6
68033 else
68036 ac_ext=cpp
68037 ac_cpp='$CXXCPP $CPPFLAGS'
68038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68043 /* end confdefs.h. */
68044 #include <math.h>
68046 main ()
68048 _modf(0, 0);
68050 return 0;
68052 _ACEOF
68053 if ac_fn_cxx_try_compile "$LINENO"; then :
68054 glibcxx_cv_func__modf_use=yes
68055 else
68056 glibcxx_cv_func__modf_use=no
68058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68059 ac_ext=c
68060 ac_cpp='$CPP $CPPFLAGS'
68061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68070 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68072 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68073 for ac_func in _modf
68074 do :
68075 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68076 if test "x$ac_cv_func__modf" = x""yes; then :
68077 cat >>confdefs.h <<_ACEOF
68078 #define HAVE__MODF 1
68079 _ACEOF
68082 done
68091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68092 $as_echo_n "checking for powf declaration... " >&6; }
68093 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68094 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68095 $as_echo_n "(cached) " >&6
68096 else
68099 ac_ext=cpp
68100 ac_cpp='$CXXCPP $CPPFLAGS'
68101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68106 /* end confdefs.h. */
68107 #include <math.h>
68109 main ()
68111 powf(0, 0);
68113 return 0;
68115 _ACEOF
68116 if ac_fn_cxx_try_compile "$LINENO"; then :
68117 glibcxx_cv_func_powf_use=yes
68118 else
68119 glibcxx_cv_func_powf_use=no
68121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68122 ac_ext=c
68123 ac_cpp='$CPP $CPPFLAGS'
68124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68133 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68135 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68136 for ac_func in powf
68137 do :
68138 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68139 if test "x$ac_cv_func_powf" = x""yes; then :
68140 cat >>confdefs.h <<_ACEOF
68141 #define HAVE_POWF 1
68142 _ACEOF
68145 done
68147 else
68149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68150 $as_echo_n "checking for _powf declaration... " >&6; }
68151 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68152 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68153 $as_echo_n "(cached) " >&6
68154 else
68157 ac_ext=cpp
68158 ac_cpp='$CXXCPP $CPPFLAGS'
68159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68164 /* end confdefs.h. */
68165 #include <math.h>
68167 main ()
68169 _powf(0, 0);
68171 return 0;
68173 _ACEOF
68174 if ac_fn_cxx_try_compile "$LINENO"; then :
68175 glibcxx_cv_func__powf_use=yes
68176 else
68177 glibcxx_cv_func__powf_use=no
68179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68180 ac_ext=c
68181 ac_cpp='$CPP $CPPFLAGS'
68182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68191 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68193 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68194 for ac_func in _powf
68195 do :
68196 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68197 if test "x$ac_cv_func__powf" = x""yes; then :
68198 cat >>confdefs.h <<_ACEOF
68199 #define HAVE__POWF 1
68200 _ACEOF
68203 done
68212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68213 $as_echo_n "checking for sqrtf declaration... " >&6; }
68214 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68215 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68216 $as_echo_n "(cached) " >&6
68217 else
68220 ac_ext=cpp
68221 ac_cpp='$CXXCPP $CPPFLAGS'
68222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68227 /* end confdefs.h. */
68228 #include <math.h>
68229 #ifdef HAVE_IEEEFP_H
68230 #include <ieeefp.h>
68231 #endif
68234 main ()
68236 sqrtf(0);
68238 return 0;
68240 _ACEOF
68241 if ac_fn_cxx_try_compile "$LINENO"; then :
68242 glibcxx_cv_func_sqrtf_use=yes
68243 else
68244 glibcxx_cv_func_sqrtf_use=no
68246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68247 ac_ext=c
68248 ac_cpp='$CPP $CPPFLAGS'
68249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68258 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68260 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68261 for ac_func in sqrtf
68262 do :
68263 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68264 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68265 cat >>confdefs.h <<_ACEOF
68266 #define HAVE_SQRTF 1
68267 _ACEOF
68270 done
68272 else
68274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68275 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68276 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68277 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68278 $as_echo_n "(cached) " >&6
68279 else
68282 ac_ext=cpp
68283 ac_cpp='$CXXCPP $CPPFLAGS'
68284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68289 /* end confdefs.h. */
68290 #include <math.h>
68291 #ifdef HAVE_IEEEFP_H
68292 #include <ieeefp.h>
68293 #endif
68296 main ()
68298 _sqrtf(0);
68300 return 0;
68302 _ACEOF
68303 if ac_fn_cxx_try_compile "$LINENO"; then :
68304 glibcxx_cv_func__sqrtf_use=yes
68305 else
68306 glibcxx_cv_func__sqrtf_use=no
68308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68309 ac_ext=c
68310 ac_cpp='$CPP $CPPFLAGS'
68311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68320 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68322 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68323 for ac_func in _sqrtf
68324 do :
68325 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68326 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68327 cat >>confdefs.h <<_ACEOF
68328 #define HAVE__SQRTF 1
68329 _ACEOF
68332 done
68341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68342 $as_echo_n "checking for sincosf declaration... " >&6; }
68343 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68344 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68345 $as_echo_n "(cached) " >&6
68346 else
68349 ac_ext=cpp
68350 ac_cpp='$CXXCPP $CPPFLAGS'
68351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68356 /* end confdefs.h. */
68357 #include <math.h>
68359 main ()
68361 sincosf(0, 0, 0);
68363 return 0;
68365 _ACEOF
68366 if ac_fn_cxx_try_compile "$LINENO"; then :
68367 glibcxx_cv_func_sincosf_use=yes
68368 else
68369 glibcxx_cv_func_sincosf_use=no
68371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68372 ac_ext=c
68373 ac_cpp='$CPP $CPPFLAGS'
68374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68383 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68385 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68386 for ac_func in sincosf
68387 do :
68388 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68389 if test "x$ac_cv_func_sincosf" = x""yes; then :
68390 cat >>confdefs.h <<_ACEOF
68391 #define HAVE_SINCOSF 1
68392 _ACEOF
68395 done
68397 else
68399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68400 $as_echo_n "checking for _sincosf declaration... " >&6; }
68401 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68402 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68403 $as_echo_n "(cached) " >&6
68404 else
68407 ac_ext=cpp
68408 ac_cpp='$CXXCPP $CPPFLAGS'
68409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68414 /* end confdefs.h. */
68415 #include <math.h>
68417 main ()
68419 _sincosf(0, 0, 0);
68421 return 0;
68423 _ACEOF
68424 if ac_fn_cxx_try_compile "$LINENO"; then :
68425 glibcxx_cv_func__sincosf_use=yes
68426 else
68427 glibcxx_cv_func__sincosf_use=no
68429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68430 ac_ext=c
68431 ac_cpp='$CPP $CPPFLAGS'
68432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68441 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68443 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68444 for ac_func in _sincosf
68445 do :
68446 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68447 if test "x$ac_cv_func__sincosf" = x""yes; then :
68448 cat >>confdefs.h <<_ACEOF
68449 #define HAVE__SINCOSF 1
68450 _ACEOF
68453 done
68462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68463 $as_echo_n "checking for finitef declaration... " >&6; }
68464 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68465 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68466 $as_echo_n "(cached) " >&6
68467 else
68470 ac_ext=cpp
68471 ac_cpp='$CXXCPP $CPPFLAGS'
68472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68477 /* end confdefs.h. */
68478 #include <math.h>
68479 #ifdef HAVE_IEEEFP_H
68480 #include <ieeefp.h>
68481 #endif
68484 main ()
68486 finitef(0);
68488 return 0;
68490 _ACEOF
68491 if ac_fn_cxx_try_compile "$LINENO"; then :
68492 glibcxx_cv_func_finitef_use=yes
68493 else
68494 glibcxx_cv_func_finitef_use=no
68496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68497 ac_ext=c
68498 ac_cpp='$CPP $CPPFLAGS'
68499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68508 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68510 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68511 for ac_func in finitef
68512 do :
68513 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68514 if test "x$ac_cv_func_finitef" = x""yes; then :
68515 cat >>confdefs.h <<_ACEOF
68516 #define HAVE_FINITEF 1
68517 _ACEOF
68520 done
68522 else
68524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68525 $as_echo_n "checking for _finitef declaration... " >&6; }
68526 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68527 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68528 $as_echo_n "(cached) " >&6
68529 else
68532 ac_ext=cpp
68533 ac_cpp='$CXXCPP $CPPFLAGS'
68534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68539 /* end confdefs.h. */
68540 #include <math.h>
68541 #ifdef HAVE_IEEEFP_H
68542 #include <ieeefp.h>
68543 #endif
68546 main ()
68548 _finitef(0);
68550 return 0;
68552 _ACEOF
68553 if ac_fn_cxx_try_compile "$LINENO"; then :
68554 glibcxx_cv_func__finitef_use=yes
68555 else
68556 glibcxx_cv_func__finitef_use=no
68558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68559 ac_ext=c
68560 ac_cpp='$CPP $CPPFLAGS'
68561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68570 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68572 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68573 for ac_func in _finitef
68574 do :
68575 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68576 if test "x$ac_cv_func__finitef" = x""yes; then :
68577 cat >>confdefs.h <<_ACEOF
68578 #define HAVE__FINITEF 1
68579 _ACEOF
68582 done
68591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68592 $as_echo_n "checking for long double trig functions... " >&6; }
68593 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68594 $as_echo_n "(cached) " >&6
68595 else
68598 ac_ext=cpp
68599 ac_cpp='$CXXCPP $CPPFLAGS'
68600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68605 /* end confdefs.h. */
68606 #include <math.h>
68608 main ()
68610 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68612 return 0;
68614 _ACEOF
68615 if ac_fn_cxx_try_compile "$LINENO"; then :
68616 glibcxx_cv_func_long_double_trig_use=yes
68617 else
68618 glibcxx_cv_func_long_double_trig_use=no
68620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68621 ac_ext=c
68622 ac_cpp='$CPP $CPPFLAGS'
68623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68630 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68631 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68632 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68633 do :
68634 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68635 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68636 eval as_val=\$$as_ac_var
68637 if test "x$as_val" = x""yes; then :
68638 cat >>confdefs.h <<_ACEOF
68639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68640 _ACEOF
68643 done
68645 else
68646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68647 $as_echo_n "checking for _long double trig functions... " >&6; }
68648 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68649 $as_echo_n "(cached) " >&6
68650 else
68653 ac_ext=cpp
68654 ac_cpp='$CXXCPP $CPPFLAGS'
68655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68660 /* end confdefs.h. */
68661 #include <math.h>
68663 main ()
68665 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68667 return 0;
68669 _ACEOF
68670 if ac_fn_cxx_try_compile "$LINENO"; then :
68671 glibcxx_cv_func__long_double_trig_use=yes
68672 else
68673 glibcxx_cv_func__long_double_trig_use=no
68675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68676 ac_ext=c
68677 ac_cpp='$CPP $CPPFLAGS'
68678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68685 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68686 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68687 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68688 do :
68689 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68691 eval as_val=\$$as_ac_var
68692 if test "x$as_val" = x""yes; then :
68693 cat >>confdefs.h <<_ACEOF
68694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68695 _ACEOF
68698 done
68707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68708 $as_echo_n "checking for long double round functions... " >&6; }
68709 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68710 $as_echo_n "(cached) " >&6
68711 else
68714 ac_ext=cpp
68715 ac_cpp='$CXXCPP $CPPFLAGS'
68716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68721 /* end confdefs.h. */
68722 #include <math.h>
68724 main ()
68726 ceill (0); floorl (0);
68728 return 0;
68730 _ACEOF
68731 if ac_fn_cxx_try_compile "$LINENO"; then :
68732 glibcxx_cv_func_long_double_round_use=yes
68733 else
68734 glibcxx_cv_func_long_double_round_use=no
68736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68737 ac_ext=c
68738 ac_cpp='$CPP $CPPFLAGS'
68739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68746 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68747 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68748 for ac_func in ceill floorl
68749 do :
68750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68751 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68752 eval as_val=\$$as_ac_var
68753 if test "x$as_val" = x""yes; then :
68754 cat >>confdefs.h <<_ACEOF
68755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68756 _ACEOF
68759 done
68761 else
68762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68763 $as_echo_n "checking for _long double round functions... " >&6; }
68764 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68765 $as_echo_n "(cached) " >&6
68766 else
68769 ac_ext=cpp
68770 ac_cpp='$CXXCPP $CPPFLAGS'
68771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68776 /* end confdefs.h. */
68777 #include <math.h>
68779 main ()
68781 _ceill (0); _floorl (0);
68783 return 0;
68785 _ACEOF
68786 if ac_fn_cxx_try_compile "$LINENO"; then :
68787 glibcxx_cv_func__long_double_round_use=yes
68788 else
68789 glibcxx_cv_func__long_double_round_use=no
68791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68792 ac_ext=c
68793 ac_cpp='$CPP $CPPFLAGS'
68794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68801 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68802 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68803 for ac_func in _ceill _floorl
68804 do :
68805 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68806 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68807 eval as_val=\$$as_ac_var
68808 if test "x$as_val" = x""yes; then :
68809 cat >>confdefs.h <<_ACEOF
68810 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68811 _ACEOF
68814 done
68824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68825 $as_echo_n "checking for isnanl declaration... " >&6; }
68826 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68827 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68828 $as_echo_n "(cached) " >&6
68829 else
68832 ac_ext=cpp
68833 ac_cpp='$CXXCPP $CPPFLAGS'
68834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68839 /* end confdefs.h. */
68840 #include <math.h>
68841 #ifdef HAVE_IEEEFP_H
68842 #include <ieeefp.h>
68843 #endif
68846 main ()
68848 isnanl(0);
68850 return 0;
68852 _ACEOF
68853 if ac_fn_cxx_try_compile "$LINENO"; then :
68854 glibcxx_cv_func_isnanl_use=yes
68855 else
68856 glibcxx_cv_func_isnanl_use=no
68858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68859 ac_ext=c
68860 ac_cpp='$CPP $CPPFLAGS'
68861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68870 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68872 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68873 for ac_func in isnanl
68874 do :
68875 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68876 if test "x$ac_cv_func_isnanl" = x""yes; then :
68877 cat >>confdefs.h <<_ACEOF
68878 #define HAVE_ISNANL 1
68879 _ACEOF
68882 done
68884 else
68886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68887 $as_echo_n "checking for _isnanl declaration... " >&6; }
68888 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68889 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68890 $as_echo_n "(cached) " >&6
68891 else
68894 ac_ext=cpp
68895 ac_cpp='$CXXCPP $CPPFLAGS'
68896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68901 /* end confdefs.h. */
68902 #include <math.h>
68903 #ifdef HAVE_IEEEFP_H
68904 #include <ieeefp.h>
68905 #endif
68908 main ()
68910 _isnanl(0);
68912 return 0;
68914 _ACEOF
68915 if ac_fn_cxx_try_compile "$LINENO"; then :
68916 glibcxx_cv_func__isnanl_use=yes
68917 else
68918 glibcxx_cv_func__isnanl_use=no
68920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68921 ac_ext=c
68922 ac_cpp='$CPP $CPPFLAGS'
68923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68932 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68934 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68935 for ac_func in _isnanl
68936 do :
68937 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68938 if test "x$ac_cv_func__isnanl" = x""yes; then :
68939 cat >>confdefs.h <<_ACEOF
68940 #define HAVE__ISNANL 1
68941 _ACEOF
68944 done
68953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68954 $as_echo_n "checking for isinfl declaration... " >&6; }
68955 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68956 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68957 $as_echo_n "(cached) " >&6
68958 else
68961 ac_ext=cpp
68962 ac_cpp='$CXXCPP $CPPFLAGS'
68963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68968 /* end confdefs.h. */
68969 #include <math.h>
68970 #ifdef HAVE_IEEEFP_H
68971 #include <ieeefp.h>
68972 #endif
68975 main ()
68977 isinfl(0);
68979 return 0;
68981 _ACEOF
68982 if ac_fn_cxx_try_compile "$LINENO"; then :
68983 glibcxx_cv_func_isinfl_use=yes
68984 else
68985 glibcxx_cv_func_isinfl_use=no
68987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68988 ac_ext=c
68989 ac_cpp='$CPP $CPPFLAGS'
68990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68999 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69001 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69002 for ac_func in isinfl
69003 do :
69004 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69005 if test "x$ac_cv_func_isinfl" = x""yes; then :
69006 cat >>confdefs.h <<_ACEOF
69007 #define HAVE_ISINFL 1
69008 _ACEOF
69011 done
69013 else
69015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69016 $as_echo_n "checking for _isinfl declaration... " >&6; }
69017 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69018 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69019 $as_echo_n "(cached) " >&6
69020 else
69023 ac_ext=cpp
69024 ac_cpp='$CXXCPP $CPPFLAGS'
69025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69030 /* end confdefs.h. */
69031 #include <math.h>
69032 #ifdef HAVE_IEEEFP_H
69033 #include <ieeefp.h>
69034 #endif
69037 main ()
69039 _isinfl(0);
69041 return 0;
69043 _ACEOF
69044 if ac_fn_cxx_try_compile "$LINENO"; then :
69045 glibcxx_cv_func__isinfl_use=yes
69046 else
69047 glibcxx_cv_func__isinfl_use=no
69049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69050 ac_ext=c
69051 ac_cpp='$CPP $CPPFLAGS'
69052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69061 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69063 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69064 for ac_func in _isinfl
69065 do :
69066 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69067 if test "x$ac_cv_func__isinfl" = x""yes; then :
69068 cat >>confdefs.h <<_ACEOF
69069 #define HAVE__ISINFL 1
69070 _ACEOF
69073 done
69082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69083 $as_echo_n "checking for atan2l declaration... " >&6; }
69084 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69085 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69086 $as_echo_n "(cached) " >&6
69087 else
69090 ac_ext=cpp
69091 ac_cpp='$CXXCPP $CPPFLAGS'
69092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69097 /* end confdefs.h. */
69098 #include <math.h>
69100 main ()
69102 atan2l(0, 0);
69104 return 0;
69106 _ACEOF
69107 if ac_fn_cxx_try_compile "$LINENO"; then :
69108 glibcxx_cv_func_atan2l_use=yes
69109 else
69110 glibcxx_cv_func_atan2l_use=no
69112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69113 ac_ext=c
69114 ac_cpp='$CPP $CPPFLAGS'
69115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69124 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69126 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69127 for ac_func in atan2l
69128 do :
69129 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69130 if test "x$ac_cv_func_atan2l" = x""yes; then :
69131 cat >>confdefs.h <<_ACEOF
69132 #define HAVE_ATAN2L 1
69133 _ACEOF
69136 done
69138 else
69140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69141 $as_echo_n "checking for _atan2l declaration... " >&6; }
69142 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69143 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69144 $as_echo_n "(cached) " >&6
69145 else
69148 ac_ext=cpp
69149 ac_cpp='$CXXCPP $CPPFLAGS'
69150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69155 /* end confdefs.h. */
69156 #include <math.h>
69158 main ()
69160 _atan2l(0, 0);
69162 return 0;
69164 _ACEOF
69165 if ac_fn_cxx_try_compile "$LINENO"; then :
69166 glibcxx_cv_func__atan2l_use=yes
69167 else
69168 glibcxx_cv_func__atan2l_use=no
69170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69171 ac_ext=c
69172 ac_cpp='$CPP $CPPFLAGS'
69173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69182 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69184 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69185 for ac_func in _atan2l
69186 do :
69187 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69188 if test "x$ac_cv_func__atan2l" = x""yes; then :
69189 cat >>confdefs.h <<_ACEOF
69190 #define HAVE__ATAN2L 1
69191 _ACEOF
69194 done
69203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69204 $as_echo_n "checking for expl declaration... " >&6; }
69205 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69206 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69207 $as_echo_n "(cached) " >&6
69208 else
69211 ac_ext=cpp
69212 ac_cpp='$CXXCPP $CPPFLAGS'
69213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69218 /* end confdefs.h. */
69219 #include <math.h>
69220 #ifdef HAVE_IEEEFP_H
69221 #include <ieeefp.h>
69222 #endif
69225 main ()
69227 expl(0);
69229 return 0;
69231 _ACEOF
69232 if ac_fn_cxx_try_compile "$LINENO"; then :
69233 glibcxx_cv_func_expl_use=yes
69234 else
69235 glibcxx_cv_func_expl_use=no
69237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69238 ac_ext=c
69239 ac_cpp='$CPP $CPPFLAGS'
69240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69249 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69251 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69252 for ac_func in expl
69253 do :
69254 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69255 if test "x$ac_cv_func_expl" = x""yes; then :
69256 cat >>confdefs.h <<_ACEOF
69257 #define HAVE_EXPL 1
69258 _ACEOF
69261 done
69263 else
69265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69266 $as_echo_n "checking for _expl declaration... " >&6; }
69267 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69268 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69269 $as_echo_n "(cached) " >&6
69270 else
69273 ac_ext=cpp
69274 ac_cpp='$CXXCPP $CPPFLAGS'
69275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69280 /* end confdefs.h. */
69281 #include <math.h>
69282 #ifdef HAVE_IEEEFP_H
69283 #include <ieeefp.h>
69284 #endif
69287 main ()
69289 _expl(0);
69291 return 0;
69293 _ACEOF
69294 if ac_fn_cxx_try_compile "$LINENO"; then :
69295 glibcxx_cv_func__expl_use=yes
69296 else
69297 glibcxx_cv_func__expl_use=no
69299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69300 ac_ext=c
69301 ac_cpp='$CPP $CPPFLAGS'
69302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69311 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69313 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69314 for ac_func in _expl
69315 do :
69316 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69317 if test "x$ac_cv_func__expl" = x""yes; then :
69318 cat >>confdefs.h <<_ACEOF
69319 #define HAVE__EXPL 1
69320 _ACEOF
69323 done
69332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69333 $as_echo_n "checking for fabsl declaration... " >&6; }
69334 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69335 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69336 $as_echo_n "(cached) " >&6
69337 else
69340 ac_ext=cpp
69341 ac_cpp='$CXXCPP $CPPFLAGS'
69342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69347 /* end confdefs.h. */
69348 #include <math.h>
69349 #ifdef HAVE_IEEEFP_H
69350 #include <ieeefp.h>
69351 #endif
69354 main ()
69356 fabsl(0);
69358 return 0;
69360 _ACEOF
69361 if ac_fn_cxx_try_compile "$LINENO"; then :
69362 glibcxx_cv_func_fabsl_use=yes
69363 else
69364 glibcxx_cv_func_fabsl_use=no
69366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69367 ac_ext=c
69368 ac_cpp='$CPP $CPPFLAGS'
69369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69378 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69380 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69381 for ac_func in fabsl
69382 do :
69383 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69384 if test "x$ac_cv_func_fabsl" = x""yes; then :
69385 cat >>confdefs.h <<_ACEOF
69386 #define HAVE_FABSL 1
69387 _ACEOF
69390 done
69392 else
69394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69395 $as_echo_n "checking for _fabsl declaration... " >&6; }
69396 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69397 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69398 $as_echo_n "(cached) " >&6
69399 else
69402 ac_ext=cpp
69403 ac_cpp='$CXXCPP $CPPFLAGS'
69404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69409 /* end confdefs.h. */
69410 #include <math.h>
69411 #ifdef HAVE_IEEEFP_H
69412 #include <ieeefp.h>
69413 #endif
69416 main ()
69418 _fabsl(0);
69420 return 0;
69422 _ACEOF
69423 if ac_fn_cxx_try_compile "$LINENO"; then :
69424 glibcxx_cv_func__fabsl_use=yes
69425 else
69426 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
69440 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69442 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69443 for ac_func in _fabsl
69444 do :
69445 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69446 if test "x$ac_cv_func__fabsl" = x""yes; then :
69447 cat >>confdefs.h <<_ACEOF
69448 #define HAVE__FABSL 1
69449 _ACEOF
69452 done
69461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69462 $as_echo_n "checking for fmodl declaration... " >&6; }
69463 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69464 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
69483 return 0;
69485 _ACEOF
69486 if ac_fn_cxx_try_compile "$LINENO"; then :
69487 glibcxx_cv_func_fmodl_use=yes
69488 else
69489 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
69503 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69505 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69506 for ac_func in fmodl
69507 do :
69508 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69509 if test "x$ac_cv_func_fmodl" = x""yes; then :
69510 cat >>confdefs.h <<_ACEOF
69511 #define HAVE_FMODL 1
69512 _ACEOF
69515 done
69517 else
69519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69520 $as_echo_n "checking for _fmodl declaration... " >&6; }
69521 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69522 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
69541 return 0;
69543 _ACEOF
69544 if ac_fn_cxx_try_compile "$LINENO"; then :
69545 glibcxx_cv_func__fmodl_use=yes
69546 else
69547 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
69561 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69563 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69564 for ac_func in _fmodl
69565 do :
69566 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69567 if test "x$ac_cv_func__fmodl" = x""yes; then :
69568 cat >>confdefs.h <<_ACEOF
69569 #define HAVE__FMODL 1
69570 _ACEOF
69573 done
69582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69583 $as_echo_n "checking for frexpl declaration... " >&6; }
69584 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69585 if test "${glibcxx_cv_func_frexpl_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>
69600 main ()
69602 frexpl(0, 0);
69604 return 0;
69606 _ACEOF
69607 if ac_fn_cxx_try_compile "$LINENO"; then :
69608 glibcxx_cv_func_frexpl_use=yes
69609 else
69610 glibcxx_cv_func_frexpl_use=no
69612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69613 ac_ext=c
69614 ac_cpp='$CPP $CPPFLAGS'
69615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69624 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69626 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69627 for ac_func in frexpl
69628 do :
69629 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69630 if test "x$ac_cv_func_frexpl" = x""yes; then :
69631 cat >>confdefs.h <<_ACEOF
69632 #define HAVE_FREXPL 1
69633 _ACEOF
69636 done
69638 else
69640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69641 $as_echo_n "checking for _frexpl declaration... " >&6; }
69642 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69643 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69644 $as_echo_n "(cached) " >&6
69645 else
69648 ac_ext=cpp
69649 ac_cpp='$CXXCPP $CPPFLAGS'
69650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69655 /* end confdefs.h. */
69656 #include <math.h>
69658 main ()
69660 _frexpl(0, 0);
69662 return 0;
69664 _ACEOF
69665 if ac_fn_cxx_try_compile "$LINENO"; then :
69666 glibcxx_cv_func__frexpl_use=yes
69667 else
69668 glibcxx_cv_func__frexpl_use=no
69670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69671 ac_ext=c
69672 ac_cpp='$CPP $CPPFLAGS'
69673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69682 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69684 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69685 for ac_func in _frexpl
69686 do :
69687 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69688 if test "x$ac_cv_func__frexpl" = x""yes; then :
69689 cat >>confdefs.h <<_ACEOF
69690 #define HAVE__FREXPL 1
69691 _ACEOF
69694 done
69703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69704 $as_echo_n "checking for hypotl declaration... " >&6; }
69705 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69706 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69707 $as_echo_n "(cached) " >&6
69708 else
69711 ac_ext=cpp
69712 ac_cpp='$CXXCPP $CPPFLAGS'
69713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69718 /* end confdefs.h. */
69719 #include <math.h>
69721 main ()
69723 hypotl(0, 0);
69725 return 0;
69727 _ACEOF
69728 if ac_fn_cxx_try_compile "$LINENO"; then :
69729 glibcxx_cv_func_hypotl_use=yes
69730 else
69731 glibcxx_cv_func_hypotl_use=no
69733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69734 ac_ext=c
69735 ac_cpp='$CPP $CPPFLAGS'
69736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69745 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69747 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69748 for ac_func in hypotl
69749 do :
69750 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69751 if test "x$ac_cv_func_hypotl" = x""yes; then :
69752 cat >>confdefs.h <<_ACEOF
69753 #define HAVE_HYPOTL 1
69754 _ACEOF
69757 done
69759 else
69761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69762 $as_echo_n "checking for _hypotl declaration... " >&6; }
69763 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69764 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69765 $as_echo_n "(cached) " >&6
69766 else
69769 ac_ext=cpp
69770 ac_cpp='$CXXCPP $CPPFLAGS'
69771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69776 /* end confdefs.h. */
69777 #include <math.h>
69779 main ()
69781 _hypotl(0, 0);
69783 return 0;
69785 _ACEOF
69786 if ac_fn_cxx_try_compile "$LINENO"; then :
69787 glibcxx_cv_func__hypotl_use=yes
69788 else
69789 glibcxx_cv_func__hypotl_use=no
69791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69792 ac_ext=c
69793 ac_cpp='$CPP $CPPFLAGS'
69794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69803 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69805 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69806 for ac_func in _hypotl
69807 do :
69808 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69809 if test "x$ac_cv_func__hypotl" = x""yes; then :
69810 cat >>confdefs.h <<_ACEOF
69811 #define HAVE__HYPOTL 1
69812 _ACEOF
69815 done
69824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69825 $as_echo_n "checking for ldexpl declaration... " >&6; }
69826 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69827 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69828 $as_echo_n "(cached) " >&6
69829 else
69832 ac_ext=cpp
69833 ac_cpp='$CXXCPP $CPPFLAGS'
69834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69839 /* end confdefs.h. */
69840 #include <math.h>
69842 main ()
69844 ldexpl(0, 0);
69846 return 0;
69848 _ACEOF
69849 if ac_fn_cxx_try_compile "$LINENO"; then :
69850 glibcxx_cv_func_ldexpl_use=yes
69851 else
69852 glibcxx_cv_func_ldexpl_use=no
69854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69855 ac_ext=c
69856 ac_cpp='$CPP $CPPFLAGS'
69857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69866 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69868 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69869 for ac_func in ldexpl
69870 do :
69871 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69872 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69873 cat >>confdefs.h <<_ACEOF
69874 #define HAVE_LDEXPL 1
69875 _ACEOF
69878 done
69880 else
69882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69883 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69884 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69885 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69886 $as_echo_n "(cached) " >&6
69887 else
69890 ac_ext=cpp
69891 ac_cpp='$CXXCPP $CPPFLAGS'
69892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69897 /* end confdefs.h. */
69898 #include <math.h>
69900 main ()
69902 _ldexpl(0, 0);
69904 return 0;
69906 _ACEOF
69907 if ac_fn_cxx_try_compile "$LINENO"; then :
69908 glibcxx_cv_func__ldexpl_use=yes
69909 else
69910 glibcxx_cv_func__ldexpl_use=no
69912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69913 ac_ext=c
69914 ac_cpp='$CPP $CPPFLAGS'
69915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69924 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69926 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69927 for ac_func in _ldexpl
69928 do :
69929 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69930 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69931 cat >>confdefs.h <<_ACEOF
69932 #define HAVE__LDEXPL 1
69933 _ACEOF
69936 done
69945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69946 $as_echo_n "checking for logl declaration... " >&6; }
69947 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69948 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69949 $as_echo_n "(cached) " >&6
69950 else
69953 ac_ext=cpp
69954 ac_cpp='$CXXCPP $CPPFLAGS'
69955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69960 /* end confdefs.h. */
69961 #include <math.h>
69962 #ifdef HAVE_IEEEFP_H
69963 #include <ieeefp.h>
69964 #endif
69967 main ()
69969 logl(0);
69971 return 0;
69973 _ACEOF
69974 if ac_fn_cxx_try_compile "$LINENO"; then :
69975 glibcxx_cv_func_logl_use=yes
69976 else
69977 glibcxx_cv_func_logl_use=no
69979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69980 ac_ext=c
69981 ac_cpp='$CPP $CPPFLAGS'
69982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69991 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69993 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69994 for ac_func in logl
69995 do :
69996 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69997 if test "x$ac_cv_func_logl" = x""yes; then :
69998 cat >>confdefs.h <<_ACEOF
69999 #define HAVE_LOGL 1
70000 _ACEOF
70003 done
70005 else
70007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70008 $as_echo_n "checking for _logl declaration... " >&6; }
70009 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70010 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70011 $as_echo_n "(cached) " >&6
70012 else
70015 ac_ext=cpp
70016 ac_cpp='$CXXCPP $CPPFLAGS'
70017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70022 /* end confdefs.h. */
70023 #include <math.h>
70024 #ifdef HAVE_IEEEFP_H
70025 #include <ieeefp.h>
70026 #endif
70029 main ()
70031 _logl(0);
70033 return 0;
70035 _ACEOF
70036 if ac_fn_cxx_try_compile "$LINENO"; then :
70037 glibcxx_cv_func__logl_use=yes
70038 else
70039 glibcxx_cv_func__logl_use=no
70041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70042 ac_ext=c
70043 ac_cpp='$CPP $CPPFLAGS'
70044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70053 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70055 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70056 for ac_func in _logl
70057 do :
70058 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70059 if test "x$ac_cv_func__logl" = x""yes; then :
70060 cat >>confdefs.h <<_ACEOF
70061 #define HAVE__LOGL 1
70062 _ACEOF
70065 done
70074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70075 $as_echo_n "checking for log10l declaration... " >&6; }
70076 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70077 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70078 $as_echo_n "(cached) " >&6
70079 else
70082 ac_ext=cpp
70083 ac_cpp='$CXXCPP $CPPFLAGS'
70084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70089 /* end confdefs.h. */
70090 #include <math.h>
70091 #ifdef HAVE_IEEEFP_H
70092 #include <ieeefp.h>
70093 #endif
70096 main ()
70098 log10l(0);
70100 return 0;
70102 _ACEOF
70103 if ac_fn_cxx_try_compile "$LINENO"; then :
70104 glibcxx_cv_func_log10l_use=yes
70105 else
70106 glibcxx_cv_func_log10l_use=no
70108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70109 ac_ext=c
70110 ac_cpp='$CPP $CPPFLAGS'
70111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70120 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70122 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70123 for ac_func in log10l
70124 do :
70125 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70126 if test "x$ac_cv_func_log10l" = x""yes; then :
70127 cat >>confdefs.h <<_ACEOF
70128 #define HAVE_LOG10L 1
70129 _ACEOF
70132 done
70134 else
70136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70137 $as_echo_n "checking for _log10l declaration... " >&6; }
70138 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70139 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70140 $as_echo_n "(cached) " >&6
70141 else
70144 ac_ext=cpp
70145 ac_cpp='$CXXCPP $CPPFLAGS'
70146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70151 /* end confdefs.h. */
70152 #include <math.h>
70153 #ifdef HAVE_IEEEFP_H
70154 #include <ieeefp.h>
70155 #endif
70158 main ()
70160 _log10l(0);
70162 return 0;
70164 _ACEOF
70165 if ac_fn_cxx_try_compile "$LINENO"; then :
70166 glibcxx_cv_func__log10l_use=yes
70167 else
70168 glibcxx_cv_func__log10l_use=no
70170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70171 ac_ext=c
70172 ac_cpp='$CPP $CPPFLAGS'
70173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70182 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70184 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70185 for ac_func in _log10l
70186 do :
70187 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70188 if test "x$ac_cv_func__log10l" = x""yes; then :
70189 cat >>confdefs.h <<_ACEOF
70190 #define HAVE__LOG10L 1
70191 _ACEOF
70194 done
70203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70204 $as_echo_n "checking for modfl declaration... " >&6; }
70205 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70206 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70207 $as_echo_n "(cached) " >&6
70208 else
70211 ac_ext=cpp
70212 ac_cpp='$CXXCPP $CPPFLAGS'
70213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70218 /* end confdefs.h. */
70219 #include <math.h>
70221 main ()
70223 modfl(0, 0);
70225 return 0;
70227 _ACEOF
70228 if ac_fn_cxx_try_compile "$LINENO"; then :
70229 glibcxx_cv_func_modfl_use=yes
70230 else
70231 glibcxx_cv_func_modfl_use=no
70233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70234 ac_ext=c
70235 ac_cpp='$CPP $CPPFLAGS'
70236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70245 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70247 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70248 for ac_func in modfl
70249 do :
70250 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70251 if test "x$ac_cv_func_modfl" = x""yes; then :
70252 cat >>confdefs.h <<_ACEOF
70253 #define HAVE_MODFL 1
70254 _ACEOF
70257 done
70259 else
70261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70262 $as_echo_n "checking for _modfl declaration... " >&6; }
70263 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70264 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70265 $as_echo_n "(cached) " >&6
70266 else
70269 ac_ext=cpp
70270 ac_cpp='$CXXCPP $CPPFLAGS'
70271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70276 /* end confdefs.h. */
70277 #include <math.h>
70279 main ()
70281 _modfl(0, 0);
70283 return 0;
70285 _ACEOF
70286 if ac_fn_cxx_try_compile "$LINENO"; then :
70287 glibcxx_cv_func__modfl_use=yes
70288 else
70289 glibcxx_cv_func__modfl_use=no
70291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70292 ac_ext=c
70293 ac_cpp='$CPP $CPPFLAGS'
70294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70303 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70305 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70306 for ac_func in _modfl
70307 do :
70308 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70309 if test "x$ac_cv_func__modfl" = x""yes; then :
70310 cat >>confdefs.h <<_ACEOF
70311 #define HAVE__MODFL 1
70312 _ACEOF
70315 done
70324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70325 $as_echo_n "checking for powl declaration... " >&6; }
70326 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70327 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70328 $as_echo_n "(cached) " >&6
70329 else
70332 ac_ext=cpp
70333 ac_cpp='$CXXCPP $CPPFLAGS'
70334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70339 /* end confdefs.h. */
70340 #include <math.h>
70342 main ()
70344 powl(0, 0);
70346 return 0;
70348 _ACEOF
70349 if ac_fn_cxx_try_compile "$LINENO"; then :
70350 glibcxx_cv_func_powl_use=yes
70351 else
70352 glibcxx_cv_func_powl_use=no
70354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70355 ac_ext=c
70356 ac_cpp='$CPP $CPPFLAGS'
70357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70366 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70368 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70369 for ac_func in powl
70370 do :
70371 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70372 if test "x$ac_cv_func_powl" = x""yes; then :
70373 cat >>confdefs.h <<_ACEOF
70374 #define HAVE_POWL 1
70375 _ACEOF
70378 done
70380 else
70382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70383 $as_echo_n "checking for _powl declaration... " >&6; }
70384 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70385 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70386 $as_echo_n "(cached) " >&6
70387 else
70390 ac_ext=cpp
70391 ac_cpp='$CXXCPP $CPPFLAGS'
70392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70397 /* end confdefs.h. */
70398 #include <math.h>
70400 main ()
70402 _powl(0, 0);
70404 return 0;
70406 _ACEOF
70407 if ac_fn_cxx_try_compile "$LINENO"; then :
70408 glibcxx_cv_func__powl_use=yes
70409 else
70410 glibcxx_cv_func__powl_use=no
70412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70413 ac_ext=c
70414 ac_cpp='$CPP $CPPFLAGS'
70415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70424 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70426 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70427 for ac_func in _powl
70428 do :
70429 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70430 if test "x$ac_cv_func__powl" = x""yes; then :
70431 cat >>confdefs.h <<_ACEOF
70432 #define HAVE__POWL 1
70433 _ACEOF
70436 done
70445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70446 $as_echo_n "checking for sqrtl declaration... " >&6; }
70447 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70448 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70449 $as_echo_n "(cached) " >&6
70450 else
70453 ac_ext=cpp
70454 ac_cpp='$CXXCPP $CPPFLAGS'
70455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70460 /* end confdefs.h. */
70461 #include <math.h>
70462 #ifdef HAVE_IEEEFP_H
70463 #include <ieeefp.h>
70464 #endif
70467 main ()
70469 sqrtl(0);
70471 return 0;
70473 _ACEOF
70474 if ac_fn_cxx_try_compile "$LINENO"; then :
70475 glibcxx_cv_func_sqrtl_use=yes
70476 else
70477 glibcxx_cv_func_sqrtl_use=no
70479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70480 ac_ext=c
70481 ac_cpp='$CPP $CPPFLAGS'
70482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70491 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70493 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70494 for ac_func in sqrtl
70495 do :
70496 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70497 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70498 cat >>confdefs.h <<_ACEOF
70499 #define HAVE_SQRTL 1
70500 _ACEOF
70503 done
70505 else
70507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70508 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70509 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70510 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70511 $as_echo_n "(cached) " >&6
70512 else
70515 ac_ext=cpp
70516 ac_cpp='$CXXCPP $CPPFLAGS'
70517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70522 /* end confdefs.h. */
70523 #include <math.h>
70524 #ifdef HAVE_IEEEFP_H
70525 #include <ieeefp.h>
70526 #endif
70529 main ()
70531 _sqrtl(0);
70533 return 0;
70535 _ACEOF
70536 if ac_fn_cxx_try_compile "$LINENO"; then :
70537 glibcxx_cv_func__sqrtl_use=yes
70538 else
70539 glibcxx_cv_func__sqrtl_use=no
70541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70542 ac_ext=c
70543 ac_cpp='$CPP $CPPFLAGS'
70544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70553 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70555 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70556 for ac_func in _sqrtl
70557 do :
70558 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70559 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70560 cat >>confdefs.h <<_ACEOF
70561 #define HAVE__SQRTL 1
70562 _ACEOF
70565 done
70574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70575 $as_echo_n "checking for sincosl declaration... " >&6; }
70576 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70577 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70578 $as_echo_n "(cached) " >&6
70579 else
70582 ac_ext=cpp
70583 ac_cpp='$CXXCPP $CPPFLAGS'
70584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70589 /* end confdefs.h. */
70590 #include <math.h>
70592 main ()
70594 sincosl(0, 0, 0);
70596 return 0;
70598 _ACEOF
70599 if ac_fn_cxx_try_compile "$LINENO"; then :
70600 glibcxx_cv_func_sincosl_use=yes
70601 else
70602 glibcxx_cv_func_sincosl_use=no
70604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70605 ac_ext=c
70606 ac_cpp='$CPP $CPPFLAGS'
70607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70616 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70618 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70619 for ac_func in sincosl
70620 do :
70621 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70622 if test "x$ac_cv_func_sincosl" = x""yes; then :
70623 cat >>confdefs.h <<_ACEOF
70624 #define HAVE_SINCOSL 1
70625 _ACEOF
70628 done
70630 else
70632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70633 $as_echo_n "checking for _sincosl declaration... " >&6; }
70634 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70635 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70636 $as_echo_n "(cached) " >&6
70637 else
70640 ac_ext=cpp
70641 ac_cpp='$CXXCPP $CPPFLAGS'
70642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70647 /* end confdefs.h. */
70648 #include <math.h>
70650 main ()
70652 _sincosl(0, 0, 0);
70654 return 0;
70656 _ACEOF
70657 if ac_fn_cxx_try_compile "$LINENO"; then :
70658 glibcxx_cv_func__sincosl_use=yes
70659 else
70660 glibcxx_cv_func__sincosl_use=no
70662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70663 ac_ext=c
70664 ac_cpp='$CPP $CPPFLAGS'
70665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70674 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70676 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70677 for ac_func in _sincosl
70678 do :
70679 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70680 if test "x$ac_cv_func__sincosl" = x""yes; then :
70681 cat >>confdefs.h <<_ACEOF
70682 #define HAVE__SINCOSL 1
70683 _ACEOF
70686 done
70695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70696 $as_echo_n "checking for finitel declaration... " >&6; }
70697 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70698 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70699 $as_echo_n "(cached) " >&6
70700 else
70703 ac_ext=cpp
70704 ac_cpp='$CXXCPP $CPPFLAGS'
70705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70710 /* end confdefs.h. */
70711 #include <math.h>
70712 #ifdef HAVE_IEEEFP_H
70713 #include <ieeefp.h>
70714 #endif
70717 main ()
70719 finitel(0);
70721 return 0;
70723 _ACEOF
70724 if ac_fn_cxx_try_compile "$LINENO"; then :
70725 glibcxx_cv_func_finitel_use=yes
70726 else
70727 glibcxx_cv_func_finitel_use=no
70729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70730 ac_ext=c
70731 ac_cpp='$CPP $CPPFLAGS'
70732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70741 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70743 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70744 for ac_func in finitel
70745 do :
70746 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70747 if test "x$ac_cv_func_finitel" = x""yes; then :
70748 cat >>confdefs.h <<_ACEOF
70749 #define HAVE_FINITEL 1
70750 _ACEOF
70753 done
70755 else
70757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70758 $as_echo_n "checking for _finitel declaration... " >&6; }
70759 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70760 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70761 $as_echo_n "(cached) " >&6
70762 else
70765 ac_ext=cpp
70766 ac_cpp='$CXXCPP $CPPFLAGS'
70767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70772 /* end confdefs.h. */
70773 #include <math.h>
70774 #ifdef HAVE_IEEEFP_H
70775 #include <ieeefp.h>
70776 #endif
70779 main ()
70781 _finitel(0);
70783 return 0;
70785 _ACEOF
70786 if ac_fn_cxx_try_compile "$LINENO"; then :
70787 glibcxx_cv_func__finitel_use=yes
70788 else
70789 glibcxx_cv_func__finitel_use=no
70791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70792 ac_ext=c
70793 ac_cpp='$CPP $CPPFLAGS'
70794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70803 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70805 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70806 for ac_func in _finitel
70807 do :
70808 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70809 if test "x$ac_cv_func__finitel" = x""yes; then :
70810 cat >>confdefs.h <<_ACEOF
70811 #define HAVE__FINITEL 1
70812 _ACEOF
70815 done
70823 LIBS="$ac_save_LIBS"
70824 CXXFLAGS="$ac_save_CXXFLAGS"
70827 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70828 ac_save_CXXFLAGS="$CXXFLAGS"
70829 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70833 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70834 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70835 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70836 $as_echo_n "(cached) " >&6
70837 else
70840 ac_ext=cpp
70841 ac_cpp='$CXXCPP $CPPFLAGS'
70842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70847 /* end confdefs.h. */
70848 #include <stdlib.h>
70850 main ()
70852 at_quick_exit(0);
70854 return 0;
70856 _ACEOF
70857 if ac_fn_cxx_try_compile "$LINENO"; then :
70858 glibcxx_cv_func_at_quick_exit_use=yes
70859 else
70860 glibcxx_cv_func_at_quick_exit_use=no
70862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70863 ac_ext=c
70864 ac_cpp='$CPP $CPPFLAGS'
70865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70874 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70875 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70876 for ac_func in at_quick_exit
70877 do :
70878 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70879 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70880 cat >>confdefs.h <<_ACEOF
70881 #define HAVE_AT_QUICK_EXIT 1
70882 _ACEOF
70885 done
70890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70891 $as_echo_n "checking for quick_exit declaration... " >&6; }
70892 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70893 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70894 $as_echo_n "(cached) " >&6
70895 else
70898 ac_ext=cpp
70899 ac_cpp='$CXXCPP $CPPFLAGS'
70900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70905 /* end confdefs.h. */
70906 #include <stdlib.h>
70908 main ()
70910 quick_exit(0);
70912 return 0;
70914 _ACEOF
70915 if ac_fn_cxx_try_compile "$LINENO"; then :
70916 glibcxx_cv_func_quick_exit_use=yes
70917 else
70918 glibcxx_cv_func_quick_exit_use=no
70920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70921 ac_ext=c
70922 ac_cpp='$CPP $CPPFLAGS'
70923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70932 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70933 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70934 for ac_func in quick_exit
70935 do :
70936 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70937 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70938 cat >>confdefs.h <<_ACEOF
70939 #define HAVE_QUICK_EXIT 1
70940 _ACEOF
70943 done
70948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70949 $as_echo_n "checking for strtold declaration... " >&6; }
70950 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70951 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70952 $as_echo_n "(cached) " >&6
70953 else
70956 ac_ext=cpp
70957 ac_cpp='$CXXCPP $CPPFLAGS'
70958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70963 /* end confdefs.h. */
70964 #include <stdlib.h>
70966 main ()
70968 strtold(0, 0);
70970 return 0;
70972 _ACEOF
70973 if ac_fn_cxx_try_compile "$LINENO"; then :
70974 glibcxx_cv_func_strtold_use=yes
70975 else
70976 glibcxx_cv_func_strtold_use=no
70978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70979 ac_ext=c
70980 ac_cpp='$CPP $CPPFLAGS'
70981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70990 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70991 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70992 for ac_func in strtold
70993 do :
70994 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70995 if test "x$ac_cv_func_strtold" = x""yes; then :
70996 cat >>confdefs.h <<_ACEOF
70997 #define HAVE_STRTOLD 1
70998 _ACEOF
71001 done
71008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71009 $as_echo_n "checking for strtof declaration... " >&6; }
71010 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71011 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71012 $as_echo_n "(cached) " >&6
71013 else
71016 ac_ext=cpp
71017 ac_cpp='$CXXCPP $CPPFLAGS'
71018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71023 /* end confdefs.h. */
71024 #include <stdlib.h>
71026 main ()
71028 strtof(0, 0);
71030 return 0;
71032 _ACEOF
71033 if ac_fn_cxx_try_compile "$LINENO"; then :
71034 glibcxx_cv_func_strtof_use=yes
71035 else
71036 glibcxx_cv_func_strtof_use=no
71038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71039 ac_ext=c
71040 ac_cpp='$CPP $CPPFLAGS'
71041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71050 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71051 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71052 for ac_func in strtof
71053 do :
71054 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71055 if test "x$ac_cv_func_strtof" = x""yes; then :
71056 cat >>confdefs.h <<_ACEOF
71057 #define HAVE_STRTOF 1
71058 _ACEOF
71061 done
71068 CXXFLAGS="$ac_save_CXXFLAGS"
71071 *-solaris*)
71073 # If we're not using GNU ld, then there's no point in even trying these
71074 # tests. Check for that first. We should have already tested for gld
71075 # by now (in libtool), but require it now just to be safe...
71076 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71077 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71081 # The name set by libtool depends on the version of libtool. Shame on us
71082 # for depending on an impl detail, but c'est la vie. Older versions used
71083 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71084 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71085 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71086 # set (hence we're using an older libtool), then set it.
71087 if test x${with_gnu_ld+set} != xset; then
71088 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71089 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71090 with_gnu_ld=no
71091 else
71092 with_gnu_ld=$ac_cv_prog_gnu_ld
71096 # Start by getting the version number. I think the libtool test already
71097 # does some of this, but throws away the result.
71098 glibcxx_ld_is_gold=no
71099 if test x"$with_gnu_ld" = x"yes"; then
71100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71101 $as_echo_n "checking for ld version... " >&6; }
71103 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71104 glibcxx_ld_is_gold=yes
71106 ldver=`$LD --version 2>/dev/null |
71107 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'`
71109 glibcxx_gnu_ld_version=`echo $ldver | \
71110 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71112 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71115 # Set --gc-sections.
71116 glibcxx_have_gc_sections=no
71117 if test "$glibcxx_ld_is_gold" = "yes"; then
71118 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71119 glibcxx_have_gc_sections=yes
71121 else
71122 glibcxx_gcsections_min_ld=21602
71123 if test x"$with_gnu_ld" = x"yes" &&
71124 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71125 glibcxx_have_gc_sections=yes
71128 if test "$glibcxx_have_gc_sections" = "yes"; then
71129 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71130 # NB: This flag only works reliably after 2.16.1. Configure tests
71131 # for this are difficult, so hard wire a value that should work.
71133 ac_test_CFLAGS="${CFLAGS+set}"
71134 ac_save_CFLAGS="$CFLAGS"
71135 CFLAGS='-Wl,--gc-sections'
71137 # Check for -Wl,--gc-sections
71138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71139 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71140 if test x$gcc_no_link = xyes; then
71141 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71144 /* end confdefs.h. */
71145 int one(void) { return 1; }
71146 int two(void) { return 2; }
71149 main ()
71151 two();
71153 return 0;
71155 _ACEOF
71156 if ac_fn_c_try_link "$LINENO"; then :
71157 ac_gcsections=yes
71158 else
71159 ac_gcsections=no
71161 rm -f core conftest.err conftest.$ac_objext \
71162 conftest$ac_exeext conftest.$ac_ext
71163 if test "$ac_gcsections" = "yes"; then
71164 rm -f conftest.c
71165 touch conftest.c
71166 if $CC -c conftest.c; then
71167 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71168 grep "Warning: gc-sections option ignored" > /dev/null; then
71169 ac_gcsections=no
71172 rm -f conftest.c conftest.o conftest
71174 if test "$ac_gcsections" = "yes"; then
71175 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71178 $as_echo "$ac_gcsections" >&6; }
71180 if test "$ac_test_CFLAGS" = set; then
71181 CFLAGS="$ac_save_CFLAGS"
71182 else
71183 # this is the suspicious part
71184 CFLAGS=''
71188 # Set -z,relro.
71189 # Note this is only for shared objects.
71190 ac_ld_relro=no
71191 if test x"$with_gnu_ld" = x"yes"; then
71192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71193 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71194 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71195 if test -n "$cxx_z_relo"; then
71196 OPT_LDFLAGS="-Wl,-z,relro"
71197 ac_ld_relro=yes
71199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71200 $as_echo "$ac_ld_relro" >&6; }
71203 # Set linker optimization flags.
71204 if test x"$with_gnu_ld" = x"yes"; then
71205 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71211 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71213 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71215 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71217 # All of the dependencies for wide character support are here, so
71218 # turn it on.
71219 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71221 # These two C99 functions are present only in Solaris >= 10
71222 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71224 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71226 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71228 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71230 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71232 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71235 *-tpf)
71236 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71237 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71239 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71241 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71243 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71245 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71247 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71249 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71251 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71253 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71255 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71257 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71259 if test x"long_double_math_on_this_cpu" = x"yes"; then
71260 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71262 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71264 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71266 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71270 *-*vms*)
71271 # Check for available headers.
71272 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71274 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71275 ac_save_CXXFLAGS="$CXXFLAGS"
71276 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71279 $as_echo_n "checking for sin in -lm... " >&6; }
71280 if test "${ac_cv_lib_m_sin+set}" = set; then :
71281 $as_echo_n "(cached) " >&6
71282 else
71283 ac_check_lib_save_LIBS=$LIBS
71284 LIBS="-lm $LIBS"
71285 if test x$gcc_no_link = xyes; then
71286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71289 /* end confdefs.h. */
71291 /* Override any GCC internal prototype to avoid an error.
71292 Use char because int might match the return type of a GCC
71293 builtin and then its argument prototype would still apply. */
71294 #ifdef __cplusplus
71295 extern "C"
71296 #endif
71297 char sin ();
71299 main ()
71301 return sin ();
71303 return 0;
71305 _ACEOF
71306 if ac_fn_c_try_link "$LINENO"; then :
71307 ac_cv_lib_m_sin=yes
71308 else
71309 ac_cv_lib_m_sin=no
71311 rm -f core conftest.err conftest.$ac_objext \
71312 conftest$ac_exeext conftest.$ac_ext
71313 LIBS=$ac_check_lib_save_LIBS
71315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71316 $as_echo "$ac_cv_lib_m_sin" >&6; }
71317 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71318 libm="-lm"
71321 ac_save_LIBS="$LIBS"
71322 LIBS="$LIBS $libm"
71326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71327 $as_echo_n "checking for isinf declaration... " >&6; }
71328 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71329 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71330 $as_echo_n "(cached) " >&6
71331 else
71334 ac_ext=cpp
71335 ac_cpp='$CXXCPP $CPPFLAGS'
71336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71341 /* end confdefs.h. */
71342 #include <math.h>
71343 #ifdef HAVE_IEEEFP_H
71344 #include <ieeefp.h>
71345 #endif
71348 main ()
71350 isinf(0);
71352 return 0;
71354 _ACEOF
71355 if ac_fn_cxx_try_compile "$LINENO"; then :
71356 glibcxx_cv_func_isinf_use=yes
71357 else
71358 glibcxx_cv_func_isinf_use=no
71360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71361 ac_ext=c
71362 ac_cpp='$CPP $CPPFLAGS'
71363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71372 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71374 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71375 for ac_func in isinf
71376 do :
71377 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71378 if test "x$ac_cv_func_isinf" = x""yes; then :
71379 cat >>confdefs.h <<_ACEOF
71380 #define HAVE_ISINF 1
71381 _ACEOF
71384 done
71386 else
71388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71389 $as_echo_n "checking for _isinf declaration... " >&6; }
71390 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71391 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71392 $as_echo_n "(cached) " >&6
71393 else
71396 ac_ext=cpp
71397 ac_cpp='$CXXCPP $CPPFLAGS'
71398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71403 /* end confdefs.h. */
71404 #include <math.h>
71405 #ifdef HAVE_IEEEFP_H
71406 #include <ieeefp.h>
71407 #endif
71410 main ()
71412 _isinf(0);
71414 return 0;
71416 _ACEOF
71417 if ac_fn_cxx_try_compile "$LINENO"; then :
71418 glibcxx_cv_func__isinf_use=yes
71419 else
71420 glibcxx_cv_func__isinf_use=no
71422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71423 ac_ext=c
71424 ac_cpp='$CPP $CPPFLAGS'
71425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71434 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71436 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71437 for ac_func in _isinf
71438 do :
71439 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71440 if test "x$ac_cv_func__isinf" = x""yes; then :
71441 cat >>confdefs.h <<_ACEOF
71442 #define HAVE__ISINF 1
71443 _ACEOF
71446 done
71455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71456 $as_echo_n "checking for isnan declaration... " >&6; }
71457 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71458 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71459 $as_echo_n "(cached) " >&6
71460 else
71463 ac_ext=cpp
71464 ac_cpp='$CXXCPP $CPPFLAGS'
71465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71470 /* end confdefs.h. */
71471 #include <math.h>
71472 #ifdef HAVE_IEEEFP_H
71473 #include <ieeefp.h>
71474 #endif
71477 main ()
71479 isnan(0);
71481 return 0;
71483 _ACEOF
71484 if ac_fn_cxx_try_compile "$LINENO"; then :
71485 glibcxx_cv_func_isnan_use=yes
71486 else
71487 glibcxx_cv_func_isnan_use=no
71489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71490 ac_ext=c
71491 ac_cpp='$CPP $CPPFLAGS'
71492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71501 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71503 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71504 for ac_func in isnan
71505 do :
71506 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71507 if test "x$ac_cv_func_isnan" = x""yes; then :
71508 cat >>confdefs.h <<_ACEOF
71509 #define HAVE_ISNAN 1
71510 _ACEOF
71513 done
71515 else
71517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71518 $as_echo_n "checking for _isnan declaration... " >&6; }
71519 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71520 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71521 $as_echo_n "(cached) " >&6
71522 else
71525 ac_ext=cpp
71526 ac_cpp='$CXXCPP $CPPFLAGS'
71527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71532 /* end confdefs.h. */
71533 #include <math.h>
71534 #ifdef HAVE_IEEEFP_H
71535 #include <ieeefp.h>
71536 #endif
71539 main ()
71541 _isnan(0);
71543 return 0;
71545 _ACEOF
71546 if ac_fn_cxx_try_compile "$LINENO"; then :
71547 glibcxx_cv_func__isnan_use=yes
71548 else
71549 glibcxx_cv_func__isnan_use=no
71551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71552 ac_ext=c
71553 ac_cpp='$CPP $CPPFLAGS'
71554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71563 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71565 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71566 for ac_func in _isnan
71567 do :
71568 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71569 if test "x$ac_cv_func__isnan" = x""yes; then :
71570 cat >>confdefs.h <<_ACEOF
71571 #define HAVE__ISNAN 1
71572 _ACEOF
71575 done
71584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71585 $as_echo_n "checking for finite declaration... " >&6; }
71586 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71587 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71588 $as_echo_n "(cached) " >&6
71589 else
71592 ac_ext=cpp
71593 ac_cpp='$CXXCPP $CPPFLAGS'
71594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71599 /* end confdefs.h. */
71600 #include <math.h>
71601 #ifdef HAVE_IEEEFP_H
71602 #include <ieeefp.h>
71603 #endif
71606 main ()
71608 finite(0);
71610 return 0;
71612 _ACEOF
71613 if ac_fn_cxx_try_compile "$LINENO"; then :
71614 glibcxx_cv_func_finite_use=yes
71615 else
71616 glibcxx_cv_func_finite_use=no
71618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71619 ac_ext=c
71620 ac_cpp='$CPP $CPPFLAGS'
71621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71630 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71632 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71633 for ac_func in finite
71634 do :
71635 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71636 if test "x$ac_cv_func_finite" = x""yes; then :
71637 cat >>confdefs.h <<_ACEOF
71638 #define HAVE_FINITE 1
71639 _ACEOF
71642 done
71644 else
71646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71647 $as_echo_n "checking for _finite declaration... " >&6; }
71648 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71649 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71650 $as_echo_n "(cached) " >&6
71651 else
71654 ac_ext=cpp
71655 ac_cpp='$CXXCPP $CPPFLAGS'
71656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71661 /* end confdefs.h. */
71662 #include <math.h>
71663 #ifdef HAVE_IEEEFP_H
71664 #include <ieeefp.h>
71665 #endif
71668 main ()
71670 _finite(0);
71672 return 0;
71674 _ACEOF
71675 if ac_fn_cxx_try_compile "$LINENO"; then :
71676 glibcxx_cv_func__finite_use=yes
71677 else
71678 glibcxx_cv_func__finite_use=no
71680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71681 ac_ext=c
71682 ac_cpp='$CPP $CPPFLAGS'
71683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71692 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71694 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71695 for ac_func in _finite
71696 do :
71697 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71698 if test "x$ac_cv_func__finite" = x""yes; then :
71699 cat >>confdefs.h <<_ACEOF
71700 #define HAVE__FINITE 1
71701 _ACEOF
71704 done
71713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71714 $as_echo_n "checking for sincos declaration... " >&6; }
71715 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71716 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71717 $as_echo_n "(cached) " >&6
71718 else
71721 ac_ext=cpp
71722 ac_cpp='$CXXCPP $CPPFLAGS'
71723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71728 /* end confdefs.h. */
71729 #include <math.h>
71731 main ()
71733 sincos(0, 0, 0);
71735 return 0;
71737 _ACEOF
71738 if ac_fn_cxx_try_compile "$LINENO"; then :
71739 glibcxx_cv_func_sincos_use=yes
71740 else
71741 glibcxx_cv_func_sincos_use=no
71743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71744 ac_ext=c
71745 ac_cpp='$CPP $CPPFLAGS'
71746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71755 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71757 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71758 for ac_func in sincos
71759 do :
71760 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71761 if test "x$ac_cv_func_sincos" = x""yes; then :
71762 cat >>confdefs.h <<_ACEOF
71763 #define HAVE_SINCOS 1
71764 _ACEOF
71767 done
71769 else
71771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71772 $as_echo_n "checking for _sincos declaration... " >&6; }
71773 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71774 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71775 $as_echo_n "(cached) " >&6
71776 else
71779 ac_ext=cpp
71780 ac_cpp='$CXXCPP $CPPFLAGS'
71781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71786 /* end confdefs.h. */
71787 #include <math.h>
71789 main ()
71791 _sincos(0, 0, 0);
71793 return 0;
71795 _ACEOF
71796 if ac_fn_cxx_try_compile "$LINENO"; then :
71797 glibcxx_cv_func__sincos_use=yes
71798 else
71799 glibcxx_cv_func__sincos_use=no
71801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71802 ac_ext=c
71803 ac_cpp='$CPP $CPPFLAGS'
71804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71813 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71815 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71816 for ac_func in _sincos
71817 do :
71818 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71819 if test "x$ac_cv_func__sincos" = x""yes; then :
71820 cat >>confdefs.h <<_ACEOF
71821 #define HAVE__SINCOS 1
71822 _ACEOF
71825 done
71834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71835 $as_echo_n "checking for fpclass declaration... " >&6; }
71836 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71837 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71838 $as_echo_n "(cached) " >&6
71839 else
71842 ac_ext=cpp
71843 ac_cpp='$CXXCPP $CPPFLAGS'
71844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71849 /* end confdefs.h. */
71850 #include <math.h>
71851 #ifdef HAVE_IEEEFP_H
71852 #include <ieeefp.h>
71853 #endif
71856 main ()
71858 fpclass(0);
71860 return 0;
71862 _ACEOF
71863 if ac_fn_cxx_try_compile "$LINENO"; then :
71864 glibcxx_cv_func_fpclass_use=yes
71865 else
71866 glibcxx_cv_func_fpclass_use=no
71868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71869 ac_ext=c
71870 ac_cpp='$CPP $CPPFLAGS'
71871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71880 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71882 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71883 for ac_func in fpclass
71884 do :
71885 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71886 if test "x$ac_cv_func_fpclass" = x""yes; then :
71887 cat >>confdefs.h <<_ACEOF
71888 #define HAVE_FPCLASS 1
71889 _ACEOF
71892 done
71894 else
71896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71897 $as_echo_n "checking for _fpclass declaration... " >&6; }
71898 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71899 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71900 $as_echo_n "(cached) " >&6
71901 else
71904 ac_ext=cpp
71905 ac_cpp='$CXXCPP $CPPFLAGS'
71906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71911 /* end confdefs.h. */
71912 #include <math.h>
71913 #ifdef HAVE_IEEEFP_H
71914 #include <ieeefp.h>
71915 #endif
71918 main ()
71920 _fpclass(0);
71922 return 0;
71924 _ACEOF
71925 if ac_fn_cxx_try_compile "$LINENO"; then :
71926 glibcxx_cv_func__fpclass_use=yes
71927 else
71928 glibcxx_cv_func__fpclass_use=no
71930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71931 ac_ext=c
71932 ac_cpp='$CPP $CPPFLAGS'
71933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71942 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71944 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71945 for ac_func in _fpclass
71946 do :
71947 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71948 if test "x$ac_cv_func__fpclass" = x""yes; then :
71949 cat >>confdefs.h <<_ACEOF
71950 #define HAVE__FPCLASS 1
71951 _ACEOF
71954 done
71963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71964 $as_echo_n "checking for qfpclass declaration... " >&6; }
71965 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71966 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71967 $as_echo_n "(cached) " >&6
71968 else
71971 ac_ext=cpp
71972 ac_cpp='$CXXCPP $CPPFLAGS'
71973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71978 /* end confdefs.h. */
71979 #include <math.h>
71980 #ifdef HAVE_IEEEFP_H
71981 #include <ieeefp.h>
71982 #endif
71985 main ()
71987 qfpclass(0);
71989 return 0;
71991 _ACEOF
71992 if ac_fn_cxx_try_compile "$LINENO"; then :
71993 glibcxx_cv_func_qfpclass_use=yes
71994 else
71995 glibcxx_cv_func_qfpclass_use=no
71997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71998 ac_ext=c
71999 ac_cpp='$CPP $CPPFLAGS'
72000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72009 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72011 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72012 for ac_func in qfpclass
72013 do :
72014 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72015 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72016 cat >>confdefs.h <<_ACEOF
72017 #define HAVE_QFPCLASS 1
72018 _ACEOF
72021 done
72023 else
72025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72026 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72027 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72028 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72029 $as_echo_n "(cached) " >&6
72030 else
72033 ac_ext=cpp
72034 ac_cpp='$CXXCPP $CPPFLAGS'
72035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72040 /* end confdefs.h. */
72041 #include <math.h>
72042 #ifdef HAVE_IEEEFP_H
72043 #include <ieeefp.h>
72044 #endif
72047 main ()
72049 _qfpclass(0);
72051 return 0;
72053 _ACEOF
72054 if ac_fn_cxx_try_compile "$LINENO"; then :
72055 glibcxx_cv_func__qfpclass_use=yes
72056 else
72057 glibcxx_cv_func__qfpclass_use=no
72059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72060 ac_ext=c
72061 ac_cpp='$CPP $CPPFLAGS'
72062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72071 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72073 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72074 for ac_func in _qfpclass
72075 do :
72076 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72077 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72078 cat >>confdefs.h <<_ACEOF
72079 #define HAVE__QFPCLASS 1
72080 _ACEOF
72083 done
72092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72093 $as_echo_n "checking for hypot declaration... " >&6; }
72094 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72095 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72096 $as_echo_n "(cached) " >&6
72097 else
72100 ac_ext=cpp
72101 ac_cpp='$CXXCPP $CPPFLAGS'
72102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72107 /* end confdefs.h. */
72108 #include <math.h>
72110 main ()
72112 hypot(0, 0);
72114 return 0;
72116 _ACEOF
72117 if ac_fn_cxx_try_compile "$LINENO"; then :
72118 glibcxx_cv_func_hypot_use=yes
72119 else
72120 glibcxx_cv_func_hypot_use=no
72122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72123 ac_ext=c
72124 ac_cpp='$CPP $CPPFLAGS'
72125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72134 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72136 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72137 for ac_func in hypot
72138 do :
72139 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72140 if test "x$ac_cv_func_hypot" = x""yes; then :
72141 cat >>confdefs.h <<_ACEOF
72142 #define HAVE_HYPOT 1
72143 _ACEOF
72146 done
72148 else
72150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72151 $as_echo_n "checking for _hypot declaration... " >&6; }
72152 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72153 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72154 $as_echo_n "(cached) " >&6
72155 else
72158 ac_ext=cpp
72159 ac_cpp='$CXXCPP $CPPFLAGS'
72160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72165 /* end confdefs.h. */
72166 #include <math.h>
72168 main ()
72170 _hypot(0, 0);
72172 return 0;
72174 _ACEOF
72175 if ac_fn_cxx_try_compile "$LINENO"; then :
72176 glibcxx_cv_func__hypot_use=yes
72177 else
72178 glibcxx_cv_func__hypot_use=no
72180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72181 ac_ext=c
72182 ac_cpp='$CPP $CPPFLAGS'
72183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72192 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72194 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72195 for ac_func in _hypot
72196 do :
72197 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72198 if test "x$ac_cv_func__hypot" = x""yes; then :
72199 cat >>confdefs.h <<_ACEOF
72200 #define HAVE__HYPOT 1
72201 _ACEOF
72204 done
72213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72214 $as_echo_n "checking for float trig functions... " >&6; }
72215 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72216 $as_echo_n "(cached) " >&6
72217 else
72220 ac_ext=cpp
72221 ac_cpp='$CXXCPP $CPPFLAGS'
72222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72227 /* end confdefs.h. */
72228 #include <math.h>
72230 main ()
72232 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72234 return 0;
72236 _ACEOF
72237 if ac_fn_cxx_try_compile "$LINENO"; then :
72238 glibcxx_cv_func_float_trig_use=yes
72239 else
72240 glibcxx_cv_func_float_trig_use=no
72242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72243 ac_ext=c
72244 ac_cpp='$CPP $CPPFLAGS'
72245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72252 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72253 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72254 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72255 do :
72256 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72258 eval as_val=\$$as_ac_var
72259 if test "x$as_val" = x""yes; then :
72260 cat >>confdefs.h <<_ACEOF
72261 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72262 _ACEOF
72265 done
72267 else
72268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72269 $as_echo_n "checking for _float trig functions... " >&6; }
72270 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72271 $as_echo_n "(cached) " >&6
72272 else
72275 ac_ext=cpp
72276 ac_cpp='$CXXCPP $CPPFLAGS'
72277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72282 /* end confdefs.h. */
72283 #include <math.h>
72285 main ()
72287 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72289 return 0;
72291 _ACEOF
72292 if ac_fn_cxx_try_compile "$LINENO"; then :
72293 glibcxx_cv_func__float_trig_use=yes
72294 else
72295 glibcxx_cv_func__float_trig_use=no
72297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72298 ac_ext=c
72299 ac_cpp='$CPP $CPPFLAGS'
72300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72307 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72308 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72309 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72310 do :
72311 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72313 eval as_val=\$$as_ac_var
72314 if test "x$as_val" = x""yes; then :
72315 cat >>confdefs.h <<_ACEOF
72316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72317 _ACEOF
72320 done
72329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72330 $as_echo_n "checking for float round functions... " >&6; }
72331 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72332 $as_echo_n "(cached) " >&6
72333 else
72336 ac_ext=cpp
72337 ac_cpp='$CXXCPP $CPPFLAGS'
72338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72343 /* end confdefs.h. */
72344 #include <math.h>
72346 main ()
72348 ceilf (0); floorf (0);
72350 return 0;
72352 _ACEOF
72353 if ac_fn_cxx_try_compile "$LINENO"; then :
72354 glibcxx_cv_func_float_round_use=yes
72355 else
72356 glibcxx_cv_func_float_round_use=no
72358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72359 ac_ext=c
72360 ac_cpp='$CPP $CPPFLAGS'
72361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72368 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72369 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72370 for ac_func in ceilf floorf
72371 do :
72372 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72373 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72374 eval as_val=\$$as_ac_var
72375 if test "x$as_val" = x""yes; then :
72376 cat >>confdefs.h <<_ACEOF
72377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72378 _ACEOF
72381 done
72383 else
72384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72385 $as_echo_n "checking for _float round functions... " >&6; }
72386 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72387 $as_echo_n "(cached) " >&6
72388 else
72391 ac_ext=cpp
72392 ac_cpp='$CXXCPP $CPPFLAGS'
72393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72398 /* end confdefs.h. */
72399 #include <math.h>
72401 main ()
72403 _ceilf (0); _floorf (0);
72405 return 0;
72407 _ACEOF
72408 if ac_fn_cxx_try_compile "$LINENO"; then :
72409 glibcxx_cv_func__float_round_use=yes
72410 else
72411 glibcxx_cv_func__float_round_use=no
72413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72414 ac_ext=c
72415 ac_cpp='$CPP $CPPFLAGS'
72416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72423 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72424 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72425 for ac_func in _ceilf _floorf
72426 do :
72427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72429 eval as_val=\$$as_ac_var
72430 if test "x$as_val" = x""yes; then :
72431 cat >>confdefs.h <<_ACEOF
72432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72433 _ACEOF
72436 done
72446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72447 $as_echo_n "checking for expf declaration... " >&6; }
72448 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72449 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72450 $as_echo_n "(cached) " >&6
72451 else
72454 ac_ext=cpp
72455 ac_cpp='$CXXCPP $CPPFLAGS'
72456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72461 /* end confdefs.h. */
72462 #include <math.h>
72463 #ifdef HAVE_IEEEFP_H
72464 #include <ieeefp.h>
72465 #endif
72468 main ()
72470 expf(0);
72472 return 0;
72474 _ACEOF
72475 if ac_fn_cxx_try_compile "$LINENO"; then :
72476 glibcxx_cv_func_expf_use=yes
72477 else
72478 glibcxx_cv_func_expf_use=no
72480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72481 ac_ext=c
72482 ac_cpp='$CPP $CPPFLAGS'
72483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72492 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72494 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72495 for ac_func in expf
72496 do :
72497 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72498 if test "x$ac_cv_func_expf" = x""yes; then :
72499 cat >>confdefs.h <<_ACEOF
72500 #define HAVE_EXPF 1
72501 _ACEOF
72504 done
72506 else
72508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72509 $as_echo_n "checking for _expf declaration... " >&6; }
72510 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72511 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72512 $as_echo_n "(cached) " >&6
72513 else
72516 ac_ext=cpp
72517 ac_cpp='$CXXCPP $CPPFLAGS'
72518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72523 /* end confdefs.h. */
72524 #include <math.h>
72525 #ifdef HAVE_IEEEFP_H
72526 #include <ieeefp.h>
72527 #endif
72530 main ()
72532 _expf(0);
72534 return 0;
72536 _ACEOF
72537 if ac_fn_cxx_try_compile "$LINENO"; then :
72538 glibcxx_cv_func__expf_use=yes
72539 else
72540 glibcxx_cv_func__expf_use=no
72542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72543 ac_ext=c
72544 ac_cpp='$CPP $CPPFLAGS'
72545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72554 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72556 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72557 for ac_func in _expf
72558 do :
72559 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72560 if test "x$ac_cv_func__expf" = x""yes; then :
72561 cat >>confdefs.h <<_ACEOF
72562 #define HAVE__EXPF 1
72563 _ACEOF
72566 done
72575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72576 $as_echo_n "checking for isnanf declaration... " >&6; }
72577 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72578 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72579 $as_echo_n "(cached) " >&6
72580 else
72583 ac_ext=cpp
72584 ac_cpp='$CXXCPP $CPPFLAGS'
72585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72590 /* end confdefs.h. */
72591 #include <math.h>
72592 #ifdef HAVE_IEEEFP_H
72593 #include <ieeefp.h>
72594 #endif
72597 main ()
72599 isnanf(0);
72601 return 0;
72603 _ACEOF
72604 if ac_fn_cxx_try_compile "$LINENO"; then :
72605 glibcxx_cv_func_isnanf_use=yes
72606 else
72607 glibcxx_cv_func_isnanf_use=no
72609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72610 ac_ext=c
72611 ac_cpp='$CPP $CPPFLAGS'
72612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72621 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72623 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72624 for ac_func in isnanf
72625 do :
72626 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72627 if test "x$ac_cv_func_isnanf" = x""yes; then :
72628 cat >>confdefs.h <<_ACEOF
72629 #define HAVE_ISNANF 1
72630 _ACEOF
72633 done
72635 else
72637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72638 $as_echo_n "checking for _isnanf declaration... " >&6; }
72639 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72640 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72641 $as_echo_n "(cached) " >&6
72642 else
72645 ac_ext=cpp
72646 ac_cpp='$CXXCPP $CPPFLAGS'
72647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72652 /* end confdefs.h. */
72653 #include <math.h>
72654 #ifdef HAVE_IEEEFP_H
72655 #include <ieeefp.h>
72656 #endif
72659 main ()
72661 _isnanf(0);
72663 return 0;
72665 _ACEOF
72666 if ac_fn_cxx_try_compile "$LINENO"; then :
72667 glibcxx_cv_func__isnanf_use=yes
72668 else
72669 glibcxx_cv_func__isnanf_use=no
72671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72672 ac_ext=c
72673 ac_cpp='$CPP $CPPFLAGS'
72674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72683 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72685 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72686 for ac_func in _isnanf
72687 do :
72688 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72689 if test "x$ac_cv_func__isnanf" = x""yes; then :
72690 cat >>confdefs.h <<_ACEOF
72691 #define HAVE__ISNANF 1
72692 _ACEOF
72695 done
72704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72705 $as_echo_n "checking for isinff declaration... " >&6; }
72706 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72707 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72708 $as_echo_n "(cached) " >&6
72709 else
72712 ac_ext=cpp
72713 ac_cpp='$CXXCPP $CPPFLAGS'
72714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72719 /* end confdefs.h. */
72720 #include <math.h>
72721 #ifdef HAVE_IEEEFP_H
72722 #include <ieeefp.h>
72723 #endif
72726 main ()
72728 isinff(0);
72730 return 0;
72732 _ACEOF
72733 if ac_fn_cxx_try_compile "$LINENO"; then :
72734 glibcxx_cv_func_isinff_use=yes
72735 else
72736 glibcxx_cv_func_isinff_use=no
72738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72739 ac_ext=c
72740 ac_cpp='$CPP $CPPFLAGS'
72741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72750 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72752 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72753 for ac_func in isinff
72754 do :
72755 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72756 if test "x$ac_cv_func_isinff" = x""yes; then :
72757 cat >>confdefs.h <<_ACEOF
72758 #define HAVE_ISINFF 1
72759 _ACEOF
72762 done
72764 else
72766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72767 $as_echo_n "checking for _isinff declaration... " >&6; }
72768 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72769 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72770 $as_echo_n "(cached) " >&6
72771 else
72774 ac_ext=cpp
72775 ac_cpp='$CXXCPP $CPPFLAGS'
72776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72781 /* end confdefs.h. */
72782 #include <math.h>
72783 #ifdef HAVE_IEEEFP_H
72784 #include <ieeefp.h>
72785 #endif
72788 main ()
72790 _isinff(0);
72792 return 0;
72794 _ACEOF
72795 if ac_fn_cxx_try_compile "$LINENO"; then :
72796 glibcxx_cv_func__isinff_use=yes
72797 else
72798 glibcxx_cv_func__isinff_use=no
72800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72801 ac_ext=c
72802 ac_cpp='$CPP $CPPFLAGS'
72803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72812 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72814 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72815 for ac_func in _isinff
72816 do :
72817 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72818 if test "x$ac_cv_func__isinff" = x""yes; then :
72819 cat >>confdefs.h <<_ACEOF
72820 #define HAVE__ISINFF 1
72821 _ACEOF
72824 done
72833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72834 $as_echo_n "checking for atan2f declaration... " >&6; }
72835 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72836 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72837 $as_echo_n "(cached) " >&6
72838 else
72841 ac_ext=cpp
72842 ac_cpp='$CXXCPP $CPPFLAGS'
72843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72848 /* end confdefs.h. */
72849 #include <math.h>
72851 main ()
72853 atan2f(0, 0);
72855 return 0;
72857 _ACEOF
72858 if ac_fn_cxx_try_compile "$LINENO"; then :
72859 glibcxx_cv_func_atan2f_use=yes
72860 else
72861 glibcxx_cv_func_atan2f_use=no
72863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72864 ac_ext=c
72865 ac_cpp='$CPP $CPPFLAGS'
72866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72875 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72877 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72878 for ac_func in atan2f
72879 do :
72880 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72881 if test "x$ac_cv_func_atan2f" = x""yes; then :
72882 cat >>confdefs.h <<_ACEOF
72883 #define HAVE_ATAN2F 1
72884 _ACEOF
72887 done
72889 else
72891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72892 $as_echo_n "checking for _atan2f declaration... " >&6; }
72893 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72894 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72895 $as_echo_n "(cached) " >&6
72896 else
72899 ac_ext=cpp
72900 ac_cpp='$CXXCPP $CPPFLAGS'
72901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72906 /* end confdefs.h. */
72907 #include <math.h>
72909 main ()
72911 _atan2f(0, 0);
72913 return 0;
72915 _ACEOF
72916 if ac_fn_cxx_try_compile "$LINENO"; then :
72917 glibcxx_cv_func__atan2f_use=yes
72918 else
72919 glibcxx_cv_func__atan2f_use=no
72921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72922 ac_ext=c
72923 ac_cpp='$CPP $CPPFLAGS'
72924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72933 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72935 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72936 for ac_func in _atan2f
72937 do :
72938 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72939 if test "x$ac_cv_func__atan2f" = x""yes; then :
72940 cat >>confdefs.h <<_ACEOF
72941 #define HAVE__ATAN2F 1
72942 _ACEOF
72945 done
72954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72955 $as_echo_n "checking for fabsf declaration... " >&6; }
72956 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72957 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72958 $as_echo_n "(cached) " >&6
72959 else
72962 ac_ext=cpp
72963 ac_cpp='$CXXCPP $CPPFLAGS'
72964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72969 /* end confdefs.h. */
72970 #include <math.h>
72971 #ifdef HAVE_IEEEFP_H
72972 #include <ieeefp.h>
72973 #endif
72976 main ()
72978 fabsf(0);
72980 return 0;
72982 _ACEOF
72983 if ac_fn_cxx_try_compile "$LINENO"; then :
72984 glibcxx_cv_func_fabsf_use=yes
72985 else
72986 glibcxx_cv_func_fabsf_use=no
72988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72989 ac_ext=c
72990 ac_cpp='$CPP $CPPFLAGS'
72991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73000 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73002 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73003 for ac_func in fabsf
73004 do :
73005 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73006 if test "x$ac_cv_func_fabsf" = x""yes; then :
73007 cat >>confdefs.h <<_ACEOF
73008 #define HAVE_FABSF 1
73009 _ACEOF
73012 done
73014 else
73016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73017 $as_echo_n "checking for _fabsf declaration... " >&6; }
73018 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73019 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73020 $as_echo_n "(cached) " >&6
73021 else
73024 ac_ext=cpp
73025 ac_cpp='$CXXCPP $CPPFLAGS'
73026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73031 /* end confdefs.h. */
73032 #include <math.h>
73033 #ifdef HAVE_IEEEFP_H
73034 #include <ieeefp.h>
73035 #endif
73038 main ()
73040 _fabsf(0);
73042 return 0;
73044 _ACEOF
73045 if ac_fn_cxx_try_compile "$LINENO"; then :
73046 glibcxx_cv_func__fabsf_use=yes
73047 else
73048 glibcxx_cv_func__fabsf_use=no
73050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73051 ac_ext=c
73052 ac_cpp='$CPP $CPPFLAGS'
73053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73062 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73064 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73065 for ac_func in _fabsf
73066 do :
73067 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73068 if test "x$ac_cv_func__fabsf" = x""yes; then :
73069 cat >>confdefs.h <<_ACEOF
73070 #define HAVE__FABSF 1
73071 _ACEOF
73074 done
73083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73084 $as_echo_n "checking for fmodf declaration... " >&6; }
73085 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73086 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73087 $as_echo_n "(cached) " >&6
73088 else
73091 ac_ext=cpp
73092 ac_cpp='$CXXCPP $CPPFLAGS'
73093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73098 /* end confdefs.h. */
73099 #include <math.h>
73101 main ()
73103 fmodf(0, 0);
73105 return 0;
73107 _ACEOF
73108 if ac_fn_cxx_try_compile "$LINENO"; then :
73109 glibcxx_cv_func_fmodf_use=yes
73110 else
73111 glibcxx_cv_func_fmodf_use=no
73113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73114 ac_ext=c
73115 ac_cpp='$CPP $CPPFLAGS'
73116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73125 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73127 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73128 for ac_func in fmodf
73129 do :
73130 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73131 if test "x$ac_cv_func_fmodf" = x""yes; then :
73132 cat >>confdefs.h <<_ACEOF
73133 #define HAVE_FMODF 1
73134 _ACEOF
73137 done
73139 else
73141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73142 $as_echo_n "checking for _fmodf declaration... " >&6; }
73143 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73144 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73145 $as_echo_n "(cached) " >&6
73146 else
73149 ac_ext=cpp
73150 ac_cpp='$CXXCPP $CPPFLAGS'
73151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73156 /* end confdefs.h. */
73157 #include <math.h>
73159 main ()
73161 _fmodf(0, 0);
73163 return 0;
73165 _ACEOF
73166 if ac_fn_cxx_try_compile "$LINENO"; then :
73167 glibcxx_cv_func__fmodf_use=yes
73168 else
73169 glibcxx_cv_func__fmodf_use=no
73171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73172 ac_ext=c
73173 ac_cpp='$CPP $CPPFLAGS'
73174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73183 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73185 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73186 for ac_func in _fmodf
73187 do :
73188 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73189 if test "x$ac_cv_func__fmodf" = x""yes; then :
73190 cat >>confdefs.h <<_ACEOF
73191 #define HAVE__FMODF 1
73192 _ACEOF
73195 done
73204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73205 $as_echo_n "checking for frexpf declaration... " >&6; }
73206 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73207 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73208 $as_echo_n "(cached) " >&6
73209 else
73212 ac_ext=cpp
73213 ac_cpp='$CXXCPP $CPPFLAGS'
73214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73219 /* end confdefs.h. */
73220 #include <math.h>
73222 main ()
73224 frexpf(0, 0);
73226 return 0;
73228 _ACEOF
73229 if ac_fn_cxx_try_compile "$LINENO"; then :
73230 glibcxx_cv_func_frexpf_use=yes
73231 else
73232 glibcxx_cv_func_frexpf_use=no
73234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73235 ac_ext=c
73236 ac_cpp='$CPP $CPPFLAGS'
73237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73246 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73248 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73249 for ac_func in frexpf
73250 do :
73251 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73252 if test "x$ac_cv_func_frexpf" = x""yes; then :
73253 cat >>confdefs.h <<_ACEOF
73254 #define HAVE_FREXPF 1
73255 _ACEOF
73258 done
73260 else
73262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73263 $as_echo_n "checking for _frexpf declaration... " >&6; }
73264 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73265 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73266 $as_echo_n "(cached) " >&6
73267 else
73270 ac_ext=cpp
73271 ac_cpp='$CXXCPP $CPPFLAGS'
73272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73277 /* end confdefs.h. */
73278 #include <math.h>
73280 main ()
73282 _frexpf(0, 0);
73284 return 0;
73286 _ACEOF
73287 if ac_fn_cxx_try_compile "$LINENO"; then :
73288 glibcxx_cv_func__frexpf_use=yes
73289 else
73290 glibcxx_cv_func__frexpf_use=no
73292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73293 ac_ext=c
73294 ac_cpp='$CPP $CPPFLAGS'
73295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73304 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73306 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73307 for ac_func in _frexpf
73308 do :
73309 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73310 if test "x$ac_cv_func__frexpf" = x""yes; then :
73311 cat >>confdefs.h <<_ACEOF
73312 #define HAVE__FREXPF 1
73313 _ACEOF
73316 done
73325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73326 $as_echo_n "checking for hypotf declaration... " >&6; }
73327 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73328 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73329 $as_echo_n "(cached) " >&6
73330 else
73333 ac_ext=cpp
73334 ac_cpp='$CXXCPP $CPPFLAGS'
73335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73340 /* end confdefs.h. */
73341 #include <math.h>
73343 main ()
73345 hypotf(0, 0);
73347 return 0;
73349 _ACEOF
73350 if ac_fn_cxx_try_compile "$LINENO"; then :
73351 glibcxx_cv_func_hypotf_use=yes
73352 else
73353 glibcxx_cv_func_hypotf_use=no
73355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73356 ac_ext=c
73357 ac_cpp='$CPP $CPPFLAGS'
73358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73367 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73369 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73370 for ac_func in hypotf
73371 do :
73372 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73373 if test "x$ac_cv_func_hypotf" = x""yes; then :
73374 cat >>confdefs.h <<_ACEOF
73375 #define HAVE_HYPOTF 1
73376 _ACEOF
73379 done
73381 else
73383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73384 $as_echo_n "checking for _hypotf declaration... " >&6; }
73385 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73386 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73387 $as_echo_n "(cached) " >&6
73388 else
73391 ac_ext=cpp
73392 ac_cpp='$CXXCPP $CPPFLAGS'
73393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73398 /* end confdefs.h. */
73399 #include <math.h>
73401 main ()
73403 _hypotf(0, 0);
73405 return 0;
73407 _ACEOF
73408 if ac_fn_cxx_try_compile "$LINENO"; then :
73409 glibcxx_cv_func__hypotf_use=yes
73410 else
73411 glibcxx_cv_func__hypotf_use=no
73413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73414 ac_ext=c
73415 ac_cpp='$CPP $CPPFLAGS'
73416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73425 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73427 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73428 for ac_func in _hypotf
73429 do :
73430 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73431 if test "x$ac_cv_func__hypotf" = x""yes; then :
73432 cat >>confdefs.h <<_ACEOF
73433 #define HAVE__HYPOTF 1
73434 _ACEOF
73437 done
73446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73447 $as_echo_n "checking for ldexpf declaration... " >&6; }
73448 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73449 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73450 $as_echo_n "(cached) " >&6
73451 else
73454 ac_ext=cpp
73455 ac_cpp='$CXXCPP $CPPFLAGS'
73456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73461 /* end confdefs.h. */
73462 #include <math.h>
73464 main ()
73466 ldexpf(0, 0);
73468 return 0;
73470 _ACEOF
73471 if ac_fn_cxx_try_compile "$LINENO"; then :
73472 glibcxx_cv_func_ldexpf_use=yes
73473 else
73474 glibcxx_cv_func_ldexpf_use=no
73476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73477 ac_ext=c
73478 ac_cpp='$CPP $CPPFLAGS'
73479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73488 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73490 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73491 for ac_func in ldexpf
73492 do :
73493 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73494 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73495 cat >>confdefs.h <<_ACEOF
73496 #define HAVE_LDEXPF 1
73497 _ACEOF
73500 done
73502 else
73504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73505 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73506 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73507 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73508 $as_echo_n "(cached) " >&6
73509 else
73512 ac_ext=cpp
73513 ac_cpp='$CXXCPP $CPPFLAGS'
73514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73519 /* end confdefs.h. */
73520 #include <math.h>
73522 main ()
73524 _ldexpf(0, 0);
73526 return 0;
73528 _ACEOF
73529 if ac_fn_cxx_try_compile "$LINENO"; then :
73530 glibcxx_cv_func__ldexpf_use=yes
73531 else
73532 glibcxx_cv_func__ldexpf_use=no
73534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73535 ac_ext=c
73536 ac_cpp='$CPP $CPPFLAGS'
73537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73546 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73548 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73549 for ac_func in _ldexpf
73550 do :
73551 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73552 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73553 cat >>confdefs.h <<_ACEOF
73554 #define HAVE__LDEXPF 1
73555 _ACEOF
73558 done
73567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73568 $as_echo_n "checking for logf declaration... " >&6; }
73569 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73570 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73571 $as_echo_n "(cached) " >&6
73572 else
73575 ac_ext=cpp
73576 ac_cpp='$CXXCPP $CPPFLAGS'
73577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73582 /* end confdefs.h. */
73583 #include <math.h>
73584 #ifdef HAVE_IEEEFP_H
73585 #include <ieeefp.h>
73586 #endif
73589 main ()
73591 logf(0);
73593 return 0;
73595 _ACEOF
73596 if ac_fn_cxx_try_compile "$LINENO"; then :
73597 glibcxx_cv_func_logf_use=yes
73598 else
73599 glibcxx_cv_func_logf_use=no
73601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73602 ac_ext=c
73603 ac_cpp='$CPP $CPPFLAGS'
73604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73613 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73615 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73616 for ac_func in logf
73617 do :
73618 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73619 if test "x$ac_cv_func_logf" = x""yes; then :
73620 cat >>confdefs.h <<_ACEOF
73621 #define HAVE_LOGF 1
73622 _ACEOF
73625 done
73627 else
73629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73630 $as_echo_n "checking for _logf declaration... " >&6; }
73631 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73632 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73633 $as_echo_n "(cached) " >&6
73634 else
73637 ac_ext=cpp
73638 ac_cpp='$CXXCPP $CPPFLAGS'
73639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73644 /* end confdefs.h. */
73645 #include <math.h>
73646 #ifdef HAVE_IEEEFP_H
73647 #include <ieeefp.h>
73648 #endif
73651 main ()
73653 _logf(0);
73655 return 0;
73657 _ACEOF
73658 if ac_fn_cxx_try_compile "$LINENO"; then :
73659 glibcxx_cv_func__logf_use=yes
73660 else
73661 glibcxx_cv_func__logf_use=no
73663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73664 ac_ext=c
73665 ac_cpp='$CPP $CPPFLAGS'
73666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73675 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73677 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73678 for ac_func in _logf
73679 do :
73680 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73681 if test "x$ac_cv_func__logf" = x""yes; then :
73682 cat >>confdefs.h <<_ACEOF
73683 #define HAVE__LOGF 1
73684 _ACEOF
73687 done
73696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73697 $as_echo_n "checking for log10f declaration... " >&6; }
73698 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73699 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73700 $as_echo_n "(cached) " >&6
73701 else
73704 ac_ext=cpp
73705 ac_cpp='$CXXCPP $CPPFLAGS'
73706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73711 /* end confdefs.h. */
73712 #include <math.h>
73713 #ifdef HAVE_IEEEFP_H
73714 #include <ieeefp.h>
73715 #endif
73718 main ()
73720 log10f(0);
73722 return 0;
73724 _ACEOF
73725 if ac_fn_cxx_try_compile "$LINENO"; then :
73726 glibcxx_cv_func_log10f_use=yes
73727 else
73728 glibcxx_cv_func_log10f_use=no
73730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73731 ac_ext=c
73732 ac_cpp='$CPP $CPPFLAGS'
73733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73742 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73744 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73745 for ac_func in log10f
73746 do :
73747 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73748 if test "x$ac_cv_func_log10f" = x""yes; then :
73749 cat >>confdefs.h <<_ACEOF
73750 #define HAVE_LOG10F 1
73751 _ACEOF
73754 done
73756 else
73758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73759 $as_echo_n "checking for _log10f declaration... " >&6; }
73760 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73761 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73762 $as_echo_n "(cached) " >&6
73763 else
73766 ac_ext=cpp
73767 ac_cpp='$CXXCPP $CPPFLAGS'
73768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73773 /* end confdefs.h. */
73774 #include <math.h>
73775 #ifdef HAVE_IEEEFP_H
73776 #include <ieeefp.h>
73777 #endif
73780 main ()
73782 _log10f(0);
73784 return 0;
73786 _ACEOF
73787 if ac_fn_cxx_try_compile "$LINENO"; then :
73788 glibcxx_cv_func__log10f_use=yes
73789 else
73790 glibcxx_cv_func__log10f_use=no
73792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73793 ac_ext=c
73794 ac_cpp='$CPP $CPPFLAGS'
73795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73804 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73806 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73807 for ac_func in _log10f
73808 do :
73809 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73810 if test "x$ac_cv_func__log10f" = x""yes; then :
73811 cat >>confdefs.h <<_ACEOF
73812 #define HAVE__LOG10F 1
73813 _ACEOF
73816 done
73825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73826 $as_echo_n "checking for modff declaration... " >&6; }
73827 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73828 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73829 $as_echo_n "(cached) " >&6
73830 else
73833 ac_ext=cpp
73834 ac_cpp='$CXXCPP $CPPFLAGS'
73835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73840 /* end confdefs.h. */
73841 #include <math.h>
73843 main ()
73845 modff(0, 0);
73847 return 0;
73849 _ACEOF
73850 if ac_fn_cxx_try_compile "$LINENO"; then :
73851 glibcxx_cv_func_modff_use=yes
73852 else
73853 glibcxx_cv_func_modff_use=no
73855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73856 ac_ext=c
73857 ac_cpp='$CPP $CPPFLAGS'
73858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73867 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73869 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73870 for ac_func in modff
73871 do :
73872 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73873 if test "x$ac_cv_func_modff" = x""yes; then :
73874 cat >>confdefs.h <<_ACEOF
73875 #define HAVE_MODFF 1
73876 _ACEOF
73879 done
73881 else
73883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73884 $as_echo_n "checking for _modff declaration... " >&6; }
73885 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73886 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73887 $as_echo_n "(cached) " >&6
73888 else
73891 ac_ext=cpp
73892 ac_cpp='$CXXCPP $CPPFLAGS'
73893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73898 /* end confdefs.h. */
73899 #include <math.h>
73901 main ()
73903 _modff(0, 0);
73905 return 0;
73907 _ACEOF
73908 if ac_fn_cxx_try_compile "$LINENO"; then :
73909 glibcxx_cv_func__modff_use=yes
73910 else
73911 glibcxx_cv_func__modff_use=no
73913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73914 ac_ext=c
73915 ac_cpp='$CPP $CPPFLAGS'
73916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73925 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73927 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73928 for ac_func in _modff
73929 do :
73930 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73931 if test "x$ac_cv_func__modff" = x""yes; then :
73932 cat >>confdefs.h <<_ACEOF
73933 #define HAVE__MODFF 1
73934 _ACEOF
73937 done
73946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73947 $as_echo_n "checking for modf declaration... " >&6; }
73948 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73949 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73950 $as_echo_n "(cached) " >&6
73951 else
73954 ac_ext=cpp
73955 ac_cpp='$CXXCPP $CPPFLAGS'
73956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73961 /* end confdefs.h. */
73962 #include <math.h>
73964 main ()
73966 modf(0, 0);
73968 return 0;
73970 _ACEOF
73971 if ac_fn_cxx_try_compile "$LINENO"; then :
73972 glibcxx_cv_func_modf_use=yes
73973 else
73974 glibcxx_cv_func_modf_use=no
73976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73977 ac_ext=c
73978 ac_cpp='$CPP $CPPFLAGS'
73979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73988 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73990 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73991 for ac_func in modf
73992 do :
73993 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
73994 if test "x$ac_cv_func_modf" = x""yes; then :
73995 cat >>confdefs.h <<_ACEOF
73996 #define HAVE_MODF 1
73997 _ACEOF
74000 done
74002 else
74004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74005 $as_echo_n "checking for _modf declaration... " >&6; }
74006 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74007 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74008 $as_echo_n "(cached) " >&6
74009 else
74012 ac_ext=cpp
74013 ac_cpp='$CXXCPP $CPPFLAGS'
74014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74019 /* end confdefs.h. */
74020 #include <math.h>
74022 main ()
74024 _modf(0, 0);
74026 return 0;
74028 _ACEOF
74029 if ac_fn_cxx_try_compile "$LINENO"; then :
74030 glibcxx_cv_func__modf_use=yes
74031 else
74032 glibcxx_cv_func__modf_use=no
74034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74035 ac_ext=c
74036 ac_cpp='$CPP $CPPFLAGS'
74037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74046 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74048 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74049 for ac_func in _modf
74050 do :
74051 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74052 if test "x$ac_cv_func__modf" = x""yes; then :
74053 cat >>confdefs.h <<_ACEOF
74054 #define HAVE__MODF 1
74055 _ACEOF
74058 done
74067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74068 $as_echo_n "checking for powf declaration... " >&6; }
74069 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74070 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74071 $as_echo_n "(cached) " >&6
74072 else
74075 ac_ext=cpp
74076 ac_cpp='$CXXCPP $CPPFLAGS'
74077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74082 /* end confdefs.h. */
74083 #include <math.h>
74085 main ()
74087 powf(0, 0);
74089 return 0;
74091 _ACEOF
74092 if ac_fn_cxx_try_compile "$LINENO"; then :
74093 glibcxx_cv_func_powf_use=yes
74094 else
74095 glibcxx_cv_func_powf_use=no
74097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74098 ac_ext=c
74099 ac_cpp='$CPP $CPPFLAGS'
74100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74109 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74111 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74112 for ac_func in powf
74113 do :
74114 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74115 if test "x$ac_cv_func_powf" = x""yes; then :
74116 cat >>confdefs.h <<_ACEOF
74117 #define HAVE_POWF 1
74118 _ACEOF
74121 done
74123 else
74125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74126 $as_echo_n "checking for _powf declaration... " >&6; }
74127 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74128 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74129 $as_echo_n "(cached) " >&6
74130 else
74133 ac_ext=cpp
74134 ac_cpp='$CXXCPP $CPPFLAGS'
74135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74140 /* end confdefs.h. */
74141 #include <math.h>
74143 main ()
74145 _powf(0, 0);
74147 return 0;
74149 _ACEOF
74150 if ac_fn_cxx_try_compile "$LINENO"; then :
74151 glibcxx_cv_func__powf_use=yes
74152 else
74153 glibcxx_cv_func__powf_use=no
74155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74156 ac_ext=c
74157 ac_cpp='$CPP $CPPFLAGS'
74158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74167 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74169 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74170 for ac_func in _powf
74171 do :
74172 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74173 if test "x$ac_cv_func__powf" = x""yes; then :
74174 cat >>confdefs.h <<_ACEOF
74175 #define HAVE__POWF 1
74176 _ACEOF
74179 done
74188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74189 $as_echo_n "checking for sqrtf declaration... " >&6; }
74190 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74191 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74192 $as_echo_n "(cached) " >&6
74193 else
74196 ac_ext=cpp
74197 ac_cpp='$CXXCPP $CPPFLAGS'
74198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74203 /* end confdefs.h. */
74204 #include <math.h>
74205 #ifdef HAVE_IEEEFP_H
74206 #include <ieeefp.h>
74207 #endif
74210 main ()
74212 sqrtf(0);
74214 return 0;
74216 _ACEOF
74217 if ac_fn_cxx_try_compile "$LINENO"; then :
74218 glibcxx_cv_func_sqrtf_use=yes
74219 else
74220 glibcxx_cv_func_sqrtf_use=no
74222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74223 ac_ext=c
74224 ac_cpp='$CPP $CPPFLAGS'
74225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74234 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74236 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74237 for ac_func in sqrtf
74238 do :
74239 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74240 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74241 cat >>confdefs.h <<_ACEOF
74242 #define HAVE_SQRTF 1
74243 _ACEOF
74246 done
74248 else
74250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74251 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74252 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74253 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74254 $as_echo_n "(cached) " >&6
74255 else
74258 ac_ext=cpp
74259 ac_cpp='$CXXCPP $CPPFLAGS'
74260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74265 /* end confdefs.h. */
74266 #include <math.h>
74267 #ifdef HAVE_IEEEFP_H
74268 #include <ieeefp.h>
74269 #endif
74272 main ()
74274 _sqrtf(0);
74276 return 0;
74278 _ACEOF
74279 if ac_fn_cxx_try_compile "$LINENO"; then :
74280 glibcxx_cv_func__sqrtf_use=yes
74281 else
74282 glibcxx_cv_func__sqrtf_use=no
74284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74285 ac_ext=c
74286 ac_cpp='$CPP $CPPFLAGS'
74287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74296 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74298 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74299 for ac_func in _sqrtf
74300 do :
74301 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74302 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74303 cat >>confdefs.h <<_ACEOF
74304 #define HAVE__SQRTF 1
74305 _ACEOF
74308 done
74317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74318 $as_echo_n "checking for sincosf declaration... " >&6; }
74319 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74320 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74321 $as_echo_n "(cached) " >&6
74322 else
74325 ac_ext=cpp
74326 ac_cpp='$CXXCPP $CPPFLAGS'
74327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74332 /* end confdefs.h. */
74333 #include <math.h>
74335 main ()
74337 sincosf(0, 0, 0);
74339 return 0;
74341 _ACEOF
74342 if ac_fn_cxx_try_compile "$LINENO"; then :
74343 glibcxx_cv_func_sincosf_use=yes
74344 else
74345 glibcxx_cv_func_sincosf_use=no
74347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74348 ac_ext=c
74349 ac_cpp='$CPP $CPPFLAGS'
74350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74359 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74361 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74362 for ac_func in sincosf
74363 do :
74364 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74365 if test "x$ac_cv_func_sincosf" = x""yes; then :
74366 cat >>confdefs.h <<_ACEOF
74367 #define HAVE_SINCOSF 1
74368 _ACEOF
74371 done
74373 else
74375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74376 $as_echo_n "checking for _sincosf declaration... " >&6; }
74377 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74378 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74379 $as_echo_n "(cached) " >&6
74380 else
74383 ac_ext=cpp
74384 ac_cpp='$CXXCPP $CPPFLAGS'
74385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74390 /* end confdefs.h. */
74391 #include <math.h>
74393 main ()
74395 _sincosf(0, 0, 0);
74397 return 0;
74399 _ACEOF
74400 if ac_fn_cxx_try_compile "$LINENO"; then :
74401 glibcxx_cv_func__sincosf_use=yes
74402 else
74403 glibcxx_cv_func__sincosf_use=no
74405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74406 ac_ext=c
74407 ac_cpp='$CPP $CPPFLAGS'
74408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74417 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74419 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74420 for ac_func in _sincosf
74421 do :
74422 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74423 if test "x$ac_cv_func__sincosf" = x""yes; then :
74424 cat >>confdefs.h <<_ACEOF
74425 #define HAVE__SINCOSF 1
74426 _ACEOF
74429 done
74438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74439 $as_echo_n "checking for finitef declaration... " >&6; }
74440 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74441 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74442 $as_echo_n "(cached) " >&6
74443 else
74446 ac_ext=cpp
74447 ac_cpp='$CXXCPP $CPPFLAGS'
74448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74453 /* end confdefs.h. */
74454 #include <math.h>
74455 #ifdef HAVE_IEEEFP_H
74456 #include <ieeefp.h>
74457 #endif
74460 main ()
74462 finitef(0);
74464 return 0;
74466 _ACEOF
74467 if ac_fn_cxx_try_compile "$LINENO"; then :
74468 glibcxx_cv_func_finitef_use=yes
74469 else
74470 glibcxx_cv_func_finitef_use=no
74472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74473 ac_ext=c
74474 ac_cpp='$CPP $CPPFLAGS'
74475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74484 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74486 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74487 for ac_func in finitef
74488 do :
74489 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74490 if test "x$ac_cv_func_finitef" = x""yes; then :
74491 cat >>confdefs.h <<_ACEOF
74492 #define HAVE_FINITEF 1
74493 _ACEOF
74496 done
74498 else
74500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74501 $as_echo_n "checking for _finitef declaration... " >&6; }
74502 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74503 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74504 $as_echo_n "(cached) " >&6
74505 else
74508 ac_ext=cpp
74509 ac_cpp='$CXXCPP $CPPFLAGS'
74510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74515 /* end confdefs.h. */
74516 #include <math.h>
74517 #ifdef HAVE_IEEEFP_H
74518 #include <ieeefp.h>
74519 #endif
74522 main ()
74524 _finitef(0);
74526 return 0;
74528 _ACEOF
74529 if ac_fn_cxx_try_compile "$LINENO"; then :
74530 glibcxx_cv_func__finitef_use=yes
74531 else
74532 glibcxx_cv_func__finitef_use=no
74534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74535 ac_ext=c
74536 ac_cpp='$CPP $CPPFLAGS'
74537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74546 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74548 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74549 for ac_func in _finitef
74550 do :
74551 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74552 if test "x$ac_cv_func__finitef" = x""yes; then :
74553 cat >>confdefs.h <<_ACEOF
74554 #define HAVE__FINITEF 1
74555 _ACEOF
74558 done
74567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74568 $as_echo_n "checking for long double trig functions... " >&6; }
74569 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74570 $as_echo_n "(cached) " >&6
74571 else
74574 ac_ext=cpp
74575 ac_cpp='$CXXCPP $CPPFLAGS'
74576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74581 /* end confdefs.h. */
74582 #include <math.h>
74584 main ()
74586 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74588 return 0;
74590 _ACEOF
74591 if ac_fn_cxx_try_compile "$LINENO"; then :
74592 glibcxx_cv_func_long_double_trig_use=yes
74593 else
74594 glibcxx_cv_func_long_double_trig_use=no
74596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74597 ac_ext=c
74598 ac_cpp='$CPP $CPPFLAGS'
74599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74606 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74607 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74608 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74609 do :
74610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74612 eval as_val=\$$as_ac_var
74613 if test "x$as_val" = x""yes; then :
74614 cat >>confdefs.h <<_ACEOF
74615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74616 _ACEOF
74619 done
74621 else
74622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74623 $as_echo_n "checking for _long double trig functions... " >&6; }
74624 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74625 $as_echo_n "(cached) " >&6
74626 else
74629 ac_ext=cpp
74630 ac_cpp='$CXXCPP $CPPFLAGS'
74631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74636 /* end confdefs.h. */
74637 #include <math.h>
74639 main ()
74641 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74643 return 0;
74645 _ACEOF
74646 if ac_fn_cxx_try_compile "$LINENO"; then :
74647 glibcxx_cv_func__long_double_trig_use=yes
74648 else
74649 glibcxx_cv_func__long_double_trig_use=no
74651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74652 ac_ext=c
74653 ac_cpp='$CPP $CPPFLAGS'
74654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74661 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74662 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74663 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74664 do :
74665 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74666 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74667 eval as_val=\$$as_ac_var
74668 if test "x$as_val" = x""yes; then :
74669 cat >>confdefs.h <<_ACEOF
74670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74671 _ACEOF
74674 done
74683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74684 $as_echo_n "checking for long double round functions... " >&6; }
74685 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74686 $as_echo_n "(cached) " >&6
74687 else
74690 ac_ext=cpp
74691 ac_cpp='$CXXCPP $CPPFLAGS'
74692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74697 /* end confdefs.h. */
74698 #include <math.h>
74700 main ()
74702 ceill (0); floorl (0);
74704 return 0;
74706 _ACEOF
74707 if ac_fn_cxx_try_compile "$LINENO"; then :
74708 glibcxx_cv_func_long_double_round_use=yes
74709 else
74710 glibcxx_cv_func_long_double_round_use=no
74712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74713 ac_ext=c
74714 ac_cpp='$CPP $CPPFLAGS'
74715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74722 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74723 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74724 for ac_func in ceill floorl
74725 do :
74726 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74728 eval as_val=\$$as_ac_var
74729 if test "x$as_val" = x""yes; then :
74730 cat >>confdefs.h <<_ACEOF
74731 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74732 _ACEOF
74735 done
74737 else
74738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74739 $as_echo_n "checking for _long double round functions... " >&6; }
74740 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74741 $as_echo_n "(cached) " >&6
74742 else
74745 ac_ext=cpp
74746 ac_cpp='$CXXCPP $CPPFLAGS'
74747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74752 /* end confdefs.h. */
74753 #include <math.h>
74755 main ()
74757 _ceill (0); _floorl (0);
74759 return 0;
74761 _ACEOF
74762 if ac_fn_cxx_try_compile "$LINENO"; then :
74763 glibcxx_cv_func__long_double_round_use=yes
74764 else
74765 glibcxx_cv_func__long_double_round_use=no
74767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74768 ac_ext=c
74769 ac_cpp='$CPP $CPPFLAGS'
74770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74777 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74778 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74779 for ac_func in _ceill _floorl
74780 do :
74781 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74783 eval as_val=\$$as_ac_var
74784 if test "x$as_val" = x""yes; then :
74785 cat >>confdefs.h <<_ACEOF
74786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74787 _ACEOF
74790 done
74800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74801 $as_echo_n "checking for isnanl declaration... " >&6; }
74802 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74803 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74804 $as_echo_n "(cached) " >&6
74805 else
74808 ac_ext=cpp
74809 ac_cpp='$CXXCPP $CPPFLAGS'
74810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74815 /* end confdefs.h. */
74816 #include <math.h>
74817 #ifdef HAVE_IEEEFP_H
74818 #include <ieeefp.h>
74819 #endif
74822 main ()
74824 isnanl(0);
74826 return 0;
74828 _ACEOF
74829 if ac_fn_cxx_try_compile "$LINENO"; then :
74830 glibcxx_cv_func_isnanl_use=yes
74831 else
74832 glibcxx_cv_func_isnanl_use=no
74834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74835 ac_ext=c
74836 ac_cpp='$CPP $CPPFLAGS'
74837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74846 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74848 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74849 for ac_func in isnanl
74850 do :
74851 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74852 if test "x$ac_cv_func_isnanl" = x""yes; then :
74853 cat >>confdefs.h <<_ACEOF
74854 #define HAVE_ISNANL 1
74855 _ACEOF
74858 done
74860 else
74862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74863 $as_echo_n "checking for _isnanl declaration... " >&6; }
74864 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74865 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74866 $as_echo_n "(cached) " >&6
74867 else
74870 ac_ext=cpp
74871 ac_cpp='$CXXCPP $CPPFLAGS'
74872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74877 /* end confdefs.h. */
74878 #include <math.h>
74879 #ifdef HAVE_IEEEFP_H
74880 #include <ieeefp.h>
74881 #endif
74884 main ()
74886 _isnanl(0);
74888 return 0;
74890 _ACEOF
74891 if ac_fn_cxx_try_compile "$LINENO"; then :
74892 glibcxx_cv_func__isnanl_use=yes
74893 else
74894 glibcxx_cv_func__isnanl_use=no
74896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74897 ac_ext=c
74898 ac_cpp='$CPP $CPPFLAGS'
74899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74908 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74910 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74911 for ac_func in _isnanl
74912 do :
74913 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74914 if test "x$ac_cv_func__isnanl" = x""yes; then :
74915 cat >>confdefs.h <<_ACEOF
74916 #define HAVE__ISNANL 1
74917 _ACEOF
74920 done
74929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74930 $as_echo_n "checking for isinfl declaration... " >&6; }
74931 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74932 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74933 $as_echo_n "(cached) " >&6
74934 else
74937 ac_ext=cpp
74938 ac_cpp='$CXXCPP $CPPFLAGS'
74939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74944 /* end confdefs.h. */
74945 #include <math.h>
74946 #ifdef HAVE_IEEEFP_H
74947 #include <ieeefp.h>
74948 #endif
74951 main ()
74953 isinfl(0);
74955 return 0;
74957 _ACEOF
74958 if ac_fn_cxx_try_compile "$LINENO"; then :
74959 glibcxx_cv_func_isinfl_use=yes
74960 else
74961 glibcxx_cv_func_isinfl_use=no
74963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74964 ac_ext=c
74965 ac_cpp='$CPP $CPPFLAGS'
74966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74975 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74977 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74978 for ac_func in isinfl
74979 do :
74980 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74981 if test "x$ac_cv_func_isinfl" = x""yes; then :
74982 cat >>confdefs.h <<_ACEOF
74983 #define HAVE_ISINFL 1
74984 _ACEOF
74987 done
74989 else
74991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74992 $as_echo_n "checking for _isinfl declaration... " >&6; }
74993 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74994 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
74995 $as_echo_n "(cached) " >&6
74996 else
74999 ac_ext=cpp
75000 ac_cpp='$CXXCPP $CPPFLAGS'
75001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75006 /* end confdefs.h. */
75007 #include <math.h>
75008 #ifdef HAVE_IEEEFP_H
75009 #include <ieeefp.h>
75010 #endif
75013 main ()
75015 _isinfl(0);
75017 return 0;
75019 _ACEOF
75020 if ac_fn_cxx_try_compile "$LINENO"; then :
75021 glibcxx_cv_func__isinfl_use=yes
75022 else
75023 glibcxx_cv_func__isinfl_use=no
75025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75026 ac_ext=c
75027 ac_cpp='$CPP $CPPFLAGS'
75028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75037 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75039 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75040 for ac_func in _isinfl
75041 do :
75042 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75043 if test "x$ac_cv_func__isinfl" = x""yes; then :
75044 cat >>confdefs.h <<_ACEOF
75045 #define HAVE__ISINFL 1
75046 _ACEOF
75049 done
75058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75059 $as_echo_n "checking for atan2l declaration... " >&6; }
75060 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75061 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75062 $as_echo_n "(cached) " >&6
75063 else
75066 ac_ext=cpp
75067 ac_cpp='$CXXCPP $CPPFLAGS'
75068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75073 /* end confdefs.h. */
75074 #include <math.h>
75076 main ()
75078 atan2l(0, 0);
75080 return 0;
75082 _ACEOF
75083 if ac_fn_cxx_try_compile "$LINENO"; then :
75084 glibcxx_cv_func_atan2l_use=yes
75085 else
75086 glibcxx_cv_func_atan2l_use=no
75088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75089 ac_ext=c
75090 ac_cpp='$CPP $CPPFLAGS'
75091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75100 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75102 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75103 for ac_func in atan2l
75104 do :
75105 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75106 if test "x$ac_cv_func_atan2l" = x""yes; then :
75107 cat >>confdefs.h <<_ACEOF
75108 #define HAVE_ATAN2L 1
75109 _ACEOF
75112 done
75114 else
75116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75117 $as_echo_n "checking for _atan2l declaration... " >&6; }
75118 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75119 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75120 $as_echo_n "(cached) " >&6
75121 else
75124 ac_ext=cpp
75125 ac_cpp='$CXXCPP $CPPFLAGS'
75126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75131 /* end confdefs.h. */
75132 #include <math.h>
75134 main ()
75136 _atan2l(0, 0);
75138 return 0;
75140 _ACEOF
75141 if ac_fn_cxx_try_compile "$LINENO"; then :
75142 glibcxx_cv_func__atan2l_use=yes
75143 else
75144 glibcxx_cv_func__atan2l_use=no
75146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75147 ac_ext=c
75148 ac_cpp='$CPP $CPPFLAGS'
75149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75158 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75160 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75161 for ac_func in _atan2l
75162 do :
75163 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75164 if test "x$ac_cv_func__atan2l" = x""yes; then :
75165 cat >>confdefs.h <<_ACEOF
75166 #define HAVE__ATAN2L 1
75167 _ACEOF
75170 done
75179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75180 $as_echo_n "checking for expl declaration... " >&6; }
75181 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75182 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75183 $as_echo_n "(cached) " >&6
75184 else
75187 ac_ext=cpp
75188 ac_cpp='$CXXCPP $CPPFLAGS'
75189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75194 /* end confdefs.h. */
75195 #include <math.h>
75196 #ifdef HAVE_IEEEFP_H
75197 #include <ieeefp.h>
75198 #endif
75201 main ()
75203 expl(0);
75205 return 0;
75207 _ACEOF
75208 if ac_fn_cxx_try_compile "$LINENO"; then :
75209 glibcxx_cv_func_expl_use=yes
75210 else
75211 glibcxx_cv_func_expl_use=no
75213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75214 ac_ext=c
75215 ac_cpp='$CPP $CPPFLAGS'
75216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75225 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75227 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75228 for ac_func in expl
75229 do :
75230 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75231 if test "x$ac_cv_func_expl" = x""yes; then :
75232 cat >>confdefs.h <<_ACEOF
75233 #define HAVE_EXPL 1
75234 _ACEOF
75237 done
75239 else
75241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75242 $as_echo_n "checking for _expl declaration... " >&6; }
75243 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75244 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75245 $as_echo_n "(cached) " >&6
75246 else
75249 ac_ext=cpp
75250 ac_cpp='$CXXCPP $CPPFLAGS'
75251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75256 /* end confdefs.h. */
75257 #include <math.h>
75258 #ifdef HAVE_IEEEFP_H
75259 #include <ieeefp.h>
75260 #endif
75263 main ()
75265 _expl(0);
75267 return 0;
75269 _ACEOF
75270 if ac_fn_cxx_try_compile "$LINENO"; then :
75271 glibcxx_cv_func__expl_use=yes
75272 else
75273 glibcxx_cv_func__expl_use=no
75275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75276 ac_ext=c
75277 ac_cpp='$CPP $CPPFLAGS'
75278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75287 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75289 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75290 for ac_func in _expl
75291 do :
75292 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75293 if test "x$ac_cv_func__expl" = x""yes; then :
75294 cat >>confdefs.h <<_ACEOF
75295 #define HAVE__EXPL 1
75296 _ACEOF
75299 done
75308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75309 $as_echo_n "checking for fabsl declaration... " >&6; }
75310 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75311 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75312 $as_echo_n "(cached) " >&6
75313 else
75316 ac_ext=cpp
75317 ac_cpp='$CXXCPP $CPPFLAGS'
75318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75323 /* end confdefs.h. */
75324 #include <math.h>
75325 #ifdef HAVE_IEEEFP_H
75326 #include <ieeefp.h>
75327 #endif
75330 main ()
75332 fabsl(0);
75334 return 0;
75336 _ACEOF
75337 if ac_fn_cxx_try_compile "$LINENO"; then :
75338 glibcxx_cv_func_fabsl_use=yes
75339 else
75340 glibcxx_cv_func_fabsl_use=no
75342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75343 ac_ext=c
75344 ac_cpp='$CPP $CPPFLAGS'
75345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75354 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75356 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75357 for ac_func in fabsl
75358 do :
75359 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75360 if test "x$ac_cv_func_fabsl" = x""yes; then :
75361 cat >>confdefs.h <<_ACEOF
75362 #define HAVE_FABSL 1
75363 _ACEOF
75366 done
75368 else
75370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75371 $as_echo_n "checking for _fabsl declaration... " >&6; }
75372 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75373 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75374 $as_echo_n "(cached) " >&6
75375 else
75378 ac_ext=cpp
75379 ac_cpp='$CXXCPP $CPPFLAGS'
75380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75385 /* end confdefs.h. */
75386 #include <math.h>
75387 #ifdef HAVE_IEEEFP_H
75388 #include <ieeefp.h>
75389 #endif
75392 main ()
75394 _fabsl(0);
75396 return 0;
75398 _ACEOF
75399 if ac_fn_cxx_try_compile "$LINENO"; then :
75400 glibcxx_cv_func__fabsl_use=yes
75401 else
75402 glibcxx_cv_func__fabsl_use=no
75404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75405 ac_ext=c
75406 ac_cpp='$CPP $CPPFLAGS'
75407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75416 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75418 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75419 for ac_func in _fabsl
75420 do :
75421 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75422 if test "x$ac_cv_func__fabsl" = x""yes; then :
75423 cat >>confdefs.h <<_ACEOF
75424 #define HAVE__FABSL 1
75425 _ACEOF
75428 done
75437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75438 $as_echo_n "checking for fmodl declaration... " >&6; }
75439 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75440 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75441 $as_echo_n "(cached) " >&6
75442 else
75445 ac_ext=cpp
75446 ac_cpp='$CXXCPP $CPPFLAGS'
75447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75452 /* end confdefs.h. */
75453 #include <math.h>
75455 main ()
75457 fmodl(0, 0);
75459 return 0;
75461 _ACEOF
75462 if ac_fn_cxx_try_compile "$LINENO"; then :
75463 glibcxx_cv_func_fmodl_use=yes
75464 else
75465 glibcxx_cv_func_fmodl_use=no
75467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75468 ac_ext=c
75469 ac_cpp='$CPP $CPPFLAGS'
75470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75479 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75481 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75482 for ac_func in fmodl
75483 do :
75484 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75485 if test "x$ac_cv_func_fmodl" = x""yes; then :
75486 cat >>confdefs.h <<_ACEOF
75487 #define HAVE_FMODL 1
75488 _ACEOF
75491 done
75493 else
75495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75496 $as_echo_n "checking for _fmodl declaration... " >&6; }
75497 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75498 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75499 $as_echo_n "(cached) " >&6
75500 else
75503 ac_ext=cpp
75504 ac_cpp='$CXXCPP $CPPFLAGS'
75505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75510 /* end confdefs.h. */
75511 #include <math.h>
75513 main ()
75515 _fmodl(0, 0);
75517 return 0;
75519 _ACEOF
75520 if ac_fn_cxx_try_compile "$LINENO"; then :
75521 glibcxx_cv_func__fmodl_use=yes
75522 else
75523 glibcxx_cv_func__fmodl_use=no
75525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75526 ac_ext=c
75527 ac_cpp='$CPP $CPPFLAGS'
75528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75537 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75539 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75540 for ac_func in _fmodl
75541 do :
75542 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75543 if test "x$ac_cv_func__fmodl" = x""yes; then :
75544 cat >>confdefs.h <<_ACEOF
75545 #define HAVE__FMODL 1
75546 _ACEOF
75549 done
75558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75559 $as_echo_n "checking for frexpl declaration... " >&6; }
75560 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75561 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75562 $as_echo_n "(cached) " >&6
75563 else
75566 ac_ext=cpp
75567 ac_cpp='$CXXCPP $CPPFLAGS'
75568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75573 /* end confdefs.h. */
75574 #include <math.h>
75576 main ()
75578 frexpl(0, 0);
75580 return 0;
75582 _ACEOF
75583 if ac_fn_cxx_try_compile "$LINENO"; then :
75584 glibcxx_cv_func_frexpl_use=yes
75585 else
75586 glibcxx_cv_func_frexpl_use=no
75588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75589 ac_ext=c
75590 ac_cpp='$CPP $CPPFLAGS'
75591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75600 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75602 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75603 for ac_func in frexpl
75604 do :
75605 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75606 if test "x$ac_cv_func_frexpl" = x""yes; then :
75607 cat >>confdefs.h <<_ACEOF
75608 #define HAVE_FREXPL 1
75609 _ACEOF
75612 done
75614 else
75616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75617 $as_echo_n "checking for _frexpl declaration... " >&6; }
75618 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75619 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75620 $as_echo_n "(cached) " >&6
75621 else
75624 ac_ext=cpp
75625 ac_cpp='$CXXCPP $CPPFLAGS'
75626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75631 /* end confdefs.h. */
75632 #include <math.h>
75634 main ()
75636 _frexpl(0, 0);
75638 return 0;
75640 _ACEOF
75641 if ac_fn_cxx_try_compile "$LINENO"; then :
75642 glibcxx_cv_func__frexpl_use=yes
75643 else
75644 glibcxx_cv_func__frexpl_use=no
75646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75647 ac_ext=c
75648 ac_cpp='$CPP $CPPFLAGS'
75649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75658 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75660 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75661 for ac_func in _frexpl
75662 do :
75663 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75664 if test "x$ac_cv_func__frexpl" = x""yes; then :
75665 cat >>confdefs.h <<_ACEOF
75666 #define HAVE__FREXPL 1
75667 _ACEOF
75670 done
75679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75680 $as_echo_n "checking for hypotl declaration... " >&6; }
75681 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75682 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75683 $as_echo_n "(cached) " >&6
75684 else
75687 ac_ext=cpp
75688 ac_cpp='$CXXCPP $CPPFLAGS'
75689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75694 /* end confdefs.h. */
75695 #include <math.h>
75697 main ()
75699 hypotl(0, 0);
75701 return 0;
75703 _ACEOF
75704 if ac_fn_cxx_try_compile "$LINENO"; then :
75705 glibcxx_cv_func_hypotl_use=yes
75706 else
75707 glibcxx_cv_func_hypotl_use=no
75709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75710 ac_ext=c
75711 ac_cpp='$CPP $CPPFLAGS'
75712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75721 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75723 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75724 for ac_func in hypotl
75725 do :
75726 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75727 if test "x$ac_cv_func_hypotl" = x""yes; then :
75728 cat >>confdefs.h <<_ACEOF
75729 #define HAVE_HYPOTL 1
75730 _ACEOF
75733 done
75735 else
75737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75738 $as_echo_n "checking for _hypotl declaration... " >&6; }
75739 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75740 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75741 $as_echo_n "(cached) " >&6
75742 else
75745 ac_ext=cpp
75746 ac_cpp='$CXXCPP $CPPFLAGS'
75747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75752 /* end confdefs.h. */
75753 #include <math.h>
75755 main ()
75757 _hypotl(0, 0);
75759 return 0;
75761 _ACEOF
75762 if ac_fn_cxx_try_compile "$LINENO"; then :
75763 glibcxx_cv_func__hypotl_use=yes
75764 else
75765 glibcxx_cv_func__hypotl_use=no
75767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75768 ac_ext=c
75769 ac_cpp='$CPP $CPPFLAGS'
75770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75779 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75781 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75782 for ac_func in _hypotl
75783 do :
75784 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75785 if test "x$ac_cv_func__hypotl" = x""yes; then :
75786 cat >>confdefs.h <<_ACEOF
75787 #define HAVE__HYPOTL 1
75788 _ACEOF
75791 done
75800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75801 $as_echo_n "checking for ldexpl declaration... " >&6; }
75802 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75803 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75804 $as_echo_n "(cached) " >&6
75805 else
75808 ac_ext=cpp
75809 ac_cpp='$CXXCPP $CPPFLAGS'
75810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75815 /* end confdefs.h. */
75816 #include <math.h>
75818 main ()
75820 ldexpl(0, 0);
75822 return 0;
75824 _ACEOF
75825 if ac_fn_cxx_try_compile "$LINENO"; then :
75826 glibcxx_cv_func_ldexpl_use=yes
75827 else
75828 glibcxx_cv_func_ldexpl_use=no
75830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75831 ac_ext=c
75832 ac_cpp='$CPP $CPPFLAGS'
75833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75842 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75844 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75845 for ac_func in ldexpl
75846 do :
75847 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75848 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75849 cat >>confdefs.h <<_ACEOF
75850 #define HAVE_LDEXPL 1
75851 _ACEOF
75854 done
75856 else
75858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75859 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75860 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75861 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75862 $as_echo_n "(cached) " >&6
75863 else
75866 ac_ext=cpp
75867 ac_cpp='$CXXCPP $CPPFLAGS'
75868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75873 /* end confdefs.h. */
75874 #include <math.h>
75876 main ()
75878 _ldexpl(0, 0);
75880 return 0;
75882 _ACEOF
75883 if ac_fn_cxx_try_compile "$LINENO"; then :
75884 glibcxx_cv_func__ldexpl_use=yes
75885 else
75886 glibcxx_cv_func__ldexpl_use=no
75888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75889 ac_ext=c
75890 ac_cpp='$CPP $CPPFLAGS'
75891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75900 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75902 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75903 for ac_func in _ldexpl
75904 do :
75905 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75906 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75907 cat >>confdefs.h <<_ACEOF
75908 #define HAVE__LDEXPL 1
75909 _ACEOF
75912 done
75921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75922 $as_echo_n "checking for logl declaration... " >&6; }
75923 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75924 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75925 $as_echo_n "(cached) " >&6
75926 else
75929 ac_ext=cpp
75930 ac_cpp='$CXXCPP $CPPFLAGS'
75931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75936 /* end confdefs.h. */
75937 #include <math.h>
75938 #ifdef HAVE_IEEEFP_H
75939 #include <ieeefp.h>
75940 #endif
75943 main ()
75945 logl(0);
75947 return 0;
75949 _ACEOF
75950 if ac_fn_cxx_try_compile "$LINENO"; then :
75951 glibcxx_cv_func_logl_use=yes
75952 else
75953 glibcxx_cv_func_logl_use=no
75955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75956 ac_ext=c
75957 ac_cpp='$CPP $CPPFLAGS'
75958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75967 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75969 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75970 for ac_func in logl
75971 do :
75972 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75973 if test "x$ac_cv_func_logl" = x""yes; then :
75974 cat >>confdefs.h <<_ACEOF
75975 #define HAVE_LOGL 1
75976 _ACEOF
75979 done
75981 else
75983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75984 $as_echo_n "checking for _logl declaration... " >&6; }
75985 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75986 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75987 $as_echo_n "(cached) " >&6
75988 else
75991 ac_ext=cpp
75992 ac_cpp='$CXXCPP $CPPFLAGS'
75993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75998 /* end confdefs.h. */
75999 #include <math.h>
76000 #ifdef HAVE_IEEEFP_H
76001 #include <ieeefp.h>
76002 #endif
76005 main ()
76007 _logl(0);
76009 return 0;
76011 _ACEOF
76012 if ac_fn_cxx_try_compile "$LINENO"; then :
76013 glibcxx_cv_func__logl_use=yes
76014 else
76015 glibcxx_cv_func__logl_use=no
76017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76018 ac_ext=c
76019 ac_cpp='$CPP $CPPFLAGS'
76020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76029 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76031 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76032 for ac_func in _logl
76033 do :
76034 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76035 if test "x$ac_cv_func__logl" = x""yes; then :
76036 cat >>confdefs.h <<_ACEOF
76037 #define HAVE__LOGL 1
76038 _ACEOF
76041 done
76050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76051 $as_echo_n "checking for log10l declaration... " >&6; }
76052 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76053 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76054 $as_echo_n "(cached) " >&6
76055 else
76058 ac_ext=cpp
76059 ac_cpp='$CXXCPP $CPPFLAGS'
76060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76065 /* end confdefs.h. */
76066 #include <math.h>
76067 #ifdef HAVE_IEEEFP_H
76068 #include <ieeefp.h>
76069 #endif
76072 main ()
76074 log10l(0);
76076 return 0;
76078 _ACEOF
76079 if ac_fn_cxx_try_compile "$LINENO"; then :
76080 glibcxx_cv_func_log10l_use=yes
76081 else
76082 glibcxx_cv_func_log10l_use=no
76084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76085 ac_ext=c
76086 ac_cpp='$CPP $CPPFLAGS'
76087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76096 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76098 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76099 for ac_func in log10l
76100 do :
76101 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76102 if test "x$ac_cv_func_log10l" = x""yes; then :
76103 cat >>confdefs.h <<_ACEOF
76104 #define HAVE_LOG10L 1
76105 _ACEOF
76108 done
76110 else
76112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76113 $as_echo_n "checking for _log10l declaration... " >&6; }
76114 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76115 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76116 $as_echo_n "(cached) " >&6
76117 else
76120 ac_ext=cpp
76121 ac_cpp='$CXXCPP $CPPFLAGS'
76122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76127 /* end confdefs.h. */
76128 #include <math.h>
76129 #ifdef HAVE_IEEEFP_H
76130 #include <ieeefp.h>
76131 #endif
76134 main ()
76136 _log10l(0);
76138 return 0;
76140 _ACEOF
76141 if ac_fn_cxx_try_compile "$LINENO"; then :
76142 glibcxx_cv_func__log10l_use=yes
76143 else
76144 glibcxx_cv_func__log10l_use=no
76146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76147 ac_ext=c
76148 ac_cpp='$CPP $CPPFLAGS'
76149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76158 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76160 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76161 for ac_func in _log10l
76162 do :
76163 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76164 if test "x$ac_cv_func__log10l" = x""yes; then :
76165 cat >>confdefs.h <<_ACEOF
76166 #define HAVE__LOG10L 1
76167 _ACEOF
76170 done
76179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76180 $as_echo_n "checking for modfl declaration... " >&6; }
76181 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76182 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76183 $as_echo_n "(cached) " >&6
76184 else
76187 ac_ext=cpp
76188 ac_cpp='$CXXCPP $CPPFLAGS'
76189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76194 /* end confdefs.h. */
76195 #include <math.h>
76197 main ()
76199 modfl(0, 0);
76201 return 0;
76203 _ACEOF
76204 if ac_fn_cxx_try_compile "$LINENO"; then :
76205 glibcxx_cv_func_modfl_use=yes
76206 else
76207 glibcxx_cv_func_modfl_use=no
76209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76210 ac_ext=c
76211 ac_cpp='$CPP $CPPFLAGS'
76212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76221 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76223 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76224 for ac_func in modfl
76225 do :
76226 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76227 if test "x$ac_cv_func_modfl" = x""yes; then :
76228 cat >>confdefs.h <<_ACEOF
76229 #define HAVE_MODFL 1
76230 _ACEOF
76233 done
76235 else
76237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76238 $as_echo_n "checking for _modfl declaration... " >&6; }
76239 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76240 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76241 $as_echo_n "(cached) " >&6
76242 else
76245 ac_ext=cpp
76246 ac_cpp='$CXXCPP $CPPFLAGS'
76247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76252 /* end confdefs.h. */
76253 #include <math.h>
76255 main ()
76257 _modfl(0, 0);
76259 return 0;
76261 _ACEOF
76262 if ac_fn_cxx_try_compile "$LINENO"; then :
76263 glibcxx_cv_func__modfl_use=yes
76264 else
76265 glibcxx_cv_func__modfl_use=no
76267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76268 ac_ext=c
76269 ac_cpp='$CPP $CPPFLAGS'
76270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76279 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76281 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76282 for ac_func in _modfl
76283 do :
76284 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76285 if test "x$ac_cv_func__modfl" = x""yes; then :
76286 cat >>confdefs.h <<_ACEOF
76287 #define HAVE__MODFL 1
76288 _ACEOF
76291 done
76300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76301 $as_echo_n "checking for powl declaration... " >&6; }
76302 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76303 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76304 $as_echo_n "(cached) " >&6
76305 else
76308 ac_ext=cpp
76309 ac_cpp='$CXXCPP $CPPFLAGS'
76310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76315 /* end confdefs.h. */
76316 #include <math.h>
76318 main ()
76320 powl(0, 0);
76322 return 0;
76324 _ACEOF
76325 if ac_fn_cxx_try_compile "$LINENO"; then :
76326 glibcxx_cv_func_powl_use=yes
76327 else
76328 glibcxx_cv_func_powl_use=no
76330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76331 ac_ext=c
76332 ac_cpp='$CPP $CPPFLAGS'
76333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76342 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76344 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76345 for ac_func in powl
76346 do :
76347 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76348 if test "x$ac_cv_func_powl" = x""yes; then :
76349 cat >>confdefs.h <<_ACEOF
76350 #define HAVE_POWL 1
76351 _ACEOF
76354 done
76356 else
76358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76359 $as_echo_n "checking for _powl declaration... " >&6; }
76360 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76361 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76362 $as_echo_n "(cached) " >&6
76363 else
76366 ac_ext=cpp
76367 ac_cpp='$CXXCPP $CPPFLAGS'
76368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76373 /* end confdefs.h. */
76374 #include <math.h>
76376 main ()
76378 _powl(0, 0);
76380 return 0;
76382 _ACEOF
76383 if ac_fn_cxx_try_compile "$LINENO"; then :
76384 glibcxx_cv_func__powl_use=yes
76385 else
76386 glibcxx_cv_func__powl_use=no
76388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76389 ac_ext=c
76390 ac_cpp='$CPP $CPPFLAGS'
76391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76400 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76402 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76403 for ac_func in _powl
76404 do :
76405 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76406 if test "x$ac_cv_func__powl" = x""yes; then :
76407 cat >>confdefs.h <<_ACEOF
76408 #define HAVE__POWL 1
76409 _ACEOF
76412 done
76421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76422 $as_echo_n "checking for sqrtl declaration... " >&6; }
76423 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76424 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76425 $as_echo_n "(cached) " >&6
76426 else
76429 ac_ext=cpp
76430 ac_cpp='$CXXCPP $CPPFLAGS'
76431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76436 /* end confdefs.h. */
76437 #include <math.h>
76438 #ifdef HAVE_IEEEFP_H
76439 #include <ieeefp.h>
76440 #endif
76443 main ()
76445 sqrtl(0);
76447 return 0;
76449 _ACEOF
76450 if ac_fn_cxx_try_compile "$LINENO"; then :
76451 glibcxx_cv_func_sqrtl_use=yes
76452 else
76453 glibcxx_cv_func_sqrtl_use=no
76455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76456 ac_ext=c
76457 ac_cpp='$CPP $CPPFLAGS'
76458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76467 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76469 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76470 for ac_func in sqrtl
76471 do :
76472 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76473 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76474 cat >>confdefs.h <<_ACEOF
76475 #define HAVE_SQRTL 1
76476 _ACEOF
76479 done
76481 else
76483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76484 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76485 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76486 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76487 $as_echo_n "(cached) " >&6
76488 else
76491 ac_ext=cpp
76492 ac_cpp='$CXXCPP $CPPFLAGS'
76493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76498 /* end confdefs.h. */
76499 #include <math.h>
76500 #ifdef HAVE_IEEEFP_H
76501 #include <ieeefp.h>
76502 #endif
76505 main ()
76507 _sqrtl(0);
76509 return 0;
76511 _ACEOF
76512 if ac_fn_cxx_try_compile "$LINENO"; then :
76513 glibcxx_cv_func__sqrtl_use=yes
76514 else
76515 glibcxx_cv_func__sqrtl_use=no
76517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76518 ac_ext=c
76519 ac_cpp='$CPP $CPPFLAGS'
76520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76529 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76531 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76532 for ac_func in _sqrtl
76533 do :
76534 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76535 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76536 cat >>confdefs.h <<_ACEOF
76537 #define HAVE__SQRTL 1
76538 _ACEOF
76541 done
76550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76551 $as_echo_n "checking for sincosl declaration... " >&6; }
76552 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76553 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76554 $as_echo_n "(cached) " >&6
76555 else
76558 ac_ext=cpp
76559 ac_cpp='$CXXCPP $CPPFLAGS'
76560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76565 /* end confdefs.h. */
76566 #include <math.h>
76568 main ()
76570 sincosl(0, 0, 0);
76572 return 0;
76574 _ACEOF
76575 if ac_fn_cxx_try_compile "$LINENO"; then :
76576 glibcxx_cv_func_sincosl_use=yes
76577 else
76578 glibcxx_cv_func_sincosl_use=no
76580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76581 ac_ext=c
76582 ac_cpp='$CPP $CPPFLAGS'
76583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76592 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76594 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76595 for ac_func in sincosl
76596 do :
76597 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76598 if test "x$ac_cv_func_sincosl" = x""yes; then :
76599 cat >>confdefs.h <<_ACEOF
76600 #define HAVE_SINCOSL 1
76601 _ACEOF
76604 done
76606 else
76608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76609 $as_echo_n "checking for _sincosl declaration... " >&6; }
76610 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76611 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76612 $as_echo_n "(cached) " >&6
76613 else
76616 ac_ext=cpp
76617 ac_cpp='$CXXCPP $CPPFLAGS'
76618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76623 /* end confdefs.h. */
76624 #include <math.h>
76626 main ()
76628 _sincosl(0, 0, 0);
76630 return 0;
76632 _ACEOF
76633 if ac_fn_cxx_try_compile "$LINENO"; then :
76634 glibcxx_cv_func__sincosl_use=yes
76635 else
76636 glibcxx_cv_func__sincosl_use=no
76638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76639 ac_ext=c
76640 ac_cpp='$CPP $CPPFLAGS'
76641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76650 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76652 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76653 for ac_func in _sincosl
76654 do :
76655 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76656 if test "x$ac_cv_func__sincosl" = x""yes; then :
76657 cat >>confdefs.h <<_ACEOF
76658 #define HAVE__SINCOSL 1
76659 _ACEOF
76662 done
76671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76672 $as_echo_n "checking for finitel declaration... " >&6; }
76673 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76674 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76675 $as_echo_n "(cached) " >&6
76676 else
76679 ac_ext=cpp
76680 ac_cpp='$CXXCPP $CPPFLAGS'
76681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76686 /* end confdefs.h. */
76687 #include <math.h>
76688 #ifdef HAVE_IEEEFP_H
76689 #include <ieeefp.h>
76690 #endif
76693 main ()
76695 finitel(0);
76697 return 0;
76699 _ACEOF
76700 if ac_fn_cxx_try_compile "$LINENO"; then :
76701 glibcxx_cv_func_finitel_use=yes
76702 else
76703 glibcxx_cv_func_finitel_use=no
76705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76706 ac_ext=c
76707 ac_cpp='$CPP $CPPFLAGS'
76708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76717 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76719 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76720 for ac_func in finitel
76721 do :
76722 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76723 if test "x$ac_cv_func_finitel" = x""yes; then :
76724 cat >>confdefs.h <<_ACEOF
76725 #define HAVE_FINITEL 1
76726 _ACEOF
76729 done
76731 else
76733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76734 $as_echo_n "checking for _finitel declaration... " >&6; }
76735 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76736 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76737 $as_echo_n "(cached) " >&6
76738 else
76741 ac_ext=cpp
76742 ac_cpp='$CXXCPP $CPPFLAGS'
76743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76748 /* end confdefs.h. */
76749 #include <math.h>
76750 #ifdef HAVE_IEEEFP_H
76751 #include <ieeefp.h>
76752 #endif
76755 main ()
76757 _finitel(0);
76759 return 0;
76761 _ACEOF
76762 if ac_fn_cxx_try_compile "$LINENO"; then :
76763 glibcxx_cv_func__finitel_use=yes
76764 else
76765 glibcxx_cv_func__finitel_use=no
76767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76768 ac_ext=c
76769 ac_cpp='$CPP $CPPFLAGS'
76770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76779 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76781 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76782 for ac_func in _finitel
76783 do :
76784 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76785 if test "x$ac_cv_func__finitel" = x""yes; then :
76786 cat >>confdefs.h <<_ACEOF
76787 #define HAVE__FINITEL 1
76788 _ACEOF
76791 done
76799 LIBS="$ac_save_LIBS"
76800 CXXFLAGS="$ac_save_CXXFLAGS"
76803 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76804 ac_save_CXXFLAGS="$CXXFLAGS"
76805 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76809 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76810 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76811 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76812 $as_echo_n "(cached) " >&6
76813 else
76816 ac_ext=cpp
76817 ac_cpp='$CXXCPP $CPPFLAGS'
76818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76823 /* end confdefs.h. */
76824 #include <stdlib.h>
76826 main ()
76828 at_quick_exit(0);
76830 return 0;
76832 _ACEOF
76833 if ac_fn_cxx_try_compile "$LINENO"; then :
76834 glibcxx_cv_func_at_quick_exit_use=yes
76835 else
76836 glibcxx_cv_func_at_quick_exit_use=no
76838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76839 ac_ext=c
76840 ac_cpp='$CPP $CPPFLAGS'
76841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76850 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76851 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76852 for ac_func in at_quick_exit
76853 do :
76854 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76855 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76856 cat >>confdefs.h <<_ACEOF
76857 #define HAVE_AT_QUICK_EXIT 1
76858 _ACEOF
76861 done
76866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76867 $as_echo_n "checking for quick_exit declaration... " >&6; }
76868 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76869 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76870 $as_echo_n "(cached) " >&6
76871 else
76874 ac_ext=cpp
76875 ac_cpp='$CXXCPP $CPPFLAGS'
76876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76881 /* end confdefs.h. */
76882 #include <stdlib.h>
76884 main ()
76886 quick_exit(0);
76888 return 0;
76890 _ACEOF
76891 if ac_fn_cxx_try_compile "$LINENO"; then :
76892 glibcxx_cv_func_quick_exit_use=yes
76893 else
76894 glibcxx_cv_func_quick_exit_use=no
76896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76897 ac_ext=c
76898 ac_cpp='$CPP $CPPFLAGS'
76899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76908 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76909 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76910 for ac_func in quick_exit
76911 do :
76912 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76913 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76914 cat >>confdefs.h <<_ACEOF
76915 #define HAVE_QUICK_EXIT 1
76916 _ACEOF
76919 done
76924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76925 $as_echo_n "checking for strtold declaration... " >&6; }
76926 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76927 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76928 $as_echo_n "(cached) " >&6
76929 else
76932 ac_ext=cpp
76933 ac_cpp='$CXXCPP $CPPFLAGS'
76934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76939 /* end confdefs.h. */
76940 #include <stdlib.h>
76942 main ()
76944 strtold(0, 0);
76946 return 0;
76948 _ACEOF
76949 if ac_fn_cxx_try_compile "$LINENO"; then :
76950 glibcxx_cv_func_strtold_use=yes
76951 else
76952 glibcxx_cv_func_strtold_use=no
76954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76955 ac_ext=c
76956 ac_cpp='$CPP $CPPFLAGS'
76957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76966 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76967 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76968 for ac_func in strtold
76969 do :
76970 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76971 if test "x$ac_cv_func_strtold" = x""yes; then :
76972 cat >>confdefs.h <<_ACEOF
76973 #define HAVE_STRTOLD 1
76974 _ACEOF
76977 done
76984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76985 $as_echo_n "checking for strtof declaration... " >&6; }
76986 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76987 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76988 $as_echo_n "(cached) " >&6
76989 else
76992 ac_ext=cpp
76993 ac_cpp='$CXXCPP $CPPFLAGS'
76994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76999 /* end confdefs.h. */
77000 #include <stdlib.h>
77002 main ()
77004 strtof(0, 0);
77006 return 0;
77008 _ACEOF
77009 if ac_fn_cxx_try_compile "$LINENO"; then :
77010 glibcxx_cv_func_strtof_use=yes
77011 else
77012 glibcxx_cv_func_strtof_use=no
77014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77015 ac_ext=c
77016 ac_cpp='$CPP $CPPFLAGS'
77017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77026 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77027 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77028 for ac_func in strtof
77029 do :
77030 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77031 if test "x$ac_cv_func_strtof" = x""yes; then :
77032 cat >>confdefs.h <<_ACEOF
77033 #define HAVE_STRTOF 1
77034 _ACEOF
77037 done
77044 CXXFLAGS="$ac_save_CXXFLAGS"
77047 *-vxworks)
77048 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77050 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77052 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77054 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77056 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77058 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77060 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77062 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77064 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77066 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77068 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77070 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77072 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77074 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77076 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77078 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77080 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77082 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77084 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77086 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77090 as_fn_error "No support for this host/target combination." "$LINENO" 5
77092 esac
77096 # At some point, we should differentiate between architectures
77097 # like x86, which have long double versions, and alpha/powerpc/etc.,
77098 # which don't. For the time being, punt.
77099 if test x"long_double_math_on_this_cpu" = x"yes"; then
77100 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77102 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77104 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77106 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77108 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77110 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77112 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77114 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77116 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77118 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77120 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77122 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77124 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77126 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77128 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77130 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77132 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77134 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77136 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77138 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77140 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77142 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77144 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77149 # Check for _Unwind_GetIPInfo.
77152 # Check whether --with-system-libunwind was given.
77153 if test "${with_system_libunwind+set}" = set; then :
77154 withval=$with_system_libunwind;
77157 # If system-libunwind was not specifically set, pick a default setting.
77158 if test x$with_system_libunwind = x; then
77159 case ${target} in
77160 ia64-*-hpux*) with_system_libunwind=yes ;;
77161 *) with_system_libunwind=no ;;
77162 esac
77164 # Based on system-libunwind and target, do we have ipinfo?
77165 if test x$with_system_libunwind = xyes; then
77166 case ${target} in
77167 ia64-*-*) have_unwind_getipinfo=no ;;
77168 *) have_unwind_getipinfo=yes ;;
77169 esac
77170 else
77171 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77173 case ${target} in
77174 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77175 *) have_unwind_getipinfo=yes ;;
77176 esac
77180 if test x$have_unwind_getipinfo = xyes; then
77182 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77187 # Check whether --enable-linux-futex was given.
77188 if test "${enable_linux_futex+set}" = set; then :
77189 enableval=$enable_linux_futex;
77190 case "$enableval" in
77191 yes|no|default) ;;
77192 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77193 esac
77195 else
77196 enable_linux_futex=default
77200 case "$target" in
77201 *-linux*)
77202 case "$enable_linux_futex" in
77203 default)
77204 # If headers don't have gettid/futex syscalls definition, then
77205 # default to no, otherwise there will be compile time failures.
77206 # Otherwise, default to yes. If we don't detect we are
77207 # compiled/linked against NPTL and not cross-compiling, check
77208 # if programs are run by default against NPTL and if not, issue
77209 # a warning.
77210 enable_linux_futex=no
77211 if test x$gcc_no_link = xyes; then
77212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77215 /* end confdefs.h. */
77216 #include <sys/syscall.h>
77217 int lk;
77219 main ()
77221 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77223 return 0;
77225 _ACEOF
77226 if ac_fn_c_try_link "$LINENO"; then :
77227 save_LIBS="$LIBS"
77228 LIBS="-lpthread $LIBS"
77229 if test x$gcc_no_link = xyes; then
77230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77233 /* end confdefs.h. */
77234 #ifndef _GNU_SOURCE
77235 #define _GNU_SOURCE 1
77236 #endif
77237 #include <pthread.h>
77238 pthread_t th; void *status;
77240 main ()
77242 pthread_tryjoin_np (th, &status);
77244 return 0;
77246 _ACEOF
77247 if ac_fn_c_try_link "$LINENO"; then :
77248 enable_linux_futex=yes
77249 else
77250 if test x$cross_compiling = xno; then
77251 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77252 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77254 If so, please configure with --disable-linux-futex" >&5
77255 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77256 If so, please configure with --disable-linux-futex" >&2;}
77259 enable_linux_futex=yes
77261 rm -f core conftest.err conftest.$ac_objext \
77262 conftest$ac_exeext conftest.$ac_ext
77263 LIBS="$save_LIBS"
77265 rm -f core conftest.err conftest.$ac_objext \
77266 conftest$ac_exeext conftest.$ac_ext
77268 yes)
77269 if test x$gcc_no_link = xyes; then
77270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77273 /* end confdefs.h. */
77274 #include <sys/syscall.h>
77275 int lk;
77277 main ()
77279 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77281 return 0;
77283 _ACEOF
77284 if ac_fn_c_try_link "$LINENO"; then :
77286 else
77287 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77289 rm -f core conftest.err conftest.$ac_objext \
77290 conftest$ac_exeext conftest.$ac_ext
77292 esac
77295 enable_linux_futex=no
77297 esac
77298 if test x$enable_linux_futex = xyes; then
77300 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77307 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77309 acx_cv_header_stdint=stddef.h
77310 acx_cv_header_stdint_kind="(already complete)"
77311 for i in stdint.h $inttype_headers; do
77312 unset ac_cv_type_uintptr_t
77313 unset ac_cv_type_uintmax_t
77314 unset ac_cv_type_int_least32_t
77315 unset ac_cv_type_int_fast32_t
77316 unset ac_cv_type_uint64_t
77317 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77318 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77319 #include <$i>
77321 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77322 acx_cv_header_stdint=$i
77323 else
77324 continue
77327 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77328 #include <$i>
77330 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77332 else
77333 acx_cv_header_stdint_kind="(mostly complete)"
77336 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77337 #include <$i>
77339 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77341 else
77342 acx_cv_header_stdint_kind="(mostly complete)"
77345 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77346 #include <$i>
77348 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77350 else
77351 acx_cv_header_stdint_kind="(mostly complete)"
77354 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77355 #include <$i>
77357 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77359 else
77360 acx_cv_header_stdint_kind="(lacks uint64_t)"
77363 break
77364 done
77365 if test "$acx_cv_header_stdint" = stddef.h; then
77366 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77367 for i in stdint.h $inttype_headers; do
77368 unset ac_cv_type_uintptr_t
77369 unset ac_cv_type_uint32_t
77370 unset ac_cv_type_uint64_t
77371 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77372 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77373 #include <$i>
77375 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77376 acx_cv_header_stdint=$i
77377 else
77378 continue
77381 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77382 #include <$i>
77384 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77388 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77389 #include <$i>
77391 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77395 break
77396 done
77398 if test "$acx_cv_header_stdint" = stddef.h; then
77399 acx_cv_header_stdint_kind="(u_intXX_t style)"
77400 for i in sys/types.h $inttype_headers; do
77401 unset ac_cv_type_u_int32_t
77402 unset ac_cv_type_u_int64_t
77403 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77404 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77405 #include <$i>
77407 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77408 acx_cv_header_stdint=$i
77409 else
77410 continue
77413 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77414 #include <$i>
77416 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77420 break
77421 done
77423 if test "$acx_cv_header_stdint" = stddef.h; then
77424 acx_cv_header_stdint_kind="(using manual detection)"
77427 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77428 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77429 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77430 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77431 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77433 # ----------------- Summarize what we found so far
77435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77436 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77438 case `$as_basename -- include/gstdint.h ||
77439 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77440 Xinclude/gstdint.h : 'X\(//\)$' \| \
77441 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77442 $as_echo X/include/gstdint.h |
77443 sed '/^.*\/\([^/][^/]*\)\/*$/{
77444 s//\1/
77447 /^X\/\(\/\/\)$/{
77448 s//\1/
77451 /^X\/\(\/\).*/{
77452 s//\1/
77455 s/.*/./; q'` in
77456 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77457 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77458 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77459 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77460 *) ;;
77461 esac
77463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77464 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77466 # ----------------- done included file, check C basic types --------
77468 # Lacking an uintptr_t? Test size of void *
77469 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77470 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77471 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77472 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77473 # This bug is HP SR number 8606223364.
77474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77475 $as_echo_n "checking size of void *... " >&6; }
77476 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77477 $as_echo_n "(cached) " >&6
77478 else
77479 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77481 else
77482 if test "$ac_cv_type_void_p" = yes; then
77483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77485 { as_fn_set_status 77
77486 as_fn_error "cannot compute sizeof (void *)
77487 See \`config.log' for more details." "$LINENO" 5; }; }
77488 else
77489 ac_cv_sizeof_void_p=0
77494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77495 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77499 cat >>confdefs.h <<_ACEOF
77500 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77501 _ACEOF
77504 esac
77506 # Lacking an uint64_t? Test size of long
77507 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77508 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77511 # This bug is HP SR number 8606223364.
77512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77513 $as_echo_n "checking size of long... " >&6; }
77514 if test "${ac_cv_sizeof_long+set}" = set; then :
77515 $as_echo_n "(cached) " >&6
77516 else
77517 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77519 else
77520 if test "$ac_cv_type_long" = yes; then
77521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77523 { as_fn_set_status 77
77524 as_fn_error "cannot compute sizeof (long)
77525 See \`config.log' for more details." "$LINENO" 5; }; }
77526 else
77527 ac_cv_sizeof_long=0
77532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77533 $as_echo "$ac_cv_sizeof_long" >&6; }
77537 cat >>confdefs.h <<_ACEOF
77538 #define SIZEOF_LONG $ac_cv_sizeof_long
77539 _ACEOF
77542 esac
77544 if test $acx_cv_header_stdint = stddef.h; then
77545 # Lacking a good header? Test size of everything and deduce all types.
77546 # The cast to long int works around a bug in the HP C Compiler
77547 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77548 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77549 # This bug is HP SR number 8606223364.
77550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77551 $as_echo_n "checking size of int... " >&6; }
77552 if test "${ac_cv_sizeof_int+set}" = set; then :
77553 $as_echo_n "(cached) " >&6
77554 else
77555 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77557 else
77558 if test "$ac_cv_type_int" = yes; then
77559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77561 { as_fn_set_status 77
77562 as_fn_error "cannot compute sizeof (int)
77563 See \`config.log' for more details." "$LINENO" 5; }; }
77564 else
77565 ac_cv_sizeof_int=0
77570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77571 $as_echo "$ac_cv_sizeof_int" >&6; }
77575 cat >>confdefs.h <<_ACEOF
77576 #define SIZEOF_INT $ac_cv_sizeof_int
77577 _ACEOF
77580 # The cast to long int works around a bug in the HP C Compiler
77581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77583 # This bug is HP SR number 8606223364.
77584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77585 $as_echo_n "checking size of short... " >&6; }
77586 if test "${ac_cv_sizeof_short+set}" = set; then :
77587 $as_echo_n "(cached) " >&6
77588 else
77589 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77591 else
77592 if test "$ac_cv_type_short" = yes; then
77593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77595 { as_fn_set_status 77
77596 as_fn_error "cannot compute sizeof (short)
77597 See \`config.log' for more details." "$LINENO" 5; }; }
77598 else
77599 ac_cv_sizeof_short=0
77604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77605 $as_echo "$ac_cv_sizeof_short" >&6; }
77609 cat >>confdefs.h <<_ACEOF
77610 #define SIZEOF_SHORT $ac_cv_sizeof_short
77611 _ACEOF
77614 # The cast to long int works around a bug in the HP C Compiler
77615 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77616 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77617 # This bug is HP SR number 8606223364.
77618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77619 $as_echo_n "checking size of char... " >&6; }
77620 if test "${ac_cv_sizeof_char+set}" = set; then :
77621 $as_echo_n "(cached) " >&6
77622 else
77623 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77625 else
77626 if test "$ac_cv_type_char" = yes; then
77627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77629 { as_fn_set_status 77
77630 as_fn_error "cannot compute sizeof (char)
77631 See \`config.log' for more details." "$LINENO" 5; }; }
77632 else
77633 ac_cv_sizeof_char=0
77638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77639 $as_echo "$ac_cv_sizeof_char" >&6; }
77643 cat >>confdefs.h <<_ACEOF
77644 #define SIZEOF_CHAR $ac_cv_sizeof_char
77645 _ACEOF
77649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77650 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77651 case "$ac_cv_sizeof_char" in
77652 1) acx_cv_type_int8_t=char ;;
77653 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77654 esac
77655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77656 $as_echo "$acx_cv_type_int8_t" >&6; }
77658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77659 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77660 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77661 2:*) acx_cv_type_int16_t=int ;;
77662 *:2) acx_cv_type_int16_t=short ;;
77663 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77664 esac
77665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77666 $as_echo "$acx_cv_type_int16_t" >&6; }
77668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77669 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77670 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77671 4:*) acx_cv_type_int32_t=int ;;
77672 *:4) acx_cv_type_int32_t=long ;;
77673 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77674 esac
77675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77676 $as_echo "$acx_cv_type_int32_t" >&6; }
77679 # These tests are here to make the output prettier
77681 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77682 case "$ac_cv_sizeof_long" in
77683 8) acx_cv_type_int64_t=long ;;
77684 esac
77685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77686 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77688 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77691 # Now we can use the above types
77693 if test "$ac_cv_type_uintptr_t" != yes; then
77694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77695 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77696 case $ac_cv_sizeof_void_p in
77697 2) acx_cv_type_intptr_t=int16_t ;;
77698 4) acx_cv_type_intptr_t=int32_t ;;
77699 8) acx_cv_type_intptr_t=int64_t ;;
77700 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77701 esac
77702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77703 $as_echo "$acx_cv_type_intptr_t" >&6; }
77706 # ----------------- done all checks, emit header -------------
77707 ac_config_commands="$ac_config_commands include/gstdint.h"
77713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77714 $as_echo_n "checking for GNU c++filt... " >&6; }
77715 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77716 $as_echo_n "(cached) " >&6
77717 else
77718 if test -z "$CXXFILT"; then
77719 ac_path_CXXFILT_found=false
77720 # Loop through the user's path and test for each of PROGNAME-LIST
77721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77722 for as_dir in $PATH
77724 IFS=$as_save_IFS
77725 test -z "$as_dir" && as_dir=.
77726 for ac_prog in c++filt gc++filt; do
77727 for ac_exec_ext in '' $ac_executable_extensions; do
77728 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77729 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77730 # Check for GNU $ac_path_CXXFILT
77731 case `"$ac_path_CXXFILT" --version 2>&1` in
77732 *GNU*)
77733 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77734 esac
77736 $ac_path_CXXFILT_found && break 3
77737 done
77738 done
77739 done
77740 IFS=$as_save_IFS
77741 if test -z "$ac_cv_path_CXXFILT"; then
77744 else
77745 ac_cv_path_CXXFILT=$CXXFILT
77749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77750 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77751 CXXFILT=$ac_cv_path_CXXFILT
77755 # Check whether --enable-symvers was given.
77756 if test "${enable_symvers+set}" = set; then :
77757 enableval=$enable_symvers;
77758 case "$enableval" in
77759 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77760 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77761 esac
77763 else
77764 enable_symvers=yes
77769 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77770 # don't know enough about $LD to do tricks...
77772 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77773 # with extern "C++" in version scripts.
77776 # Turn a 'yes' into a suitable default.
77777 if test x$enable_symvers = xyes ; then
77778 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77779 enable_symvers=no
77780 else
77781 if test $with_gnu_ld = yes ; then
77782 case ${target_os} in
77783 hpux*)
77784 enable_symvers=no ;;
77786 enable_symvers=gnu ;;
77787 esac
77788 else
77789 case ${target_os} in
77790 darwin*)
77791 enable_symvers=darwin ;;
77792 # Sun symbol versioning exists since Solaris 2.5.
77793 solaris2.[5-9]* | solaris2.1[0-9]*)
77794 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77795 # version scripts, so disable symbol versioning if none can be
77796 # found.
77797 if test -z "$ac_cv_path_CXXFILT"; then
77798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77799 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77801 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77803 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77804 enable_symvers=no
77805 else
77806 enable_symvers=sun
77810 enable_symvers=no ;;
77811 esac
77816 # Check to see if 'darwin' or 'darwin-export' can win.
77817 if test x$enable_symvers = xdarwin-export ; then
77818 enable_symvers=darwin
77821 # Check if 'sun' was requested on non-Solaris 2 platforms.
77822 if test x$enable_symvers = xsun ; then
77823 case ${target_os} in
77824 solaris2*)
77825 # All fine.
77828 # Unlikely to work.
77829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77830 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77832 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77834 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77835 enable_symvers=no
77837 esac
77840 # Check to see if 'gnu' can win.
77841 if test $enable_symvers = gnu ||
77842 test $enable_symvers = gnu-versioned-namespace ||
77843 test $enable_symvers = sun; then
77844 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77846 $as_echo_n "checking for shared libgcc... " >&6; }
77847 ac_save_CFLAGS="$CFLAGS"
77848 CFLAGS=' -lgcc_s'
77849 if test x$gcc_no_link = xyes; then
77850 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77853 /* end confdefs.h. */
77856 main ()
77858 return 0;
77860 return 0;
77862 _ACEOF
77863 if ac_fn_c_try_link "$LINENO"; then :
77864 glibcxx_shared_libgcc=yes
77865 else
77866 glibcxx_shared_libgcc=no
77868 rm -f core conftest.err conftest.$ac_objext \
77869 conftest$ac_exeext conftest.$ac_ext
77870 CFLAGS="$ac_save_CFLAGS"
77871 if test $glibcxx_shared_libgcc = no; then
77872 cat > conftest.c <<EOF
77873 int main (void) { return 0; }
77875 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77876 -shared -shared-libgcc -o conftest.so \
77877 conftest.c -v 2>&1 >/dev/null \
77878 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77879 rm -f conftest.c conftest.so
77880 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77881 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77882 if test x$gcc_no_link = xyes; then
77883 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77886 /* end confdefs.h. */
77889 main ()
77891 return 0;
77893 return 0;
77895 _ACEOF
77896 if ac_fn_c_try_link "$LINENO"; then :
77897 glibcxx_shared_libgcc=yes
77899 rm -f core conftest.err conftest.$ac_objext \
77900 conftest$ac_exeext conftest.$ac_ext
77901 CFLAGS="$ac_save_CFLAGS"
77904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77905 $as_echo "$glibcxx_shared_libgcc" >&6; }
77907 # For GNU ld, we need at least this version. The format is described in
77908 # GLIBCXX_CHECK_LINKER_FEATURES above.
77909 glibcxx_min_gnu_ld_version=21400
77911 # If no shared libgcc, can't win.
77912 if test $glibcxx_shared_libgcc != yes; then
77913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77914 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77916 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77918 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77919 enable_symvers=no
77920 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77921 : All interesting versions of Sun ld support sun style symbol versioning.
77922 elif test $with_gnu_ld != yes ; then
77923 # just fail for now
77924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77925 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77927 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77929 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77930 enable_symvers=no
77931 elif test $glibcxx_ld_is_gold = yes ; then
77932 : All versions of gold support symbol versioning.
77933 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77934 # The right tools, the right setup, but too old. Fallbacks?
77935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77936 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77938 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77940 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77942 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77944 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77945 enable_symvers=no
77949 # For libtool versioning info, format is CURRENT:REVISION:AGE
77950 libtool_VERSION=6:21:0
77952 # Everything parsed; figure out what files and settings to use.
77953 case $enable_symvers in
77955 SYMVER_FILE=config/abi/pre/none.ver
77957 gnu)
77958 SYMVER_FILE=config/abi/pre/gnu.ver
77960 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77963 gnu-versioned-namespace)
77964 libtool_VERSION=7:0:0
77965 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77967 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77970 darwin)
77971 SYMVER_FILE=config/abi/pre/gnu.ver
77973 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77976 sun)
77977 SYMVER_FILE=config/abi/pre/gnu.ver
77979 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77982 esac
77984 if test x$enable_symvers != xno ; then
77986 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77991 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77992 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77993 $as_echo_n "(cached) " >&6
77994 else
77996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77997 /* end confdefs.h. */
77998 void foo (void); __asm (".symver foo, bar@SYMVER");
78000 main ()
78004 return 0;
78006 _ACEOF
78007 if ac_fn_c_try_compile "$LINENO"; then :
78008 glibcxx_cv_have_as_symver_directive=yes
78009 else
78010 glibcxx_cv_have_as_symver_directive=no
78012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78015 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78016 if test $glibcxx_cv_have_as_symver_directive = yes; then
78018 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78029 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78030 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78032 if test $enable_symvers != no ; then
78033 case ${target_os} in
78034 # The Solaris 2 runtime linker doesn't support the GNU extension of
78035 # binding the same symbol to different versions
78036 solaris2*)
78038 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78041 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78044 esac
78047 # Now, set up compatibility support, if any.
78048 # In addition, need this to deal with std::size_t mangling in
78049 # src/compatibility.cc. In a perfect world, could use
78050 # typeid(std::size_t).name()[0] to do direct substitution.
78051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78052 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78053 ac_save_CFLAGS="$CFLAGS"
78054 CFLAGS="-Werror"
78055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78056 /* end confdefs.h. */
78059 main ()
78061 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78063 return 0;
78065 _ACEOF
78066 if ac_fn_c_try_compile "$LINENO"; then :
78067 glibcxx_size_t_is_i=yes
78068 else
78069 glibcxx_size_t_is_i=no
78071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78072 CFLAGS=$ac_save_CFLAGS
78073 if test "$glibcxx_size_t_is_i" = yes; then
78075 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78079 $as_echo "$glibcxx_size_t_is_i" >&6; }
78081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78082 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78083 ac_save_CFLAGS="$CFLAGS"
78084 CFLAGS="-Werror"
78085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78086 /* end confdefs.h. */
78089 main ()
78091 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78093 return 0;
78095 _ACEOF
78096 if ac_fn_c_try_compile "$LINENO"; then :
78097 glibcxx_ptrdiff_t_is_i=yes
78098 else
78099 glibcxx_ptrdiff_t_is_i=no
78101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78102 CFLAGS=$ac_save_CFLAGS
78103 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78105 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78109 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78114 # Check whether --enable-libstdcxx-visibility was given.
78115 if test "${enable_libstdcxx_visibility+set}" = set; then :
78116 enableval=$enable_libstdcxx_visibility;
78117 case "$enableval" in
78118 yes|no) ;;
78119 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78120 esac
78122 else
78123 enable_libstdcxx_visibility=yes
78128 if test x$enable_libstdcxx_visibility = xyes ; then
78129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78130 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78131 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78132 $as_echo_n "(cached) " >&6
78133 else
78135 save_CFLAGS="$CFLAGS"
78136 CFLAGS="$CFLAGS -Werror"
78137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78138 /* end confdefs.h. */
78139 void __attribute__((visibility("hidden"))) foo(void) { }
78141 main ()
78145 return 0;
78147 _ACEOF
78148 if ac_fn_c_try_compile "$LINENO"; then :
78149 glibcxx_cv_have_attribute_visibility=yes
78150 else
78151 glibcxx_cv_have_attribute_visibility=no
78153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78154 CFLAGS="$save_CFLAGS"
78156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78157 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78158 if test $glibcxx_cv_have_attribute_visibility = no; then
78159 enable_libstdcxx_visibility=no
78164 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78165 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78169 # Check whether --enable-libstdcxx-cxx11-abi was given.
78170 if test "${enable_libstdcxx_cxx11_abi+set}" = set; then :
78171 enableval=$enable_libstdcxx_cxx11_abi;
78172 else
78173 enable_libstdcxx_cxx11_abi=yes
78176 if test x"$enable_libstdcxx_cxx11_abi" != xyes; then
78177 { $as_echo "$as_me:${as_lineno-$LINENO}: C++11-conforming ABI is disabled" >&5
78178 $as_echo "$as_me: C++11-conforming ABI is disabled" >&6;}
78183 ac_ldbl_compat=no
78184 case "$target" in
78185 powerpc*-*-linux* | \
78186 sparc*-*-linux* | \
78187 s390*-*-linux* | \
78188 alpha*-*-linux*)
78189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78190 /* end confdefs.h. */
78193 main ()
78196 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78197 #error no need for long double compatibility
78198 #endif
78201 return 0;
78203 _ACEOF
78204 if ac_fn_c_try_compile "$LINENO"; then :
78205 ac_ldbl_compat=yes
78206 else
78207 ac_ldbl_compat=no
78209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78210 if test "$ac_ldbl_compat" = yes; then
78212 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78214 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78216 esac
78219 # Check if assembler supports disabling hardware capability support.
78221 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78223 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78224 # with a different meaning.
78225 case ${target_os} in
78226 solaris2*)
78227 ac_save_CFLAGS="$CFLAGS"
78228 CFLAGS="$CFLAGS -Wa,-nH"
78230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78231 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78233 /* end confdefs.h. */
78236 main ()
78238 return 0;
78240 return 0;
78242 _ACEOF
78243 if ac_fn_c_try_compile "$LINENO"; then :
78244 ac_hwcap_flags=yes
78245 else
78246 ac_hwcap_flags=no
78248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78249 if test "$ac_hwcap_flags" = "yes"; then
78250 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78253 $as_echo "$ac_hwcap_flags" >&6; }
78255 CFLAGS="$ac_save_CFLAGS"
78257 esac
78262 # Check if assembler supports rdrand opcode.
78264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78265 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78266 if test "${ac_cv_x86_rdrand+set}" = set; then :
78267 $as_echo_n "(cached) " >&6
78268 else
78270 ac_cv_x86_rdrand=no
78271 case "$target" in
78272 i?86-*-* | \
78273 x86_64-*-*)
78274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78275 /* end confdefs.h. */
78278 main ()
78280 asm("rdrand %eax");
78282 return 0;
78284 _ACEOF
78285 if ac_fn_c_try_compile "$LINENO"; then :
78286 ac_cv_x86_rdrand=yes
78287 else
78288 ac_cv_x86_rdrand=no
78290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78291 esac
78295 if test $ac_cv_x86_rdrand = yes; then
78297 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78301 $as_echo "$ac_cv_x86_rdrand" >&6; }
78304 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78306 if $GLIBCXX_IS_NATIVE ; then
78307 # Do checks for resource limit functions.
78309 setrlimit_have_headers=yes
78310 for ac_header in unistd.h sys/time.h sys/resource.h
78311 do :
78312 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78313 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78314 eval as_val=\$$as_ac_Header
78315 if test "x$as_val" = x""yes; then :
78316 cat >>confdefs.h <<_ACEOF
78317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78318 _ACEOF
78320 else
78321 setrlimit_have_headers=no
78324 done
78326 # If don't have the headers, then we can't run the tests now, and we
78327 # won't be seeing any of these during testsuite compilation.
78328 if test $setrlimit_have_headers = yes; then
78329 # Can't do these in a loop, else the resulting syntax is wrong.
78331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78332 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78334 /* end confdefs.h. */
78335 #include <unistd.h>
78336 #include <sys/time.h>
78337 #include <sys/resource.h>
78340 main ()
78342 int f = RLIMIT_DATA ;
78344 return 0;
78346 _ACEOF
78347 if ac_fn_c_try_compile "$LINENO"; then :
78348 glibcxx_mresult=1
78349 else
78350 glibcxx_mresult=0
78352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78354 cat >>confdefs.h <<_ACEOF
78355 #define HAVE_LIMIT_DATA $glibcxx_mresult
78356 _ACEOF
78358 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78360 $as_echo "$res" >&6; }
78363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78364 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78366 /* end confdefs.h. */
78367 #include <unistd.h>
78368 #include <sys/time.h>
78369 #include <sys/resource.h>
78372 main ()
78374 int f = RLIMIT_RSS ;
78376 return 0;
78378 _ACEOF
78379 if ac_fn_c_try_compile "$LINENO"; then :
78380 glibcxx_mresult=1
78381 else
78382 glibcxx_mresult=0
78384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78386 cat >>confdefs.h <<_ACEOF
78387 #define HAVE_LIMIT_RSS $glibcxx_mresult
78388 _ACEOF
78390 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78392 $as_echo "$res" >&6; }
78395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78396 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78398 /* end confdefs.h. */
78399 #include <unistd.h>
78400 #include <sys/time.h>
78401 #include <sys/resource.h>
78404 main ()
78406 int f = RLIMIT_VMEM ;
78408 return 0;
78410 _ACEOF
78411 if ac_fn_c_try_compile "$LINENO"; then :
78412 glibcxx_mresult=1
78413 else
78414 glibcxx_mresult=0
78416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78418 cat >>confdefs.h <<_ACEOF
78419 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78420 _ACEOF
78422 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78424 $as_echo "$res" >&6; }
78427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78428 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78430 /* end confdefs.h. */
78431 #include <unistd.h>
78432 #include <sys/time.h>
78433 #include <sys/resource.h>
78436 main ()
78438 int f = RLIMIT_AS ;
78440 return 0;
78442 _ACEOF
78443 if ac_fn_c_try_compile "$LINENO"; then :
78444 glibcxx_mresult=1
78445 else
78446 glibcxx_mresult=0
78448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78450 cat >>confdefs.h <<_ACEOF
78451 #define HAVE_LIMIT_AS $glibcxx_mresult
78452 _ACEOF
78454 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78456 $as_echo "$res" >&6; }
78459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78460 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78462 /* end confdefs.h. */
78463 #include <unistd.h>
78464 #include <sys/time.h>
78465 #include <sys/resource.h>
78468 main ()
78470 int f = RLIMIT_FSIZE ;
78472 return 0;
78474 _ACEOF
78475 if ac_fn_c_try_compile "$LINENO"; then :
78476 glibcxx_mresult=1
78477 else
78478 glibcxx_mresult=0
78480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78482 cat >>confdefs.h <<_ACEOF
78483 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78484 _ACEOF
78486 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78488 $as_echo "$res" >&6; }
78491 # Check for rlimit, setrlimit.
78492 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78493 $as_echo_n "(cached) " >&6
78494 else
78496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78497 /* end confdefs.h. */
78498 #include <unistd.h>
78499 #include <sys/time.h>
78500 #include <sys/resource.h>
78503 main ()
78505 struct rlimit r;
78506 setrlimit(0, &r);
78508 return 0;
78510 _ACEOF
78511 if ac_fn_c_try_compile "$LINENO"; then :
78512 glibcxx_cv_setrlimit=yes
78513 else
78514 glibcxx_cv_setrlimit=no
78516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78523 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78524 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78525 ac_res_limits=yes
78527 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78529 else
78530 ac_res_limits=no
78532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78533 $as_echo "$ac_res_limits" >&6; }
78536 # Look for setenv, so that extended locale tests can be performed.
78538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78539 $as_echo_n "checking for setenv declaration... " >&6; }
78540 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78541 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78542 $as_echo_n "(cached) " >&6
78543 else
78546 ac_ext=cpp
78547 ac_cpp='$CXXCPP $CPPFLAGS'
78548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78553 /* end confdefs.h. */
78554 #include <stdlib.h>
78556 main ()
78558 setenv(0, 0, 0);
78560 return 0;
78562 _ACEOF
78563 if ac_fn_cxx_try_compile "$LINENO"; then :
78564 glibcxx_cv_func_setenv_use=yes
78565 else
78566 glibcxx_cv_func_setenv_use=no
78568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78569 ac_ext=c
78570 ac_cpp='$CPP $CPPFLAGS'
78571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78580 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78581 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78582 for ac_func in setenv
78583 do :
78584 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78585 if test "x$ac_cv_func_setenv" = x""yes; then :
78586 cat >>confdefs.h <<_ACEOF
78587 #define HAVE_SETENV 1
78588 _ACEOF
78591 done
78597 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78598 test $enable_symvers != no; then
78599 case "$host" in
78600 *-*-cygwin*)
78601 enable_abi_check=no ;;
78603 enable_abi_check=yes ;;
78604 esac
78605 else
78606 # Only build this as native, since automake does not understand
78607 # CXX_FOR_BUILD.
78608 enable_abi_check=no
78611 # Export file names for ABI checking.
78612 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78614 baseline_subdir_switch="$abi_baseline_subdir_switch"
78618 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78620 # Check whether --enable-libstdcxx-threads was given.
78621 if test "${enable_libstdcxx_threads+set}" = set; then :
78622 enableval=$enable_libstdcxx_threads;
78623 case "$enableval" in
78624 yes|no) ;;
78625 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78626 esac
78628 else
78629 enable_libstdcxx_threads=auto
78634 if test x$enable_libstdcxx_threads = xauto ||
78635 test x$enable_libstdcxx_threads = xyes; then
78638 ac_ext=cpp
78639 ac_cpp='$CXXCPP $CPPFLAGS'
78640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78645 ac_save_CXXFLAGS="$CXXFLAGS"
78646 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78647 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78649 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78650 case $target_thread_file in
78651 posix)
78652 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78653 esac
78655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78656 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78659 /* end confdefs.h. */
78660 #include <unistd.h>
78662 main ()
78665 // In case of POSIX threads check _POSIX_TIMEOUTS.
78666 #if (defined(_PTHREADS) \
78667 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78668 #error
78669 #endif
78672 return 0;
78674 _ACEOF
78675 if ac_fn_cxx_try_compile "$LINENO"; then :
78676 ac_gthread_use_mutex_timedlock=1
78677 else
78678 ac_gthread_use_mutex_timedlock=0
78680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78683 cat >>confdefs.h <<_ACEOF
78684 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78685 _ACEOF
78688 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78689 else res_mutex_timedlock=no ; fi
78690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78691 $as_echo "$res_mutex_timedlock" >&6; }
78693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78694 $as_echo_n "checking for gthreads library... " >&6; }
78696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78697 /* end confdefs.h. */
78698 #include "gthr.h"
78700 main ()
78703 #ifndef __GTHREADS_CXX0X
78704 #error
78705 #endif
78708 return 0;
78710 _ACEOF
78711 if ac_fn_cxx_try_compile "$LINENO"; then :
78712 ac_has_gthreads=yes
78713 else
78714 ac_has_gthreads=no
78716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78717 else
78718 ac_has_gthreads=no
78721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78722 $as_echo "$ac_has_gthreads" >&6; }
78724 if test x"$ac_has_gthreads" = x"yes"; then
78726 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78730 CXXFLAGS="$ac_save_CXXFLAGS"
78731 ac_ext=c
78732 ac_cpp='$CPP $CPPFLAGS'
78733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78739 # Define documentation rules conditionally.
78741 # See if makeinfo has been installed and is modern enough
78742 # that we can use it.
78744 # Extract the first word of "makeinfo", so it can be a program name with args.
78745 set dummy makeinfo; ac_word=$2
78746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78747 $as_echo_n "checking for $ac_word... " >&6; }
78748 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78749 $as_echo_n "(cached) " >&6
78750 else
78751 if test -n "$MAKEINFO"; then
78752 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78753 else
78754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78755 for as_dir in $PATH
78757 IFS=$as_save_IFS
78758 test -z "$as_dir" && as_dir=.
78759 for ac_exec_ext in '' $ac_executable_extensions; do
78760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78761 ac_cv_prog_MAKEINFO="makeinfo"
78762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78763 break 2
78765 done
78766 done
78767 IFS=$as_save_IFS
78771 MAKEINFO=$ac_cv_prog_MAKEINFO
78772 if test -n "$MAKEINFO"; then
78773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78774 $as_echo "$MAKEINFO" >&6; }
78775 else
78776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78777 $as_echo "no" >&6; }
78781 if test -n "$MAKEINFO"; then
78782 # Found it, now check the version.
78783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78784 $as_echo_n "checking for modern makeinfo... " >&6; }
78785 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78786 $as_echo_n "(cached) " >&6
78787 else
78788 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78789 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78791 case $ac_prog_version in
78792 '') gcc_cv_prog_makeinfo_modern=no;;
78793 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78794 *) gcc_cv_prog_makeinfo_modern=no;;
78795 esac
78798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78799 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78800 else
78801 gcc_cv_prog_makeinfo_modern=no
78803 if test $gcc_cv_prog_makeinfo_modern = no; then
78804 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78807 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78808 BUILD_INFO_TRUE=
78809 BUILD_INFO_FALSE='#'
78810 else
78811 BUILD_INFO_TRUE='#'
78812 BUILD_INFO_FALSE=
78816 # Check for doxygen
78817 # Extract the first word of "doxygen", so it can be a program name with args.
78818 set dummy doxygen; ac_word=$2
78819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78820 $as_echo_n "checking for $ac_word... " >&6; }
78821 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78822 $as_echo_n "(cached) " >&6
78823 else
78824 if test -n "$DOXYGEN"; then
78825 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78826 else
78827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78828 for as_dir in $PATH
78830 IFS=$as_save_IFS
78831 test -z "$as_dir" && as_dir=.
78832 for ac_exec_ext in '' $ac_executable_extensions; do
78833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78834 ac_cv_prog_DOXYGEN="yes"
78835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78836 break 2
78838 done
78839 done
78840 IFS=$as_save_IFS
78842 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78845 DOXYGEN=$ac_cv_prog_DOXYGEN
78846 if test -n "$DOXYGEN"; then
78847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78848 $as_echo "$DOXYGEN" >&6; }
78849 else
78850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78851 $as_echo "no" >&6; }
78855 # Extract the first word of "dot", so it can be a program name with args.
78856 set dummy dot; ac_word=$2
78857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78858 $as_echo_n "checking for $ac_word... " >&6; }
78859 if test "${ac_cv_prog_DOT+set}" = set; then :
78860 $as_echo_n "(cached) " >&6
78861 else
78862 if test -n "$DOT"; then
78863 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78864 else
78865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78866 for as_dir in $PATH
78868 IFS=$as_save_IFS
78869 test -z "$as_dir" && as_dir=.
78870 for ac_exec_ext in '' $ac_executable_extensions; do
78871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78872 ac_cv_prog_DOT="yes"
78873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78874 break 2
78876 done
78877 done
78878 IFS=$as_save_IFS
78880 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78883 DOT=$ac_cv_prog_DOT
78884 if test -n "$DOT"; then
78885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78886 $as_echo "$DOT" >&6; }
78887 else
78888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78889 $as_echo "no" >&6; }
78894 # Check for docbook
78895 # Extract the first word of "xsltproc", so it can be a program name with args.
78896 set dummy xsltproc; ac_word=$2
78897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78898 $as_echo_n "checking for $ac_word... " >&6; }
78899 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78900 $as_echo_n "(cached) " >&6
78901 else
78902 if test -n "$XSLTPROC"; then
78903 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78904 else
78905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78906 for as_dir in $PATH
78908 IFS=$as_save_IFS
78909 test -z "$as_dir" && as_dir=.
78910 for ac_exec_ext in '' $ac_executable_extensions; do
78911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78912 ac_cv_prog_XSLTPROC="yes"
78913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78914 break 2
78916 done
78917 done
78918 IFS=$as_save_IFS
78920 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78923 XSLTPROC=$ac_cv_prog_XSLTPROC
78924 if test -n "$XSLTPROC"; then
78925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78926 $as_echo "$XSLTPROC" >&6; }
78927 else
78928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78929 $as_echo "no" >&6; }
78933 # Extract the first word of "xmllint", so it can be a program name with args.
78934 set dummy xmllint; ac_word=$2
78935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78936 $as_echo_n "checking for $ac_word... " >&6; }
78937 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78938 $as_echo_n "(cached) " >&6
78939 else
78940 if test -n "$XMLLINT"; then
78941 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
78942 else
78943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78944 for as_dir in $PATH
78946 IFS=$as_save_IFS
78947 test -z "$as_dir" && as_dir=.
78948 for ac_exec_ext in '' $ac_executable_extensions; do
78949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78950 ac_cv_prog_XMLLINT="yes"
78951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78952 break 2
78954 done
78955 done
78956 IFS=$as_save_IFS
78958 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
78961 XMLLINT=$ac_cv_prog_XMLLINT
78962 if test -n "$XMLLINT"; then
78963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
78964 $as_echo "$XMLLINT" >&6; }
78965 else
78966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78967 $as_echo "no" >&6; }
78973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
78974 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
78975 glibcxx_stylesheets=no
78976 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
78977 glibcxx_stylesheets=yes
78979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
78980 $as_echo "$glibcxx_stylesheets" >&6; }
78982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
78983 $as_echo_n "checking for local stylesheet directory... " >&6; }
78984 glibcxx_local_stylesheets=no
78985 if test x"$glibcxx_stylesheets" = x"yes"; then
78986 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
78987 glibcxx_local_stylesheets=yes
78988 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
78990 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
78991 glibcxx_local_stylesheets=yes
78992 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
78994 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
78995 glibcxx_local_stylesheets=yes
78996 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
78999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79000 $as_echo "$glibcxx_local_stylesheets" >&6; }
79002 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79004 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79005 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79006 else
79007 glibcxx_stylesheets=no
79010 # Check for epub3 dependencies.
79011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79012 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79013 glibcxx_epub_stylesheets=no
79014 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79015 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79016 glibcxx_epub_stylesheets=yes
79019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79020 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79021 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79022 BUILD_EPUB_TRUE=
79023 BUILD_EPUB_FALSE='#'
79024 else
79025 BUILD_EPUB_TRUE='#'
79026 BUILD_EPUB_FALSE=
79032 # Check for xml/html dependencies.
79033 if test $ac_cv_prog_DOXYGEN = "yes" &&
79034 test $ac_cv_prog_DOT = "yes" &&
79035 test $ac_cv_prog_XSLTPROC = "yes" &&
79036 test $ac_cv_prog_XMLLINT = "yes" &&
79037 test $glibcxx_stylesheets = "yes"; then
79038 BUILD_XML_TRUE=
79039 BUILD_XML_FALSE='#'
79040 else
79041 BUILD_XML_TRUE='#'
79042 BUILD_XML_FALSE=
79046 if test $ac_cv_prog_DOXYGEN = "yes" &&
79047 test $ac_cv_prog_DOT = "yes" &&
79048 test $ac_cv_prog_XSLTPROC = "yes" &&
79049 test $ac_cv_prog_XMLLINT = "yes" &&
79050 test $glibcxx_stylesheets = "yes"; then
79051 BUILD_HTML_TRUE=
79052 BUILD_HTML_FALSE='#'
79053 else
79054 BUILD_HTML_TRUE='#'
79055 BUILD_HTML_FALSE=
79059 # Check for man dependencies.
79060 if test $ac_cv_prog_DOXYGEN = "yes" &&
79061 test $ac_cv_prog_DOT = "yes"; then
79062 BUILD_MAN_TRUE=
79063 BUILD_MAN_FALSE='#'
79064 else
79065 BUILD_MAN_TRUE='#'
79066 BUILD_MAN_FALSE=
79070 # Check for pdf dependencies.
79071 # Extract the first word of "dblatex", so it can be a program name with args.
79072 set dummy dblatex; ac_word=$2
79073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79074 $as_echo_n "checking for $ac_word... " >&6; }
79075 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79076 $as_echo_n "(cached) " >&6
79077 else
79078 if test -n "$DBLATEX"; then
79079 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79080 else
79081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79082 for as_dir in $PATH
79084 IFS=$as_save_IFS
79085 test -z "$as_dir" && as_dir=.
79086 for ac_exec_ext in '' $ac_executable_extensions; do
79087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79088 ac_cv_prog_DBLATEX="yes"
79089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79090 break 2
79092 done
79093 done
79094 IFS=$as_save_IFS
79096 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79099 DBLATEX=$ac_cv_prog_DBLATEX
79100 if test -n "$DBLATEX"; then
79101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79102 $as_echo "$DBLATEX" >&6; }
79103 else
79104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79105 $as_echo "no" >&6; }
79109 # Extract the first word of "pdflatex", so it can be a program name with args.
79110 set dummy pdflatex; ac_word=$2
79111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79112 $as_echo_n "checking for $ac_word... " >&6; }
79113 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79114 $as_echo_n "(cached) " >&6
79115 else
79116 if test -n "$PDFLATEX"; then
79117 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79118 else
79119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79120 for as_dir in $PATH
79122 IFS=$as_save_IFS
79123 test -z "$as_dir" && as_dir=.
79124 for ac_exec_ext in '' $ac_executable_extensions; do
79125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79126 ac_cv_prog_PDFLATEX="yes"
79127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79128 break 2
79130 done
79131 done
79132 IFS=$as_save_IFS
79134 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79137 PDFLATEX=$ac_cv_prog_PDFLATEX
79138 if test -n "$PDFLATEX"; then
79139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79140 $as_echo "$PDFLATEX" >&6; }
79141 else
79142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79143 $as_echo "no" >&6; }
79147 if test $ac_cv_prog_DBLATEX = "yes" &&
79148 test $ac_cv_prog_PDFLATEX = "yes"; then
79149 BUILD_PDF_TRUE=
79150 BUILD_PDF_FALSE='#'
79151 else
79152 BUILD_PDF_TRUE='#'
79153 BUILD_PDF_FALSE=
79158 # Propagate the target-specific source directories through the build chain.
79159 ATOMICITY_SRCDIR=config/${atomicity_dir}
79160 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79161 ATOMIC_FLAGS=${atomic_flags}
79162 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79163 OS_INC_SRCDIR=config/${os_include_dir}
79164 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79165 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79166 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79167 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79179 # Determine cross-compile flags and AM_CONDITIONALs.
79180 #AC_SUBST(GLIBCXX_IS_NATIVE)
79181 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79182 if test $is_hosted = yes; then
79183 GLIBCXX_HOSTED_TRUE=
79184 GLIBCXX_HOSTED_FALSE='#'
79185 else
79186 GLIBCXX_HOSTED_TRUE='#'
79187 GLIBCXX_HOSTED_FALSE=
79191 if test $enable_libstdcxx_pch = yes; then
79192 GLIBCXX_BUILD_PCH_TRUE=
79193 GLIBCXX_BUILD_PCH_FALSE='#'
79194 else
79195 GLIBCXX_BUILD_PCH_TRUE='#'
79196 GLIBCXX_BUILD_PCH_FALSE=
79200 if test $enable_cheaders = c; then
79201 GLIBCXX_C_HEADERS_C_TRUE=
79202 GLIBCXX_C_HEADERS_C_FALSE='#'
79203 else
79204 GLIBCXX_C_HEADERS_C_TRUE='#'
79205 GLIBCXX_C_HEADERS_C_FALSE=
79209 if test $enable_cheaders = c_std; then
79210 GLIBCXX_C_HEADERS_C_STD_TRUE=
79211 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79212 else
79213 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79214 GLIBCXX_C_HEADERS_C_STD_FALSE=
79218 if test $enable_cheaders = c_global; then
79219 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79220 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79221 else
79222 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79223 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79227 if test $c_compatibility = yes; then
79228 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79229 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79230 else
79231 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79232 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79236 if test $enable_libstdcxx_debug = yes; then
79237 GLIBCXX_BUILD_DEBUG_TRUE=
79238 GLIBCXX_BUILD_DEBUG_FALSE='#'
79239 else
79240 GLIBCXX_BUILD_DEBUG_TRUE='#'
79241 GLIBCXX_BUILD_DEBUG_FALSE=
79245 if test $enable_extern_template = yes; then
79246 ENABLE_EXTERN_TEMPLATE_TRUE=
79247 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79248 else
79249 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79250 ENABLE_EXTERN_TEMPLATE_FALSE=
79254 if test $python_mod_dir != no; then
79255 ENABLE_PYTHONDIR_TRUE=
79256 ENABLE_PYTHONDIR_FALSE='#'
79257 else
79258 ENABLE_PYTHONDIR_TRUE='#'
79259 ENABLE_PYTHONDIR_FALSE=
79263 if test $enable_werror = yes; then
79264 ENABLE_WERROR_TRUE=
79265 ENABLE_WERROR_FALSE='#'
79266 else
79267 ENABLE_WERROR_TRUE='#'
79268 ENABLE_WERROR_FALSE=
79272 if test $enable_vtable_verify = yes; then
79273 ENABLE_VTABLE_VERIFY_TRUE=
79274 ENABLE_VTABLE_VERIFY_FALSE='#'
79275 else
79276 ENABLE_VTABLE_VERIFY_TRUE='#'
79277 ENABLE_VTABLE_VERIFY_FALSE=
79281 if test $enable_symvers != no; then
79282 ENABLE_SYMVERS_TRUE=
79283 ENABLE_SYMVERS_FALSE='#'
79284 else
79285 ENABLE_SYMVERS_TRUE='#'
79286 ENABLE_SYMVERS_FALSE=
79290 if test $enable_symvers = gnu; then
79291 ENABLE_SYMVERS_GNU_TRUE=
79292 ENABLE_SYMVERS_GNU_FALSE='#'
79293 else
79294 ENABLE_SYMVERS_GNU_TRUE='#'
79295 ENABLE_SYMVERS_GNU_FALSE=
79299 if test $enable_symvers = gnu-versioned-namespace; then
79300 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79301 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79302 else
79303 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79304 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79308 if test $enable_symvers = darwin; then
79309 ENABLE_SYMVERS_DARWIN_TRUE=
79310 ENABLE_SYMVERS_DARWIN_FALSE='#'
79311 else
79312 ENABLE_SYMVERS_DARWIN_TRUE='#'
79313 ENABLE_SYMVERS_DARWIN_FALSE=
79317 if test $enable_symvers = sun; then
79318 ENABLE_SYMVERS_SUN_TRUE=
79319 ENABLE_SYMVERS_SUN_FALSE='#'
79320 else
79321 ENABLE_SYMVERS_SUN_TRUE='#'
79322 ENABLE_SYMVERS_SUN_FALSE=
79326 if test $enable_libstdcxx_visibility = yes; then
79327 ENABLE_VISIBILITY_TRUE=
79328 ENABLE_VISIBILITY_FALSE='#'
79329 else
79330 ENABLE_VISIBILITY_TRUE='#'
79331 ENABLE_VISIBILITY_FALSE=
79335 if test $enable_libstdcxx_cxx11_abi = yes; then
79336 ENABLE_CXX11_ABI_TRUE=
79337 ENABLE_CXX11_ABI_FALSE='#'
79338 else
79339 ENABLE_CXX11_ABI_TRUE='#'
79340 ENABLE_CXX11_ABI_FALSE=
79344 if test $ac_ldbl_compat = yes; then
79345 GLIBCXX_LDBL_COMPAT_TRUE=
79346 GLIBCXX_LDBL_COMPAT_FALSE='#'
79347 else
79348 GLIBCXX_LDBL_COMPAT_TRUE='#'
79349 GLIBCXX_LDBL_COMPAT_FALSE=
79355 cat >confcache <<\_ACEOF
79356 # This file is a shell script that caches the results of configure
79357 # tests run on this system so they can be shared between configure
79358 # scripts and configure runs, see configure's option --config-cache.
79359 # It is not useful on other systems. If it contains results you don't
79360 # want to keep, you may remove or edit it.
79362 # config.status only pays attention to the cache file if you give it
79363 # the --recheck option to rerun configure.
79365 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79366 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79367 # following values.
79369 _ACEOF
79371 # The following way of writing the cache mishandles newlines in values,
79372 # but we know of no workaround that is simple, portable, and efficient.
79373 # So, we kill variables containing newlines.
79374 # Ultrix sh set writes to stderr and can't be redirected directly,
79375 # and sets the high bit in the cache file unless we assign to the vars.
79377 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79378 eval ac_val=\$$ac_var
79379 case $ac_val in #(
79380 *${as_nl}*)
79381 case $ac_var in #(
79382 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79383 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79384 esac
79385 case $ac_var in #(
79386 _ | IFS | as_nl) ;; #(
79387 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79388 *) { eval $ac_var=; unset $ac_var;} ;;
79389 esac ;;
79390 esac
79391 done
79393 (set) 2>&1 |
79394 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79395 *${as_nl}ac_space=\ *)
79396 # `set' does not quote correctly, so add quotes: double-quote
79397 # substitution turns \\\\ into \\, and sed turns \\ into \.
79398 sed -n \
79399 "s/'/'\\\\''/g;
79400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79401 ;; #(
79403 # `set' quotes correctly as required by POSIX, so do not add quotes.
79404 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79406 esac |
79407 sort
79409 sed '
79410 /^ac_cv_env_/b end
79411 t clear
79412 :clear
79413 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79414 t end
79415 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79416 :end' >>confcache
79417 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79418 if test -w "$cache_file"; then
79419 test "x$cache_file" != "x/dev/null" &&
79420 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79421 $as_echo "$as_me: updating cache $cache_file" >&6;}
79422 cat confcache >$cache_file
79423 else
79424 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79425 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79428 rm -f confcache
79430 if test ${multilib} = yes; then
79431 multilib_arg="--enable-multilib"
79432 else
79433 multilib_arg=
79436 # Export all the install information.
79438 glibcxx_toolexecdir=no
79439 glibcxx_toolexeclibdir=no
79440 glibcxx_prefixdir=$prefix
79442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79443 $as_echo_n "checking for gxx-include-dir... " >&6; }
79445 # Check whether --with-gxx-include-dir was given.
79446 if test "${with_gxx_include_dir+set}" = set; then :
79447 withval=$with_gxx_include_dir; case "$withval" in
79448 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79449 no) gxx_include_dir=no ;;
79450 *) gxx_include_dir=$withval ;;
79451 esac
79452 else
79453 gxx_include_dir=no
79456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79457 $as_echo "$gxx_include_dir" >&6; }
79459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79460 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79461 # Check whether --enable-version-specific-runtime-libs was given.
79462 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79463 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79464 yes) version_specific_libs=yes ;;
79465 no) version_specific_libs=no ;;
79466 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79467 esac
79468 else
79469 version_specific_libs=no
79472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79473 $as_echo "$version_specific_libs" >&6; }
79475 # Default case for install directory for include files.
79476 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79477 gxx_include_dir='include/c++/${gcc_version}'
79478 if test -n "$with_cross_host" &&
79479 test x"$with_cross_host" != x"no"; then
79480 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79481 else
79482 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79486 # Version-specific runtime libs processing.
79487 if test $version_specific_libs = yes; then
79488 # Need the gcc compiler version to know where to install libraries
79489 # and header files if --enable-version-specific-runtime-libs option
79490 # is selected. FIXME: these variables are misnamed, there are
79491 # no executables installed in _toolexecdir or _toolexeclibdir.
79492 if test x"$gxx_include_dir" = x"no"; then
79493 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79495 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79496 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79499 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79500 # Install a library built with a cross compiler in tooldir, not libdir.
79501 if test x"$glibcxx_toolexecdir" = x"no"; then
79502 if test -n "$with_cross_host" &&
79503 test x"$with_cross_host" != x"no"; then
79504 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79505 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79506 else
79507 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79508 glibcxx_toolexeclibdir='${libdir}'
79510 multi_os_directory=`$CXX -print-multi-os-directory`
79511 case $multi_os_directory in
79512 .) ;; # Avoid trailing /.
79513 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79514 esac
79517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79518 $as_echo_n "checking for install location... " >&6; }
79519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79520 $as_echo "$gxx_include_dir" >&6; }
79528 # Export all the include and flag information to Makefiles.
79530 # Used for every C++ compile we perform.
79531 GLIBCXX_INCLUDES="\
79532 -I$glibcxx_builddir/include/$host_alias \
79533 -I$glibcxx_builddir/include \
79534 -I$glibcxx_srcdir/libsupc++"
79536 # For Canadian crosses, pick this up too.
79537 if test $CANADIAN = yes; then
79538 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79541 # Stuff in the actual top level. Currently only used by libsupc++ to
79542 # get unwind* headers from the libgcc dir.
79543 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79544 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79546 # Now, export this to all the little Makefiles....
79551 # Optimization flags that are probably a good idea for thrill-seekers. Just
79552 # uncomment the lines below and make, everything else is ready to go...
79553 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79554 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79557 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79561 ac_config_files="$ac_config_files Makefile"
79563 ac_config_files="$ac_config_files scripts/testsuite_flags"
79565 ac_config_files="$ac_config_files scripts/extract_symvers"
79567 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79570 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79571 # that multilib installs will end up installed in the correct place.
79572 # The testsuite needs it for multilib-aware ABI baseline files.
79573 # To work around this not being passed down from config-ml.in ->
79574 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79575 # append it here. Only modify Makefiles that have just been created.
79577 # Also, get rid of this simulated-VPATH thing that automake does.
79578 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
79581 ac_config_commands="$ac_config_commands generate-headers"
79584 cat >confcache <<\_ACEOF
79585 # This file is a shell script that caches the results of configure
79586 # tests run on this system so they can be shared between configure
79587 # scripts and configure runs, see configure's option --config-cache.
79588 # It is not useful on other systems. If it contains results you don't
79589 # want to keep, you may remove or edit it.
79591 # config.status only pays attention to the cache file if you give it
79592 # the --recheck option to rerun configure.
79594 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79595 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79596 # following values.
79598 _ACEOF
79600 # The following way of writing the cache mishandles newlines in values,
79601 # but we know of no workaround that is simple, portable, and efficient.
79602 # So, we kill variables containing newlines.
79603 # Ultrix sh set writes to stderr and can't be redirected directly,
79604 # and sets the high bit in the cache file unless we assign to the vars.
79606 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79607 eval ac_val=\$$ac_var
79608 case $ac_val in #(
79609 *${as_nl}*)
79610 case $ac_var in #(
79611 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79612 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79613 esac
79614 case $ac_var in #(
79615 _ | IFS | as_nl) ;; #(
79616 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79617 *) { eval $ac_var=; unset $ac_var;} ;;
79618 esac ;;
79619 esac
79620 done
79622 (set) 2>&1 |
79623 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79624 *${as_nl}ac_space=\ *)
79625 # `set' does not quote correctly, so add quotes: double-quote
79626 # substitution turns \\\\ into \\, and sed turns \\ into \.
79627 sed -n \
79628 "s/'/'\\\\''/g;
79629 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79630 ;; #(
79632 # `set' quotes correctly as required by POSIX, so do not add quotes.
79633 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79635 esac |
79636 sort
79638 sed '
79639 /^ac_cv_env_/b end
79640 t clear
79641 :clear
79642 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79643 t end
79644 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79645 :end' >>confcache
79646 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79647 if test -w "$cache_file"; then
79648 test "x$cache_file" != "x/dev/null" &&
79649 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79650 $as_echo "$as_me: updating cache $cache_file" >&6;}
79651 cat confcache >$cache_file
79652 else
79653 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79654 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79657 rm -f confcache
79659 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79660 # Let make expand exec_prefix.
79661 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79663 DEFS=-DHAVE_CONFIG_H
79665 ac_libobjs=
79666 ac_ltlibobjs=
79667 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79668 # 1. Remove the extension, and $U if already installed.
79669 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79670 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79671 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79672 # will be set to the directory where LIBOBJS objects are built.
79673 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79674 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79675 done
79676 LIBOBJS=$ac_libobjs
79678 LTLIBOBJS=$ac_ltlibobjs
79681 if test -n "$EXEEXT"; then
79682 am__EXEEXT_TRUE=
79683 am__EXEEXT_FALSE='#'
79684 else
79685 am__EXEEXT_TRUE='#'
79686 am__EXEEXT_FALSE=
79689 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79690 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79693 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79694 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79697 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79698 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79701 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79702 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79705 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79706 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79709 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79710 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79713 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79714 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79717 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79718 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79721 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79722 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79725 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79726 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79729 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79730 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79733 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79734 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79737 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79738 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79741 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79742 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79745 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79746 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79749 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79750 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79753 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79754 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79757 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79758 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79761 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79762 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
79763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79765 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79766 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79769 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79770 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79773 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79774 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79777 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79778 as_fn_error "conditional \"BUILD_XML\" was never defined.
79779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79781 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79782 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79785 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79786 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79789 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79790 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79794 : ${CONFIG_STATUS=./config.status}
79795 ac_write_fail=0
79796 ac_clean_files_save=$ac_clean_files
79797 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79798 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79799 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79800 as_write_fail=0
79801 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79802 #! $SHELL
79803 # Generated by $as_me.
79804 # Run this file to recreate the current configuration.
79805 # Compiler output produced by configure, useful for debugging
79806 # configure, is in config.log if it exists.
79808 debug=false
79809 ac_cs_recheck=false
79810 ac_cs_silent=false
79812 SHELL=\${CONFIG_SHELL-$SHELL}
79813 export SHELL
79814 _ASEOF
79815 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79816 ## -------------------- ##
79817 ## M4sh Initialization. ##
79818 ## -------------------- ##
79820 # Be more Bourne compatible
79821 DUALCASE=1; export DUALCASE # for MKS sh
79822 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79823 emulate sh
79824 NULLCMD=:
79825 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79826 # is contrary to our usage. Disable this feature.
79827 alias -g '${1+"$@"}'='"$@"'
79828 setopt NO_GLOB_SUBST
79829 else
79830 case `(set -o) 2>/dev/null` in #(
79831 *posix*) :
79832 set -o posix ;; #(
79833 *) :
79835 esac
79839 as_nl='
79841 export as_nl
79842 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79843 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79844 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79845 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79846 # Prefer a ksh shell builtin over an external printf program on Solaris,
79847 # but without wasting forks for bash or zsh.
79848 if test -z "$BASH_VERSION$ZSH_VERSION" \
79849 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79850 as_echo='print -r --'
79851 as_echo_n='print -rn --'
79852 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79853 as_echo='printf %s\n'
79854 as_echo_n='printf %s'
79855 else
79856 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79857 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79858 as_echo_n='/usr/ucb/echo -n'
79859 else
79860 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79861 as_echo_n_body='eval
79862 arg=$1;
79863 case $arg in #(
79864 *"$as_nl"*)
79865 expr "X$arg" : "X\\(.*\\)$as_nl";
79866 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79867 esac;
79868 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79870 export as_echo_n_body
79871 as_echo_n='sh -c $as_echo_n_body as_echo'
79873 export as_echo_body
79874 as_echo='sh -c $as_echo_body as_echo'
79877 # The user is always right.
79878 if test "${PATH_SEPARATOR+set}" != set; then
79879 PATH_SEPARATOR=:
79880 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79881 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79882 PATH_SEPARATOR=';'
79887 # IFS
79888 # We need space, tab and new line, in precisely that order. Quoting is
79889 # there to prevent editors from complaining about space-tab.
79890 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79891 # splitting by setting IFS to empty value.)
79892 IFS=" "" $as_nl"
79894 # Find who we are. Look in the path if we contain no directory separator.
79895 case $0 in #((
79896 *[\\/]* ) as_myself=$0 ;;
79897 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79898 for as_dir in $PATH
79900 IFS=$as_save_IFS
79901 test -z "$as_dir" && as_dir=.
79902 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79903 done
79904 IFS=$as_save_IFS
79907 esac
79908 # We did not find ourselves, most probably we were run as `sh COMMAND'
79909 # in which case we are not to be found in the path.
79910 if test "x$as_myself" = x; then
79911 as_myself=$0
79913 if test ! -f "$as_myself"; then
79914 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79915 exit 1
79918 # Unset variables that we do not need and which cause bugs (e.g. in
79919 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79920 # suppresses any "Segmentation fault" message there. '((' could
79921 # trigger a bug in pdksh 5.2.14.
79922 for as_var in BASH_ENV ENV MAIL MAILPATH
79923 do eval test x\${$as_var+set} = xset \
79924 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79925 done
79926 PS1='$ '
79927 PS2='> '
79928 PS4='+ '
79930 # NLS nuisances.
79931 LC_ALL=C
79932 export LC_ALL
79933 LANGUAGE=C
79934 export LANGUAGE
79936 # CDPATH.
79937 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79940 # as_fn_error ERROR [LINENO LOG_FD]
79941 # ---------------------------------
79942 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79943 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79944 # script with status $?, using 1 if that was 0.
79945 as_fn_error ()
79947 as_status=$?; test $as_status -eq 0 && as_status=1
79948 if test "$3"; then
79949 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
79950 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
79952 $as_echo "$as_me: error: $1" >&2
79953 as_fn_exit $as_status
79954 } # as_fn_error
79957 # as_fn_set_status STATUS
79958 # -----------------------
79959 # Set $? to STATUS, without forking.
79960 as_fn_set_status ()
79962 return $1
79963 } # as_fn_set_status
79965 # as_fn_exit STATUS
79966 # -----------------
79967 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
79968 as_fn_exit ()
79970 set +e
79971 as_fn_set_status $1
79972 exit $1
79973 } # as_fn_exit
79975 # as_fn_unset VAR
79976 # ---------------
79977 # Portably unset VAR.
79978 as_fn_unset ()
79980 { eval $1=; unset $1;}
79982 as_unset=as_fn_unset
79983 # as_fn_append VAR VALUE
79984 # ----------------------
79985 # Append the text in VALUE to the end of the definition contained in VAR. Take
79986 # advantage of any shell optimizations that allow amortized linear growth over
79987 # repeated appends, instead of the typical quadratic growth present in naive
79988 # implementations.
79989 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
79990 eval 'as_fn_append ()
79992 eval $1+=\$2
79994 else
79995 as_fn_append ()
79997 eval $1=\$$1\$2
79999 fi # as_fn_append
80001 # as_fn_arith ARG...
80002 # ------------------
80003 # Perform arithmetic evaluation on the ARGs, and store the result in the
80004 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80005 # must be portable across $(()) and expr.
80006 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80007 eval 'as_fn_arith ()
80009 as_val=$(( $* ))
80011 else
80012 as_fn_arith ()
80014 as_val=`expr "$@" || test $? -eq 1`
80016 fi # as_fn_arith
80019 if expr a : '\(a\)' >/dev/null 2>&1 &&
80020 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80021 as_expr=expr
80022 else
80023 as_expr=false
80026 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80027 as_basename=basename
80028 else
80029 as_basename=false
80032 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80033 as_dirname=dirname
80034 else
80035 as_dirname=false
80038 as_me=`$as_basename -- "$0" ||
80039 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80040 X"$0" : 'X\(//\)$' \| \
80041 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80042 $as_echo X/"$0" |
80043 sed '/^.*\/\([^/][^/]*\)\/*$/{
80044 s//\1/
80047 /^X\/\(\/\/\)$/{
80048 s//\1/
80051 /^X\/\(\/\).*/{
80052 s//\1/
80055 s/.*/./; q'`
80057 # Avoid depending upon Character Ranges.
80058 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80059 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80060 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80061 as_cr_digits='0123456789'
80062 as_cr_alnum=$as_cr_Letters$as_cr_digits
80064 ECHO_C= ECHO_N= ECHO_T=
80065 case `echo -n x` in #(((((
80066 -n*)
80067 case `echo 'xy\c'` in
80068 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80069 xy) ECHO_C='\c';;
80070 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80071 ECHO_T=' ';;
80072 esac;;
80074 ECHO_N='-n';;
80075 esac
80077 rm -f conf$$ conf$$.exe conf$$.file
80078 if test -d conf$$.dir; then
80079 rm -f conf$$.dir/conf$$.file
80080 else
80081 rm -f conf$$.dir
80082 mkdir conf$$.dir 2>/dev/null
80084 if (echo >conf$$.file) 2>/dev/null; then
80085 if ln -s conf$$.file conf$$ 2>/dev/null; then
80086 as_ln_s='ln -s'
80087 # ... but there are two gotchas:
80088 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80089 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80090 # In both cases, we have to default to `cp -p'.
80091 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80092 as_ln_s='cp -p'
80093 elif ln conf$$.file conf$$ 2>/dev/null; then
80094 as_ln_s=ln
80095 else
80096 as_ln_s='cp -p'
80098 else
80099 as_ln_s='cp -p'
80101 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80102 rmdir conf$$.dir 2>/dev/null
80105 # as_fn_mkdir_p
80106 # -------------
80107 # Create "$as_dir" as a directory, including parents if necessary.
80108 as_fn_mkdir_p ()
80111 case $as_dir in #(
80112 -*) as_dir=./$as_dir;;
80113 esac
80114 test -d "$as_dir" || eval $as_mkdir_p || {
80115 as_dirs=
80116 while :; do
80117 case $as_dir in #(
80118 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80119 *) as_qdir=$as_dir;;
80120 esac
80121 as_dirs="'$as_qdir' $as_dirs"
80122 as_dir=`$as_dirname -- "$as_dir" ||
80123 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80124 X"$as_dir" : 'X\(//\)[^/]' \| \
80125 X"$as_dir" : 'X\(//\)$' \| \
80126 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80127 $as_echo X"$as_dir" |
80128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80129 s//\1/
80132 /^X\(\/\/\)[^/].*/{
80133 s//\1/
80136 /^X\(\/\/\)$/{
80137 s//\1/
80140 /^X\(\/\).*/{
80141 s//\1/
80144 s/.*/./; q'`
80145 test -d "$as_dir" && break
80146 done
80147 test -z "$as_dirs" || eval "mkdir $as_dirs"
80148 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80151 } # as_fn_mkdir_p
80152 if mkdir -p . 2>/dev/null; then
80153 as_mkdir_p='mkdir -p "$as_dir"'
80154 else
80155 test -d ./-p && rmdir ./-p
80156 as_mkdir_p=false
80159 if test -x / >/dev/null 2>&1; then
80160 as_test_x='test -x'
80161 else
80162 if ls -dL / >/dev/null 2>&1; then
80163 as_ls_L_option=L
80164 else
80165 as_ls_L_option=
80167 as_test_x='
80168 eval sh -c '\''
80169 if test -d "$1"; then
80170 test -d "$1/.";
80171 else
80172 case $1 in #(
80173 -*)set "./$1";;
80174 esac;
80175 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80176 ???[sx]*):;;*)false;;esac;fi
80177 '\'' sh
80180 as_executable_p=$as_test_x
80182 # Sed expression to map a string onto a valid CPP name.
80183 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80185 # Sed expression to map a string onto a valid variable name.
80186 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80189 exec 6>&1
80190 ## ----------------------------------- ##
80191 ## Main body of $CONFIG_STATUS script. ##
80192 ## ----------------------------------- ##
80193 _ASEOF
80194 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80197 # Save the log message, to keep $0 and so on meaningful, and to
80198 # report actual input values of CONFIG_FILES etc. instead of their
80199 # values after options handling.
80200 ac_log="
80201 This file was extended by package-unused $as_me version-unused, which was
80202 generated by GNU Autoconf 2.64. Invocation command line was
80204 CONFIG_FILES = $CONFIG_FILES
80205 CONFIG_HEADERS = $CONFIG_HEADERS
80206 CONFIG_LINKS = $CONFIG_LINKS
80207 CONFIG_COMMANDS = $CONFIG_COMMANDS
80208 $ $0 $@
80210 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80213 _ACEOF
80215 case $ac_config_files in *"
80216 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80217 esac
80219 case $ac_config_headers in *"
80220 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80221 esac
80224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80225 # Files that config.status was made for.
80226 config_files="$ac_config_files"
80227 config_headers="$ac_config_headers"
80228 config_commands="$ac_config_commands"
80230 _ACEOF
80232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80233 ac_cs_usage="\
80234 \`$as_me' instantiates files and other configuration actions
80235 from templates according to the current configuration. Unless the files
80236 and actions are specified as TAGs, all are instantiated by default.
80238 Usage: $0 [OPTION]... [TAG]...
80240 -h, --help print this help, then exit
80241 -V, --version print version number and configuration settings, then exit
80242 -q, --quiet, --silent
80243 do not print progress messages
80244 -d, --debug don't remove temporary files
80245 --recheck update $as_me by reconfiguring in the same conditions
80246 --file=FILE[:TEMPLATE]
80247 instantiate the configuration file FILE
80248 --header=FILE[:TEMPLATE]
80249 instantiate the configuration header FILE
80251 Configuration files:
80252 $config_files
80254 Configuration headers:
80255 $config_headers
80257 Configuration commands:
80258 $config_commands
80260 Report bugs to the package provider."
80262 _ACEOF
80263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80264 ac_cs_version="\\
80265 package-unused config.status version-unused
80266 configured by $0, generated by GNU Autoconf 2.64,
80267 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80269 Copyright (C) 2009 Free Software Foundation, Inc.
80270 This config.status script is free software; the Free Software Foundation
80271 gives unlimited permission to copy, distribute and modify it."
80273 ac_pwd='$ac_pwd'
80274 srcdir='$srcdir'
80275 INSTALL='$INSTALL'
80276 MKDIR_P='$MKDIR_P'
80277 AWK='$AWK'
80278 test -n "\$AWK" || AWK=awk
80279 _ACEOF
80281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80282 # The default lists apply if the user does not specify any file.
80283 ac_need_defaults=:
80284 while test $# != 0
80286 case $1 in
80287 --*=*)
80288 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80289 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80290 ac_shift=:
80293 ac_option=$1
80294 ac_optarg=$2
80295 ac_shift=shift
80297 esac
80299 case $ac_option in
80300 # Handling of the options.
80301 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80302 ac_cs_recheck=: ;;
80303 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80304 $as_echo "$ac_cs_version"; exit ;;
80305 --debug | --debu | --deb | --de | --d | -d )
80306 debug=: ;;
80307 --file | --fil | --fi | --f )
80308 $ac_shift
80309 case $ac_optarg in
80310 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80311 esac
80312 as_fn_append CONFIG_FILES " '$ac_optarg'"
80313 ac_need_defaults=false;;
80314 --header | --heade | --head | --hea )
80315 $ac_shift
80316 case $ac_optarg in
80317 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80318 esac
80319 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80320 ac_need_defaults=false;;
80321 --he | --h)
80322 # Conflict between --help and --header
80323 as_fn_error "ambiguous option: \`$1'
80324 Try \`$0 --help' for more information.";;
80325 --help | --hel | -h )
80326 $as_echo "$ac_cs_usage"; exit ;;
80327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80328 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80329 ac_cs_silent=: ;;
80331 # This is an error.
80332 -*) as_fn_error "unrecognized option: \`$1'
80333 Try \`$0 --help' for more information." ;;
80335 *) as_fn_append ac_config_targets " $1"
80336 ac_need_defaults=false ;;
80338 esac
80339 shift
80340 done
80342 ac_configure_extra_args=
80344 if $ac_cs_silent; then
80345 exec 6>/dev/null
80346 ac_configure_extra_args="$ac_configure_extra_args --silent"
80349 _ACEOF
80350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80351 if \$ac_cs_recheck; then
80352 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80353 shift
80354 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80355 CONFIG_SHELL='$SHELL'
80356 export CONFIG_SHELL
80357 exec "\$@"
80360 _ACEOF
80361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80362 exec 5>>config.log
80364 echo
80365 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80366 ## Running $as_me. ##
80367 _ASBOX
80368 $as_echo "$ac_log"
80369 } >&5
80371 _ACEOF
80372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80374 # INIT-COMMANDS
80377 srcdir="$srcdir"
80378 host="$host"
80379 target="$target"
80380 with_multisubdir="$with_multisubdir"
80381 with_multisrctop="$with_multisrctop"
80382 with_target_subdir="$with_target_subdir"
80383 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80384 multi_basedir="$multi_basedir"
80385 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80386 CC="$CC"
80387 CXX="$CXX"
80388 GFORTRAN="$GFORTRAN"
80389 GCJ="$GCJ"
80392 # The HP-UX ksh and POSIX shell print the target directory to stdout
80393 # if CDPATH is set.
80394 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80396 sed_quote_subst='$sed_quote_subst'
80397 double_quote_subst='$double_quote_subst'
80398 delay_variable_subst='$delay_variable_subst'
80399 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80400 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80401 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80402 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80403 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80404 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80405 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80406 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80407 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80408 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80409 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80410 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80411 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80412 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80413 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80414 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80415 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80416 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80417 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80418 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80419 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80420 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80421 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80422 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80423 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80424 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80425 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80426 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80427 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80428 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80429 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80430 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80431 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80432 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80433 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80434 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80435 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80436 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80437 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80438 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80439 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80440 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80441 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80442 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80443 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80444 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80445 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80446 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80447 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"`'
80448 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80449 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80450 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80451 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80452 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80453 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80454 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80455 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80456 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80457 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80458 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80459 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80460 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80461 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80462 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80463 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80464 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80465 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80466 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80467 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80468 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80469 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80470 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80471 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80472 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80473 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80474 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80475 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80476 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80477 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80478 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80479 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80480 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80481 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80482 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80483 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80484 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80485 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80486 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80487 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80488 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80489 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80490 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80491 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80492 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80493 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80494 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80495 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80496 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80497 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80498 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80499 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80500 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80501 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80502 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80503 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80504 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80505 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80506 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80507 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80508 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80509 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80510 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80511 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80512 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80513 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80514 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80515 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80516 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80517 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80518 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80519 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80520 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80521 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80522 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80523 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80524 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80525 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80526 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80527 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80528 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80529 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80530 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80531 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80532 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80533 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80534 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80535 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80536 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80537 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80538 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80539 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80540 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80541 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80542 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80543 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80544 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80545 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80546 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80547 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80548 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80549 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80550 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80551 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80552 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80553 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80554 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80555 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80556 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80557 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80558 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80559 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80560 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80561 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80562 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80563 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80564 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80565 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80566 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80567 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80568 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80569 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80570 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80571 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80572 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80573 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80575 LTCC='$LTCC'
80576 LTCFLAGS='$LTCFLAGS'
80577 compiler='$compiler_DEFAULT'
80579 # A function that is used when there is no print builtin or printf.
80580 func_fallback_echo ()
80582 eval 'cat <<_LTECHO_EOF
80584 _LTECHO_EOF'
80587 # Quote evaled strings.
80588 for var in SHELL \
80589 ECHO \
80590 SED \
80591 GREP \
80592 EGREP \
80593 FGREP \
80594 LD \
80595 NM \
80596 LN_S \
80597 lt_SP2NL \
80598 lt_NL2SP \
80599 reload_flag \
80600 OBJDUMP \
80601 deplibs_check_method \
80602 file_magic_cmd \
80603 AR \
80604 AR_FLAGS \
80605 STRIP \
80606 RANLIB \
80607 CC \
80608 CFLAGS \
80609 compiler \
80610 lt_cv_sys_global_symbol_pipe \
80611 lt_cv_sys_global_symbol_to_cdecl \
80612 lt_cv_sys_global_symbol_to_c_name_address \
80613 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80614 lt_prog_compiler_no_builtin_flag \
80615 lt_prog_compiler_wl \
80616 lt_prog_compiler_pic \
80617 lt_prog_compiler_static \
80618 lt_cv_prog_compiler_c_o \
80619 need_locks \
80620 DSYMUTIL \
80621 NMEDIT \
80622 LIPO \
80623 OTOOL \
80624 OTOOL64 \
80625 shrext_cmds \
80626 export_dynamic_flag_spec \
80627 whole_archive_flag_spec \
80628 compiler_needs_object \
80629 with_gnu_ld \
80630 allow_undefined_flag \
80631 no_undefined_flag \
80632 hardcode_libdir_flag_spec \
80633 hardcode_libdir_flag_spec_ld \
80634 hardcode_libdir_separator \
80635 fix_srcfile_path \
80636 exclude_expsyms \
80637 include_expsyms \
80638 file_list_spec \
80639 variables_saved_for_relink \
80640 libname_spec \
80641 library_names_spec \
80642 soname_spec \
80643 install_override_mode \
80644 finish_eval \
80645 old_striplib \
80646 striplib \
80647 compiler_lib_search_dirs \
80648 predep_objects \
80649 postdep_objects \
80650 predeps \
80651 postdeps \
80652 compiler_lib_search_path \
80653 LD_CXX \
80654 reload_flag_CXX \
80655 compiler_CXX \
80656 lt_prog_compiler_no_builtin_flag_CXX \
80657 lt_prog_compiler_wl_CXX \
80658 lt_prog_compiler_pic_CXX \
80659 lt_prog_compiler_static_CXX \
80660 lt_cv_prog_compiler_c_o_CXX \
80661 export_dynamic_flag_spec_CXX \
80662 whole_archive_flag_spec_CXX \
80663 compiler_needs_object_CXX \
80664 with_gnu_ld_CXX \
80665 allow_undefined_flag_CXX \
80666 no_undefined_flag_CXX \
80667 hardcode_libdir_flag_spec_CXX \
80668 hardcode_libdir_flag_spec_ld_CXX \
80669 hardcode_libdir_separator_CXX \
80670 fix_srcfile_path_CXX \
80671 exclude_expsyms_CXX \
80672 include_expsyms_CXX \
80673 file_list_spec_CXX \
80674 compiler_lib_search_dirs_CXX \
80675 predep_objects_CXX \
80676 postdep_objects_CXX \
80677 predeps_CXX \
80678 postdeps_CXX \
80679 compiler_lib_search_path_CXX; do
80680 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80681 *[\\\\\\\`\\"\\\$]*)
80682 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80685 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80687 esac
80688 done
80690 # Double-quote double-evaled strings.
80691 for var in reload_cmds \
80692 old_postinstall_cmds \
80693 old_postuninstall_cmds \
80694 old_archive_cmds \
80695 extract_expsyms_cmds \
80696 old_archive_from_new_cmds \
80697 old_archive_from_expsyms_cmds \
80698 archive_cmds \
80699 archive_expsym_cmds \
80700 module_cmds \
80701 module_expsym_cmds \
80702 export_symbols_cmds \
80703 prelink_cmds \
80704 postinstall_cmds \
80705 postuninstall_cmds \
80706 finish_cmds \
80707 sys_lib_search_path_spec \
80708 sys_lib_dlsearch_path_spec \
80709 reload_cmds_CXX \
80710 old_archive_cmds_CXX \
80711 old_archive_from_new_cmds_CXX \
80712 old_archive_from_expsyms_cmds_CXX \
80713 archive_cmds_CXX \
80714 archive_expsym_cmds_CXX \
80715 module_cmds_CXX \
80716 module_expsym_cmds_CXX \
80717 export_symbols_cmds_CXX \
80718 prelink_cmds_CXX; do
80719 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80720 *[\\\\\\\`\\"\\\$]*)
80721 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80724 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80726 esac
80727 done
80729 ac_aux_dir='$ac_aux_dir'
80730 xsi_shell='$xsi_shell'
80731 lt_shell_append='$lt_shell_append'
80733 # See if we are running on zsh, and set the options which allow our
80734 # commands through without removal of \ escapes INIT.
80735 if test -n "\${ZSH_VERSION+set}" ; then
80736 setopt NO_GLOB_SUBST
80740 PACKAGE='$PACKAGE'
80741 VERSION='$VERSION'
80742 TIMESTAMP='$TIMESTAMP'
80743 RM='$RM'
80744 ofile='$ofile'
80751 GCC="$GCC"
80752 CC="$CC"
80753 acx_cv_header_stdint="$acx_cv_header_stdint"
80754 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80755 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80756 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80757 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80758 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80759 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80760 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80761 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80762 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80763 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80764 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80765 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80766 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80769 _ACEOF
80771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80773 # Handling of arguments.
80774 for ac_config_target in $ac_config_targets
80776 case $ac_config_target in
80777 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80778 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80779 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80780 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80781 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80782 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80783 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80784 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80785 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80786 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80787 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80788 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80789 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80790 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80791 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80792 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80793 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80794 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80796 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80797 esac
80798 done
80801 # If the user did not use the arguments to specify the items to instantiate,
80802 # then the envvar interface is used. Set only those that are not.
80803 # We use the long form for the default assignment because of an extremely
80804 # bizarre bug on SunOS 4.1.3.
80805 if $ac_need_defaults; then
80806 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80807 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80808 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80811 # Have a temporary directory for convenience. Make it in the build tree
80812 # simply because there is no reason against having it here, and in addition,
80813 # creating and moving files from /tmp can sometimes cause problems.
80814 # Hook for its removal unless debugging.
80815 # Note that there is a small window in which the directory will not be cleaned:
80816 # after its creation but before its name has been assigned to `$tmp'.
80817 $debug ||
80819 tmp=
80820 trap 'exit_status=$?
80821 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80823 trap 'as_fn_exit 1' 1 2 13 15
80825 # Create a (secure) tmp directory for tmp files.
80828 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80829 test -n "$tmp" && test -d "$tmp"
80830 } ||
80832 tmp=./conf$$-$RANDOM
80833 (umask 077 && mkdir "$tmp")
80834 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80836 # Set up the scripts for CONFIG_FILES section.
80837 # No need to generate them if there are no CONFIG_FILES.
80838 # This happens for instance with `./config.status config.h'.
80839 if test -n "$CONFIG_FILES"; then
80842 ac_cr=`echo X | tr X '\015'`
80843 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80844 # But we know of no other shell where ac_cr would be empty at this
80845 # point, so we can use a bashism as a fallback.
80846 if test "x$ac_cr" = x; then
80847 eval ac_cr=\$\'\\r\'
80849 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80850 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80851 ac_cs_awk_cr='\r'
80852 else
80853 ac_cs_awk_cr=$ac_cr
80856 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80857 _ACEOF
80861 echo "cat >conf$$subs.awk <<_ACEOF" &&
80862 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80863 echo "_ACEOF"
80864 } >conf$$subs.sh ||
80865 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80866 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80867 ac_delim='%!_!# '
80868 for ac_last_try in false false false false false :; do
80869 . ./conf$$subs.sh ||
80870 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80872 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80873 if test $ac_delim_n = $ac_delim_num; then
80874 break
80875 elif $ac_last_try; then
80876 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80877 else
80878 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80880 done
80881 rm -f conf$$subs.sh
80883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80884 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80885 _ACEOF
80886 sed -n '
80888 s/^/S["/; s/!.*/"]=/
80891 s/^[^!]*!//
80892 :repl
80893 t repl
80894 s/'"$ac_delim"'$//
80895 t delim
80898 s/\(.\{148\}\).*/\1/
80899 t more1
80900 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80903 b repl
80904 :more1
80905 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80908 s/.\{148\}//
80909 t nl
80910 :delim
80912 s/\(.\{148\}\).*/\1/
80913 t more2
80914 s/["\\]/\\&/g; s/^/"/; s/$/"/
80917 :more2
80918 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80921 s/.\{148\}//
80922 t delim
80923 ' <conf$$subs.awk | sed '
80924 /^[^""]/{
80926 s/\n//
80928 ' >>$CONFIG_STATUS || ac_write_fail=1
80929 rm -f conf$$subs.awk
80930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80931 _ACAWK
80932 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
80933 for (key in S) S_is_set[key] = 1
80934 FS = "\a"
80938 line = $ 0
80939 nfields = split(line, field, "@")
80940 substed = 0
80941 len = length(field[1])
80942 for (i = 2; i < nfields; i++) {
80943 key = field[i]
80944 keylen = length(key)
80945 if (S_is_set[key]) {
80946 value = S[key]
80947 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
80948 len += length(value) + length(field[++i])
80949 substed = 1
80950 } else
80951 len += 1 + keylen
80954 print line
80957 _ACAWK
80958 _ACEOF
80959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80960 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
80961 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
80962 else
80964 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
80965 || as_fn_error "could not setup config files machinery" "$LINENO" 5
80966 _ACEOF
80968 # VPATH may cause trouble with some makes, so we remove $(srcdir),
80969 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
80970 # trailing colons and then remove the whole line if VPATH becomes empty
80971 # (actually we leave an empty line to preserve line numbers).
80972 if test "x$srcdir" = x.; then
80973 ac_vpsub='/^[ ]*VPATH[ ]*=/{
80974 s/:*\$(srcdir):*/:/
80975 s/:*\${srcdir}:*/:/
80976 s/:*@srcdir@:*/:/
80977 s/^\([^=]*=[ ]*\):*/\1/
80978 s/:*$//
80979 s/^[^=]*=[ ]*$//
80983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80984 fi # test -n "$CONFIG_FILES"
80986 # Set up the scripts for CONFIG_HEADERS section.
80987 # No need to generate them if there are no CONFIG_HEADERS.
80988 # This happens for instance with `./config.status Makefile'.
80989 if test -n "$CONFIG_HEADERS"; then
80990 cat >"$tmp/defines.awk" <<\_ACAWK ||
80991 BEGIN {
80992 _ACEOF
80994 # Transform confdefs.h into an awk script `defines.awk', embedded as
80995 # here-document in config.status, that substitutes the proper values into
80996 # config.h.in to produce config.h.
80998 # Create a delimiter string that does not exist in confdefs.h, to ease
80999 # handling of long lines.
81000 ac_delim='%!_!# '
81001 for ac_last_try in false false :; do
81002 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81003 if test -z "$ac_t"; then
81004 break
81005 elif $ac_last_try; then
81006 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81007 else
81008 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81010 done
81012 # For the awk script, D is an array of macro values keyed by name,
81013 # likewise P contains macro parameters if any. Preserve backslash
81014 # newline sequences.
81016 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81017 sed -n '
81018 s/.\{148\}/&'"$ac_delim"'/g
81019 t rset
81020 :rset
81021 s/^[ ]*#[ ]*define[ ][ ]*/ /
81022 t def
81024 :def
81025 s/\\$//
81026 t bsnl
81027 s/["\\]/\\&/g
81028 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81029 D["\1"]=" \3"/p
81030 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81032 :bsnl
81033 s/["\\]/\\&/g
81034 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81035 D["\1"]=" \3\\\\\\n"\\/p
81036 t cont
81037 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81038 t cont
81040 :cont
81042 s/.\{148\}/&'"$ac_delim"'/g
81043 t clear
81044 :clear
81045 s/\\$//
81046 t bsnlc
81047 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81049 :bsnlc
81050 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81051 b cont
81052 ' <confdefs.h | sed '
81053 s/'"$ac_delim"'/"\\\
81054 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81057 for (key in D) D_is_set[key] = 1
81058 FS = "\a"
81060 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81061 line = \$ 0
81062 split(line, arg, " ")
81063 if (arg[1] == "#") {
81064 defundef = arg[2]
81065 mac1 = arg[3]
81066 } else {
81067 defundef = substr(arg[1], 2)
81068 mac1 = arg[2]
81070 split(mac1, mac2, "(") #)
81071 macro = mac2[1]
81072 prefix = substr(line, 1, index(line, defundef) - 1)
81073 if (D_is_set[macro]) {
81074 # Preserve the white space surrounding the "#".
81075 print prefix "define", macro P[macro] D[macro]
81076 next
81077 } else {
81078 # Replace #undef with comments. This is necessary, for example,
81079 # in the case of _POSIX_SOURCE, which is predefined and required
81080 # on some systems where configure will not decide to define it.
81081 if (defundef == "undef") {
81082 print "/*", prefix defundef, macro, "*/"
81083 next
81087 { print }
81088 _ACAWK
81089 _ACEOF
81090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81091 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81092 fi # test -n "$CONFIG_HEADERS"
81095 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81096 shift
81097 for ac_tag
81099 case $ac_tag in
81100 :[FHLC]) ac_mode=$ac_tag; continue;;
81101 esac
81102 case $ac_mode$ac_tag in
81103 :[FHL]*:*);;
81104 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81105 :[FH]-) ac_tag=-:-;;
81106 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81107 esac
81108 ac_save_IFS=$IFS
81109 IFS=:
81110 set x $ac_tag
81111 IFS=$ac_save_IFS
81112 shift
81113 ac_file=$1
81114 shift
81116 case $ac_mode in
81117 :L) ac_source=$1;;
81118 :[FH])
81119 ac_file_inputs=
81120 for ac_f
81122 case $ac_f in
81123 -) ac_f="$tmp/stdin";;
81124 *) # Look for the file first in the build tree, then in the source tree
81125 # (if the path is not absolute). The absolute path cannot be DOS-style,
81126 # because $ac_f cannot contain `:'.
81127 test -f "$ac_f" ||
81128 case $ac_f in
81129 [\\/$]*) false;;
81130 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81131 esac ||
81132 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81133 esac
81134 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81135 as_fn_append ac_file_inputs " '$ac_f'"
81136 done
81138 # Let's still pretend it is `configure' which instantiates (i.e., don't
81139 # use $as_me), people would be surprised to read:
81140 # /* config.h. Generated by config.status. */
81141 configure_input='Generated from '`
81142 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81143 `' by configure.'
81144 if test x"$ac_file" != x-; then
81145 configure_input="$ac_file. $configure_input"
81146 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81147 $as_echo "$as_me: creating $ac_file" >&6;}
81149 # Neutralize special characters interpreted by sed in replacement strings.
81150 case $configure_input in #(
81151 *\&* | *\|* | *\\* )
81152 ac_sed_conf_input=`$as_echo "$configure_input" |
81153 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81154 *) ac_sed_conf_input=$configure_input;;
81155 esac
81157 case $ac_tag in
81158 *:-:* | *:-) cat >"$tmp/stdin" \
81159 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81160 esac
81162 esac
81164 ac_dir=`$as_dirname -- "$ac_file" ||
81165 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81166 X"$ac_file" : 'X\(//\)[^/]' \| \
81167 X"$ac_file" : 'X\(//\)$' \| \
81168 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81169 $as_echo X"$ac_file" |
81170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81171 s//\1/
81174 /^X\(\/\/\)[^/].*/{
81175 s//\1/
81178 /^X\(\/\/\)$/{
81179 s//\1/
81182 /^X\(\/\).*/{
81183 s//\1/
81186 s/.*/./; q'`
81187 as_dir="$ac_dir"; as_fn_mkdir_p
81188 ac_builddir=.
81190 case "$ac_dir" in
81191 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81193 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81194 # A ".." for each directory in $ac_dir_suffix.
81195 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81196 case $ac_top_builddir_sub in
81197 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81198 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81199 esac ;;
81200 esac
81201 ac_abs_top_builddir=$ac_pwd
81202 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81203 # for backward compatibility:
81204 ac_top_builddir=$ac_top_build_prefix
81206 case $srcdir in
81207 .) # We are building in place.
81208 ac_srcdir=.
81209 ac_top_srcdir=$ac_top_builddir_sub
81210 ac_abs_top_srcdir=$ac_pwd ;;
81211 [\\/]* | ?:[\\/]* ) # Absolute name.
81212 ac_srcdir=$srcdir$ac_dir_suffix;
81213 ac_top_srcdir=$srcdir
81214 ac_abs_top_srcdir=$srcdir ;;
81215 *) # Relative name.
81216 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81217 ac_top_srcdir=$ac_top_build_prefix$srcdir
81218 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81219 esac
81220 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81223 case $ac_mode in
81226 # CONFIG_FILE
81229 case $INSTALL in
81230 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81231 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81232 esac
81233 ac_MKDIR_P=$MKDIR_P
81234 case $MKDIR_P in
81235 [\\/$]* | ?:[\\/]* ) ;;
81236 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81237 esac
81238 _ACEOF
81240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81241 # If the template does not know about datarootdir, expand it.
81242 # FIXME: This hack should be removed a few years after 2.60.
81243 ac_datarootdir_hack=; ac_datarootdir_seen=
81244 ac_sed_dataroot='
81245 /datarootdir/ {
81249 /@datadir@/p
81250 /@docdir@/p
81251 /@infodir@/p
81252 /@localedir@/p
81253 /@mandir@/p'
81254 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81255 *datarootdir*) ac_datarootdir_seen=yes;;
81256 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81258 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81259 _ACEOF
81260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81261 ac_datarootdir_hack='
81262 s&@datadir@&$datadir&g
81263 s&@docdir@&$docdir&g
81264 s&@infodir@&$infodir&g
81265 s&@localedir@&$localedir&g
81266 s&@mandir@&$mandir&g
81267 s&\\\${datarootdir}&$datarootdir&g' ;;
81268 esac
81269 _ACEOF
81271 # Neutralize VPATH when `$srcdir' = `.'.
81272 # Shell code in configure.ac might set extrasub.
81273 # FIXME: do we really want to maintain this feature?
81274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81275 ac_sed_extra="$ac_vpsub
81276 $extrasub
81277 _ACEOF
81278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81280 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81281 s|@configure_input@|$ac_sed_conf_input|;t t
81282 s&@top_builddir@&$ac_top_builddir_sub&;t t
81283 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81284 s&@srcdir@&$ac_srcdir&;t t
81285 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81286 s&@top_srcdir@&$ac_top_srcdir&;t t
81287 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81288 s&@builddir@&$ac_builddir&;t t
81289 s&@abs_builddir@&$ac_abs_builddir&;t t
81290 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81291 s&@INSTALL@&$ac_INSTALL&;t t
81292 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81293 $ac_datarootdir_hack
81295 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81296 || as_fn_error "could not create $ac_file" "$LINENO" 5
81298 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81299 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81300 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81302 which seems to be undefined. Please make sure it is defined." >&5
81303 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81304 which seems to be undefined. Please make sure it is defined." >&2;}
81306 rm -f "$tmp/stdin"
81307 case $ac_file in
81308 -) cat "$tmp/out" && rm -f "$tmp/out";;
81309 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81310 esac \
81311 || as_fn_error "could not create $ac_file" "$LINENO" 5
81315 # CONFIG_HEADER
81317 if test x"$ac_file" != x-; then
81319 $as_echo "/* $configure_input */" \
81320 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81321 } >"$tmp/config.h" \
81322 || as_fn_error "could not create $ac_file" "$LINENO" 5
81323 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81324 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81325 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81326 else
81327 rm -f "$ac_file"
81328 mv "$tmp/config.h" "$ac_file" \
81329 || as_fn_error "could not create $ac_file" "$LINENO" 5
81331 else
81332 $as_echo "/* $configure_input */" \
81333 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81334 || as_fn_error "could not create -" "$LINENO" 5
81336 # Compute "$ac_file"'s index in $config_headers.
81337 _am_arg="$ac_file"
81338 _am_stamp_count=1
81339 for _am_header in $config_headers :; do
81340 case $_am_header in
81341 $_am_arg | $_am_arg:* )
81342 break ;;
81344 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81345 esac
81346 done
81347 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81348 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81349 X"$_am_arg" : 'X\(//\)[^/]' \| \
81350 X"$_am_arg" : 'X\(//\)$' \| \
81351 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81352 $as_echo X"$_am_arg" |
81353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81354 s//\1/
81357 /^X\(\/\/\)[^/].*/{
81358 s//\1/
81361 /^X\(\/\/\)$/{
81362 s//\1/
81365 /^X\(\/\).*/{
81366 s//\1/
81369 s/.*/./; q'`/stamp-h$_am_stamp_count
81372 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81373 $as_echo "$as_me: executing $ac_file commands" >&6;}
81375 esac
81378 case $ac_file$ac_mode in
81379 "default-1":C)
81380 # Only add multilib support code if we just rebuilt the top-level
81381 # Makefile.
81382 case " $CONFIG_FILES " in
81383 *" Makefile "*)
81384 ac_file=Makefile . ${multi_basedir}/config-ml.in
81386 esac ;;
81387 "libtool":C)
81389 # See if we are running on zsh, and set the options which allow our
81390 # commands through without removal of \ escapes.
81391 if test -n "${ZSH_VERSION+set}" ; then
81392 setopt NO_GLOB_SUBST
81395 cfgfile="${ofile}T"
81396 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81397 $RM "$cfgfile"
81399 cat <<_LT_EOF >> "$cfgfile"
81400 #! $SHELL
81402 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81403 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81404 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81405 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81407 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81408 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81409 # Written by Gordon Matzigkeit, 1996
81411 # This file is part of GNU Libtool.
81413 # GNU Libtool is free software; you can redistribute it and/or
81414 # modify it under the terms of the GNU General Public License as
81415 # published by the Free Software Foundation; either version 2 of
81416 # the License, or (at your option) any later version.
81418 # As a special exception to the GNU General Public License,
81419 # if you distribute this file as part of a program or library that
81420 # is built using GNU Libtool, you may include this file under the
81421 # same distribution terms that you use for the rest of that program.
81423 # GNU Libtool is distributed in the hope that it will be useful,
81424 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81425 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81426 # GNU General Public License for more details.
81428 # You should have received a copy of the GNU General Public License
81429 # along with GNU Libtool; see the file COPYING. If not, a copy
81430 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81431 # obtained by writing to the Free Software Foundation, Inc.,
81432 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81435 # The names of the tagged configurations supported by this script.
81436 available_tags="CXX "
81438 # ### BEGIN LIBTOOL CONFIG
81440 # Which release of libtool.m4 was used?
81441 macro_version=$macro_version
81442 macro_revision=$macro_revision
81444 # Whether or not to build shared libraries.
81445 build_libtool_libs=$enable_shared
81447 # Whether or not to build static libraries.
81448 build_old_libs=$enable_static
81450 # What type of objects to build.
81451 pic_mode=$pic_mode
81453 # Whether or not to optimize for fast installation.
81454 fast_install=$enable_fast_install
81456 # Shell to use when invoking shell scripts.
81457 SHELL=$lt_SHELL
81459 # An echo program that protects backslashes.
81460 ECHO=$lt_ECHO
81462 # The host system.
81463 host_alias=$host_alias
81464 host=$host
81465 host_os=$host_os
81467 # The build system.
81468 build_alias=$build_alias
81469 build=$build
81470 build_os=$build_os
81472 # A sed program that does not truncate output.
81473 SED=$lt_SED
81475 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81476 Xsed="\$SED -e 1s/^X//"
81478 # A grep program that handles long lines.
81479 GREP=$lt_GREP
81481 # An ERE matcher.
81482 EGREP=$lt_EGREP
81484 # A literal string matcher.
81485 FGREP=$lt_FGREP
81487 # A BSD- or MS-compatible name lister.
81488 NM=$lt_NM
81490 # Whether we need soft or hard links.
81491 LN_S=$lt_LN_S
81493 # What is the maximum length of a command?
81494 max_cmd_len=$max_cmd_len
81496 # Object file suffix (normally "o").
81497 objext=$ac_objext
81499 # Executable file suffix (normally "").
81500 exeext=$exeext
81502 # whether the shell understands "unset".
81503 lt_unset=$lt_unset
81505 # turn spaces into newlines.
81506 SP2NL=$lt_lt_SP2NL
81508 # turn newlines into spaces.
81509 NL2SP=$lt_lt_NL2SP
81511 # An object symbol dumper.
81512 OBJDUMP=$lt_OBJDUMP
81514 # Method to check whether dependent libraries are shared objects.
81515 deplibs_check_method=$lt_deplibs_check_method
81517 # Command to use when deplibs_check_method == "file_magic".
81518 file_magic_cmd=$lt_file_magic_cmd
81520 # The archiver.
81521 AR=$lt_AR
81522 AR_FLAGS=$lt_AR_FLAGS
81524 # A symbol stripping program.
81525 STRIP=$lt_STRIP
81527 # Commands used to install an old-style archive.
81528 RANLIB=$lt_RANLIB
81529 old_postinstall_cmds=$lt_old_postinstall_cmds
81530 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81532 # Whether to use a lock for old archive extraction.
81533 lock_old_archive_extraction=$lock_old_archive_extraction
81535 # A C compiler.
81536 LTCC=$lt_CC
81538 # LTCC compiler flags.
81539 LTCFLAGS=$lt_CFLAGS
81541 # Take the output of nm and produce a listing of raw symbols and C names.
81542 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81544 # Transform the output of nm in a proper C declaration.
81545 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81547 # Transform the output of nm in a C name address pair.
81548 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81550 # Transform the output of nm in a C name address pair when lib prefix is needed.
81551 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81553 # The name of the directory that contains temporary libtool files.
81554 objdir=$objdir
81556 # Used to examine libraries when file_magic_cmd begins with "file".
81557 MAGIC_CMD=$MAGIC_CMD
81559 # Must we lock files when doing compilation?
81560 need_locks=$lt_need_locks
81562 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81563 DSYMUTIL=$lt_DSYMUTIL
81565 # Tool to change global to local symbols on Mac OS X.
81566 NMEDIT=$lt_NMEDIT
81568 # Tool to manipulate fat objects and archives on Mac OS X.
81569 LIPO=$lt_LIPO
81571 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81572 OTOOL=$lt_OTOOL
81574 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81575 OTOOL64=$lt_OTOOL64
81577 # Old archive suffix (normally "a").
81578 libext=$libext
81580 # Shared library suffix (normally ".so").
81581 shrext_cmds=$lt_shrext_cmds
81583 # The commands to extract the exported symbol list from a shared archive.
81584 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81586 # Variables whose values should be saved in libtool wrapper scripts and
81587 # restored at link time.
81588 variables_saved_for_relink=$lt_variables_saved_for_relink
81590 # Do we need the "lib" prefix for modules?
81591 need_lib_prefix=$need_lib_prefix
81593 # Do we need a version for libraries?
81594 need_version=$need_version
81596 # Library versioning type.
81597 version_type=$version_type
81599 # Shared library runtime path variable.
81600 runpath_var=$runpath_var
81602 # Shared library path variable.
81603 shlibpath_var=$shlibpath_var
81605 # Is shlibpath searched before the hard-coded library search path?
81606 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81608 # Format of library name prefix.
81609 libname_spec=$lt_libname_spec
81611 # List of archive names. First name is the real one, the rest are links.
81612 # The last name is the one that the linker finds with -lNAME
81613 library_names_spec=$lt_library_names_spec
81615 # The coded name of the library, if different from the real name.
81616 soname_spec=$lt_soname_spec
81618 # Permission mode override for installation of shared libraries.
81619 install_override_mode=$lt_install_override_mode
81621 # Command to use after installation of a shared archive.
81622 postinstall_cmds=$lt_postinstall_cmds
81624 # Command to use after uninstallation of a shared archive.
81625 postuninstall_cmds=$lt_postuninstall_cmds
81627 # Commands used to finish a libtool library installation in a directory.
81628 finish_cmds=$lt_finish_cmds
81630 # As "finish_cmds", except a single script fragment to be evaled but
81631 # not shown.
81632 finish_eval=$lt_finish_eval
81634 # Whether we should hardcode library paths into libraries.
81635 hardcode_into_libs=$hardcode_into_libs
81637 # Compile-time system search path for libraries.
81638 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81640 # Run-time system search path for libraries.
81641 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81643 # Whether dlopen is supported.
81644 dlopen_support=$enable_dlopen
81646 # Whether dlopen of programs is supported.
81647 dlopen_self=$enable_dlopen_self
81649 # Whether dlopen of statically linked programs is supported.
81650 dlopen_self_static=$enable_dlopen_self_static
81652 # Commands to strip libraries.
81653 old_striplib=$lt_old_striplib
81654 striplib=$lt_striplib
81657 # The linker used to build libraries.
81658 LD=$lt_LD
81660 # How to create reloadable object files.
81661 reload_flag=$lt_reload_flag
81662 reload_cmds=$lt_reload_cmds
81664 # Commands used to build an old-style archive.
81665 old_archive_cmds=$lt_old_archive_cmds
81667 # A language specific compiler.
81668 CC=$lt_compiler
81670 # Is the compiler the GNU compiler?
81671 with_gcc=$GCC
81673 # Compiler flag to turn off builtin functions.
81674 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81676 # How to pass a linker flag through the compiler.
81677 wl=$lt_lt_prog_compiler_wl
81679 # Additional compiler flags for building library objects.
81680 pic_flag=$lt_lt_prog_compiler_pic
81682 # Compiler flag to prevent dynamic linking.
81683 link_static_flag=$lt_lt_prog_compiler_static
81685 # Does compiler simultaneously support -c and -o options?
81686 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81688 # Whether or not to add -lc for building shared libraries.
81689 build_libtool_need_lc=$archive_cmds_need_lc
81691 # Whether or not to disallow shared libs when runtime libs are static.
81692 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81694 # Compiler flag to allow reflexive dlopens.
81695 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81697 # Compiler flag to generate shared objects directly from archives.
81698 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81700 # Whether the compiler copes with passing no objects directly.
81701 compiler_needs_object=$lt_compiler_needs_object
81703 # Create an old-style archive from a shared archive.
81704 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81706 # Create a temporary old-style archive to link instead of a shared archive.
81707 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81709 # Commands used to build a shared archive.
81710 archive_cmds=$lt_archive_cmds
81711 archive_expsym_cmds=$lt_archive_expsym_cmds
81713 # Commands used to build a loadable module if different from building
81714 # a shared archive.
81715 module_cmds=$lt_module_cmds
81716 module_expsym_cmds=$lt_module_expsym_cmds
81718 # Whether we are building with GNU ld or not.
81719 with_gnu_ld=$lt_with_gnu_ld
81721 # Flag that allows shared libraries with undefined symbols to be built.
81722 allow_undefined_flag=$lt_allow_undefined_flag
81724 # Flag that enforces no undefined symbols.
81725 no_undefined_flag=$lt_no_undefined_flag
81727 # Flag to hardcode \$libdir into a binary during linking.
81728 # This must work even if \$libdir does not exist
81729 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81731 # If ld is used when linking, flag to hardcode \$libdir into a binary
81732 # during linking. This must work even if \$libdir does not exist.
81733 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81735 # Whether we need a single "-rpath" flag with a separated argument.
81736 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81738 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81739 # DIR into the resulting binary.
81740 hardcode_direct=$hardcode_direct
81742 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81743 # DIR into the resulting binary and the resulting library dependency is
81744 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81745 # library is relocated.
81746 hardcode_direct_absolute=$hardcode_direct_absolute
81748 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81749 # into the resulting binary.
81750 hardcode_minus_L=$hardcode_minus_L
81752 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81753 # into the resulting binary.
81754 hardcode_shlibpath_var=$hardcode_shlibpath_var
81756 # Set to "yes" if building a shared library automatically hardcodes DIR
81757 # into the library and all subsequent libraries and executables linked
81758 # against it.
81759 hardcode_automatic=$hardcode_automatic
81761 # Set to yes if linker adds runtime paths of dependent libraries
81762 # to runtime path list.
81763 inherit_rpath=$inherit_rpath
81765 # Whether libtool must link a program against all its dependency libraries.
81766 link_all_deplibs=$link_all_deplibs
81768 # Fix the shell variable \$srcfile for the compiler.
81769 fix_srcfile_path=$lt_fix_srcfile_path
81771 # Set to "yes" if exported symbols are required.
81772 always_export_symbols=$always_export_symbols
81774 # The commands to list exported symbols.
81775 export_symbols_cmds=$lt_export_symbols_cmds
81777 # Symbols that should not be listed in the preloaded symbols.
81778 exclude_expsyms=$lt_exclude_expsyms
81780 # Symbols that must always be exported.
81781 include_expsyms=$lt_include_expsyms
81783 # Commands necessary for linking programs (against libraries) with templates.
81784 prelink_cmds=$lt_prelink_cmds
81786 # Specify filename containing input files.
81787 file_list_spec=$lt_file_list_spec
81789 # How to hardcode a shared library path into an executable.
81790 hardcode_action=$hardcode_action
81792 # The directories searched by this compiler when creating a shared library.
81793 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81795 # Dependencies to place before and after the objects being linked to
81796 # create a shared library.
81797 predep_objects=$lt_predep_objects
81798 postdep_objects=$lt_postdep_objects
81799 predeps=$lt_predeps
81800 postdeps=$lt_postdeps
81802 # The library search path used internally by the compiler when linking
81803 # a shared library.
81804 compiler_lib_search_path=$lt_compiler_lib_search_path
81806 # ### END LIBTOOL CONFIG
81808 _LT_EOF
81810 case $host_os in
81811 aix3*)
81812 cat <<\_LT_EOF >> "$cfgfile"
81813 # AIX sometimes has problems with the GCC collect2 program. For some
81814 # reason, if we set the COLLECT_NAMES environment variable, the problems
81815 # vanish in a puff of smoke.
81816 if test "X${COLLECT_NAMES+set}" != Xset; then
81817 COLLECT_NAMES=
81818 export COLLECT_NAMES
81820 _LT_EOF
81822 esac
81825 ltmain="$ac_aux_dir/ltmain.sh"
81828 # We use sed instead of cat because bash on DJGPP gets confused if
81829 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81830 # text mode, it properly converts lines to CR/LF. This bash problem
81831 # is reportedly fixed, but why not run on old versions too?
81832 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81833 || (rm -f "$cfgfile"; exit 1)
81835 case $xsi_shell in
81836 yes)
81837 cat << \_LT_EOF >> "$cfgfile"
81839 # func_dirname file append nondir_replacement
81840 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81841 # otherwise set result to NONDIR_REPLACEMENT.
81842 func_dirname ()
81844 case ${1} in
81845 */*) func_dirname_result="${1%/*}${2}" ;;
81846 * ) func_dirname_result="${3}" ;;
81847 esac
81850 # func_basename file
81851 func_basename ()
81853 func_basename_result="${1##*/}"
81856 # func_dirname_and_basename file append nondir_replacement
81857 # perform func_basename and func_dirname in a single function
81858 # call:
81859 # dirname: Compute the dirname of FILE. If nonempty,
81860 # add APPEND to the result, otherwise set result
81861 # to NONDIR_REPLACEMENT.
81862 # value returned in "$func_dirname_result"
81863 # basename: Compute filename of FILE.
81864 # value retuned in "$func_basename_result"
81865 # Implementation must be kept synchronized with func_dirname
81866 # and func_basename. For efficiency, we do not delegate to
81867 # those functions but instead duplicate the functionality here.
81868 func_dirname_and_basename ()
81870 case ${1} in
81871 */*) func_dirname_result="${1%/*}${2}" ;;
81872 * ) func_dirname_result="${3}" ;;
81873 esac
81874 func_basename_result="${1##*/}"
81877 # func_stripname prefix suffix name
81878 # strip PREFIX and SUFFIX off of NAME.
81879 # PREFIX and SUFFIX must not contain globbing or regex special
81880 # characters, hashes, percent signs, but SUFFIX may contain a leading
81881 # dot (in which case that matches only a dot).
81882 func_stripname ()
81884 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81885 # positional parameters, so assign one to ordinary parameter first.
81886 func_stripname_result=${3}
81887 func_stripname_result=${func_stripname_result#"${1}"}
81888 func_stripname_result=${func_stripname_result%"${2}"}
81891 # func_opt_split
81892 func_opt_split ()
81894 func_opt_split_opt=${1%%=*}
81895 func_opt_split_arg=${1#*=}
81898 # func_lo2o object
81899 func_lo2o ()
81901 case ${1} in
81902 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81903 *) func_lo2o_result=${1} ;;
81904 esac
81907 # func_xform libobj-or-source
81908 func_xform ()
81910 func_xform_result=${1%.*}.lo
81913 # func_arith arithmetic-term...
81914 func_arith ()
81916 func_arith_result=$(( $* ))
81919 # func_len string
81920 # STRING may not start with a hyphen.
81921 func_len ()
81923 func_len_result=${#1}
81926 _LT_EOF
81928 *) # Bourne compatible functions.
81929 cat << \_LT_EOF >> "$cfgfile"
81931 # func_dirname file append nondir_replacement
81932 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81933 # otherwise set result to NONDIR_REPLACEMENT.
81934 func_dirname ()
81936 # Extract subdirectory from the argument.
81937 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81938 if test "X$func_dirname_result" = "X${1}"; then
81939 func_dirname_result="${3}"
81940 else
81941 func_dirname_result="$func_dirname_result${2}"
81945 # func_basename file
81946 func_basename ()
81948 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81952 # func_stripname prefix suffix name
81953 # strip PREFIX and SUFFIX off of NAME.
81954 # PREFIX and SUFFIX must not contain globbing or regex special
81955 # characters, hashes, percent signs, but SUFFIX may contain a leading
81956 # dot (in which case that matches only a dot).
81957 # func_strip_suffix prefix name
81958 func_stripname ()
81960 case ${2} in
81961 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
81962 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81963 esac
81966 # sed scripts:
81967 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
81968 my_sed_long_arg='1s/^-[^=]*=//'
81970 # func_opt_split
81971 func_opt_split ()
81973 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
81974 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81977 # func_lo2o object
81978 func_lo2o ()
81980 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81983 # func_xform libobj-or-source
81984 func_xform ()
81986 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81989 # func_arith arithmetic-term...
81990 func_arith ()
81992 func_arith_result=`expr "$@"`
81995 # func_len string
81996 # STRING may not start with a hyphen.
81997 func_len ()
81999 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82002 _LT_EOF
82003 esac
82005 case $lt_shell_append in
82006 yes)
82007 cat << \_LT_EOF >> "$cfgfile"
82009 # func_append var value
82010 # Append VALUE to the end of shell variable VAR.
82011 func_append ()
82013 eval "$1+=\$2"
82015 _LT_EOF
82018 cat << \_LT_EOF >> "$cfgfile"
82020 # func_append var value
82021 # Append VALUE to the end of shell variable VAR.
82022 func_append ()
82024 eval "$1=\$$1\$2"
82027 _LT_EOF
82029 esac
82032 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82033 || (rm -f "$cfgfile"; exit 1)
82035 mv -f "$cfgfile" "$ofile" ||
82036 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82037 chmod +x "$ofile"
82040 cat <<_LT_EOF >> "$ofile"
82042 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82044 # The linker used to build libraries.
82045 LD=$lt_LD_CXX
82047 # How to create reloadable object files.
82048 reload_flag=$lt_reload_flag_CXX
82049 reload_cmds=$lt_reload_cmds_CXX
82051 # Commands used to build an old-style archive.
82052 old_archive_cmds=$lt_old_archive_cmds_CXX
82054 # A language specific compiler.
82055 CC=$lt_compiler_CXX
82057 # Is the compiler the GNU compiler?
82058 with_gcc=$GCC_CXX
82060 # Compiler flag to turn off builtin functions.
82061 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82063 # How to pass a linker flag through the compiler.
82064 wl=$lt_lt_prog_compiler_wl_CXX
82066 # Additional compiler flags for building library objects.
82067 pic_flag=$lt_lt_prog_compiler_pic_CXX
82069 # Compiler flag to prevent dynamic linking.
82070 link_static_flag=$lt_lt_prog_compiler_static_CXX
82072 # Does compiler simultaneously support -c and -o options?
82073 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82075 # Whether or not to add -lc for building shared libraries.
82076 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82078 # Whether or not to disallow shared libs when runtime libs are static.
82079 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82081 # Compiler flag to allow reflexive dlopens.
82082 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82084 # Compiler flag to generate shared objects directly from archives.
82085 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82087 # Whether the compiler copes with passing no objects directly.
82088 compiler_needs_object=$lt_compiler_needs_object_CXX
82090 # Create an old-style archive from a shared archive.
82091 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82093 # Create a temporary old-style archive to link instead of a shared archive.
82094 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82096 # Commands used to build a shared archive.
82097 archive_cmds=$lt_archive_cmds_CXX
82098 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82100 # Commands used to build a loadable module if different from building
82101 # a shared archive.
82102 module_cmds=$lt_module_cmds_CXX
82103 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82105 # Whether we are building with GNU ld or not.
82106 with_gnu_ld=$lt_with_gnu_ld_CXX
82108 # Flag that allows shared libraries with undefined symbols to be built.
82109 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82111 # Flag that enforces no undefined symbols.
82112 no_undefined_flag=$lt_no_undefined_flag_CXX
82114 # Flag to hardcode \$libdir into a binary during linking.
82115 # This must work even if \$libdir does not exist
82116 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82118 # If ld is used when linking, flag to hardcode \$libdir into a binary
82119 # during linking. This must work even if \$libdir does not exist.
82120 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82122 # Whether we need a single "-rpath" flag with a separated argument.
82123 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82125 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82126 # DIR into the resulting binary.
82127 hardcode_direct=$hardcode_direct_CXX
82129 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82130 # DIR into the resulting binary and the resulting library dependency is
82131 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82132 # library is relocated.
82133 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82135 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82136 # into the resulting binary.
82137 hardcode_minus_L=$hardcode_minus_L_CXX
82139 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82140 # into the resulting binary.
82141 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82143 # Set to "yes" if building a shared library automatically hardcodes DIR
82144 # into the library and all subsequent libraries and executables linked
82145 # against it.
82146 hardcode_automatic=$hardcode_automatic_CXX
82148 # Set to yes if linker adds runtime paths of dependent libraries
82149 # to runtime path list.
82150 inherit_rpath=$inherit_rpath_CXX
82152 # Whether libtool must link a program against all its dependency libraries.
82153 link_all_deplibs=$link_all_deplibs_CXX
82155 # Fix the shell variable \$srcfile for the compiler.
82156 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82158 # Set to "yes" if exported symbols are required.
82159 always_export_symbols=$always_export_symbols_CXX
82161 # The commands to list exported symbols.
82162 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82164 # Symbols that should not be listed in the preloaded symbols.
82165 exclude_expsyms=$lt_exclude_expsyms_CXX
82167 # Symbols that must always be exported.
82168 include_expsyms=$lt_include_expsyms_CXX
82170 # Commands necessary for linking programs (against libraries) with templates.
82171 prelink_cmds=$lt_prelink_cmds_CXX
82173 # Specify filename containing input files.
82174 file_list_spec=$lt_file_list_spec_CXX
82176 # How to hardcode a shared library path into an executable.
82177 hardcode_action=$hardcode_action_CXX
82179 # The directories searched by this compiler when creating a shared library.
82180 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82182 # Dependencies to place before and after the objects being linked to
82183 # create a shared library.
82184 predep_objects=$lt_predep_objects_CXX
82185 postdep_objects=$lt_postdep_objects_CXX
82186 predeps=$lt_predeps_CXX
82187 postdeps=$lt_postdeps_CXX
82189 # The library search path used internally by the compiler when linking
82190 # a shared library.
82191 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82193 # ### END LIBTOOL TAG CONFIG: CXX
82194 _LT_EOF
82197 "include/gstdint.h":C)
82198 if test "$GCC" = yes; then
82199 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82200 else
82201 echo "/* generated for $CC */" > tmp-stdint.h
82204 sed 's/^ *//' >> tmp-stdint.h <<EOF
82206 #ifndef GCC_GENERATED_STDINT_H
82207 #define GCC_GENERATED_STDINT_H 1
82209 #include <sys/types.h>
82212 if test "$acx_cv_header_stdint" != stdint.h; then
82213 echo "#include <stddef.h>" >> tmp-stdint.h
82215 if test "$acx_cv_header_stdint" != stddef.h; then
82216 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82219 sed 's/^ *//' >> tmp-stdint.h <<EOF
82220 /* glibc uses these symbols as guards to prevent redefinitions. */
82221 #ifdef __int8_t_defined
82222 #define _INT8_T
82223 #define _INT16_T
82224 #define _INT32_T
82225 #endif
82226 #ifdef __uint32_t_defined
82227 #define _UINT32_T
82228 #endif
82232 # ----------------- done header, emit basic int types -------------
82233 if test "$acx_cv_header_stdint" = stddef.h; then
82234 sed 's/^ *//' >> tmp-stdint.h <<EOF
82236 #ifndef _UINT8_T
82237 #define _UINT8_T
82238 #ifndef __uint8_t_defined
82239 #define __uint8_t_defined
82240 #ifndef uint8_t
82241 typedef unsigned $acx_cv_type_int8_t uint8_t;
82242 #endif
82243 #endif
82244 #endif
82246 #ifndef _UINT16_T
82247 #define _UINT16_T
82248 #ifndef __uint16_t_defined
82249 #define __uint16_t_defined
82250 #ifndef uint16_t
82251 typedef unsigned $acx_cv_type_int16_t uint16_t;
82252 #endif
82253 #endif
82254 #endif
82256 #ifndef _UINT32_T
82257 #define _UINT32_T
82258 #ifndef __uint32_t_defined
82259 #define __uint32_t_defined
82260 #ifndef uint32_t
82261 typedef unsigned $acx_cv_type_int32_t uint32_t;
82262 #endif
82263 #endif
82264 #endif
82266 #ifndef _INT8_T
82267 #define _INT8_T
82268 #ifndef __int8_t_defined
82269 #define __int8_t_defined
82270 #ifndef int8_t
82271 typedef $acx_cv_type_int8_t int8_t;
82272 #endif
82273 #endif
82274 #endif
82276 #ifndef _INT16_T
82277 #define _INT16_T
82278 #ifndef __int16_t_defined
82279 #define __int16_t_defined
82280 #ifndef int16_t
82281 typedef $acx_cv_type_int16_t int16_t;
82282 #endif
82283 #endif
82284 #endif
82286 #ifndef _INT32_T
82287 #define _INT32_T
82288 #ifndef __int32_t_defined
82289 #define __int32_t_defined
82290 #ifndef int32_t
82291 typedef $acx_cv_type_int32_t int32_t;
82292 #endif
82293 #endif
82294 #endif
82296 elif test "$ac_cv_type_u_int32_t" = yes; then
82297 sed 's/^ *//' >> tmp-stdint.h <<EOF
82299 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82300 #ifndef _INT8_T
82301 #define _INT8_T
82302 #endif
82303 #ifndef _INT16_T
82304 #define _INT16_T
82305 #endif
82306 #ifndef _INT32_T
82307 #define _INT32_T
82308 #endif
82310 #ifndef _UINT8_T
82311 #define _UINT8_T
82312 #ifndef __uint8_t_defined
82313 #define __uint8_t_defined
82314 #ifndef uint8_t
82315 typedef u_int8_t uint8_t;
82316 #endif
82317 #endif
82318 #endif
82320 #ifndef _UINT16_T
82321 #define _UINT16_T
82322 #ifndef __uint16_t_defined
82323 #define __uint16_t_defined
82324 #ifndef uint16_t
82325 typedef u_int16_t uint16_t;
82326 #endif
82327 #endif
82328 #endif
82330 #ifndef _UINT32_T
82331 #define _UINT32_T
82332 #ifndef __uint32_t_defined
82333 #define __uint32_t_defined
82334 #ifndef uint32_t
82335 typedef u_int32_t uint32_t;
82336 #endif
82337 #endif
82338 #endif
82340 else
82341 sed 's/^ *//' >> tmp-stdint.h <<EOF
82343 /* Some systems have guard macros to prevent redefinitions, define them. */
82344 #ifndef _INT8_T
82345 #define _INT8_T
82346 #endif
82347 #ifndef _INT16_T
82348 #define _INT16_T
82349 #endif
82350 #ifndef _INT32_T
82351 #define _INT32_T
82352 #endif
82353 #ifndef _UINT8_T
82354 #define _UINT8_T
82355 #endif
82356 #ifndef _UINT16_T
82357 #define _UINT16_T
82358 #endif
82359 #ifndef _UINT32_T
82360 #define _UINT32_T
82361 #endif
82365 # ------------- done basic int types, emit int64_t types ------------
82366 if test "$ac_cv_type_uint64_t" = yes; then
82367 sed 's/^ *//' >> tmp-stdint.h <<EOF
82369 /* system headers have good uint64_t and int64_t */
82370 #ifndef _INT64_T
82371 #define _INT64_T
82372 #endif
82373 #ifndef _UINT64_T
82374 #define _UINT64_T
82375 #endif
82377 elif test "$ac_cv_type_u_int64_t" = yes; then
82378 sed 's/^ *//' >> tmp-stdint.h <<EOF
82380 /* system headers have an u_int64_t (and int64_t) */
82381 #ifndef _INT64_T
82382 #define _INT64_T
82383 #endif
82384 #ifndef _UINT64_T
82385 #define _UINT64_T
82386 #ifndef __uint64_t_defined
82387 #define __uint64_t_defined
82388 #ifndef uint64_t
82389 typedef u_int64_t uint64_t;
82390 #endif
82391 #endif
82392 #endif
82394 elif test -n "$acx_cv_type_int64_t"; then
82395 sed 's/^ *//' >> tmp-stdint.h <<EOF
82397 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82398 #ifndef _INT64_T
82399 #define _INT64_T
82400 #ifndef int64_t
82401 typedef $acx_cv_type_int64_t int64_t;
82402 #endif
82403 #endif
82404 #ifndef _UINT64_T
82405 #define _UINT64_T
82406 #ifndef __uint64_t_defined
82407 #define __uint64_t_defined
82408 #ifndef uint64_t
82409 typedef unsigned $acx_cv_type_int64_t uint64_t;
82410 #endif
82411 #endif
82412 #endif
82414 else
82415 sed 's/^ *//' >> tmp-stdint.h <<EOF
82417 /* some common heuristics for int64_t, using compiler-specific tests */
82418 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82419 #ifndef _INT64_T
82420 #define _INT64_T
82421 #ifndef __int64_t_defined
82422 #ifndef int64_t
82423 typedef long long int64_t;
82424 #endif
82425 #endif
82426 #endif
82427 #ifndef _UINT64_T
82428 #define _UINT64_T
82429 #ifndef uint64_t
82430 typedef unsigned long long uint64_t;
82431 #endif
82432 #endif
82434 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82435 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82436 does not implement __extension__. But that compiler doesn't define
82437 __GNUC_MINOR__. */
82438 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82439 # define __extension__
82440 # endif
82442 # ifndef _INT64_T
82443 # define _INT64_T
82444 # ifndef int64_t
82445 __extension__ typedef long long int64_t;
82446 # endif
82447 # endif
82448 # ifndef _UINT64_T
82449 # define _UINT64_T
82450 # ifndef uint64_t
82451 __extension__ typedef unsigned long long uint64_t;
82452 # endif
82453 # endif
82455 #elif !defined __STRICT_ANSI__
82456 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82458 # ifndef _INT64_T
82459 # define _INT64_T
82460 # ifndef int64_t
82461 typedef __int64 int64_t;
82462 # endif
82463 # endif
82464 # ifndef _UINT64_T
82465 # define _UINT64_T
82466 # ifndef uint64_t
82467 typedef unsigned __int64 uint64_t;
82468 # endif
82469 # endif
82470 # endif /* compiler */
82472 #endif /* ANSI version */
82476 # ------------- done int64_t types, emit intptr types ------------
82477 if test "$ac_cv_type_uintptr_t" != yes; then
82478 sed 's/^ *//' >> tmp-stdint.h <<EOF
82480 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82481 #ifndef __uintptr_t_defined
82482 #ifndef uintptr_t
82483 typedef u$acx_cv_type_intptr_t uintptr_t;
82484 #endif
82485 #endif
82486 #ifndef __intptr_t_defined
82487 #ifndef intptr_t
82488 typedef $acx_cv_type_intptr_t intptr_t;
82489 #endif
82490 #endif
82494 # ------------- done intptr types, emit int_least types ------------
82495 if test "$ac_cv_type_int_least32_t" != yes; then
82496 sed 's/^ *//' >> tmp-stdint.h <<EOF
82498 /* Define int_least types */
82499 typedef int8_t int_least8_t;
82500 typedef int16_t int_least16_t;
82501 typedef int32_t int_least32_t;
82502 #ifdef _INT64_T
82503 typedef int64_t int_least64_t;
82504 #endif
82506 typedef uint8_t uint_least8_t;
82507 typedef uint16_t uint_least16_t;
82508 typedef uint32_t uint_least32_t;
82509 #ifdef _UINT64_T
82510 typedef uint64_t uint_least64_t;
82511 #endif
82515 # ------------- done intptr types, emit int_fast types ------------
82516 if test "$ac_cv_type_int_fast32_t" != yes; then
82517 sed 's/^ *//' >> tmp-stdint.h <<EOF
82519 /* Define int_fast types. short is often slow */
82520 typedef int8_t int_fast8_t;
82521 typedef int int_fast16_t;
82522 typedef int32_t int_fast32_t;
82523 #ifdef _INT64_T
82524 typedef int64_t int_fast64_t;
82525 #endif
82527 typedef uint8_t uint_fast8_t;
82528 typedef unsigned int uint_fast16_t;
82529 typedef uint32_t uint_fast32_t;
82530 #ifdef _UINT64_T
82531 typedef uint64_t uint_fast64_t;
82532 #endif
82536 if test "$ac_cv_type_uintmax_t" != yes; then
82537 sed 's/^ *//' >> tmp-stdint.h <<EOF
82539 /* Define intmax based on what we found */
82540 #ifndef intmax_t
82541 #ifdef _INT64_T
82542 typedef int64_t intmax_t;
82543 #else
82544 typedef long intmax_t;
82545 #endif
82546 #endif
82547 #ifndef uintmax_t
82548 #ifdef _UINT64_T
82549 typedef uint64_t uintmax_t;
82550 #else
82551 typedef unsigned long uintmax_t;
82552 #endif
82553 #endif
82557 sed 's/^ *//' >> tmp-stdint.h <<EOF
82559 #endif /* GCC_GENERATED_STDINT_H */
82562 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82563 rm -f tmp-stdint.h
82564 else
82565 mv -f tmp-stdint.h include/gstdint.h
82569 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82570 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82571 "include/Makefile":F) cat > vpsed$$ << \_EOF
82572 s!`test -f '$<' || echo '$(srcdir)/'`!!
82573 _EOF
82574 sed -f vpsed$$ $ac_file > tmp$$
82575 mv tmp$$ $ac_file
82576 rm vpsed$$
82577 echo 'MULTISUBDIR =' >> $ac_file
82578 ml_norecursion=yes
82579 . ${multi_basedir}/config-ml.in
82580 { ml_norecursion=; unset ml_norecursion;}
82582 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82583 s!`test -f '$<' || echo '$(srcdir)/'`!!
82584 _EOF
82585 sed -f vpsed$$ $ac_file > tmp$$
82586 mv tmp$$ $ac_file
82587 rm vpsed$$
82588 echo 'MULTISUBDIR =' >> $ac_file
82589 ml_norecursion=yes
82590 . ${multi_basedir}/config-ml.in
82591 { ml_norecursion=; unset ml_norecursion;}
82593 "python/Makefile":F) cat > vpsed$$ << \_EOF
82594 s!`test -f '$<' || echo '$(srcdir)/'`!!
82595 _EOF
82596 sed -f vpsed$$ $ac_file > tmp$$
82597 mv tmp$$ $ac_file
82598 rm vpsed$$
82599 echo 'MULTISUBDIR =' >> $ac_file
82600 ml_norecursion=yes
82601 . ${multi_basedir}/config-ml.in
82602 { ml_norecursion=; unset ml_norecursion;}
82604 "src/Makefile":F) cat > vpsed$$ << \_EOF
82605 s!`test -f '$<' || echo '$(srcdir)/'`!!
82606 _EOF
82607 sed -f vpsed$$ $ac_file > tmp$$
82608 mv tmp$$ $ac_file
82609 rm vpsed$$
82610 echo 'MULTISUBDIR =' >> $ac_file
82611 ml_norecursion=yes
82612 . ${multi_basedir}/config-ml.in
82613 { ml_norecursion=; unset ml_norecursion;}
82615 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82616 s!`test -f '$<' || echo '$(srcdir)/'`!!
82617 _EOF
82618 sed -f vpsed$$ $ac_file > tmp$$
82619 mv tmp$$ $ac_file
82620 rm vpsed$$
82621 echo 'MULTISUBDIR =' >> $ac_file
82622 ml_norecursion=yes
82623 . ${multi_basedir}/config-ml.in
82624 { ml_norecursion=; unset ml_norecursion;}
82626 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82627 s!`test -f '$<' || echo '$(srcdir)/'`!!
82628 _EOF
82629 sed -f vpsed$$ $ac_file > tmp$$
82630 mv tmp$$ $ac_file
82631 rm vpsed$$
82632 echo 'MULTISUBDIR =' >> $ac_file
82633 ml_norecursion=yes
82634 . ${multi_basedir}/config-ml.in
82635 { ml_norecursion=; unset ml_norecursion;}
82637 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82638 s!`test -f '$<' || echo '$(srcdir)/'`!!
82639 _EOF
82640 sed -f vpsed$$ $ac_file > tmp$$
82641 mv tmp$$ $ac_file
82642 rm vpsed$$
82643 echo 'MULTISUBDIR =' >> $ac_file
82644 ml_norecursion=yes
82645 . ${multi_basedir}/config-ml.in
82646 { ml_norecursion=; unset ml_norecursion;}
82648 "po/Makefile":F) cat > vpsed$$ << \_EOF
82649 s!`test -f '$<' || echo '$(srcdir)/'`!!
82650 _EOF
82651 sed -f vpsed$$ $ac_file > tmp$$
82652 mv tmp$$ $ac_file
82653 rm vpsed$$
82654 echo 'MULTISUBDIR =' >> $ac_file
82655 ml_norecursion=yes
82656 . ${multi_basedir}/config-ml.in
82657 { ml_norecursion=; unset ml_norecursion;}
82659 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82660 s!`test -f '$<' || echo '$(srcdir)/'`!!
82661 _EOF
82662 sed -f vpsed$$ $ac_file > tmp$$
82663 mv tmp$$ $ac_file
82664 rm vpsed$$
82665 echo 'MULTISUBDIR =' >> $ac_file
82666 ml_norecursion=yes
82667 . ${multi_basedir}/config-ml.in
82668 { ml_norecursion=; unset ml_norecursion;}
82670 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82672 esac
82673 done # for ac_tag
82676 as_fn_exit 0
82677 _ACEOF
82678 ac_clean_files=$ac_clean_files_save
82680 test $ac_write_fail = 0 ||
82681 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82684 # configure is writing to config.log, and then calls config.status.
82685 # config.status does its own redirection, appending to config.log.
82686 # Unfortunately, on DOS this fails, as config.log is still kept open
82687 # by configure, so config.status won't be able to write to it; its
82688 # output is simply discarded. So we exec the FD to /dev/null,
82689 # effectively closing config.log, so it can be properly (re)opened and
82690 # appended to by config.status. When coming back to configure, we
82691 # need to make the FD available again.
82692 if test "$no_create" != yes; then
82693 ac_cs_success=:
82694 ac_config_status_args=
82695 test "$silent" = yes &&
82696 ac_config_status_args="$ac_config_status_args --quiet"
82697 exec 5>/dev/null
82698 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82699 exec 5>>config.log
82700 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82701 # would make configure fail if this is the last instruction.
82702 $ac_cs_success || as_fn_exit $?
82704 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82706 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}