2012-10-06 Janus Weil <janus@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / configure
blob6ff7148c708b537fc81adce2513e663d9cbc834c
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_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_WERROR_FALSE
668 ENABLE_WERROR_TRUE
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
671 python_mod_dir
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
674 EXTRA_CXX_FLAGS
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 glibcxx_compiler_shared_flag
717 glibcxx_compiler_pic_flag
718 glibcxx_lt_pic_flag
719 enable_static
720 enable_shared
721 lt_host_flags
722 CXXCPP
723 OTOOL64
724 OTOOL
725 LIPO
726 NMEDIT
727 DSYMUTIL
728 OBJDUMP
730 ac_ct_DUMPBIN
731 DUMPBIN
733 FGREP
735 LIBTOOL
736 EGREP
737 GREP
739 MAINT
740 MAINTAINER_MODE_FALSE
741 MAINTAINER_MODE_TRUE
742 RANLIB
745 LN_S
746 toplevel_srcdir
747 toplevel_builddir
748 glibcxx_srcdir
749 glibcxx_builddir
750 ac_ct_CXX
751 CXXFLAGS
753 OBJEXT
754 EXEEXT
755 ac_ct_CC
756 CPPFLAGS
757 LDFLAGS
758 CFLAGS
760 am__untar
761 am__tar
762 AMTAR
763 am__leading_dot
764 SET_MAKE
766 mkdir_p
767 MKDIR_P
768 INSTALL_STRIP_PROGRAM
769 STRIP
770 install_sh
771 MAKEINFO
772 AUTOHEADER
773 AUTOMAKE
774 AUTOCONF
775 ACLOCAL
776 VERSION
777 PACKAGE
778 CYGPATH_W
779 am__isrc
780 INSTALL_DATA
781 INSTALL_SCRIPT
782 INSTALL_PROGRAM
783 target_os
784 target_vendor
785 target_cpu
786 target
787 host_os
788 host_vendor
789 host_cpu
790 host
791 build_os
792 build_vendor
793 build_cpu
794 build
795 multi_basedir
796 target_alias
797 host_alias
798 build_alias
799 LIBS
800 ECHO_T
801 ECHO_N
802 ECHO_C
803 DEFS
804 mandir
805 localedir
806 libdir
807 psdir
808 pdfdir
809 dvidir
810 htmldir
811 infodir
812 docdir
813 oldincludedir
814 includedir
815 localstatedir
816 sharedstatedir
817 sysconfdir
818 datadir
819 datarootdir
820 libexecdir
821 sbindir
822 bindir
823 program_transform_name
824 prefix
825 exec_prefix
826 PACKAGE_URL
827 PACKAGE_BUGREPORT
828 PACKAGE_STRING
829 PACKAGE_VERSION
830 PACKAGE_TARNAME
831 PACKAGE_NAME
832 PATH_SEPARATOR
833 SHELL'
834 ac_subst_files=''
835 ac_user_opts='
836 enable_option_checking
837 enable_multilib
838 with_target_subdir
839 with_cross_host
840 with_newlib
841 enable_maintainer_mode
842 enable_shared
843 enable_static
844 with_pic
845 enable_fast_install
846 with_gnu_ld
847 enable_libtool_lock
848 enable_hosted_libstdcxx
849 enable_libstdcxx_verbose
850 enable_sjlj_exceptions
851 enable_libstdcxx_pch
852 enable_cstdio
853 enable_clocale
854 enable_nls
855 enable_libstdcxx_allocator
856 enable_cheaders
857 enable_long_long
858 enable_wchar_t
859 enable_c99
860 enable_concept_checks
861 enable_libstdcxx_debug_flags
862 enable_libstdcxx_debug
863 enable_cxx_flags
864 enable_fully_dynamic_string
865 enable_extern_template
866 with_python_dir
867 enable_werror
868 enable_libstdcxx_time
869 enable_tls
870 enable_rpath
871 with_libiconv_prefix
872 with_system_libunwind
873 enable_linux_futex
874 enable_symvers
875 enable_libstdcxx_visibility
876 enable_libstdcxx_threads
877 with_gxx_include_dir
878 enable_version_specific_runtime_libs
880 ac_precious_vars='build_alias
881 host_alias
882 target_alias
884 CFLAGS
885 LDFLAGS
886 LIBS
887 CPPFLAGS
889 CXXFLAGS
892 CXXCPP
893 CXXFILT'
896 # Initialize some variables set by options.
897 ac_init_help=
898 ac_init_version=false
899 ac_unrecognized_opts=
900 ac_unrecognized_sep=
901 # The variables have the same names as the options, with
902 # dashes changed to underlines.
903 cache_file=/dev/null
904 exec_prefix=NONE
905 no_create=
906 no_recursion=
907 prefix=NONE
908 program_prefix=NONE
909 program_suffix=NONE
910 program_transform_name=s,x,x,
911 silent=
912 site=
913 srcdir=
914 verbose=
915 x_includes=NONE
916 x_libraries=NONE
918 # Installation directory options.
919 # These are left unexpanded so users can "make install exec_prefix=/foo"
920 # and all the variables that are supposed to be based on exec_prefix
921 # by default will actually change.
922 # Use braces instead of parens because sh, perl, etc. also accept them.
923 # (The list follows the same order as the GNU Coding Standards.)
924 bindir='${exec_prefix}/bin'
925 sbindir='${exec_prefix}/sbin'
926 libexecdir='${exec_prefix}/libexec'
927 datarootdir='${prefix}/share'
928 datadir='${datarootdir}'
929 sysconfdir='${prefix}/etc'
930 sharedstatedir='${prefix}/com'
931 localstatedir='${prefix}/var'
932 includedir='${prefix}/include'
933 oldincludedir='/usr/include'
934 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
935 infodir='${datarootdir}/info'
936 htmldir='${docdir}'
937 dvidir='${docdir}'
938 pdfdir='${docdir}'
939 psdir='${docdir}'
940 libdir='${exec_prefix}/lib'
941 localedir='${datarootdir}/locale'
942 mandir='${datarootdir}/man'
944 ac_prev=
945 ac_dashdash=
946 for ac_option
948 # If the previous option needs an argument, assign it.
949 if test -n "$ac_prev"; then
950 eval $ac_prev=\$ac_option
951 ac_prev=
952 continue
955 case $ac_option in
956 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
957 *) ac_optarg=yes ;;
958 esac
960 # Accept the important Cygnus configure options, so we can diagnose typos.
962 case $ac_dashdash$ac_option in
964 ac_dashdash=yes ;;
966 -bindir | --bindir | --bindi | --bind | --bin | --bi)
967 ac_prev=bindir ;;
968 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
969 bindir=$ac_optarg ;;
971 -build | --build | --buil | --bui | --bu)
972 ac_prev=build_alias ;;
973 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
974 build_alias=$ac_optarg ;;
976 -cache-file | --cache-file | --cache-fil | --cache-fi \
977 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
978 ac_prev=cache_file ;;
979 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
980 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
981 cache_file=$ac_optarg ;;
983 --config-cache | -C)
984 cache_file=config.cache ;;
986 -datadir | --datadir | --datadi | --datad)
987 ac_prev=datadir ;;
988 -datadir=* | --datadir=* | --datadi=* | --datad=*)
989 datadir=$ac_optarg ;;
991 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
992 | --dataroo | --dataro | --datar)
993 ac_prev=datarootdir ;;
994 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
995 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
996 datarootdir=$ac_optarg ;;
998 -disable-* | --disable-*)
999 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1002 as_fn_error "invalid feature name: $ac_useropt"
1003 ac_useropt_orig=$ac_useropt
1004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005 case $ac_user_opts in
1007 "enable_$ac_useropt"
1008 "*) ;;
1009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1010 ac_unrecognized_sep=', ';;
1011 esac
1012 eval enable_$ac_useropt=no ;;
1014 -docdir | --docdir | --docdi | --doc | --do)
1015 ac_prev=docdir ;;
1016 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1017 docdir=$ac_optarg ;;
1019 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1020 ac_prev=dvidir ;;
1021 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1022 dvidir=$ac_optarg ;;
1024 -enable-* | --enable-*)
1025 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028 as_fn_error "invalid feature name: $ac_useropt"
1029 ac_useropt_orig=$ac_useropt
1030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1033 "enable_$ac_useropt"
1034 "*) ;;
1035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1036 ac_unrecognized_sep=', ';;
1037 esac
1038 eval enable_$ac_useropt=\$ac_optarg ;;
1040 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1041 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1042 | --exec | --exe | --ex)
1043 ac_prev=exec_prefix ;;
1044 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1045 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1046 | --exec=* | --exe=* | --ex=*)
1047 exec_prefix=$ac_optarg ;;
1049 -gas | --gas | --ga | --g)
1050 # Obsolete; use --with-gas.
1051 with_gas=yes ;;
1053 -help | --help | --hel | --he | -h)
1054 ac_init_help=long ;;
1055 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1056 ac_init_help=recursive ;;
1057 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1058 ac_init_help=short ;;
1060 -host | --host | --hos | --ho)
1061 ac_prev=host_alias ;;
1062 -host=* | --host=* | --hos=* | --ho=*)
1063 host_alias=$ac_optarg ;;
1065 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1066 ac_prev=htmldir ;;
1067 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1068 | --ht=*)
1069 htmldir=$ac_optarg ;;
1071 -includedir | --includedir | --includedi | --included | --include \
1072 | --includ | --inclu | --incl | --inc)
1073 ac_prev=includedir ;;
1074 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1075 | --includ=* | --inclu=* | --incl=* | --inc=*)
1076 includedir=$ac_optarg ;;
1078 -infodir | --infodir | --infodi | --infod | --info | --inf)
1079 ac_prev=infodir ;;
1080 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1081 infodir=$ac_optarg ;;
1083 -libdir | --libdir | --libdi | --libd)
1084 ac_prev=libdir ;;
1085 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1086 libdir=$ac_optarg ;;
1088 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1089 | --libexe | --libex | --libe)
1090 ac_prev=libexecdir ;;
1091 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1092 | --libexe=* | --libex=* | --libe=*)
1093 libexecdir=$ac_optarg ;;
1095 -localedir | --localedir | --localedi | --localed | --locale)
1096 ac_prev=localedir ;;
1097 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1098 localedir=$ac_optarg ;;
1100 -localstatedir | --localstatedir | --localstatedi | --localstated \
1101 | --localstate | --localstat | --localsta | --localst | --locals)
1102 ac_prev=localstatedir ;;
1103 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1104 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1105 localstatedir=$ac_optarg ;;
1107 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1108 ac_prev=mandir ;;
1109 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1110 mandir=$ac_optarg ;;
1112 -nfp | --nfp | --nf)
1113 # Obsolete; use --without-fp.
1114 with_fp=no ;;
1116 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1117 | --no-cr | --no-c | -n)
1118 no_create=yes ;;
1120 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1121 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1122 no_recursion=yes ;;
1124 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1125 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1126 | --oldin | --oldi | --old | --ol | --o)
1127 ac_prev=oldincludedir ;;
1128 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1129 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1130 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1131 oldincludedir=$ac_optarg ;;
1133 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1134 ac_prev=prefix ;;
1135 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1136 prefix=$ac_optarg ;;
1138 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1139 | --program-pre | --program-pr | --program-p)
1140 ac_prev=program_prefix ;;
1141 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1142 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1143 program_prefix=$ac_optarg ;;
1145 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1146 | --program-suf | --program-su | --program-s)
1147 ac_prev=program_suffix ;;
1148 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1149 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1150 program_suffix=$ac_optarg ;;
1152 -program-transform-name | --program-transform-name \
1153 | --program-transform-nam | --program-transform-na \
1154 | --program-transform-n | --program-transform- \
1155 | --program-transform | --program-transfor \
1156 | --program-transfo | --program-transf \
1157 | --program-trans | --program-tran \
1158 | --progr-tra | --program-tr | --program-t)
1159 ac_prev=program_transform_name ;;
1160 -program-transform-name=* | --program-transform-name=* \
1161 | --program-transform-nam=* | --program-transform-na=* \
1162 | --program-transform-n=* | --program-transform-=* \
1163 | --program-transform=* | --program-transfor=* \
1164 | --program-transfo=* | --program-transf=* \
1165 | --program-trans=* | --program-tran=* \
1166 | --progr-tra=* | --program-tr=* | --program-t=*)
1167 program_transform_name=$ac_optarg ;;
1169 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1170 ac_prev=pdfdir ;;
1171 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1172 pdfdir=$ac_optarg ;;
1174 -psdir | --psdir | --psdi | --psd | --ps)
1175 ac_prev=psdir ;;
1176 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1177 psdir=$ac_optarg ;;
1179 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1180 | -silent | --silent | --silen | --sile | --sil)
1181 silent=yes ;;
1183 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1184 ac_prev=sbindir ;;
1185 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1186 | --sbi=* | --sb=*)
1187 sbindir=$ac_optarg ;;
1189 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1190 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1191 | --sharedst | --shareds | --shared | --share | --shar \
1192 | --sha | --sh)
1193 ac_prev=sharedstatedir ;;
1194 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1195 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1196 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1197 | --sha=* | --sh=*)
1198 sharedstatedir=$ac_optarg ;;
1200 -site | --site | --sit)
1201 ac_prev=site ;;
1202 -site=* | --site=* | --sit=*)
1203 site=$ac_optarg ;;
1205 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1206 ac_prev=srcdir ;;
1207 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1208 srcdir=$ac_optarg ;;
1210 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1211 | --syscon | --sysco | --sysc | --sys | --sy)
1212 ac_prev=sysconfdir ;;
1213 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1214 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1215 sysconfdir=$ac_optarg ;;
1217 -target | --target | --targe | --targ | --tar | --ta | --t)
1218 ac_prev=target_alias ;;
1219 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1220 target_alias=$ac_optarg ;;
1222 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1223 verbose=yes ;;
1225 -version | --version | --versio | --versi | --vers | -V)
1226 ac_init_version=: ;;
1228 -with-* | --with-*)
1229 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1232 as_fn_error "invalid package name: $ac_useropt"
1233 ac_useropt_orig=$ac_useropt
1234 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1235 case $ac_user_opts in
1237 "with_$ac_useropt"
1238 "*) ;;
1239 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1240 ac_unrecognized_sep=', ';;
1241 esac
1242 eval with_$ac_useropt=\$ac_optarg ;;
1244 -without-* | --without-*)
1245 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248 as_fn_error "invalid package name: $ac_useropt"
1249 ac_useropt_orig=$ac_useropt
1250 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1253 "with_$ac_useropt"
1254 "*) ;;
1255 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1256 ac_unrecognized_sep=', ';;
1257 esac
1258 eval with_$ac_useropt=no ;;
1260 --x)
1261 # Obsolete; use --with-x.
1262 with_x=yes ;;
1264 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1265 | --x-incl | --x-inc | --x-in | --x-i)
1266 ac_prev=x_includes ;;
1267 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1268 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1269 x_includes=$ac_optarg ;;
1271 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1272 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1273 ac_prev=x_libraries ;;
1274 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1275 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1276 x_libraries=$ac_optarg ;;
1278 -*) as_fn_error "unrecognized option: \`$ac_option'
1279 Try \`$0 --help' for more information."
1282 *=*)
1283 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1284 # Reject names that are not valid shell variable names.
1285 case $ac_envvar in #(
1286 '' | [0-9]* | *[!_$as_cr_alnum]* )
1287 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1288 esac
1289 eval $ac_envvar=\$ac_optarg
1290 export $ac_envvar ;;
1293 # FIXME: should be removed in autoconf 3.0.
1294 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1295 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1296 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1297 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1300 esac
1301 done
1303 if test -n "$ac_prev"; then
1304 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1305 as_fn_error "missing argument to $ac_option"
1308 if test -n "$ac_unrecognized_opts"; then
1309 case $enable_option_checking in
1310 no) ;;
1311 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1312 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1313 esac
1316 # Check all directory arguments for consistency.
1317 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1318 datadir sysconfdir sharedstatedir localstatedir includedir \
1319 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1320 libdir localedir mandir
1322 eval ac_val=\$$ac_var
1323 # Remove trailing slashes.
1324 case $ac_val in
1325 */ )
1326 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1327 eval $ac_var=\$ac_val;;
1328 esac
1329 # Be sure to have absolute directory names.
1330 case $ac_val in
1331 [\\/$]* | ?:[\\/]* ) continue;;
1332 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1333 esac
1334 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1335 done
1337 # There might be people who depend on the old broken behavior: `$host'
1338 # used to hold the argument of --host etc.
1339 # FIXME: To remove some day.
1340 build=$build_alias
1341 host=$host_alias
1342 target=$target_alias
1344 # FIXME: To remove some day.
1345 if test "x$host_alias" != x; then
1346 if test "x$build_alias" = x; then
1347 cross_compiling=maybe
1348 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1349 If a cross compiler is detected then cross compile mode will be used." >&2
1350 elif test "x$build_alias" != "x$host_alias"; then
1351 cross_compiling=yes
1355 ac_tool_prefix=
1356 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1358 test "$silent" = yes && exec 6>/dev/null
1361 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1362 ac_ls_di=`ls -di .` &&
1363 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1364 as_fn_error "working directory cannot be determined"
1365 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1366 as_fn_error "pwd does not report name of working directory"
1369 # Find the source files, if location was not specified.
1370 if test -z "$srcdir"; then
1371 ac_srcdir_defaulted=yes
1372 # Try the directory containing this script, then the parent directory.
1373 ac_confdir=`$as_dirname -- "$as_myself" ||
1374 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1375 X"$as_myself" : 'X\(//\)[^/]' \| \
1376 X"$as_myself" : 'X\(//\)$' \| \
1377 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1378 $as_echo X"$as_myself" |
1379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1380 s//\1/
1383 /^X\(\/\/\)[^/].*/{
1384 s//\1/
1387 /^X\(\/\/\)$/{
1388 s//\1/
1391 /^X\(\/\).*/{
1392 s//\1/
1395 s/.*/./; q'`
1396 srcdir=$ac_confdir
1397 if test ! -r "$srcdir/$ac_unique_file"; then
1398 srcdir=..
1400 else
1401 ac_srcdir_defaulted=no
1403 if test ! -r "$srcdir/$ac_unique_file"; then
1404 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1405 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1407 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1408 ac_abs_confdir=`(
1409 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1410 pwd)`
1411 # When building in place, set srcdir=.
1412 if test "$ac_abs_confdir" = "$ac_pwd"; then
1413 srcdir=.
1415 # Remove unnecessary trailing slashes from srcdir.
1416 # Double slashes in file names in object file debugging info
1417 # mess up M-x gdb in Emacs.
1418 case $srcdir in
1419 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1420 esac
1421 for ac_var in $ac_precious_vars; do
1422 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1423 eval ac_env_${ac_var}_value=\$${ac_var}
1424 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1425 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1426 done
1429 # Report the --help message.
1431 if test "$ac_init_help" = "long"; then
1432 # Omit some internal or obsolete options to make the list less imposing.
1433 # This message is too long to be a string in the A/UX 3.1 sh.
1434 cat <<_ACEOF
1435 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1437 Usage: $0 [OPTION]... [VAR=VALUE]...
1439 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1440 VAR=VALUE. See below for descriptions of some of the useful variables.
1442 Defaults for the options are specified in brackets.
1444 Configuration:
1445 -h, --help display this help and exit
1446 --help=short display options specific to this package
1447 --help=recursive display the short help of all the included packages
1448 -V, --version display version information and exit
1449 -q, --quiet, --silent do not print \`checking...' messages
1450 --cache-file=FILE cache test results in FILE [disabled]
1451 -C, --config-cache alias for \`--cache-file=config.cache'
1452 -n, --no-create do not create output files
1453 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1455 Installation directories:
1456 --prefix=PREFIX install architecture-independent files in PREFIX
1457 [$ac_default_prefix]
1458 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1459 [PREFIX]
1461 By default, \`make install' will install all the files in
1462 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1463 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1464 for instance \`--prefix=\$HOME'.
1466 For better control, use the options below.
1468 Fine tuning of the installation directories:
1469 --bindir=DIR user executables [EPREFIX/bin]
1470 --sbindir=DIR system admin executables [EPREFIX/sbin]
1471 --libexecdir=DIR program executables [EPREFIX/libexec]
1472 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1473 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1474 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1475 --libdir=DIR object code libraries [EPREFIX/lib]
1476 --includedir=DIR C header files [PREFIX/include]
1477 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1478 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1479 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1480 --infodir=DIR info documentation [DATAROOTDIR/info]
1481 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1482 --mandir=DIR man documentation [DATAROOTDIR/man]
1483 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1484 --htmldir=DIR html documentation [DOCDIR]
1485 --dvidir=DIR dvi documentation [DOCDIR]
1486 --pdfdir=DIR pdf documentation [DOCDIR]
1487 --psdir=DIR ps documentation [DOCDIR]
1488 _ACEOF
1490 cat <<\_ACEOF
1492 Program names:
1493 --program-prefix=PREFIX prepend PREFIX to installed program names
1494 --program-suffix=SUFFIX append SUFFIX to installed program names
1495 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1497 System types:
1498 --build=BUILD configure for building on BUILD [guessed]
1499 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1500 --target=TARGET configure for building compilers for TARGET [HOST]
1501 _ACEOF
1504 if test -n "$ac_init_help"; then
1505 case $ac_init_help in
1506 short | recursive ) echo "Configuration of package-unused version-unused:";;
1507 esac
1508 cat <<\_ACEOF
1510 Optional Features:
1511 --disable-option-checking ignore unrecognized --enable/--with options
1512 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1513 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1514 --enable-multilib build many library versions (default)
1515 --enable-maintainer-mode enable make rules and dependencies not useful
1516 (and sometimes confusing) to the casual installer
1517 --enable-shared[=PKGS] build shared libraries [default=yes]
1518 --enable-static[=PKGS] build static libraries [default=yes]
1519 --enable-fast-install[=PKGS]
1520 optimize for fast installation [default=yes]
1521 --disable-libtool-lock avoid locking (might break parallel builds)
1522 --disable-hosted-libstdcxx
1523 only build freestanding C++ runtime support
1524 --disable-libstdcxx-verbose
1525 disable termination messages to standard error
1526 --enable-sjlj-exceptions
1527 force use of builtin_setjmp for exceptions
1528 [default=auto]
1529 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1530 [default=$is_hosted]
1531 --enable-cstdio[=PACKAGE]
1532 use target-specific I/O package [default=stdio]
1533 --enable-clocale[=MODEL]
1534 use MODEL for target locale package [default=auto]
1535 --enable-nls use Native Language Support (default)
1536 --enable-libstdcxx-allocator[=KIND]
1537 use KIND for target std::allocator base
1538 [default=auto]
1539 --enable-cheaders[=KIND]
1540 construct "C" headers for g++ [default=$c_model]
1541 --enable-long-long enable template specializations for 'long long'
1542 [default=yes]
1543 --enable-wchar_t enable template specializations for 'wchar_t'
1544 [default=yes]
1545 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1546 --enable-concept-checks use Boost-derived template checks [default=no]
1547 --enable-libstdcxx-debug-flags=FLAGS
1548 pass compiler FLAGS when building debug library
1549 [default="-gdwarf-4 -g3 -O0"]
1550 --enable-libstdcxx-debug
1551 build extra debug library [default=no]
1552 --enable-cxx-flags=FLAGS
1553 pass compiler FLAGS when building library [default=]
1554 --enable-fully-dynamic-string
1555 do not put empty strings in per-process static
1556 memory [default=no]
1557 --enable-extern-template
1558 enable extern template [default=yes]
1559 --enable-werror turns on -Werror [default=yes]
1560 --enable-libstdcxx-time[=KIND]
1561 use KIND for check type [default=no]
1562 --enable-tls Use thread-local storage [default=yes]
1563 --disable-rpath do not hardcode runtime library paths
1564 --enable-linux-futex use the Linux futex system call [default=default]
1565 --enable-symvers[=STYLE]
1566 enables symbol versioning of the shared library
1567 [default=yes]
1568 --enable-libstdcxx-visibility
1569 enables visibility safe usage [default=yes]
1570 --enable-libstdcxx-threads
1571 enable C++11 threads support [default=auto]
1572 --enable-version-specific-runtime-libs
1573 Specify that runtime libraries should be installed
1574 in a compiler-specific directory
1576 Optional Packages:
1577 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1578 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1579 --with-target-subdir=SUBDIR
1580 configuring in a subdirectory
1581 --with-cross-host=HOST configuring with a cross compiler
1582 --with-newlib assume newlib as a system C library
1583 --with-pic try to use only PIC/non-PIC objects [default=use
1584 both]
1585 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1586 --with-python-dir the location to install Python modules. This path is
1587 relative starting from the prefix.
1588 --with-gnu-ld assume the C compiler uses GNU ld default=no
1589 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1590 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1591 --with-system-libunwind use installed libunwind
1592 --with-gxx-include-dir=DIR
1593 installation directory for include files
1595 Some influential environment variables:
1596 CC C compiler command
1597 CFLAGS C compiler flags
1598 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1599 nonstandard directory <lib dir>
1600 LIBS libraries to pass to the linker, e.g. -l<library>
1601 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1602 you have headers in a nonstandard directory <include dir>
1603 CXX C++ compiler command
1604 CXXFLAGS C++ compiler flags
1605 CPP C preprocessor
1606 CXXCPP C++ preprocessor
1607 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1608 `c++filt', `gc++filt' on PATH.
1610 Use these variables to override the choices made by `configure' or to help
1611 it to find libraries and programs with nonstandard names/locations.
1613 Report bugs to the package provider.
1614 _ACEOF
1615 ac_status=$?
1618 if test "$ac_init_help" = "recursive"; then
1619 # If there are subdirs, report their specific --help.
1620 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1621 test -d "$ac_dir" ||
1622 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1623 continue
1624 ac_builddir=.
1626 case "$ac_dir" in
1627 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1630 # A ".." for each directory in $ac_dir_suffix.
1631 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1632 case $ac_top_builddir_sub in
1633 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1634 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1635 esac ;;
1636 esac
1637 ac_abs_top_builddir=$ac_pwd
1638 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1639 # for backward compatibility:
1640 ac_top_builddir=$ac_top_build_prefix
1642 case $srcdir in
1643 .) # We are building in place.
1644 ac_srcdir=.
1645 ac_top_srcdir=$ac_top_builddir_sub
1646 ac_abs_top_srcdir=$ac_pwd ;;
1647 [\\/]* | ?:[\\/]* ) # Absolute name.
1648 ac_srcdir=$srcdir$ac_dir_suffix;
1649 ac_top_srcdir=$srcdir
1650 ac_abs_top_srcdir=$srcdir ;;
1651 *) # Relative name.
1652 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1653 ac_top_srcdir=$ac_top_build_prefix$srcdir
1654 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1655 esac
1656 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1658 cd "$ac_dir" || { ac_status=$?; continue; }
1659 # Check for guested configure.
1660 if test -f "$ac_srcdir/configure.gnu"; then
1661 echo &&
1662 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1663 elif test -f "$ac_srcdir/configure"; then
1664 echo &&
1665 $SHELL "$ac_srcdir/configure" --help=recursive
1666 else
1667 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1668 fi || ac_status=$?
1669 cd "$ac_pwd" || { ac_status=$?; break; }
1670 done
1673 test -n "$ac_init_help" && exit $ac_status
1674 if $ac_init_version; then
1675 cat <<\_ACEOF
1676 package-unused configure version-unused
1677 generated by GNU Autoconf 2.64
1679 Copyright (C) 2009 Free Software Foundation, Inc.
1680 This configure script is free software; the Free Software Foundation
1681 gives unlimited permission to copy, distribute and modify it.
1682 _ACEOF
1683 exit
1686 ## ------------------------ ##
1687 ## Autoconf initialization. ##
1688 ## ------------------------ ##
1690 # ac_fn_c_try_compile LINENO
1691 # --------------------------
1692 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1693 ac_fn_c_try_compile ()
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 rm -f conftest.$ac_objext
1697 if { { ac_try="$ac_compile"
1698 case "(($ac_try" in
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1701 esac
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_compile") 2>conftest.err
1705 ac_status=$?
1706 if test -s conftest.err; then
1707 grep -v '^ *+' conftest.err >conftest.er1
1708 cat conftest.er1 >&5
1709 mv -f conftest.er1 conftest.err
1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test $ac_status = 0; } && {
1713 test -z "$ac_c_werror_flag" ||
1714 test ! -s conftest.err
1715 } && test -s conftest.$ac_objext; then :
1716 ac_retval=0
1717 else
1718 $as_echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.$ac_ext >&5
1721 ac_retval=1
1723 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724 return $ac_retval
1726 } # ac_fn_c_try_compile
1728 # ac_fn_cxx_try_compile LINENO
1729 # ----------------------------
1730 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1731 ac_fn_cxx_try_compile ()
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 rm -f conftest.$ac_objext
1735 if { { ac_try="$ac_compile"
1736 case "(($ac_try" in
1737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1738 *) ac_try_echo=$ac_try;;
1739 esac
1740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742 (eval "$ac_compile") 2>conftest.err
1743 ac_status=$?
1744 if test -s conftest.err; then
1745 grep -v '^ *+' conftest.err >conftest.er1
1746 cat conftest.er1 >&5
1747 mv -f conftest.er1 conftest.err
1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750 test $ac_status = 0; } && {
1751 test -z "$ac_cxx_werror_flag" ||
1752 test ! -s conftest.err
1753 } && test -s conftest.$ac_objext; then :
1754 ac_retval=0
1755 else
1756 $as_echo "$as_me: failed program was:" >&5
1757 sed 's/^/| /' conftest.$ac_ext >&5
1759 ac_retval=1
1761 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 return $ac_retval
1764 } # ac_fn_cxx_try_compile
1766 # ac_fn_c_try_cpp LINENO
1767 # ----------------------
1768 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1769 ac_fn_c_try_cpp ()
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if { { ac_try="$ac_cpp conftest.$ac_ext"
1773 case "(($ac_try" in
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1776 esac
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1780 ac_status=$?
1781 if test -s conftest.err; then
1782 grep -v '^ *+' conftest.err >conftest.er1
1783 cat conftest.er1 >&5
1784 mv -f conftest.er1 conftest.err
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } >/dev/null && {
1788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1789 test ! -s conftest.err
1790 }; then :
1791 ac_retval=0
1792 else
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1796 ac_retval=1
1798 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1799 return $ac_retval
1801 } # ac_fn_c_try_cpp
1803 # ac_fn_c_try_link LINENO
1804 # -----------------------
1805 # Try to link conftest.$ac_ext, and return whether this succeeded.
1806 ac_fn_c_try_link ()
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 rm -f conftest.$ac_objext conftest$ac_exeext
1810 if { { ac_try="$ac_link"
1811 case "(($ac_try" in
1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1814 esac
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_link") 2>conftest.err
1818 ac_status=$?
1819 if test -s conftest.err; then
1820 grep -v '^ *+' conftest.err >conftest.er1
1821 cat conftest.er1 >&5
1822 mv -f conftest.er1 conftest.err
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } && {
1826 test -z "$ac_c_werror_flag" ||
1827 test ! -s conftest.err
1828 } && test -s conftest$ac_exeext && {
1829 test "$cross_compiling" = yes ||
1830 $as_test_x conftest$ac_exeext
1831 }; then :
1832 ac_retval=0
1833 else
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1837 ac_retval=1
1839 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1840 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1841 # interfere with the next link command; also delete a directory that is
1842 # left behind by Apple's compiler. We do this before executing the actions.
1843 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1845 return $ac_retval
1847 } # ac_fn_c_try_link
1849 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1850 # -------------------------------------------------------
1851 # Tests whether HEADER exists and can be compiled using the include files in
1852 # INCLUDES, setting the cache variable VAR accordingly.
1853 ac_fn_c_check_header_compile ()
1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857 $as_echo_n "checking for $2... " >&6; }
1858 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1859 $as_echo_n "(cached) " >&6
1860 else
1861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1862 /* end confdefs.h. */
1864 #include <$2>
1865 _ACEOF
1866 if ac_fn_c_try_compile "$LINENO"; then :
1867 eval "$3=yes"
1868 else
1869 eval "$3=no"
1871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873 eval ac_res=\$$3
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878 } # ac_fn_c_check_header_compile
1880 # ac_fn_c_try_run LINENO
1881 # ----------------------
1882 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1883 # that executables *can* be run.
1884 ac_fn_c_try_run ()
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 if { { ac_try="$ac_link"
1888 case "(($ac_try" in
1889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1891 esac
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_link") 2>&5
1895 ac_status=$?
1896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1898 { { case "(($ac_try" in
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1901 esac
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_try") 2>&5
1905 ac_status=$?
1906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1907 test $ac_status = 0; }; }; then :
1908 ac_retval=0
1909 else
1910 $as_echo "$as_me: program exited with status $ac_status" >&5
1911 $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1914 ac_retval=$ac_status
1916 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1917 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1918 return $ac_retval
1920 } # ac_fn_c_try_run
1922 # ac_fn_c_check_func LINENO FUNC VAR
1923 # ----------------------------------
1924 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1925 ac_fn_c_check_func ()
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1931 $as_echo_n "(cached) " >&6
1932 else
1933 if test x$gcc_no_link = xyes; then
1934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1938 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1940 #define $2 innocuous_$2
1942 /* System header to define __stub macros and hopefully few prototypes,
1943 which can conflict with char $2 (); below.
1944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1945 <limits.h> exists even on freestanding compilers. */
1947 #ifdef __STDC__
1948 # include <limits.h>
1949 #else
1950 # include <assert.h>
1951 #endif
1953 #undef $2
1955 /* Override any GCC internal prototype to avoid an error.
1956 Use char because int might match the return type of a GCC
1957 builtin and then its argument prototype would still apply. */
1958 #ifdef __cplusplus
1959 extern "C"
1960 #endif
1961 char $2 ();
1962 /* The GNU C library defines this for functions which it implements
1963 to always fail with ENOSYS. Some functions are actually named
1964 something starting with __ and the normal name is an alias. */
1965 #if defined __stub_$2 || defined __stub___$2
1966 choke me
1967 #endif
1970 main ()
1972 return $2 ();
1974 return 0;
1976 _ACEOF
1977 if ac_fn_c_try_link "$LINENO"; then :
1978 eval "$3=yes"
1979 else
1980 eval "$3=no"
1982 rm -f core conftest.err conftest.$ac_objext \
1983 conftest$ac_exeext conftest.$ac_ext
1985 eval ac_res=\$$3
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987 $as_echo "$ac_res" >&6; }
1988 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1990 } # ac_fn_c_check_func
1992 # ac_fn_cxx_try_cpp LINENO
1993 # ------------------------
1994 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1995 ac_fn_cxx_try_cpp ()
1997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998 if { { ac_try="$ac_cpp conftest.$ac_ext"
1999 case "(($ac_try" in
2000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2001 *) ac_try_echo=$ac_try;;
2002 esac
2003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2006 ac_status=$?
2007 if test -s conftest.err; then
2008 grep -v '^ *+' conftest.err >conftest.er1
2009 cat conftest.er1 >&5
2010 mv -f conftest.er1 conftest.err
2012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2013 test $ac_status = 0; } >/dev/null && {
2014 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2015 test ! -s conftest.err
2016 }; then :
2017 ac_retval=0
2018 else
2019 $as_echo "$as_me: failed program was:" >&5
2020 sed 's/^/| /' conftest.$ac_ext >&5
2022 ac_retval=1
2024 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2025 return $ac_retval
2027 } # ac_fn_cxx_try_cpp
2029 # ac_fn_cxx_try_link LINENO
2030 # -------------------------
2031 # Try to link conftest.$ac_ext, and return whether this succeeded.
2032 ac_fn_cxx_try_link ()
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 rm -f conftest.$ac_objext conftest$ac_exeext
2036 if { { ac_try="$ac_link"
2037 case "(($ac_try" in
2038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2039 *) ac_try_echo=$ac_try;;
2040 esac
2041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2042 $as_echo "$ac_try_echo"; } >&5
2043 (eval "$ac_link") 2>conftest.err
2044 ac_status=$?
2045 if test -s conftest.err; then
2046 grep -v '^ *+' conftest.err >conftest.er1
2047 cat conftest.er1 >&5
2048 mv -f conftest.er1 conftest.err
2050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2051 test $ac_status = 0; } && {
2052 test -z "$ac_cxx_werror_flag" ||
2053 test ! -s conftest.err
2054 } && test -s conftest$ac_exeext && {
2055 test "$cross_compiling" = yes ||
2056 $as_test_x conftest$ac_exeext
2057 }; then :
2058 ac_retval=0
2059 else
2060 $as_echo "$as_me: failed program was:" >&5
2061 sed 's/^/| /' conftest.$ac_ext >&5
2063 ac_retval=1
2065 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2066 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2067 # interfere with the next link command; also delete a directory that is
2068 # left behind by Apple's compiler. We do this before executing the actions.
2069 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2070 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2071 return $ac_retval
2073 } # ac_fn_cxx_try_link
2075 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2076 # -------------------------------------------------------
2077 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2078 # the include files in INCLUDES and setting the cache variable VAR
2079 # accordingly.
2080 ac_fn_c_check_header_mongrel ()
2082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2083 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2085 $as_echo_n "checking for $2... " >&6; }
2086 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2087 $as_echo_n "(cached) " >&6
2089 eval ac_res=\$$3
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2091 $as_echo "$ac_res" >&6; }
2092 else
2093 # Is the header compilable?
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2095 $as_echo_n "checking $2 usability... " >&6; }
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2099 #include <$2>
2100 _ACEOF
2101 if ac_fn_c_try_compile "$LINENO"; then :
2102 ac_header_compiler=yes
2103 else
2104 ac_header_compiler=no
2106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2108 $as_echo "$ac_header_compiler" >&6; }
2110 # Is the header present?
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2112 $as_echo_n "checking $2 presence... " >&6; }
2113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2114 /* end confdefs.h. */
2115 #include <$2>
2116 _ACEOF
2117 if ac_fn_c_try_cpp "$LINENO"; then :
2118 ac_header_preproc=yes
2119 else
2120 ac_header_preproc=no
2122 rm -f conftest.err conftest.$ac_ext
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2124 $as_echo "$ac_header_preproc" >&6; }
2126 # So? What about this header?
2127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2128 yes:no: )
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2130 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2132 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2134 no:yes:* )
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2136 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2138 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2140 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2142 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2144 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2146 esac
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2148 $as_echo_n "checking for $2... " >&6; }
2149 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2150 $as_echo_n "(cached) " >&6
2151 else
2152 eval "$3=\$ac_header_compiler"
2154 eval ac_res=\$$3
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2156 $as_echo "$ac_res" >&6; }
2158 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2160 } # ac_fn_c_check_header_mongrel
2162 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2163 # ---------------------------------------------------------
2164 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2165 # the include files in INCLUDES and setting the cache variable VAR
2166 # accordingly.
2167 ac_fn_cxx_check_header_mongrel ()
2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2170 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2174 $as_echo_n "(cached) " >&6
2176 eval ac_res=\$$3
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2179 else
2180 # Is the header compilable?
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2182 $as_echo_n "checking $2 usability... " >&6; }
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2186 #include <$2>
2187 _ACEOF
2188 if ac_fn_cxx_try_compile "$LINENO"; then :
2189 ac_header_compiler=yes
2190 else
2191 ac_header_compiler=no
2193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2195 $as_echo "$ac_header_compiler" >&6; }
2197 # Is the header present?
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2199 $as_echo_n "checking $2 presence... " >&6; }
2200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2201 /* end confdefs.h. */
2202 #include <$2>
2203 _ACEOF
2204 if ac_fn_cxx_try_cpp "$LINENO"; then :
2205 ac_header_preproc=yes
2206 else
2207 ac_header_preproc=no
2209 rm -f conftest.err conftest.$ac_ext
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2211 $as_echo "$ac_header_preproc" >&6; }
2213 # So? What about this header?
2214 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2215 yes:no: )
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2217 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2219 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2221 no:yes:* )
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2223 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2225 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2227 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2229 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2231 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233 esac
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2235 $as_echo_n "checking for $2... " >&6; }
2236 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2237 $as_echo_n "(cached) " >&6
2238 else
2239 eval "$3=\$ac_header_compiler"
2241 eval ac_res=\$$3
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243 $as_echo "$ac_res" >&6; }
2245 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2247 } # ac_fn_cxx_check_header_mongrel
2249 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2250 # --------------------------------------------
2251 # Tries to find the compile-time value of EXPR in a program that includes
2252 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2253 # computed
2254 ac_fn_c_compute_int ()
2256 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2257 if test "$cross_compiling" = yes; then
2258 # Depending upon the size, compute the lo and hi bounds.
2259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h. */
2263 main ()
2265 static int test_array [1 - 2 * !(($2) >= 0)];
2266 test_array [0] = 0
2269 return 0;
2271 _ACEOF
2272 if ac_fn_c_try_compile "$LINENO"; then :
2273 ac_lo=0 ac_mid=0
2274 while :; do
2275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2276 /* end confdefs.h. */
2279 main ()
2281 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2282 test_array [0] = 0
2285 return 0;
2287 _ACEOF
2288 if ac_fn_c_try_compile "$LINENO"; then :
2289 ac_hi=$ac_mid; break
2290 else
2291 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2292 if test $ac_lo -le $ac_mid; then
2293 ac_lo= ac_hi=
2294 break
2296 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2299 done
2300 else
2301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h. */
2305 main ()
2307 static int test_array [1 - 2 * !(($2) < 0)];
2308 test_array [0] = 0
2311 return 0;
2313 _ACEOF
2314 if ac_fn_c_try_compile "$LINENO"; then :
2315 ac_hi=-1 ac_mid=-1
2316 while :; do
2317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2318 /* end confdefs.h. */
2321 main ()
2323 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2324 test_array [0] = 0
2327 return 0;
2329 _ACEOF
2330 if ac_fn_c_try_compile "$LINENO"; then :
2331 ac_lo=$ac_mid; break
2332 else
2333 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2334 if test $ac_mid -le $ac_hi; then
2335 ac_lo= ac_hi=
2336 break
2338 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341 done
2342 else
2343 ac_lo= ac_hi=
2345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 # Binary search between lo and hi bounds.
2349 while test "x$ac_lo" != "x$ac_hi"; do
2350 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h. */
2355 main ()
2357 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2358 test_array [0] = 0
2361 return 0;
2363 _ACEOF
2364 if ac_fn_c_try_compile "$LINENO"; then :
2365 ac_hi=$ac_mid
2366 else
2367 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 done
2371 case $ac_lo in #((
2372 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2373 '') ac_retval=1 ;;
2374 esac
2375 else
2376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377 /* end confdefs.h. */
2379 static long int longval () { return $2; }
2380 static unsigned long int ulongval () { return $2; }
2381 #include <stdio.h>
2382 #include <stdlib.h>
2384 main ()
2387 FILE *f = fopen ("conftest.val", "w");
2388 if (! f)
2389 return 1;
2390 if (($2) < 0)
2392 long int i = longval ();
2393 if (i != ($2))
2394 return 1;
2395 fprintf (f, "%ld", i);
2397 else
2399 unsigned long int i = ulongval ();
2400 if (i != ($2))
2401 return 1;
2402 fprintf (f, "%lu", i);
2404 /* Do not output a trailing newline, as this causes \r\n confusion
2405 on some platforms. */
2406 return ferror (f) || fclose (f) != 0;
2409 return 0;
2411 _ACEOF
2412 if ac_fn_c_try_run "$LINENO"; then :
2413 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2414 else
2415 ac_retval=1
2417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2418 conftest.$ac_objext conftest.beam conftest.$ac_ext
2419 rm -f conftest.val
2422 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2423 return $ac_retval
2425 } # ac_fn_c_compute_int
2427 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2428 # -------------------------------------------
2429 # Tests whether TYPE exists after having included INCLUDES, setting cache
2430 # variable VAR accordingly.
2431 ac_fn_c_check_type ()
2433 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2435 $as_echo_n "checking for $2... " >&6; }
2436 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2437 $as_echo_n "(cached) " >&6
2438 else
2439 eval "$3=no"
2440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2441 /* end confdefs.h. */
2444 main ()
2446 if (sizeof ($2))
2447 return 0;
2449 return 0;
2451 _ACEOF
2452 if ac_fn_c_try_compile "$LINENO"; then :
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 :
2467 else
2468 eval "$3=yes"
2470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 eval ac_res=\$$3
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2476 $as_echo "$ac_res" >&6; }
2477 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2479 } # ac_fn_c_check_type
2480 cat >config.log <<_ACEOF
2481 This file contains any messages produced by compilers while
2482 running configure, to aid debugging if configure makes a mistake.
2484 It was created by package-unused $as_me version-unused, which was
2485 generated by GNU Autoconf 2.64. Invocation command line was
2487 $ $0 $@
2489 _ACEOF
2490 exec 5>>config.log
2492 cat <<_ASUNAME
2493 ## --------- ##
2494 ## Platform. ##
2495 ## --------- ##
2497 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2498 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2499 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2500 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2501 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2503 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2504 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2506 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2507 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2508 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2509 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2510 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2511 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2512 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2514 _ASUNAME
2516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517 for as_dir in $PATH
2519 IFS=$as_save_IFS
2520 test -z "$as_dir" && as_dir=.
2521 $as_echo "PATH: $as_dir"
2522 done
2523 IFS=$as_save_IFS
2525 } >&5
2527 cat >&5 <<_ACEOF
2530 ## ----------- ##
2531 ## Core tests. ##
2532 ## ----------- ##
2534 _ACEOF
2537 # Keep a trace of the command line.
2538 # Strip out --no-create and --no-recursion so they do not pile up.
2539 # Strip out --silent because we don't want to record it for future runs.
2540 # Also quote any args containing shell meta-characters.
2541 # Make two passes to allow for proper duplicate-argument suppression.
2542 ac_configure_args=
2543 ac_configure_args0=
2544 ac_configure_args1=
2545 ac_must_keep_next=false
2546 for ac_pass in 1 2
2548 for ac_arg
2550 case $ac_arg in
2551 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2552 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2553 | -silent | --silent | --silen | --sile | --sil)
2554 continue ;;
2555 *\'*)
2556 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2557 esac
2558 case $ac_pass in
2559 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2561 as_fn_append ac_configure_args1 " '$ac_arg'"
2562 if test $ac_must_keep_next = true; then
2563 ac_must_keep_next=false # Got value, back to normal.
2564 else
2565 case $ac_arg in
2566 *=* | --config-cache | -C | -disable-* | --disable-* \
2567 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2568 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2569 | -with-* | --with-* | -without-* | --without-* | --x)
2570 case "$ac_configure_args0 " in
2571 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2572 esac
2574 -* ) ac_must_keep_next=true ;;
2575 esac
2577 as_fn_append ac_configure_args " '$ac_arg'"
2579 esac
2580 done
2581 done
2582 { ac_configure_args0=; unset ac_configure_args0;}
2583 { ac_configure_args1=; unset ac_configure_args1;}
2585 # When interrupted or exit'd, cleanup temporary files, and complete
2586 # config.log. We remove comments because anyway the quotes in there
2587 # would cause problems or look ugly.
2588 # WARNING: Use '\'' to represent an apostrophe within the trap.
2589 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2590 trap 'exit_status=$?
2591 # Save into config.log some information that might help in debugging.
2593 echo
2595 cat <<\_ASBOX
2596 ## ---------------- ##
2597 ## Cache variables. ##
2598 ## ---------------- ##
2599 _ASBOX
2600 echo
2601 # The following way of writing the cache mishandles newlines in values,
2603 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2604 eval ac_val=\$$ac_var
2605 case $ac_val in #(
2606 *${as_nl}*)
2607 case $ac_var in #(
2608 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2610 esac
2611 case $ac_var in #(
2612 _ | IFS | as_nl) ;; #(
2613 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2614 *) { eval $ac_var=; unset $ac_var;} ;;
2615 esac ;;
2616 esac
2617 done
2618 (set) 2>&1 |
2619 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2620 *${as_nl}ac_space=\ *)
2621 sed -n \
2622 "s/'\''/'\''\\\\'\'''\''/g;
2623 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2624 ;; #(
2626 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2628 esac |
2629 sort
2631 echo
2633 cat <<\_ASBOX
2634 ## ----------------- ##
2635 ## Output variables. ##
2636 ## ----------------- ##
2637 _ASBOX
2638 echo
2639 for ac_var in $ac_subst_vars
2641 eval ac_val=\$$ac_var
2642 case $ac_val in
2643 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2644 esac
2645 $as_echo "$ac_var='\''$ac_val'\''"
2646 done | sort
2647 echo
2649 if test -n "$ac_subst_files"; then
2650 cat <<\_ASBOX
2651 ## ------------------- ##
2652 ## File substitutions. ##
2653 ## ------------------- ##
2654 _ASBOX
2655 echo
2656 for ac_var in $ac_subst_files
2658 eval ac_val=\$$ac_var
2659 case $ac_val in
2660 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2661 esac
2662 $as_echo "$ac_var='\''$ac_val'\''"
2663 done | sort
2664 echo
2667 if test -s confdefs.h; then
2668 cat <<\_ASBOX
2669 ## ----------- ##
2670 ## confdefs.h. ##
2671 ## ----------- ##
2672 _ASBOX
2673 echo
2674 cat confdefs.h
2675 echo
2677 test "$ac_signal" != 0 &&
2678 $as_echo "$as_me: caught signal $ac_signal"
2679 $as_echo "$as_me: exit $exit_status"
2680 } >&5
2681 rm -f core *.core core.conftest.* &&
2682 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2683 exit $exit_status
2685 for ac_signal in 1 2 13 15; do
2686 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2687 done
2688 ac_signal=0
2690 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2691 rm -f -r conftest* confdefs.h
2693 $as_echo "/* confdefs.h */" > confdefs.h
2695 # Predefined preprocessor variables.
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_NAME "$PACKAGE_NAME"
2699 _ACEOF
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2703 _ACEOF
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2707 _ACEOF
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_STRING "$PACKAGE_STRING"
2711 _ACEOF
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2715 _ACEOF
2717 cat >>confdefs.h <<_ACEOF
2718 #define PACKAGE_URL "$PACKAGE_URL"
2719 _ACEOF
2722 # Let the site file select an alternate cache file if it wants to.
2723 # Prefer an explicitly selected file to automatically selected ones.
2724 ac_site_file1=NONE
2725 ac_site_file2=NONE
2726 if test -n "$CONFIG_SITE"; then
2727 ac_site_file1=$CONFIG_SITE
2728 elif test "x$prefix" != xNONE; then
2729 ac_site_file1=$prefix/share/config.site
2730 ac_site_file2=$prefix/etc/config.site
2731 else
2732 ac_site_file1=$ac_default_prefix/share/config.site
2733 ac_site_file2=$ac_default_prefix/etc/config.site
2735 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2737 test "x$ac_site_file" = xNONE && continue
2738 if test -r "$ac_site_file"; then
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2740 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2741 sed 's/^/| /' "$ac_site_file" >&5
2742 . "$ac_site_file"
2744 done
2746 if test -r "$cache_file"; then
2747 # Some versions of bash will fail to source /dev/null (special
2748 # files actually), so we avoid doing that.
2749 if test -f "$cache_file"; then
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2751 $as_echo "$as_me: loading cache $cache_file" >&6;}
2752 case $cache_file in
2753 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2754 *) . "./$cache_file";;
2755 esac
2757 else
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2759 $as_echo "$as_me: creating cache $cache_file" >&6;}
2760 >$cache_file
2763 # Check that the precious variables saved in the cache have kept the same
2764 # value.
2765 ac_cache_corrupted=false
2766 for ac_var in $ac_precious_vars; do
2767 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2768 eval ac_new_set=\$ac_env_${ac_var}_set
2769 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2770 eval ac_new_val=\$ac_env_${ac_var}_value
2771 case $ac_old_set,$ac_new_set in
2772 set,)
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2774 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2775 ac_cache_corrupted=: ;;
2776 ,set)
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2778 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2779 ac_cache_corrupted=: ;;
2780 ,);;
2782 if test "x$ac_old_val" != "x$ac_new_val"; then
2783 # differences in whitespace do not lead to failure.
2784 ac_old_val_w=`echo x $ac_old_val`
2785 ac_new_val_w=`echo x $ac_new_val`
2786 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2788 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2789 ac_cache_corrupted=:
2790 else
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2792 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2793 eval $ac_var=\$ac_old_val
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2796 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2798 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2799 fi;;
2800 esac
2801 # Pass precious variables to config.status.
2802 if test "$ac_new_set" = set; then
2803 case $ac_new_val in
2804 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2805 *) ac_arg=$ac_var=$ac_new_val ;;
2806 esac
2807 case " $ac_configure_args " in
2808 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2809 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2810 esac
2812 done
2813 if $ac_cache_corrupted; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2817 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2818 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2820 ## -------------------- ##
2821 ## Main body of script. ##
2822 ## -------------------- ##
2824 ac_ext=c
2825 ac_cpp='$CPP $CPPFLAGS'
2826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2835 ac_config_headers="$ac_config_headers config.h"
2838 # This works around the fact that libtool configuration may change LD
2839 # for this particular configuration, but some shells, instead of
2840 # keeping the changes in LD private, export them just because LD is
2841 # exported. Only used at the end of this file.
2842 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2844 # Find the rest of the source tree framework.
2845 # Default to --enable-multilib
2846 # Check whether --enable-multilib was given.
2847 if test "${enable_multilib+set}" = set; then :
2848 enableval=$enable_multilib; case "$enableval" in
2849 yes) multilib=yes ;;
2850 no) multilib=no ;;
2851 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2852 esac
2853 else
2854 multilib=yes
2858 # We may get other options which we leave undocumented:
2859 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2860 # See config-ml.in if you want the gory details.
2862 if test "$srcdir" = "."; then
2863 if test "$with_target_subdir" != "."; then
2864 multi_basedir="$srcdir/$with_multisrctop../.."
2865 else
2866 multi_basedir="$srcdir/$with_multisrctop.."
2868 else
2869 multi_basedir="$srcdir/.."
2873 # Even if the default multilib is not a cross compilation,
2874 # it may be that some of the other multilibs are.
2875 if test $cross_compiling = no && test $multilib = yes \
2876 && test "x${with_multisubdir}" != x ; then
2877 cross_compiling=maybe
2880 ac_config_commands="$ac_config_commands default-1"
2883 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2885 # You will slowly go insane if you do not grok the following fact: when
2886 # building v3 as part of the compiler, the top-level /target/ becomes the
2887 # library's /host/. configure then causes --target to default to --host,
2888 # exactly like any other package using autoconf. Therefore, 'target' and
2889 # 'host' will always be the same. This makes sense both for native and
2890 # cross compilers, just think about it for a little while. :-)
2892 # Also, if v3 is being configured as part of a cross compiler, the top-level
2893 # configure script will pass the "real" host as $with_cross_host.
2895 # Do not delete or change the following two lines. For why, see
2896 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2897 ac_aux_dir=
2898 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2899 for ac_t in install-sh install.sh shtool; do
2900 if test -f "$ac_dir/$ac_t"; then
2901 ac_aux_dir=$ac_dir
2902 ac_install_sh="$ac_aux_dir/$ac_t -c"
2903 break 2
2905 done
2906 done
2907 if test -z "$ac_aux_dir"; then
2908 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2911 # These three variables are undocumented and unsupported,
2912 # and are intended to be withdrawn in a future Autoconf release.
2913 # They can cause serious problems if a builder's source tree is in a directory
2914 # whose full name contains unusual characters.
2915 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2916 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2917 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2920 # Make sure we can run config.sub.
2921 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2922 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2925 $as_echo_n "checking build system type... " >&6; }
2926 if test "${ac_cv_build+set}" = set; then :
2927 $as_echo_n "(cached) " >&6
2928 else
2929 ac_build_alias=$build_alias
2930 test "x$ac_build_alias" = x &&
2931 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2932 test "x$ac_build_alias" = x &&
2933 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2934 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2935 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2939 $as_echo "$ac_cv_build" >&6; }
2940 case $ac_cv_build in
2941 *-*-*) ;;
2942 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2943 esac
2944 build=$ac_cv_build
2945 ac_save_IFS=$IFS; IFS='-'
2946 set x $ac_cv_build
2947 shift
2948 build_cpu=$1
2949 build_vendor=$2
2950 shift; shift
2951 # Remember, the first character of IFS is used to create $*,
2952 # except with old shells:
2953 build_os=$*
2954 IFS=$ac_save_IFS
2955 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2959 $as_echo_n "checking host system type... " >&6; }
2960 if test "${ac_cv_host+set}" = set; then :
2961 $as_echo_n "(cached) " >&6
2962 else
2963 if test "x$host_alias" = x; then
2964 ac_cv_host=$ac_cv_build
2965 else
2966 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2967 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2972 $as_echo "$ac_cv_host" >&6; }
2973 case $ac_cv_host in
2974 *-*-*) ;;
2975 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2976 esac
2977 host=$ac_cv_host
2978 ac_save_IFS=$IFS; IFS='-'
2979 set x $ac_cv_host
2980 shift
2981 host_cpu=$1
2982 host_vendor=$2
2983 shift; shift
2984 # Remember, the first character of IFS is used to create $*,
2985 # except with old shells:
2986 host_os=$*
2987 IFS=$ac_save_IFS
2988 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2992 $as_echo_n "checking target system type... " >&6; }
2993 if test "${ac_cv_target+set}" = set; then :
2994 $as_echo_n "(cached) " >&6
2995 else
2996 if test "x$target_alias" = x; then
2997 ac_cv_target=$ac_cv_host
2998 else
2999 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3000 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3005 $as_echo "$ac_cv_target" >&6; }
3006 case $ac_cv_target in
3007 *-*-*) ;;
3008 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3009 esac
3010 target=$ac_cv_target
3011 ac_save_IFS=$IFS; IFS='-'
3012 set x $ac_cv_target
3013 shift
3014 target_cpu=$1
3015 target_vendor=$2
3016 shift; shift
3017 # Remember, the first character of IFS is used to create $*,
3018 # except with old shells:
3019 target_os=$*
3020 IFS=$ac_save_IFS
3021 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3024 # The aliases save the names the user supplied, while $host etc.
3025 # will get canonicalized.
3026 test -n "$target_alias" &&
3027 test "$program_prefix$program_suffix$program_transform_name" = \
3028 NONENONEs,x,x, &&
3029 program_prefix=${target_alias}-
3031 target_alias=${target_alias-$host_alias}
3033 # Handy for debugging:
3034 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3036 if test "$build" != "$host"; then
3037 # We are being configured with some form of cross compiler.
3038 GLIBCXX_IS_NATIVE=false
3039 case "$host","$target" in
3040 # Darwin crosses can use the host system's libraries and headers,
3041 # because of the fat library support. Of course, it must be the
3042 # same version of Darwin on both sides. Allow the user to
3043 # just say --target=foo-darwin without a version number to mean
3044 # "the version on this system".
3045 *-*-darwin*,*-*-darwin*)
3046 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3047 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3048 if test $hostos = $targetos -o $targetos = darwin ; then
3049 GLIBCXX_IS_NATIVE=true
3056 esac
3057 else
3058 GLIBCXX_IS_NATIVE=true
3061 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3062 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3063 # 1.x: minimum required version
3064 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3065 # of other PACKAGE_* variables will, however, and there's nothing
3066 # we can do about that; they come from AC_INIT).
3067 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3068 # file in the top srcdir, etc, etc), so stop complaining.
3069 # no-dependencies: turns off auto dependency generation (just for now)
3070 # no-dist: we don't want 'dist' and related rules.
3071 # -Wall: turns on all automake warnings...
3072 # -Wno-portability: ...except this one, since GNU make is now required.
3073 am__api_version='1.11'
3075 # Find a good install program. We prefer a C program (faster),
3076 # so one script is as good as another. But avoid the broken or
3077 # incompatible versions:
3078 # SysV /etc/install, /usr/sbin/install
3079 # SunOS /usr/etc/install
3080 # IRIX /sbin/install
3081 # AIX /bin/install
3082 # AmigaOS /C/install, which installs bootblocks on floppy discs
3083 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3084 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3085 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3086 # OS/2's system install, which has a completely different semantic
3087 # ./install, which can be erroneously created by make from ./install.sh.
3088 # Reject install programs that cannot install multiple files.
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3090 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3091 if test -z "$INSTALL"; then
3092 if test "${ac_cv_path_install+set}" = set; then :
3093 $as_echo_n "(cached) " >&6
3094 else
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 for as_dir in $PATH
3098 IFS=$as_save_IFS
3099 test -z "$as_dir" && as_dir=.
3100 # Account for people who put trailing slashes in PATH elements.
3101 case $as_dir/ in #((
3102 ./ | .// | /[cC]/* | \
3103 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3104 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3105 /usr/ucb/* ) ;;
3107 # OSF1 and SCO ODT 3.0 have their own names for install.
3108 # Don't use installbsd from OSF since it installs stuff as root
3109 # by default.
3110 for ac_prog in ginstall scoinst install; do
3111 for ac_exec_ext in '' $ac_executable_extensions; do
3112 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3113 if test $ac_prog = install &&
3114 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3115 # AIX install. It has an incompatible calling convention.
3117 elif test $ac_prog = install &&
3118 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3119 # program-specific install script used by HP pwplus--don't use.
3121 else
3122 rm -rf conftest.one conftest.two conftest.dir
3123 echo one > conftest.one
3124 echo two > conftest.two
3125 mkdir conftest.dir
3126 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3127 test -s conftest.one && test -s conftest.two &&
3128 test -s conftest.dir/conftest.one &&
3129 test -s conftest.dir/conftest.two
3130 then
3131 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3132 break 3
3136 done
3137 done
3139 esac
3141 done
3142 IFS=$as_save_IFS
3144 rm -rf conftest.one conftest.two conftest.dir
3147 if test "${ac_cv_path_install+set}" = set; then
3148 INSTALL=$ac_cv_path_install
3149 else
3150 # As a last resort, use the slow shell script. Don't cache a
3151 # value for INSTALL within a source directory, because that will
3152 # break other packages using the cache if that directory is
3153 # removed, or if the value is a relative name.
3154 INSTALL=$ac_install_sh
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3158 $as_echo "$INSTALL" >&6; }
3160 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3161 # It thinks the first close brace ends the variable substitution.
3162 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3164 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3166 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3169 $as_echo_n "checking whether build environment is sane... " >&6; }
3170 # Just in case
3171 sleep 1
3172 echo timestamp > conftest.file
3173 # Reject unsafe characters in $srcdir or the absolute working directory
3174 # name. Accept space and tab only in the latter.
3175 am_lf='
3177 case `pwd` in
3178 *[\\\"\#\$\&\'\`$am_lf]*)
3179 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3180 esac
3181 case $srcdir in
3182 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3183 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3184 esac
3186 # Do `set' in a subshell so we don't clobber the current shell's
3187 # arguments. Must try -L first in case configure is actually a
3188 # symlink; some systems play weird games with the mod time of symlinks
3189 # (eg FreeBSD returns the mod time of the symlink's containing
3190 # directory).
3191 if (
3192 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3193 if test "$*" = "X"; then
3194 # -L didn't work.
3195 set X `ls -t "$srcdir/configure" conftest.file`
3197 rm -f conftest.file
3198 if test "$*" != "X $srcdir/configure conftest.file" \
3199 && test "$*" != "X conftest.file $srcdir/configure"; then
3201 # If neither matched, then we have a broken ls. This can happen
3202 # if, for instance, CONFIG_SHELL is bash and it inherits a
3203 # broken ls alias from the environment. This has actually
3204 # happened. Such a system could not be considered "sane".
3205 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3206 alias in your environment" "$LINENO" 5
3209 test "$2" = conftest.file
3211 then
3212 # Ok.
3214 else
3215 as_fn_error "newly created file is older than distributed files!
3216 Check your system clock" "$LINENO" 5
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3219 $as_echo "yes" >&6; }
3220 test "$program_prefix" != NONE &&
3221 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3222 # Use a double $ so make ignores it.
3223 test "$program_suffix" != NONE &&
3224 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3225 # Double any \ or $.
3226 # By default was `s,x,x', remove it if useless.
3227 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3228 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3230 # expand $ac_aux_dir to an absolute path
3231 am_aux_dir=`cd $ac_aux_dir && pwd`
3233 if test x"${MISSING+set}" != xset; then
3234 case $am_aux_dir in
3235 *\ * | *\ *)
3236 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3238 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3239 esac
3241 # Use eval to expand $SHELL
3242 if eval "$MISSING --run true"; then
3243 am_missing_run="$MISSING --run "
3244 else
3245 am_missing_run=
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3247 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3250 if test x"${install_sh}" != xset; then
3251 case $am_aux_dir in
3252 *\ * | *\ *)
3253 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3255 install_sh="\${SHELL} $am_aux_dir/install-sh"
3256 esac
3259 # Installed binaries are usually stripped using `strip' when the user
3260 # run `make install-strip'. However `strip' might not be the right
3261 # tool to use in cross-compilation environments, therefore Automake
3262 # will honor the `STRIP' environment variable to overrule this program.
3263 if test "$cross_compiling" != no; then
3264 if test -n "$ac_tool_prefix"; then
3265 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3266 set dummy ${ac_tool_prefix}strip; ac_word=$2
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268 $as_echo_n "checking for $ac_word... " >&6; }
3269 if test "${ac_cv_prog_STRIP+set}" = set; then :
3270 $as_echo_n "(cached) " >&6
3271 else
3272 if test -n "$STRIP"; then
3273 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3274 else
3275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 for as_dir in $PATH
3278 IFS=$as_save_IFS
3279 test -z "$as_dir" && as_dir=.
3280 for ac_exec_ext in '' $ac_executable_extensions; do
3281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3282 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3284 break 2
3286 done
3287 done
3288 IFS=$as_save_IFS
3292 STRIP=$ac_cv_prog_STRIP
3293 if test -n "$STRIP"; then
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3295 $as_echo "$STRIP" >&6; }
3296 else
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298 $as_echo "no" >&6; }
3303 if test -z "$ac_cv_prog_STRIP"; then
3304 ac_ct_STRIP=$STRIP
3305 # Extract the first word of "strip", so it can be a program name with args.
3306 set dummy strip; ac_word=$2
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3308 $as_echo_n "checking for $ac_word... " >&6; }
3309 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3310 $as_echo_n "(cached) " >&6
3311 else
3312 if test -n "$ac_ct_STRIP"; then
3313 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3314 else
3315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 for as_dir in $PATH
3318 IFS=$as_save_IFS
3319 test -z "$as_dir" && as_dir=.
3320 for ac_exec_ext in '' $ac_executable_extensions; do
3321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3322 ac_cv_prog_ac_ct_STRIP="strip"
3323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3324 break 2
3326 done
3327 done
3328 IFS=$as_save_IFS
3332 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3333 if test -n "$ac_ct_STRIP"; then
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3335 $as_echo "$ac_ct_STRIP" >&6; }
3336 else
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 $as_echo "no" >&6; }
3341 if test "x$ac_ct_STRIP" = x; then
3342 STRIP=":"
3343 else
3344 case $cross_compiling:$ac_tool_warned in
3345 yes:)
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3348 ac_tool_warned=yes ;;
3349 esac
3350 STRIP=$ac_ct_STRIP
3352 else
3353 STRIP="$ac_cv_prog_STRIP"
3357 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3360 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3361 if test -z "$MKDIR_P"; then
3362 if test "${ac_cv_path_mkdir+set}" = set; then :
3363 $as_echo_n "(cached) " >&6
3364 else
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3368 IFS=$as_save_IFS
3369 test -z "$as_dir" && as_dir=.
3370 for ac_prog in mkdir gmkdir; do
3371 for ac_exec_ext in '' $ac_executable_extensions; do
3372 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3373 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3374 'mkdir (GNU coreutils) '* | \
3375 'mkdir (coreutils) '* | \
3376 'mkdir (fileutils) '4.1*)
3377 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3378 break 3;;
3379 esac
3380 done
3381 done
3382 done
3383 IFS=$as_save_IFS
3387 if test "${ac_cv_path_mkdir+set}" = set; then
3388 MKDIR_P="$ac_cv_path_mkdir -p"
3389 else
3390 # As a last resort, use the slow shell script. Don't cache a
3391 # value for MKDIR_P within a source directory, because that will
3392 # break other packages using the cache if that directory is
3393 # removed, or if the value is a relative name.
3394 test -d ./--version && rmdir ./--version
3395 MKDIR_P="$ac_install_sh -d"
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3399 $as_echo "$MKDIR_P" >&6; }
3401 mkdir_p="$MKDIR_P"
3402 case $mkdir_p in
3403 [\\/$]* | ?:[\\/]*) ;;
3404 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3405 esac
3407 for ac_prog in gawk mawk nawk awk
3409 # Extract the first word of "$ac_prog", so it can be a program name with args.
3410 set dummy $ac_prog; ac_word=$2
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3412 $as_echo_n "checking for $ac_word... " >&6; }
3413 if test "${ac_cv_prog_AWK+set}" = set; then :
3414 $as_echo_n "(cached) " >&6
3415 else
3416 if test -n "$AWK"; then
3417 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3418 else
3419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3420 for as_dir in $PATH
3422 IFS=$as_save_IFS
3423 test -z "$as_dir" && as_dir=.
3424 for ac_exec_ext in '' $ac_executable_extensions; do
3425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3426 ac_cv_prog_AWK="$ac_prog"
3427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3428 break 2
3430 done
3431 done
3432 IFS=$as_save_IFS
3436 AWK=$ac_cv_prog_AWK
3437 if test -n "$AWK"; then
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3439 $as_echo "$AWK" >&6; }
3440 else
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 $as_echo "no" >&6; }
3446 test -n "$AWK" && break
3447 done
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3450 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3451 set x ${MAKE-make}
3452 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3453 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3454 $as_echo_n "(cached) " >&6
3455 else
3456 cat >conftest.make <<\_ACEOF
3457 SHELL = /bin/sh
3458 all:
3459 @echo '@@@%%%=$(MAKE)=@@@%%%'
3460 _ACEOF
3461 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3462 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3463 *@@@%%%=?*=@@@%%%*)
3464 eval ac_cv_prog_make_${ac_make}_set=yes;;
3466 eval ac_cv_prog_make_${ac_make}_set=no;;
3467 esac
3468 rm -f conftest.make
3470 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3472 $as_echo "yes" >&6; }
3473 SET_MAKE=
3474 else
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3476 $as_echo "no" >&6; }
3477 SET_MAKE="MAKE=${MAKE-make}"
3480 rm -rf .tst 2>/dev/null
3481 mkdir .tst 2>/dev/null
3482 if test -d .tst; then
3483 am__leading_dot=.
3484 else
3485 am__leading_dot=_
3487 rmdir .tst 2>/dev/null
3489 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3490 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3491 # is not polluted with repeated "-I."
3492 am__isrc=' -I$(srcdir)'
3493 # test to see if srcdir already configured
3494 if test -f $srcdir/config.status; then
3495 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3499 # test whether we have cygpath
3500 if test -z "$CYGPATH_W"; then
3501 if (cygpath --version) >/dev/null 2>/dev/null; then
3502 CYGPATH_W='cygpath -w'
3503 else
3504 CYGPATH_W=echo
3509 # Define the identity of the package.
3510 PACKAGE='libstdc++'
3511 VERSION='version-unused'
3514 # Some tools Automake needs.
3516 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3519 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3522 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3525 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3528 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3530 # We need awk for the "check" target. The system "awk" is bad on
3531 # some platforms.
3532 # Always define AMTAR for backward compatibility.
3534 AMTAR=${AMTAR-"${am_missing_run}tar"}
3536 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3545 # -fno-builtin must be present here so that a non-conflicting form of
3546 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3548 save_CXXFLAGS="$CXXFLAGS"
3549 CXXFLAGS="$CXXFLAGS -fno-builtin"
3550 ac_ext=c
3551 ac_cpp='$CPP $CPPFLAGS'
3552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3555 if test -n "$ac_tool_prefix"; then
3556 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3557 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if test "${ac_cv_prog_CC+set}" = set; then :
3561 $as_echo_n "(cached) " >&6
3562 else
3563 if test -n "$CC"; then
3564 ac_cv_prog_CC="$CC" # Let the user override the test.
3565 else
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 for as_dir in $PATH
3569 IFS=$as_save_IFS
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 break 2
3577 done
3578 done
3579 IFS=$as_save_IFS
3583 CC=$ac_cv_prog_CC
3584 if test -n "$CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3586 $as_echo "$CC" >&6; }
3587 else
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3594 if test -z "$ac_cv_prog_CC"; then
3595 ac_ct_CC=$CC
3596 # Extract the first word of "gcc", so it can be a program name with args.
3597 set dummy gcc; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3601 $as_echo_n "(cached) " >&6
3602 else
3603 if test -n "$ac_ct_CC"; then
3604 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3605 else
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 for as_dir in $PATH
3609 IFS=$as_save_IFS
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3613 ac_cv_prog_ac_ct_CC="gcc"
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 break 2
3617 done
3618 done
3619 IFS=$as_save_IFS
3623 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3624 if test -n "$ac_ct_CC"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3626 $as_echo "$ac_ct_CC" >&6; }
3627 else
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3632 if test "x$ac_ct_CC" = x; then
3633 CC=""
3634 else
3635 case $cross_compiling:$ac_tool_warned in
3636 yes:)
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3639 ac_tool_warned=yes ;;
3640 esac
3641 CC=$ac_ct_CC
3643 else
3644 CC="$ac_cv_prog_CC"
3647 if test -z "$CC"; then
3648 if test -n "$ac_tool_prefix"; then
3649 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3650 set dummy ${ac_tool_prefix}cc; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if test "${ac_cv_prog_CC+set}" = set; then :
3654 $as_echo_n "(cached) " >&6
3655 else
3656 if test -n "$CC"; then
3657 ac_cv_prog_CC="$CC" # Let the user override the test.
3658 else
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 for as_dir in $PATH
3662 IFS=$as_save_IFS
3663 test -z "$as_dir" && as_dir=.
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3666 ac_cv_prog_CC="${ac_tool_prefix}cc"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 break 2
3670 done
3671 done
3672 IFS=$as_save_IFS
3676 CC=$ac_cv_prog_CC
3677 if test -n "$CC"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3679 $as_echo "$CC" >&6; }
3680 else
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3688 if test -z "$CC"; then
3689 # Extract the first word of "cc", so it can be a program name with args.
3690 set dummy cc; ac_word=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if test "${ac_cv_prog_CC+set}" = set; then :
3694 $as_echo_n "(cached) " >&6
3695 else
3696 if test -n "$CC"; then
3697 ac_cv_prog_CC="$CC" # Let the user override the test.
3698 else
3699 ac_prog_rejected=no
3700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3701 for as_dir in $PATH
3703 IFS=$as_save_IFS
3704 test -z "$as_dir" && as_dir=.
3705 for ac_exec_ext in '' $ac_executable_extensions; do
3706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3708 ac_prog_rejected=yes
3709 continue
3711 ac_cv_prog_CC="cc"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 break 2
3715 done
3716 done
3717 IFS=$as_save_IFS
3719 if test $ac_prog_rejected = yes; then
3720 # We found a bogon in the path, so make sure we never use it.
3721 set dummy $ac_cv_prog_CC
3722 shift
3723 if test $# != 0; then
3724 # We chose a different compiler from the bogus one.
3725 # However, it has the same basename, so the bogon will be chosen
3726 # first if we set CC to just the basename; use the full file name.
3727 shift
3728 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3733 CC=$ac_cv_prog_CC
3734 if test -n "$CC"; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3736 $as_echo "$CC" >&6; }
3737 else
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3739 $as_echo "no" >&6; }
3744 if test -z "$CC"; then
3745 if test -n "$ac_tool_prefix"; then
3746 for ac_prog in cl.exe
3748 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3749 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 $as_echo_n "checking for $ac_word... " >&6; }
3752 if test "${ac_cv_prog_CC+set}" = set; then :
3753 $as_echo_n "(cached) " >&6
3754 else
3755 if test -n "$CC"; then
3756 ac_cv_prog_CC="$CC" # Let the user override the test.
3757 else
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3759 for as_dir in $PATH
3761 IFS=$as_save_IFS
3762 test -z "$as_dir" && as_dir=.
3763 for ac_exec_ext in '' $ac_executable_extensions; do
3764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3765 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 break 2
3769 done
3770 done
3771 IFS=$as_save_IFS
3775 CC=$ac_cv_prog_CC
3776 if test -n "$CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3778 $as_echo "$CC" >&6; }
3779 else
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3785 test -n "$CC" && break
3786 done
3788 if test -z "$CC"; then
3789 ac_ct_CC=$CC
3790 for ac_prog in cl.exe
3792 # Extract the first word of "$ac_prog", so it can be a program name with args.
3793 set dummy $ac_prog; ac_word=$2
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3795 $as_echo_n "checking for $ac_word... " >&6; }
3796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3797 $as_echo_n "(cached) " >&6
3798 else
3799 if test -n "$ac_ct_CC"; then
3800 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3801 else
3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803 for as_dir in $PATH
3805 IFS=$as_save_IFS
3806 test -z "$as_dir" && as_dir=.
3807 for ac_exec_ext in '' $ac_executable_extensions; do
3808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3809 ac_cv_prog_ac_ct_CC="$ac_prog"
3810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 break 2
3813 done
3814 done
3815 IFS=$as_save_IFS
3819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3820 if test -n "$ac_ct_CC"; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3822 $as_echo "$ac_ct_CC" >&6; }
3823 else
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3825 $as_echo "no" >&6; }
3829 test -n "$ac_ct_CC" && break
3830 done
3832 if test "x$ac_ct_CC" = x; then
3833 CC=""
3834 else
3835 case $cross_compiling:$ac_tool_warned in
3836 yes:)
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3839 ac_tool_warned=yes ;;
3840 esac
3841 CC=$ac_ct_CC
3848 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3850 as_fn_error "no acceptable C compiler found in \$PATH
3851 See \`config.log' for more details." "$LINENO" 5; }
3853 # Provide some information about the compiler.
3854 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3855 set X $ac_compile
3856 ac_compiler=$2
3857 for ac_option in --version -v -V -qversion; do
3858 { { ac_try="$ac_compiler $ac_option >&5"
3859 case "(($ac_try" in
3860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3861 *) ac_try_echo=$ac_try;;
3862 esac
3863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3864 $as_echo "$ac_try_echo"; } >&5
3865 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3866 ac_status=$?
3867 if test -s conftest.err; then
3868 sed '10a\
3869 ... rest of stderr output deleted ...
3870 10q' conftest.err >conftest.er1
3871 cat conftest.er1 >&5
3872 rm -f conftest.er1 conftest.err
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }
3876 done
3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 /* end confdefs.h. */
3882 main ()
3886 return 0;
3888 _ACEOF
3889 # FIXME: Cleanup?
3890 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3891 (eval $ac_link) 2>&5
3892 ac_status=$?
3893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3894 test $ac_status = 0; }; then :
3895 gcc_no_link=no
3896 else
3897 gcc_no_link=yes
3899 if test x$gcc_no_link = xyes; then
3900 # Setting cross_compile will disable run tests; it will
3901 # also disable AC_CHECK_FILE but that's generally
3902 # correct if we can't link.
3903 cross_compiling=yes
3904 EXEEXT=
3905 else
3906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907 /* end confdefs.h. */
3910 main ()
3914 return 0;
3916 _ACEOF
3917 ac_clean_files_save=$ac_clean_files
3918 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3919 # Try to create an executable without -o first, disregard a.out.
3920 # It will help us diagnose broken compilers, and finding out an intuition
3921 # of exeext.
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3923 $as_echo_n "checking for C compiler default output file name... " >&6; }
3924 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3926 # The possible output files:
3927 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3929 ac_rmfiles=
3930 for ac_file in $ac_files
3932 case $ac_file in
3933 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3934 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3935 esac
3936 done
3937 rm -f $ac_rmfiles
3939 if { { ac_try="$ac_link_default"
3940 case "(($ac_try" in
3941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3942 *) ac_try_echo=$ac_try;;
3943 esac
3944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3945 $as_echo "$ac_try_echo"; } >&5
3946 (eval "$ac_link_default") 2>&5
3947 ac_status=$?
3948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3949 test $ac_status = 0; }; then :
3950 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3951 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3952 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3953 # so that the user can short-circuit this test for compilers unknown to
3954 # Autoconf.
3955 for ac_file in $ac_files ''
3957 test -f "$ac_file" || continue
3958 case $ac_file in
3959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3961 [ab].out )
3962 # We found the default executable, but exeext='' is most
3963 # certainly right.
3964 break;;
3965 *.* )
3966 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3967 then :; else
3968 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3970 # We set ac_cv_exeext here because the later test for it is not
3971 # safe: cross compilers may not add the suffix if given an `-o'
3972 # argument, so we may need to know it at that point already.
3973 # Even if this section looks crufty: it has the advantage of
3974 # actually working.
3975 break;;
3977 break;;
3978 esac
3979 done
3980 test "$ac_cv_exeext" = no && ac_cv_exeext=
3982 else
3983 ac_file=''
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3986 $as_echo "$ac_file" >&6; }
3987 if test -z "$ac_file"; then :
3988 $as_echo "$as_me: failed program was:" >&5
3989 sed 's/^/| /' conftest.$ac_ext >&5
3991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3993 { as_fn_set_status 77
3994 as_fn_error "C compiler cannot create executables
3995 See \`config.log' for more details." "$LINENO" 5; }; }
3997 ac_exeext=$ac_cv_exeext
3999 # Check that the compiler produces executables we can run. If not, either
4000 # the compiler is broken, or we cross compile.
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4002 $as_echo_n "checking whether the C compiler works... " >&6; }
4003 # If not cross compiling, check that we can run a simple program.
4004 if test "$cross_compiling" != yes; then
4005 if { ac_try='./$ac_file'
4006 { { case "(($ac_try" in
4007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4008 *) ac_try_echo=$ac_try;;
4009 esac
4010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4011 $as_echo "$ac_try_echo"; } >&5
4012 (eval "$ac_try") 2>&5
4013 ac_status=$?
4014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4015 test $ac_status = 0; }; }; then
4016 cross_compiling=no
4017 else
4018 if test "$cross_compiling" = maybe; then
4019 cross_compiling=yes
4020 else
4021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4023 as_fn_error "cannot run C compiled programs.
4024 If you meant to cross compile, use \`--host'.
4025 See \`config.log' for more details." "$LINENO" 5; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4030 $as_echo "yes" >&6; }
4032 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4033 ac_clean_files=$ac_clean_files_save
4034 # Check that the compiler produces executables we can run. If not, either
4035 # the compiler is broken, or we cross compile.
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4037 $as_echo_n "checking whether we are cross compiling... " >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4039 $as_echo "$cross_compiling" >&6; }
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4042 $as_echo_n "checking for suffix of executables... " >&6; }
4043 if { { ac_try="$ac_link"
4044 case "(($ac_try" in
4045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4046 *) ac_try_echo=$ac_try;;
4047 esac
4048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4049 $as_echo "$ac_try_echo"; } >&5
4050 (eval "$ac_link") 2>&5
4051 ac_status=$?
4052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4053 test $ac_status = 0; }; then :
4054 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4055 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4056 # work properly (i.e., refer to `conftest.exe'), while it won't with
4057 # `rm'.
4058 for ac_file in conftest.exe conftest conftest.*; do
4059 test -f "$ac_file" || continue
4060 case $ac_file in
4061 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4062 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4063 break;;
4064 * ) break;;
4065 esac
4066 done
4067 else
4068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4070 as_fn_error "cannot compute suffix of executables: cannot compile and link
4071 See \`config.log' for more details." "$LINENO" 5; }
4073 rm -f conftest$ac_cv_exeext
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4075 $as_echo "$ac_cv_exeext" >&6; }
4077 rm -f conftest.$ac_ext
4078 EXEEXT=$ac_cv_exeext
4079 ac_exeext=$EXEEXT
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4082 $as_echo_n "checking for suffix of object files... " >&6; }
4083 if test "${ac_cv_objext+set}" = set; then :
4084 $as_echo_n "(cached) " >&6
4085 else
4086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4087 /* end confdefs.h. */
4090 main ()
4094 return 0;
4096 _ACEOF
4097 rm -f conftest.o conftest.obj
4098 if { { ac_try="$ac_compile"
4099 case "(($ac_try" in
4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4102 esac
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_compile") 2>&5
4106 ac_status=$?
4107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108 test $ac_status = 0; }; then :
4109 for ac_file in conftest.o conftest.obj conftest.*; do
4110 test -f "$ac_file" || continue;
4111 case $ac_file in
4112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4113 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4114 break;;
4115 esac
4116 done
4117 else
4118 $as_echo "$as_me: failed program was:" >&5
4119 sed 's/^/| /' conftest.$ac_ext >&5
4121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123 as_fn_error "cannot compute suffix of object files: cannot compile
4124 See \`config.log' for more details." "$LINENO" 5; }
4126 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4129 $as_echo "$ac_cv_objext" >&6; }
4130 OBJEXT=$ac_cv_objext
4131 ac_objext=$OBJEXT
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4133 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4134 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4135 $as_echo_n "(cached) " >&6
4136 else
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4141 main ()
4143 #ifndef __GNUC__
4144 choke me
4145 #endif
4148 return 0;
4150 _ACEOF
4151 if ac_fn_c_try_compile "$LINENO"; then :
4152 ac_compiler_gnu=yes
4153 else
4154 ac_compiler_gnu=no
4156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4157 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4161 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4162 if test $ac_compiler_gnu = yes; then
4163 GCC=yes
4164 else
4165 GCC=
4167 ac_test_CFLAGS=${CFLAGS+set}
4168 ac_save_CFLAGS=$CFLAGS
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4170 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4171 if test "${ac_cv_prog_cc_g+set}" = set; then :
4172 $as_echo_n "(cached) " >&6
4173 else
4174 ac_save_c_werror_flag=$ac_c_werror_flag
4175 ac_c_werror_flag=yes
4176 ac_cv_prog_cc_g=no
4177 CFLAGS="-g"
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4182 main ()
4186 return 0;
4188 _ACEOF
4189 if ac_fn_c_try_compile "$LINENO"; then :
4190 ac_cv_prog_cc_g=yes
4191 else
4192 CFLAGS=""
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4206 else
4207 ac_c_werror_flag=$ac_save_c_werror_flag
4208 CFLAGS="-g"
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4213 main ()
4217 return 0;
4219 _ACEOF
4220 if ac_fn_c_try_compile "$LINENO"; then :
4221 ac_cv_prog_cc_g=yes
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 ac_c_werror_flag=$ac_save_c_werror_flag
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4231 $as_echo "$ac_cv_prog_cc_g" >&6; }
4232 if test "$ac_test_CFLAGS" = set; then
4233 CFLAGS=$ac_save_CFLAGS
4234 elif test $ac_cv_prog_cc_g = yes; then
4235 if test "$GCC" = yes; then
4236 CFLAGS="-g -O2"
4237 else
4238 CFLAGS="-g"
4240 else
4241 if test "$GCC" = yes; then
4242 CFLAGS="-O2"
4243 else
4244 CFLAGS=
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4248 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4249 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 ac_cv_prog_cc_c89=no
4253 ac_save_CC=$CC
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4256 #include <stdarg.h>
4257 #include <stdio.h>
4258 #include <sys/types.h>
4259 #include <sys/stat.h>
4260 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4261 struct buf { int x; };
4262 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4263 static char *e (p, i)
4264 char **p;
4265 int i;
4267 return p[i];
4269 static char *f (char * (*g) (char **, int), char **p, ...)
4271 char *s;
4272 va_list v;
4273 va_start (v,p);
4274 s = g (p, va_arg (v,int));
4275 va_end (v);
4276 return s;
4279 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4280 function prototypes and stuff, but not '\xHH' hex character constants.
4281 These don't provoke an error unfortunately, instead are silently treated
4282 as 'x'. The following induces an error, until -std is added to get
4283 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4284 array size at least. It's necessary to write '\x00'==0 to get something
4285 that's true only with -std. */
4286 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4288 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4289 inside strings and character constants. */
4290 #define FOO(x) 'x'
4291 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4293 int test (int i, double x);
4294 struct s1 {int (*f) (int a);};
4295 struct s2 {int (*f) (double a);};
4296 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4297 int argc;
4298 char **argv;
4300 main ()
4302 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4304 return 0;
4306 _ACEOF
4307 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4308 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4310 CC="$ac_save_CC $ac_arg"
4311 if ac_fn_c_try_compile "$LINENO"; then :
4312 ac_cv_prog_cc_c89=$ac_arg
4314 rm -f core conftest.err conftest.$ac_objext
4315 test "x$ac_cv_prog_cc_c89" != "xno" && break
4316 done
4317 rm -f conftest.$ac_ext
4318 CC=$ac_save_CC
4321 # AC_CACHE_VAL
4322 case "x$ac_cv_prog_cc_c89" in
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4325 $as_echo "none needed" >&6; } ;;
4326 xno)
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4328 $as_echo "unsupported" >&6; } ;;
4330 CC="$CC $ac_cv_prog_cc_c89"
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4332 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4333 esac
4334 if test "x$ac_cv_prog_cc_c89" != xno; then :
4338 ac_ext=c
4339 ac_cpp='$CPP $CPPFLAGS'
4340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344 ac_ext=cpp
4345 ac_cpp='$CXXCPP $CPPFLAGS'
4346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4349 if test -z "$CXX"; then
4350 if test -n "$CCC"; then
4351 CXX=$CCC
4352 else
4353 if test -n "$ac_tool_prefix"; then
4354 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4356 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4357 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4359 $as_echo_n "checking for $ac_word... " >&6; }
4360 if test "${ac_cv_prog_CXX+set}" = set; then :
4361 $as_echo_n "(cached) " >&6
4362 else
4363 if test -n "$CXX"; then
4364 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4365 else
4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367 for as_dir in $PATH
4369 IFS=$as_save_IFS
4370 test -z "$as_dir" && as_dir=.
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4373 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4375 break 2
4377 done
4378 done
4379 IFS=$as_save_IFS
4383 CXX=$ac_cv_prog_CXX
4384 if test -n "$CXX"; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4386 $as_echo "$CXX" >&6; }
4387 else
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 $as_echo "no" >&6; }
4393 test -n "$CXX" && break
4394 done
4396 if test -z "$CXX"; then
4397 ac_ct_CXX=$CXX
4398 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4400 # Extract the first word of "$ac_prog", so it can be a program name with args.
4401 set dummy $ac_prog; ac_word=$2
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 if test -n "$ac_ct_CXX"; then
4408 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4409 else
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 for as_dir in $PATH
4413 IFS=$as_save_IFS
4414 test -z "$as_dir" && as_dir=.
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4417 ac_cv_prog_ac_ct_CXX="$ac_prog"
4418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 break 2
4421 done
4422 done
4423 IFS=$as_save_IFS
4427 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4428 if test -n "$ac_ct_CXX"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4430 $as_echo "$ac_ct_CXX" >&6; }
4431 else
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4437 test -n "$ac_ct_CXX" && break
4438 done
4440 if test "x$ac_ct_CXX" = x; then
4441 CXX="g++"
4442 else
4443 case $cross_compiling:$ac_tool_warned in
4444 yes:)
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4447 ac_tool_warned=yes ;;
4448 esac
4449 CXX=$ac_ct_CXX
4455 # Provide some information about the compiler.
4456 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4457 set X $ac_compile
4458 ac_compiler=$2
4459 for ac_option in --version -v -V -qversion; do
4460 { { ac_try="$ac_compiler $ac_option >&5"
4461 case "(($ac_try" in
4462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4463 *) ac_try_echo=$ac_try;;
4464 esac
4465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4466 $as_echo "$ac_try_echo"; } >&5
4467 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4468 ac_status=$?
4469 if test -s conftest.err; then
4470 sed '10a\
4471 ... rest of stderr output deleted ...
4472 10q' conftest.err >conftest.er1
4473 cat conftest.er1 >&5
4474 rm -f conftest.er1 conftest.err
4476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477 test $ac_status = 0; }
4478 done
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4481 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4482 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4489 main ()
4491 #ifndef __GNUC__
4492 choke me
4493 #endif
4496 return 0;
4498 _ACEOF
4499 if ac_fn_cxx_try_compile "$LINENO"; then :
4500 ac_compiler_gnu=yes
4501 else
4502 ac_compiler_gnu=no
4504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4505 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4509 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4510 if test $ac_compiler_gnu = yes; then
4511 GXX=yes
4512 else
4513 GXX=
4515 ac_test_CXXFLAGS=${CXXFLAGS+set}
4516 ac_save_CXXFLAGS=$CXXFLAGS
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4518 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4519 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4520 $as_echo_n "(cached) " >&6
4521 else
4522 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4523 ac_cxx_werror_flag=yes
4524 ac_cv_prog_cxx_g=no
4525 CXXFLAGS="-g"
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4530 main ()
4534 return 0;
4536 _ACEOF
4537 if ac_fn_cxx_try_compile "$LINENO"; then :
4538 ac_cv_prog_cxx_g=yes
4539 else
4540 CXXFLAGS=""
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4545 main ()
4549 return 0;
4551 _ACEOF
4552 if ac_fn_cxx_try_compile "$LINENO"; then :
4554 else
4555 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4556 CXXFLAGS="-g"
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4561 main ()
4565 return 0;
4567 _ACEOF
4568 if ac_fn_cxx_try_compile "$LINENO"; then :
4569 ac_cv_prog_cxx_g=yes
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4579 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4580 if test "$ac_test_CXXFLAGS" = set; then
4581 CXXFLAGS=$ac_save_CXXFLAGS
4582 elif test $ac_cv_prog_cxx_g = yes; then
4583 if test "$GXX" = yes; then
4584 CXXFLAGS="-g -O2"
4585 else
4586 CXXFLAGS="-g"
4588 else
4589 if test "$GXX" = yes; then
4590 CXXFLAGS="-O2"
4591 else
4592 CXXFLAGS=
4595 ac_ext=c
4596 ac_cpp='$CPP $CPPFLAGS'
4597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601 CXXFLAGS="$save_CXXFLAGS"
4603 # Runs configure.host, and assorted other critical bits. Sets
4604 # up critical shell variables.
4606 ac_ext=c
4607 ac_cpp='$CPP $CPPFLAGS'
4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4612 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4613 # On Suns, sometimes $CPP names a directory.
4614 if test -n "$CPP" && test -d "$CPP"; then
4615 CPP=
4617 if test -z "$CPP"; then
4618 if test "${ac_cv_prog_CPP+set}" = set; then :
4619 $as_echo_n "(cached) " >&6
4620 else
4621 # Double quotes because CPP needs to be expanded
4622 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4624 ac_preproc_ok=false
4625 for ac_c_preproc_warn_flag in '' yes
4627 # Use a header file that comes with gcc, so configuring glibc
4628 # with a fresh cross-compiler works.
4629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4630 # <limits.h> exists even on freestanding compilers.
4631 # On the NeXT, cc -E runs the code through the compiler's parser,
4632 # not just through cpp. "Syntax error" is here to catch this case.
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4635 #ifdef __STDC__
4636 # include <limits.h>
4637 #else
4638 # include <assert.h>
4639 #endif
4640 Syntax error
4641 _ACEOF
4642 if ac_fn_c_try_cpp "$LINENO"; then :
4644 else
4645 # Broken: fails on valid input.
4646 continue
4648 rm -f conftest.err conftest.$ac_ext
4650 # OK, works on sane cases. Now check whether nonexistent headers
4651 # can be detected and how.
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4654 #include <ac_nonexistent.h>
4655 _ACEOF
4656 if ac_fn_c_try_cpp "$LINENO"; then :
4657 # Broken: success on invalid input.
4658 continue
4659 else
4660 # Passes both tests.
4661 ac_preproc_ok=:
4662 break
4664 rm -f conftest.err conftest.$ac_ext
4666 done
4667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4668 rm -f conftest.err conftest.$ac_ext
4669 if $ac_preproc_ok; then :
4670 break
4673 done
4674 ac_cv_prog_CPP=$CPP
4677 CPP=$ac_cv_prog_CPP
4678 else
4679 ac_cv_prog_CPP=$CPP
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4682 $as_echo "$CPP" >&6; }
4683 ac_preproc_ok=false
4684 for ac_c_preproc_warn_flag in '' yes
4686 # Use a header file that comes with gcc, so configuring glibc
4687 # with a fresh cross-compiler works.
4688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4689 # <limits.h> exists even on freestanding compilers.
4690 # On the NeXT, cc -E runs the code through the compiler's parser,
4691 # not just through cpp. "Syntax error" is here to catch this case.
4692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4694 #ifdef __STDC__
4695 # include <limits.h>
4696 #else
4697 # include <assert.h>
4698 #endif
4699 Syntax error
4700 _ACEOF
4701 if ac_fn_c_try_cpp "$LINENO"; then :
4703 else
4704 # Broken: fails on valid input.
4705 continue
4707 rm -f conftest.err conftest.$ac_ext
4709 # OK, works on sane cases. Now check whether nonexistent headers
4710 # can be detected and how.
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #include <ac_nonexistent.h>
4714 _ACEOF
4715 if ac_fn_c_try_cpp "$LINENO"; then :
4716 # Broken: success on invalid input.
4717 continue
4718 else
4719 # Passes both tests.
4720 ac_preproc_ok=:
4721 break
4723 rm -f conftest.err conftest.$ac_ext
4725 done
4726 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4727 rm -f conftest.err conftest.$ac_ext
4728 if $ac_preproc_ok; then :
4730 else
4731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4733 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4734 See \`config.log' for more details." "$LINENO" 5; }
4737 ac_ext=c
4738 ac_cpp='$CPP $CPPFLAGS'
4739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4745 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4746 if test "${ac_cv_path_GREP+set}" = set; then :
4747 $as_echo_n "(cached) " >&6
4748 else
4749 if test -z "$GREP"; then
4750 ac_path_GREP_found=false
4751 # Loop through the user's path and test for each of PROGNAME-LIST
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4753 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4755 IFS=$as_save_IFS
4756 test -z "$as_dir" && as_dir=.
4757 for ac_prog in grep ggrep; do
4758 for ac_exec_ext in '' $ac_executable_extensions; do
4759 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4760 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4761 # Check for GNU ac_path_GREP and select it if it is found.
4762 # Check for GNU $ac_path_GREP
4763 case `"$ac_path_GREP" --version 2>&1` in
4764 *GNU*)
4765 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4767 ac_count=0
4768 $as_echo_n 0123456789 >"conftest.in"
4769 while :
4771 cat "conftest.in" "conftest.in" >"conftest.tmp"
4772 mv "conftest.tmp" "conftest.in"
4773 cp "conftest.in" "conftest.nl"
4774 $as_echo 'GREP' >> "conftest.nl"
4775 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4776 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4777 as_fn_arith $ac_count + 1 && ac_count=$as_val
4778 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4779 # Best one so far, save it but keep looking for a better one
4780 ac_cv_path_GREP="$ac_path_GREP"
4781 ac_path_GREP_max=$ac_count
4783 # 10*(2^10) chars as input seems more than enough
4784 test $ac_count -gt 10 && break
4785 done
4786 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4787 esac
4789 $ac_path_GREP_found && break 3
4790 done
4791 done
4792 done
4793 IFS=$as_save_IFS
4794 if test -z "$ac_cv_path_GREP"; then
4795 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4797 else
4798 ac_cv_path_GREP=$GREP
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4803 $as_echo "$ac_cv_path_GREP" >&6; }
4804 GREP="$ac_cv_path_GREP"
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4808 $as_echo_n "checking for egrep... " >&6; }
4809 if test "${ac_cv_path_EGREP+set}" = set; then :
4810 $as_echo_n "(cached) " >&6
4811 else
4812 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4813 then ac_cv_path_EGREP="$GREP -E"
4814 else
4815 if test -z "$EGREP"; then
4816 ac_path_EGREP_found=false
4817 # Loop through the user's path and test for each of PROGNAME-LIST
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4821 IFS=$as_save_IFS
4822 test -z "$as_dir" && as_dir=.
4823 for ac_prog in egrep; do
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4826 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4827 # Check for GNU ac_path_EGREP and select it if it is found.
4828 # Check for GNU $ac_path_EGREP
4829 case `"$ac_path_EGREP" --version 2>&1` in
4830 *GNU*)
4831 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4833 ac_count=0
4834 $as_echo_n 0123456789 >"conftest.in"
4835 while :
4837 cat "conftest.in" "conftest.in" >"conftest.tmp"
4838 mv "conftest.tmp" "conftest.in"
4839 cp "conftest.in" "conftest.nl"
4840 $as_echo 'EGREP' >> "conftest.nl"
4841 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4842 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4843 as_fn_arith $ac_count + 1 && ac_count=$as_val
4844 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4845 # Best one so far, save it but keep looking for a better one
4846 ac_cv_path_EGREP="$ac_path_EGREP"
4847 ac_path_EGREP_max=$ac_count
4849 # 10*(2^10) chars as input seems more than enough
4850 test $ac_count -gt 10 && break
4851 done
4852 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4853 esac
4855 $ac_path_EGREP_found && break 3
4856 done
4857 done
4858 done
4859 IFS=$as_save_IFS
4860 if test -z "$ac_cv_path_EGREP"; then
4861 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4863 else
4864 ac_cv_path_EGREP=$EGREP
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4870 $as_echo "$ac_cv_path_EGREP" >&6; }
4871 EGREP="$ac_cv_path_EGREP"
4875 # Keep these sync'd with the list in Makefile.am. The first provides an
4876 # expandable list at autoconf time; the second provides an expandable list
4877 # (i.e., shell variable) at configure time.
4879 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4881 # These need to be absolute paths, yet at the same time need to
4882 # canonicalize only relative paths, because then amd will not unmount
4883 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4884 glibcxx_builddir=`${PWDCMD-pwd}`
4885 case $srcdir in
4886 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4887 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4888 esac
4889 toplevel_builddir=${glibcxx_builddir}/..
4890 toplevel_srcdir=${glibcxx_srcdir}/..
4896 # We use these options to decide which functions to include. They are
4897 # set from the top level.
4899 # Check whether --with-target-subdir was given.
4900 if test "${with_target_subdir+set}" = set; then :
4901 withval=$with_target_subdir;
4906 # Check whether --with-cross-host was given.
4907 if test "${with_cross_host+set}" = set; then :
4908 withval=$with_cross_host;
4913 # Check whether --with-newlib was given.
4914 if test "${with_newlib+set}" = set; then :
4915 withval=$with_newlib;
4919 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4920 # available). Uncomment the next line to force a particular method.
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4922 $as_echo_n "checking whether ln -s works... " >&6; }
4923 LN_S=$as_ln_s
4924 if test "$LN_S" = "ln -s"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4926 $as_echo "yes" >&6; }
4927 else
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4929 $as_echo "no, using $LN_S" >&6; }
4932 #LN_S='cp -p'
4934 if test -n "$ac_tool_prefix"; then
4935 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4936 set dummy ${ac_tool_prefix}as; ac_word=$2
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938 $as_echo_n "checking for $ac_word... " >&6; }
4939 if test "${ac_cv_prog_AS+set}" = set; then :
4940 $as_echo_n "(cached) " >&6
4941 else
4942 if test -n "$AS"; then
4943 ac_cv_prog_AS="$AS" # Let the user override the test.
4944 else
4945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946 for as_dir in $PATH
4948 IFS=$as_save_IFS
4949 test -z "$as_dir" && as_dir=.
4950 for ac_exec_ext in '' $ac_executable_extensions; do
4951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4952 ac_cv_prog_AS="${ac_tool_prefix}as"
4953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 break 2
4956 done
4957 done
4958 IFS=$as_save_IFS
4962 AS=$ac_cv_prog_AS
4963 if test -n "$AS"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4965 $as_echo "$AS" >&6; }
4966 else
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 $as_echo "no" >&6; }
4973 if test -z "$ac_cv_prog_AS"; then
4974 ac_ct_AS=$AS
4975 # Extract the first word of "as", so it can be a program name with args.
4976 set dummy as; ac_word=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4980 $as_echo_n "(cached) " >&6
4981 else
4982 if test -n "$ac_ct_AS"; then
4983 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4984 else
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 for as_dir in $PATH
4988 IFS=$as_save_IFS
4989 test -z "$as_dir" && as_dir=.
4990 for ac_exec_ext in '' $ac_executable_extensions; do
4991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4992 ac_cv_prog_ac_ct_AS="as"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 break 2
4996 done
4997 done
4998 IFS=$as_save_IFS
5002 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5003 if test -n "$ac_ct_AS"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5005 $as_echo "$ac_ct_AS" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5011 if test "x$ac_ct_AS" = x; then
5012 AS=""
5013 else
5014 case $cross_compiling:$ac_tool_warned in
5015 yes:)
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5018 ac_tool_warned=yes ;;
5019 esac
5020 AS=$ac_ct_AS
5022 else
5023 AS="$ac_cv_prog_AS"
5026 if test -n "$ac_tool_prefix"; then
5027 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5028 set dummy ${ac_tool_prefix}ar; ac_word=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if test "${ac_cv_prog_AR+set}" = set; then :
5032 $as_echo_n "(cached) " >&6
5033 else
5034 if test -n "$AR"; then
5035 ac_cv_prog_AR="$AR" # Let the user override the test.
5036 else
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 for as_dir in $PATH
5040 IFS=$as_save_IFS
5041 test -z "$as_dir" && as_dir=.
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5044 ac_cv_prog_AR="${ac_tool_prefix}ar"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 break 2
5048 done
5049 done
5050 IFS=$as_save_IFS
5054 AR=$ac_cv_prog_AR
5055 if test -n "$AR"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5057 $as_echo "$AR" >&6; }
5058 else
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5065 if test -z "$ac_cv_prog_AR"; then
5066 ac_ct_AR=$AR
5067 # Extract the first word of "ar", so it can be a program name with args.
5068 set dummy ar; ac_word=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5072 $as_echo_n "(cached) " >&6
5073 else
5074 if test -n "$ac_ct_AR"; then
5075 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5076 else
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH
5080 IFS=$as_save_IFS
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 ac_cv_prog_ac_ct_AR="ar"
5085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 break 2
5088 done
5089 done
5090 IFS=$as_save_IFS
5094 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5095 if test -n "$ac_ct_AR"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5097 $as_echo "$ac_ct_AR" >&6; }
5098 else
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5103 if test "x$ac_ct_AR" = x; then
5104 AR=""
5105 else
5106 case $cross_compiling:$ac_tool_warned in
5107 yes:)
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5110 ac_tool_warned=yes ;;
5111 esac
5112 AR=$ac_ct_AR
5114 else
5115 AR="$ac_cv_prog_AR"
5118 if test -n "$ac_tool_prefix"; then
5119 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5120 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5124 $as_echo_n "(cached) " >&6
5125 else
5126 if test -n "$RANLIB"; then
5127 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5128 else
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH
5132 IFS=$as_save_IFS
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 break 2
5140 done
5141 done
5142 IFS=$as_save_IFS
5146 RANLIB=$ac_cv_prog_RANLIB
5147 if test -n "$RANLIB"; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5149 $as_echo "$RANLIB" >&6; }
5150 else
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5157 if test -z "$ac_cv_prog_RANLIB"; then
5158 ac_ct_RANLIB=$RANLIB
5159 # Extract the first word of "ranlib", so it can be a program name with args.
5160 set dummy ranlib; ac_word=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5164 $as_echo_n "(cached) " >&6
5165 else
5166 if test -n "$ac_ct_RANLIB"; then
5167 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5168 else
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5170 for as_dir in $PATH
5172 IFS=$as_save_IFS
5173 test -z "$as_dir" && as_dir=.
5174 for ac_exec_ext in '' $ac_executable_extensions; do
5175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5176 ac_cv_prog_ac_ct_RANLIB="ranlib"
5177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 break 2
5180 done
5181 done
5182 IFS=$as_save_IFS
5186 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5187 if test -n "$ac_ct_RANLIB"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5189 $as_echo "$ac_ct_RANLIB" >&6; }
5190 else
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5195 if test "x$ac_ct_RANLIB" = x; then
5196 RANLIB="ranlib-not-found-in-path-error"
5197 else
5198 case $cross_compiling:$ac_tool_warned in
5199 yes:)
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5202 ac_tool_warned=yes ;;
5203 esac
5204 RANLIB=$ac_ct_RANLIB
5206 else
5207 RANLIB="$ac_cv_prog_RANLIB"
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5213 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5214 # Check whether --enable-maintainer-mode was given.
5215 if test "${enable_maintainer_mode+set}" = set; then :
5216 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5217 else
5218 USE_MAINTAINER_MODE=no
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5222 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5223 if test $USE_MAINTAINER_MODE = yes; then
5224 MAINTAINER_MODE_TRUE=
5225 MAINTAINER_MODE_FALSE='#'
5226 else
5227 MAINTAINER_MODE_TRUE='#'
5228 MAINTAINER_MODE_FALSE=
5231 MAINT=$MAINTAINER_MODE_TRUE
5235 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5236 # which are themselves conditionally expanded.
5237 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5238 ## other macros from doing the same. This should be automated.) -pme
5240 # Check for C library flavor since GNU/Linux platforms use different
5241 # configuration directories depending on the C library in use.
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5245 #include <stdio.h>
5246 #if __UCLIBC__
5247 _using_uclibc
5248 #endif
5250 _ACEOF
5251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5252 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5253 uclibc=yes
5254 else
5255 uclibc=no
5257 rm -f conftest*
5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5261 /* end confdefs.h. */
5263 #include <stdio.h>
5264 #if __BIONIC__
5265 _using_bionic
5266 #endif
5268 _ACEOF
5269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5270 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5271 bionic=yes
5272 else
5273 bionic=no
5275 rm -f conftest*
5278 # Find platform-specific directories containing configuration info.
5279 # Also possibly modify flags used elsewhere, as needed by the platform.
5281 . $glibcxx_srcdir/configure.host
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5283 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5285 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5289 # Libtool setup.
5290 if test "x${with_newlib}" != "xyes"; then
5291 enable_dlopen=yes
5296 case `pwd` in
5297 *\ * | *\ *)
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5299 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5300 esac
5304 macro_version='2.2.7a'
5305 macro_revision='1.3134'
5319 ltmain="$ac_aux_dir/ltmain.sh"
5321 # Backslashify metacharacters that are still active within
5322 # double-quoted strings.
5323 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5325 # Same as above, but do not quote variable references.
5326 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5328 # Sed substitution to delay expansion of an escaped shell variable in a
5329 # double_quote_subst'ed string.
5330 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5332 # Sed substitution to delay expansion of an escaped single quote.
5333 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5335 # Sed substitution to avoid accidental globbing in evaled expressions
5336 no_glob_subst='s/\*/\\\*/g'
5338 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5339 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5343 $as_echo_n "checking how to print strings... " >&6; }
5344 # Test print first, because it will be a builtin if present.
5345 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5346 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5347 ECHO='print -r --'
5348 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5349 ECHO='printf %s\n'
5350 else
5351 # Use this function as a fallback that always works.
5352 func_fallback_echo ()
5354 eval 'cat <<_LTECHO_EOF
5356 _LTECHO_EOF'
5358 ECHO='func_fallback_echo'
5361 # func_echo_all arg...
5362 # Invoke $ECHO with all args, space-separated.
5363 func_echo_all ()
5365 $ECHO ""
5368 case "$ECHO" in
5369 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5370 $as_echo "printf" >&6; } ;;
5371 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5372 $as_echo "print -r" >&6; } ;;
5373 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5374 $as_echo "cat" >&6; } ;;
5375 esac
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5391 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5392 if test "${ac_cv_path_SED+set}" = set; then :
5393 $as_echo_n "(cached) " >&6
5394 else
5395 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5396 for ac_i in 1 2 3 4 5 6 7; do
5397 ac_script="$ac_script$as_nl$ac_script"
5398 done
5399 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5400 { ac_script=; unset ac_script;}
5401 if test -z "$SED"; then
5402 ac_path_SED_found=false
5403 # Loop through the user's path and test for each of PROGNAME-LIST
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 for as_dir in $PATH
5407 IFS=$as_save_IFS
5408 test -z "$as_dir" && as_dir=.
5409 for ac_prog in sed gsed; do
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5412 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5413 # Check for GNU ac_path_SED and select it if it is found.
5414 # Check for GNU $ac_path_SED
5415 case `"$ac_path_SED" --version 2>&1` in
5416 *GNU*)
5417 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5419 ac_count=0
5420 $as_echo_n 0123456789 >"conftest.in"
5421 while :
5423 cat "conftest.in" "conftest.in" >"conftest.tmp"
5424 mv "conftest.tmp" "conftest.in"
5425 cp "conftest.in" "conftest.nl"
5426 $as_echo '' >> "conftest.nl"
5427 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5428 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5429 as_fn_arith $ac_count + 1 && ac_count=$as_val
5430 if test $ac_count -gt ${ac_path_SED_max-0}; then
5431 # Best one so far, save it but keep looking for a better one
5432 ac_cv_path_SED="$ac_path_SED"
5433 ac_path_SED_max=$ac_count
5435 # 10*(2^10) chars as input seems more than enough
5436 test $ac_count -gt 10 && break
5437 done
5438 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5439 esac
5441 $ac_path_SED_found && break 3
5442 done
5443 done
5444 done
5445 IFS=$as_save_IFS
5446 if test -z "$ac_cv_path_SED"; then
5447 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5449 else
5450 ac_cv_path_SED=$SED
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5455 $as_echo "$ac_cv_path_SED" >&6; }
5456 SED="$ac_cv_path_SED"
5457 rm -f conftest.sed
5459 test -z "$SED" && SED=sed
5460 Xsed="$SED -e 1s/^X//"
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5473 $as_echo_n "checking for fgrep... " >&6; }
5474 if test "${ac_cv_path_FGREP+set}" = set; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5478 then ac_cv_path_FGREP="$GREP -F"
5479 else
5480 if test -z "$FGREP"; then
5481 ac_path_FGREP_found=false
5482 # Loop through the user's path and test for each of PROGNAME-LIST
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_prog in fgrep; do
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5491 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5492 # Check for GNU ac_path_FGREP and select it if it is found.
5493 # Check for GNU $ac_path_FGREP
5494 case `"$ac_path_FGREP" --version 2>&1` in
5495 *GNU*)
5496 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5498 ac_count=0
5499 $as_echo_n 0123456789 >"conftest.in"
5500 while :
5502 cat "conftest.in" "conftest.in" >"conftest.tmp"
5503 mv "conftest.tmp" "conftest.in"
5504 cp "conftest.in" "conftest.nl"
5505 $as_echo 'FGREP' >> "conftest.nl"
5506 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5507 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5508 as_fn_arith $ac_count + 1 && ac_count=$as_val
5509 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5510 # Best one so far, save it but keep looking for a better one
5511 ac_cv_path_FGREP="$ac_path_FGREP"
5512 ac_path_FGREP_max=$ac_count
5514 # 10*(2^10) chars as input seems more than enough
5515 test $ac_count -gt 10 && break
5516 done
5517 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5518 esac
5520 $ac_path_FGREP_found && break 3
5521 done
5522 done
5523 done
5524 IFS=$as_save_IFS
5525 if test -z "$ac_cv_path_FGREP"; then
5526 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5528 else
5529 ac_cv_path_FGREP=$FGREP
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5535 $as_echo "$ac_cv_path_FGREP" >&6; }
5536 FGREP="$ac_cv_path_FGREP"
5539 test -z "$GREP" && GREP=grep
5559 # Check whether --with-gnu-ld was given.
5560 if test "${with_gnu_ld+set}" = set; then :
5561 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5562 else
5563 with_gnu_ld=no
5566 ac_prog=ld
5567 if test "$GCC" = yes; then
5568 # Check if gcc -print-prog-name=ld gives a path.
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5570 $as_echo_n "checking for ld used by $CC... " >&6; }
5571 case $host in
5572 *-*-mingw*)
5573 # gcc leaves a trailing carriage return which upsets mingw
5574 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5576 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5577 esac
5578 case $ac_prog in
5579 # Accept absolute paths.
5580 [\\/]* | ?:[\\/]*)
5581 re_direlt='/[^/][^/]*/\.\./'
5582 # Canonicalize the pathname of ld
5583 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5584 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5585 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5586 done
5587 test -z "$LD" && LD="$ac_prog"
5590 # If it fails, then pretend we aren't using GCC.
5591 ac_prog=ld
5594 # If it is relative, then search for the first ld in PATH.
5595 with_gnu_ld=unknown
5597 esac
5598 elif test "$with_gnu_ld" = yes; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5600 $as_echo_n "checking for GNU ld... " >&6; }
5601 else
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5603 $as_echo_n "checking for non-GNU ld... " >&6; }
5605 if test "${lt_cv_path_LD+set}" = set; then :
5606 $as_echo_n "(cached) " >&6
5607 else
5608 if test -z "$LD"; then
5609 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5610 for ac_dir in $PATH; do
5611 IFS="$lt_save_ifs"
5612 test -z "$ac_dir" && ac_dir=.
5613 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5614 lt_cv_path_LD="$ac_dir/$ac_prog"
5615 # Check to see if the program is GNU ld. I'd rather use --version,
5616 # but apparently some variants of GNU ld only accept -v.
5617 # Break only if it was the GNU/non-GNU ld that we prefer.
5618 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5619 *GNU* | *'with BFD'*)
5620 test "$with_gnu_ld" != no && break
5623 test "$with_gnu_ld" != yes && break
5625 esac
5627 done
5628 IFS="$lt_save_ifs"
5629 else
5630 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5634 LD="$lt_cv_path_LD"
5635 if test -n "$LD"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5637 $as_echo "$LD" >&6; }
5638 else
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5642 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5644 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5645 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5646 $as_echo_n "(cached) " >&6
5647 else
5648 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5649 case `$LD -v 2>&1 </dev/null` in
5650 *GNU* | *'with BFD'*)
5651 lt_cv_prog_gnu_ld=yes
5654 lt_cv_prog_gnu_ld=no
5656 esac
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5659 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5660 with_gnu_ld=$lt_cv_prog_gnu_ld
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5671 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5672 if test "${lt_cv_path_NM+set}" = set; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 if test -n "$NM"; then
5676 # Let the user override the test.
5677 lt_cv_path_NM="$NM"
5678 else
5679 lt_nm_to_check="${ac_tool_prefix}nm"
5680 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5681 lt_nm_to_check="$lt_nm_to_check nm"
5683 for lt_tmp_nm in $lt_nm_to_check; do
5684 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5685 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5686 IFS="$lt_save_ifs"
5687 test -z "$ac_dir" && ac_dir=.
5688 tmp_nm="$ac_dir/$lt_tmp_nm"
5689 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5690 # Check to see if the nm accepts a BSD-compat flag.
5691 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5692 # nm: unknown option "B" ignored
5693 # Tru64's nm complains that /dev/null is an invalid object file
5694 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5695 */dev/null* | *'Invalid file or object type'*)
5696 lt_cv_path_NM="$tmp_nm -B"
5697 break
5700 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5701 */dev/null*)
5702 lt_cv_path_NM="$tmp_nm -p"
5703 break
5706 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5707 continue # so that we can try to find one that supports BSD flags
5709 esac
5711 esac
5713 done
5714 IFS="$lt_save_ifs"
5715 done
5716 : ${lt_cv_path_NM=no}
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5720 $as_echo "$lt_cv_path_NM" >&6; }
5721 if test "$lt_cv_path_NM" != "no"; then
5722 NM="$lt_cv_path_NM"
5723 else
5724 # Didn't find any BSD compatible name lister, look for dumpbin.
5725 if test -n "$DUMPBIN"; then :
5726 # Let the user override the test.
5727 else
5728 if test -n "$ac_tool_prefix"; then
5729 for ac_prog in dumpbin "link -dump"
5731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5732 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 if test -n "$DUMPBIN"; then
5739 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5740 else
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH
5744 IFS=$as_save_IFS
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5748 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 break 2
5752 done
5753 done
5754 IFS=$as_save_IFS
5758 DUMPBIN=$ac_cv_prog_DUMPBIN
5759 if test -n "$DUMPBIN"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5761 $as_echo "$DUMPBIN" >&6; }
5762 else
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5768 test -n "$DUMPBIN" && break
5769 done
5771 if test -z "$DUMPBIN"; then
5772 ac_ct_DUMPBIN=$DUMPBIN
5773 for ac_prog in dumpbin "link -dump"
5775 # Extract the first word of "$ac_prog", so it can be a program name with args.
5776 set dummy $ac_prog; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 if test -n "$ac_ct_DUMPBIN"; then
5783 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5784 else
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 for as_dir in $PATH
5788 IFS=$as_save_IFS
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5792 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 break 2
5796 done
5797 done
5798 IFS=$as_save_IFS
5802 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5803 if test -n "$ac_ct_DUMPBIN"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5805 $as_echo "$ac_ct_DUMPBIN" >&6; }
5806 else
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5812 test -n "$ac_ct_DUMPBIN" && break
5813 done
5815 if test "x$ac_ct_DUMPBIN" = x; then
5816 DUMPBIN=":"
5817 else
5818 case $cross_compiling:$ac_tool_warned in
5819 yes:)
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5822 ac_tool_warned=yes ;;
5823 esac
5824 DUMPBIN=$ac_ct_DUMPBIN
5828 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5829 *COFF*)
5830 DUMPBIN="$DUMPBIN -symbols"
5833 DUMPBIN=:
5835 esac
5838 if test "$DUMPBIN" != ":"; then
5839 NM="$DUMPBIN"
5842 test -z "$NM" && NM=nm
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5850 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5851 if test "${lt_cv_nm_interface+set}" = set; then :
5852 $as_echo_n "(cached) " >&6
5853 else
5854 lt_cv_nm_interface="BSD nm"
5855 echo "int some_variable = 0;" > conftest.$ac_ext
5856 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5857 (eval "$ac_compile" 2>conftest.err)
5858 cat conftest.err >&5
5859 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5860 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5861 cat conftest.err >&5
5862 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5863 cat conftest.out >&5
5864 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5865 lt_cv_nm_interface="MS dumpbin"
5867 rm -f conftest*
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5870 $as_echo "$lt_cv_nm_interface" >&6; }
5872 # find the maximum length of command line arguments
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5874 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5875 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5876 $as_echo_n "(cached) " >&6
5877 else
5879 teststring="ABCD"
5881 case $build_os in
5882 msdosdjgpp*)
5883 # On DJGPP, this test can blow up pretty badly due to problems in libc
5884 # (any single argument exceeding 2000 bytes causes a buffer overrun
5885 # during glob expansion). Even if it were fixed, the result of this
5886 # check would be larger than it should be.
5887 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5890 gnu*)
5891 # Under GNU Hurd, this test is not required because there is
5892 # no limit to the length of command line arguments.
5893 # Libtool will interpret -1 as no limit whatsoever
5894 lt_cv_sys_max_cmd_len=-1;
5897 cygwin* | mingw* | cegcc*)
5898 # On Win9x/ME, this test blows up -- it succeeds, but takes
5899 # about 5 minutes as the teststring grows exponentially.
5900 # Worse, since 9x/ME are not pre-emptively multitasking,
5901 # you end up with a "frozen" computer, even though with patience
5902 # the test eventually succeeds (with a max line length of 256k).
5903 # Instead, let's just punt: use the minimum linelength reported by
5904 # all of the supported platforms: 8192 (on NT/2K/XP).
5905 lt_cv_sys_max_cmd_len=8192;
5908 mint*)
5909 # On MiNT this can take a long time and run out of memory.
5910 lt_cv_sys_max_cmd_len=8192;
5913 amigaos*)
5914 # On AmigaOS with pdksh, this test takes hours, literally.
5915 # So we just punt and use a minimum line length of 8192.
5916 lt_cv_sys_max_cmd_len=8192;
5919 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5920 # This has been around since 386BSD, at least. Likely further.
5921 if test -x /sbin/sysctl; then
5922 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5923 elif test -x /usr/sbin/sysctl; then
5924 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5925 else
5926 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5928 # And add a safety zone
5929 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5933 interix*)
5934 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5935 lt_cv_sys_max_cmd_len=196608
5938 osf*)
5939 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5940 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5941 # nice to cause kernel panics so lets avoid the loop below.
5942 # First set a reasonable default.
5943 lt_cv_sys_max_cmd_len=16384
5945 if test -x /sbin/sysconfig; then
5946 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5947 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5948 esac
5951 sco3.2v5*)
5952 lt_cv_sys_max_cmd_len=102400
5954 sysv5* | sco5v6* | sysv4.2uw2*)
5955 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5956 if test -n "$kargmax"; then
5957 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5958 else
5959 lt_cv_sys_max_cmd_len=32768
5963 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5964 if test -n "$lt_cv_sys_max_cmd_len"; then
5965 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5967 else
5968 # Make teststring a little bigger before we do anything with it.
5969 # a 1K string should be a reasonable start.
5970 for i in 1 2 3 4 5 6 7 8 ; do
5971 teststring=$teststring$teststring
5972 done
5973 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5974 # If test is not a shell built-in, we'll probably end up computing a
5975 # maximum length that is only half of the actual maximum length, but
5976 # we can't tell.
5977 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5978 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5979 test $i != 17 # 1/2 MB should be enough
5981 i=`expr $i + 1`
5982 teststring=$teststring$teststring
5983 done
5984 # Only check the string length outside the loop.
5985 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5986 teststring=
5987 # Add a significant safety factor because C++ compilers can tack on
5988 # massive amounts of additional arguments before passing them to the
5989 # linker. It appears as though 1/2 is a usable value.
5990 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5993 esac
5997 if test -n $lt_cv_sys_max_cmd_len ; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5999 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6000 else
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6002 $as_echo "none" >&6; }
6004 max_cmd_len=$lt_cv_sys_max_cmd_len
6011 : ${CP="cp -f"}
6012 : ${MV="mv -f"}
6013 : ${RM="rm -f"}
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6016 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6017 # Try some XSI features
6018 xsi_shell=no
6019 ( _lt_dummy="a/b/c"
6020 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6021 = c,a/b,, \
6022 && eval 'test $(( 1 + 1 )) -eq 2 \
6023 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6024 && xsi_shell=yes
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6026 $as_echo "$xsi_shell" >&6; }
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6030 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6031 lt_shell_append=no
6032 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6033 >/dev/null 2>&1 \
6034 && lt_shell_append=yes
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6036 $as_echo "$lt_shell_append" >&6; }
6039 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6040 lt_unset=unset
6041 else
6042 lt_unset=false
6049 # test EBCDIC or ASCII
6050 case `echo X|tr X '\101'` in
6051 A) # ASCII based system
6052 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6053 lt_SP2NL='tr \040 \012'
6054 lt_NL2SP='tr \015\012 \040\040'
6056 *) # EBCDIC based system
6057 lt_SP2NL='tr \100 \n'
6058 lt_NL2SP='tr \r\n \100\100'
6060 esac
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6071 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6072 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6073 $as_echo_n "(cached) " >&6
6074 else
6075 lt_cv_ld_reload_flag='-r'
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6078 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6079 reload_flag=$lt_cv_ld_reload_flag
6080 case $reload_flag in
6081 "" | " "*) ;;
6082 *) reload_flag=" $reload_flag" ;;
6083 esac
6084 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6085 case $host_os in
6086 darwin*)
6087 if test "$GCC" = yes; then
6088 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6089 else
6090 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6093 esac
6103 if test -n "$ac_tool_prefix"; then
6104 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6105 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 $as_echo_n "checking for $ac_word... " >&6; }
6108 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 if test -n "$OBJDUMP"; then
6112 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6113 else
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 for as_dir in $PATH
6117 IFS=$as_save_IFS
6118 test -z "$as_dir" && as_dir=.
6119 for ac_exec_ext in '' $ac_executable_extensions; do
6120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6121 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6123 break 2
6125 done
6126 done
6127 IFS=$as_save_IFS
6131 OBJDUMP=$ac_cv_prog_OBJDUMP
6132 if test -n "$OBJDUMP"; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6134 $as_echo "$OBJDUMP" >&6; }
6135 else
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6137 $as_echo "no" >&6; }
6142 if test -z "$ac_cv_prog_OBJDUMP"; then
6143 ac_ct_OBJDUMP=$OBJDUMP
6144 # Extract the first word of "objdump", so it can be a program name with args.
6145 set dummy objdump; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 if test -n "$ac_ct_OBJDUMP"; then
6152 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6157 IFS=$as_save_IFS
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6161 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 break 2
6165 done
6166 done
6167 IFS=$as_save_IFS
6171 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6172 if test -n "$ac_ct_OBJDUMP"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6174 $as_echo "$ac_ct_OBJDUMP" >&6; }
6175 else
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6180 if test "x$ac_ct_OBJDUMP" = x; then
6181 OBJDUMP="false"
6182 else
6183 case $cross_compiling:$ac_tool_warned in
6184 yes:)
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6187 ac_tool_warned=yes ;;
6188 esac
6189 OBJDUMP=$ac_ct_OBJDUMP
6191 else
6192 OBJDUMP="$ac_cv_prog_OBJDUMP"
6195 test -z "$OBJDUMP" && OBJDUMP=objdump
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6206 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6207 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6208 $as_echo_n "(cached) " >&6
6209 else
6210 lt_cv_file_magic_cmd='$MAGIC_CMD'
6211 lt_cv_file_magic_test_file=
6212 lt_cv_deplibs_check_method='unknown'
6213 # Need to set the preceding variable on all platforms that support
6214 # interlibrary dependencies.
6215 # 'none' -- dependencies not supported.
6216 # `unknown' -- same as none, but documents that we really don't know.
6217 # 'pass_all' -- all dependencies passed with no checks.
6218 # 'test_compile' -- check by making test program.
6219 # 'file_magic [[regex]]' -- check by looking for files in library path
6220 # which responds to the $file_magic_cmd with a given extended regex.
6221 # If you have `file' or equivalent on your system and you're not sure
6222 # whether `pass_all' will *always* work, you probably want this one.
6224 case $host_os in
6225 aix[4-9]*)
6226 lt_cv_deplibs_check_method=pass_all
6229 beos*)
6230 lt_cv_deplibs_check_method=pass_all
6233 bsdi[45]*)
6234 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6235 lt_cv_file_magic_cmd='/usr/bin/file -L'
6236 lt_cv_file_magic_test_file=/shlib/libc.so
6239 cygwin*)
6240 # func_win32_libid is a shell function defined in ltmain.sh
6241 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6242 lt_cv_file_magic_cmd='func_win32_libid'
6245 mingw* | pw32*)
6246 # Base MSYS/MinGW do not provide the 'file' command needed by
6247 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6248 # unless we find 'file', for example because we are cross-compiling.
6249 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6250 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6251 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6252 lt_cv_file_magic_cmd='func_win32_libid'
6253 else
6254 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6255 lt_cv_file_magic_cmd='$OBJDUMP -f'
6259 cegcc*)
6260 # use the weaker test based on 'objdump'. See mingw*.
6261 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6262 lt_cv_file_magic_cmd='$OBJDUMP -f'
6265 darwin* | rhapsody*)
6266 lt_cv_deplibs_check_method=pass_all
6269 freebsd* | dragonfly*)
6270 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6271 case $host_cpu in
6272 i*86 )
6273 # Not sure whether the presence of OpenBSD here was a mistake.
6274 # Let's accept both of them until this is cleared up.
6275 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6276 lt_cv_file_magic_cmd=/usr/bin/file
6277 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6279 esac
6280 else
6281 lt_cv_deplibs_check_method=pass_all
6285 gnu*)
6286 lt_cv_deplibs_check_method=pass_all
6289 haiku*)
6290 lt_cv_deplibs_check_method=pass_all
6293 hpux10.20* | hpux11*)
6294 lt_cv_file_magic_cmd=/usr/bin/file
6295 case $host_cpu in
6296 ia64*)
6297 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6298 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6300 hppa*64*)
6301 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]'
6302 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6306 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6308 esac
6311 interix[3-9]*)
6312 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6313 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6316 irix5* | irix6* | nonstopux*)
6317 case $LD in
6318 *-32|*"-32 ") libmagic=32-bit;;
6319 *-n32|*"-n32 ") libmagic=N32;;
6320 *-64|*"-64 ") libmagic=64-bit;;
6321 *) libmagic=never-match;;
6322 esac
6323 lt_cv_deplibs_check_method=pass_all
6326 # This must be Linux ELF.
6327 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6328 lt_cv_deplibs_check_method=pass_all
6331 netbsd*)
6332 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6333 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6334 else
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6339 newos6*)
6340 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6341 lt_cv_file_magic_cmd=/usr/bin/file
6342 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6345 *nto* | *qnx*)
6346 lt_cv_deplibs_check_method=pass_all
6349 openbsd*)
6350 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6351 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6352 else
6353 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6357 osf3* | osf4* | osf5*)
6358 lt_cv_deplibs_check_method=pass_all
6361 rdos*)
6362 lt_cv_deplibs_check_method=pass_all
6365 solaris*)
6366 lt_cv_deplibs_check_method=pass_all
6369 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6370 lt_cv_deplibs_check_method=pass_all
6373 sysv4 | sysv4.3*)
6374 case $host_vendor in
6375 motorola)
6376 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]'
6377 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6379 ncr)
6380 lt_cv_deplibs_check_method=pass_all
6382 sequent)
6383 lt_cv_file_magic_cmd='/bin/file'
6384 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6386 sni)
6387 lt_cv_file_magic_cmd='/bin/file'
6388 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6389 lt_cv_file_magic_test_file=/lib/libc.so
6391 siemens)
6392 lt_cv_deplibs_check_method=pass_all
6395 lt_cv_deplibs_check_method=pass_all
6397 esac
6400 tpf*)
6401 lt_cv_deplibs_check_method=pass_all
6403 esac
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6407 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6408 file_magic_cmd=$lt_cv_file_magic_cmd
6409 deplibs_check_method=$lt_cv_deplibs_check_method
6410 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6423 if test -n "$ac_tool_prefix"; then
6424 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6425 set dummy ${ac_tool_prefix}ar; ac_word=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 $as_echo_n "checking for $ac_word... " >&6; }
6428 if test "${ac_cv_prog_AR+set}" = set; then :
6429 $as_echo_n "(cached) " >&6
6430 else
6431 if test -n "$AR"; then
6432 ac_cv_prog_AR="$AR" # Let the user override the test.
6433 else
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH
6437 IFS=$as_save_IFS
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6441 ac_cv_prog_AR="${ac_tool_prefix}ar"
6442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 break 2
6445 done
6446 done
6447 IFS=$as_save_IFS
6451 AR=$ac_cv_prog_AR
6452 if test -n "$AR"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6454 $as_echo "$AR" >&6; }
6455 else
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6462 if test -z "$ac_cv_prog_AR"; then
6463 ac_ct_AR=$AR
6464 # Extract the first word of "ar", so it can be a program name with args.
6465 set dummy ar; ac_word=$2
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 $as_echo_n "checking for $ac_word... " >&6; }
6468 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6469 $as_echo_n "(cached) " >&6
6470 else
6471 if test -n "$ac_ct_AR"; then
6472 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6473 else
6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in $PATH
6477 IFS=$as_save_IFS
6478 test -z "$as_dir" && as_dir=.
6479 for ac_exec_ext in '' $ac_executable_extensions; do
6480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6481 ac_cv_prog_ac_ct_AR="ar"
6482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 break 2
6485 done
6486 done
6487 IFS=$as_save_IFS
6491 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6492 if test -n "$ac_ct_AR"; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6494 $as_echo "$ac_ct_AR" >&6; }
6495 else
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497 $as_echo "no" >&6; }
6500 if test "x$ac_ct_AR" = x; then
6501 AR="false"
6502 else
6503 case $cross_compiling:$ac_tool_warned in
6504 yes:)
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6507 ac_tool_warned=yes ;;
6508 esac
6509 AR=$ac_ct_AR
6511 else
6512 AR="$ac_cv_prog_AR"
6515 test -z "$AR" && AR=ar
6516 test -z "$AR_FLAGS" && AR_FLAGS=cru
6528 if test -n "$ac_tool_prefix"; then
6529 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6530 set dummy ${ac_tool_prefix}strip; ac_word=$2
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6532 $as_echo_n "checking for $ac_word... " >&6; }
6533 if test "${ac_cv_prog_STRIP+set}" = set; then :
6534 $as_echo_n "(cached) " >&6
6535 else
6536 if test -n "$STRIP"; then
6537 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6538 else
6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 for as_dir in $PATH
6542 IFS=$as_save_IFS
6543 test -z "$as_dir" && as_dir=.
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6546 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6548 break 2
6550 done
6551 done
6552 IFS=$as_save_IFS
6556 STRIP=$ac_cv_prog_STRIP
6557 if test -n "$STRIP"; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6559 $as_echo "$STRIP" >&6; }
6560 else
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 $as_echo "no" >&6; }
6567 if test -z "$ac_cv_prog_STRIP"; then
6568 ac_ct_STRIP=$STRIP
6569 # Extract the first word of "strip", so it can be a program name with args.
6570 set dummy strip; ac_word=$2
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6572 $as_echo_n "checking for $ac_word... " >&6; }
6573 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6574 $as_echo_n "(cached) " >&6
6575 else
6576 if test -n "$ac_ct_STRIP"; then
6577 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6578 else
6579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6580 for as_dir in $PATH
6582 IFS=$as_save_IFS
6583 test -z "$as_dir" && as_dir=.
6584 for ac_exec_ext in '' $ac_executable_extensions; do
6585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6586 ac_cv_prog_ac_ct_STRIP="strip"
6587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6588 break 2
6590 done
6591 done
6592 IFS=$as_save_IFS
6596 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6597 if test -n "$ac_ct_STRIP"; then
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6599 $as_echo "$ac_ct_STRIP" >&6; }
6600 else
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 $as_echo "no" >&6; }
6605 if test "x$ac_ct_STRIP" = x; then
6606 STRIP=":"
6607 else
6608 case $cross_compiling:$ac_tool_warned in
6609 yes:)
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6612 ac_tool_warned=yes ;;
6613 esac
6614 STRIP=$ac_ct_STRIP
6616 else
6617 STRIP="$ac_cv_prog_STRIP"
6620 test -z "$STRIP" && STRIP=:
6627 if test -n "$ac_tool_prefix"; then
6628 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6629 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6631 $as_echo_n "checking for $ac_word... " >&6; }
6632 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6633 $as_echo_n "(cached) " >&6
6634 else
6635 if test -n "$RANLIB"; then
6636 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6637 else
6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 for as_dir in $PATH
6641 IFS=$as_save_IFS
6642 test -z "$as_dir" && as_dir=.
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6645 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6647 break 2
6649 done
6650 done
6651 IFS=$as_save_IFS
6655 RANLIB=$ac_cv_prog_RANLIB
6656 if test -n "$RANLIB"; then
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6658 $as_echo "$RANLIB" >&6; }
6659 else
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 $as_echo "no" >&6; }
6666 if test -z "$ac_cv_prog_RANLIB"; then
6667 ac_ct_RANLIB=$RANLIB
6668 # Extract the first word of "ranlib", so it can be a program name with args.
6669 set dummy ranlib; ac_word=$2
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6671 $as_echo_n "checking for $ac_word... " >&6; }
6672 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6673 $as_echo_n "(cached) " >&6
6674 else
6675 if test -n "$ac_ct_RANLIB"; then
6676 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6677 else
6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6679 for as_dir in $PATH
6681 IFS=$as_save_IFS
6682 test -z "$as_dir" && as_dir=.
6683 for ac_exec_ext in '' $ac_executable_extensions; do
6684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6685 ac_cv_prog_ac_ct_RANLIB="ranlib"
6686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6687 break 2
6689 done
6690 done
6691 IFS=$as_save_IFS
6695 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6696 if test -n "$ac_ct_RANLIB"; then
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6698 $as_echo "$ac_ct_RANLIB" >&6; }
6699 else
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 $as_echo "no" >&6; }
6704 if test "x$ac_ct_RANLIB" = x; then
6705 RANLIB=":"
6706 else
6707 case $cross_compiling:$ac_tool_warned in
6708 yes:)
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6711 ac_tool_warned=yes ;;
6712 esac
6713 RANLIB=$ac_ct_RANLIB
6715 else
6716 RANLIB="$ac_cv_prog_RANLIB"
6719 test -z "$RANLIB" && RANLIB=:
6726 # Determine commands to create old-style static archives.
6727 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6728 old_postinstall_cmds='chmod 644 $oldlib'
6729 old_postuninstall_cmds=
6731 if test -n "$RANLIB"; then
6732 case $host_os in
6733 openbsd*)
6734 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6737 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6739 esac
6740 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6743 case $host_os in
6744 darwin*)
6745 lock_old_archive_extraction=yes ;;
6747 lock_old_archive_extraction=no ;;
6748 esac
6788 # If no C compiler was specified, use CC.
6789 LTCC=${LTCC-"$CC"}
6791 # If no C compiler flags were specified, use CFLAGS.
6792 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6794 # Allow CC to be a program name with arguments.
6795 compiler=$CC
6798 # Check for command to grab the raw symbol name followed by C symbol from nm.
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6800 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6801 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6802 $as_echo_n "(cached) " >&6
6803 else
6805 # These are sane defaults that work on at least a few old systems.
6806 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6808 # Character class describing NM global symbol codes.
6809 symcode='[BCDEGRST]'
6811 # Regexp to match symbols that can be accessed directly from C.
6812 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6814 # Define system-specific variables.
6815 case $host_os in
6816 aix*)
6817 symcode='[BCDT]'
6819 cygwin* | mingw* | pw32* | cegcc*)
6820 symcode='[ABCDGISTW]'
6822 hpux*)
6823 if test "$host_cpu" = ia64; then
6824 symcode='[ABCDEGRST]'
6827 irix* | nonstopux*)
6828 symcode='[BCDEGRST]'
6830 osf*)
6831 symcode='[BCDEGQRST]'
6833 solaris*)
6834 symcode='[BDRT]'
6836 sco3.2v5*)
6837 symcode='[DT]'
6839 sysv4.2uw2*)
6840 symcode='[DT]'
6842 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6843 symcode='[ABDT]'
6845 sysv4)
6846 symcode='[DFNSTU]'
6848 esac
6850 # If we're using GNU nm, then use its standard symbol codes.
6851 case `$NM -V 2>&1` in
6852 *GNU* | *'with BFD'*)
6853 symcode='[ABCDGIRSTW]' ;;
6854 esac
6856 # Transform an extracted symbol line into a proper C declaration.
6857 # Some systems (esp. on ia64) link data and code symbols differently,
6858 # so use this general approach.
6859 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6861 # Transform an extracted symbol line into symbol name and symbol address
6862 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6863 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'"
6865 # Handle CRLF in mingw tool chain
6866 opt_cr=
6867 case $build_os in
6868 mingw*)
6869 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6871 esac
6873 # Try without a prefix underscore, then with it.
6874 for ac_symprfx in "" "_"; do
6876 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6877 symxfrm="\\1 $ac_symprfx\\2 \\2"
6879 # Write the raw and C identifiers.
6880 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6881 # Fake it for dumpbin and say T for any non-static function
6882 # and D for any global variable.
6883 # Also find C++ and __fastcall symbols from MSVC++,
6884 # which start with @ or ?.
6885 lt_cv_sys_global_symbol_pipe="$AWK '"\
6886 " {last_section=section; section=\$ 3};"\
6887 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6888 " \$ 0!~/External *\|/{next};"\
6889 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6890 " {if(hide[section]) next};"\
6891 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6892 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6893 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6894 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6895 " ' prfx=^$ac_symprfx"
6896 else
6897 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6900 # Check to see that the pipe works correctly.
6901 pipe_works=no
6903 rm -f conftest*
6904 cat > conftest.$ac_ext <<_LT_EOF
6905 #ifdef __cplusplus
6906 extern "C" {
6907 #endif
6908 char nm_test_var;
6909 void nm_test_func(void);
6910 void nm_test_func(void){}
6911 #ifdef __cplusplus
6913 #endif
6914 int main(){nm_test_var='a';nm_test_func();return(0);}
6915 _LT_EOF
6917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6918 (eval $ac_compile) 2>&5
6919 ac_status=$?
6920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6921 test $ac_status = 0; }; then
6922 # Now try to grab the symbols.
6923 nlist=conftest.nm
6924 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6925 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6926 ac_status=$?
6927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6928 test $ac_status = 0; } && test -s "$nlist"; then
6929 # Try sorting and uniquifying the output.
6930 if sort "$nlist" | uniq > "$nlist"T; then
6931 mv -f "$nlist"T "$nlist"
6932 else
6933 rm -f "$nlist"T
6936 # Make sure that we snagged all the symbols we need.
6937 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6938 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6939 cat <<_LT_EOF > conftest.$ac_ext
6940 #ifdef __cplusplus
6941 extern "C" {
6942 #endif
6944 _LT_EOF
6945 # Now generate the symbol file.
6946 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6948 cat <<_LT_EOF >> conftest.$ac_ext
6950 /* The mapping between symbol names and symbols. */
6951 const struct {
6952 const char *name;
6953 void *address;
6955 lt__PROGRAM__LTX_preloaded_symbols[] =
6957 { "@PROGRAM@", (void *) 0 },
6958 _LT_EOF
6959 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6960 cat <<\_LT_EOF >> conftest.$ac_ext
6961 {0, (void *) 0}
6964 /* This works around a problem in FreeBSD linker */
6965 #ifdef FREEBSD_WORKAROUND
6966 static const void *lt_preloaded_setup() {
6967 return lt__PROGRAM__LTX_preloaded_symbols;
6969 #endif
6971 #ifdef __cplusplus
6973 #endif
6974 _LT_EOF
6975 # Now try linking the two files.
6976 mv conftest.$ac_objext conftstm.$ac_objext
6977 lt_save_LIBS="$LIBS"
6978 lt_save_CFLAGS="$CFLAGS"
6979 LIBS="conftstm.$ac_objext"
6980 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6982 (eval $ac_link) 2>&5
6983 ac_status=$?
6984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6985 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6986 pipe_works=yes
6988 LIBS="$lt_save_LIBS"
6989 CFLAGS="$lt_save_CFLAGS"
6990 else
6991 echo "cannot find nm_test_func in $nlist" >&5
6993 else
6994 echo "cannot find nm_test_var in $nlist" >&5
6996 else
6997 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6999 else
7000 echo "$progname: failed program was:" >&5
7001 cat conftest.$ac_ext >&5
7003 rm -rf conftest* conftst*
7005 # Do not use the global_symbol_pipe unless it works.
7006 if test "$pipe_works" = yes; then
7007 break
7008 else
7009 lt_cv_sys_global_symbol_pipe=
7011 done
7015 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7016 lt_cv_sys_global_symbol_to_cdecl=
7018 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7020 $as_echo "failed" >&6; }
7021 else
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7023 $as_echo "ok" >&6; }
7047 # Check whether --enable-libtool-lock was given.
7048 if test "${enable_libtool_lock+set}" = set; then :
7049 enableval=$enable_libtool_lock;
7052 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7054 # Some flags need to be propagated to the compiler or linker for good
7055 # libtool support.
7056 case $host in
7057 ia64-*-hpux*)
7058 # Find out which ABI we are using.
7059 echo 'int i;' > conftest.$ac_ext
7060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7061 (eval $ac_compile) 2>&5
7062 ac_status=$?
7063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7064 test $ac_status = 0; }; then
7065 case `/usr/bin/file conftest.$ac_objext` in
7066 *ELF-32*)
7067 HPUX_IA64_MODE="32"
7069 *ELF-64*)
7070 HPUX_IA64_MODE="64"
7072 esac
7074 rm -rf conftest*
7076 *-*-irix6*)
7077 # Find out which ABI we are using.
7078 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7080 (eval $ac_compile) 2>&5
7081 ac_status=$?
7082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7083 test $ac_status = 0; }; then
7084 if test "$lt_cv_prog_gnu_ld" = yes; then
7085 case `/usr/bin/file conftest.$ac_objext` in
7086 *32-bit*)
7087 LD="${LD-ld} -melf32bsmip"
7089 *N32*)
7090 LD="${LD-ld} -melf32bmipn32"
7092 *64-bit*)
7093 LD="${LD-ld} -melf64bmip"
7095 esac
7096 else
7097 case `/usr/bin/file conftest.$ac_objext` in
7098 *32-bit*)
7099 LD="${LD-ld} -32"
7101 *N32*)
7102 LD="${LD-ld} -n32"
7104 *64-bit*)
7105 LD="${LD-ld} -64"
7107 esac
7110 rm -rf conftest*
7113 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7114 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7115 # Find out which ABI we are using.
7116 echo 'int i;' > conftest.$ac_ext
7117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7118 (eval $ac_compile) 2>&5
7119 ac_status=$?
7120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7121 test $ac_status = 0; }; then
7122 case `/usr/bin/file conftest.o` in
7123 *32-bit*)
7124 case $host in
7125 x86_64-*kfreebsd*-gnu)
7126 LD="${LD-ld} -m elf_i386_fbsd"
7128 x86_64-*linux*)
7129 case `/usr/bin/file conftest.o` in
7130 *x86-64*)
7131 LD="${LD-ld} -m elf32_x86_64"
7134 LD="${LD-ld} -m elf_i386"
7136 esac
7138 ppc64-*linux*|powerpc64-*linux*)
7139 LD="${LD-ld} -m elf32ppclinux"
7141 s390x-*linux*)
7142 LD="${LD-ld} -m elf_s390"
7144 sparc64-*linux*)
7145 LD="${LD-ld} -m elf32_sparc"
7147 esac
7149 *64-bit*)
7150 case $host in
7151 x86_64-*kfreebsd*-gnu)
7152 LD="${LD-ld} -m elf_x86_64_fbsd"
7154 x86_64-*linux*)
7155 LD="${LD-ld} -m elf_x86_64"
7157 ppc*-*linux*|powerpc*-*linux*)
7158 LD="${LD-ld} -m elf64ppc"
7160 s390*-*linux*|s390*-*tpf*)
7161 LD="${LD-ld} -m elf64_s390"
7163 sparc*-*linux*)
7164 LD="${LD-ld} -m elf64_sparc"
7166 esac
7168 esac
7170 rm -rf conftest*
7173 *-*-sco3.2v5*)
7174 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7175 SAVE_CFLAGS="$CFLAGS"
7176 CFLAGS="$CFLAGS -belf"
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7178 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7179 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7180 $as_echo_n "(cached) " >&6
7181 else
7182 ac_ext=c
7183 ac_cpp='$CPP $CPPFLAGS'
7184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7188 if test x$gcc_no_link = xyes; then
7189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h. */
7195 main ()
7199 return 0;
7201 _ACEOF
7202 if ac_fn_c_try_link "$LINENO"; then :
7203 lt_cv_cc_needs_belf=yes
7204 else
7205 lt_cv_cc_needs_belf=no
7207 rm -f core conftest.err conftest.$ac_objext \
7208 conftest$ac_exeext conftest.$ac_ext
7209 ac_ext=c
7210 ac_cpp='$CPP $CPPFLAGS'
7211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7217 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7218 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7219 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7220 CFLAGS="$SAVE_CFLAGS"
7223 sparc*-*solaris*)
7224 # Find out which ABI we are using.
7225 echo 'int i;' > conftest.$ac_ext
7226 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7227 (eval $ac_compile) 2>&5
7228 ac_status=$?
7229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7230 test $ac_status = 0; }; then
7231 case `/usr/bin/file conftest.o` in
7232 *64-bit*)
7233 case $lt_cv_prog_gnu_ld in
7234 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7236 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7237 LD="${LD-ld} -64"
7240 esac
7242 esac
7244 rm -rf conftest*
7246 esac
7248 need_locks="$enable_libtool_lock"
7251 case $host_os in
7252 rhapsody* | darwin*)
7253 if test -n "$ac_tool_prefix"; then
7254 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7255 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7257 $as_echo_n "checking for $ac_word... " >&6; }
7258 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7259 $as_echo_n "(cached) " >&6
7260 else
7261 if test -n "$DSYMUTIL"; then
7262 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7263 else
7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7265 for as_dir in $PATH
7267 IFS=$as_save_IFS
7268 test -z "$as_dir" && as_dir=.
7269 for ac_exec_ext in '' $ac_executable_extensions; do
7270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7271 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7273 break 2
7275 done
7276 done
7277 IFS=$as_save_IFS
7281 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7282 if test -n "$DSYMUTIL"; then
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7284 $as_echo "$DSYMUTIL" >&6; }
7285 else
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287 $as_echo "no" >&6; }
7292 if test -z "$ac_cv_prog_DSYMUTIL"; then
7293 ac_ct_DSYMUTIL=$DSYMUTIL
7294 # Extract the first word of "dsymutil", so it can be a program name with args.
7295 set dummy dsymutil; ac_word=$2
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7297 $as_echo_n "checking for $ac_word... " >&6; }
7298 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7299 $as_echo_n "(cached) " >&6
7300 else
7301 if test -n "$ac_ct_DSYMUTIL"; then
7302 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7303 else
7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305 for as_dir in $PATH
7307 IFS=$as_save_IFS
7308 test -z "$as_dir" && as_dir=.
7309 for ac_exec_ext in '' $ac_executable_extensions; do
7310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7311 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7313 break 2
7315 done
7316 done
7317 IFS=$as_save_IFS
7321 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7322 if test -n "$ac_ct_DSYMUTIL"; then
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7324 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7325 else
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7327 $as_echo "no" >&6; }
7330 if test "x$ac_ct_DSYMUTIL" = x; then
7331 DSYMUTIL=":"
7332 else
7333 case $cross_compiling:$ac_tool_warned in
7334 yes:)
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7337 ac_tool_warned=yes ;;
7338 esac
7339 DSYMUTIL=$ac_ct_DSYMUTIL
7341 else
7342 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7345 if test -n "$ac_tool_prefix"; then
7346 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7347 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349 $as_echo_n "checking for $ac_word... " >&6; }
7350 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7351 $as_echo_n "(cached) " >&6
7352 else
7353 if test -n "$NMEDIT"; then
7354 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7355 else
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7357 for as_dir in $PATH
7359 IFS=$as_save_IFS
7360 test -z "$as_dir" && as_dir=.
7361 for ac_exec_ext in '' $ac_executable_extensions; do
7362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7363 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7365 break 2
7367 done
7368 done
7369 IFS=$as_save_IFS
7373 NMEDIT=$ac_cv_prog_NMEDIT
7374 if test -n "$NMEDIT"; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7376 $as_echo "$NMEDIT" >&6; }
7377 else
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 $as_echo "no" >&6; }
7384 if test -z "$ac_cv_prog_NMEDIT"; then
7385 ac_ct_NMEDIT=$NMEDIT
7386 # Extract the first word of "nmedit", so it can be a program name with args.
7387 set dummy nmedit; ac_word=$2
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 $as_echo_n "checking for $ac_word... " >&6; }
7390 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7391 $as_echo_n "(cached) " >&6
7392 else
7393 if test -n "$ac_ct_NMEDIT"; then
7394 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7395 else
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 for as_dir in $PATH
7399 IFS=$as_save_IFS
7400 test -z "$as_dir" && as_dir=.
7401 for ac_exec_ext in '' $ac_executable_extensions; do
7402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7403 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7405 break 2
7407 done
7408 done
7409 IFS=$as_save_IFS
7413 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7414 if test -n "$ac_ct_NMEDIT"; then
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7416 $as_echo "$ac_ct_NMEDIT" >&6; }
7417 else
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419 $as_echo "no" >&6; }
7422 if test "x$ac_ct_NMEDIT" = x; then
7423 NMEDIT=":"
7424 else
7425 case $cross_compiling:$ac_tool_warned in
7426 yes:)
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7429 ac_tool_warned=yes ;;
7430 esac
7431 NMEDIT=$ac_ct_NMEDIT
7433 else
7434 NMEDIT="$ac_cv_prog_NMEDIT"
7437 if test -n "$ac_tool_prefix"; then
7438 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7439 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441 $as_echo_n "checking for $ac_word... " >&6; }
7442 if test "${ac_cv_prog_LIPO+set}" = set; then :
7443 $as_echo_n "(cached) " >&6
7444 else
7445 if test -n "$LIPO"; then
7446 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7447 else
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7449 for as_dir in $PATH
7451 IFS=$as_save_IFS
7452 test -z "$as_dir" && as_dir=.
7453 for ac_exec_ext in '' $ac_executable_extensions; do
7454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7455 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7457 break 2
7459 done
7460 done
7461 IFS=$as_save_IFS
7465 LIPO=$ac_cv_prog_LIPO
7466 if test -n "$LIPO"; then
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7468 $as_echo "$LIPO" >&6; }
7469 else
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 $as_echo "no" >&6; }
7476 if test -z "$ac_cv_prog_LIPO"; then
7477 ac_ct_LIPO=$LIPO
7478 # Extract the first word of "lipo", so it can be a program name with args.
7479 set dummy lipo; ac_word=$2
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7481 $as_echo_n "checking for $ac_word... " >&6; }
7482 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7483 $as_echo_n "(cached) " >&6
7484 else
7485 if test -n "$ac_ct_LIPO"; then
7486 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7487 else
7488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7489 for as_dir in $PATH
7491 IFS=$as_save_IFS
7492 test -z "$as_dir" && as_dir=.
7493 for ac_exec_ext in '' $ac_executable_extensions; do
7494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7495 ac_cv_prog_ac_ct_LIPO="lipo"
7496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7497 break 2
7499 done
7500 done
7501 IFS=$as_save_IFS
7505 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7506 if test -n "$ac_ct_LIPO"; then
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7508 $as_echo "$ac_ct_LIPO" >&6; }
7509 else
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7511 $as_echo "no" >&6; }
7514 if test "x$ac_ct_LIPO" = x; then
7515 LIPO=":"
7516 else
7517 case $cross_compiling:$ac_tool_warned in
7518 yes:)
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7521 ac_tool_warned=yes ;;
7522 esac
7523 LIPO=$ac_ct_LIPO
7525 else
7526 LIPO="$ac_cv_prog_LIPO"
7529 if test -n "$ac_tool_prefix"; then
7530 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7531 set dummy ${ac_tool_prefix}otool; ac_word=$2
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7533 $as_echo_n "checking for $ac_word... " >&6; }
7534 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7535 $as_echo_n "(cached) " >&6
7536 else
7537 if test -n "$OTOOL"; then
7538 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7539 else
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7541 for as_dir in $PATH
7543 IFS=$as_save_IFS
7544 test -z "$as_dir" && as_dir=.
7545 for ac_exec_ext in '' $ac_executable_extensions; do
7546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7547 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7549 break 2
7551 done
7552 done
7553 IFS=$as_save_IFS
7557 OTOOL=$ac_cv_prog_OTOOL
7558 if test -n "$OTOOL"; then
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7560 $as_echo "$OTOOL" >&6; }
7561 else
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7568 if test -z "$ac_cv_prog_OTOOL"; then
7569 ac_ct_OTOOL=$OTOOL
7570 # Extract the first word of "otool", so it can be a program name with args.
7571 set dummy otool; ac_word=$2
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7573 $as_echo_n "checking for $ac_word... " >&6; }
7574 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7575 $as_echo_n "(cached) " >&6
7576 else
7577 if test -n "$ac_ct_OTOOL"; then
7578 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7579 else
7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7581 for as_dir in $PATH
7583 IFS=$as_save_IFS
7584 test -z "$as_dir" && as_dir=.
7585 for ac_exec_ext in '' $ac_executable_extensions; do
7586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7587 ac_cv_prog_ac_ct_OTOOL="otool"
7588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7589 break 2
7591 done
7592 done
7593 IFS=$as_save_IFS
7597 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7598 if test -n "$ac_ct_OTOOL"; then
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7600 $as_echo "$ac_ct_OTOOL" >&6; }
7601 else
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7603 $as_echo "no" >&6; }
7606 if test "x$ac_ct_OTOOL" = x; then
7607 OTOOL=":"
7608 else
7609 case $cross_compiling:$ac_tool_warned in
7610 yes:)
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7613 ac_tool_warned=yes ;;
7614 esac
7615 OTOOL=$ac_ct_OTOOL
7617 else
7618 OTOOL="$ac_cv_prog_OTOOL"
7621 if test -n "$ac_tool_prefix"; then
7622 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7623 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625 $as_echo_n "checking for $ac_word... " >&6; }
7626 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7627 $as_echo_n "(cached) " >&6
7628 else
7629 if test -n "$OTOOL64"; then
7630 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7631 else
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633 for as_dir in $PATH
7635 IFS=$as_save_IFS
7636 test -z "$as_dir" && as_dir=.
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7639 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7641 break 2
7643 done
7644 done
7645 IFS=$as_save_IFS
7649 OTOOL64=$ac_cv_prog_OTOOL64
7650 if test -n "$OTOOL64"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7652 $as_echo "$OTOOL64" >&6; }
7653 else
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7660 if test -z "$ac_cv_prog_OTOOL64"; then
7661 ac_ct_OTOOL64=$OTOOL64
7662 # Extract the first word of "otool64", so it can be a program name with args.
7663 set dummy otool64; ac_word=$2
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665 $as_echo_n "checking for $ac_word... " >&6; }
7666 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7667 $as_echo_n "(cached) " >&6
7668 else
7669 if test -n "$ac_ct_OTOOL64"; then
7670 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7671 else
7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7673 for as_dir in $PATH
7675 IFS=$as_save_IFS
7676 test -z "$as_dir" && as_dir=.
7677 for ac_exec_ext in '' $ac_executable_extensions; do
7678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7679 ac_cv_prog_ac_ct_OTOOL64="otool64"
7680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7681 break 2
7683 done
7684 done
7685 IFS=$as_save_IFS
7689 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7690 if test -n "$ac_ct_OTOOL64"; then
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7692 $as_echo "$ac_ct_OTOOL64" >&6; }
7693 else
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7695 $as_echo "no" >&6; }
7698 if test "x$ac_ct_OTOOL64" = x; then
7699 OTOOL64=":"
7700 else
7701 case $cross_compiling:$ac_tool_warned in
7702 yes:)
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7705 ac_tool_warned=yes ;;
7706 esac
7707 OTOOL64=$ac_ct_OTOOL64
7709 else
7710 OTOOL64="$ac_cv_prog_OTOOL64"
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7740 $as_echo_n "checking for -single_module linker flag... " >&6; }
7741 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7742 $as_echo_n "(cached) " >&6
7743 else
7744 lt_cv_apple_cc_single_mod=no
7745 if test -z "${LT_MULTI_MODULE}"; then
7746 # By default we will add the -single_module flag. You can override
7747 # by either setting the environment variable LT_MULTI_MODULE
7748 # non-empty at configure time, or by adding -multi_module to the
7749 # link flags.
7750 rm -rf libconftest.dylib*
7751 echo "int foo(void){return 1;}" > conftest.c
7752 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7753 -dynamiclib -Wl,-single_module conftest.c" >&5
7754 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7755 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7756 _lt_result=$?
7757 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7758 lt_cv_apple_cc_single_mod=yes
7759 else
7760 cat conftest.err >&5
7762 rm -rf libconftest.dylib*
7763 rm -f conftest.*
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7767 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7769 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7770 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7771 $as_echo_n "(cached) " >&6
7772 else
7773 lt_cv_ld_exported_symbols_list=no
7774 save_LDFLAGS=$LDFLAGS
7775 echo "_main" > conftest.sym
7776 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7777 if test x$gcc_no_link = xyes; then
7778 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7781 /* end confdefs.h. */
7784 main ()
7788 return 0;
7790 _ACEOF
7791 if ac_fn_c_try_link "$LINENO"; then :
7792 lt_cv_ld_exported_symbols_list=yes
7793 else
7794 lt_cv_ld_exported_symbols_list=no
7796 rm -f core conftest.err conftest.$ac_objext \
7797 conftest$ac_exeext conftest.$ac_ext
7798 LDFLAGS="$save_LDFLAGS"
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7802 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7804 $as_echo_n "checking for -force_load linker flag... " >&6; }
7805 if test "${lt_cv_ld_force_load+set}" = set; then :
7806 $as_echo_n "(cached) " >&6
7807 else
7808 lt_cv_ld_force_load=no
7809 cat > conftest.c << _LT_EOF
7810 int forced_loaded() { return 2;}
7811 _LT_EOF
7812 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7813 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7814 echo "$AR cru libconftest.a conftest.o" >&5
7815 $AR cru libconftest.a conftest.o 2>&5
7816 cat > conftest.c << _LT_EOF
7817 int main() { return 0;}
7818 _LT_EOF
7819 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7820 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7821 _lt_result=$?
7822 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7823 lt_cv_ld_force_load=yes
7824 else
7825 cat conftest.err >&5
7827 rm -f conftest.err libconftest.a conftest conftest.c
7828 rm -rf conftest.dSYM
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7832 $as_echo "$lt_cv_ld_force_load" >&6; }
7833 case $host_os in
7834 rhapsody* | darwin1.[012])
7835 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7836 darwin1.*)
7837 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7838 darwin*) # darwin 5.x on
7839 # if running on 10.5 or later, the deployment target defaults
7840 # to the OS version, if on x86, and 10.4, the deployment
7841 # target defaults to 10.4. Don't you love it?
7842 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7843 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7844 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7845 10.[012]*)
7846 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7847 10.*)
7848 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7849 esac
7851 esac
7852 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7853 _lt_dar_single_mod='$single_module'
7855 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7856 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7857 else
7858 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7860 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7861 _lt_dsymutil='~$DSYMUTIL $lib || :'
7862 else
7863 _lt_dsymutil=
7866 esac
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7869 $as_echo_n "checking for ANSI C header files... " >&6; }
7870 if test "${ac_cv_header_stdc+set}" = set; then :
7871 $as_echo_n "(cached) " >&6
7872 else
7873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7874 /* end confdefs.h. */
7875 #include <stdlib.h>
7876 #include <stdarg.h>
7877 #include <string.h>
7878 #include <float.h>
7881 main ()
7885 return 0;
7887 _ACEOF
7888 if ac_fn_c_try_compile "$LINENO"; then :
7889 ac_cv_header_stdc=yes
7890 else
7891 ac_cv_header_stdc=no
7893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7895 if test $ac_cv_header_stdc = yes; then
7896 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7898 /* end confdefs.h. */
7899 #include <string.h>
7901 _ACEOF
7902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7903 $EGREP "memchr" >/dev/null 2>&1; then :
7905 else
7906 ac_cv_header_stdc=no
7908 rm -f conftest*
7912 if test $ac_cv_header_stdc = yes; then
7913 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7915 /* end confdefs.h. */
7916 #include <stdlib.h>
7918 _ACEOF
7919 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7920 $EGREP "free" >/dev/null 2>&1; then :
7922 else
7923 ac_cv_header_stdc=no
7925 rm -f conftest*
7929 if test $ac_cv_header_stdc = yes; then
7930 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7931 if test "$cross_compiling" = yes; then :
7933 else
7934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7935 /* end confdefs.h. */
7936 #include <ctype.h>
7937 #include <stdlib.h>
7938 #if ((' ' & 0x0FF) == 0x020)
7939 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7940 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7941 #else
7942 # define ISLOWER(c) \
7943 (('a' <= (c) && (c) <= 'i') \
7944 || ('j' <= (c) && (c) <= 'r') \
7945 || ('s' <= (c) && (c) <= 'z'))
7946 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7947 #endif
7949 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7951 main ()
7953 int i;
7954 for (i = 0; i < 256; i++)
7955 if (XOR (islower (i), ISLOWER (i))
7956 || toupper (i) != TOUPPER (i))
7957 return 2;
7958 return 0;
7960 _ACEOF
7961 if ac_fn_c_try_run "$LINENO"; then :
7963 else
7964 ac_cv_header_stdc=no
7966 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7967 conftest.$ac_objext conftest.beam conftest.$ac_ext
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7973 $as_echo "$ac_cv_header_stdc" >&6; }
7974 if test $ac_cv_header_stdc = yes; then
7976 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7980 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7981 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7982 inttypes.h stdint.h unistd.h
7983 do :
7984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7985 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7987 eval as_val=\$$as_ac_Header
7988 if test "x$as_val" = x""yes; then :
7989 cat >>confdefs.h <<_ACEOF
7990 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7991 _ACEOF
7995 done
7998 for ac_header in dlfcn.h
7999 do :
8000 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8002 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define HAVE_DLFCN_H 1
8005 _ACEOF
8009 done
8016 # Set options
8021 enable_win32_dll=no
8024 # Check whether --enable-shared was given.
8025 if test "${enable_shared+set}" = set; then :
8026 enableval=$enable_shared; p=${PACKAGE-default}
8027 case $enableval in
8028 yes) enable_shared=yes ;;
8029 no) enable_shared=no ;;
8031 enable_shared=no
8032 # Look at the argument we got. We use all the common list separators.
8033 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8034 for pkg in $enableval; do
8035 IFS="$lt_save_ifs"
8036 if test "X$pkg" = "X$p"; then
8037 enable_shared=yes
8039 done
8040 IFS="$lt_save_ifs"
8042 esac
8043 else
8044 enable_shared=yes
8055 # Check whether --enable-static was given.
8056 if test "${enable_static+set}" = set; then :
8057 enableval=$enable_static; p=${PACKAGE-default}
8058 case $enableval in
8059 yes) enable_static=yes ;;
8060 no) enable_static=no ;;
8062 enable_static=no
8063 # Look at the argument we got. We use all the common list separators.
8064 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8065 for pkg in $enableval; do
8066 IFS="$lt_save_ifs"
8067 if test "X$pkg" = "X$p"; then
8068 enable_static=yes
8070 done
8071 IFS="$lt_save_ifs"
8073 esac
8074 else
8075 enable_static=yes
8087 # Check whether --with-pic was given.
8088 if test "${with_pic+set}" = set; then :
8089 withval=$with_pic; pic_mode="$withval"
8090 else
8091 pic_mode=default
8095 test -z "$pic_mode" && pic_mode=default
8103 # Check whether --enable-fast-install was given.
8104 if test "${enable_fast_install+set}" = set; then :
8105 enableval=$enable_fast_install; p=${PACKAGE-default}
8106 case $enableval in
8107 yes) enable_fast_install=yes ;;
8108 no) enable_fast_install=no ;;
8110 enable_fast_install=no
8111 # Look at the argument we got. We use all the common list separators.
8112 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8113 for pkg in $enableval; do
8114 IFS="$lt_save_ifs"
8115 if test "X$pkg" = "X$p"; then
8116 enable_fast_install=yes
8118 done
8119 IFS="$lt_save_ifs"
8121 esac
8122 else
8123 enable_fast_install=yes
8136 # This can be used to rebuild libtool when needed
8137 LIBTOOL_DEPS="$ltmain"
8139 # Always use our own libtool.
8140 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8167 test -z "$LN_S" && LN_S="ln -s"
8182 if test -n "${ZSH_VERSION+set}" ; then
8183 setopt NO_GLOB_SUBST
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8187 $as_echo_n "checking for objdir... " >&6; }
8188 if test "${lt_cv_objdir+set}" = set; then :
8189 $as_echo_n "(cached) " >&6
8190 else
8191 rm -f .libs 2>/dev/null
8192 mkdir .libs 2>/dev/null
8193 if test -d .libs; then
8194 lt_cv_objdir=.libs
8195 else
8196 # MS-DOS does not allow filenames that begin with a dot.
8197 lt_cv_objdir=_libs
8199 rmdir .libs 2>/dev/null
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8202 $as_echo "$lt_cv_objdir" >&6; }
8203 objdir=$lt_cv_objdir
8209 cat >>confdefs.h <<_ACEOF
8210 #define LT_OBJDIR "$lt_cv_objdir/"
8211 _ACEOF
8216 case $host_os in
8217 aix3*)
8218 # AIX sometimes has problems with the GCC collect2 program. For some
8219 # reason, if we set the COLLECT_NAMES environment variable, the problems
8220 # vanish in a puff of smoke.
8221 if test "X${COLLECT_NAMES+set}" != Xset; then
8222 COLLECT_NAMES=
8223 export COLLECT_NAMES
8226 esac
8228 # Global variables:
8229 ofile=libtool
8230 can_build_shared=yes
8232 # All known linkers require a `.a' archive for static linking (except MSVC,
8233 # which needs '.lib').
8234 libext=a
8236 with_gnu_ld="$lt_cv_prog_gnu_ld"
8238 old_CC="$CC"
8239 old_CFLAGS="$CFLAGS"
8241 # Set sane defaults for various variables
8242 test -z "$CC" && CC=cc
8243 test -z "$LTCC" && LTCC=$CC
8244 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8245 test -z "$LD" && LD=ld
8246 test -z "$ac_objext" && ac_objext=o
8248 for cc_temp in $compiler""; do
8249 case $cc_temp in
8250 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8251 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8252 \-*) ;;
8253 *) break;;
8254 esac
8255 done
8256 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8259 # Only perform the check for file, if the check method requires it
8260 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8261 case $deplibs_check_method in
8262 file_magic*)
8263 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8265 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8266 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8267 $as_echo_n "(cached) " >&6
8268 else
8269 case $MAGIC_CMD in
8270 [\\/*] | ?:[\\/]*)
8271 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8274 lt_save_MAGIC_CMD="$MAGIC_CMD"
8275 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8276 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8277 for ac_dir in $ac_dummy; do
8278 IFS="$lt_save_ifs"
8279 test -z "$ac_dir" && ac_dir=.
8280 if test -f $ac_dir/${ac_tool_prefix}file; then
8281 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8282 if test -n "$file_magic_test_file"; then
8283 case $deplibs_check_method in
8284 "file_magic "*)
8285 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8286 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8287 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8288 $EGREP "$file_magic_regex" > /dev/null; then
8290 else
8291 cat <<_LT_EOF 1>&2
8293 *** Warning: the command libtool uses to detect shared libraries,
8294 *** $file_magic_cmd, produces output that libtool cannot recognize.
8295 *** The result is that libtool may fail to recognize shared libraries
8296 *** as such. This will affect the creation of libtool libraries that
8297 *** depend on shared libraries, but programs linked with such libtool
8298 *** libraries will work regardless of this problem. Nevertheless, you
8299 *** may want to report the problem to your system manager and/or to
8300 *** bug-libtool@gnu.org
8302 _LT_EOF
8303 fi ;;
8304 esac
8306 break
8308 done
8309 IFS="$lt_save_ifs"
8310 MAGIC_CMD="$lt_save_MAGIC_CMD"
8312 esac
8315 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8316 if test -n "$MAGIC_CMD"; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8318 $as_echo "$MAGIC_CMD" >&6; }
8319 else
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8321 $as_echo "no" >&6; }
8328 if test -z "$lt_cv_path_MAGIC_CMD"; then
8329 if test -n "$ac_tool_prefix"; then
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8331 $as_echo_n "checking for file... " >&6; }
8332 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8333 $as_echo_n "(cached) " >&6
8334 else
8335 case $MAGIC_CMD in
8336 [\\/*] | ?:[\\/]*)
8337 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8340 lt_save_MAGIC_CMD="$MAGIC_CMD"
8341 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8342 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8343 for ac_dir in $ac_dummy; do
8344 IFS="$lt_save_ifs"
8345 test -z "$ac_dir" && ac_dir=.
8346 if test -f $ac_dir/file; then
8347 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8348 if test -n "$file_magic_test_file"; then
8349 case $deplibs_check_method in
8350 "file_magic "*)
8351 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8352 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8353 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8354 $EGREP "$file_magic_regex" > /dev/null; then
8356 else
8357 cat <<_LT_EOF 1>&2
8359 *** Warning: the command libtool uses to detect shared libraries,
8360 *** $file_magic_cmd, produces output that libtool cannot recognize.
8361 *** The result is that libtool may fail to recognize shared libraries
8362 *** as such. This will affect the creation of libtool libraries that
8363 *** depend on shared libraries, but programs linked with such libtool
8364 *** libraries will work regardless of this problem. Nevertheless, you
8365 *** may want to report the problem to your system manager and/or to
8366 *** bug-libtool@gnu.org
8368 _LT_EOF
8369 fi ;;
8370 esac
8372 break
8374 done
8375 IFS="$lt_save_ifs"
8376 MAGIC_CMD="$lt_save_MAGIC_CMD"
8378 esac
8381 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8382 if test -n "$MAGIC_CMD"; then
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8384 $as_echo "$MAGIC_CMD" >&6; }
8385 else
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8387 $as_echo "no" >&6; }
8391 else
8392 MAGIC_CMD=:
8398 esac
8400 # Use C for the default configuration in the libtool script
8402 lt_save_CC="$CC"
8403 ac_ext=c
8404 ac_cpp='$CPP $CPPFLAGS'
8405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8410 # Source file extension for C test sources.
8411 ac_ext=c
8413 # Object file extension for compiled C test sources.
8414 objext=o
8415 objext=$objext
8417 # Code to be used in simple compile tests
8418 lt_simple_compile_test_code="int some_variable = 0;"
8420 # Code to be used in simple link tests
8421 lt_simple_link_test_code='int main(){return(0);}'
8429 # If no C compiler was specified, use CC.
8430 LTCC=${LTCC-"$CC"}
8432 # If no C compiler flags were specified, use CFLAGS.
8433 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8435 # Allow CC to be a program name with arguments.
8436 compiler=$CC
8438 # Save the default compiler, since it gets overwritten when the other
8439 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8440 compiler_DEFAULT=$CC
8442 # save warnings/boilerplate of simple test code
8443 ac_outfile=conftest.$ac_objext
8444 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8445 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8446 _lt_compiler_boilerplate=`cat conftest.err`
8447 $RM conftest*
8449 ac_outfile=conftest.$ac_objext
8450 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8451 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8452 _lt_linker_boilerplate=`cat conftest.err`
8453 $RM -r conftest*
8456 ## CAVEAT EMPTOR:
8457 ## There is no encapsulation within the following macros, do not change
8458 ## the running order or otherwise move them around unless you know exactly
8459 ## what you are doing...
8460 if test -n "$compiler"; then
8462 lt_prog_compiler_no_builtin_flag=
8464 if test "$GCC" = yes; then
8465 case $cc_basename in
8466 nvcc*)
8467 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8469 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8470 esac
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8473 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8474 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 lt_cv_prog_compiler_rtti_exceptions=no
8478 ac_outfile=conftest.$ac_objext
8479 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8480 lt_compiler_flag="-fno-rtti -fno-exceptions"
8481 # Insert the option either (1) after the last *FLAGS variable, or
8482 # (2) before a word containing "conftest.", or (3) at the end.
8483 # Note that $ac_compile itself does not contain backslashes and begins
8484 # with a dollar sign (not a hyphen), so the echo should work correctly.
8485 # The option is referenced via a variable to avoid confusing sed.
8486 lt_compile=`echo "$ac_compile" | $SED \
8487 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8488 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8489 -e 's:$: $lt_compiler_flag:'`
8490 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8491 (eval "$lt_compile" 2>conftest.err)
8492 ac_status=$?
8493 cat conftest.err >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 if (exit $ac_status) && test -s "$ac_outfile"; then
8496 # The compiler can only warn and ignore the option if not recognized
8497 # So say no if there are warnings other than the usual output.
8498 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8499 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8500 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8501 lt_cv_prog_compiler_rtti_exceptions=yes
8504 $RM conftest*
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8508 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8510 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8511 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8512 else
8523 lt_prog_compiler_wl=
8524 lt_prog_compiler_pic=
8525 lt_prog_compiler_static=
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8528 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8530 if test "$GCC" = yes; then
8531 lt_prog_compiler_wl='-Wl,'
8532 lt_prog_compiler_static='-static'
8534 case $host_os in
8535 aix*)
8536 # All AIX code is PIC.
8537 if test "$host_cpu" = ia64; then
8538 # AIX 5 now supports IA64 processor
8539 lt_prog_compiler_static='-Bstatic'
8541 lt_prog_compiler_pic='-fPIC'
8544 amigaos*)
8545 case $host_cpu in
8546 powerpc)
8547 # see comment about AmigaOS4 .so support
8548 lt_prog_compiler_pic='-fPIC'
8550 m68k)
8551 # FIXME: we need at least 68020 code to build shared libraries, but
8552 # adding the `-m68020' flag to GCC prevents building anything better,
8553 # like `-m68040'.
8554 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8556 esac
8559 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8560 # PIC is the default for these OSes.
8563 mingw* | cygwin* | pw32* | os2* | cegcc*)
8564 # This hack is so that the source file can tell whether it is being
8565 # built for inclusion in a dll (and should export symbols for example).
8566 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8567 # (--disable-auto-import) libraries
8568 lt_prog_compiler_pic='-DDLL_EXPORT'
8571 darwin* | rhapsody*)
8572 # PIC is the default on this platform
8573 # Common symbols not allowed in MH_DYLIB files
8574 lt_prog_compiler_pic='-fno-common'
8577 haiku*)
8578 # PIC is the default for Haiku.
8579 # The "-static" flag exists, but is broken.
8580 lt_prog_compiler_static=
8583 hpux*)
8584 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8585 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8586 # sets the default TLS model and affects inlining.
8587 case $host_cpu in
8588 hppa*64*)
8589 # +Z the default
8592 lt_prog_compiler_pic='-fPIC'
8594 esac
8597 interix[3-9]*)
8598 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8599 # Instead, we relocate shared libraries at runtime.
8602 msdosdjgpp*)
8603 # Just because we use GCC doesn't mean we suddenly get shared libraries
8604 # on systems that don't support them.
8605 lt_prog_compiler_can_build_shared=no
8606 enable_shared=no
8609 *nto* | *qnx*)
8610 # QNX uses GNU C++, but need to define -shared option too, otherwise
8611 # it will coredump.
8612 lt_prog_compiler_pic='-fPIC -shared'
8615 sysv4*MP*)
8616 if test -d /usr/nec; then
8617 lt_prog_compiler_pic=-Kconform_pic
8622 lt_prog_compiler_pic='-fPIC'
8624 esac
8626 case $cc_basename in
8627 nvcc*) # Cuda Compiler Driver 2.2
8628 lt_prog_compiler_wl='-Xlinker '
8629 lt_prog_compiler_pic='-Xcompiler -fPIC'
8631 esac
8632 else
8633 # PORTME Check for flag to pass linker flags through the system compiler.
8634 case $host_os in
8635 aix*)
8636 lt_prog_compiler_wl='-Wl,'
8637 if test "$host_cpu" = ia64; then
8638 # AIX 5 now supports IA64 processor
8639 lt_prog_compiler_static='-Bstatic'
8640 else
8641 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8645 mingw* | cygwin* | pw32* | os2* | cegcc*)
8646 # This hack is so that the source file can tell whether it is being
8647 # built for inclusion in a dll (and should export symbols for example).
8648 lt_prog_compiler_pic='-DDLL_EXPORT'
8651 hpux9* | hpux10* | hpux11*)
8652 lt_prog_compiler_wl='-Wl,'
8653 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8654 # not for PA HP-UX.
8655 case $host_cpu in
8656 hppa*64*|ia64*)
8657 # +Z the default
8660 lt_prog_compiler_pic='+Z'
8662 esac
8663 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8664 lt_prog_compiler_static='${wl}-a ${wl}archive'
8667 irix5* | irix6* | nonstopux*)
8668 lt_prog_compiler_wl='-Wl,'
8669 # PIC (with -KPIC) is the default.
8670 lt_prog_compiler_static='-non_shared'
8673 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8674 case $cc_basename in
8675 # old Intel for x86_64 which still supported -KPIC.
8676 ecc*)
8677 lt_prog_compiler_wl='-Wl,'
8678 lt_prog_compiler_pic='-KPIC'
8679 lt_prog_compiler_static='-static'
8681 # icc used to be incompatible with GCC.
8682 # ICC 10 doesn't accept -KPIC any more.
8683 icc* | ifort*)
8684 lt_prog_compiler_wl='-Wl,'
8685 lt_prog_compiler_pic='-fPIC'
8686 lt_prog_compiler_static='-static'
8688 # Lahey Fortran 8.1.
8689 lf95*)
8690 lt_prog_compiler_wl='-Wl,'
8691 lt_prog_compiler_pic='--shared'
8692 lt_prog_compiler_static='--static'
8694 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8695 # Portland Group compilers (*not* the Pentium gcc compiler,
8696 # which looks to be a dead project)
8697 lt_prog_compiler_wl='-Wl,'
8698 lt_prog_compiler_pic='-fpic'
8699 lt_prog_compiler_static='-Bstatic'
8701 ccc*)
8702 lt_prog_compiler_wl='-Wl,'
8703 # All Alpha code is PIC.
8704 lt_prog_compiler_static='-non_shared'
8706 xl* | bgxl* | bgf* | mpixl*)
8707 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8708 lt_prog_compiler_wl='-Wl,'
8709 lt_prog_compiler_pic='-qpic'
8710 lt_prog_compiler_static='-qstaticlink'
8713 case `$CC -V 2>&1 | sed 5q` in
8714 *Sun\ F* | *Sun*Fortran*)
8715 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8716 lt_prog_compiler_pic='-KPIC'
8717 lt_prog_compiler_static='-Bstatic'
8718 lt_prog_compiler_wl=''
8720 *Sun\ C*)
8721 # Sun C 5.9
8722 lt_prog_compiler_pic='-KPIC'
8723 lt_prog_compiler_static='-Bstatic'
8724 lt_prog_compiler_wl='-Wl,'
8726 esac
8728 esac
8731 newsos6)
8732 lt_prog_compiler_pic='-KPIC'
8733 lt_prog_compiler_static='-Bstatic'
8736 *nto* | *qnx*)
8737 # QNX uses GNU C++, but need to define -shared option too, otherwise
8738 # it will coredump.
8739 lt_prog_compiler_pic='-fPIC -shared'
8742 osf3* | osf4* | osf5*)
8743 lt_prog_compiler_wl='-Wl,'
8744 # All OSF/1 code is PIC.
8745 lt_prog_compiler_static='-non_shared'
8748 rdos*)
8749 lt_prog_compiler_static='-non_shared'
8752 solaris*)
8753 lt_prog_compiler_pic='-KPIC'
8754 lt_prog_compiler_static='-Bstatic'
8755 case $cc_basename in
8756 f77* | f90* | f95*)
8757 lt_prog_compiler_wl='-Qoption ld ';;
8759 lt_prog_compiler_wl='-Wl,';;
8760 esac
8763 sunos4*)
8764 lt_prog_compiler_wl='-Qoption ld '
8765 lt_prog_compiler_pic='-PIC'
8766 lt_prog_compiler_static='-Bstatic'
8769 sysv4 | sysv4.2uw2* | sysv4.3*)
8770 lt_prog_compiler_wl='-Wl,'
8771 lt_prog_compiler_pic='-KPIC'
8772 lt_prog_compiler_static='-Bstatic'
8775 sysv4*MP*)
8776 if test -d /usr/nec ;then
8777 lt_prog_compiler_pic='-Kconform_pic'
8778 lt_prog_compiler_static='-Bstatic'
8782 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8783 lt_prog_compiler_wl='-Wl,'
8784 lt_prog_compiler_pic='-KPIC'
8785 lt_prog_compiler_static='-Bstatic'
8788 unicos*)
8789 lt_prog_compiler_wl='-Wl,'
8790 lt_prog_compiler_can_build_shared=no
8793 uts4*)
8794 lt_prog_compiler_pic='-pic'
8795 lt_prog_compiler_static='-Bstatic'
8799 lt_prog_compiler_can_build_shared=no
8801 esac
8804 case $host_os in
8805 # For platforms which do not support PIC, -DPIC is meaningless:
8806 *djgpp*)
8807 lt_prog_compiler_pic=
8810 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8812 esac
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8814 $as_echo "$lt_prog_compiler_pic" >&6; }
8822 # Check to make sure the PIC flag actually works.
8824 if test -n "$lt_prog_compiler_pic"; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8826 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8827 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8828 $as_echo_n "(cached) " >&6
8829 else
8830 lt_cv_prog_compiler_pic_works=no
8831 ac_outfile=conftest.$ac_objext
8832 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8833 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8834 # Insert the option either (1) after the last *FLAGS variable, or
8835 # (2) before a word containing "conftest.", or (3) at the end.
8836 # Note that $ac_compile itself does not contain backslashes and begins
8837 # with a dollar sign (not a hyphen), so the echo should work correctly.
8838 # The option is referenced via a variable to avoid confusing sed.
8839 lt_compile=`echo "$ac_compile" | $SED \
8840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8842 -e 's:$: $lt_compiler_flag:'`
8843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8844 (eval "$lt_compile" 2>conftest.err)
8845 ac_status=$?
8846 cat conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 if (exit $ac_status) && test -s "$ac_outfile"; then
8849 # The compiler can only warn and ignore the option if not recognized
8850 # So say no if there are warnings other than the usual output.
8851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8853 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8854 lt_cv_prog_compiler_pic_works=yes
8857 $RM conftest*
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8861 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8863 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8864 case $lt_prog_compiler_pic in
8865 "" | " "*) ;;
8866 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8867 esac
8868 else
8869 lt_prog_compiler_pic=
8870 lt_prog_compiler_can_build_shared=no
8881 # Check to make sure the static flag actually works.
8883 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8885 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8886 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8887 $as_echo_n "(cached) " >&6
8888 else
8889 lt_cv_prog_compiler_static_works=no
8890 save_LDFLAGS="$LDFLAGS"
8891 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8892 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8893 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8894 # The linker can only warn and ignore the option if not recognized
8895 # So say no if there are warnings
8896 if test -s conftest.err; then
8897 # Append any errors to the config.log.
8898 cat conftest.err 1>&5
8899 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8900 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8901 if diff conftest.exp conftest.er2 >/dev/null; then
8902 lt_cv_prog_compiler_static_works=yes
8904 else
8905 lt_cv_prog_compiler_static_works=yes
8908 $RM -r conftest*
8909 LDFLAGS="$save_LDFLAGS"
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8913 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8915 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8917 else
8918 lt_prog_compiler_static=
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8928 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8929 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8930 $as_echo_n "(cached) " >&6
8931 else
8932 lt_cv_prog_compiler_c_o=no
8933 $RM -r conftest 2>/dev/null
8934 mkdir conftest
8935 cd conftest
8936 mkdir out
8937 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8939 lt_compiler_flag="-o out/conftest2.$ac_objext"
8940 # Insert the option either (1) after the last *FLAGS variable, or
8941 # (2) before a word containing "conftest.", or (3) at the end.
8942 # Note that $ac_compile itself does not contain backslashes and begins
8943 # with a dollar sign (not a hyphen), so the echo should work correctly.
8944 lt_compile=`echo "$ac_compile" | $SED \
8945 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8946 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8947 -e 's:$: $lt_compiler_flag:'`
8948 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8949 (eval "$lt_compile" 2>out/conftest.err)
8950 ac_status=$?
8951 cat out/conftest.err >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8954 then
8955 # The compiler can only warn and ignore the option if not recognized
8956 # So say no if there are warnings
8957 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8958 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8959 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8960 lt_cv_prog_compiler_c_o=yes
8963 chmod u+w . 2>&5
8964 $RM conftest*
8965 # SGI C++ compiler will create directory out/ii_files/ for
8966 # template instantiation
8967 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8968 $RM out/* && rmdir out
8969 cd ..
8970 $RM -r conftest
8971 $RM conftest*
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8975 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8983 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8984 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8985 $as_echo_n "(cached) " >&6
8986 else
8987 lt_cv_prog_compiler_c_o=no
8988 $RM -r conftest 2>/dev/null
8989 mkdir conftest
8990 cd conftest
8991 mkdir out
8992 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8994 lt_compiler_flag="-o out/conftest2.$ac_objext"
8995 # Insert the option either (1) after the last *FLAGS variable, or
8996 # (2) before a word containing "conftest.", or (3) at the end.
8997 # Note that $ac_compile itself does not contain backslashes and begins
8998 # with a dollar sign (not a hyphen), so the echo should work correctly.
8999 lt_compile=`echo "$ac_compile" | $SED \
9000 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9001 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9002 -e 's:$: $lt_compiler_flag:'`
9003 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9004 (eval "$lt_compile" 2>out/conftest.err)
9005 ac_status=$?
9006 cat out/conftest.err >&5
9007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9008 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9009 then
9010 # The compiler can only warn and ignore the option if not recognized
9011 # So say no if there are warnings
9012 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9013 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9014 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9015 lt_cv_prog_compiler_c_o=yes
9018 chmod u+w . 2>&5
9019 $RM conftest*
9020 # SGI C++ compiler will create directory out/ii_files/ for
9021 # template instantiation
9022 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9023 $RM out/* && rmdir out
9024 cd ..
9025 $RM -r conftest
9026 $RM conftest*
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9030 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9035 hard_links="nottested"
9036 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9037 # do not overwrite the value of need_locks provided by the user
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9039 $as_echo_n "checking if we can lock with hard links... " >&6; }
9040 hard_links=yes
9041 $RM conftest*
9042 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9043 touch conftest.a
9044 ln conftest.a conftest.b 2>&5 || hard_links=no
9045 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9047 $as_echo "$hard_links" >&6; }
9048 if test "$hard_links" = no; then
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9050 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9051 need_locks=warn
9053 else
9054 need_locks=no
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9063 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9065 runpath_var=
9066 allow_undefined_flag=
9067 always_export_symbols=no
9068 archive_cmds=
9069 archive_expsym_cmds=
9070 compiler_needs_object=no
9071 enable_shared_with_static_runtimes=no
9072 export_dynamic_flag_spec=
9073 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9074 hardcode_automatic=no
9075 hardcode_direct=no
9076 hardcode_direct_absolute=no
9077 hardcode_libdir_flag_spec=
9078 hardcode_libdir_flag_spec_ld=
9079 hardcode_libdir_separator=
9080 hardcode_minus_L=no
9081 hardcode_shlibpath_var=unsupported
9082 inherit_rpath=no
9083 link_all_deplibs=unknown
9084 module_cmds=
9085 module_expsym_cmds=
9086 old_archive_from_new_cmds=
9087 old_archive_from_expsyms_cmds=
9088 thread_safe_flag_spec=
9089 whole_archive_flag_spec=
9090 # include_expsyms should be a list of space-separated symbols to be *always*
9091 # included in the symbol list
9092 include_expsyms=
9093 # exclude_expsyms can be an extended regexp of symbols to exclude
9094 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9095 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9096 # as well as any symbol that contains `d'.
9097 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9098 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9099 # platforms (ab)use it in PIC code, but their linkers get confused if
9100 # the symbol is explicitly referenced. Since portable code cannot
9101 # rely on this symbol name, it's probably fine to never include it in
9102 # preloaded symbol tables.
9103 # Exclude shared library initialization/finalization symbols.
9104 extract_expsyms_cmds=
9106 case $host_os in
9107 cygwin* | mingw* | pw32* | cegcc*)
9108 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9109 # When not using gcc, we currently assume that we are using
9110 # Microsoft Visual C++.
9111 if test "$GCC" != yes; then
9112 with_gnu_ld=no
9115 interix*)
9116 # we just hope/assume this is gcc and not c89 (= MSVC++)
9117 with_gnu_ld=yes
9119 openbsd*)
9120 with_gnu_ld=no
9122 esac
9124 ld_shlibs=yes
9126 # On some targets, GNU ld is compatible enough with the native linker
9127 # that we're better off using the native interface for both.
9128 lt_use_gnu_ld_interface=no
9129 if test "$with_gnu_ld" = yes; then
9130 case $host_os in
9131 aix*)
9132 # The AIX port of GNU ld has always aspired to compatibility
9133 # with the native linker. However, as the warning in the GNU ld
9134 # block says, versions before 2.19.5* couldn't really create working
9135 # shared libraries, regardless of the interface used.
9136 case `$LD -v 2>&1` in
9137 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9138 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9139 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9141 lt_use_gnu_ld_interface=yes
9143 esac
9146 lt_use_gnu_ld_interface=yes
9148 esac
9151 if test "$lt_use_gnu_ld_interface" = yes; then
9152 # If archive_cmds runs LD, not CC, wlarc should be empty
9153 wlarc='${wl}'
9155 # Set some defaults for GNU ld with shared library support. These
9156 # are reset later if shared libraries are not supported. Putting them
9157 # here allows them to be overridden if necessary.
9158 runpath_var=LD_RUN_PATH
9159 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9160 export_dynamic_flag_spec='${wl}--export-dynamic'
9161 # ancient GNU ld didn't support --whole-archive et. al.
9162 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9163 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9164 else
9165 whole_archive_flag_spec=
9167 supports_anon_versioning=no
9168 case `$LD -v 2>&1` in
9169 *GNU\ gold*) supports_anon_versioning=yes ;;
9170 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9171 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9172 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9173 *\ 2.11.*) ;; # other 2.11 versions
9174 *) supports_anon_versioning=yes ;;
9175 esac
9177 # See if GNU ld supports shared libraries.
9178 case $host_os in
9179 aix[3-9]*)
9180 # On AIX/PPC, the GNU linker is very broken
9181 if test "$host_cpu" != ia64; then
9182 ld_shlibs=no
9183 cat <<_LT_EOF 1>&2
9185 *** Warning: the GNU linker, at least up to release 2.19, is reported
9186 *** to be unable to reliably create shared libraries on AIX.
9187 *** Therefore, libtool is disabling shared libraries support. If you
9188 *** really care for shared libraries, you may want to install binutils
9189 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9190 *** You will then need to restart the configuration process.
9192 _LT_EOF
9196 amigaos*)
9197 case $host_cpu in
9198 powerpc)
9199 # see comment about AmigaOS4 .so support
9200 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9201 archive_expsym_cmds=''
9203 m68k)
9204 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)'
9205 hardcode_libdir_flag_spec='-L$libdir'
9206 hardcode_minus_L=yes
9208 esac
9211 beos*)
9212 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9213 allow_undefined_flag=unsupported
9214 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9215 # support --undefined. This deserves some investigation. FIXME
9216 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9217 else
9218 ld_shlibs=no
9222 cygwin* | mingw* | pw32* | cegcc*)
9223 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9224 # as there is no search path for DLLs.
9225 hardcode_libdir_flag_spec='-L$libdir'
9226 export_dynamic_flag_spec='${wl}--export-all-symbols'
9227 allow_undefined_flag=unsupported
9228 always_export_symbols=no
9229 enable_shared_with_static_runtimes=yes
9230 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9232 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9233 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9234 # If the export-symbols file already is a .def file (1st line
9235 # is EXPORTS), use it as is; otherwise, prepend...
9236 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9237 cp $export_symbols $output_objdir/$soname.def;
9238 else
9239 echo EXPORTS > $output_objdir/$soname.def;
9240 cat $export_symbols >> $output_objdir/$soname.def;
9242 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9243 else
9244 ld_shlibs=no
9248 haiku*)
9249 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9250 link_all_deplibs=yes
9253 interix[3-9]*)
9254 hardcode_direct=no
9255 hardcode_shlibpath_var=no
9256 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9257 export_dynamic_flag_spec='${wl}-E'
9258 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9259 # Instead, shared libraries are loaded at an image base (0x10000000 by
9260 # default) and relocated if they conflict, which is a slow very memory
9261 # consuming and fragmenting process. To avoid this, we pick a random,
9262 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9263 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9264 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9265 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'
9268 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9269 tmp_diet=no
9270 if test "$host_os" = linux-dietlibc; then
9271 case $cc_basename in
9272 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9273 esac
9275 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9276 && test "$tmp_diet" = no
9277 then
9278 tmp_addflag=
9279 tmp_sharedflag='-shared'
9280 case $cc_basename,$host_cpu in
9281 pgcc*) # Portland Group C compiler
9282 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'
9283 tmp_addflag=' $pic_flag'
9285 pgf77* | pgf90* | pgf95* | pgfortran*)
9286 # Portland Group f77 and f90 compilers
9287 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'
9288 tmp_addflag=' $pic_flag -Mnomain' ;;
9289 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9290 tmp_addflag=' -i_dynamic' ;;
9291 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9292 tmp_addflag=' -i_dynamic -nofor_main' ;;
9293 ifc* | ifort*) # Intel Fortran compiler
9294 tmp_addflag=' -nofor_main' ;;
9295 lf95*) # Lahey Fortran 8.1
9296 whole_archive_flag_spec=
9297 tmp_sharedflag='--shared' ;;
9298 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9299 tmp_sharedflag='-qmkshrobj'
9300 tmp_addflag= ;;
9301 nvcc*) # Cuda Compiler Driver 2.2
9302 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'
9303 compiler_needs_object=yes
9305 esac
9306 case `$CC -V 2>&1 | sed 5q` in
9307 *Sun\ C*) # Sun C 5.9
9308 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'
9309 compiler_needs_object=yes
9310 tmp_sharedflag='-G' ;;
9311 *Sun\ F*) # Sun Fortran 8.3
9312 tmp_sharedflag='-G' ;;
9313 esac
9314 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316 if test "x$supports_anon_versioning" = xyes; then
9317 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9318 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9319 echo "local: *; };" >> $output_objdir/$libname.ver~
9320 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9323 case $cc_basename in
9324 xlf* | bgf* | bgxlf* | mpixlf*)
9325 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9326 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9327 hardcode_libdir_flag_spec=
9328 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9329 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9330 if test "x$supports_anon_versioning" = xyes; then
9331 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9332 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9333 echo "local: *; };" >> $output_objdir/$libname.ver~
9334 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9337 esac
9338 else
9339 ld_shlibs=no
9343 netbsd*)
9344 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9345 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9346 wlarc=
9347 else
9348 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9349 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9353 solaris*)
9354 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9355 ld_shlibs=no
9356 cat <<_LT_EOF 1>&2
9358 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9359 *** create shared libraries on Solaris systems. Therefore, libtool
9360 *** is disabling shared libraries support. We urge you to upgrade GNU
9361 *** binutils to release 2.9.1 or newer. Another option is to modify
9362 *** your PATH or compiler configuration so that the native linker is
9363 *** used, and then restart.
9365 _LT_EOF
9366 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
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'
9369 else
9370 ld_shlibs=no
9374 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9375 case `$LD -v 2>&1` in
9376 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9377 ld_shlibs=no
9378 cat <<_LT_EOF 1>&2
9380 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9381 *** reliably create shared libraries on SCO systems. Therefore, libtool
9382 *** is disabling shared libraries support. We urge you to upgrade GNU
9383 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9384 *** your PATH or compiler configuration so that the native linker is
9385 *** used, and then restart.
9387 _LT_EOF
9390 # For security reasons, it is highly recommended that you always
9391 # use absolute paths for naming shared libraries, and exclude the
9392 # DT_RUNPATH tag from executables and libraries. But doing so
9393 # requires that you compile everything twice, which is a pain.
9394 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9395 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9396 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9397 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9398 else
9399 ld_shlibs=no
9402 esac
9405 sunos4*)
9406 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9407 wlarc=
9408 hardcode_direct=yes
9409 hardcode_shlibpath_var=no
9413 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9414 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9415 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9416 else
9417 ld_shlibs=no
9420 esac
9422 if test "$ld_shlibs" = no; then
9423 runpath_var=
9424 hardcode_libdir_flag_spec=
9425 export_dynamic_flag_spec=
9426 whole_archive_flag_spec=
9428 else
9429 # PORTME fill in a description of your system's linker (not GNU ld)
9430 case $host_os in
9431 aix3*)
9432 allow_undefined_flag=unsupported
9433 always_export_symbols=yes
9434 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'
9435 # Note: this linker hardcodes the directories in LIBPATH if there
9436 # are no directories specified by -L.
9437 hardcode_minus_L=yes
9438 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9439 # Neither direct hardcoding nor static linking is supported with a
9440 # broken collect2.
9441 hardcode_direct=unsupported
9445 aix[4-9]*)
9446 if test "$host_cpu" = ia64; then
9447 # On IA64, the linker does run time linking by default, so we don't
9448 # have to do anything special.
9449 aix_use_runtimelinking=no
9450 exp_sym_flag='-Bexport'
9451 no_entry_flag=""
9452 else
9453 # If we're using GNU nm, then we don't want the "-C" option.
9454 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9455 # Also, AIX nm treats weak defined symbols like other global
9456 # defined symbols, whereas GNU nm marks them as "W".
9457 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9458 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'
9459 else
9460 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'
9462 aix_use_runtimelinking=no
9464 # Test if we are trying to use run time linking or normal
9465 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9466 # need to do runtime linking.
9467 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9468 for ld_flag in $LDFLAGS; do
9469 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9470 aix_use_runtimelinking=yes
9471 break
9473 done
9475 esac
9477 exp_sym_flag='-bexport'
9478 no_entry_flag='-bnoentry'
9481 # When large executables or shared objects are built, AIX ld can
9482 # have problems creating the table of contents. If linking a library
9483 # or program results in "error TOC overflow" add -mminimal-toc to
9484 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9485 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9487 archive_cmds=''
9488 hardcode_direct=yes
9489 hardcode_direct_absolute=yes
9490 hardcode_libdir_separator=':'
9491 link_all_deplibs=yes
9492 file_list_spec='${wl}-f,'
9494 if test "$GCC" = yes; then
9495 case $host_os in aix4.[012]|aix4.[012].*)
9496 # We only want to do this on AIX 4.2 and lower, the check
9497 # below for broken collect2 doesn't work under 4.3+
9498 collect2name=`${CC} -print-prog-name=collect2`
9499 if test -f "$collect2name" &&
9500 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9501 then
9502 # We have reworked collect2
9504 else
9505 # We have old collect2
9506 hardcode_direct=unsupported
9507 # It fails to find uninstalled libraries when the uninstalled
9508 # path is not listed in the libpath. Setting hardcode_minus_L
9509 # to unsupported forces relinking
9510 hardcode_minus_L=yes
9511 hardcode_libdir_flag_spec='-L$libdir'
9512 hardcode_libdir_separator=
9515 esac
9516 shared_flag='-shared'
9517 if test "$aix_use_runtimelinking" = yes; then
9518 shared_flag="$shared_flag "'${wl}-G'
9520 else
9521 # not using gcc
9522 if test "$host_cpu" = ia64; then
9523 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9524 # chokes on -Wl,-G. The following line is correct:
9525 shared_flag='-G'
9526 else
9527 if test "$aix_use_runtimelinking" = yes; then
9528 shared_flag='${wl}-G'
9529 else
9530 shared_flag='${wl}-bM:SRE'
9535 export_dynamic_flag_spec='${wl}-bexpall'
9536 # It seems that -bexpall does not export symbols beginning with
9537 # underscore (_), so it is better to generate a list of symbols to export.
9538 always_export_symbols=yes
9539 if test "$aix_use_runtimelinking" = yes; then
9540 # Warning - without using the other runtime loading flags (-brtl),
9541 # -berok will link without error, but may produce a broken library.
9542 allow_undefined_flag='-berok'
9543 # Determine the default libpath from the value encoded in an
9544 # empty executable.
9545 if test x$gcc_no_link = xyes; then
9546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9552 main ()
9556 return 0;
9558 _ACEOF
9559 if ac_fn_c_try_link "$LINENO"; then :
9561 lt_aix_libpath_sed='
9562 /Import File Strings/,/^$/ {
9563 /^0/ {
9564 s/^0 *\(.*\)$/\1/
9568 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9569 # Check for a 64-bit object if we didn't find anything.
9570 if test -z "$aix_libpath"; then
9571 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9574 rm -f core conftest.err conftest.$ac_objext \
9575 conftest$ac_exeext conftest.$ac_ext
9576 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9578 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9579 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"
9580 else
9581 if test "$host_cpu" = ia64; then
9582 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9583 allow_undefined_flag="-z nodefs"
9584 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"
9585 else
9586 # Determine the default libpath from the value encoded in an
9587 # empty executable.
9588 if test x$gcc_no_link = xyes; then
9589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9592 /* end confdefs.h. */
9595 main ()
9599 return 0;
9601 _ACEOF
9602 if ac_fn_c_try_link "$LINENO"; then :
9604 lt_aix_libpath_sed='
9605 /Import File Strings/,/^$/ {
9606 /^0/ {
9607 s/^0 *\(.*\)$/\1/
9611 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9612 # Check for a 64-bit object if we didn't find anything.
9613 if test -z "$aix_libpath"; then
9614 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9617 rm -f core conftest.err conftest.$ac_objext \
9618 conftest$ac_exeext conftest.$ac_ext
9619 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9621 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9622 # Warning - without using the other run time loading flags,
9623 # -berok will link without error, but may produce a broken library.
9624 no_undefined_flag=' ${wl}-bernotok'
9625 allow_undefined_flag=' ${wl}-berok'
9626 if test "$with_gnu_ld" = yes; then
9627 # We only use this code for GNU lds that support --whole-archive.
9628 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9629 else
9630 # Exported symbols can be pulled into shared objects from archives
9631 whole_archive_flag_spec='$convenience'
9633 archive_cmds_need_lc=yes
9634 # This is similar to how AIX traditionally builds its shared libraries.
9635 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'
9640 amigaos*)
9641 case $host_cpu in
9642 powerpc)
9643 # see comment about AmigaOS4 .so support
9644 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9645 archive_expsym_cmds=''
9647 m68k)
9648 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)'
9649 hardcode_libdir_flag_spec='-L$libdir'
9650 hardcode_minus_L=yes
9652 esac
9655 bsdi[45]*)
9656 export_dynamic_flag_spec=-rdynamic
9659 cygwin* | mingw* | pw32* | cegcc*)
9660 # When not using gcc, we currently assume that we are using
9661 # Microsoft Visual C++.
9662 # hardcode_libdir_flag_spec is actually meaningless, as there is
9663 # no search path for DLLs.
9664 hardcode_libdir_flag_spec=' '
9665 allow_undefined_flag=unsupported
9666 # Tell ltmain to make .lib files, not .a files.
9667 libext=lib
9668 # Tell ltmain to make .dll files, not .so files.
9669 shrext_cmds=".dll"
9670 # FIXME: Setting linknames here is a bad hack.
9671 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9672 # The linker will automatically build a .lib file if we build a DLL.
9673 old_archive_from_new_cmds='true'
9674 # FIXME: Should let the user specify the lib program.
9675 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9676 fix_srcfile_path='`cygpath -w "$srcfile"`'
9677 enable_shared_with_static_runtimes=yes
9680 darwin* | rhapsody*)
9683 archive_cmds_need_lc=no
9684 hardcode_direct=no
9685 hardcode_automatic=yes
9686 hardcode_shlibpath_var=unsupported
9687 if test "$lt_cv_ld_force_load" = "yes"; then
9688 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\"`'
9689 else
9690 whole_archive_flag_spec=''
9692 link_all_deplibs=yes
9693 allow_undefined_flag="$_lt_dar_allow_undefined"
9694 case $cc_basename in
9695 ifort*) _lt_dar_can_shared=yes ;;
9696 *) _lt_dar_can_shared=$GCC ;;
9697 esac
9698 if test "$_lt_dar_can_shared" = "yes"; then
9699 output_verbose_link_cmd=func_echo_all
9700 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9701 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9702 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}"
9703 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}"
9705 else
9706 ld_shlibs=no
9711 dgux*)
9712 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9713 hardcode_libdir_flag_spec='-L$libdir'
9714 hardcode_shlibpath_var=no
9717 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9718 # support. Future versions do this automatically, but an explicit c++rt0.o
9719 # does not break anything, and helps significantly (at the cost of a little
9720 # extra space).
9721 freebsd2.2*)
9722 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9723 hardcode_libdir_flag_spec='-R$libdir'
9724 hardcode_direct=yes
9725 hardcode_shlibpath_var=no
9728 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9729 freebsd2.*)
9730 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9731 hardcode_direct=yes
9732 hardcode_minus_L=yes
9733 hardcode_shlibpath_var=no
9736 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9737 freebsd* | dragonfly*)
9738 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9739 hardcode_libdir_flag_spec='-R$libdir'
9740 hardcode_direct=yes
9741 hardcode_shlibpath_var=no
9744 hpux9*)
9745 if test "$GCC" = yes; then
9746 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'
9747 else
9748 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'
9750 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9751 hardcode_libdir_separator=:
9752 hardcode_direct=yes
9754 # hardcode_minus_L: Not really in the search PATH,
9755 # but as the default location of the library.
9756 hardcode_minus_L=yes
9757 export_dynamic_flag_spec='${wl}-E'
9760 hpux10*)
9761 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9762 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9763 else
9764 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9766 if test "$with_gnu_ld" = no; then
9767 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9768 hardcode_libdir_flag_spec_ld='+b $libdir'
9769 hardcode_libdir_separator=:
9770 hardcode_direct=yes
9771 hardcode_direct_absolute=yes
9772 export_dynamic_flag_spec='${wl}-E'
9773 # hardcode_minus_L: Not really in the search PATH,
9774 # but as the default location of the library.
9775 hardcode_minus_L=yes
9779 hpux11*)
9780 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9781 case $host_cpu in
9782 hppa*64*)
9783 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9785 ia64*)
9786 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9789 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9791 esac
9792 else
9793 case $host_cpu in
9794 hppa*64*)
9795 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9797 ia64*)
9798 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9802 # Older versions of the 11.00 compiler do not understand -b yet
9803 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9805 $as_echo_n "checking if $CC understands -b... " >&6; }
9806 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9807 $as_echo_n "(cached) " >&6
9808 else
9809 lt_cv_prog_compiler__b=no
9810 save_LDFLAGS="$LDFLAGS"
9811 LDFLAGS="$LDFLAGS -b"
9812 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9813 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9814 # The linker can only warn and ignore the option if not recognized
9815 # So say no if there are warnings
9816 if test -s conftest.err; then
9817 # Append any errors to the config.log.
9818 cat conftest.err 1>&5
9819 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9820 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9821 if diff conftest.exp conftest.er2 >/dev/null; then
9822 lt_cv_prog_compiler__b=yes
9824 else
9825 lt_cv_prog_compiler__b=yes
9828 $RM -r conftest*
9829 LDFLAGS="$save_LDFLAGS"
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9833 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9835 if test x"$lt_cv_prog_compiler__b" = xyes; then
9836 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9837 else
9838 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9842 esac
9844 if test "$with_gnu_ld" = no; then
9845 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9846 hardcode_libdir_separator=:
9848 case $host_cpu in
9849 hppa*64*|ia64*)
9850 hardcode_direct=no
9851 hardcode_shlibpath_var=no
9854 hardcode_direct=yes
9855 hardcode_direct_absolute=yes
9856 export_dynamic_flag_spec='${wl}-E'
9858 # hardcode_minus_L: Not really in the search PATH,
9859 # but as the default location of the library.
9860 hardcode_minus_L=yes
9862 esac
9866 irix5* | irix6* | nonstopux*)
9867 if test "$GCC" = yes; then
9868 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'
9869 # Try to use the -exported_symbol ld option, if it does not
9870 # work, assume that -exports_file does not work either and
9871 # implicitly export all symbols.
9872 save_LDFLAGS="$LDFLAGS"
9873 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9874 if test x$gcc_no_link = xyes; then
9875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 int foo(void) {}
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 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'
9885 rm -f core conftest.err conftest.$ac_objext \
9886 conftest$ac_exeext conftest.$ac_ext
9887 LDFLAGS="$save_LDFLAGS"
9888 else
9889 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'
9890 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'
9892 archive_cmds_need_lc='no'
9893 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9894 hardcode_libdir_separator=:
9895 inherit_rpath=yes
9896 link_all_deplibs=yes
9899 netbsd*)
9900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9901 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9902 else
9903 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9905 hardcode_libdir_flag_spec='-R$libdir'
9906 hardcode_direct=yes
9907 hardcode_shlibpath_var=no
9910 newsos6)
9911 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9912 hardcode_direct=yes
9913 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9914 hardcode_libdir_separator=:
9915 hardcode_shlibpath_var=no
9918 *nto* | *qnx*)
9921 openbsd*)
9922 if test -f /usr/libexec/ld.so; then
9923 hardcode_direct=yes
9924 hardcode_shlibpath_var=no
9925 hardcode_direct_absolute=yes
9926 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9927 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9928 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9929 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9930 export_dynamic_flag_spec='${wl}-E'
9931 else
9932 case $host_os in
9933 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9934 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9935 hardcode_libdir_flag_spec='-R$libdir'
9938 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9939 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9941 esac
9943 else
9944 ld_shlibs=no
9948 os2*)
9949 hardcode_libdir_flag_spec='-L$libdir'
9950 hardcode_minus_L=yes
9951 allow_undefined_flag=unsupported
9952 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'
9953 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9956 osf3*)
9957 if test "$GCC" = yes; then
9958 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9959 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'
9960 else
9961 allow_undefined_flag=' -expect_unresolved \*'
9962 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'
9964 archive_cmds_need_lc='no'
9965 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9966 hardcode_libdir_separator=:
9969 osf4* | osf5*) # as osf3* with the addition of -msym flag
9970 if test "$GCC" = yes; then
9971 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9972 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'
9973 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9974 else
9975 allow_undefined_flag=' -expect_unresolved \*'
9976 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'
9977 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~
9978 $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'
9980 # Both c and cxx compiler support -rpath directly
9981 hardcode_libdir_flag_spec='-rpath $libdir'
9983 archive_cmds_need_lc='no'
9984 hardcode_libdir_separator=:
9987 solaris*)
9988 no_undefined_flag=' -z defs'
9989 if test "$GCC" = yes; then
9990 wlarc='${wl}'
9991 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9992 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9993 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9994 else
9995 case `$CC -V 2>&1` in
9996 *"Compilers 5.0"*)
9997 wlarc=''
9998 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9999 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10000 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10003 wlarc='${wl}'
10004 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10005 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10006 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 esac
10010 hardcode_libdir_flag_spec='-R$libdir'
10011 hardcode_shlibpath_var=no
10012 case $host_os in
10013 solaris2.[0-5] | solaris2.[0-5].*) ;;
10015 # The compiler driver will combine and reorder linker options,
10016 # but understands `-z linker_flag'. GCC discards it without `$wl',
10017 # but is careful enough not to reorder.
10018 # Supported since Solaris 2.6 (maybe 2.5.1?)
10019 if test "$GCC" = yes; then
10020 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10021 else
10022 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10025 esac
10026 link_all_deplibs=yes
10029 sunos4*)
10030 if test "x$host_vendor" = xsequent; then
10031 # Use $CC to link under sequent, because it throws in some extra .o
10032 # files that make .init and .fini sections work.
10033 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10034 else
10035 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10037 hardcode_libdir_flag_spec='-L$libdir'
10038 hardcode_direct=yes
10039 hardcode_minus_L=yes
10040 hardcode_shlibpath_var=no
10043 sysv4)
10044 case $host_vendor in
10045 sni)
10046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10047 hardcode_direct=yes # is this really true???
10049 siemens)
10050 ## LD is ld it makes a PLAMLIB
10051 ## CC just makes a GrossModule.
10052 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10053 reload_cmds='$CC -r -o $output$reload_objs'
10054 hardcode_direct=no
10056 motorola)
10057 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10058 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10060 esac
10061 runpath_var='LD_RUN_PATH'
10062 hardcode_shlibpath_var=no
10065 sysv4.3*)
10066 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10067 hardcode_shlibpath_var=no
10068 export_dynamic_flag_spec='-Bexport'
10071 sysv4*MP*)
10072 if test -d /usr/nec; then
10073 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074 hardcode_shlibpath_var=no
10075 runpath_var=LD_RUN_PATH
10076 hardcode_runpath_var=yes
10077 ld_shlibs=yes
10081 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10082 no_undefined_flag='${wl}-z,text'
10083 archive_cmds_need_lc=no
10084 hardcode_shlibpath_var=no
10085 runpath_var='LD_RUN_PATH'
10087 if test "$GCC" = yes; then
10088 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 else
10091 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096 sysv5* | sco3.2v5* | sco5v6*)
10097 # Note: We can NOT use -z defs as we might desire, because we do not
10098 # link with -lc, and that would cause any symbols used from libc to
10099 # always be unresolved, which means just about no library would
10100 # ever link correctly. If we're not using GNU ld we use -z text
10101 # though, which does catch some bad symbols but isn't as heavy-handed
10102 # as -z defs.
10103 no_undefined_flag='${wl}-z,text'
10104 allow_undefined_flag='${wl}-z,nodefs'
10105 archive_cmds_need_lc=no
10106 hardcode_shlibpath_var=no
10107 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10108 hardcode_libdir_separator=':'
10109 link_all_deplibs=yes
10110 export_dynamic_flag_spec='${wl}-Bexport'
10111 runpath_var='LD_RUN_PATH'
10113 if test "$GCC" = yes; then
10114 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10115 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 else
10117 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10118 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10122 uts4*)
10123 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10124 hardcode_libdir_flag_spec='-L$libdir'
10125 hardcode_shlibpath_var=no
10129 ld_shlibs=no
10131 esac
10133 if test x$host_vendor = xsni; then
10134 case $host in
10135 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10136 export_dynamic_flag_spec='${wl}-Blargedynsym'
10138 esac
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10143 $as_echo "$ld_shlibs" >&6; }
10144 test "$ld_shlibs" = no && can_build_shared=no
10146 with_gnu_ld=$with_gnu_ld
10163 # Do we need to explicitly link libc?
10165 case "x$archive_cmds_need_lc" in
10166 x|xyes)
10167 # Assume -lc should be added
10168 archive_cmds_need_lc=yes
10170 if test "$enable_shared" = yes && test "$GCC" = yes; then
10171 case $archive_cmds in
10172 *'~'*)
10173 # FIXME: we may have to deal with multi-command sequences.
10175 '$CC '*)
10176 # Test whether the compiler implicitly links with -lc since on some
10177 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10178 # to ld, don't add -lc before -lgcc.
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10180 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10181 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10182 $as_echo_n "(cached) " >&6
10183 else
10184 $RM conftest*
10185 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10187 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10188 (eval $ac_compile) 2>&5
10189 ac_status=$?
10190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10191 test $ac_status = 0; } 2>conftest.err; then
10192 soname=conftest
10193 lib=conftest
10194 libobjs=conftest.$ac_objext
10195 deplibs=
10196 wl=$lt_prog_compiler_wl
10197 pic_flag=$lt_prog_compiler_pic
10198 compiler_flags=-v
10199 linker_flags=-v
10200 verstring=
10201 output_objdir=.
10202 libname=conftest
10203 lt_save_allow_undefined_flag=$allow_undefined_flag
10204 allow_undefined_flag=
10205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10206 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10207 ac_status=$?
10208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10209 test $ac_status = 0; }
10210 then
10211 lt_cv_archive_cmds_need_lc=no
10212 else
10213 lt_cv_archive_cmds_need_lc=yes
10215 allow_undefined_flag=$lt_save_allow_undefined_flag
10216 else
10217 cat conftest.err 1>&5
10219 $RM conftest*
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10223 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10224 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10226 esac
10229 esac
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10388 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10390 if test "$GCC" = yes; then
10391 case $host_os in
10392 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10393 *) lt_awk_arg="/^libraries:/" ;;
10394 esac
10395 case $host_os in
10396 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10397 *) lt_sed_strip_eq="s,=/,/,g" ;;
10398 esac
10399 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10400 case $lt_search_path_spec in
10401 *\;*)
10402 # if the path contains ";" then we assume it to be the separator
10403 # otherwise default to the standard path separator (i.e. ":") - it is
10404 # assumed that no part of a normal pathname contains ";" but that should
10405 # okay in the real world where ";" in dirpaths is itself problematic.
10406 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10409 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10411 esac
10412 # Ok, now we have the path, separated by spaces, we can step through it
10413 # and add multilib dir if necessary.
10414 lt_tmp_lt_search_path_spec=
10415 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10416 for lt_sys_path in $lt_search_path_spec; do
10417 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10418 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10419 else
10420 test -d "$lt_sys_path" && \
10421 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10423 done
10424 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10425 BEGIN {RS=" "; FS="/|\n";} {
10426 lt_foo="";
10427 lt_count=0;
10428 for (lt_i = NF; lt_i > 0; lt_i--) {
10429 if ($lt_i != "" && $lt_i != ".") {
10430 if ($lt_i == "..") {
10431 lt_count++;
10432 } else {
10433 if (lt_count == 0) {
10434 lt_foo="/" $lt_i lt_foo;
10435 } else {
10436 lt_count--;
10441 if (lt_foo != "") { lt_freq[lt_foo]++; }
10442 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10444 # AWK program above erroneously prepends '/' to C:/dos/paths
10445 # for these hosts.
10446 case $host_os in
10447 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10448 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10449 esac
10450 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10451 else
10452 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10454 library_names_spec=
10455 libname_spec='lib$name'
10456 soname_spec=
10457 shrext_cmds=".so"
10458 postinstall_cmds=
10459 postuninstall_cmds=
10460 finish_cmds=
10461 finish_eval=
10462 shlibpath_var=
10463 shlibpath_overrides_runpath=unknown
10464 version_type=none
10465 dynamic_linker="$host_os ld.so"
10466 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10467 need_lib_prefix=unknown
10468 hardcode_into_libs=no
10470 # when you set need_version to no, make sure it does not cause -set_version
10471 # flags to be left without arguments
10472 need_version=unknown
10474 case $host_os in
10475 aix3*)
10476 version_type=linux
10477 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10478 shlibpath_var=LIBPATH
10480 # AIX 3 has no versioning support, so we append a major version to the name.
10481 soname_spec='${libname}${release}${shared_ext}$major'
10484 aix[4-9]*)
10485 version_type=linux
10486 need_lib_prefix=no
10487 need_version=no
10488 hardcode_into_libs=yes
10489 if test "$host_cpu" = ia64; then
10490 # AIX 5 supports IA64
10491 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10492 shlibpath_var=LD_LIBRARY_PATH
10493 else
10494 # With GCC up to 2.95.x, collect2 would create an import file
10495 # for dependence libraries. The import file would start with
10496 # the line `#! .'. This would cause the generated library to
10497 # depend on `.', always an invalid library. This was fixed in
10498 # development snapshots of GCC prior to 3.0.
10499 case $host_os in
10500 aix4 | aix4.[01] | aix4.[01].*)
10501 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10502 echo ' yes '
10503 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10505 else
10506 can_build_shared=no
10509 esac
10510 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10511 # soname into executable. Probably we can add versioning support to
10512 # collect2, so additional links can be useful in future.
10513 if test "$aix_use_runtimelinking" = yes; then
10514 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10515 # instead of lib<name>.a to let people know that these are not
10516 # typical AIX shared libraries.
10517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10518 else
10519 # We preserve .a as extension for shared libraries through AIX4.2
10520 # and later when we are not doing run time linking.
10521 library_names_spec='${libname}${release}.a $libname.a'
10522 soname_spec='${libname}${release}${shared_ext}$major'
10524 shlibpath_var=LIBPATH
10528 amigaos*)
10529 case $host_cpu in
10530 powerpc)
10531 # Since July 2007 AmigaOS4 officially supports .so libraries.
10532 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10535 m68k)
10536 library_names_spec='$libname.ixlibrary $libname.a'
10537 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10538 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'
10540 esac
10543 beos*)
10544 library_names_spec='${libname}${shared_ext}'
10545 dynamic_linker="$host_os ld.so"
10546 shlibpath_var=LIBRARY_PATH
10549 bsdi[45]*)
10550 version_type=linux
10551 need_version=no
10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10553 soname_spec='${libname}${release}${shared_ext}$major'
10554 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10555 shlibpath_var=LD_LIBRARY_PATH
10556 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10557 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10558 # the default ld.so.conf also contains /usr/contrib/lib and
10559 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10560 # libtool to hard-code these into programs
10563 cygwin* | mingw* | pw32* | cegcc*)
10564 version_type=windows
10565 shrext_cmds=".dll"
10566 need_version=no
10567 need_lib_prefix=no
10569 case $GCC,$host_os in
10570 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10571 library_names_spec='$libname.dll.a'
10572 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10573 postinstall_cmds='base_file=`basename \${file}`~
10574 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10575 dldir=$destdir/`dirname \$dlpath`~
10576 test -d \$dldir || mkdir -p \$dldir~
10577 $install_prog $dir/$dlname \$dldir/$dlname~
10578 chmod a+x \$dldir/$dlname~
10579 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10580 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10582 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10583 dlpath=$dir/\$dldll~
10584 $RM \$dlpath'
10585 shlibpath_overrides_runpath=yes
10587 case $host_os in
10588 cygwin*)
10589 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10590 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10592 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10594 mingw* | cegcc*)
10595 # MinGW DLLs use traditional 'lib' prefix
10596 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10598 pw32*)
10599 # pw32 DLLs use 'pw' prefix rather than 'lib'
10600 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10602 esac
10606 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10608 esac
10609 dynamic_linker='Win32 ld.exe'
10610 # FIXME: first we should search . and the directory the executable is in
10611 shlibpath_var=PATH
10614 darwin* | rhapsody*)
10615 dynamic_linker="$host_os dyld"
10616 version_type=darwin
10617 need_lib_prefix=no
10618 need_version=no
10619 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10620 soname_spec='${libname}${release}${major}$shared_ext'
10621 shlibpath_overrides_runpath=yes
10622 shlibpath_var=DYLD_LIBRARY_PATH
10623 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10625 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10626 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10629 dgux*)
10630 version_type=linux
10631 need_lib_prefix=no
10632 need_version=no
10633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10634 soname_spec='${libname}${release}${shared_ext}$major'
10635 shlibpath_var=LD_LIBRARY_PATH
10638 freebsd* | dragonfly*)
10639 # DragonFly does not have aout. When/if they implement a new
10640 # versioning mechanism, adjust this.
10641 if test -x /usr/bin/objformat; then
10642 objformat=`/usr/bin/objformat`
10643 else
10644 case $host_os in
10645 freebsd[23].*) objformat=aout ;;
10646 *) objformat=elf ;;
10647 esac
10649 version_type=freebsd-$objformat
10650 case $version_type in
10651 freebsd-elf*)
10652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10653 need_version=no
10654 need_lib_prefix=no
10656 freebsd-*)
10657 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10658 need_version=yes
10660 esac
10661 shlibpath_var=LD_LIBRARY_PATH
10662 case $host_os in
10663 freebsd2.*)
10664 shlibpath_overrides_runpath=yes
10666 freebsd3.[01]* | freebsdelf3.[01]*)
10667 shlibpath_overrides_runpath=yes
10668 hardcode_into_libs=yes
10670 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10671 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10672 shlibpath_overrides_runpath=no
10673 hardcode_into_libs=yes
10675 *) # from 4.6 on, and DragonFly
10676 shlibpath_overrides_runpath=yes
10677 hardcode_into_libs=yes
10679 esac
10682 gnu*)
10683 version_type=linux
10684 need_lib_prefix=no
10685 need_version=no
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10687 soname_spec='${libname}${release}${shared_ext}$major'
10688 shlibpath_var=LD_LIBRARY_PATH
10689 hardcode_into_libs=yes
10692 haiku*)
10693 version_type=linux
10694 need_lib_prefix=no
10695 need_version=no
10696 dynamic_linker="$host_os runtime_loader"
10697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10698 soname_spec='${libname}${release}${shared_ext}$major'
10699 shlibpath_var=LIBRARY_PATH
10700 shlibpath_overrides_runpath=yes
10701 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10702 hardcode_into_libs=yes
10705 hpux9* | hpux10* | hpux11*)
10706 # Give a soname corresponding to the major version so that dld.sl refuses to
10707 # link against other versions.
10708 version_type=sunos
10709 need_lib_prefix=no
10710 need_version=no
10711 case $host_cpu in
10712 ia64*)
10713 shrext_cmds='.so'
10714 hardcode_into_libs=yes
10715 dynamic_linker="$host_os dld.so"
10716 shlibpath_var=LD_LIBRARY_PATH
10717 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 if test "X$HPUX_IA64_MODE" = X32; then
10721 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10722 else
10723 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10725 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10727 hppa*64*)
10728 shrext_cmds='.sl'
10729 hardcode_into_libs=yes
10730 dynamic_linker="$host_os dld.sl"
10731 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10732 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10736 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10739 shrext_cmds='.sl'
10740 dynamic_linker="$host_os dld.sl"
10741 shlibpath_var=SHLIB_PATH
10742 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10744 soname_spec='${libname}${release}${shared_ext}$major'
10746 esac
10747 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10748 postinstall_cmds='chmod 555 $lib'
10749 # or fails outright, so override atomically:
10750 install_override_mode=555
10753 interix[3-9]*)
10754 version_type=linux
10755 need_lib_prefix=no
10756 need_version=no
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10759 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10760 shlibpath_var=LD_LIBRARY_PATH
10761 shlibpath_overrides_runpath=no
10762 hardcode_into_libs=yes
10765 irix5* | irix6* | nonstopux*)
10766 case $host_os in
10767 nonstopux*) version_type=nonstopux ;;
10769 if test "$lt_cv_prog_gnu_ld" = yes; then
10770 version_type=linux
10771 else
10772 version_type=irix
10773 fi ;;
10774 esac
10775 need_lib_prefix=no
10776 need_version=no
10777 soname_spec='${libname}${release}${shared_ext}$major'
10778 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10779 case $host_os in
10780 irix5* | nonstopux*)
10781 libsuff= shlibsuff=
10784 case $LD in # libtool.m4 will add one of these switches to LD
10785 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10786 libsuff= shlibsuff= libmagic=32-bit;;
10787 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10788 libsuff=32 shlibsuff=N32 libmagic=N32;;
10789 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10790 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10791 *) libsuff= shlibsuff= libmagic=never-match;;
10792 esac
10794 esac
10795 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10796 shlibpath_overrides_runpath=no
10797 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10798 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10799 hardcode_into_libs=yes
10802 # No shared lib support for Linux oldld, aout, or coff.
10803 linux*oldld* | linux*aout* | linux*coff*)
10804 dynamic_linker=no
10807 # This must be Linux ELF.
10808 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10809 version_type=linux
10810 need_lib_prefix=no
10811 need_version=no
10812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813 soname_spec='${libname}${release}${shared_ext}$major'
10814 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10815 shlibpath_var=LD_LIBRARY_PATH
10816 shlibpath_overrides_runpath=no
10818 # Some binutils ld are patched to set DT_RUNPATH
10819 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10820 $as_echo_n "(cached) " >&6
10821 else
10822 lt_cv_shlibpath_overrides_runpath=no
10823 save_LDFLAGS=$LDFLAGS
10824 save_libdir=$libdir
10825 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10826 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10827 if test x$gcc_no_link = xyes; then
10828 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10834 main ()
10838 return 0;
10840 _ACEOF
10841 if ac_fn_c_try_link "$LINENO"; then :
10842 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10843 lt_cv_shlibpath_overrides_runpath=yes
10846 rm -f core conftest.err conftest.$ac_objext \
10847 conftest$ac_exeext conftest.$ac_ext
10848 LDFLAGS=$save_LDFLAGS
10849 libdir=$save_libdir
10853 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10855 # This implies no fast_install, which is unacceptable.
10856 # Some rework will be needed to allow for fast_install
10857 # before this can be enabled.
10858 hardcode_into_libs=yes
10860 # Append ld.so.conf contents to the search path
10861 if test -f /etc/ld.so.conf; then
10862 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' ' '`
10863 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10866 # We used to test for /lib/ld.so.1 and disable shared libraries on
10867 # powerpc, because MkLinux only supported shared libraries with the
10868 # GNU dynamic linker. Since this was broken with cross compilers,
10869 # most powerpc-linux boxes support dynamic linking these days and
10870 # people can always --disable-shared, the test was removed, and we
10871 # assume the GNU/Linux dynamic linker is in use.
10872 dynamic_linker='GNU/Linux ld.so'
10875 netbsd*)
10876 version_type=sunos
10877 need_lib_prefix=no
10878 need_version=no
10879 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10881 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10882 dynamic_linker='NetBSD (a.out) ld.so'
10883 else
10884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10885 soname_spec='${libname}${release}${shared_ext}$major'
10886 dynamic_linker='NetBSD ld.elf_so'
10888 shlibpath_var=LD_LIBRARY_PATH
10889 shlibpath_overrides_runpath=yes
10890 hardcode_into_libs=yes
10893 newsos6)
10894 version_type=linux
10895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10896 shlibpath_var=LD_LIBRARY_PATH
10897 shlibpath_overrides_runpath=yes
10900 *nto* | *qnx*)
10901 version_type=qnx
10902 need_lib_prefix=no
10903 need_version=no
10904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10905 soname_spec='${libname}${release}${shared_ext}$major'
10906 shlibpath_var=LD_LIBRARY_PATH
10907 shlibpath_overrides_runpath=no
10908 hardcode_into_libs=yes
10909 dynamic_linker='ldqnx.so'
10912 openbsd*)
10913 version_type=sunos
10914 sys_lib_dlsearch_path_spec="/usr/lib"
10915 need_lib_prefix=no
10916 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10917 case $host_os in
10918 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10919 *) need_version=no ;;
10920 esac
10921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10922 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10925 case $host_os in
10926 openbsd2.[89] | openbsd2.[89].*)
10927 shlibpath_overrides_runpath=no
10930 shlibpath_overrides_runpath=yes
10932 esac
10933 else
10934 shlibpath_overrides_runpath=yes
10938 os2*)
10939 libname_spec='$name'
10940 shrext_cmds=".dll"
10941 need_lib_prefix=no
10942 library_names_spec='$libname${shared_ext} $libname.a'
10943 dynamic_linker='OS/2 ld.exe'
10944 shlibpath_var=LIBPATH
10947 osf3* | osf4* | osf5*)
10948 version_type=osf
10949 need_lib_prefix=no
10950 need_version=no
10951 soname_spec='${libname}${release}${shared_ext}$major'
10952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10953 shlibpath_var=LD_LIBRARY_PATH
10954 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10955 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10958 rdos*)
10959 dynamic_linker=no
10962 solaris*)
10963 version_type=linux
10964 need_lib_prefix=no
10965 need_version=no
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 shlibpath_var=LD_LIBRARY_PATH
10969 shlibpath_overrides_runpath=yes
10970 hardcode_into_libs=yes
10971 # ldd complains unless libraries are executable
10972 postinstall_cmds='chmod +x $lib'
10975 sunos4*)
10976 version_type=sunos
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10978 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10979 shlibpath_var=LD_LIBRARY_PATH
10980 shlibpath_overrides_runpath=yes
10981 if test "$with_gnu_ld" = yes; then
10982 need_lib_prefix=no
10984 need_version=yes
10987 sysv4 | sysv4.3*)
10988 version_type=linux
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990 soname_spec='${libname}${release}${shared_ext}$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 case $host_vendor in
10993 sni)
10994 shlibpath_overrides_runpath=no
10995 need_lib_prefix=no
10996 runpath_var=LD_RUN_PATH
10998 siemens)
10999 need_lib_prefix=no
11001 motorola)
11002 need_lib_prefix=no
11003 need_version=no
11004 shlibpath_overrides_runpath=no
11005 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11007 esac
11010 sysv4*MP*)
11011 if test -d /usr/nec ;then
11012 version_type=linux
11013 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11014 soname_spec='$libname${shared_ext}.$major'
11015 shlibpath_var=LD_LIBRARY_PATH
11019 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11020 version_type=freebsd-elf
11021 need_lib_prefix=no
11022 need_version=no
11023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11024 soname_spec='${libname}${release}${shared_ext}$major'
11025 shlibpath_var=LD_LIBRARY_PATH
11026 shlibpath_overrides_runpath=yes
11027 hardcode_into_libs=yes
11028 if test "$with_gnu_ld" = yes; then
11029 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11030 else
11031 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11032 case $host_os in
11033 sco3.2v5*)
11034 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11036 esac
11038 sys_lib_dlsearch_path_spec='/usr/lib'
11041 tpf*)
11042 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11043 version_type=linux
11044 need_lib_prefix=no
11045 need_version=no
11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11047 shlibpath_var=LD_LIBRARY_PATH
11048 shlibpath_overrides_runpath=no
11049 hardcode_into_libs=yes
11052 uts4*)
11053 version_type=linux
11054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11055 soname_spec='${libname}${release}${shared_ext}$major'
11056 shlibpath_var=LD_LIBRARY_PATH
11060 dynamic_linker=no
11062 esac
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11064 $as_echo "$dynamic_linker" >&6; }
11065 test "$dynamic_linker" = no && can_build_shared=no
11067 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11068 if test "$GCC" = yes; then
11069 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11072 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11073 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11075 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11076 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11171 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11172 hardcode_action=
11173 if test -n "$hardcode_libdir_flag_spec" ||
11174 test -n "$runpath_var" ||
11175 test "X$hardcode_automatic" = "Xyes" ; then
11177 # We can hardcode non-existent directories.
11178 if test "$hardcode_direct" != no &&
11179 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11180 # have to relink, otherwise we might link with an installed library
11181 # when we should be linking with a yet-to-be-installed one
11182 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11183 test "$hardcode_minus_L" != no; then
11184 # Linking always hardcodes the temporary library directory.
11185 hardcode_action=relink
11186 else
11187 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11188 hardcode_action=immediate
11190 else
11191 # We cannot hardcode anything, or else we can only hardcode existing
11192 # directories.
11193 hardcode_action=unsupported
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11196 $as_echo "$hardcode_action" >&6; }
11198 if test "$hardcode_action" = relink ||
11199 test "$inherit_rpath" = yes; then
11200 # Fast installation is not supported
11201 enable_fast_install=no
11202 elif test "$shlibpath_overrides_runpath" = yes ||
11203 test "$enable_shared" = no; then
11204 # Fast installation is not necessary
11205 enable_fast_install=needless
11213 if test "x$enable_dlopen" != xyes; then
11214 enable_dlopen=unknown
11215 enable_dlopen_self=unknown
11216 enable_dlopen_self_static=unknown
11217 else
11218 lt_cv_dlopen=no
11219 lt_cv_dlopen_libs=
11221 case $host_os in
11222 beos*)
11223 lt_cv_dlopen="load_add_on"
11224 lt_cv_dlopen_libs=
11225 lt_cv_dlopen_self=yes
11228 mingw* | pw32* | cegcc*)
11229 lt_cv_dlopen="LoadLibrary"
11230 lt_cv_dlopen_libs=
11233 cygwin*)
11234 lt_cv_dlopen="dlopen"
11235 lt_cv_dlopen_libs=
11238 darwin*)
11239 # if libdl is installed we need to link against it
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11241 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11242 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11243 $as_echo_n "(cached) " >&6
11244 else
11245 ac_check_lib_save_LIBS=$LIBS
11246 LIBS="-ldl $LIBS"
11247 if test x$gcc_no_link = xyes; then
11248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11256 #ifdef __cplusplus
11257 extern "C"
11258 #endif
11259 char dlopen ();
11261 main ()
11263 return dlopen ();
11265 return 0;
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"; then :
11269 ac_cv_lib_dl_dlopen=yes
11270 else
11271 ac_cv_lib_dl_dlopen=no
11273 rm -f core conftest.err conftest.$ac_objext \
11274 conftest$ac_exeext conftest.$ac_ext
11275 LIBS=$ac_check_lib_save_LIBS
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11278 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11279 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11280 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11281 else
11283 lt_cv_dlopen="dyld"
11284 lt_cv_dlopen_libs=
11285 lt_cv_dlopen_self=yes
11292 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11293 if test "x$ac_cv_func_shl_load" = x""yes; then :
11294 lt_cv_dlopen="shl_load"
11295 else
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11297 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11298 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11299 $as_echo_n "(cached) " >&6
11300 else
11301 ac_check_lib_save_LIBS=$LIBS
11302 LIBS="-ldld $LIBS"
11303 if test x$gcc_no_link = xyes; then
11304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char shl_load ();
11317 main ()
11319 return shl_load ();
11321 return 0;
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 ac_cv_lib_dld_shl_load=yes
11326 else
11327 ac_cv_lib_dld_shl_load=no
11329 rm -f core conftest.err conftest.$ac_objext \
11330 conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_lib_save_LIBS
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11334 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11335 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11336 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11337 else
11338 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11339 if test "x$ac_cv_func_dlopen" = x""yes; then :
11340 lt_cv_dlopen="dlopen"
11341 else
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11343 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11344 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11345 $as_echo_n "(cached) " >&6
11346 else
11347 ac_check_lib_save_LIBS=$LIBS
11348 LIBS="-ldl $LIBS"
11349 if test x$gcc_no_link = xyes; then
11350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h. */
11355 /* Override any GCC internal prototype to avoid an error.
11356 Use char because int might match the return type of a GCC
11357 builtin and then its argument prototype would still apply. */
11358 #ifdef __cplusplus
11359 extern "C"
11360 #endif
11361 char dlopen ();
11363 main ()
11365 return dlopen ();
11367 return 0;
11369 _ACEOF
11370 if ac_fn_c_try_link "$LINENO"; then :
11371 ac_cv_lib_dl_dlopen=yes
11372 else
11373 ac_cv_lib_dl_dlopen=no
11375 rm -f core conftest.err conftest.$ac_objext \
11376 conftest$ac_exeext conftest.$ac_ext
11377 LIBS=$ac_check_lib_save_LIBS
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11380 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11381 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11382 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11383 else
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11385 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11386 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_lib_save_LIBS=$LIBS
11390 LIBS="-lsvld $LIBS"
11391 if test x$gcc_no_link = xyes; then
11392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11400 #ifdef __cplusplus
11401 extern "C"
11402 #endif
11403 char dlopen ();
11405 main ()
11407 return dlopen ();
11409 return 0;
11411 _ACEOF
11412 if ac_fn_c_try_link "$LINENO"; then :
11413 ac_cv_lib_svld_dlopen=yes
11414 else
11415 ac_cv_lib_svld_dlopen=no
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_lib_save_LIBS
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11422 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11423 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11424 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11427 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11428 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-ldld $LIBS"
11433 if test x$gcc_no_link = xyes; then
11434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char dld_link ();
11447 main ()
11449 return dld_link ();
11451 return 0;
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"; then :
11455 ac_cv_lib_dld_dld_link=yes
11456 else
11457 ac_cv_lib_dld_dld_link=no
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11464 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11465 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11466 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11485 esac
11487 if test "x$lt_cv_dlopen" != xno; then
11488 enable_dlopen=yes
11489 else
11490 enable_dlopen=no
11493 case $lt_cv_dlopen in
11494 dlopen)
11495 save_CPPFLAGS="$CPPFLAGS"
11496 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11498 save_LDFLAGS="$LDFLAGS"
11499 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11501 save_LIBS="$LIBS"
11502 LIBS="$lt_cv_dlopen_libs $LIBS"
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11505 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11506 if test "${lt_cv_dlopen_self+set}" = set; then :
11507 $as_echo_n "(cached) " >&6
11508 else
11509 if test "$cross_compiling" = yes; then :
11510 lt_cv_dlopen_self=cross
11511 else
11512 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11513 lt_status=$lt_dlunknown
11514 cat > conftest.$ac_ext <<_LT_EOF
11515 #line 11515 "configure"
11516 #include "confdefs.h"
11518 #if HAVE_DLFCN_H
11519 #include <dlfcn.h>
11520 #endif
11522 #include <stdio.h>
11524 #ifdef RTLD_GLOBAL
11525 # define LT_DLGLOBAL RTLD_GLOBAL
11526 #else
11527 # ifdef DL_GLOBAL
11528 # define LT_DLGLOBAL DL_GLOBAL
11529 # else
11530 # define LT_DLGLOBAL 0
11531 # endif
11532 #endif
11534 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11535 find out it does not work in some platform. */
11536 #ifndef LT_DLLAZY_OR_NOW
11537 # ifdef RTLD_LAZY
11538 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11539 # else
11540 # ifdef DL_LAZY
11541 # define LT_DLLAZY_OR_NOW DL_LAZY
11542 # else
11543 # ifdef RTLD_NOW
11544 # define LT_DLLAZY_OR_NOW RTLD_NOW
11545 # else
11546 # ifdef DL_NOW
11547 # define LT_DLLAZY_OR_NOW DL_NOW
11548 # else
11549 # define LT_DLLAZY_OR_NOW 0
11550 # endif
11551 # endif
11552 # endif
11553 # endif
11554 #endif
11556 /* When -fvisbility=hidden is used, assume the code has been annotated
11557 correspondingly for the symbols needed. */
11558 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11559 void fnord () __attribute__((visibility("default")));
11560 #endif
11562 void fnord () { int i=42; }
11563 int main ()
11565 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11566 int status = $lt_dlunknown;
11568 if (self)
11570 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11571 else
11573 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11574 else puts (dlerror ());
11576 /* dlclose (self); */
11578 else
11579 puts (dlerror ());
11581 return status;
11583 _LT_EOF
11584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11585 (eval $ac_link) 2>&5
11586 ac_status=$?
11587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11588 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11589 (./conftest; exit; ) >&5 2>/dev/null
11590 lt_status=$?
11591 case x$lt_status in
11592 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11593 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11594 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11595 esac
11596 else :
11597 # compilation failed
11598 lt_cv_dlopen_self=no
11601 rm -fr conftest*
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11606 $as_echo "$lt_cv_dlopen_self" >&6; }
11608 if test "x$lt_cv_dlopen_self" = xyes; then
11609 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11611 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11612 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11613 $as_echo_n "(cached) " >&6
11614 else
11615 if test "$cross_compiling" = yes; then :
11616 lt_cv_dlopen_self_static=cross
11617 else
11618 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11619 lt_status=$lt_dlunknown
11620 cat > conftest.$ac_ext <<_LT_EOF
11621 #line 11621 "configure"
11622 #include "confdefs.h"
11624 #if HAVE_DLFCN_H
11625 #include <dlfcn.h>
11626 #endif
11628 #include <stdio.h>
11630 #ifdef RTLD_GLOBAL
11631 # define LT_DLGLOBAL RTLD_GLOBAL
11632 #else
11633 # ifdef DL_GLOBAL
11634 # define LT_DLGLOBAL DL_GLOBAL
11635 # else
11636 # define LT_DLGLOBAL 0
11637 # endif
11638 #endif
11640 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11641 find out it does not work in some platform. */
11642 #ifndef LT_DLLAZY_OR_NOW
11643 # ifdef RTLD_LAZY
11644 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11645 # else
11646 # ifdef DL_LAZY
11647 # define LT_DLLAZY_OR_NOW DL_LAZY
11648 # else
11649 # ifdef RTLD_NOW
11650 # define LT_DLLAZY_OR_NOW RTLD_NOW
11651 # else
11652 # ifdef DL_NOW
11653 # define LT_DLLAZY_OR_NOW DL_NOW
11654 # else
11655 # define LT_DLLAZY_OR_NOW 0
11656 # endif
11657 # endif
11658 # endif
11659 # endif
11660 #endif
11662 /* When -fvisbility=hidden is used, assume the code has been annotated
11663 correspondingly for the symbols needed. */
11664 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11665 void fnord () __attribute__((visibility("default")));
11666 #endif
11668 void fnord () { int i=42; }
11669 int main ()
11671 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11672 int status = $lt_dlunknown;
11674 if (self)
11676 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11677 else
11679 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11680 else puts (dlerror ());
11682 /* dlclose (self); */
11684 else
11685 puts (dlerror ());
11687 return status;
11689 _LT_EOF
11690 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11691 (eval $ac_link) 2>&5
11692 ac_status=$?
11693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11694 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11695 (./conftest; exit; ) >&5 2>/dev/null
11696 lt_status=$?
11697 case x$lt_status in
11698 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11699 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11700 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11701 esac
11702 else :
11703 # compilation failed
11704 lt_cv_dlopen_self_static=no
11707 rm -fr conftest*
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11712 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11715 CPPFLAGS="$save_CPPFLAGS"
11716 LDFLAGS="$save_LDFLAGS"
11717 LIBS="$save_LIBS"
11719 esac
11721 case $lt_cv_dlopen_self in
11722 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11723 *) enable_dlopen_self=unknown ;;
11724 esac
11726 case $lt_cv_dlopen_self_static in
11727 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11728 *) enable_dlopen_self_static=unknown ;;
11729 esac
11748 striplib=
11749 old_striplib=
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11751 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11752 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11753 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11754 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11756 $as_echo "yes" >&6; }
11757 else
11758 # FIXME - insert some real tests, host_os isn't really good enough
11759 case $host_os in
11760 darwin*)
11761 if test -n "$STRIP" ; then
11762 striplib="$STRIP -x"
11763 old_striplib="$STRIP -S"
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11765 $as_echo "yes" >&6; }
11766 else
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11768 $as_echo "no" >&6; }
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11773 $as_echo "no" >&6; }
11775 esac
11789 # Report which library types will actually be built
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11791 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11793 $as_echo "$can_build_shared" >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11796 $as_echo_n "checking whether to build shared libraries... " >&6; }
11797 test "$can_build_shared" = "no" && enable_shared=no
11799 # On AIX, shared libraries and static libraries use the same namespace, and
11800 # are all built from PIC.
11801 case $host_os in
11802 aix3*)
11803 test "$enable_shared" = yes && enable_static=no
11804 if test -n "$RANLIB"; then
11805 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11806 postinstall_cmds='$RANLIB $lib'
11810 aix[4-9]*)
11811 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11812 test "$enable_shared" = yes && enable_static=no
11815 esac
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11817 $as_echo "$enable_shared" >&6; }
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11820 $as_echo_n "checking whether to build static libraries... " >&6; }
11821 # Make sure either enable_shared or enable_static is yes.
11822 test "$enable_shared" = yes || enable_static=yes
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11824 $as_echo "$enable_static" >&6; }
11830 ac_ext=c
11831 ac_cpp='$CPP $CPPFLAGS'
11832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11836 CC="$lt_save_CC"
11838 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11839 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11840 (test "X$CXX" != "Xg++"))) ; then
11841 ac_ext=cpp
11842 ac_cpp='$CXXCPP $CPPFLAGS'
11843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11847 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11848 if test -z "$CXXCPP"; then
11849 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11850 $as_echo_n "(cached) " >&6
11851 else
11852 # Double quotes because CXXCPP needs to be expanded
11853 for CXXCPP in "$CXX -E" "/lib/cpp"
11855 ac_preproc_ok=false
11856 for ac_cxx_preproc_warn_flag in '' yes
11858 # Use a header file that comes with gcc, so configuring glibc
11859 # with a fresh cross-compiler works.
11860 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11861 # <limits.h> exists even on freestanding compilers.
11862 # On the NeXT, cc -E runs the code through the compiler's parser,
11863 # not just through cpp. "Syntax error" is here to catch this case.
11864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11866 #ifdef __STDC__
11867 # include <limits.h>
11868 #else
11869 # include <assert.h>
11870 #endif
11871 Syntax error
11872 _ACEOF
11873 if ac_fn_cxx_try_cpp "$LINENO"; then :
11875 else
11876 # Broken: fails on valid input.
11877 continue
11879 rm -f conftest.err conftest.$ac_ext
11881 # OK, works on sane cases. Now check whether nonexistent headers
11882 # can be detected and how.
11883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11884 /* end confdefs.h. */
11885 #include <ac_nonexistent.h>
11886 _ACEOF
11887 if ac_fn_cxx_try_cpp "$LINENO"; then :
11888 # Broken: success on invalid input.
11889 continue
11890 else
11891 # Passes both tests.
11892 ac_preproc_ok=:
11893 break
11895 rm -f conftest.err conftest.$ac_ext
11897 done
11898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11899 rm -f conftest.err conftest.$ac_ext
11900 if $ac_preproc_ok; then :
11901 break
11904 done
11905 ac_cv_prog_CXXCPP=$CXXCPP
11908 CXXCPP=$ac_cv_prog_CXXCPP
11909 else
11910 ac_cv_prog_CXXCPP=$CXXCPP
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11913 $as_echo "$CXXCPP" >&6; }
11914 ac_preproc_ok=false
11915 for ac_cxx_preproc_warn_flag in '' yes
11917 # Use a header file that comes with gcc, so configuring glibc
11918 # with a fresh cross-compiler works.
11919 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11920 # <limits.h> exists even on freestanding compilers.
11921 # On the NeXT, cc -E runs the code through the compiler's parser,
11922 # not just through cpp. "Syntax error" is here to catch this case.
11923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11925 #ifdef __STDC__
11926 # include <limits.h>
11927 #else
11928 # include <assert.h>
11929 #endif
11930 Syntax error
11931 _ACEOF
11932 if ac_fn_cxx_try_cpp "$LINENO"; then :
11934 else
11935 # Broken: fails on valid input.
11936 continue
11938 rm -f conftest.err conftest.$ac_ext
11940 # OK, works on sane cases. Now check whether nonexistent headers
11941 # can be detected and how.
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11944 #include <ac_nonexistent.h>
11945 _ACEOF
11946 if ac_fn_cxx_try_cpp "$LINENO"; then :
11947 # Broken: success on invalid input.
11948 continue
11949 else
11950 # Passes both tests.
11951 ac_preproc_ok=:
11952 break
11954 rm -f conftest.err conftest.$ac_ext
11956 done
11957 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11958 rm -f conftest.err conftest.$ac_ext
11959 if $ac_preproc_ok; then :
11961 else
11962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11964 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11965 See \`config.log' for more details." "$LINENO" 5; }
11968 ac_ext=c
11969 ac_cpp='$CPP $CPPFLAGS'
11970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11974 else
11975 _lt_caught_CXX_error=yes
11978 ac_ext=cpp
11979 ac_cpp='$CXXCPP $CPPFLAGS'
11980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11984 archive_cmds_need_lc_CXX=no
11985 allow_undefined_flag_CXX=
11986 always_export_symbols_CXX=no
11987 archive_expsym_cmds_CXX=
11988 compiler_needs_object_CXX=no
11989 export_dynamic_flag_spec_CXX=
11990 hardcode_direct_CXX=no
11991 hardcode_direct_absolute_CXX=no
11992 hardcode_libdir_flag_spec_CXX=
11993 hardcode_libdir_flag_spec_ld_CXX=
11994 hardcode_libdir_separator_CXX=
11995 hardcode_minus_L_CXX=no
11996 hardcode_shlibpath_var_CXX=unsupported
11997 hardcode_automatic_CXX=no
11998 inherit_rpath_CXX=no
11999 module_cmds_CXX=
12000 module_expsym_cmds_CXX=
12001 link_all_deplibs_CXX=unknown
12002 old_archive_cmds_CXX=$old_archive_cmds
12003 reload_flag_CXX=$reload_flag
12004 reload_cmds_CXX=$reload_cmds
12005 no_undefined_flag_CXX=
12006 whole_archive_flag_spec_CXX=
12007 enable_shared_with_static_runtimes_CXX=no
12009 # Source file extension for C++ test sources.
12010 ac_ext=cpp
12012 # Object file extension for compiled C++ test sources.
12013 objext=o
12014 objext_CXX=$objext
12016 # No sense in running all these tests if we already determined that
12017 # the CXX compiler isn't working. Some variables (like enable_shared)
12018 # are currently assumed to apply to all compilers on this platform,
12019 # and will be corrupted by setting them based on a non-working compiler.
12020 if test "$_lt_caught_CXX_error" != yes; then
12021 # Code to be used in simple compile tests
12022 lt_simple_compile_test_code="int some_variable = 0;"
12024 # Code to be used in simple link tests
12025 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12027 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12034 # If no C compiler was specified, use CC.
12035 LTCC=${LTCC-"$CC"}
12037 # If no C compiler flags were specified, use CFLAGS.
12038 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12040 # Allow CC to be a program name with arguments.
12041 compiler=$CC
12044 # save warnings/boilerplate of simple test code
12045 ac_outfile=conftest.$ac_objext
12046 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12047 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12048 _lt_compiler_boilerplate=`cat conftest.err`
12049 $RM conftest*
12051 ac_outfile=conftest.$ac_objext
12052 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12053 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12054 _lt_linker_boilerplate=`cat conftest.err`
12055 $RM -r conftest*
12058 # Allow CC to be a program name with arguments.
12059 lt_save_CC=$CC
12060 lt_save_LD=$LD
12061 lt_save_GCC=$GCC
12062 GCC=$GXX
12063 lt_save_with_gnu_ld=$with_gnu_ld
12064 lt_save_path_LD=$lt_cv_path_LD
12065 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12066 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12067 else
12068 $as_unset lt_cv_prog_gnu_ld
12070 if test -n "${lt_cv_path_LDCXX+set}"; then
12071 lt_cv_path_LD=$lt_cv_path_LDCXX
12072 else
12073 $as_unset lt_cv_path_LD
12075 test -z "${LDCXX+set}" || LD=$LDCXX
12076 CC=${CXX-"c++"}
12077 compiler=$CC
12078 compiler_CXX=$CC
12079 for cc_temp in $compiler""; do
12080 case $cc_temp in
12081 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12082 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12083 \-*) ;;
12084 *) break;;
12085 esac
12086 done
12087 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12090 if test -n "$compiler"; then
12091 # We don't want -fno-exception when compiling C++ code, so set the
12092 # no_builtin_flag separately
12093 if test "$GXX" = yes; then
12094 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12095 else
12096 lt_prog_compiler_no_builtin_flag_CXX=
12099 if test "$GXX" = yes; then
12100 # Set up default GNU C++ configuration
12104 # Check whether --with-gnu-ld was given.
12105 if test "${with_gnu_ld+set}" = set; then :
12106 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12107 else
12108 with_gnu_ld=no
12111 ac_prog=ld
12112 if test "$GCC" = yes; then
12113 # Check if gcc -print-prog-name=ld gives a path.
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12115 $as_echo_n "checking for ld used by $CC... " >&6; }
12116 case $host in
12117 *-*-mingw*)
12118 # gcc leaves a trailing carriage return which upsets mingw
12119 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12121 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12122 esac
12123 case $ac_prog in
12124 # Accept absolute paths.
12125 [\\/]* | ?:[\\/]*)
12126 re_direlt='/[^/][^/]*/\.\./'
12127 # Canonicalize the pathname of ld
12128 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12129 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12130 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12131 done
12132 test -z "$LD" && LD="$ac_prog"
12135 # If it fails, then pretend we aren't using GCC.
12136 ac_prog=ld
12139 # If it is relative, then search for the first ld in PATH.
12140 with_gnu_ld=unknown
12142 esac
12143 elif test "$with_gnu_ld" = yes; then
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12145 $as_echo_n "checking for GNU ld... " >&6; }
12146 else
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12148 $as_echo_n "checking for non-GNU ld... " >&6; }
12150 if test "${lt_cv_path_LD+set}" = set; then :
12151 $as_echo_n "(cached) " >&6
12152 else
12153 if test -z "$LD"; then
12154 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12155 for ac_dir in $PATH; do
12156 IFS="$lt_save_ifs"
12157 test -z "$ac_dir" && ac_dir=.
12158 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12159 lt_cv_path_LD="$ac_dir/$ac_prog"
12160 # Check to see if the program is GNU ld. I'd rather use --version,
12161 # but apparently some variants of GNU ld only accept -v.
12162 # Break only if it was the GNU/non-GNU ld that we prefer.
12163 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12164 *GNU* | *'with BFD'*)
12165 test "$with_gnu_ld" != no && break
12168 test "$with_gnu_ld" != yes && break
12170 esac
12172 done
12173 IFS="$lt_save_ifs"
12174 else
12175 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12179 LD="$lt_cv_path_LD"
12180 if test -n "$LD"; then
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12182 $as_echo "$LD" >&6; }
12183 else
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12185 $as_echo "no" >&6; }
12187 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12189 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12190 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12191 $as_echo_n "(cached) " >&6
12192 else
12193 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12194 case `$LD -v 2>&1 </dev/null` in
12195 *GNU* | *'with BFD'*)
12196 lt_cv_prog_gnu_ld=yes
12199 lt_cv_prog_gnu_ld=no
12201 esac
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12204 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12205 with_gnu_ld=$lt_cv_prog_gnu_ld
12213 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12214 # archiving commands below assume that GNU ld is being used.
12215 if test "$with_gnu_ld" = yes; then
12216 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12217 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12219 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12220 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12222 # If archive_cmds runs LD, not CC, wlarc should be empty
12223 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12224 # investigate it a little bit more. (MM)
12225 wlarc='${wl}'
12227 # ancient GNU ld didn't support --whole-archive et. al.
12228 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12229 $GREP 'no-whole-archive' > /dev/null; then
12230 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12231 else
12232 whole_archive_flag_spec_CXX=
12234 else
12235 with_gnu_ld=no
12236 wlarc=
12238 # A generic and very simple default shared library creation
12239 # command for GNU C++ for the case where it uses the native
12240 # linker, instead of GNU ld. If possible, this setting should
12241 # overridden to take advantage of the native linker features on
12242 # the platform it is being used on.
12243 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12246 # Commands to make compiler produce verbose output that lists
12247 # what "hidden" libraries, object files and flags are used when
12248 # linking a shared library.
12249 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12251 else
12252 GXX=no
12253 with_gnu_ld=no
12254 wlarc=
12257 # PORTME: fill in a description of your system's C++ link characteristics
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12259 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12260 ld_shlibs_CXX=yes
12261 case $host_os in
12262 aix3*)
12263 # FIXME: insert proper C++ library support
12264 ld_shlibs_CXX=no
12266 aix[4-9]*)
12267 if test "$host_cpu" = ia64; then
12268 # On IA64, the linker does run time linking by default, so we don't
12269 # have to do anything special.
12270 aix_use_runtimelinking=no
12271 exp_sym_flag='-Bexport'
12272 no_entry_flag=""
12273 else
12274 aix_use_runtimelinking=no
12276 # Test if we are trying to use run time linking or normal
12277 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12278 # need to do runtime linking.
12279 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12280 for ld_flag in $LDFLAGS; do
12281 case $ld_flag in
12282 *-brtl*)
12283 aix_use_runtimelinking=yes
12284 break
12286 esac
12287 done
12289 esac
12291 exp_sym_flag='-bexport'
12292 no_entry_flag='-bnoentry'
12295 # When large executables or shared objects are built, AIX ld can
12296 # have problems creating the table of contents. If linking a library
12297 # or program results in "error TOC overflow" add -mminimal-toc to
12298 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12299 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12301 archive_cmds_CXX=''
12302 hardcode_direct_CXX=yes
12303 hardcode_direct_absolute_CXX=yes
12304 hardcode_libdir_separator_CXX=':'
12305 link_all_deplibs_CXX=yes
12306 file_list_spec_CXX='${wl}-f,'
12308 if test "$GXX" = yes; then
12309 case $host_os in aix4.[012]|aix4.[012].*)
12310 # We only want to do this on AIX 4.2 and lower, the check
12311 # below for broken collect2 doesn't work under 4.3+
12312 collect2name=`${CC} -print-prog-name=collect2`
12313 if test -f "$collect2name" &&
12314 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12315 then
12316 # We have reworked collect2
12318 else
12319 # We have old collect2
12320 hardcode_direct_CXX=unsupported
12321 # It fails to find uninstalled libraries when the uninstalled
12322 # path is not listed in the libpath. Setting hardcode_minus_L
12323 # to unsupported forces relinking
12324 hardcode_minus_L_CXX=yes
12325 hardcode_libdir_flag_spec_CXX='-L$libdir'
12326 hardcode_libdir_separator_CXX=
12328 esac
12329 shared_flag='-shared'
12330 if test "$aix_use_runtimelinking" = yes; then
12331 shared_flag="$shared_flag "'${wl}-G'
12333 else
12334 # not using gcc
12335 if test "$host_cpu" = ia64; then
12336 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12337 # chokes on -Wl,-G. The following line is correct:
12338 shared_flag='-G'
12339 else
12340 if test "$aix_use_runtimelinking" = yes; then
12341 shared_flag='${wl}-G'
12342 else
12343 shared_flag='${wl}-bM:SRE'
12348 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12349 # It seems that -bexpall does not export symbols beginning with
12350 # underscore (_), so it is better to generate a list of symbols to
12351 # export.
12352 always_export_symbols_CXX=yes
12353 if test "$aix_use_runtimelinking" = yes; then
12354 # Warning - without using the other runtime loading flags (-brtl),
12355 # -berok will link without error, but may produce a broken library.
12356 allow_undefined_flag_CXX='-berok'
12357 # Determine the default libpath from the value encoded in an empty
12358 # executable.
12359 if test x$gcc_no_link = xyes; then
12360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12366 main ()
12370 return 0;
12372 _ACEOF
12373 if ac_fn_cxx_try_link "$LINENO"; then :
12375 lt_aix_libpath_sed='
12376 /Import File Strings/,/^$/ {
12377 /^0/ {
12378 s/^0 *\(.*\)$/\1/
12382 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12383 # Check for a 64-bit object if we didn't find anything.
12384 if test -z "$aix_libpath"; then
12385 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12388 rm -f core conftest.err conftest.$ac_objext \
12389 conftest$ac_exeext conftest.$ac_ext
12390 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12392 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12394 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"
12395 else
12396 if test "$host_cpu" = ia64; then
12397 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12398 allow_undefined_flag_CXX="-z nodefs"
12399 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"
12400 else
12401 # Determine the default libpath from the value encoded in an
12402 # empty executable.
12403 if test x$gcc_no_link = xyes; then
12404 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12410 main ()
12414 return 0;
12416 _ACEOF
12417 if ac_fn_cxx_try_link "$LINENO"; then :
12419 lt_aix_libpath_sed='
12420 /Import File Strings/,/^$/ {
12421 /^0/ {
12422 s/^0 *\(.*\)$/\1/
12426 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12427 # Check for a 64-bit object if we didn't find anything.
12428 if test -z "$aix_libpath"; then
12429 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12432 rm -f core conftest.err conftest.$ac_objext \
12433 conftest$ac_exeext conftest.$ac_ext
12434 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12436 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12437 # Warning - without using the other run time loading flags,
12438 # -berok will link without error, but may produce a broken library.
12439 no_undefined_flag_CXX=' ${wl}-bernotok'
12440 allow_undefined_flag_CXX=' ${wl}-berok'
12441 if test "$with_gnu_ld" = yes; then
12442 # We only use this code for GNU lds that support --whole-archive.
12443 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12444 else
12445 # Exported symbols can be pulled into shared objects from archives
12446 whole_archive_flag_spec_CXX='$convenience'
12448 archive_cmds_need_lc_CXX=yes
12449 # This is similar to how AIX traditionally builds its shared
12450 # libraries.
12451 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'
12456 beos*)
12457 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12458 allow_undefined_flag_CXX=unsupported
12459 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12460 # support --undefined. This deserves some investigation. FIXME
12461 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12462 else
12463 ld_shlibs_CXX=no
12467 chorus*)
12468 case $cc_basename in
12470 # FIXME: insert proper C++ library support
12471 ld_shlibs_CXX=no
12473 esac
12476 cygwin* | mingw* | pw32* | cegcc*)
12477 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12478 # as there is no search path for DLLs.
12479 hardcode_libdir_flag_spec_CXX='-L$libdir'
12480 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12481 allow_undefined_flag_CXX=unsupported
12482 always_export_symbols_CXX=no
12483 enable_shared_with_static_runtimes_CXX=yes
12485 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12486 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'
12487 # If the export-symbols file already is a .def file (1st line
12488 # is EXPORTS), use it as is; otherwise, prepend...
12489 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12490 cp $export_symbols $output_objdir/$soname.def;
12491 else
12492 echo EXPORTS > $output_objdir/$soname.def;
12493 cat $export_symbols >> $output_objdir/$soname.def;
12495 $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'
12496 else
12497 ld_shlibs_CXX=no
12500 darwin* | rhapsody*)
12503 archive_cmds_need_lc_CXX=no
12504 hardcode_direct_CXX=no
12505 hardcode_automatic_CXX=yes
12506 hardcode_shlibpath_var_CXX=unsupported
12507 if test "$lt_cv_ld_force_load" = "yes"; then
12508 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\"`'
12509 else
12510 whole_archive_flag_spec_CXX=''
12512 link_all_deplibs_CXX=yes
12513 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12514 case $cc_basename in
12515 ifort*) _lt_dar_can_shared=yes ;;
12516 *) _lt_dar_can_shared=$GCC ;;
12517 esac
12518 if test "$_lt_dar_can_shared" = "yes"; then
12519 output_verbose_link_cmd=func_echo_all
12520 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}"
12521 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12522 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}"
12523 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}"
12524 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12525 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}"
12526 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}"
12529 else
12530 ld_shlibs_CXX=no
12535 dgux*)
12536 case $cc_basename in
12537 ec++*)
12538 # FIXME: insert proper C++ library support
12539 ld_shlibs_CXX=no
12541 ghcx*)
12542 # Green Hills C++ Compiler
12543 # FIXME: insert proper C++ library support
12544 ld_shlibs_CXX=no
12547 # FIXME: insert proper C++ library support
12548 ld_shlibs_CXX=no
12550 esac
12553 freebsd2.*)
12554 # C++ shared libraries reported to be fairly broken before
12555 # switch to ELF
12556 ld_shlibs_CXX=no
12559 freebsd-elf*)
12560 archive_cmds_need_lc_CXX=no
12563 freebsd* | dragonfly*)
12564 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12565 # conventions
12566 ld_shlibs_CXX=yes
12569 gnu*)
12572 haiku*)
12573 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12574 link_all_deplibs_CXX=yes
12577 hpux9*)
12578 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12579 hardcode_libdir_separator_CXX=:
12580 export_dynamic_flag_spec_CXX='${wl}-E'
12581 hardcode_direct_CXX=yes
12582 hardcode_minus_L_CXX=yes # Not in the search PATH,
12583 # but as the default
12584 # location of the library.
12586 case $cc_basename in
12587 CC*)
12588 # FIXME: insert proper C++ library support
12589 ld_shlibs_CXX=no
12591 aCC*)
12592 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'
12593 # Commands to make compiler produce verbose output that lists
12594 # what "hidden" libraries, object files and flags are used when
12595 # linking a shared library.
12597 # There doesn't appear to be a way to prevent this compiler from
12598 # explicitly linking system object files so we need to strip them
12599 # from the output so that they don't get included in the library
12600 # dependencies.
12601 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"'
12604 if test "$GXX" = yes; then
12605 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'
12606 else
12607 # FIXME: insert proper C++ library support
12608 ld_shlibs_CXX=no
12611 esac
12614 hpux10*|hpux11*)
12615 if test $with_gnu_ld = no; then
12616 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12617 hardcode_libdir_separator_CXX=:
12619 case $host_cpu in
12620 hppa*64*|ia64*)
12623 export_dynamic_flag_spec_CXX='${wl}-E'
12625 esac
12627 case $host_cpu in
12628 hppa*64*|ia64*)
12629 hardcode_direct_CXX=no
12630 hardcode_shlibpath_var_CXX=no
12633 hardcode_direct_CXX=yes
12634 hardcode_direct_absolute_CXX=yes
12635 hardcode_minus_L_CXX=yes # Not in the search PATH,
12636 # but as the default
12637 # location of the library.
12639 esac
12641 case $cc_basename in
12642 CC*)
12643 # FIXME: insert proper C++ library support
12644 ld_shlibs_CXX=no
12646 aCC*)
12647 case $host_cpu in
12648 hppa*64*)
12649 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651 ia64*)
12652 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12655 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657 esac
12658 # Commands to make compiler produce verbose output that lists
12659 # what "hidden" libraries, object files and flags are used when
12660 # linking a shared library.
12662 # There doesn't appear to be a way to prevent this compiler from
12663 # explicitly linking system object files so we need to strip them
12664 # from the output so that they don't get included in the library
12665 # dependencies.
12666 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"'
12669 if test "$GXX" = yes; then
12670 if test $with_gnu_ld = no; then
12671 case $host_cpu in
12672 hppa*64*)
12673 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12675 ia64*)
12676 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12679 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'
12681 esac
12683 else
12684 # FIXME: insert proper C++ library support
12685 ld_shlibs_CXX=no
12688 esac
12691 interix[3-9]*)
12692 hardcode_direct_CXX=no
12693 hardcode_shlibpath_var_CXX=no
12694 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12695 export_dynamic_flag_spec_CXX='${wl}-E'
12696 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12697 # Instead, shared libraries are loaded at an image base (0x10000000 by
12698 # default) and relocated if they conflict, which is a slow very memory
12699 # consuming and fragmenting process. To avoid this, we pick a random,
12700 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12701 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12702 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'
12703 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'
12705 irix5* | irix6*)
12706 case $cc_basename in
12707 CC*)
12708 # SGI C++
12709 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'
12711 # Archives containing C++ object files must be created using
12712 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12713 # necessary to make sure instantiated templates are included
12714 # in the archive.
12715 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12718 if test "$GXX" = yes; then
12719 if test "$with_gnu_ld" = no; then
12720 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'
12721 else
12722 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'
12725 link_all_deplibs_CXX=yes
12727 esac
12728 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12729 hardcode_libdir_separator_CXX=:
12730 inherit_rpath_CXX=yes
12733 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12734 case $cc_basename in
12735 KCC*)
12736 # Kuck and Associates, Inc. (KAI) C++ Compiler
12738 # KCC will only create a shared library if the output file
12739 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12740 # to its proper name (with version) after linking.
12741 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'
12742 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'
12743 # Commands to make compiler produce verbose output that lists
12744 # what "hidden" libraries, object files and flags are used when
12745 # linking a shared library.
12747 # There doesn't appear to be a way to prevent this compiler from
12748 # explicitly linking system object files so we need to strip them
12749 # from the output so that they don't get included in the library
12750 # dependencies.
12751 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"'
12753 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12754 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12756 # Archives containing C++ object files must be created using
12757 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12758 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12760 icpc* | ecpc* )
12761 # Intel C++
12762 with_gnu_ld=yes
12763 # version 8.0 and above of icpc choke on multiply defined symbols
12764 # if we add $predep_objects and $postdep_objects, however 7.1 and
12765 # earlier do not add the objects themselves.
12766 case `$CC -V 2>&1` in
12767 *"Version 7."*)
12768 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12769 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'
12771 *) # Version 8.0 or newer
12772 tmp_idyn=
12773 case $host_cpu in
12774 ia64*) tmp_idyn=' -i_dynamic';;
12775 esac
12776 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12777 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'
12779 esac
12780 archive_cmds_need_lc_CXX=no
12781 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12782 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12783 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12785 pgCC* | pgcpp*)
12786 # Portland Group C++ compiler
12787 case `$CC -V` in
12788 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12789 prelink_cmds_CXX='tpldir=Template.dir~
12790 rm -rf $tpldir~
12791 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12792 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12793 old_archive_cmds_CXX='tpldir=Template.dir~
12794 rm -rf $tpldir~
12795 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12796 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12797 $RANLIB $oldlib'
12798 archive_cmds_CXX='tpldir=Template.dir~
12799 rm -rf $tpldir~
12800 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12801 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12802 archive_expsym_cmds_CXX='tpldir=Template.dir~
12803 rm -rf $tpldir~
12804 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12805 $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'
12807 *) # Version 6 and above use weak symbols
12808 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12809 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'
12811 esac
12813 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12814 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12815 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'
12817 cxx*)
12818 # Compaq C++
12819 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12820 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'
12822 runpath_var=LD_RUN_PATH
12823 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12824 hardcode_libdir_separator_CXX=:
12826 # Commands to make compiler produce verbose output that lists
12827 # what "hidden" libraries, object files and flags are used when
12828 # linking a shared library.
12830 # There doesn't appear to be a way to prevent this compiler from
12831 # explicitly linking system object files so we need to strip them
12832 # from the output so that they don't get included in the library
12833 # dependencies.
12834 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'
12836 xl* | mpixl* | bgxl*)
12837 # IBM XL 8.0 on PPC, with GNU ld
12838 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12839 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12840 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12841 if test "x$supports_anon_versioning" = xyes; then
12842 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12843 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12844 echo "local: *; };" >> $output_objdir/$libname.ver~
12845 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12849 case `$CC -V 2>&1 | sed 5q` in
12850 *Sun\ C*)
12851 # Sun C++ 5.9
12852 no_undefined_flag_CXX=' -zdefs'
12853 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12854 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'
12855 hardcode_libdir_flag_spec_CXX='-R$libdir'
12856 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'
12857 compiler_needs_object_CXX=yes
12859 # Not sure whether something based on
12860 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12861 # would be better.
12862 output_verbose_link_cmd='func_echo_all'
12864 # Archives containing C++ object files must be created using
12865 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12866 # necessary to make sure instantiated templates are included
12867 # in the archive.
12868 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12870 esac
12872 esac
12875 lynxos*)
12876 # FIXME: insert proper C++ library support
12877 ld_shlibs_CXX=no
12880 m88k*)
12881 # FIXME: insert proper C++ library support
12882 ld_shlibs_CXX=no
12885 mvs*)
12886 case $cc_basename in
12887 cxx*)
12888 # FIXME: insert proper C++ library support
12889 ld_shlibs_CXX=no
12892 # FIXME: insert proper C++ library support
12893 ld_shlibs_CXX=no
12895 esac
12898 netbsd*)
12899 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12900 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12901 wlarc=
12902 hardcode_libdir_flag_spec_CXX='-R$libdir'
12903 hardcode_direct_CXX=yes
12904 hardcode_shlibpath_var_CXX=no
12906 # Workaround some broken pre-1.5 toolchains
12907 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12910 *nto* | *qnx*)
12911 ld_shlibs_CXX=yes
12914 openbsd2*)
12915 # C++ shared libraries are fairly broken
12916 ld_shlibs_CXX=no
12919 openbsd*)
12920 if test -f /usr/libexec/ld.so; then
12921 hardcode_direct_CXX=yes
12922 hardcode_shlibpath_var_CXX=no
12923 hardcode_direct_absolute_CXX=yes
12924 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12925 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12926 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12927 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12928 export_dynamic_flag_spec_CXX='${wl}-E'
12929 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12931 output_verbose_link_cmd=func_echo_all
12932 else
12933 ld_shlibs_CXX=no
12937 osf3* | osf4* | osf5*)
12938 case $cc_basename in
12939 KCC*)
12940 # Kuck and Associates, Inc. (KAI) C++ Compiler
12942 # KCC will only create a shared library if the output file
12943 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12944 # to its proper name (with version) after linking.
12945 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'
12947 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12948 hardcode_libdir_separator_CXX=:
12950 # Archives containing C++ object files must be created using
12951 # the KAI C++ compiler.
12952 case $host in
12953 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12954 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12955 esac
12957 RCC*)
12958 # Rational C++ 2.4.1
12959 # FIXME: insert proper C++ library support
12960 ld_shlibs_CXX=no
12962 cxx*)
12963 case $host in
12964 osf3*)
12965 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12966 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'
12967 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12970 allow_undefined_flag_CXX=' -expect_unresolved \*'
12971 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'
12972 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12973 echo "-hidden">> $lib.exp~
12974 $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~
12975 $RM $lib.exp'
12976 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12978 esac
12980 hardcode_libdir_separator_CXX=:
12982 # Commands to make compiler produce verbose output that lists
12983 # what "hidden" libraries, object files and flags are used when
12984 # linking a shared library.
12986 # There doesn't appear to be a way to prevent this compiler from
12987 # explicitly linking system object files so we need to strip them
12988 # from the output so that they don't get included in the library
12989 # dependencies.
12990 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"'
12993 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12994 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12995 case $host in
12996 osf3*)
12997 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'
13000 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'
13002 esac
13004 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13005 hardcode_libdir_separator_CXX=:
13007 # Commands to make compiler produce verbose output that lists
13008 # what "hidden" libraries, object files and flags are used when
13009 # linking a shared library.
13010 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13012 else
13013 # FIXME: insert proper C++ library support
13014 ld_shlibs_CXX=no
13017 esac
13020 psos*)
13021 # FIXME: insert proper C++ library support
13022 ld_shlibs_CXX=no
13025 sunos4*)
13026 case $cc_basename in
13027 CC*)
13028 # Sun C++ 4.x
13029 # FIXME: insert proper C++ library support
13030 ld_shlibs_CXX=no
13032 lcc*)
13033 # Lucid
13034 # FIXME: insert proper C++ library support
13035 ld_shlibs_CXX=no
13038 # FIXME: insert proper C++ library support
13039 ld_shlibs_CXX=no
13041 esac
13044 solaris*)
13045 case $cc_basename in
13046 CC*)
13047 # Sun C++ 4.2, 5.x and Centerline C++
13048 archive_cmds_need_lc_CXX=yes
13049 no_undefined_flag_CXX=' -zdefs'
13050 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13051 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13052 $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'
13054 hardcode_libdir_flag_spec_CXX='-R$libdir'
13055 hardcode_shlibpath_var_CXX=no
13056 case $host_os in
13057 solaris2.[0-5] | solaris2.[0-5].*) ;;
13059 # The compiler driver will combine and reorder linker options,
13060 # but understands `-z linker_flag'.
13061 # Supported since Solaris 2.6 (maybe 2.5.1?)
13062 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13064 esac
13065 link_all_deplibs_CXX=yes
13067 output_verbose_link_cmd='func_echo_all'
13069 # Archives containing C++ object files must be created using
13070 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13071 # necessary to make sure instantiated templates are included
13072 # in the archive.
13073 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13075 gcx*)
13076 # Green Hills C++ Compiler
13077 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13079 # The C++ compiler must be used to create the archive.
13080 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13083 # GNU C++ compiler with Solaris linker
13084 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13085 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13086 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13087 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13088 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13089 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13091 # Commands to make compiler produce verbose output that lists
13092 # what "hidden" libraries, object files and flags are used when
13093 # linking a shared library.
13094 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13095 else
13096 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13097 # platform.
13098 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13099 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13100 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13102 # Commands to make compiler produce verbose output that lists
13103 # what "hidden" libraries, object files and flags are used when
13104 # linking a shared library.
13105 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13108 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13109 case $host_os in
13110 solaris2.[0-5] | solaris2.[0-5].*) ;;
13112 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13114 esac
13117 esac
13120 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13121 no_undefined_flag_CXX='${wl}-z,text'
13122 archive_cmds_need_lc_CXX=no
13123 hardcode_shlibpath_var_CXX=no
13124 runpath_var='LD_RUN_PATH'
13126 case $cc_basename in
13127 CC*)
13128 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13129 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13132 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 esac
13138 sysv5* | sco3.2v5* | sco5v6*)
13139 # Note: We can NOT use -z defs as we might desire, because we do not
13140 # link with -lc, and that would cause any symbols used from libc to
13141 # always be unresolved, which means just about no library would
13142 # ever link correctly. If we're not using GNU ld we use -z text
13143 # though, which does catch some bad symbols but isn't as heavy-handed
13144 # as -z defs.
13145 no_undefined_flag_CXX='${wl}-z,text'
13146 allow_undefined_flag_CXX='${wl}-z,nodefs'
13147 archive_cmds_need_lc_CXX=no
13148 hardcode_shlibpath_var_CXX=no
13149 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13150 hardcode_libdir_separator_CXX=':'
13151 link_all_deplibs_CXX=yes
13152 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13153 runpath_var='LD_RUN_PATH'
13155 case $cc_basename in
13156 CC*)
13157 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13158 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13160 '"$old_archive_cmds_CXX"
13161 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13162 '"$reload_cmds_CXX"
13165 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13166 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13168 esac
13171 tandem*)
13172 case $cc_basename in
13173 NCC*)
13174 # NonStop-UX NCC 3.20
13175 # FIXME: insert proper C++ library support
13176 ld_shlibs_CXX=no
13179 # FIXME: insert proper C++ library support
13180 ld_shlibs_CXX=no
13182 esac
13185 vxworks*)
13186 # FIXME: insert proper C++ library support
13187 ld_shlibs_CXX=no
13191 # FIXME: insert proper C++ library support
13192 ld_shlibs_CXX=no
13194 esac
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13197 $as_echo "$ld_shlibs_CXX" >&6; }
13198 test "$ld_shlibs_CXX" = no && can_build_shared=no
13200 GCC_CXX="$GXX"
13201 LD_CXX="$LD"
13203 ## CAVEAT EMPTOR:
13204 ## There is no encapsulation within the following macros, do not change
13205 ## the running order or otherwise move them around unless you know exactly
13206 ## what you are doing...
13207 # Dependencies to place before and after the object being linked:
13208 predep_objects_CXX=
13209 postdep_objects_CXX=
13210 predeps_CXX=
13211 postdeps_CXX=
13212 compiler_lib_search_path_CXX=
13214 cat > conftest.$ac_ext <<_LT_EOF
13215 class Foo
13217 public:
13218 Foo (void) { a = 0; }
13219 private:
13220 int a;
13222 _LT_EOF
13224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13225 (eval $ac_compile) 2>&5
13226 ac_status=$?
13227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13228 test $ac_status = 0; }; then
13229 # Parse the compiler output and extract the necessary
13230 # objects, libraries and library flags.
13232 # Sentinel used to keep track of whether or not we are before
13233 # the conftest object file.
13234 pre_test_object_deps_done=no
13236 for p in `eval "$output_verbose_link_cmd"`; do
13237 case $p in
13239 -L* | -R* | -l*)
13240 # Some compilers place space between "-{L,R}" and the path.
13241 # Remove the space.
13242 if test $p = "-L" ||
13243 test $p = "-R"; then
13244 prev=$p
13245 continue
13246 else
13247 prev=
13250 if test "$pre_test_object_deps_done" = no; then
13251 case $p in
13252 -L* | -R*)
13253 # Internal compiler library paths should come after those
13254 # provided the user. The postdeps already come after the
13255 # user supplied libs so there is no need to process them.
13256 if test -z "$compiler_lib_search_path_CXX"; then
13257 compiler_lib_search_path_CXX="${prev}${p}"
13258 else
13259 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13262 # The "-l" case would never come before the object being
13263 # linked, so don't bother handling this case.
13264 esac
13265 else
13266 if test -z "$postdeps_CXX"; then
13267 postdeps_CXX="${prev}${p}"
13268 else
13269 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13274 *.$objext)
13275 # This assumes that the test object file only shows up
13276 # once in the compiler output.
13277 if test "$p" = "conftest.$objext"; then
13278 pre_test_object_deps_done=yes
13279 continue
13282 if test "$pre_test_object_deps_done" = no; then
13283 if test -z "$predep_objects_CXX"; then
13284 predep_objects_CXX="$p"
13285 else
13286 predep_objects_CXX="$predep_objects_CXX $p"
13288 else
13289 if test -z "$postdep_objects_CXX"; then
13290 postdep_objects_CXX="$p"
13291 else
13292 postdep_objects_CXX="$postdep_objects_CXX $p"
13297 *) ;; # Ignore the rest.
13299 esac
13300 done
13302 # Clean up.
13303 rm -f a.out a.exe
13304 else
13305 echo "libtool.m4: error: problem compiling CXX test program"
13308 $RM -f confest.$objext
13310 # PORTME: override above test on systems where it is broken
13311 case $host_os in
13312 interix[3-9]*)
13313 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13314 # hack all around it, let's just trust "g++" to DTRT.
13315 predep_objects_CXX=
13316 postdep_objects_CXX=
13317 postdeps_CXX=
13320 linux*)
13321 case `$CC -V 2>&1 | sed 5q` in
13322 *Sun\ C*)
13323 # Sun C++ 5.9
13325 # The more standards-conforming stlport4 library is
13326 # incompatible with the Cstd library. Avoid specifying
13327 # it if it's in CXXFLAGS. Ignore libCrun as
13328 # -library=stlport4 depends on it.
13329 case " $CXX $CXXFLAGS " in
13330 *" -library=stlport4 "*)
13331 solaris_use_stlport4=yes
13333 esac
13335 if test "$solaris_use_stlport4" != yes; then
13336 postdeps_CXX='-library=Cstd -library=Crun'
13339 esac
13342 solaris*)
13343 case $cc_basename in
13344 CC*)
13345 # The more standards-conforming stlport4 library is
13346 # incompatible with the Cstd library. Avoid specifying
13347 # it if it's in CXXFLAGS. Ignore libCrun as
13348 # -library=stlport4 depends on it.
13349 case " $CXX $CXXFLAGS " in
13350 *" -library=stlport4 "*)
13351 solaris_use_stlport4=yes
13353 esac
13355 # Adding this requires a known-good setup of shared libraries for
13356 # Sun compiler versions before 5.6, else PIC objects from an old
13357 # archive will be linked into the output, leading to subtle bugs.
13358 if test "$solaris_use_stlport4" != yes; then
13359 postdeps_CXX='-library=Cstd -library=Crun'
13362 esac
13364 esac
13367 case " $postdeps_CXX " in
13368 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13369 esac
13370 compiler_lib_search_dirs_CXX=
13371 if test -n "${compiler_lib_search_path_CXX}"; then
13372 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13405 lt_prog_compiler_wl_CXX=
13406 lt_prog_compiler_pic_CXX=
13407 lt_prog_compiler_static_CXX=
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13410 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13412 # C++ specific cases for pic, static, wl, etc.
13413 if test "$GXX" = yes; then
13414 lt_prog_compiler_wl_CXX='-Wl,'
13415 lt_prog_compiler_static_CXX='-static'
13417 case $host_os in
13418 aix*)
13419 # All AIX code is PIC.
13420 if test "$host_cpu" = ia64; then
13421 # AIX 5 now supports IA64 processor
13422 lt_prog_compiler_static_CXX='-Bstatic'
13424 lt_prog_compiler_pic_CXX='-fPIC'
13427 amigaos*)
13428 case $host_cpu in
13429 powerpc)
13430 # see comment about AmigaOS4 .so support
13431 lt_prog_compiler_pic_CXX='-fPIC'
13433 m68k)
13434 # FIXME: we need at least 68020 code to build shared libraries, but
13435 # adding the `-m68020' flag to GCC prevents building anything better,
13436 # like `-m68040'.
13437 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13439 esac
13442 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13443 # PIC is the default for these OSes.
13445 mingw* | cygwin* | os2* | pw32* | cegcc*)
13446 # This hack is so that the source file can tell whether it is being
13447 # built for inclusion in a dll (and should export symbols for example).
13448 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13449 # (--disable-auto-import) libraries
13450 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13452 darwin* | rhapsody*)
13453 # PIC is the default on this platform
13454 # Common symbols not allowed in MH_DYLIB files
13455 lt_prog_compiler_pic_CXX='-fno-common'
13457 *djgpp*)
13458 # DJGPP does not support shared libraries at all
13459 lt_prog_compiler_pic_CXX=
13461 haiku*)
13462 # PIC is the default for Haiku.
13463 # The "-static" flag exists, but is broken.
13464 lt_prog_compiler_static_CXX=
13466 interix[3-9]*)
13467 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13468 # Instead, we relocate shared libraries at runtime.
13470 sysv4*MP*)
13471 if test -d /usr/nec; then
13472 lt_prog_compiler_pic_CXX=-Kconform_pic
13475 hpux*)
13476 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13477 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13478 # sets the default TLS model and affects inlining.
13479 case $host_cpu in
13480 hppa*64*)
13483 lt_prog_compiler_pic_CXX='-fPIC'
13485 esac
13487 *qnx* | *nto*)
13488 # QNX uses GNU C++, but need to define -shared option too, otherwise
13489 # it will coredump.
13490 lt_prog_compiler_pic_CXX='-fPIC -shared'
13493 lt_prog_compiler_pic_CXX='-fPIC'
13495 esac
13496 else
13497 case $host_os in
13498 aix[4-9]*)
13499 # All AIX code is PIC.
13500 if test "$host_cpu" = ia64; then
13501 # AIX 5 now supports IA64 processor
13502 lt_prog_compiler_static_CXX='-Bstatic'
13503 else
13504 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13507 chorus*)
13508 case $cc_basename in
13509 cxch68*)
13510 # Green Hills C++ Compiler
13511 # _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"
13513 esac
13515 dgux*)
13516 case $cc_basename in
13517 ec++*)
13518 lt_prog_compiler_pic_CXX='-KPIC'
13520 ghcx*)
13521 # Green Hills C++ Compiler
13522 lt_prog_compiler_pic_CXX='-pic'
13526 esac
13528 freebsd* | dragonfly*)
13529 # FreeBSD uses GNU C++
13531 hpux9* | hpux10* | hpux11*)
13532 case $cc_basename in
13533 CC*)
13534 lt_prog_compiler_wl_CXX='-Wl,'
13535 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13536 if test "$host_cpu" != ia64; then
13537 lt_prog_compiler_pic_CXX='+Z'
13540 aCC*)
13541 lt_prog_compiler_wl_CXX='-Wl,'
13542 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13543 case $host_cpu in
13544 hppa*64*|ia64*)
13545 # +Z the default
13548 lt_prog_compiler_pic_CXX='+Z'
13550 esac
13554 esac
13556 interix*)
13557 # This is c89, which is MS Visual C++ (no shared libs)
13558 # Anyone wants to do a port?
13560 irix5* | irix6* | nonstopux*)
13561 case $cc_basename in
13562 CC*)
13563 lt_prog_compiler_wl_CXX='-Wl,'
13564 lt_prog_compiler_static_CXX='-non_shared'
13565 # CC pic flag -KPIC is the default.
13569 esac
13571 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13572 case $cc_basename in
13573 KCC*)
13574 # KAI C++ Compiler
13575 lt_prog_compiler_wl_CXX='--backend -Wl,'
13576 lt_prog_compiler_pic_CXX='-fPIC'
13578 ecpc* )
13579 # old Intel C++ for x86_64 which still supported -KPIC.
13580 lt_prog_compiler_wl_CXX='-Wl,'
13581 lt_prog_compiler_pic_CXX='-KPIC'
13582 lt_prog_compiler_static_CXX='-static'
13584 icpc* )
13585 # Intel C++, used to be incompatible with GCC.
13586 # ICC 10 doesn't accept -KPIC any more.
13587 lt_prog_compiler_wl_CXX='-Wl,'
13588 lt_prog_compiler_pic_CXX='-fPIC'
13589 lt_prog_compiler_static_CXX='-static'
13591 pgCC* | pgcpp*)
13592 # Portland Group C++ compiler
13593 lt_prog_compiler_wl_CXX='-Wl,'
13594 lt_prog_compiler_pic_CXX='-fpic'
13595 lt_prog_compiler_static_CXX='-Bstatic'
13597 cxx*)
13598 # Compaq C++
13599 # Make sure the PIC flag is empty. It appears that all Alpha
13600 # Linux and Compaq Tru64 Unix objects are PIC.
13601 lt_prog_compiler_pic_CXX=
13602 lt_prog_compiler_static_CXX='-non_shared'
13604 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13605 # IBM XL 8.0, 9.0 on PPC and BlueGene
13606 lt_prog_compiler_wl_CXX='-Wl,'
13607 lt_prog_compiler_pic_CXX='-qpic'
13608 lt_prog_compiler_static_CXX='-qstaticlink'
13611 case `$CC -V 2>&1 | sed 5q` in
13612 *Sun\ C*)
13613 # Sun C++ 5.9
13614 lt_prog_compiler_pic_CXX='-KPIC'
13615 lt_prog_compiler_static_CXX='-Bstatic'
13616 lt_prog_compiler_wl_CXX='-Qoption ld '
13618 esac
13620 esac
13622 lynxos*)
13624 m88k*)
13626 mvs*)
13627 case $cc_basename in
13628 cxx*)
13629 lt_prog_compiler_pic_CXX='-W c,exportall'
13633 esac
13635 netbsd*)
13637 *qnx* | *nto*)
13638 # QNX uses GNU C++, but need to define -shared option too, otherwise
13639 # it will coredump.
13640 lt_prog_compiler_pic_CXX='-fPIC -shared'
13642 osf3* | osf4* | osf5*)
13643 case $cc_basename in
13644 KCC*)
13645 lt_prog_compiler_wl_CXX='--backend -Wl,'
13647 RCC*)
13648 # Rational C++ 2.4.1
13649 lt_prog_compiler_pic_CXX='-pic'
13651 cxx*)
13652 # Digital/Compaq C++
13653 lt_prog_compiler_wl_CXX='-Wl,'
13654 # Make sure the PIC flag is empty. It appears that all Alpha
13655 # Linux and Compaq Tru64 Unix objects are PIC.
13656 lt_prog_compiler_pic_CXX=
13657 lt_prog_compiler_static_CXX='-non_shared'
13661 esac
13663 psos*)
13665 solaris*)
13666 case $cc_basename in
13667 CC*)
13668 # Sun C++ 4.2, 5.x and Centerline C++
13669 lt_prog_compiler_pic_CXX='-KPIC'
13670 lt_prog_compiler_static_CXX='-Bstatic'
13671 lt_prog_compiler_wl_CXX='-Qoption ld '
13673 gcx*)
13674 # Green Hills C++ Compiler
13675 lt_prog_compiler_pic_CXX='-PIC'
13679 esac
13681 sunos4*)
13682 case $cc_basename in
13683 CC*)
13684 # Sun C++ 4.x
13685 lt_prog_compiler_pic_CXX='-pic'
13686 lt_prog_compiler_static_CXX='-Bstatic'
13688 lcc*)
13689 # Lucid
13690 lt_prog_compiler_pic_CXX='-pic'
13694 esac
13696 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13697 case $cc_basename in
13698 CC*)
13699 lt_prog_compiler_wl_CXX='-Wl,'
13700 lt_prog_compiler_pic_CXX='-KPIC'
13701 lt_prog_compiler_static_CXX='-Bstatic'
13703 esac
13705 tandem*)
13706 case $cc_basename in
13707 NCC*)
13708 # NonStop-UX NCC 3.20
13709 lt_prog_compiler_pic_CXX='-KPIC'
13713 esac
13715 vxworks*)
13718 lt_prog_compiler_can_build_shared_CXX=no
13720 esac
13723 case $host_os in
13724 # For platforms which do not support PIC, -DPIC is meaningless:
13725 *djgpp*)
13726 lt_prog_compiler_pic_CXX=
13729 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13731 esac
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13733 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13738 # Check to make sure the PIC flag actually works.
13740 if test -n "$lt_prog_compiler_pic_CXX"; then
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13742 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13743 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 lt_cv_prog_compiler_pic_works_CXX=no
13747 ac_outfile=conftest.$ac_objext
13748 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13749 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13750 # Insert the option either (1) after the last *FLAGS variable, or
13751 # (2) before a word containing "conftest.", or (3) at the end.
13752 # Note that $ac_compile itself does not contain backslashes and begins
13753 # with a dollar sign (not a hyphen), so the echo should work correctly.
13754 # The option is referenced via a variable to avoid confusing sed.
13755 lt_compile=`echo "$ac_compile" | $SED \
13756 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13757 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13758 -e 's:$: $lt_compiler_flag:'`
13759 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13760 (eval "$lt_compile" 2>conftest.err)
13761 ac_status=$?
13762 cat conftest.err >&5
13763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764 if (exit $ac_status) && test -s "$ac_outfile"; then
13765 # The compiler can only warn and ignore the option if not recognized
13766 # So say no if there are warnings other than the usual output.
13767 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13768 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13769 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13770 lt_cv_prog_compiler_pic_works_CXX=yes
13773 $RM conftest*
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13777 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13779 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13780 case $lt_prog_compiler_pic_CXX in
13781 "" | " "*) ;;
13782 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13783 esac
13784 else
13785 lt_prog_compiler_pic_CXX=
13786 lt_prog_compiler_can_build_shared_CXX=no
13794 # Check to make sure the static flag actually works.
13796 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13798 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13799 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13800 $as_echo_n "(cached) " >&6
13801 else
13802 lt_cv_prog_compiler_static_works_CXX=no
13803 save_LDFLAGS="$LDFLAGS"
13804 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13805 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13806 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13807 # The linker can only warn and ignore the option if not recognized
13808 # So say no if there are warnings
13809 if test -s conftest.err; then
13810 # Append any errors to the config.log.
13811 cat conftest.err 1>&5
13812 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13813 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13814 if diff conftest.exp conftest.er2 >/dev/null; then
13815 lt_cv_prog_compiler_static_works_CXX=yes
13817 else
13818 lt_cv_prog_compiler_static_works_CXX=yes
13821 $RM -r conftest*
13822 LDFLAGS="$save_LDFLAGS"
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13826 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13828 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13830 else
13831 lt_prog_compiler_static_CXX=
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13838 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13839 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 lt_cv_prog_compiler_c_o_CXX=no
13843 $RM -r conftest 2>/dev/null
13844 mkdir conftest
13845 cd conftest
13846 mkdir out
13847 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13849 lt_compiler_flag="-o out/conftest2.$ac_objext"
13850 # Insert the option either (1) after the last *FLAGS variable, or
13851 # (2) before a word containing "conftest.", or (3) at the end.
13852 # Note that $ac_compile itself does not contain backslashes and begins
13853 # with a dollar sign (not a hyphen), so the echo should work correctly.
13854 lt_compile=`echo "$ac_compile" | $SED \
13855 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13856 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13857 -e 's:$: $lt_compiler_flag:'`
13858 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13859 (eval "$lt_compile" 2>out/conftest.err)
13860 ac_status=$?
13861 cat out/conftest.err >&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13864 then
13865 # The compiler can only warn and ignore the option if not recognized
13866 # So say no if there are warnings
13867 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13868 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13869 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13870 lt_cv_prog_compiler_c_o_CXX=yes
13873 chmod u+w . 2>&5
13874 $RM conftest*
13875 # SGI C++ compiler will create directory out/ii_files/ for
13876 # template instantiation
13877 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13878 $RM out/* && rmdir out
13879 cd ..
13880 $RM -r conftest
13881 $RM conftest*
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13885 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13890 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13891 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13892 $as_echo_n "(cached) " >&6
13893 else
13894 lt_cv_prog_compiler_c_o_CXX=no
13895 $RM -r conftest 2>/dev/null
13896 mkdir conftest
13897 cd conftest
13898 mkdir out
13899 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13901 lt_compiler_flag="-o out/conftest2.$ac_objext"
13902 # Insert the option either (1) after the last *FLAGS variable, or
13903 # (2) before a word containing "conftest.", or (3) at the end.
13904 # Note that $ac_compile itself does not contain backslashes and begins
13905 # with a dollar sign (not a hyphen), so the echo should work correctly.
13906 lt_compile=`echo "$ac_compile" | $SED \
13907 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13908 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13909 -e 's:$: $lt_compiler_flag:'`
13910 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13911 (eval "$lt_compile" 2>out/conftest.err)
13912 ac_status=$?
13913 cat out/conftest.err >&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13916 then
13917 # The compiler can only warn and ignore the option if not recognized
13918 # So say no if there are warnings
13919 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13920 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13921 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13922 lt_cv_prog_compiler_c_o_CXX=yes
13925 chmod u+w . 2>&5
13926 $RM conftest*
13927 # SGI C++ compiler will create directory out/ii_files/ for
13928 # template instantiation
13929 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13930 $RM out/* && rmdir out
13931 cd ..
13932 $RM -r conftest
13933 $RM conftest*
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13937 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13942 hard_links="nottested"
13943 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13944 # do not overwrite the value of need_locks provided by the user
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13946 $as_echo_n "checking if we can lock with hard links... " >&6; }
13947 hard_links=yes
13948 $RM conftest*
13949 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13950 touch conftest.a
13951 ln conftest.a conftest.b 2>&5 || hard_links=no
13952 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13954 $as_echo "$hard_links" >&6; }
13955 if test "$hard_links" = no; then
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13957 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13958 need_locks=warn
13960 else
13961 need_locks=no
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13967 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13969 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13970 case $host_os in
13971 aix[4-9]*)
13972 # If we're using GNU nm, then we don't want the "-C" option.
13973 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13974 # Also, AIX nm treats weak defined symbols like other global defined
13975 # symbols, whereas GNU nm marks them as "W".
13976 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13977 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'
13978 else
13979 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'
13982 pw32*)
13983 export_symbols_cmds_CXX="$ltdll_cmds"
13985 cygwin* | mingw* | cegcc*)
13986 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'
13989 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13991 esac
13992 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13995 $as_echo "$ld_shlibs_CXX" >&6; }
13996 test "$ld_shlibs_CXX" = no && can_build_shared=no
13998 with_gnu_ld_CXX=$with_gnu_ld
14006 # Do we need to explicitly link libc?
14008 case "x$archive_cmds_need_lc_CXX" in
14009 x|xyes)
14010 # Assume -lc should be added
14011 archive_cmds_need_lc_CXX=yes
14013 if test "$enable_shared" = yes && test "$GCC" = yes; then
14014 case $archive_cmds_CXX in
14015 *'~'*)
14016 # FIXME: we may have to deal with multi-command sequences.
14018 '$CC '*)
14019 # Test whether the compiler implicitly links with -lc since on some
14020 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14021 # to ld, don't add -lc before -lgcc.
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14023 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14024 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14025 $as_echo_n "(cached) " >&6
14026 else
14027 $RM conftest*
14028 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14031 (eval $ac_compile) 2>&5
14032 ac_status=$?
14033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14034 test $ac_status = 0; } 2>conftest.err; then
14035 soname=conftest
14036 lib=conftest
14037 libobjs=conftest.$ac_objext
14038 deplibs=
14039 wl=$lt_prog_compiler_wl_CXX
14040 pic_flag=$lt_prog_compiler_pic_CXX
14041 compiler_flags=-v
14042 linker_flags=-v
14043 verstring=
14044 output_objdir=.
14045 libname=conftest
14046 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14047 allow_undefined_flag_CXX=
14048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14049 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14050 ac_status=$?
14051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14052 test $ac_status = 0; }
14053 then
14054 lt_cv_archive_cmds_need_lc_CXX=no
14055 else
14056 lt_cv_archive_cmds_need_lc_CXX=yes
14058 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14059 else
14060 cat conftest.err 1>&5
14062 $RM conftest*
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14066 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14067 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14069 esac
14072 esac
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14138 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14140 library_names_spec=
14141 libname_spec='lib$name'
14142 soname_spec=
14143 shrext_cmds=".so"
14144 postinstall_cmds=
14145 postuninstall_cmds=
14146 finish_cmds=
14147 finish_eval=
14148 shlibpath_var=
14149 shlibpath_overrides_runpath=unknown
14150 version_type=none
14151 dynamic_linker="$host_os ld.so"
14152 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14153 need_lib_prefix=unknown
14154 hardcode_into_libs=no
14156 # when you set need_version to no, make sure it does not cause -set_version
14157 # flags to be left without arguments
14158 need_version=unknown
14160 case $host_os in
14161 aix3*)
14162 version_type=linux
14163 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14164 shlibpath_var=LIBPATH
14166 # AIX 3 has no versioning support, so we append a major version to the name.
14167 soname_spec='${libname}${release}${shared_ext}$major'
14170 aix[4-9]*)
14171 version_type=linux
14172 need_lib_prefix=no
14173 need_version=no
14174 hardcode_into_libs=yes
14175 if test "$host_cpu" = ia64; then
14176 # AIX 5 supports IA64
14177 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14178 shlibpath_var=LD_LIBRARY_PATH
14179 else
14180 # With GCC up to 2.95.x, collect2 would create an import file
14181 # for dependence libraries. The import file would start with
14182 # the line `#! .'. This would cause the generated library to
14183 # depend on `.', always an invalid library. This was fixed in
14184 # development snapshots of GCC prior to 3.0.
14185 case $host_os in
14186 aix4 | aix4.[01] | aix4.[01].*)
14187 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14188 echo ' yes '
14189 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14191 else
14192 can_build_shared=no
14195 esac
14196 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14197 # soname into executable. Probably we can add versioning support to
14198 # collect2, so additional links can be useful in future.
14199 if test "$aix_use_runtimelinking" = yes; then
14200 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14201 # instead of lib<name>.a to let people know that these are not
14202 # typical AIX shared libraries.
14203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14204 else
14205 # We preserve .a as extension for shared libraries through AIX4.2
14206 # and later when we are not doing run time linking.
14207 library_names_spec='${libname}${release}.a $libname.a'
14208 soname_spec='${libname}${release}${shared_ext}$major'
14210 shlibpath_var=LIBPATH
14214 amigaos*)
14215 case $host_cpu in
14216 powerpc)
14217 # Since July 2007 AmigaOS4 officially supports .so libraries.
14218 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221 m68k)
14222 library_names_spec='$libname.ixlibrary $libname.a'
14223 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14224 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'
14226 esac
14229 beos*)
14230 library_names_spec='${libname}${shared_ext}'
14231 dynamic_linker="$host_os ld.so"
14232 shlibpath_var=LIBRARY_PATH
14235 bsdi[45]*)
14236 version_type=linux
14237 need_version=no
14238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14239 soname_spec='${libname}${release}${shared_ext}$major'
14240 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14241 shlibpath_var=LD_LIBRARY_PATH
14242 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14243 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14244 # the default ld.so.conf also contains /usr/contrib/lib and
14245 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14246 # libtool to hard-code these into programs
14249 cygwin* | mingw* | pw32* | cegcc*)
14250 version_type=windows
14251 shrext_cmds=".dll"
14252 need_version=no
14253 need_lib_prefix=no
14255 case $GCC,$host_os in
14256 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14257 library_names_spec='$libname.dll.a'
14258 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14259 postinstall_cmds='base_file=`basename \${file}`~
14260 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14261 dldir=$destdir/`dirname \$dlpath`~
14262 test -d \$dldir || mkdir -p \$dldir~
14263 $install_prog $dir/$dlname \$dldir/$dlname~
14264 chmod a+x \$dldir/$dlname~
14265 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14266 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14268 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14269 dlpath=$dir/\$dldll~
14270 $RM \$dlpath'
14271 shlibpath_overrides_runpath=yes
14273 case $host_os in
14274 cygwin*)
14275 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14276 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14279 mingw* | cegcc*)
14280 # MinGW DLLs use traditional 'lib' prefix
14281 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14283 pw32*)
14284 # pw32 DLLs use 'pw' prefix rather than 'lib'
14285 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14287 esac
14291 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14293 esac
14294 dynamic_linker='Win32 ld.exe'
14295 # FIXME: first we should search . and the directory the executable is in
14296 shlibpath_var=PATH
14299 darwin* | rhapsody*)
14300 dynamic_linker="$host_os dyld"
14301 version_type=darwin
14302 need_lib_prefix=no
14303 need_version=no
14304 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14305 soname_spec='${libname}${release}${major}$shared_ext'
14306 shlibpath_overrides_runpath=yes
14307 shlibpath_var=DYLD_LIBRARY_PATH
14308 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14310 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14313 dgux*)
14314 version_type=linux
14315 need_lib_prefix=no
14316 need_version=no
14317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14318 soname_spec='${libname}${release}${shared_ext}$major'
14319 shlibpath_var=LD_LIBRARY_PATH
14322 freebsd* | dragonfly*)
14323 # DragonFly does not have aout. When/if they implement a new
14324 # versioning mechanism, adjust this.
14325 if test -x /usr/bin/objformat; then
14326 objformat=`/usr/bin/objformat`
14327 else
14328 case $host_os in
14329 freebsd[23].*) objformat=aout ;;
14330 *) objformat=elf ;;
14331 esac
14333 version_type=freebsd-$objformat
14334 case $version_type in
14335 freebsd-elf*)
14336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14337 need_version=no
14338 need_lib_prefix=no
14340 freebsd-*)
14341 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14342 need_version=yes
14344 esac
14345 shlibpath_var=LD_LIBRARY_PATH
14346 case $host_os in
14347 freebsd2.*)
14348 shlibpath_overrides_runpath=yes
14350 freebsd3.[01]* | freebsdelf3.[01]*)
14351 shlibpath_overrides_runpath=yes
14352 hardcode_into_libs=yes
14354 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14355 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14356 shlibpath_overrides_runpath=no
14357 hardcode_into_libs=yes
14359 *) # from 4.6 on, and DragonFly
14360 shlibpath_overrides_runpath=yes
14361 hardcode_into_libs=yes
14363 esac
14366 gnu*)
14367 version_type=linux
14368 need_lib_prefix=no
14369 need_version=no
14370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14371 soname_spec='${libname}${release}${shared_ext}$major'
14372 shlibpath_var=LD_LIBRARY_PATH
14373 hardcode_into_libs=yes
14376 haiku*)
14377 version_type=linux
14378 need_lib_prefix=no
14379 need_version=no
14380 dynamic_linker="$host_os runtime_loader"
14381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14382 soname_spec='${libname}${release}${shared_ext}$major'
14383 shlibpath_var=LIBRARY_PATH
14384 shlibpath_overrides_runpath=yes
14385 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14386 hardcode_into_libs=yes
14389 hpux9* | hpux10* | hpux11*)
14390 # Give a soname corresponding to the major version so that dld.sl refuses to
14391 # link against other versions.
14392 version_type=sunos
14393 need_lib_prefix=no
14394 need_version=no
14395 case $host_cpu in
14396 ia64*)
14397 shrext_cmds='.so'
14398 hardcode_into_libs=yes
14399 dynamic_linker="$host_os dld.so"
14400 shlibpath_var=LD_LIBRARY_PATH
14401 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 if test "X$HPUX_IA64_MODE" = X32; then
14405 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14406 else
14407 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14409 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14411 hppa*64*)
14412 shrext_cmds='.sl'
14413 hardcode_into_libs=yes
14414 dynamic_linker="$host_os dld.sl"
14415 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14416 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14418 soname_spec='${libname}${release}${shared_ext}$major'
14419 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14420 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14423 shrext_cmds='.sl'
14424 dynamic_linker="$host_os dld.sl"
14425 shlibpath_var=SHLIB_PATH
14426 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14428 soname_spec='${libname}${release}${shared_ext}$major'
14430 esac
14431 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14432 postinstall_cmds='chmod 555 $lib'
14433 # or fails outright, so override atomically:
14434 install_override_mode=555
14437 interix[3-9]*)
14438 version_type=linux
14439 need_lib_prefix=no
14440 need_version=no
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14443 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14444 shlibpath_var=LD_LIBRARY_PATH
14445 shlibpath_overrides_runpath=no
14446 hardcode_into_libs=yes
14449 irix5* | irix6* | nonstopux*)
14450 case $host_os in
14451 nonstopux*) version_type=nonstopux ;;
14453 if test "$lt_cv_prog_gnu_ld" = yes; then
14454 version_type=linux
14455 else
14456 version_type=irix
14457 fi ;;
14458 esac
14459 need_lib_prefix=no
14460 need_version=no
14461 soname_spec='${libname}${release}${shared_ext}$major'
14462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14463 case $host_os in
14464 irix5* | nonstopux*)
14465 libsuff= shlibsuff=
14468 case $LD in # libtool.m4 will add one of these switches to LD
14469 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14470 libsuff= shlibsuff= libmagic=32-bit;;
14471 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14472 libsuff=32 shlibsuff=N32 libmagic=N32;;
14473 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14474 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14475 *) libsuff= shlibsuff= libmagic=never-match;;
14476 esac
14478 esac
14479 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14480 shlibpath_overrides_runpath=no
14481 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14482 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14483 hardcode_into_libs=yes
14486 # No shared lib support for Linux oldld, aout, or coff.
14487 linux*oldld* | linux*aout* | linux*coff*)
14488 dynamic_linker=no
14491 # This must be Linux ELF.
14492 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14493 version_type=linux
14494 need_lib_prefix=no
14495 need_version=no
14496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14497 soname_spec='${libname}${release}${shared_ext}$major'
14498 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14499 shlibpath_var=LD_LIBRARY_PATH
14500 shlibpath_overrides_runpath=no
14502 # Some binutils ld are patched to set DT_RUNPATH
14503 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14504 $as_echo_n "(cached) " >&6
14505 else
14506 lt_cv_shlibpath_overrides_runpath=no
14507 save_LDFLAGS=$LDFLAGS
14508 save_libdir=$libdir
14509 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14510 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14511 if test x$gcc_no_link = xyes; then
14512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14515 /* end confdefs.h. */
14518 main ()
14522 return 0;
14524 _ACEOF
14525 if ac_fn_cxx_try_link "$LINENO"; then :
14526 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14527 lt_cv_shlibpath_overrides_runpath=yes
14530 rm -f core conftest.err conftest.$ac_objext \
14531 conftest$ac_exeext conftest.$ac_ext
14532 LDFLAGS=$save_LDFLAGS
14533 libdir=$save_libdir
14537 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14539 # This implies no fast_install, which is unacceptable.
14540 # Some rework will be needed to allow for fast_install
14541 # before this can be enabled.
14542 hardcode_into_libs=yes
14544 # Append ld.so.conf contents to the search path
14545 if test -f /etc/ld.so.conf; then
14546 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' ' '`
14547 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14550 # We used to test for /lib/ld.so.1 and disable shared libraries on
14551 # powerpc, because MkLinux only supported shared libraries with the
14552 # GNU dynamic linker. Since this was broken with cross compilers,
14553 # most powerpc-linux boxes support dynamic linking these days and
14554 # people can always --disable-shared, the test was removed, and we
14555 # assume the GNU/Linux dynamic linker is in use.
14556 dynamic_linker='GNU/Linux ld.so'
14559 netbsd*)
14560 version_type=sunos
14561 need_lib_prefix=no
14562 need_version=no
14563 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14565 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14566 dynamic_linker='NetBSD (a.out) ld.so'
14567 else
14568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14569 soname_spec='${libname}${release}${shared_ext}$major'
14570 dynamic_linker='NetBSD ld.elf_so'
14572 shlibpath_var=LD_LIBRARY_PATH
14573 shlibpath_overrides_runpath=yes
14574 hardcode_into_libs=yes
14577 newsos6)
14578 version_type=linux
14579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14580 shlibpath_var=LD_LIBRARY_PATH
14581 shlibpath_overrides_runpath=yes
14584 *nto* | *qnx*)
14585 version_type=qnx
14586 need_lib_prefix=no
14587 need_version=no
14588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14589 soname_spec='${libname}${release}${shared_ext}$major'
14590 shlibpath_var=LD_LIBRARY_PATH
14591 shlibpath_overrides_runpath=no
14592 hardcode_into_libs=yes
14593 dynamic_linker='ldqnx.so'
14596 openbsd*)
14597 version_type=sunos
14598 sys_lib_dlsearch_path_spec="/usr/lib"
14599 need_lib_prefix=no
14600 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14601 case $host_os in
14602 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14603 *) need_version=no ;;
14604 esac
14605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14606 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14607 shlibpath_var=LD_LIBRARY_PATH
14608 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14609 case $host_os in
14610 openbsd2.[89] | openbsd2.[89].*)
14611 shlibpath_overrides_runpath=no
14614 shlibpath_overrides_runpath=yes
14616 esac
14617 else
14618 shlibpath_overrides_runpath=yes
14622 os2*)
14623 libname_spec='$name'
14624 shrext_cmds=".dll"
14625 need_lib_prefix=no
14626 library_names_spec='$libname${shared_ext} $libname.a'
14627 dynamic_linker='OS/2 ld.exe'
14628 shlibpath_var=LIBPATH
14631 osf3* | osf4* | osf5*)
14632 version_type=osf
14633 need_lib_prefix=no
14634 need_version=no
14635 soname_spec='${libname}${release}${shared_ext}$major'
14636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14637 shlibpath_var=LD_LIBRARY_PATH
14638 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14639 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14642 rdos*)
14643 dynamic_linker=no
14646 solaris*)
14647 version_type=linux
14648 need_lib_prefix=no
14649 need_version=no
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14651 soname_spec='${libname}${release}${shared_ext}$major'
14652 shlibpath_var=LD_LIBRARY_PATH
14653 shlibpath_overrides_runpath=yes
14654 hardcode_into_libs=yes
14655 # ldd complains unless libraries are executable
14656 postinstall_cmds='chmod +x $lib'
14659 sunos4*)
14660 version_type=sunos
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14662 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14663 shlibpath_var=LD_LIBRARY_PATH
14664 shlibpath_overrides_runpath=yes
14665 if test "$with_gnu_ld" = yes; then
14666 need_lib_prefix=no
14668 need_version=yes
14671 sysv4 | sysv4.3*)
14672 version_type=linux
14673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14674 soname_spec='${libname}${release}${shared_ext}$major'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 case $host_vendor in
14677 sni)
14678 shlibpath_overrides_runpath=no
14679 need_lib_prefix=no
14680 runpath_var=LD_RUN_PATH
14682 siemens)
14683 need_lib_prefix=no
14685 motorola)
14686 need_lib_prefix=no
14687 need_version=no
14688 shlibpath_overrides_runpath=no
14689 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14691 esac
14694 sysv4*MP*)
14695 if test -d /usr/nec ;then
14696 version_type=linux
14697 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14698 soname_spec='$libname${shared_ext}.$major'
14699 shlibpath_var=LD_LIBRARY_PATH
14703 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14704 version_type=freebsd-elf
14705 need_lib_prefix=no
14706 need_version=no
14707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14708 soname_spec='${libname}${release}${shared_ext}$major'
14709 shlibpath_var=LD_LIBRARY_PATH
14710 shlibpath_overrides_runpath=yes
14711 hardcode_into_libs=yes
14712 if test "$with_gnu_ld" = yes; then
14713 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14714 else
14715 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14716 case $host_os in
14717 sco3.2v5*)
14718 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14720 esac
14722 sys_lib_dlsearch_path_spec='/usr/lib'
14725 tpf*)
14726 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14727 version_type=linux
14728 need_lib_prefix=no
14729 need_version=no
14730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14731 shlibpath_var=LD_LIBRARY_PATH
14732 shlibpath_overrides_runpath=no
14733 hardcode_into_libs=yes
14736 uts4*)
14737 version_type=linux
14738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14739 soname_spec='${libname}${release}${shared_ext}$major'
14740 shlibpath_var=LD_LIBRARY_PATH
14744 dynamic_linker=no
14746 esac
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14748 $as_echo "$dynamic_linker" >&6; }
14749 test "$dynamic_linker" = no && can_build_shared=no
14751 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14752 if test "$GCC" = yes; then
14753 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14756 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14757 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14759 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14760 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14801 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14802 hardcode_action_CXX=
14803 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14804 test -n "$runpath_var_CXX" ||
14805 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14807 # We can hardcode non-existent directories.
14808 if test "$hardcode_direct_CXX" != no &&
14809 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14810 # have to relink, otherwise we might link with an installed library
14811 # when we should be linking with a yet-to-be-installed one
14812 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14813 test "$hardcode_minus_L_CXX" != no; then
14814 # Linking always hardcodes the temporary library directory.
14815 hardcode_action_CXX=relink
14816 else
14817 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14818 hardcode_action_CXX=immediate
14820 else
14821 # We cannot hardcode anything, or else we can only hardcode existing
14822 # directories.
14823 hardcode_action_CXX=unsupported
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14826 $as_echo "$hardcode_action_CXX" >&6; }
14828 if test "$hardcode_action_CXX" = relink ||
14829 test "$inherit_rpath_CXX" = yes; then
14830 # Fast installation is not supported
14831 enable_fast_install=no
14832 elif test "$shlibpath_overrides_runpath" = yes ||
14833 test "$enable_shared" = no; then
14834 # Fast installation is not necessary
14835 enable_fast_install=needless
14844 fi # test -n "$compiler"
14846 CC=$lt_save_CC
14847 LDCXX=$LD
14848 LD=$lt_save_LD
14849 GCC=$lt_save_GCC
14850 with_gnu_ld=$lt_save_with_gnu_ld
14851 lt_cv_path_LDCXX=$lt_cv_path_LD
14852 lt_cv_path_LD=$lt_save_path_LD
14853 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14854 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14855 fi # test "$_lt_caught_CXX_error" != yes
14857 ac_ext=c
14858 ac_cpp='$CPP $CPPFLAGS'
14859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14875 ac_config_commands="$ac_config_commands libtool"
14880 # Only expand once:
14886 case $host in
14887 *-cygwin* | *-mingw*)
14888 # 'host' will be top-level target in the case of a target lib,
14889 # we must compare to with_cross_host to decide if this is a native
14890 # or cross-compiler and select where to install dlls appropriately.
14891 if test -n "$with_cross_host" &&
14892 test x"$with_cross_host" != x"no"; then
14893 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14894 else
14895 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14899 lt_host_flags=
14901 esac
14908 # libtool variables for C++ shared and position-independent compiles.
14910 # Use glibcxx_lt_pic_flag to designate the automake variable
14911 # used to encapsulate the default libtool approach to creating objects
14912 # with position-independent code. Default: -prefer-pic.
14914 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14915 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14917 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14918 # creating position-independent objects. This varies with the target
14919 # hardware and operating system, but is often: -DPIC -fPIC.
14920 if test "$enable_shared" = yes; then
14921 glibcxx_lt_pic_flag="-prefer-pic"
14922 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14923 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14925 else
14926 glibcxx_lt_pic_flag=
14927 glibcxx_compiler_pic_flag=
14928 glibcxx_compiler_shared_flag=
14934 # Override the libtool's pic_flag and pic_mode.
14935 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14936 # NB: this impacts --with-pic and --without-pic.
14937 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14938 pic_mode='default'
14940 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14941 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14943 # Possibly disable most of the library.
14944 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14945 ## than just ignoring the results. Faster /and/ more correct, win win.
14947 # Check whether --enable-hosted-libstdcxx was given.
14948 if test "${enable_hosted_libstdcxx+set}" = set; then :
14949 enableval=$enable_hosted_libstdcxx;
14950 else
14951 case "$host" in
14952 arm*-*-symbianelf*)
14953 enable_hosted_libstdcxx=no
14956 enable_hosted_libstdcxx=yes
14958 esac
14961 if test "$enable_hosted_libstdcxx" = no; then
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14963 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14964 is_hosted=no
14965 hosted_define=0
14966 enable_abi_check=no
14967 enable_libstdcxx_pch=no
14968 else
14969 is_hosted=yes
14970 hosted_define=1
14974 cat >>confdefs.h <<_ACEOF
14975 #define _GLIBCXX_HOSTED $hosted_define
14976 _ACEOF
14980 # Enable descriptive messages to standard output on termination.
14982 # Check whether --enable-libstdcxx-verbose was given.
14983 if test "${enable_libstdcxx_verbose+set}" = set; then :
14984 enableval=$enable_libstdcxx_verbose;
14985 else
14986 enable_libstdcxx_verbose=yes
14989 if test x"$enable_libstdcxx_verbose" = xyes; then
14990 verbose_define=1
14991 else
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14993 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14994 verbose_define=0
14997 cat >>confdefs.h <<_ACEOF
14998 #define _GLIBCXX_VERBOSE $verbose_define
14999 _ACEOF
15003 # Enable compiler support that doesn't require linking.
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15006 $as_echo_n "checking for exception model to use... " >&6; }
15008 ac_ext=cpp
15009 ac_cpp='$CXXCPP $CPPFLAGS'
15010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15014 # Check whether --enable-sjlj-exceptions was given.
15015 if test "${enable_sjlj_exceptions+set}" = set; then :
15016 enableval=$enable_sjlj_exceptions;
15017 case "$enableval" in
15018 yes|no|auto) ;;
15019 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15020 esac
15022 else
15023 enable_sjlj_exceptions=auto
15028 if test $enable_sjlj_exceptions = auto; then
15029 # Botheration. Now we've got to detect the exception model. Link tests
15030 # against libgcc.a are problematic since we've not been given proper -L
15031 # bits for single-tree newlib and libgloss.
15033 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15034 cat > conftest.$ac_ext << EOF
15035 #line 15035 "configure"
15036 struct S { ~S(); };
15037 void bar();
15038 void foo()
15040 S s;
15041 bar();
15044 old_CXXFLAGS="$CXXFLAGS"
15045 CXXFLAGS=-S
15046 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15047 (eval $ac_compile) 2>&5
15048 ac_status=$?
15049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15050 test $ac_status = 0; }; then
15051 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15052 enable_sjlj_exceptions=yes
15053 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15054 enable_sjlj_exceptions=no
15055 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15056 enable_sjlj_exceptions=no
15059 CXXFLAGS="$old_CXXFLAGS"
15060 rm -f conftest*
15063 # This is a tad weird, for hysterical raisins. We have to map
15064 # enable/disable to two different models.
15065 case $enable_sjlj_exceptions in
15066 yes)
15068 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15070 ac_exception_model_name=sjlj
15073 ac_exception_model_name="call frame"
15076 as_fn_error "unable to detect exception model" "$LINENO" 5
15078 esac
15079 ac_ext=c
15080 ac_cpp='$CPP $CPPFLAGS'
15081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15086 $as_echo "$ac_exception_model_name" >&6; }
15089 # Check whether --enable-libstdcxx-pch was given.
15090 if test "${enable_libstdcxx_pch+set}" = set; then :
15091 enableval=$enable_libstdcxx_pch;
15092 case "$enableval" in
15093 yes|no) ;;
15094 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15095 esac
15097 else
15098 enable_libstdcxx_pch=$is_hosted
15102 if test $enable_libstdcxx_pch = yes; then
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15104 $as_echo_n "checking for compiler with PCH support... " >&6; }
15105 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15106 $as_echo_n "(cached) " >&6
15107 else
15108 ac_save_CXXFLAGS="$CXXFLAGS"
15109 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15111 ac_ext=cpp
15112 ac_cpp='$CXXCPP $CPPFLAGS'
15113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15117 echo '#include <math.h>' > conftest.h
15118 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15119 -o conftest.h.gch 1>&5 2>&1 &&
15120 echo '#error "pch failed"' > conftest.h &&
15121 echo '#include "conftest.h"' > conftest.cc &&
15122 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15123 then
15124 glibcxx_cv_prog_CXX_pch=yes
15125 else
15126 glibcxx_cv_prog_CXX_pch=no
15128 rm -f conftest*
15129 CXXFLAGS=$ac_save_CXXFLAGS
15130 ac_ext=c
15131 ac_cpp='$CPP $CPPFLAGS'
15132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15139 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15140 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15144 $as_echo_n "checking for enabled PCH... " >&6; }
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15146 $as_echo "$enable_libstdcxx_pch" >&6; }
15149 if test $enable_libstdcxx_pch = yes; then
15150 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15151 else
15152 glibcxx_PCHFLAGS=""
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15158 $as_echo_n "checking for thread model used by GCC... " >&6; }
15159 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15161 $as_echo "$target_thread_file" >&6; }
15165 ac_ext=cpp
15166 ac_cpp='$CXXCPP $CPPFLAGS'
15167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15171 old_CXXFLAGS="$CXXFLAGS"
15173 # Do link tests if possible, instead asm tests, limited to some platforms
15174 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15175 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15176 atomic_builtins_link_tests=no
15177 if test x$gcc_no_link != xyes; then
15178 # Can do link tests. Limit to some tested platforms
15179 case "$host" in
15180 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15181 atomic_builtins_link_tests=yes
15183 esac
15186 if test x$atomic_builtins_link_tests = xyes; then
15188 # Do link tests.
15190 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15193 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15194 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15195 $as_echo_n "(cached) " >&6
15196 else
15198 if test x$gcc_no_link = xyes; then
15199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15205 main ()
15207 typedef bool atomic_type;
15208 atomic_type c1;
15209 atomic_type c2;
15210 atomic_type c3(0);
15211 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15212 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15213 __ATOMIC_RELAXED);
15214 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15215 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15218 return 0;
15220 _ACEOF
15221 if ac_fn_cxx_try_link "$LINENO"; then :
15222 glibcxx_cv_atomic_bool=yes
15223 else
15224 glibcxx_cv_atomic_bool=no
15226 rm -f core conftest.err conftest.$ac_objext \
15227 conftest$ac_exeext conftest.$ac_ext
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15232 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15235 $as_echo_n "checking for atomic builtins for short... " >&6; }
15236 if test "${glibcxx_cv_atomic_short+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 short 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_short=yes
15265 else
15266 glibcxx_cv_atomic_short=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_short" >&5
15274 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15277 $as_echo_n "checking for atomic builtins for int... " >&6; }
15278 if test "${glibcxx_cv_atomic_int+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 int 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_int=yes
15307 else
15308 glibcxx_cv_atomic_int=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_int" >&5
15316 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15319 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15320 if test "${glibcxx_cv_atomic_long_long+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 long long 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_long_long=yes
15349 else
15350 glibcxx_cv_atomic_long_long=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_long_long" >&5
15358 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15360 else
15362 # Do asm tests.
15364 # Compile unoptimized.
15365 CXXFLAGS='-O0 -S'
15367 # Fake what AC_TRY_COMPILE does.
15369 cat > conftest.$ac_ext << EOF
15370 #line 15370 "configure"
15371 int main()
15373 typedef bool atomic_type;
15374 atomic_type c1;
15375 atomic_type c2;
15376 atomic_type c3(0);
15377 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15378 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15379 __ATOMIC_RELAXED);
15380 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15381 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15383 return 0;
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15388 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15390 (eval $ac_compile) 2>&5
15391 ac_status=$?
15392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15393 test $ac_status = 0; }; then
15394 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15395 glibcxx_cv_atomic_bool=no
15396 else
15397 glibcxx_cv_atomic_bool=yes
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15401 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15402 rm -f conftest*
15404 cat > conftest.$ac_ext << EOF
15405 #line 15405 "configure"
15406 int main()
15408 typedef short atomic_type;
15409 atomic_type c1;
15410 atomic_type c2;
15411 atomic_type c3(0);
15412 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15413 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15414 __ATOMIC_RELAXED);
15415 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15416 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15418 return 0;
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15423 $as_echo_n "checking for atomic builtins for short... " >&6; }
15424 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15425 (eval $ac_compile) 2>&5
15426 ac_status=$?
15427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15428 test $ac_status = 0; }; then
15429 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15430 glibcxx_cv_atomic_short=no
15431 else
15432 glibcxx_cv_atomic_short=yes
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15436 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15437 rm -f conftest*
15439 cat > conftest.$ac_ext << EOF
15440 #line 15440 "configure"
15441 int main()
15443 // NB: _Atomic_word not necessarily int.
15444 typedef int atomic_type;
15445 atomic_type c1;
15446 atomic_type c2;
15447 atomic_type c3(0);
15448 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15449 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15450 __ATOMIC_RELAXED);
15451 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15452 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15454 return 0;
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15459 $as_echo_n "checking for atomic builtins for int... " >&6; }
15460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15461 (eval $ac_compile) 2>&5
15462 ac_status=$?
15463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15464 test $ac_status = 0; }; then
15465 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15466 glibcxx_cv_atomic_int=no
15467 else
15468 glibcxx_cv_atomic_int=yes
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15472 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15473 rm -f conftest*
15475 cat > conftest.$ac_ext << EOF
15476 #line 15476 "configure"
15477 int main()
15479 typedef long long atomic_type;
15480 atomic_type c1;
15481 atomic_type c2;
15482 atomic_type c3(0);
15483 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15484 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15485 __ATOMIC_RELAXED);
15486 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15487 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15489 return 0;
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15494 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15495 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15496 (eval $ac_compile) 2>&5
15497 ac_status=$?
15498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15499 test $ac_status = 0; }; then
15500 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15501 glibcxx_cv_atomic_long_long=no
15502 else
15503 glibcxx_cv_atomic_long_long=yes
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15507 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15508 rm -f conftest*
15512 CXXFLAGS="$old_CXXFLAGS"
15513 ac_ext=c
15514 ac_cpp='$CPP $CPPFLAGS'
15515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15520 # Set atomicity_dir to builtins if all but the long long test above passes.
15521 if test $glibcxx_cv_atomic_bool = yes \
15522 && test $glibcxx_cv_atomic_short = yes \
15523 && test $glibcxx_cv_atomic_int = yes; then
15525 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15527 atomicity_dir=cpu/generic/atomicity_builtins
15530 # If still generic, set to mutex.
15531 if test $atomicity_dir = "cpu/generic" ; then
15532 atomicity_dir=cpu/generic/atomicity_mutex
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15534 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15535 if test "x$target_thread_file" = xsingle; then
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15537 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15539 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15540 else
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15542 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15544 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15551 # Fake what AC_TRY_COMPILE does, without linking as this is
15552 # unnecessary for this test.
15554 cat > conftest.$ac_ext << EOF
15555 #line 15555 "configure"
15556 int main()
15558 _Decimal32 d1;
15559 _Decimal64 d2;
15560 _Decimal128 d3;
15561 return 0;
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15566 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15568 (eval $ac_compile) 2>&5
15569 ac_status=$?
15570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15571 test $ac_status = 0; }; then
15573 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15575 enable_dfp=yes
15576 else
15577 enable_dfp=no
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15580 $as_echo "$enable_dfp" >&6; }
15581 rm -f conftest*
15586 ac_ext=cpp
15587 ac_cpp='$CXXCPP $CPPFLAGS'
15588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 template<typename T1, typename T2>
15599 struct same
15600 { typedef T2 type; };
15602 template<typename T>
15603 struct same<T, T>;
15605 int main()
15607 typename same<long, __int128>::type i1;
15608 typename same<long long, __int128>::type i2;
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15613 $as_echo_n "checking for __int128... " >&6; }
15614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15615 (eval $ac_compile) 2>&5
15616 ac_status=$?
15617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15618 test $ac_status = 0; }; then
15620 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15622 enable_int128=yes
15623 else
15624 enable_int128=no
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15627 $as_echo "$enable_int128" >&6; }
15628 rm -f conftest*
15630 cat > conftest.$ac_ext << EOF
15631 #line 15631 "configure"
15632 template<typename T1, typename T2>
15633 struct same
15634 { typedef T2 type; };
15636 template<typename T>
15637 struct same<T, T>;
15639 int main()
15641 typename same<double, __float128>::type f1;
15642 typename same<long double, __float128>::type f2;
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15647 $as_echo_n "checking for __float128... " >&6; }
15648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15649 (eval $ac_compile) 2>&5
15650 ac_status=$?
15651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15652 test $ac_status = 0; }; then
15654 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15656 enable_float128=yes
15657 else
15658 enable_float128=no
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15661 $as_echo "$enable_float128" >&6; }
15662 rm -f conftest*
15664 ac_ext=c
15665 ac_cpp='$CPP $CPPFLAGS'
15666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15672 # Checks for compiler support that doesn't require linking.
15674 # All these tests are for C++; save the language and the compiler flags.
15675 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15676 # found in GLIBCXX_CONFIGURE.
15678 ac_ext=cpp
15679 ac_cpp='$CXXCPP $CPPFLAGS'
15680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15684 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15685 ac_save_CXXFLAGS="$CXXFLAGS"
15687 # Check for maintainer-mode bits.
15688 if test x"$USE_MAINTAINER_MODE" = xno; then
15689 WERROR=''
15690 else
15691 WERROR='-Werror'
15694 # Check for -ffunction-sections -fdata-sections
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15696 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15697 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15699 /* end confdefs.h. */
15700 int foo; void bar() { };
15702 main ()
15706 return 0;
15708 _ACEOF
15709 if ac_fn_cxx_try_compile "$LINENO"; then :
15710 ac_fdsections=yes
15711 else
15712 ac_fdsections=no
15714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15715 if test "$ac_test_CXXFLAGS" = set; then
15716 CXXFLAGS="$ac_save_CXXFLAGS"
15717 else
15718 # this is the suspicious part
15719 CXXFLAGS=''
15721 if test x"$ac_fdsections" = x"yes"; then
15722 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15725 $as_echo "$ac_fdsections" >&6; }
15727 ac_ext=c
15728 ac_cpp='$CPP $CPPFLAGS'
15729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15737 # Enable all the variable C++ runtime options that don't require linking.
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15740 $as_echo_n "checking for underlying I/O to use... " >&6; }
15741 # Check whether --enable-cstdio was given.
15742 if test "${enable_cstdio+set}" = set; then :
15743 enableval=$enable_cstdio;
15744 case "$enableval" in
15745 stdio) ;;
15746 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15747 esac
15749 else
15750 enable_cstdio=stdio
15755 # Now that libio has been removed, you can have any color you want as long
15756 # as it's black. This is one big no-op until other packages are added, but
15757 # showing the framework never hurts.
15758 case ${enable_cstdio} in
15759 stdio)
15760 CSTDIO_H=config/io/c_io_stdio.h
15761 BASIC_FILE_H=config/io/basic_file_stdio.h
15762 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15764 $as_echo "stdio" >&6; }
15766 esac
15773 # Check whether --enable-clocale was given.
15774 if test "${enable_clocale+set}" = set; then :
15775 enableval=$enable_clocale;
15776 case "$enableval" in
15777 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15778 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15779 esac
15781 else
15782 enable_clocale=auto
15787 # Deal with gettext issues. Default to not using it (=no) until we detect
15788 # support for it later. Let the user turn it off via --e/d, but let that
15789 # default to on for easier handling.
15790 USE_NLS=no
15791 # Check whether --enable-nls was given.
15792 if test "${enable_nls+set}" = set; then :
15793 enableval=$enable_nls;
15794 else
15795 enable_nls=yes
15799 # Either a known package, or "auto"
15800 if test $enable_clocale = no || test $enable_clocale = yes; then
15801 enable_clocale=auto
15803 enable_clocale_flag=$enable_clocale
15805 # Probe for locale model to use if none specified.
15806 # Default to "generic".
15807 if test $enable_clocale_flag = auto; then
15808 case ${target_os} in
15809 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15810 enable_clocale_flag=gnu
15812 darwin* | freebsd*)
15813 enable_clocale_flag=darwin
15816 if test x"$with_newlib" = x"yes"; then
15817 enable_clocale_flag=newlib
15818 else
15819 enable_clocale_flag=generic
15822 esac
15825 # Sanity check model, and test for special functionality.
15826 if test $enable_clocale_flag = gnu; then
15827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15828 /* end confdefs.h. */
15830 #include <features.h>
15831 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15832 _GLIBCXX_ok
15833 #endif
15835 _ACEOF
15836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15837 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15838 enable_clocale_flag=gnu
15839 else
15840 enable_clocale_flag=generic
15842 rm -f conftest*
15845 # Set it to scream when it hurts.
15846 ac_save_CFLAGS="$CFLAGS"
15847 CFLAGS="-Wimplicit-function-declaration -Werror"
15849 # Use strxfrm_l if available.
15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15852 #define _GNU_SOURCE 1
15853 #include <string.h>
15854 #include <locale.h>
15856 main ()
15858 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15860 return 0;
15862 _ACEOF
15863 if ac_fn_c_try_compile "$LINENO"; then :
15865 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15870 # Use strerror_l if available.
15871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15872 /* end confdefs.h. */
15873 #define _GNU_SOURCE 1
15874 #include <string.h>
15875 #include <locale.h>
15877 main ()
15879 __locale_t loc; strerror_l(5, loc);
15881 return 0;
15883 _ACEOF
15884 if ac_fn_c_try_compile "$LINENO"; then :
15886 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15891 CFLAGS="$ac_save_CFLAGS"
15894 # Perhaps use strerror_r if available, and strerror_l isn't.
15895 ac_save_CFLAGS="$CFLAGS"
15896 CFLAGS="-Wimplicit-function-declaration -Werror"
15897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15899 #define _GNU_SOURCE 1
15900 #include <string.h>
15901 #include <locale.h>
15903 main ()
15905 char s[128]; strerror_r(5, s, 128);
15907 return 0;
15909 _ACEOF
15910 if ac_fn_c_try_compile "$LINENO"; then :
15912 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15916 CFLAGS="$ac_save_CFLAGS"
15918 # Set configure bits for specified locale package
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15920 $as_echo_n "checking for C locale to use... " >&6; }
15921 case ${enable_clocale_flag} in
15922 generic)
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15924 $as_echo "generic" >&6; }
15926 CLOCALE_H=config/locale/generic/c_locale.h
15927 CLOCALE_CC=config/locale/generic/c_locale.cc
15928 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15929 CCOLLATE_CC=config/locale/generic/collate_members.cc
15930 CCTYPE_CC=config/locale/generic/ctype_members.cc
15931 CMESSAGES_H=config/locale/generic/messages_members.h
15932 CMESSAGES_CC=config/locale/generic/messages_members.cc
15933 CMONEY_CC=config/locale/generic/monetary_members.cc
15934 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15935 CTIME_H=config/locale/generic/time_members.h
15936 CTIME_CC=config/locale/generic/time_members.cc
15937 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15939 darwin)
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15941 $as_echo "darwin or freebsd" >&6; }
15943 CLOCALE_H=config/locale/generic/c_locale.h
15944 CLOCALE_CC=config/locale/generic/c_locale.cc
15945 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15946 CCOLLATE_CC=config/locale/generic/collate_members.cc
15947 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15948 CMESSAGES_H=config/locale/generic/messages_members.h
15949 CMESSAGES_CC=config/locale/generic/messages_members.cc
15950 CMONEY_CC=config/locale/generic/monetary_members.cc
15951 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15952 CTIME_H=config/locale/generic/time_members.h
15953 CTIME_CC=config/locale/generic/time_members.cc
15954 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15957 gnu)
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15959 $as_echo "gnu" >&6; }
15961 # Declare intention to use gettext, and add support for specific
15962 # languages.
15963 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15964 ALL_LINGUAS="de fr"
15966 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15967 # Extract the first word of "msgfmt", so it can be a program name with args.
15968 set dummy msgfmt; ac_word=$2
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15970 $as_echo_n "checking for $ac_word... " >&6; }
15971 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15972 $as_echo_n "(cached) " >&6
15973 else
15974 if test -n "$check_msgfmt"; then
15975 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15976 else
15977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15978 for as_dir in $PATH
15980 IFS=$as_save_IFS
15981 test -z "$as_dir" && as_dir=.
15982 for ac_exec_ext in '' $ac_executable_extensions; do
15983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15984 ac_cv_prog_check_msgfmt="yes"
15985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15986 break 2
15988 done
15989 done
15990 IFS=$as_save_IFS
15992 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15995 check_msgfmt=$ac_cv_prog_check_msgfmt
15996 if test -n "$check_msgfmt"; then
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15998 $as_echo "$check_msgfmt" >&6; }
15999 else
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16001 $as_echo "no" >&6; }
16005 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16006 USE_NLS=yes
16008 # Export the build objects.
16009 for ling in $ALL_LINGUAS; do \
16010 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16011 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16012 done
16016 CLOCALE_H=config/locale/gnu/c_locale.h
16017 CLOCALE_CC=config/locale/gnu/c_locale.cc
16018 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16019 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16020 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16021 CMESSAGES_H=config/locale/gnu/messages_members.h
16022 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16023 CMONEY_CC=config/locale/gnu/monetary_members.cc
16024 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16025 CTIME_H=config/locale/gnu/time_members.h
16026 CTIME_CC=config/locale/gnu/time_members.cc
16027 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16029 ieee_1003.1-2001)
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16031 $as_echo "IEEE 1003.1" >&6; }
16033 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16034 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16035 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16036 CCOLLATE_CC=config/locale/generic/collate_members.cc
16037 CCTYPE_CC=config/locale/generic/ctype_members.cc
16038 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16039 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16040 CMONEY_CC=config/locale/generic/monetary_members.cc
16041 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16042 CTIME_H=config/locale/generic/time_members.h
16043 CTIME_CC=config/locale/generic/time_members.cc
16044 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16046 newlib)
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16048 $as_echo "newlib" >&6; }
16050 CLOCALE_H=config/locale/generic/c_locale.h
16051 CLOCALE_CC=config/locale/generic/c_locale.cc
16052 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16053 CCOLLATE_CC=config/locale/generic/collate_members.cc
16054 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16055 CMESSAGES_H=config/locale/generic/messages_members.h
16056 CMESSAGES_CC=config/locale/generic/messages_members.cc
16057 CMONEY_CC=config/locale/generic/monetary_members.cc
16058 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16059 CTIME_H=config/locale/generic/time_members.h
16060 CTIME_CC=config/locale/generic/time_members.cc
16061 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16063 esac
16065 # This is where the testsuite looks for locale catalogs, using the
16066 # -DLOCALEDIR define during testsuite compilation.
16067 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16070 # A standalone libintl (e.g., GNU libintl) may be in use.
16071 if test $USE_NLS = yes; then
16072 for ac_header in libintl.h
16073 do :
16074 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16075 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16076 cat >>confdefs.h <<_ACEOF
16077 #define HAVE_LIBINTL_H 1
16078 _ACEOF
16080 else
16081 USE_NLS=no
16084 done
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16087 $as_echo_n "checking for library containing gettext... " >&6; }
16088 if test "${ac_cv_search_gettext+set}" = set; then :
16089 $as_echo_n "(cached) " >&6
16090 else
16091 ac_func_search_save_LIBS=$LIBS
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16095 /* Override any GCC internal prototype to avoid an error.
16096 Use char because int might match the return type of a GCC
16097 builtin and then its argument prototype would still apply. */
16098 #ifdef __cplusplus
16099 extern "C"
16100 #endif
16101 char gettext ();
16103 main ()
16105 return gettext ();
16107 return 0;
16109 _ACEOF
16110 for ac_lib in '' intl; do
16111 if test -z "$ac_lib"; then
16112 ac_res="none required"
16113 else
16114 ac_res=-l$ac_lib
16115 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16117 if test x$gcc_no_link = xyes; then
16118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16120 if ac_fn_c_try_link "$LINENO"; then :
16121 ac_cv_search_gettext=$ac_res
16123 rm -f core conftest.err conftest.$ac_objext \
16124 conftest$ac_exeext
16125 if test "${ac_cv_search_gettext+set}" = set; then :
16126 break
16128 done
16129 if test "${ac_cv_search_gettext+set}" = set; then :
16131 else
16132 ac_cv_search_gettext=no
16134 rm conftest.$ac_ext
16135 LIBS=$ac_func_search_save_LIBS
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16138 $as_echo "$ac_cv_search_gettext" >&6; }
16139 ac_res=$ac_cv_search_gettext
16140 if test "$ac_res" != no; then :
16141 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16143 else
16144 USE_NLS=no
16148 if test $USE_NLS = yes; then
16150 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16170 $as_echo_n "checking for std::allocator base class... " >&6; }
16171 # Check whether --enable-libstdcxx-allocator was given.
16172 if test "${enable_libstdcxx_allocator+set}" = set; then :
16173 enableval=$enable_libstdcxx_allocator;
16174 case "$enableval" in
16175 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16176 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16177 esac
16179 else
16180 enable_libstdcxx_allocator=auto
16185 # If they didn't use this option switch, or if they specified --enable
16186 # with no specific model, we'll have to look for one. If they
16187 # specified --disable (???), do likewise.
16188 if test $enable_libstdcxx_allocator = no ||
16189 test $enable_libstdcxx_allocator = yes;
16190 then
16191 enable_libstdcxx_allocator=auto
16194 # Either a known package, or "auto". Auto implies the default choice
16195 # for a particular platform.
16196 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16198 # Probe for host-specific support if no specific model is specified.
16199 # Default to "new".
16200 if test $enable_libstdcxx_allocator_flag = auto; then
16201 case ${target_os} in
16202 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16203 enable_libstdcxx_allocator_flag=new
16206 enable_libstdcxx_allocator_flag=new
16208 esac
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16211 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16214 # Set configure bits for specified locale package
16215 case ${enable_libstdcxx_allocator_flag} in
16216 bitmap)
16217 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16218 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16220 malloc)
16221 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16222 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16225 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16226 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16228 new)
16229 ALLOCATOR_H=config/allocator/new_allocator_base.h
16230 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16232 pool)
16233 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16234 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16236 esac
16242 # Check whether --enable-cheaders was given.
16243 if test "${enable_cheaders+set}" = set; then :
16244 enableval=$enable_cheaders;
16245 case "$enableval" in
16246 c|c_std|c_global) ;;
16247 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16248 esac
16250 else
16251 enable_cheaders=$c_model
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16256 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16258 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16260 # Allow overrides to configure.host here.
16261 if test $enable_cheaders = c_global; then
16262 c_compatibility=yes
16271 # Check whether --enable-long-long was given.
16272 if test "${enable_long_long+set}" = set; then :
16273 enableval=$enable_long_long;
16274 case "$enableval" in
16275 yes|no) ;;
16276 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16277 esac
16279 else
16280 enable_long_long=yes
16284 if test $enable_long_long = yes; then
16286 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16290 $as_echo_n "checking for enabled long long specializations... " >&6; }
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16292 $as_echo "$enable_long_long" >&6; }
16295 # Check whether --enable-wchar_t was given.
16296 if test "${enable_wchar_t+set}" = set; then :
16297 enableval=$enable_wchar_t;
16298 case "$enableval" in
16299 yes|no) ;;
16300 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16301 esac
16303 else
16304 enable_wchar_t=yes
16309 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16310 for ac_header in wchar.h
16311 do :
16312 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16313 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16314 cat >>confdefs.h <<_ACEOF
16315 #define HAVE_WCHAR_H 1
16316 _ACEOF
16317 ac_has_wchar_h=yes
16318 else
16319 ac_has_wchar_h=no
16322 done
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16325 $as_echo_n "checking for mbstate_t... " >&6; }
16326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16327 /* end confdefs.h. */
16328 #include <wchar.h>
16330 main ()
16332 mbstate_t teststate;
16334 return 0;
16336 _ACEOF
16337 if ac_fn_c_try_compile "$LINENO"; then :
16338 have_mbstate_t=yes
16339 else
16340 have_mbstate_t=no
16342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16344 $as_echo "$have_mbstate_t" >&6; }
16345 if test x"$have_mbstate_t" = xyes; then
16347 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16351 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16352 # ac_has_wchar_h.
16353 for ac_header in wctype.h
16354 do :
16355 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16356 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16357 cat >>confdefs.h <<_ACEOF
16358 #define HAVE_WCTYPE_H 1
16359 _ACEOF
16360 ac_has_wctype_h=yes
16361 else
16362 ac_has_wctype_h=no
16365 done
16368 if test x"$enable_wchar_t" = x"yes"; then
16371 ac_ext=cpp
16372 ac_cpp='$CXXCPP $CPPFLAGS'
16373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16378 if test x"$ac_has_wchar_h" = xyes &&
16379 test x"$ac_has_wctype_h" = xyes; then
16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h. */
16382 #include <wchar.h>
16383 #include <stddef.h>
16384 wint_t i;
16385 long l = WEOF;
16386 long j = WCHAR_MIN;
16387 long k = WCHAR_MAX;
16388 namespace test
16390 using ::btowc;
16391 using ::fgetwc;
16392 using ::fgetws;
16393 using ::fputwc;
16394 using ::fputws;
16395 using ::fwide;
16396 using ::fwprintf;
16397 using ::fwscanf;
16398 using ::getwc;
16399 using ::getwchar;
16400 using ::mbrlen;
16401 using ::mbrtowc;
16402 using ::mbsinit;
16403 using ::mbsrtowcs;
16404 using ::putwc;
16405 using ::putwchar;
16406 using ::swprintf;
16407 using ::swscanf;
16408 using ::ungetwc;
16409 using ::vfwprintf;
16410 using ::vswprintf;
16411 using ::vwprintf;
16412 using ::wcrtomb;
16413 using ::wcscat;
16414 using ::wcschr;
16415 using ::wcscmp;
16416 using ::wcscoll;
16417 using ::wcscpy;
16418 using ::wcscspn;
16419 using ::wcsftime;
16420 using ::wcslen;
16421 using ::wcsncat;
16422 using ::wcsncmp;
16423 using ::wcsncpy;
16424 using ::wcspbrk;
16425 using ::wcsrchr;
16426 using ::wcsrtombs;
16427 using ::wcsspn;
16428 using ::wcsstr;
16429 using ::wcstod;
16430 using ::wcstok;
16431 using ::wcstol;
16432 using ::wcstoul;
16433 using ::wcsxfrm;
16434 using ::wctob;
16435 using ::wmemchr;
16436 using ::wmemcmp;
16437 using ::wmemcpy;
16438 using ::wmemmove;
16439 using ::wmemset;
16440 using ::wprintf;
16441 using ::wscanf;
16445 main ()
16449 return 0;
16451 _ACEOF
16452 if ac_fn_cxx_try_compile "$LINENO"; then :
16454 else
16455 enable_wchar_t=no
16457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16458 else
16459 enable_wchar_t=no
16462 ac_ext=c
16463 ac_cpp='$CPP $CPPFLAGS'
16464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16470 if test x"$enable_wchar_t" = x"yes"; then
16472 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16477 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16479 $as_echo "$enable_wchar_t" >&6; }
16483 # Check whether --enable-c99 was given.
16484 if test "${enable_c99+set}" = set; then :
16485 enableval=$enable_c99;
16486 case "$enableval" in
16487 yes|no) ;;
16488 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16489 esac
16491 else
16492 enable_c99=yes
16497 if test x"$enable_c99" = x"yes"; then
16500 ac_ext=cpp
16501 ac_cpp='$CXXCPP $CPPFLAGS'
16502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16507 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16508 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16509 # spuriously enabled.
16510 # Long term, -std=c++0x could be even better, could manage to explicitely
16511 # request C99 facilities to the underlying C headers.
16512 ac_save_CXXFLAGS="$CXXFLAGS"
16513 CXXFLAGS="$CXXFLAGS -std=c++98"
16514 ac_save_LIBS="$LIBS"
16515 ac_save_gcc_no_link="$gcc_no_link"
16517 if test x$gcc_no_link != xyes; then
16518 # Use -fno-exceptions to that the C driver can link these tests without
16519 # hitting undefined references to personality routines.
16520 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16522 $as_echo_n "checking for sin in -lm... " >&6; }
16523 if test "${ac_cv_lib_m_sin+set}" = set; then :
16524 $as_echo_n "(cached) " >&6
16525 else
16526 ac_check_lib_save_LIBS=$LIBS
16527 LIBS="-lm $LIBS"
16528 if test x$gcc_no_link = xyes; then
16529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16532 /* end confdefs.h. */
16534 /* Override any GCC internal prototype to avoid an error.
16535 Use char because int might match the return type of a GCC
16536 builtin and then its argument prototype would still apply. */
16537 #ifdef __cplusplus
16538 extern "C"
16539 #endif
16540 char sin ();
16542 main ()
16544 return sin ();
16546 return 0;
16548 _ACEOF
16549 if ac_fn_cxx_try_link "$LINENO"; then :
16550 ac_cv_lib_m_sin=yes
16551 else
16552 ac_cv_lib_m_sin=no
16554 rm -f core conftest.err conftest.$ac_objext \
16555 conftest$ac_exeext conftest.$ac_ext
16556 LIBS=$ac_check_lib_save_LIBS
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16559 $as_echo "$ac_cv_lib_m_sin" >&6; }
16560 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16562 LIBS="$LIBS -lm"
16564 else
16566 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16567 gcc_no_link=yes
16573 # Check for the existence of <math.h> functions used if C99 is enabled.
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16575 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16576 if test "${glibcxx_cv_c99_math+set}" = set; then :
16577 $as_echo_n "(cached) " >&6
16578 else
16580 if test x$gcc_no_link = xyes; then
16581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16582 /* end confdefs.h. */
16583 #include <math.h>
16584 volatile double d1, d2;
16585 volatile int i;
16587 main ()
16589 i = fpclassify(d1);
16590 i = isfinite(d1);
16591 i = isinf(d1);
16592 i = isnan(d1);
16593 i = isnormal(d1);
16594 i = signbit(d1);
16595 i = isgreater(d1, d2);
16596 i = isgreaterequal(d1, d2);
16597 i = isless(d1, d2);
16598 i = islessequal(d1, d2);
16599 i = islessgreater(d1, d2);
16600 i = islessgreater(d1, d2);
16601 i = isunordered(d1, d2);
16604 return 0;
16606 _ACEOF
16607 if ac_fn_cxx_try_compile "$LINENO"; then :
16608 glibcxx_cv_c99_math=yes
16609 else
16610 glibcxx_cv_c99_math=no
16612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16613 else
16614 if test x$gcc_no_link = xyes; then
16615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16619 #include <math.h>
16620 volatile double d1, d2;
16621 volatile int i;
16623 main ()
16625 i = fpclassify(d1);
16626 i = isfinite(d1);
16627 i = isinf(d1);
16628 i = isnan(d1);
16629 i = isnormal(d1);
16630 i = signbit(d1);
16631 i = isgreater(d1, d2);
16632 i = isgreaterequal(d1, d2);
16633 i = isless(d1, d2);
16634 i = islessequal(d1, d2);
16635 i = islessgreater(d1, d2);
16636 i = islessgreater(d1, d2);
16637 i = isunordered(d1, d2);
16640 return 0;
16642 _ACEOF
16643 if ac_fn_cxx_try_link "$LINENO"; then :
16644 glibcxx_cv_c99_math=yes
16645 else
16646 glibcxx_cv_c99_math=no
16648 rm -f core conftest.err conftest.$ac_objext \
16649 conftest$ac_exeext conftest.$ac_ext
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16655 $as_echo "$glibcxx_cv_c99_math" >&6; }
16656 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16658 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16662 # Check for the existence of <complex.h> complex math functions.
16663 # This is necessary even though libstdc++ uses the builtin versions
16664 # of these functions, because if the builtin cannot be used, a reference
16665 # to the library function is emitted.
16666 for ac_header in tgmath.h
16667 do :
16668 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16669 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16670 cat >>confdefs.h <<_ACEOF
16671 #define HAVE_TGMATH_H 1
16672 _ACEOF
16673 ac_has_tgmath_h=yes
16674 else
16675 ac_has_tgmath_h=no
16678 done
16680 for ac_header in complex.h
16681 do :
16682 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16683 if test "x$ac_cv_header_complex_h" = x""yes; then :
16684 cat >>confdefs.h <<_ACEOF
16685 #define HAVE_COMPLEX_H 1
16686 _ACEOF
16687 ac_has_complex_h=yes
16688 else
16689 ac_has_complex_h=no
16692 done
16694 glibcxx_cv_c99_complex=no;
16695 if test x"$ac_has_complex_h" = x"yes"; then
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16697 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16698 if test x$gcc_no_link = xyes; then
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16701 #include <complex.h>
16702 typedef __complex__ float float_type;
16703 typedef __complex__ double double_type;
16704 typedef __complex__ long double ld_type;
16705 volatile float_type tmpf;
16706 volatile double_type tmpd;
16707 volatile ld_type tmpld;
16708 volatile float f;
16709 volatile double d;
16710 volatile long double ld;
16712 main ()
16714 f = cabsf(tmpf);
16715 f = cargf(tmpf);
16716 tmpf = ccosf(tmpf);
16717 tmpf = ccoshf(tmpf);
16718 tmpf = cexpf(tmpf);
16719 tmpf = clogf(tmpf);
16720 tmpf = csinf(tmpf);
16721 tmpf = csinhf(tmpf);
16722 tmpf = csqrtf(tmpf);
16723 tmpf = ctanf(tmpf);
16724 tmpf = ctanhf(tmpf);
16725 tmpf = cpowf(tmpf, tmpf);
16726 tmpf = cprojf(tmpf);
16727 d = cabs(tmpd);
16728 d = carg(tmpd);
16729 tmpd = ccos(tmpd);
16730 tmpd = ccosh(tmpd);
16731 tmpd = cexp(tmpd);
16732 tmpd = clog(tmpd);
16733 tmpd = csin(tmpd);
16734 tmpd = csinh(tmpd);
16735 tmpd = csqrt(tmpd);
16736 tmpd = ctan(tmpd);
16737 tmpd = ctanh(tmpd);
16738 tmpd = cpow(tmpd, tmpd);
16739 tmpd = cproj(tmpd);
16740 ld = cabsl(tmpld);
16741 ld = cargl(tmpld);
16742 tmpld = ccosl(tmpld);
16743 tmpld = ccoshl(tmpld);
16744 tmpld = cexpl(tmpld);
16745 tmpld = clogl(tmpld);
16746 tmpld = csinl(tmpld);
16747 tmpld = csinhl(tmpld);
16748 tmpld = csqrtl(tmpld);
16749 tmpld = ctanl(tmpld);
16750 tmpld = ctanhl(tmpld);
16751 tmpld = cpowl(tmpld, tmpld);
16752 tmpld = cprojl(tmpld);
16755 return 0;
16757 _ACEOF
16758 if ac_fn_cxx_try_compile "$LINENO"; then :
16759 glibcxx_cv_c99_complex=yes
16760 else
16761 glibcxx_cv_c99_complex=no
16763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16764 else
16765 if test x$gcc_no_link = xyes; then
16766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
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_link "$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 \
16833 conftest$ac_exeext conftest.$ac_ext
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16837 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16838 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16840 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16844 # Check for the existence in <stdio.h> of vscanf, et. al.
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16846 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16847 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16848 $as_echo_n "(cached) " >&6
16849 else
16851 if test x$gcc_no_link = xyes; then
16852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h. */
16854 #include <stdio.h>
16855 #include <stdarg.h>
16856 void foo(char* fmt, ...)
16858 va_list args; va_start(args, fmt);
16859 vfscanf(stderr, "%i", args);
16860 vscanf("%i", args);
16861 vsnprintf(fmt, 0, "%i", args);
16862 vsscanf(fmt, "%i", args);
16865 main ()
16867 snprintf("12", 0, "%i");
16869 return 0;
16871 _ACEOF
16872 if ac_fn_cxx_try_compile "$LINENO"; then :
16873 glibcxx_cv_c99_stdio=yes
16874 else
16875 glibcxx_cv_c99_stdio=no
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878 else
16879 if test x$gcc_no_link = xyes; then
16880 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16884 #include <stdio.h>
16885 #include <stdarg.h>
16886 void foo(char* fmt, ...)
16888 va_list args; va_start(args, fmt);
16889 vfscanf(stderr, "%i", args);
16890 vscanf("%i", args);
16891 vsnprintf(fmt, 0, "%i", args);
16892 vsscanf(fmt, "%i", args);
16895 main ()
16897 snprintf("12", 0, "%i");
16899 return 0;
16901 _ACEOF
16902 if ac_fn_cxx_try_link "$LINENO"; then :
16903 glibcxx_cv_c99_stdio=yes
16904 else
16905 glibcxx_cv_c99_stdio=no
16907 rm -f core conftest.err conftest.$ac_objext \
16908 conftest$ac_exeext conftest.$ac_ext
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16914 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16916 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16918 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16919 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16920 $as_echo_n "(cached) " >&6
16921 else
16923 if test x$gcc_no_link = xyes; then
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h. */
16926 #include <stdlib.h>
16927 volatile float f;
16928 volatile long double ld;
16929 volatile unsigned long long ll;
16930 lldiv_t mydivt;
16932 main ()
16934 char* tmp;
16935 f = strtof("gnu", &tmp);
16936 ld = strtold("gnu", &tmp);
16937 ll = strtoll("gnu", &tmp, 10);
16938 ll = strtoull("gnu", &tmp, 10);
16939 ll = llabs(10);
16940 mydivt = lldiv(10,1);
16941 ll = mydivt.quot;
16942 ll = mydivt.rem;
16943 ll = atoll("10");
16944 _Exit(0);
16947 return 0;
16949 _ACEOF
16950 if ac_fn_cxx_try_compile "$LINENO"; then :
16951 glibcxx_cv_c99_stdlib=yes
16952 else
16953 glibcxx_cv_c99_stdlib=no
16955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16956 else
16957 if test x$gcc_no_link = xyes; then
16958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16961 /* end confdefs.h. */
16962 #include <stdlib.h>
16963 volatile float f;
16964 volatile long double ld;
16965 volatile unsigned long long ll;
16966 lldiv_t mydivt;
16968 main ()
16970 char* tmp;
16971 f = strtof("gnu", &tmp);
16972 ld = strtold("gnu", &tmp);
16973 ll = strtoll("gnu", &tmp, 10);
16974 ll = strtoull("gnu", &tmp, 10);
16975 ll = llabs(10);
16976 mydivt = lldiv(10,1);
16977 ll = mydivt.quot;
16978 ll = mydivt.rem;
16979 ll = atoll("10");
16980 _Exit(0);
16983 return 0;
16985 _ACEOF
16986 if ac_fn_cxx_try_link "$LINENO"; then :
16987 glibcxx_cv_c99_stdlib=yes
16988 else
16989 glibcxx_cv_c99_stdlib=no
16991 rm -f core conftest.err conftest.$ac_objext \
16992 conftest$ac_exeext conftest.$ac_ext
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16998 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17000 # Check for the existence in <wchar.h> of wcstold, etc.
17001 glibcxx_cv_c99_wchar=no;
17002 if test x"$ac_has_wchar_h" = xyes &&
17003 test x"$ac_has_wctype_h" = xyes; then
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17005 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 #include <wchar.h>
17009 namespace test
17011 using ::wcstold;
17012 using ::wcstoll;
17013 using ::wcstoull;
17017 main ()
17021 return 0;
17023 _ACEOF
17024 if ac_fn_cxx_try_compile "$LINENO"; then :
17025 glibcxx_cv_c99_wchar=yes
17026 else
17027 glibcxx_cv_c99_wchar=no
17029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17031 # Checks for wide character functions that may not be present.
17032 # Injection of these is wrapped with guard macros.
17033 # NB: only put functions here, instead of immediately above, if
17034 # absolutely necessary.
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17037 #include <wchar.h>
17038 namespace test { using ::vfwscanf; }
17040 main ()
17044 return 0;
17046 _ACEOF
17047 if ac_fn_cxx_try_compile "$LINENO"; then :
17049 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test { using ::vswscanf; }
17059 main ()
17063 return 0;
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17068 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <wchar.h>
17076 namespace test { using ::vwscanf; }
17078 main ()
17082 return 0;
17084 _ACEOF
17085 if ac_fn_cxx_try_compile "$LINENO"; then :
17087 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #include <wchar.h>
17095 namespace test { using ::wcstof; }
17097 main ()
17101 return 0;
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17106 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <wctype.h>
17115 main ()
17117 wint_t t; int i = iswblank(t);
17119 return 0;
17121 _ACEOF
17122 if ac_fn_cxx_try_compile "$LINENO"; then :
17124 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17130 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17133 # Option parsed, now set things appropriately.
17134 if test x"$glibcxx_cv_c99_math" = x"no" ||
17135 test x"$glibcxx_cv_c99_complex" = x"no" ||
17136 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17137 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17138 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17139 enable_c99=no;
17140 else
17142 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17146 gcc_no_link="$ac_save_gcc_no_link"
17147 LIBS="$ac_save_LIBS"
17148 CXXFLAGS="$ac_save_CXXFLAGS"
17149 ac_ext=c
17150 ac_cpp='$CPP $CPPFLAGS'
17151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17158 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17160 $as_echo "$enable_c99" >&6; }
17163 # Check whether --enable-concept-checks was given.
17164 if test "${enable_concept_checks+set}" = set; then :
17165 enableval=$enable_concept_checks;
17166 case "$enableval" in
17167 yes|no) ;;
17168 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17169 esac
17171 else
17172 enable_concept_checks=no
17176 if test $enable_concept_checks = yes; then
17178 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17183 # Check whether --enable-libstdcxx-debug-flags was given.
17184 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17185 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17186 xno | x) enable_libstdcxx_debug_flags= ;;
17187 x-*) ;;
17188 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17189 esac
17190 else
17191 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17196 # Option parsed, now set things appropriately
17197 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17201 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17205 $as_echo_n "checking for additional debug build... " >&6; }
17206 # Check whether --enable-libstdcxx-debug was given.
17207 if test "${enable_libstdcxx_debug+set}" = set; then :
17208 enableval=$enable_libstdcxx_debug;
17209 case "$enableval" in
17210 yes|no) ;;
17211 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17212 esac
17214 else
17215 enable_libstdcxx_debug=no
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17220 $as_echo "$enable_libstdcxx_debug" >&6; }
17225 enable_parallel=no;
17227 # See if configured libgomp/omp.h exists. (libgomp may be in
17228 # noconfigdirs but not explicitly disabled.)
17229 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17230 enable_parallel=yes;
17231 else
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17233 $as_echo "$as_me: target-libgomp not built" >&6;}
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17237 $as_echo_n "checking for parallel mode support... " >&6; }
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17239 $as_echo "$enable_parallel" >&6; }
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17242 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17243 # Check whether --enable-cxx-flags was given.
17244 if test "${enable_cxx_flags+set}" = set; then :
17245 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17246 xno | x) enable_cxx_flags= ;;
17247 x-*) ;;
17248 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17249 esac
17250 else
17251 enable_cxx_flags=
17256 # Run through flags (either default or command-line) and set anything
17257 # extra (e.g., #defines) that must accompany particular g++ options.
17258 if test -n "$enable_cxx_flags"; then
17259 for f in $enable_cxx_flags; do
17260 case "$f" in
17261 -fhonor-std) ;;
17262 -*) ;;
17263 *) # and we're trying to pass /what/ exactly?
17264 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17265 esac
17266 done
17269 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17271 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17275 # Check whether --enable-fully-dynamic-string was given.
17276 if test "${enable_fully_dynamic_string+set}" = set; then :
17277 enableval=$enable_fully_dynamic_string;
17278 case "$enableval" in
17279 yes|no) ;;
17280 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17281 esac
17283 else
17284 enable_fully_dynamic_string=no
17288 if test $enable_fully_dynamic_string = yes; then
17289 enable_fully_dynamic_string_def=1
17290 else
17291 enable_fully_dynamic_string_def=0
17294 cat >>confdefs.h <<_ACEOF
17295 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17296 _ACEOF
17301 # Check whether --enable-extern-template was given.
17302 if test "${enable_extern_template+set}" = set; then :
17303 enableval=$enable_extern_template;
17304 case "$enableval" in
17305 yes|no) ;;
17306 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17307 esac
17309 else
17310 enable_extern_template=yes
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17316 $as_echo_n "checking for extern template support... " >&6; }
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17318 $as_echo "$enable_extern_template" >&6; }
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17325 $as_echo_n "checking for custom python install directory... " >&6; }
17327 # Check whether --with-python-dir was given.
17328 if test "${with_python_dir+set}" = set; then :
17329 withval=$with_python_dir; with_python_dir=$withval
17330 else
17331 with_python_dir="no"
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17335 $as_echo "${with_python_dir}" >&6; }
17337 # Needed for installing Python modules during make install.
17338 python_mod_dir="${with_python_dir}"
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17344 $as_echo_n "checking for -Werror... " >&6; }
17345 # Check whether --enable-werror was given.
17346 if test "${enable_werror+set}" = set; then :
17347 enableval=$enable_werror;
17348 case "$enableval" in
17349 yes|no) ;;
17350 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17351 esac
17353 else
17354 enable_werror=yes
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17359 $as_echo "$enable_werror" >&6; }
17363 # Checks for operating systems support that doesn't require linking.
17367 ac_ext=cpp
17368 ac_cpp='$CXXCPP $CPPFLAGS'
17369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17375 $as_echo_n "checking for gets declaration... " >&6; }
17376 if test "${glibcxx_cv_gets+set}" = set; then :
17377 $as_echo_n "(cached) " >&6
17378 else
17380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17382 #include <stdio.h>
17383 namespace test
17385 using ::gets;
17388 _ACEOF
17389 if ac_fn_cxx_try_compile "$LINENO"; then :
17390 glibcxx_cv_gets=yes
17391 else
17392 glibcxx_cv_gets=no
17395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17399 if test $glibcxx_cv_gets = yes; then
17401 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17405 $as_echo "$glibcxx_cv_gets" >&6; }
17407 ac_ext=c
17408 ac_cpp='$CPP $CPPFLAGS'
17409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17417 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17418 if test "${glibcxx_cv_system_error1+set}" = set; then :
17419 $as_echo_n "(cached) " >&6
17420 else
17422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 /* end confdefs.h. */
17424 #include <errno.h>
17426 main ()
17428 int i = EOWNERDEAD;
17430 return 0;
17432 _ACEOF
17433 if ac_fn_c_try_compile "$LINENO"; then :
17434 glibcxx_cv_system_error1=yes
17435 else
17436 glibcxx_cv_system_error1=no
17438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17443 $as_echo "$glibcxx_cv_system_error1" >&6; }
17444 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17446 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17450 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17451 if test "${glibcxx_cv_system_error2+set}" = set; then :
17452 $as_echo_n "(cached) " >&6
17453 else
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17457 #include <errno.h>
17459 main ()
17461 int i = ENOTRECOVERABLE;
17463 return 0;
17465 _ACEOF
17466 if ac_fn_c_try_compile "$LINENO"; then :
17467 glibcxx_cv_system_error2=yes
17468 else
17469 glibcxx_cv_system_error2=no
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17476 $as_echo "$glibcxx_cv_system_error2" >&6; }
17477 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17479 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17483 $as_echo_n "checking for ENOLINK... " >&6; }
17484 if test "${glibcxx_cv_system_error3+set}" = set; then :
17485 $as_echo_n "(cached) " >&6
17486 else
17488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 #include <errno.h>
17492 main ()
17494 int i = ENOLINK;
17496 return 0;
17498 _ACEOF
17499 if ac_fn_c_try_compile "$LINENO"; then :
17500 glibcxx_cv_system_error3=yes
17501 else
17502 glibcxx_cv_system_error3=no
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17509 $as_echo "$glibcxx_cv_system_error3" >&6; }
17510 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17512 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17516 $as_echo_n "checking for EPROTO... " >&6; }
17517 if test "${glibcxx_cv_system_error4+set}" = set; then :
17518 $as_echo_n "(cached) " >&6
17519 else
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17523 #include <errno.h>
17525 main ()
17527 int i = EPROTO;
17529 return 0;
17531 _ACEOF
17532 if ac_fn_c_try_compile "$LINENO"; then :
17533 glibcxx_cv_system_error4=yes
17534 else
17535 glibcxx_cv_system_error4=no
17537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17542 $as_echo "$glibcxx_cv_system_error4" >&6; }
17543 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17545 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17549 $as_echo_n "checking for ENODATA... " >&6; }
17550 if test "${glibcxx_cv_system_error5+set}" = set; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17556 #include <errno.h>
17558 main ()
17560 int i = ENODATA;
17562 return 0;
17564 _ACEOF
17565 if ac_fn_c_try_compile "$LINENO"; then :
17566 glibcxx_cv_system_error5=yes
17567 else
17568 glibcxx_cv_system_error5=no
17570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17575 $as_echo "$glibcxx_cv_system_error5" >&6; }
17576 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17578 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17582 $as_echo_n "checking for ENOSR... " >&6; }
17583 if test "${glibcxx_cv_system_error6+set}" = set; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #include <errno.h>
17591 main ()
17593 int i = ENOSR;
17595 return 0;
17597 _ACEOF
17598 if ac_fn_c_try_compile "$LINENO"; then :
17599 glibcxx_cv_system_error6=yes
17600 else
17601 glibcxx_cv_system_error6=no
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17608 $as_echo "$glibcxx_cv_system_error6" >&6; }
17609 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17611 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17615 $as_echo_n "checking for ENOSTR... " >&6; }
17616 if test "${glibcxx_cv_system_error7+set}" = set; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 #include <errno.h>
17624 main ()
17626 int i = ENOSTR;
17628 return 0;
17630 _ACEOF
17631 if ac_fn_c_try_compile "$LINENO"; then :
17632 glibcxx_cv_system_error7=yes
17633 else
17634 glibcxx_cv_system_error7=no
17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17641 $as_echo "$glibcxx_cv_system_error7" >&6; }
17642 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17644 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17648 $as_echo_n "checking for ETIME... " >&6; }
17649 if test "${glibcxx_cv_system_error8+set}" = set; then :
17650 $as_echo_n "(cached) " >&6
17651 else
17653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h. */
17655 #include <errno.h>
17657 main ()
17659 int i = ETIME;
17661 return 0;
17663 _ACEOF
17664 if ac_fn_c_try_compile "$LINENO"; then :
17665 glibcxx_cv_system_error8=yes
17666 else
17667 glibcxx_cv_system_error8=no
17669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17674 $as_echo "$glibcxx_cv_system_error8" >&6; }
17675 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17677 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17681 $as_echo_n "checking for EBADMSG... " >&6; }
17682 if test "${glibcxx_cv_system_error9+set}" = set; then :
17683 $as_echo_n "(cached) " >&6
17684 else
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17688 #include <errno.h>
17690 main ()
17692 int i = EBADMSG;
17694 return 0;
17696 _ACEOF
17697 if ac_fn_c_try_compile "$LINENO"; then :
17698 glibcxx_cv_system_error9=yes
17699 else
17700 glibcxx_cv_system_error9=no
17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17707 $as_echo "$glibcxx_cv_system_error9" >&6; }
17708 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17710 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17714 $as_echo_n "checking for ECANCELED... " >&6; }
17715 if test "${glibcxx_cv_system_error10+set}" = set; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 #include <errno.h>
17723 main ()
17725 int i = ECANCELED;
17727 return 0;
17729 _ACEOF
17730 if ac_fn_c_try_compile "$LINENO"; then :
17731 glibcxx_cv_system_error10=yes
17732 else
17733 glibcxx_cv_system_error10=no
17735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17740 $as_echo "$glibcxx_cv_system_error10" >&6; }
17741 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17743 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17747 $as_echo_n "checking for EOVERFLOW... " >&6; }
17748 if test "${glibcxx_cv_system_error11+set}" = set; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <errno.h>
17756 main ()
17758 int i = EOVERFLOW;
17760 return 0;
17762 _ACEOF
17763 if ac_fn_c_try_compile "$LINENO"; then :
17764 glibcxx_cv_system_error11=yes
17765 else
17766 glibcxx_cv_system_error11=no
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17773 $as_echo "$glibcxx_cv_system_error11" >&6; }
17774 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17776 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17780 $as_echo_n "checking for ENOTSUP... " >&6; }
17781 if test "${glibcxx_cv_system_error12+set}" = set; then :
17782 $as_echo_n "(cached) " >&6
17783 else
17785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17787 #include <errno.h>
17789 main ()
17791 int i = ENOTSUP;
17793 return 0;
17795 _ACEOF
17796 if ac_fn_c_try_compile "$LINENO"; then :
17797 glibcxx_cv_system_error12=yes
17798 else
17799 glibcxx_cv_system_error12=no
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17806 $as_echo "$glibcxx_cv_system_error12" >&6; }
17807 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17809 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17813 $as_echo_n "checking for EIDRM... " >&6; }
17814 if test "${glibcxx_cv_system_error13+set}" = set; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17820 #include <errno.h>
17822 main ()
17824 int i = EIDRM;
17826 return 0;
17828 _ACEOF
17829 if ac_fn_c_try_compile "$LINENO"; then :
17830 glibcxx_cv_system_error13=yes
17831 else
17832 glibcxx_cv_system_error13=no
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17839 $as_echo "$glibcxx_cv_system_error13" >&6; }
17840 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17842 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17846 $as_echo_n "checking for ETXTBSY... " >&6; }
17847 if test "${glibcxx_cv_system_error14+set}" = set; then :
17848 $as_echo_n "(cached) " >&6
17849 else
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17853 #include <errno.h>
17855 main ()
17857 int i = ETXTBSY;
17859 return 0;
17861 _ACEOF
17862 if ac_fn_c_try_compile "$LINENO"; then :
17863 glibcxx_cv_system_error14=yes
17864 else
17865 glibcxx_cv_system_error14=no
17867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17872 $as_echo "$glibcxx_cv_system_error14" >&6; }
17873 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17875 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17879 $as_echo_n "checking for ECHILD... " >&6; }
17880 if test "${glibcxx_cv_system_error15+set}" = set; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17886 #include <errno.h>
17888 main ()
17890 int i = ECHILD;
17892 return 0;
17894 _ACEOF
17895 if ac_fn_c_try_compile "$LINENO"; then :
17896 glibcxx_cv_system_error15=yes
17897 else
17898 glibcxx_cv_system_error15=no
17900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17905 $as_echo "$glibcxx_cv_system_error15" >&6; }
17906 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17908 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17912 $as_echo_n "checking for ENOSPC... " >&6; }
17913 if test "${glibcxx_cv_system_error16+set}" = set; then :
17914 $as_echo_n "(cached) " >&6
17915 else
17917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17919 #include <errno.h>
17921 main ()
17923 int i = ENOSPC;
17925 return 0;
17927 _ACEOF
17928 if ac_fn_c_try_compile "$LINENO"; then :
17929 glibcxx_cv_system_error16=yes
17930 else
17931 glibcxx_cv_system_error16=no
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17938 $as_echo "$glibcxx_cv_system_error16" >&6; }
17939 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17941 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17945 $as_echo_n "checking for EPERM... " >&6; }
17946 if test "${glibcxx_cv_system_error17+set}" = set; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17951 /* end confdefs.h. */
17952 #include <errno.h>
17954 main ()
17956 int i = EPERM;
17958 return 0;
17960 _ACEOF
17961 if ac_fn_c_try_compile "$LINENO"; then :
17962 glibcxx_cv_system_error17=yes
17963 else
17964 glibcxx_cv_system_error17=no
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17971 $as_echo "$glibcxx_cv_system_error17" >&6; }
17972 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17974 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17978 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17979 if test "${glibcxx_cv_system_error18+set}" = set; then :
17980 $as_echo_n "(cached) " >&6
17981 else
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17985 #include <errno.h>
17987 main ()
17989 int i = ETIMEDOUT;
17991 return 0;
17993 _ACEOF
17994 if ac_fn_c_try_compile "$LINENO"; then :
17995 glibcxx_cv_system_error18=yes
17996 else
17997 glibcxx_cv_system_error18=no
17999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18004 $as_echo "$glibcxx_cv_system_error18" >&6; }
18005 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18007 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18011 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18012 if test "${glibcxx_cv_system_error19+set}" = set; then :
18013 $as_echo_n "(cached) " >&6
18014 else
18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18017 /* end confdefs.h. */
18018 #include <errno.h>
18020 main ()
18022 int i = EWOULDBLOCK;
18024 return 0;
18026 _ACEOF
18027 if ac_fn_c_try_compile "$LINENO"; then :
18028 glibcxx_cv_system_error19=yes
18029 else
18030 glibcxx_cv_system_error19=no
18032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18037 $as_echo "$glibcxx_cv_system_error19" >&6; }
18038 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18040 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18046 # For the streamoff typedef.
18050 ac_ext=cpp
18051 ac_cpp='$CXXCPP $CPPFLAGS'
18052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18058 $as_echo_n "checking for int64_t... " >&6; }
18059 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18060 $as_echo_n "(cached) " >&6
18061 else
18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18065 #include <stdint.h>
18067 main ()
18069 int64_t var;
18071 return 0;
18073 _ACEOF
18074 if ac_fn_cxx_try_compile "$LINENO"; then :
18075 glibcxx_cv_INT64_T=yes
18076 else
18077 glibcxx_cv_INT64_T=no
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18084 if test $glibcxx_cv_INT64_T = yes; then
18086 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18089 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18092 $as_echo_n "checking for int64_t as long... " >&6; }
18093 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18094 $as_echo_n "(cached) " >&6
18095 else
18097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18098 /* end confdefs.h. */
18099 #include <stdint.h>
18100 template<typename, typename> struct same { enum { value = -1 }; };
18101 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18102 int array[same<int64_t, long>::value];
18104 main ()
18108 return 0;
18110 _ACEOF
18111 if ac_fn_cxx_try_compile "$LINENO"; then :
18112 glibcxx_cv_int64_t_long=yes
18113 else
18114 glibcxx_cv_int64_t_long=no
18116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18121 if test $glibcxx_cv_int64_t_long = yes; then
18123 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18126 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18130 $as_echo_n "checking for int64_t as long long... " >&6; }
18131 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18132 $as_echo_n "(cached) " >&6
18133 else
18135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h. */
18137 #include <stdint.h>
18138 template<typename, typename> struct same { enum { value = -1 }; };
18139 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18140 int array[same<int64_t, long long>::value];
18142 main ()
18146 return 0;
18148 _ACEOF
18149 if ac_fn_cxx_try_compile "$LINENO"; then :
18150 glibcxx_cv_int64_t_long_long=yes
18151 else
18152 glibcxx_cv_int64_t_long_long=no
18154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18159 if test $glibcxx_cv_int64_t_long_long = yes; then
18161 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18164 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18168 ac_ext=c
18169 ac_cpp='$CPP $CPPFLAGS'
18170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18176 # For LFS support.
18179 ac_ext=cpp
18180 ac_cpp='$CXXCPP $CPPFLAGS'
18181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18185 ac_save_CXXFLAGS="$CXXFLAGS"
18186 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18188 $as_echo_n "checking for LFS support... " >&6; }
18189 if test "${glibcxx_cv_LFS+set}" = set; then :
18190 $as_echo_n "(cached) " >&6
18191 else
18193 if test x$gcc_no_link = xyes; then
18194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18195 /* end confdefs.h. */
18196 #include <unistd.h>
18197 #include <stdio.h>
18198 #include <sys/stat.h>
18201 main ()
18203 FILE* fp;
18204 fopen64("t", "w");
18205 fseeko64(fp, 0, SEEK_CUR);
18206 ftello64(fp);
18207 lseek64(1, 0, SEEK_CUR);
18208 struct stat64 buf;
18209 fstat64(1, &buf);
18211 return 0;
18213 _ACEOF
18214 if ac_fn_cxx_try_compile "$LINENO"; then :
18215 glibcxx_cv_LFS=yes
18216 else
18217 glibcxx_cv_LFS=no
18219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220 else
18221 if test x$gcc_no_link = xyes; then
18222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18225 /* end confdefs.h. */
18226 #include <unistd.h>
18227 #include <stdio.h>
18228 #include <sys/stat.h>
18231 main ()
18233 FILE* fp;
18234 fopen64("t", "w");
18235 fseeko64(fp, 0, SEEK_CUR);
18236 ftello64(fp);
18237 lseek64(1, 0, SEEK_CUR);
18238 struct stat64 buf;
18239 fstat64(1, &buf);
18241 return 0;
18243 _ACEOF
18244 if ac_fn_cxx_try_link "$LINENO"; then :
18245 glibcxx_cv_LFS=yes
18246 else
18247 glibcxx_cv_LFS=no
18249 rm -f core conftest.err conftest.$ac_objext \
18250 conftest$ac_exeext conftest.$ac_ext
18255 if test $glibcxx_cv_LFS = yes; then
18257 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18261 $as_echo "$glibcxx_cv_LFS" >&6; }
18262 CXXFLAGS="$ac_save_CXXFLAGS"
18263 ac_ext=c
18264 ac_cpp='$CPP $CPPFLAGS'
18265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18271 # For showmanyc_helper().
18272 for ac_header in sys/ioctl.h sys/filio.h
18273 do :
18274 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18275 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18276 eval as_val=\$$as_ac_Header
18277 if test "x$as_val" = x""yes; then :
18278 cat >>confdefs.h <<_ACEOF
18279 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18280 _ACEOF
18284 done
18289 ac_ext=cpp
18290 ac_cpp='$CXXCPP $CPPFLAGS'
18291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18295 ac_save_CXXFLAGS="$CXXFLAGS"
18296 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18299 $as_echo_n "checking for poll... " >&6; }
18300 if test "${glibcxx_cv_POLL+set}" = set; then :
18301 $as_echo_n "(cached) " >&6
18302 else
18304 if test x$gcc_no_link = xyes; then
18305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18306 /* end confdefs.h. */
18307 #include <poll.h>
18309 main ()
18311 struct pollfd pfd[1];
18312 pfd[0].events = POLLIN;
18313 poll(pfd, 1, 0);
18315 return 0;
18317 _ACEOF
18318 if ac_fn_cxx_try_compile "$LINENO"; then :
18319 glibcxx_cv_POLL=yes
18320 else
18321 glibcxx_cv_POLL=no
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324 else
18325 if test x$gcc_no_link = xyes; then
18326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18329 /* end confdefs.h. */
18330 #include <poll.h>
18332 main ()
18334 struct pollfd pfd[1];
18335 pfd[0].events = POLLIN;
18336 poll(pfd, 1, 0);
18338 return 0;
18340 _ACEOF
18341 if ac_fn_cxx_try_link "$LINENO"; then :
18342 glibcxx_cv_POLL=yes
18343 else
18344 glibcxx_cv_POLL=no
18346 rm -f core conftest.err conftest.$ac_objext \
18347 conftest$ac_exeext conftest.$ac_ext
18352 if test $glibcxx_cv_POLL = yes; then
18354 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18358 $as_echo "$glibcxx_cv_POLL" >&6; }
18360 CXXFLAGS="$ac_save_CXXFLAGS"
18361 ac_ext=c
18362 ac_cpp='$CPP $CPPFLAGS'
18363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18371 ac_ext=cpp
18372 ac_cpp='$CXXCPP $CPPFLAGS'
18373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18377 ac_save_CXXFLAGS="$CXXFLAGS"
18378 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18381 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18382 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18383 $as_echo_n "(cached) " >&6
18384 else
18386 if test x$gcc_no_link = xyes; then
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #include <sys/stat.h>
18391 main ()
18393 struct stat buffer;
18394 fstat(0, &buffer);
18395 S_ISREG(buffer.st_mode);
18397 return 0;
18399 _ACEOF
18400 if ac_fn_cxx_try_compile "$LINENO"; then :
18401 glibcxx_cv_S_ISREG=yes
18402 else
18403 glibcxx_cv_S_ISREG=no
18405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18406 else
18407 if test x$gcc_no_link = xyes; then
18408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h. */
18412 #include <sys/stat.h>
18414 main ()
18416 struct stat buffer;
18417 fstat(0, &buffer);
18418 S_ISREG(buffer.st_mode);
18420 return 0;
18422 _ACEOF
18423 if ac_fn_cxx_try_link "$LINENO"; then :
18424 glibcxx_cv_S_ISREG=yes
18425 else
18426 glibcxx_cv_S_ISREG=no
18428 rm -f core conftest.err conftest.$ac_objext \
18429 conftest$ac_exeext conftest.$ac_ext
18434 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18435 $as_echo_n "(cached) " >&6
18436 else
18438 if test x$gcc_no_link = xyes; then
18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18441 #include <sys/stat.h>
18443 main ()
18445 struct stat buffer;
18446 fstat(0, &buffer);
18447 S_IFREG & buffer.st_mode;
18449 return 0;
18451 _ACEOF
18452 if ac_fn_cxx_try_compile "$LINENO"; then :
18453 glibcxx_cv_S_IFREG=yes
18454 else
18455 glibcxx_cv_S_IFREG=no
18457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18458 else
18459 if test x$gcc_no_link = xyes; then
18460 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18463 /* end confdefs.h. */
18464 #include <sys/stat.h>
18466 main ()
18468 struct stat buffer;
18469 fstat(0, &buffer);
18470 S_IFREG & buffer.st_mode;
18472 return 0;
18474 _ACEOF
18475 if ac_fn_cxx_try_link "$LINENO"; then :
18476 glibcxx_cv_S_IFREG=yes
18477 else
18478 glibcxx_cv_S_IFREG=no
18480 rm -f core conftest.err conftest.$ac_objext \
18481 conftest$ac_exeext conftest.$ac_ext
18486 res=no
18487 if test $glibcxx_cv_S_ISREG = yes; then
18489 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18491 res=S_ISREG
18492 elif test $glibcxx_cv_S_IFREG = yes; then
18494 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18496 res=S_IFREG
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18499 $as_echo "$res" >&6; }
18501 CXXFLAGS="$ac_save_CXXFLAGS"
18502 ac_ext=c
18503 ac_cpp='$CPP $CPPFLAGS'
18504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18510 # For xsputn_2().
18511 for ac_header in sys/uio.h
18512 do :
18513 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18514 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18515 cat >>confdefs.h <<_ACEOF
18516 #define HAVE_SYS_UIO_H 1
18517 _ACEOF
18521 done
18526 ac_ext=cpp
18527 ac_cpp='$CXXCPP $CPPFLAGS'
18528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18532 ac_save_CXXFLAGS="$CXXFLAGS"
18533 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18536 $as_echo_n "checking for writev... " >&6; }
18537 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18538 $as_echo_n "(cached) " >&6
18539 else
18541 if test x$gcc_no_link = xyes; then
18542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18543 /* end confdefs.h. */
18544 #include <sys/uio.h>
18546 main ()
18548 struct iovec iov[2];
18549 writev(0, iov, 0);
18551 return 0;
18553 _ACEOF
18554 if ac_fn_cxx_try_compile "$LINENO"; then :
18555 glibcxx_cv_WRITEV=yes
18556 else
18557 glibcxx_cv_WRITEV=no
18559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18560 else
18561 if test x$gcc_no_link = xyes; then
18562 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18565 /* end confdefs.h. */
18566 #include <sys/uio.h>
18568 main ()
18570 struct iovec iov[2];
18571 writev(0, iov, 0);
18573 return 0;
18575 _ACEOF
18576 if ac_fn_cxx_try_link "$LINENO"; then :
18577 glibcxx_cv_WRITEV=yes
18578 else
18579 glibcxx_cv_WRITEV=no
18581 rm -f core conftest.err conftest.$ac_objext \
18582 conftest$ac_exeext conftest.$ac_ext
18587 if test $glibcxx_cv_WRITEV = yes; then
18589 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18593 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18595 CXXFLAGS="$ac_save_CXXFLAGS"
18596 ac_ext=c
18597 ac_cpp='$CPP $CPPFLAGS'
18598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18604 # For C99 support to TR1.
18608 ac_ext=cpp
18609 ac_cpp='$CXXCPP $CPPFLAGS'
18610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18615 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18616 # undefined and fake C99 facilities may be spuriously enabled.
18617 ac_save_CXXFLAGS="$CXXFLAGS"
18618 CXXFLAGS="$CXXFLAGS -std=c++98"
18620 # Check for the existence of <complex.h> complex math functions used
18621 # by tr1/complex.
18622 for ac_header in complex.h
18623 do :
18624 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18625 if test "x$ac_cv_header_complex_h" = x""yes; then :
18626 cat >>confdefs.h <<_ACEOF
18627 #define HAVE_COMPLEX_H 1
18628 _ACEOF
18629 ac_has_complex_h=yes
18630 else
18631 ac_has_complex_h=no
18634 done
18636 ac_c99_complex_tr1=no;
18637 if test x"$ac_has_complex_h" = x"yes"; then
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18639 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h. */
18642 #include <complex.h>
18644 main ()
18646 typedef __complex__ float float_type; float_type tmpf;
18647 cacosf(tmpf);
18648 casinf(tmpf);
18649 catanf(tmpf);
18650 cacoshf(tmpf);
18651 casinhf(tmpf);
18652 catanhf(tmpf);
18653 typedef __complex__ double double_type; double_type tmpd;
18654 cacos(tmpd);
18655 casin(tmpd);
18656 catan(tmpd);
18657 cacosh(tmpd);
18658 casinh(tmpd);
18659 catanh(tmpd);
18660 typedef __complex__ long double ld_type; ld_type tmpld;
18661 cacosl(tmpld);
18662 casinl(tmpld);
18663 catanl(tmpld);
18664 cacoshl(tmpld);
18665 casinhl(tmpld);
18666 catanhl(tmpld);
18669 return 0;
18671 _ACEOF
18672 if ac_fn_cxx_try_compile "$LINENO"; then :
18673 ac_c99_complex_tr1=yes
18674 else
18675 ac_c99_complex_tr1=no
18677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18680 $as_echo "$ac_c99_complex_tr1" >&6; }
18681 if test x"$ac_c99_complex_tr1" = x"yes"; then
18683 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18687 # Check for the existence of <ctype.h> functions.
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18689 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18690 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18691 $as_echo_n "(cached) " >&6
18692 else
18694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18695 /* end confdefs.h. */
18696 #include <ctype.h>
18698 main ()
18700 int ch;
18701 int ret;
18702 ret = isblank(ch);
18705 return 0;
18707 _ACEOF
18708 if ac_fn_cxx_try_compile "$LINENO"; then :
18709 glibcxx_cv_c99_ctype_tr1=yes
18710 else
18711 glibcxx_cv_c99_ctype_tr1=no
18713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18718 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18719 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18721 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18725 # Check for the existence of <fenv.h> functions.
18726 for ac_header in fenv.h
18727 do :
18728 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18729 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18730 cat >>confdefs.h <<_ACEOF
18731 #define HAVE_FENV_H 1
18732 _ACEOF
18733 ac_has_fenv_h=yes
18734 else
18735 ac_has_fenv_h=no
18738 done
18740 ac_c99_fenv_tr1=no;
18741 if test x"$ac_has_fenv_h" = x"yes"; then
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18743 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18745 /* end confdefs.h. */
18746 #include <fenv.h>
18748 main ()
18750 int except, mode;
18751 fexcept_t* pflag;
18752 fenv_t* penv;
18753 int ret;
18754 ret = feclearexcept(except);
18755 ret = fegetexceptflag(pflag, except);
18756 ret = feraiseexcept(except);
18757 ret = fesetexceptflag(pflag, except);
18758 ret = fetestexcept(except);
18759 ret = fegetround();
18760 ret = fesetround(mode);
18761 ret = fegetenv(penv);
18762 ret = feholdexcept(penv);
18763 ret = fesetenv(penv);
18764 ret = feupdateenv(penv);
18767 return 0;
18769 _ACEOF
18770 if ac_fn_cxx_try_compile "$LINENO"; then :
18771 ac_c99_fenv_tr1=yes
18772 else
18773 ac_c99_fenv_tr1=no
18775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18778 $as_echo "$ac_c99_fenv_tr1" >&6; }
18779 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18781 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18785 # Check for the existence of <stdint.h> types.
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18787 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18788 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18789 $as_echo_n "(cached) " >&6
18790 else
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18794 #define __STDC_LIMIT_MACROS
18795 #define __STDC_CONSTANT_MACROS
18796 #include <stdint.h>
18798 main ()
18800 typedef int8_t my_int8_t;
18801 my_int8_t i8 = INT8_MIN;
18802 i8 = INT8_MAX;
18803 typedef int16_t my_int16_t;
18804 my_int16_t i16 = INT16_MIN;
18805 i16 = INT16_MAX;
18806 typedef int32_t my_int32_t;
18807 my_int32_t i32 = INT32_MIN;
18808 i32 = INT32_MAX;
18809 typedef int64_t my_int64_t;
18810 my_int64_t i64 = INT64_MIN;
18811 i64 = INT64_MAX;
18812 typedef int_fast8_t my_int_fast8_t;
18813 my_int_fast8_t if8 = INT_FAST8_MIN;
18814 if8 = INT_FAST8_MAX;
18815 typedef int_fast16_t my_int_fast16_t;
18816 my_int_fast16_t if16 = INT_FAST16_MIN;
18817 if16 = INT_FAST16_MAX;
18818 typedef int_fast32_t my_int_fast32_t;
18819 my_int_fast32_t if32 = INT_FAST32_MIN;
18820 if32 = INT_FAST32_MAX;
18821 typedef int_fast64_t my_int_fast64_t;
18822 my_int_fast64_t if64 = INT_FAST64_MIN;
18823 if64 = INT_FAST64_MAX;
18824 typedef int_least8_t my_int_least8_t;
18825 my_int_least8_t il8 = INT_LEAST8_MIN;
18826 il8 = INT_LEAST8_MAX;
18827 typedef int_least16_t my_int_least16_t;
18828 my_int_least16_t il16 = INT_LEAST16_MIN;
18829 il16 = INT_LEAST16_MAX;
18830 typedef int_least32_t my_int_least32_t;
18831 my_int_least32_t il32 = INT_LEAST32_MIN;
18832 il32 = INT_LEAST32_MAX;
18833 typedef int_least64_t my_int_least64_t;
18834 my_int_least64_t il64 = INT_LEAST64_MIN;
18835 il64 = INT_LEAST64_MAX;
18836 typedef intmax_t my_intmax_t;
18837 my_intmax_t im = INTMAX_MAX;
18838 im = INTMAX_MIN;
18839 typedef intptr_t my_intptr_t;
18840 my_intptr_t ip = INTPTR_MAX;
18841 ip = INTPTR_MIN;
18842 typedef uint8_t my_uint8_t;
18843 my_uint8_t ui8 = UINT8_MAX;
18844 ui8 = UINT8_MAX;
18845 typedef uint16_t my_uint16_t;
18846 my_uint16_t ui16 = UINT16_MAX;
18847 ui16 = UINT16_MAX;
18848 typedef uint32_t my_uint32_t;
18849 my_uint32_t ui32 = UINT32_MAX;
18850 ui32 = UINT32_MAX;
18851 typedef uint64_t my_uint64_t;
18852 my_uint64_t ui64 = UINT64_MAX;
18853 ui64 = UINT64_MAX;
18854 typedef uint_fast8_t my_uint_fast8_t;
18855 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18856 uif8 = UINT_FAST8_MAX;
18857 typedef uint_fast16_t my_uint_fast16_t;
18858 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18859 uif16 = UINT_FAST16_MAX;
18860 typedef uint_fast32_t my_uint_fast32_t;
18861 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18862 uif32 = UINT_FAST32_MAX;
18863 typedef uint_fast64_t my_uint_fast64_t;
18864 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18865 uif64 = UINT_FAST64_MAX;
18866 typedef uint_least8_t my_uint_least8_t;
18867 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18868 uil8 = UINT_LEAST8_MAX;
18869 typedef uint_least16_t my_uint_least16_t;
18870 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18871 uil16 = UINT_LEAST16_MAX;
18872 typedef uint_least32_t my_uint_least32_t;
18873 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18874 uil32 = UINT_LEAST32_MAX;
18875 typedef uint_least64_t my_uint_least64_t;
18876 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18877 uil64 = UINT_LEAST64_MAX;
18878 typedef uintmax_t my_uintmax_t;
18879 my_uintmax_t uim = UINTMAX_MAX;
18880 uim = UINTMAX_MAX;
18881 typedef uintptr_t my_uintptr_t;
18882 my_uintptr_t uip = UINTPTR_MAX;
18883 uip = UINTPTR_MAX;
18886 return 0;
18888 _ACEOF
18889 if ac_fn_cxx_try_compile "$LINENO"; then :
18890 glibcxx_cv_c99_stdint_tr1=yes
18891 else
18892 glibcxx_cv_c99_stdint_tr1=no
18894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18899 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18900 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18902 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18906 # Check for the existence of <math.h> functions.
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18908 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18909 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18910 $as_echo_n "(cached) " >&6
18911 else
18913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18914 /* end confdefs.h. */
18915 #include <math.h>
18917 main ()
18919 typedef double_t my_double_t;
18920 typedef float_t my_float_t;
18921 acosh(0.0);
18922 acoshf(0.0f);
18923 acoshl(0.0l);
18924 asinh(0.0);
18925 asinhf(0.0f);
18926 asinhl(0.0l);
18927 atanh(0.0);
18928 atanhf(0.0f);
18929 atanhl(0.0l);
18930 cbrt(0.0);
18931 cbrtf(0.0f);
18932 cbrtl(0.0l);
18933 copysign(0.0, 0.0);
18934 copysignf(0.0f, 0.0f);
18935 copysignl(0.0l, 0.0l);
18936 erf(0.0);
18937 erff(0.0f);
18938 erfl(0.0l);
18939 erfc(0.0);
18940 erfcf(0.0f);
18941 erfcl(0.0l);
18942 exp2(0.0);
18943 exp2f(0.0f);
18944 exp2l(0.0l);
18945 expm1(0.0);
18946 expm1f(0.0f);
18947 expm1l(0.0l);
18948 fdim(0.0, 0.0);
18949 fdimf(0.0f, 0.0f);
18950 fdiml(0.0l, 0.0l);
18951 fma(0.0, 0.0, 0.0);
18952 fmaf(0.0f, 0.0f, 0.0f);
18953 fmal(0.0l, 0.0l, 0.0l);
18954 fmax(0.0, 0.0);
18955 fmaxf(0.0f, 0.0f);
18956 fmaxl(0.0l, 0.0l);
18957 fmin(0.0, 0.0);
18958 fminf(0.0f, 0.0f);
18959 fminl(0.0l, 0.0l);
18960 hypot(0.0, 0.0);
18961 hypotf(0.0f, 0.0f);
18962 hypotl(0.0l, 0.0l);
18963 ilogb(0.0);
18964 ilogbf(0.0f);
18965 ilogbl(0.0l);
18966 lgamma(0.0);
18967 lgammaf(0.0f);
18968 lgammal(0.0l);
18969 llrint(0.0);
18970 llrintf(0.0f);
18971 llrintl(0.0l);
18972 llround(0.0);
18973 llroundf(0.0f);
18974 llroundl(0.0l);
18975 log1p(0.0);
18976 log1pf(0.0f);
18977 log1pl(0.0l);
18978 log2(0.0);
18979 log2f(0.0f);
18980 log2l(0.0l);
18981 logb(0.0);
18982 logbf(0.0f);
18983 logbl(0.0l);
18984 lrint(0.0);
18985 lrintf(0.0f);
18986 lrintl(0.0l);
18987 lround(0.0);
18988 lroundf(0.0f);
18989 lroundl(0.0l);
18990 nan(0);
18991 nanf(0);
18992 nanl(0);
18993 nearbyint(0.0);
18994 nearbyintf(0.0f);
18995 nearbyintl(0.0l);
18996 nextafter(0.0, 0.0);
18997 nextafterf(0.0f, 0.0f);
18998 nextafterl(0.0l, 0.0l);
18999 nexttoward(0.0, 0.0);
19000 nexttowardf(0.0f, 0.0f);
19001 nexttowardl(0.0l, 0.0l);
19002 remainder(0.0, 0.0);
19003 remainderf(0.0f, 0.0f);
19004 remainderl(0.0l, 0.0l);
19005 remquo(0.0, 0.0, 0);
19006 remquof(0.0f, 0.0f, 0);
19007 remquol(0.0l, 0.0l, 0);
19008 rint(0.0);
19009 rintf(0.0f);
19010 rintl(0.0l);
19011 round(0.0);
19012 roundf(0.0f);
19013 roundl(0.0l);
19014 scalbln(0.0, 0l);
19015 scalblnf(0.0f, 0l);
19016 scalblnl(0.0l, 0l);
19017 scalbn(0.0, 0);
19018 scalbnf(0.0f, 0);
19019 scalbnl(0.0l, 0);
19020 tgamma(0.0);
19021 tgammaf(0.0f);
19022 tgammal(0.0l);
19023 trunc(0.0);
19024 truncf(0.0f);
19025 truncl(0.0l);
19028 return 0;
19030 _ACEOF
19031 if ac_fn_cxx_try_compile "$LINENO"; then :
19032 glibcxx_cv_c99_math_tr1=yes
19033 else
19034 glibcxx_cv_c99_math_tr1=no
19036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19041 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19042 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19044 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19048 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19049 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19050 ac_c99_inttypes_tr1=no;
19051 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19053 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19055 /* end confdefs.h. */
19056 #include <inttypes.h>
19058 main ()
19060 intmax_t i, numer, denom, base;
19061 const char* s;
19062 char** endptr;
19063 intmax_t ret = imaxabs(i);
19064 imaxdiv_t dret = imaxdiv(numer, denom);
19065 ret = strtoimax(s, endptr, base);
19066 uintmax_t uret = strtoumax(s, endptr, base);
19069 return 0;
19071 _ACEOF
19072 if ac_fn_cxx_try_compile "$LINENO"; then :
19073 ac_c99_inttypes_tr1=yes
19074 else
19075 ac_c99_inttypes_tr1=no
19077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19080 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19081 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19083 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19087 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19088 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19089 ac_c99_inttypes_wchar_t_tr1=no;
19090 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19092 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19095 #include <inttypes.h>
19097 main ()
19099 intmax_t base;
19100 const wchar_t* s;
19101 wchar_t** endptr;
19102 intmax_t ret = wcstoimax(s, endptr, base);
19103 uintmax_t uret = wcstoumax(s, endptr, base);
19106 return 0;
19108 _ACEOF
19109 if ac_fn_cxx_try_compile "$LINENO"; then :
19110 ac_c99_inttypes_wchar_t_tr1=yes
19111 else
19112 ac_c99_inttypes_wchar_t_tr1=no
19114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19117 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19118 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19120 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19124 # Check for the existence of the <stdbool.h> header.
19125 for ac_header in stdbool.h
19126 do :
19127 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19128 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_STDBOOL_H 1
19131 _ACEOF
19135 done
19138 # Check for the existence of the <stdalign.h> header.
19139 for ac_header in stdalign.h
19140 do :
19141 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19142 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_STDALIGN_H 1
19145 _ACEOF
19149 done
19152 CXXFLAGS="$ac_save_CXXFLAGS"
19153 ac_ext=c
19154 ac_cpp='$CPP $CPPFLAGS'
19155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19161 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19165 $as_echo_n "checking for the value of EOF... " >&6; }
19166 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19167 $as_echo_n "(cached) " >&6
19168 else
19170 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19172 else
19173 as_fn_error "computing EOF failed" "$LINENO" 5
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19179 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19181 cat >>confdefs.h <<_ACEOF
19182 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19183 _ACEOF
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19187 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19188 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19189 $as_echo_n "(cached) " >&6
19190 else
19192 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19194 else
19195 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19201 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19203 cat >>confdefs.h <<_ACEOF
19204 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19205 _ACEOF
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19209 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19210 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19211 $as_echo_n "(cached) " >&6
19212 else
19214 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19216 else
19217 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19223 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19225 cat >>confdefs.h <<_ACEOF
19226 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19227 _ACEOF
19231 # For gettimeofday support.
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19235 $as_echo_n "checking for gettimeofday... " >&6; }
19238 ac_ext=cpp
19239 ac_cpp='$CXXCPP $CPPFLAGS'
19240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19244 ac_save_CXXFLAGS="$CXXFLAGS"
19245 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19247 ac_has_gettimeofday=no;
19248 for ac_header in sys/time.h
19249 do :
19250 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19251 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19252 cat >>confdefs.h <<_ACEOF
19253 #define HAVE_SYS_TIME_H 1
19254 _ACEOF
19255 ac_has_sys_time_h=yes
19256 else
19257 ac_has_sys_time_h=no
19260 done
19262 if test x"$ac_has_sys_time_h" = x"yes"; then
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19264 $as_echo_n "checking for gettimeofday... " >&6; }
19265 if test x$gcc_no_link = xyes; then
19266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19267 /* end confdefs.h. */
19268 #include <sys/time.h>
19270 main ()
19272 timeval tv; gettimeofday(&tv, 0);
19274 return 0;
19276 _ACEOF
19277 if ac_fn_cxx_try_compile "$LINENO"; then :
19278 ac_has_gettimeofday=yes
19279 else
19280 ac_has_gettimeofday=no
19282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19283 else
19284 if test x$gcc_no_link = xyes; then
19285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19289 #include <sys/time.h>
19291 main ()
19293 timeval tv; gettimeofday(&tv, 0);
19295 return 0;
19297 _ACEOF
19298 if ac_fn_cxx_try_link "$LINENO"; then :
19299 ac_has_gettimeofday=yes
19300 else
19301 ac_has_gettimeofday=no
19303 rm -f core conftest.err conftest.$ac_objext \
19304 conftest$ac_exeext conftest.$ac_ext
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19308 $as_echo "$ac_has_gettimeofday" >&6; }
19311 if test x"$ac_has_gettimeofday" = x"yes"; then
19313 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19317 CXXFLAGS="$ac_save_CXXFLAGS"
19318 ac_ext=c
19319 ac_cpp='$CPP $CPPFLAGS'
19320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19326 # For clock_gettime, nanosleep and sched_yield support.
19327 # NB: The default is [no], because otherwise it requires linking.
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19331 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19332 # Check whether --enable-libstdcxx-time was given.
19333 if test "${enable_libstdcxx_time+set}" = set; then :
19334 enableval=$enable_libstdcxx_time;
19335 case "$enableval" in
19336 yes|no|rt) ;;
19337 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19338 esac
19340 else
19341 enable_libstdcxx_time=no
19347 ac_ext=cpp
19348 ac_cpp='$CXXCPP $CPPFLAGS'
19349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19353 ac_save_CXXFLAGS="$CXXFLAGS"
19354 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19355 ac_save_LIBS="$LIBS"
19357 ac_has_clock_monotonic=no
19358 ac_has_clock_realtime=no
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19360 $as_echo "$enable_libstdcxx_time" >&6; }
19362 if test x"$enable_libstdcxx_time" != x"no"; then
19364 if test x"$enable_libstdcxx_time" = x"rt"; then
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19366 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19367 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19368 $as_echo_n "(cached) " >&6
19369 else
19370 ac_func_search_save_LIBS=$LIBS
19371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19372 /* end confdefs.h. */
19374 /* Override any GCC internal prototype to avoid an error.
19375 Use char because int might match the return type of a GCC
19376 builtin and then its argument prototype would still apply. */
19377 #ifdef __cplusplus
19378 extern "C"
19379 #endif
19380 char clock_gettime ();
19382 main ()
19384 return clock_gettime ();
19386 return 0;
19388 _ACEOF
19389 for ac_lib in '' rt posix4; do
19390 if test -z "$ac_lib"; then
19391 ac_res="none required"
19392 else
19393 ac_res=-l$ac_lib
19394 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19396 if test x$gcc_no_link = xyes; then
19397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19399 if ac_fn_cxx_try_link "$LINENO"; then :
19400 ac_cv_search_clock_gettime=$ac_res
19402 rm -f core conftest.err conftest.$ac_objext \
19403 conftest$ac_exeext
19404 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19405 break
19407 done
19408 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19410 else
19411 ac_cv_search_clock_gettime=no
19413 rm conftest.$ac_ext
19414 LIBS=$ac_func_search_save_LIBS
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19417 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19418 ac_res=$ac_cv_search_clock_gettime
19419 if test "$ac_res" != no; then :
19420 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19425 $as_echo_n "checking for library containing nanosleep... " >&6; }
19426 if test "${ac_cv_search_nanosleep+set}" = set; then :
19427 $as_echo_n "(cached) " >&6
19428 else
19429 ac_func_search_save_LIBS=$LIBS
19430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h. */
19433 /* Override any GCC internal prototype to avoid an error.
19434 Use char because int might match the return type of a GCC
19435 builtin and then its argument prototype would still apply. */
19436 #ifdef __cplusplus
19437 extern "C"
19438 #endif
19439 char nanosleep ();
19441 main ()
19443 return nanosleep ();
19445 return 0;
19447 _ACEOF
19448 for ac_lib in '' rt posix4; do
19449 if test -z "$ac_lib"; then
19450 ac_res="none required"
19451 else
19452 ac_res=-l$ac_lib
19453 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19455 if test x$gcc_no_link = xyes; then
19456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19458 if ac_fn_cxx_try_link "$LINENO"; then :
19459 ac_cv_search_nanosleep=$ac_res
19461 rm -f core conftest.err conftest.$ac_objext \
19462 conftest$ac_exeext
19463 if test "${ac_cv_search_nanosleep+set}" = set; then :
19464 break
19466 done
19467 if test "${ac_cv_search_nanosleep+set}" = set; then :
19469 else
19470 ac_cv_search_nanosleep=no
19472 rm conftest.$ac_ext
19473 LIBS=$ac_func_search_save_LIBS
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19476 $as_echo "$ac_cv_search_nanosleep" >&6; }
19477 ac_res=$ac_cv_search_nanosleep
19478 if test "$ac_res" != no; then :
19479 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19483 else
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19485 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19486 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19487 $as_echo_n "(cached) " >&6
19488 else
19489 ac_func_search_save_LIBS=$LIBS
19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19493 /* Override any GCC internal prototype to avoid an error.
19494 Use char because int might match the return type of a GCC
19495 builtin and then its argument prototype would still apply. */
19496 #ifdef __cplusplus
19497 extern "C"
19498 #endif
19499 char clock_gettime ();
19501 main ()
19503 return clock_gettime ();
19505 return 0;
19507 _ACEOF
19508 for ac_lib in '' posix4; do
19509 if test -z "$ac_lib"; then
19510 ac_res="none required"
19511 else
19512 ac_res=-l$ac_lib
19513 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19515 if test x$gcc_no_link = xyes; then
19516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19518 if ac_fn_cxx_try_link "$LINENO"; then :
19519 ac_cv_search_clock_gettime=$ac_res
19521 rm -f core conftest.err conftest.$ac_objext \
19522 conftest$ac_exeext
19523 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19524 break
19526 done
19527 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19529 else
19530 ac_cv_search_clock_gettime=no
19532 rm conftest.$ac_ext
19533 LIBS=$ac_func_search_save_LIBS
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19536 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19537 ac_res=$ac_cv_search_clock_gettime
19538 if test "$ac_res" != no; then :
19539 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19544 $as_echo_n "checking for library containing nanosleep... " >&6; }
19545 if test "${ac_cv_search_nanosleep+set}" = set; then :
19546 $as_echo_n "(cached) " >&6
19547 else
19548 ac_func_search_save_LIBS=$LIBS
19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19552 /* Override any GCC internal prototype to avoid an error.
19553 Use char because int might match the return type of a GCC
19554 builtin and then its argument prototype would still apply. */
19555 #ifdef __cplusplus
19556 extern "C"
19557 #endif
19558 char nanosleep ();
19560 main ()
19562 return nanosleep ();
19564 return 0;
19566 _ACEOF
19567 for ac_lib in '' posix4; do
19568 if test -z "$ac_lib"; then
19569 ac_res="none required"
19570 else
19571 ac_res=-l$ac_lib
19572 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19574 if test x$gcc_no_link = xyes; then
19575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19577 if ac_fn_cxx_try_link "$LINENO"; then :
19578 ac_cv_search_nanosleep=$ac_res
19580 rm -f core conftest.err conftest.$ac_objext \
19581 conftest$ac_exeext
19582 if test "${ac_cv_search_nanosleep+set}" = set; then :
19583 break
19585 done
19586 if test "${ac_cv_search_nanosleep+set}" = set; then :
19588 else
19589 ac_cv_search_nanosleep=no
19591 rm conftest.$ac_ext
19592 LIBS=$ac_func_search_save_LIBS
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19595 $as_echo "$ac_cv_search_nanosleep" >&6; }
19596 ac_res=$ac_cv_search_nanosleep
19597 if test "$ac_res" != no; then :
19598 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19604 case "$ac_cv_search_clock_gettime" in
19605 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19607 esac
19608 case "$ac_cv_search_nanosleep" in
19609 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19611 esac
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19614 $as_echo_n "checking for library containing sched_yield... " >&6; }
19615 if test "${ac_cv_search_sched_yield+set}" = set; then :
19616 $as_echo_n "(cached) " >&6
19617 else
19618 ac_func_search_save_LIBS=$LIBS
19619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19622 /* Override any GCC internal prototype to avoid an error.
19623 Use char because int might match the return type of a GCC
19624 builtin and then its argument prototype would still apply. */
19625 #ifdef __cplusplus
19626 extern "C"
19627 #endif
19628 char sched_yield ();
19630 main ()
19632 return sched_yield ();
19634 return 0;
19636 _ACEOF
19637 for ac_lib in '' rt posix4; do
19638 if test -z "$ac_lib"; then
19639 ac_res="none required"
19640 else
19641 ac_res=-l$ac_lib
19642 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19644 if test x$gcc_no_link = xyes; then
19645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19647 if ac_fn_cxx_try_link "$LINENO"; then :
19648 ac_cv_search_sched_yield=$ac_res
19650 rm -f core conftest.err conftest.$ac_objext \
19651 conftest$ac_exeext
19652 if test "${ac_cv_search_sched_yield+set}" = set; then :
19653 break
19655 done
19656 if test "${ac_cv_search_sched_yield+set}" = set; then :
19658 else
19659 ac_cv_search_sched_yield=no
19661 rm conftest.$ac_ext
19662 LIBS=$ac_func_search_save_LIBS
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19665 $as_echo "$ac_cv_search_sched_yield" >&6; }
19666 ac_res=$ac_cv_search_sched_yield
19667 if test "$ac_res" != no; then :
19668 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19673 case "$ac_cv_search_sched_yield" in
19674 -lposix4*)
19675 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19677 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19680 -lrt*)
19681 if test x"$enable_libstdcxx_time" = x"rt"; then
19682 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19684 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19690 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19693 esac
19695 for ac_header in unistd.h
19696 do :
19697 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19698 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19699 cat >>confdefs.h <<_ACEOF
19700 #define HAVE_UNISTD_H 1
19701 _ACEOF
19702 ac_has_unistd_h=yes
19703 else
19704 ac_has_unistd_h=no
19707 done
19710 if test x"$ac_has_unistd_h" = x"yes"; then
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19712 $as_echo_n "checking for monotonic clock... " >&6; }
19713 if test x$gcc_no_link = xyes; then
19714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h. */
19718 #include <unistd.h>
19719 #include <time.h>
19722 main ()
19724 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19725 timespec tp;
19726 #endif
19727 clock_gettime(CLOCK_MONOTONIC, &tp);
19730 return 0;
19732 _ACEOF
19733 if ac_fn_cxx_try_link "$LINENO"; then :
19734 ac_has_clock_monotonic=yes
19735 else
19736 ac_has_clock_monotonic=no
19738 rm -f core conftest.err conftest.$ac_objext \
19739 conftest$ac_exeext conftest.$ac_ext
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19742 $as_echo "$ac_has_clock_monotonic" >&6; }
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19745 $as_echo_n "checking for realtime clock... " >&6; }
19746 if test x$gcc_no_link = xyes; then
19747 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19751 #include <unistd.h>
19752 #include <time.h>
19755 main ()
19757 #if _POSIX_TIMERS > 0
19758 timespec tp;
19759 #endif
19760 clock_gettime(CLOCK_REALTIME, &tp);
19763 return 0;
19765 _ACEOF
19766 if ac_fn_cxx_try_link "$LINENO"; then :
19767 ac_has_clock_realtime=yes
19768 else
19769 ac_has_clock_realtime=no
19771 rm -f core conftest.err conftest.$ac_objext \
19772 conftest$ac_exeext conftest.$ac_ext
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19775 $as_echo "$ac_has_clock_realtime" >&6; }
19777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19778 $as_echo_n "checking for nanosleep... " >&6; }
19779 if test x$gcc_no_link = xyes; then
19780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h. */
19784 #include <unistd.h>
19785 #include <time.h>
19788 main ()
19790 #if _POSIX_TIMERS > 0
19791 timespec tp;
19792 #endif
19793 nanosleep(&tp, 0);
19796 return 0;
19798 _ACEOF
19799 if ac_fn_cxx_try_link "$LINENO"; then :
19800 ac_has_nanosleep=yes
19801 else
19802 ac_has_nanosleep=no
19804 rm -f core conftest.err conftest.$ac_objext \
19805 conftest$ac_exeext conftest.$ac_ext
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19808 $as_echo "$ac_has_nanosleep" >&6; }
19812 if test x"$ac_has_clock_monotonic" = x"yes"; then
19814 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19818 if test x"$ac_has_clock_realtime" = x"yes"; then
19820 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19824 if test x"$ac_has_nanosleep" = x"yes"; then
19826 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19832 CXXFLAGS="$ac_save_CXXFLAGS"
19833 LIBS="$ac_save_LIBS"
19834 ac_ext=c
19835 ac_cpp='$CPP $CPPFLAGS'
19836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19843 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19844 if test "x$ac_cv_header_locale_h" = x""yes; then :
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19847 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19848 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19849 $as_echo_n "(cached) " >&6
19850 else
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19853 #include <locale.h>
19855 main ()
19857 return LC_MESSAGES
19859 return 0;
19861 _ACEOF
19862 if ac_fn_c_try_compile "$LINENO"; then :
19863 ac_cv_val_LC_MESSAGES=yes
19864 else
19865 ac_cv_val_LC_MESSAGES=no
19867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19870 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19871 if test $ac_cv_val_LC_MESSAGES = yes; then
19873 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19882 # For hardware_concurrency
19883 for ac_header in sys/sysinfo.h
19884 do :
19885 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19886 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19887 cat >>confdefs.h <<_ACEOF
19888 #define HAVE_SYS_SYSINFO_H 1
19889 _ACEOF
19893 done
19898 ac_ext=cpp
19899 ac_cpp='$CXXCPP $CPPFLAGS'
19900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19904 ac_save_CXXFLAGS="$CXXFLAGS"
19905 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19908 $as_echo_n "checking for get_nprocs... " >&6; }
19909 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19910 $as_echo_n "(cached) " >&6
19911 else
19913 if test x$gcc_no_link = xyes; then
19914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19915 /* end confdefs.h. */
19916 #include <sys/sysinfo.h>
19918 main ()
19920 int n = get_nprocs();
19922 return 0;
19924 _ACEOF
19925 if ac_fn_cxx_try_compile "$LINENO"; then :
19926 glibcxx_cv_GET_NPROCS=yes
19927 else
19928 glibcxx_cv_GET_NPROCS=no
19930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19931 else
19932 if test x$gcc_no_link = xyes; then
19933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19936 /* end confdefs.h. */
19937 #include <sys/sysinfo.h>
19939 main ()
19941 int n = get_nprocs();
19943 return 0;
19945 _ACEOF
19946 if ac_fn_cxx_try_link "$LINENO"; then :
19947 glibcxx_cv_GET_NPROCS=yes
19948 else
19949 glibcxx_cv_GET_NPROCS=no
19951 rm -f core conftest.err conftest.$ac_objext \
19952 conftest$ac_exeext conftest.$ac_ext
19957 if test $glibcxx_cv_GET_NPROCS = yes; then
19959 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19963 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19965 CXXFLAGS="$ac_save_CXXFLAGS"
19966 ac_ext=c
19967 ac_cpp='$CPP $CPPFLAGS'
19968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19973 for ac_header in unistd.h
19974 do :
19975 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19976 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19977 cat >>confdefs.h <<_ACEOF
19978 #define HAVE_UNISTD_H 1
19979 _ACEOF
19983 done
19988 ac_ext=cpp
19989 ac_cpp='$CXXCPP $CPPFLAGS'
19990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19994 ac_save_CXXFLAGS="$CXXFLAGS"
19995 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19998 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19999 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20000 $as_echo_n "(cached) " >&6
20001 else
20003 if test x$gcc_no_link = xyes; then
20004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20005 /* end confdefs.h. */
20006 #include <unistd.h>
20008 main ()
20010 int n = sysconf(_SC_NPROCESSORS_ONLN);
20012 return 0;
20014 _ACEOF
20015 if ac_fn_cxx_try_compile "$LINENO"; then :
20016 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20017 else
20018 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20021 else
20022 if test x$gcc_no_link = xyes; then
20023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20026 /* end confdefs.h. */
20027 #include <unistd.h>
20029 main ()
20031 int n = sysconf(_SC_NPROCESSORS_ONLN);
20033 return 0;
20035 _ACEOF
20036 if ac_fn_cxx_try_link "$LINENO"; then :
20037 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20038 else
20039 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20041 rm -f core conftest.err conftest.$ac_objext \
20042 conftest$ac_exeext conftest.$ac_ext
20047 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20049 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20053 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20055 CXXFLAGS="$ac_save_CXXFLAGS"
20056 ac_ext=c
20057 ac_cpp='$CPP $CPPFLAGS'
20058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20066 ac_ext=cpp
20067 ac_cpp='$CXXCPP $CPPFLAGS'
20068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20072 ac_save_CXXFLAGS="$CXXFLAGS"
20073 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20076 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20077 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20078 $as_echo_n "(cached) " >&6
20079 else
20081 if test x$gcc_no_link = xyes; then
20082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20084 #include <unistd.h>
20086 main ()
20088 int n = sysconf(_SC_NPROC_ONLN);
20090 return 0;
20092 _ACEOF
20093 if ac_fn_cxx_try_compile "$LINENO"; then :
20094 glibcxx_cv_SC_NPROC_ONLN=yes
20095 else
20096 glibcxx_cv_SC_NPROC_ONLN=no
20098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20099 else
20100 if test x$gcc_no_link = xyes; then
20101 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20104 /* end confdefs.h. */
20105 #include <unistd.h>
20107 main ()
20109 int n = sysconf(_SC_NPROC_ONLN);
20111 return 0;
20113 _ACEOF
20114 if ac_fn_cxx_try_link "$LINENO"; then :
20115 glibcxx_cv_SC_NPROC_ONLN=yes
20116 else
20117 glibcxx_cv_SC_NPROC_ONLN=no
20119 rm -f core conftest.err conftest.$ac_objext \
20120 conftest$ac_exeext conftest.$ac_ext
20125 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20127 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20131 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20133 CXXFLAGS="$ac_save_CXXFLAGS"
20134 ac_ext=c
20135 ac_cpp='$CPP $CPPFLAGS'
20136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20144 ac_ext=cpp
20145 ac_cpp='$CXXCPP $CPPFLAGS'
20146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20150 ac_save_CXXFLAGS="$CXXFLAGS"
20151 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20154 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20155 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20156 $as_echo_n "(cached) " >&6
20157 else
20159 if test x$gcc_no_link = xyes; then
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20162 #include <pthread.h>
20164 main ()
20166 int n = pthread_num_processors_np();
20168 return 0;
20170 _ACEOF
20171 if ac_fn_cxx_try_compile "$LINENO"; then :
20172 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20173 else
20174 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20177 else
20178 if test x$gcc_no_link = xyes; then
20179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20183 #include <pthread.h>
20185 main ()
20187 int n = pthread_num_processors_np();
20189 return 0;
20191 _ACEOF
20192 if ac_fn_cxx_try_link "$LINENO"; then :
20193 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20194 else
20195 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20197 rm -f core conftest.err conftest.$ac_objext \
20198 conftest$ac_exeext conftest.$ac_ext
20203 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20205 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20209 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20211 CXXFLAGS="$ac_save_CXXFLAGS"
20212 ac_ext=c
20213 ac_cpp='$CPP $CPPFLAGS'
20214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20222 ac_ext=cpp
20223 ac_cpp='$CXXCPP $CPPFLAGS'
20224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20228 ac_save_CXXFLAGS="$CXXFLAGS"
20229 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20232 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20233 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20234 $as_echo_n "(cached) " >&6
20235 else
20237 if test x$gcc_no_link = xyes; then
20238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20239 /* end confdefs.h. */
20241 #include <stddef.h>
20242 #include <sys/sysctl.h>
20245 main ()
20248 int count;
20249 size_t size = sizeof(count);
20250 int mib[] = { CTL_HW, HW_NCPU };
20251 sysctl(mib, 2, &count, &size, NULL, 0);
20254 return 0;
20256 _ACEOF
20257 if ac_fn_cxx_try_compile "$LINENO"; then :
20258 glibcxx_cv_SYSCTL_HW_NCPU=yes
20259 else
20260 glibcxx_cv_SYSCTL_HW_NCPU=no
20262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20263 else
20264 if test x$gcc_no_link = xyes; then
20265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20268 /* end confdefs.h. */
20270 #include <stddef.h>
20271 #include <sys/sysctl.h>
20274 main ()
20277 int count;
20278 size_t size = sizeof(count);
20279 int mib[] = { CTL_HW, HW_NCPU };
20280 sysctl(mib, 2, &count, &size, NULL, 0);
20283 return 0;
20285 _ACEOF
20286 if ac_fn_cxx_try_link "$LINENO"; then :
20287 glibcxx_cv_SYSCTL_HW_NCPU=yes
20288 else
20289 glibcxx_cv_SYSCTL_HW_NCPU=no
20291 rm -f core conftest.err conftest.$ac_objext \
20292 conftest$ac_exeext conftest.$ac_ext
20297 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20299 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20303 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20305 CXXFLAGS="$ac_save_CXXFLAGS"
20306 ac_ext=c
20307 ac_cpp='$CPP $CPPFLAGS'
20308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20314 # Check for available headers.
20315 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20316 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20317 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20318 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20319 wchar.h wctype.h
20320 do :
20321 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20322 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20323 eval as_val=\$$as_ac_Header
20324 if test "x$as_val" = x""yes; then :
20325 cat >>confdefs.h <<_ACEOF
20326 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20327 _ACEOF
20331 done
20334 # Only do link tests if native. Else, hardcode.
20335 if $GLIBCXX_IS_NATIVE; then
20337 # We can do more elaborate tests that assume a working linker.
20338 CANADIAN=no
20342 # Check whether --with-gnu-ld was given.
20343 if test "${with_gnu_ld+set}" = set; then :
20344 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20345 else
20346 with_gnu_ld=no
20349 ac_prog=ld
20350 if test "$GCC" = yes; then
20351 # Check if gcc -print-prog-name=ld gives a path.
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20353 $as_echo_n "checking for ld used by $CC... " >&6; }
20354 case $host in
20355 *-*-mingw*)
20356 # gcc leaves a trailing carriage return which upsets mingw
20357 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20359 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20360 esac
20361 case $ac_prog in
20362 # Accept absolute paths.
20363 [\\/]* | ?:[\\/]*)
20364 re_direlt='/[^/][^/]*/\.\./'
20365 # Canonicalize the pathname of ld
20366 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20367 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20368 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20369 done
20370 test -z "$LD" && LD="$ac_prog"
20373 # If it fails, then pretend we aren't using GCC.
20374 ac_prog=ld
20377 # If it is relative, then search for the first ld in PATH.
20378 with_gnu_ld=unknown
20380 esac
20381 elif test "$with_gnu_ld" = yes; then
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20383 $as_echo_n "checking for GNU ld... " >&6; }
20384 else
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20386 $as_echo_n "checking for non-GNU ld... " >&6; }
20388 if test "${lt_cv_path_LD+set}" = set; then :
20389 $as_echo_n "(cached) " >&6
20390 else
20391 if test -z "$LD"; then
20392 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20393 for ac_dir in $PATH; do
20394 IFS="$lt_save_ifs"
20395 test -z "$ac_dir" && ac_dir=.
20396 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20397 lt_cv_path_LD="$ac_dir/$ac_prog"
20398 # Check to see if the program is GNU ld. I'd rather use --version,
20399 # but apparently some variants of GNU ld only accept -v.
20400 # Break only if it was the GNU/non-GNU ld that we prefer.
20401 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20402 *GNU* | *'with BFD'*)
20403 test "$with_gnu_ld" != no && break
20406 test "$with_gnu_ld" != yes && break
20408 esac
20410 done
20411 IFS="$lt_save_ifs"
20412 else
20413 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20417 LD="$lt_cv_path_LD"
20418 if test -n "$LD"; then
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20420 $as_echo "$LD" >&6; }
20421 else
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20423 $as_echo "no" >&6; }
20425 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20427 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20428 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20429 $as_echo_n "(cached) " >&6
20430 else
20431 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20432 case `$LD -v 2>&1 </dev/null` in
20433 *GNU* | *'with BFD'*)
20434 lt_cv_prog_gnu_ld=yes
20437 lt_cv_prog_gnu_ld=no
20439 esac
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20442 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20443 with_gnu_ld=$lt_cv_prog_gnu_ld
20451 # If we're not using GNU ld, then there's no point in even trying these
20452 # tests. Check for that first. We should have already tested for gld
20453 # by now (in libtool), but require it now just to be safe...
20454 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20455 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20459 # The name set by libtool depends on the version of libtool. Shame on us
20460 # for depending on an impl detail, but c'est la vie. Older versions used
20461 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20462 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20463 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20464 # set (hence we're using an older libtool), then set it.
20465 if test x${with_gnu_ld+set} != xset; then
20466 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20467 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20468 with_gnu_ld=no
20469 else
20470 with_gnu_ld=$ac_cv_prog_gnu_ld
20474 # Start by getting the version number. I think the libtool test already
20475 # does some of this, but throws away the result.
20476 glibcxx_ld_is_gold=no
20477 if test x"$with_gnu_ld" = x"yes"; then
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20479 $as_echo_n "checking for ld version... " >&6; }
20481 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20482 glibcxx_ld_is_gold=yes
20484 ldver=`$LD --version 2>/dev/null |
20485 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'`
20487 glibcxx_gnu_ld_version=`echo $ldver | \
20488 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20490 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20493 # Set --gc-sections.
20494 glibcxx_have_gc_sections=no
20495 if test "$glibcxx_ld_is_gold" = "yes"; then
20496 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20497 glibcxx_have_gc_sections=yes
20499 else
20500 glibcxx_gcsections_min_ld=21602
20501 if test x"$with_gnu_ld" = x"yes" &&
20502 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20503 glibcxx_have_gc_sections=yes
20506 if test "$glibcxx_have_gc_sections" = "yes"; then
20507 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20508 # NB: This flag only works reliably after 2.16.1. Configure tests
20509 # for this are difficult, so hard wire a value that should work.
20511 ac_test_CFLAGS="${CFLAGS+set}"
20512 ac_save_CFLAGS="$CFLAGS"
20513 CFLAGS='-Wl,--gc-sections'
20515 # Check for -Wl,--gc-sections
20516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20517 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20518 if test x$gcc_no_link = xyes; then
20519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20522 /* end confdefs.h. */
20523 int one(void) { return 1; }
20524 int two(void) { return 2; }
20527 main ()
20529 two();
20531 return 0;
20533 _ACEOF
20534 if ac_fn_c_try_link "$LINENO"; then :
20535 ac_gcsections=yes
20536 else
20537 ac_gcsections=no
20539 rm -f core conftest.err conftest.$ac_objext \
20540 conftest$ac_exeext conftest.$ac_ext
20541 if test "$ac_gcsections" = "yes"; then
20542 rm -f conftest.c
20543 touch conftest.c
20544 if $CC -c conftest.c; then
20545 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20546 grep "Warning: gc-sections option ignored" > /dev/null; then
20547 ac_gcsections=no
20550 rm -f conftest.c conftest.o conftest
20552 if test "$ac_gcsections" = "yes"; then
20553 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20556 $as_echo "$ac_gcsections" >&6; }
20558 if test "$ac_test_CFLAGS" = set; then
20559 CFLAGS="$ac_save_CFLAGS"
20560 else
20561 # this is the suspicious part
20562 CFLAGS=''
20566 # Set -z,relro.
20567 # Note this is only for shared objects.
20568 ac_ld_relro=no
20569 if test x"$with_gnu_ld" = x"yes"; then
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20571 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20572 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20573 if test -n "$cxx_z_relo"; then
20574 OPT_LDFLAGS="-Wl,-z,relro"
20575 ac_ld_relro=yes
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20578 $as_echo "$ac_ld_relro" >&6; }
20581 # Set linker optimization flags.
20582 if test x"$with_gnu_ld" = x"yes"; then
20583 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20590 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20591 ac_save_CXXFLAGS="$CXXFLAGS"
20592 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20595 $as_echo_n "checking for sin in -lm... " >&6; }
20596 if test "${ac_cv_lib_m_sin+set}" = set; then :
20597 $as_echo_n "(cached) " >&6
20598 else
20599 ac_check_lib_save_LIBS=$LIBS
20600 LIBS="-lm $LIBS"
20601 if test x$gcc_no_link = xyes; then
20602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20605 /* end confdefs.h. */
20607 /* Override any GCC internal prototype to avoid an error.
20608 Use char because int might match the return type of a GCC
20609 builtin and then its argument prototype would still apply. */
20610 #ifdef __cplusplus
20611 extern "C"
20612 #endif
20613 char sin ();
20615 main ()
20617 return sin ();
20619 return 0;
20621 _ACEOF
20622 if ac_fn_c_try_link "$LINENO"; then :
20623 ac_cv_lib_m_sin=yes
20624 else
20625 ac_cv_lib_m_sin=no
20627 rm -f core conftest.err conftest.$ac_objext \
20628 conftest$ac_exeext conftest.$ac_ext
20629 LIBS=$ac_check_lib_save_LIBS
20631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20632 $as_echo "$ac_cv_lib_m_sin" >&6; }
20633 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20634 libm="-lm"
20637 ac_save_LIBS="$LIBS"
20638 LIBS="$LIBS $libm"
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20643 $as_echo_n "checking for isinf declaration... " >&6; }
20644 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20645 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20646 $as_echo_n "(cached) " >&6
20647 else
20650 ac_ext=cpp
20651 ac_cpp='$CXXCPP $CPPFLAGS'
20652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20657 /* end confdefs.h. */
20658 #include <math.h>
20659 #ifdef HAVE_IEEEFP_H
20660 #include <ieeefp.h>
20661 #endif
20664 main ()
20666 isinf(0);
20668 return 0;
20670 _ACEOF
20671 if ac_fn_cxx_try_compile "$LINENO"; then :
20672 glibcxx_cv_func_isinf_use=yes
20673 else
20674 glibcxx_cv_func_isinf_use=no
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20677 ac_ext=c
20678 ac_cpp='$CPP $CPPFLAGS'
20679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20688 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20690 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20691 for ac_func in isinf
20692 do :
20693 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20694 if test "x$ac_cv_func_isinf" = x""yes; then :
20695 cat >>confdefs.h <<_ACEOF
20696 #define HAVE_ISINF 1
20697 _ACEOF
20700 done
20702 else
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20705 $as_echo_n "checking for _isinf declaration... " >&6; }
20706 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20707 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20708 $as_echo_n "(cached) " >&6
20709 else
20712 ac_ext=cpp
20713 ac_cpp='$CXXCPP $CPPFLAGS'
20714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20719 /* end confdefs.h. */
20720 #include <math.h>
20721 #ifdef HAVE_IEEEFP_H
20722 #include <ieeefp.h>
20723 #endif
20726 main ()
20728 _isinf(0);
20730 return 0;
20732 _ACEOF
20733 if ac_fn_cxx_try_compile "$LINENO"; then :
20734 glibcxx_cv_func__isinf_use=yes
20735 else
20736 glibcxx_cv_func__isinf_use=no
20738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20739 ac_ext=c
20740 ac_cpp='$CPP $CPPFLAGS'
20741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20750 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20752 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20753 for ac_func in _isinf
20754 do :
20755 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20756 if test "x$ac_cv_func__isinf" = x""yes; then :
20757 cat >>confdefs.h <<_ACEOF
20758 #define HAVE__ISINF 1
20759 _ACEOF
20762 done
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20772 $as_echo_n "checking for isnan declaration... " >&6; }
20773 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20774 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20775 $as_echo_n "(cached) " >&6
20776 else
20779 ac_ext=cpp
20780 ac_cpp='$CXXCPP $CPPFLAGS'
20781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20786 /* end confdefs.h. */
20787 #include <math.h>
20788 #ifdef HAVE_IEEEFP_H
20789 #include <ieeefp.h>
20790 #endif
20793 main ()
20795 isnan(0);
20797 return 0;
20799 _ACEOF
20800 if ac_fn_cxx_try_compile "$LINENO"; then :
20801 glibcxx_cv_func_isnan_use=yes
20802 else
20803 glibcxx_cv_func_isnan_use=no
20805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20806 ac_ext=c
20807 ac_cpp='$CPP $CPPFLAGS'
20808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20817 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20819 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20820 for ac_func in isnan
20821 do :
20822 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20823 if test "x$ac_cv_func_isnan" = x""yes; then :
20824 cat >>confdefs.h <<_ACEOF
20825 #define HAVE_ISNAN 1
20826 _ACEOF
20829 done
20831 else
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20834 $as_echo_n "checking for _isnan declaration... " >&6; }
20835 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20836 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20837 $as_echo_n "(cached) " >&6
20838 else
20841 ac_ext=cpp
20842 ac_cpp='$CXXCPP $CPPFLAGS'
20843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20848 /* end confdefs.h. */
20849 #include <math.h>
20850 #ifdef HAVE_IEEEFP_H
20851 #include <ieeefp.h>
20852 #endif
20855 main ()
20857 _isnan(0);
20859 return 0;
20861 _ACEOF
20862 if ac_fn_cxx_try_compile "$LINENO"; then :
20863 glibcxx_cv_func__isnan_use=yes
20864 else
20865 glibcxx_cv_func__isnan_use=no
20867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20868 ac_ext=c
20869 ac_cpp='$CPP $CPPFLAGS'
20870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20879 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20881 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20882 for ac_func in _isnan
20883 do :
20884 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20885 if test "x$ac_cv_func__isnan" = x""yes; then :
20886 cat >>confdefs.h <<_ACEOF
20887 #define HAVE__ISNAN 1
20888 _ACEOF
20891 done
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20901 $as_echo_n "checking for finite declaration... " >&6; }
20902 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20903 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20904 $as_echo_n "(cached) " >&6
20905 else
20908 ac_ext=cpp
20909 ac_cpp='$CXXCPP $CPPFLAGS'
20910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20915 /* end confdefs.h. */
20916 #include <math.h>
20917 #ifdef HAVE_IEEEFP_H
20918 #include <ieeefp.h>
20919 #endif
20922 main ()
20924 finite(0);
20926 return 0;
20928 _ACEOF
20929 if ac_fn_cxx_try_compile "$LINENO"; then :
20930 glibcxx_cv_func_finite_use=yes
20931 else
20932 glibcxx_cv_func_finite_use=no
20934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20935 ac_ext=c
20936 ac_cpp='$CPP $CPPFLAGS'
20937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20946 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20948 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20949 for ac_func in finite
20950 do :
20951 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20952 if test "x$ac_cv_func_finite" = x""yes; then :
20953 cat >>confdefs.h <<_ACEOF
20954 #define HAVE_FINITE 1
20955 _ACEOF
20958 done
20960 else
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20963 $as_echo_n "checking for _finite declaration... " >&6; }
20964 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20965 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20966 $as_echo_n "(cached) " >&6
20967 else
20970 ac_ext=cpp
20971 ac_cpp='$CXXCPP $CPPFLAGS'
20972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20977 /* end confdefs.h. */
20978 #include <math.h>
20979 #ifdef HAVE_IEEEFP_H
20980 #include <ieeefp.h>
20981 #endif
20984 main ()
20986 _finite(0);
20988 return 0;
20990 _ACEOF
20991 if ac_fn_cxx_try_compile "$LINENO"; then :
20992 glibcxx_cv_func__finite_use=yes
20993 else
20994 glibcxx_cv_func__finite_use=no
20996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20997 ac_ext=c
20998 ac_cpp='$CPP $CPPFLAGS'
20999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21008 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21010 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21011 for ac_func in _finite
21012 do :
21013 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21014 if test "x$ac_cv_func__finite" = x""yes; then :
21015 cat >>confdefs.h <<_ACEOF
21016 #define HAVE__FINITE 1
21017 _ACEOF
21020 done
21029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21030 $as_echo_n "checking for sincos declaration... " >&6; }
21031 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21032 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21033 $as_echo_n "(cached) " >&6
21034 else
21037 ac_ext=cpp
21038 ac_cpp='$CXXCPP $CPPFLAGS'
21039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21044 /* end confdefs.h. */
21045 #include <math.h>
21047 main ()
21049 sincos(0, 0, 0);
21051 return 0;
21053 _ACEOF
21054 if ac_fn_cxx_try_compile "$LINENO"; then :
21055 glibcxx_cv_func_sincos_use=yes
21056 else
21057 glibcxx_cv_func_sincos_use=no
21059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21060 ac_ext=c
21061 ac_cpp='$CPP $CPPFLAGS'
21062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21071 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21073 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21074 for ac_func in sincos
21075 do :
21076 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21077 if test "x$ac_cv_func_sincos" = x""yes; then :
21078 cat >>confdefs.h <<_ACEOF
21079 #define HAVE_SINCOS 1
21080 _ACEOF
21083 done
21085 else
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21088 $as_echo_n "checking for _sincos declaration... " >&6; }
21089 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21090 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21091 $as_echo_n "(cached) " >&6
21092 else
21095 ac_ext=cpp
21096 ac_cpp='$CXXCPP $CPPFLAGS'
21097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21102 /* end confdefs.h. */
21103 #include <math.h>
21105 main ()
21107 _sincos(0, 0, 0);
21109 return 0;
21111 _ACEOF
21112 if ac_fn_cxx_try_compile "$LINENO"; then :
21113 glibcxx_cv_func__sincos_use=yes
21114 else
21115 glibcxx_cv_func__sincos_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__sincos_use" >&5
21129 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21131 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21132 for ac_func in _sincos
21133 do :
21134 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21135 if test "x$ac_cv_func__sincos" = x""yes; then :
21136 cat >>confdefs.h <<_ACEOF
21137 #define HAVE__SINCOS 1
21138 _ACEOF
21141 done
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21151 $as_echo_n "checking for fpclass declaration... " >&6; }
21152 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21153 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21154 $as_echo_n "(cached) " >&6
21155 else
21158 ac_ext=cpp
21159 ac_cpp='$CXXCPP $CPPFLAGS'
21160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21165 /* end confdefs.h. */
21166 #include <math.h>
21167 #ifdef HAVE_IEEEFP_H
21168 #include <ieeefp.h>
21169 #endif
21172 main ()
21174 fpclass(0);
21176 return 0;
21178 _ACEOF
21179 if ac_fn_cxx_try_compile "$LINENO"; then :
21180 glibcxx_cv_func_fpclass_use=yes
21181 else
21182 glibcxx_cv_func_fpclass_use=no
21184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21185 ac_ext=c
21186 ac_cpp='$CPP $CPPFLAGS'
21187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21196 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21198 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21199 for ac_func in fpclass
21200 do :
21201 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21202 if test "x$ac_cv_func_fpclass" = x""yes; then :
21203 cat >>confdefs.h <<_ACEOF
21204 #define HAVE_FPCLASS 1
21205 _ACEOF
21208 done
21210 else
21212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21213 $as_echo_n "checking for _fpclass declaration... " >&6; }
21214 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21215 if test "${glibcxx_cv_func__fpclass_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 _fpclass(0);
21238 return 0;
21240 _ACEOF
21241 if ac_fn_cxx_try_compile "$LINENO"; then :
21242 glibcxx_cv_func__fpclass_use=yes
21243 else
21244 glibcxx_cv_func__fpclass_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__fpclass_use" >&5
21258 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21260 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21261 for ac_func in _fpclass
21262 do :
21263 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21264 if test "x$ac_cv_func__fpclass" = x""yes; then :
21265 cat >>confdefs.h <<_ACEOF
21266 #define HAVE__FPCLASS 1
21267 _ACEOF
21270 done
21279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21280 $as_echo_n "checking for qfpclass declaration... " >&6; }
21281 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21282 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21283 $as_echo_n "(cached) " >&6
21284 else
21287 ac_ext=cpp
21288 ac_cpp='$CXXCPP $CPPFLAGS'
21289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21294 /* end confdefs.h. */
21295 #include <math.h>
21296 #ifdef HAVE_IEEEFP_H
21297 #include <ieeefp.h>
21298 #endif
21301 main ()
21303 qfpclass(0);
21305 return 0;
21307 _ACEOF
21308 if ac_fn_cxx_try_compile "$LINENO"; then :
21309 glibcxx_cv_func_qfpclass_use=yes
21310 else
21311 glibcxx_cv_func_qfpclass_use=no
21313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21314 ac_ext=c
21315 ac_cpp='$CPP $CPPFLAGS'
21316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21325 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21327 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21328 for ac_func in qfpclass
21329 do :
21330 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21331 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21332 cat >>confdefs.h <<_ACEOF
21333 #define HAVE_QFPCLASS 1
21334 _ACEOF
21337 done
21339 else
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21342 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21343 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21344 if test "${glibcxx_cv_func__qfpclass_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 _qfpclass(0);
21367 return 0;
21369 _ACEOF
21370 if ac_fn_cxx_try_compile "$LINENO"; then :
21371 glibcxx_cv_func__qfpclass_use=yes
21372 else
21373 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
21387 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21389 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21390 for ac_func in _qfpclass
21391 do :
21392 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21393 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21394 cat >>confdefs.h <<_ACEOF
21395 #define HAVE__QFPCLASS 1
21396 _ACEOF
21399 done
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21409 $as_echo_n "checking for hypot declaration... " >&6; }
21410 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21411 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21412 $as_echo_n "(cached) " >&6
21413 else
21416 ac_ext=cpp
21417 ac_cpp='$CXXCPP $CPPFLAGS'
21418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21423 /* end confdefs.h. */
21424 #include <math.h>
21426 main ()
21428 hypot(0, 0);
21430 return 0;
21432 _ACEOF
21433 if ac_fn_cxx_try_compile "$LINENO"; then :
21434 glibcxx_cv_func_hypot_use=yes
21435 else
21436 glibcxx_cv_func_hypot_use=no
21438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21439 ac_ext=c
21440 ac_cpp='$CPP $CPPFLAGS'
21441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21450 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21452 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21453 for ac_func in hypot
21454 do :
21455 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21456 if test "x$ac_cv_func_hypot" = x""yes; then :
21457 cat >>confdefs.h <<_ACEOF
21458 #define HAVE_HYPOT 1
21459 _ACEOF
21462 done
21464 else
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21467 $as_echo_n "checking for _hypot declaration... " >&6; }
21468 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21469 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21470 $as_echo_n "(cached) " >&6
21471 else
21474 ac_ext=cpp
21475 ac_cpp='$CXXCPP $CPPFLAGS'
21476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21481 /* end confdefs.h. */
21482 #include <math.h>
21484 main ()
21486 _hypot(0, 0);
21488 return 0;
21490 _ACEOF
21491 if ac_fn_cxx_try_compile "$LINENO"; then :
21492 glibcxx_cv_func__hypot_use=yes
21493 else
21494 glibcxx_cv_func__hypot_use=no
21496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21497 ac_ext=c
21498 ac_cpp='$CPP $CPPFLAGS'
21499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21508 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21510 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21511 for ac_func in _hypot
21512 do :
21513 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21514 if test "x$ac_cv_func__hypot" = x""yes; then :
21515 cat >>confdefs.h <<_ACEOF
21516 #define HAVE__HYPOT 1
21517 _ACEOF
21520 done
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21530 $as_echo_n "checking for float trig functions... " >&6; }
21531 if test "${glibcxx_cv_func_float_trig_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 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21550 return 0;
21552 _ACEOF
21553 if ac_fn_cxx_try_compile "$LINENO"; then :
21554 glibcxx_cv_func_float_trig_use=yes
21555 else
21556 glibcxx_cv_func_float_trig_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
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21568 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21569 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21570 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21571 do :
21572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21574 eval as_val=\$$as_ac_var
21575 if test "x$as_val" = x""yes; then :
21576 cat >>confdefs.h <<_ACEOF
21577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21578 _ACEOF
21581 done
21583 else
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21585 $as_echo_n "checking for _float trig functions... " >&6; }
21586 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21588 else
21591 ac_ext=cpp
21592 ac_cpp='$CXXCPP $CPPFLAGS'
21593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21598 /* end confdefs.h. */
21599 #include <math.h>
21601 main ()
21603 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21605 return 0;
21607 _ACEOF
21608 if ac_fn_cxx_try_compile "$LINENO"; then :
21609 glibcxx_cv_func__float_trig_use=yes
21610 else
21611 glibcxx_cv_func__float_trig_use=no
21613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21614 ac_ext=c
21615 ac_cpp='$CPP $CPPFLAGS'
21616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21623 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21624 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21625 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21626 do :
21627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21629 eval as_val=\$$as_ac_var
21630 if test "x$as_val" = x""yes; then :
21631 cat >>confdefs.h <<_ACEOF
21632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21633 _ACEOF
21636 done
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21646 $as_echo_n "checking for float round functions... " >&6; }
21647 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21648 $as_echo_n "(cached) " >&6
21649 else
21652 ac_ext=cpp
21653 ac_cpp='$CXXCPP $CPPFLAGS'
21654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21659 /* end confdefs.h. */
21660 #include <math.h>
21662 main ()
21664 ceilf (0); floorf (0);
21666 return 0;
21668 _ACEOF
21669 if ac_fn_cxx_try_compile "$LINENO"; then :
21670 glibcxx_cv_func_float_round_use=yes
21671 else
21672 glibcxx_cv_func_float_round_use=no
21674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21675 ac_ext=c
21676 ac_cpp='$CPP $CPPFLAGS'
21677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21684 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21685 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21686 for ac_func in ceilf floorf
21687 do :
21688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21690 eval as_val=\$$as_ac_var
21691 if test "x$as_val" = x""yes; then :
21692 cat >>confdefs.h <<_ACEOF
21693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21694 _ACEOF
21697 done
21699 else
21700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21701 $as_echo_n "checking for _float round functions... " >&6; }
21702 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21703 $as_echo_n "(cached) " >&6
21704 else
21707 ac_ext=cpp
21708 ac_cpp='$CXXCPP $CPPFLAGS'
21709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21714 /* end confdefs.h. */
21715 #include <math.h>
21717 main ()
21719 _ceilf (0); _floorf (0);
21721 return 0;
21723 _ACEOF
21724 if ac_fn_cxx_try_compile "$LINENO"; then :
21725 glibcxx_cv_func__float_round_use=yes
21726 else
21727 glibcxx_cv_func__float_round_use=no
21729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21730 ac_ext=c
21731 ac_cpp='$CPP $CPPFLAGS'
21732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21739 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21740 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21741 for ac_func in _ceilf _floorf
21742 do :
21743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21745 eval as_val=\$$as_ac_var
21746 if test "x$as_val" = x""yes; then :
21747 cat >>confdefs.h <<_ACEOF
21748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21749 _ACEOF
21752 done
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21763 $as_echo_n "checking for expf declaration... " >&6; }
21764 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21765 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21766 $as_echo_n "(cached) " >&6
21767 else
21770 ac_ext=cpp
21771 ac_cpp='$CXXCPP $CPPFLAGS'
21772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21777 /* end confdefs.h. */
21778 #include <math.h>
21779 #ifdef HAVE_IEEEFP_H
21780 #include <ieeefp.h>
21781 #endif
21784 main ()
21786 expf(0);
21788 return 0;
21790 _ACEOF
21791 if ac_fn_cxx_try_compile "$LINENO"; then :
21792 glibcxx_cv_func_expf_use=yes
21793 else
21794 glibcxx_cv_func_expf_use=no
21796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21797 ac_ext=c
21798 ac_cpp='$CPP $CPPFLAGS'
21799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21808 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21810 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21811 for ac_func in expf
21812 do :
21813 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21814 if test "x$ac_cv_func_expf" = x""yes; then :
21815 cat >>confdefs.h <<_ACEOF
21816 #define HAVE_EXPF 1
21817 _ACEOF
21820 done
21822 else
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21825 $as_echo_n "checking for _expf declaration... " >&6; }
21826 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21827 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21828 $as_echo_n "(cached) " >&6
21829 else
21832 ac_ext=cpp
21833 ac_cpp='$CXXCPP $CPPFLAGS'
21834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21839 /* end confdefs.h. */
21840 #include <math.h>
21841 #ifdef HAVE_IEEEFP_H
21842 #include <ieeefp.h>
21843 #endif
21846 main ()
21848 _expf(0);
21850 return 0;
21852 _ACEOF
21853 if ac_fn_cxx_try_compile "$LINENO"; then :
21854 glibcxx_cv_func__expf_use=yes
21855 else
21856 glibcxx_cv_func__expf_use=no
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 ac_ext=c
21860 ac_cpp='$CPP $CPPFLAGS'
21861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21870 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21872 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21873 for ac_func in _expf
21874 do :
21875 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21876 if test "x$ac_cv_func__expf" = x""yes; then :
21877 cat >>confdefs.h <<_ACEOF
21878 #define HAVE__EXPF 1
21879 _ACEOF
21882 done
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21892 $as_echo_n "checking for isnanf declaration... " >&6; }
21893 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21894 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21895 $as_echo_n "(cached) " >&6
21896 else
21899 ac_ext=cpp
21900 ac_cpp='$CXXCPP $CPPFLAGS'
21901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21906 /* end confdefs.h. */
21907 #include <math.h>
21908 #ifdef HAVE_IEEEFP_H
21909 #include <ieeefp.h>
21910 #endif
21913 main ()
21915 isnanf(0);
21917 return 0;
21919 _ACEOF
21920 if ac_fn_cxx_try_compile "$LINENO"; then :
21921 glibcxx_cv_func_isnanf_use=yes
21922 else
21923 glibcxx_cv_func_isnanf_use=no
21925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21926 ac_ext=c
21927 ac_cpp='$CPP $CPPFLAGS'
21928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21937 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21939 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21940 for ac_func in isnanf
21941 do :
21942 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21943 if test "x$ac_cv_func_isnanf" = x""yes; then :
21944 cat >>confdefs.h <<_ACEOF
21945 #define HAVE_ISNANF 1
21946 _ACEOF
21949 done
21951 else
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21954 $as_echo_n "checking for _isnanf declaration... " >&6; }
21955 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21956 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21957 $as_echo_n "(cached) " >&6
21958 else
21961 ac_ext=cpp
21962 ac_cpp='$CXXCPP $CPPFLAGS'
21963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21968 /* end confdefs.h. */
21969 #include <math.h>
21970 #ifdef HAVE_IEEEFP_H
21971 #include <ieeefp.h>
21972 #endif
21975 main ()
21977 _isnanf(0);
21979 return 0;
21981 _ACEOF
21982 if ac_fn_cxx_try_compile "$LINENO"; then :
21983 glibcxx_cv_func__isnanf_use=yes
21984 else
21985 glibcxx_cv_func__isnanf_use=no
21987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21988 ac_ext=c
21989 ac_cpp='$CPP $CPPFLAGS'
21990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21999 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22001 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22002 for ac_func in _isnanf
22003 do :
22004 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22005 if test "x$ac_cv_func__isnanf" = x""yes; then :
22006 cat >>confdefs.h <<_ACEOF
22007 #define HAVE__ISNANF 1
22008 _ACEOF
22011 done
22020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22021 $as_echo_n "checking for isinff declaration... " >&6; }
22022 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22023 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22024 $as_echo_n "(cached) " >&6
22025 else
22028 ac_ext=cpp
22029 ac_cpp='$CXXCPP $CPPFLAGS'
22030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22035 /* end confdefs.h. */
22036 #include <math.h>
22037 #ifdef HAVE_IEEEFP_H
22038 #include <ieeefp.h>
22039 #endif
22042 main ()
22044 isinff(0);
22046 return 0;
22048 _ACEOF
22049 if ac_fn_cxx_try_compile "$LINENO"; then :
22050 glibcxx_cv_func_isinff_use=yes
22051 else
22052 glibcxx_cv_func_isinff_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
22065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22066 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22068 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22069 for ac_func in isinff
22070 do :
22071 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22072 if test "x$ac_cv_func_isinff" = x""yes; then :
22073 cat >>confdefs.h <<_ACEOF
22074 #define HAVE_ISINFF 1
22075 _ACEOF
22078 done
22080 else
22082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22083 $as_echo_n "checking for _isinff declaration... " >&6; }
22084 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22085 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22086 $as_echo_n "(cached) " >&6
22087 else
22090 ac_ext=cpp
22091 ac_cpp='$CXXCPP $CPPFLAGS'
22092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22097 /* end confdefs.h. */
22098 #include <math.h>
22099 #ifdef HAVE_IEEEFP_H
22100 #include <ieeefp.h>
22101 #endif
22104 main ()
22106 _isinff(0);
22108 return 0;
22110 _ACEOF
22111 if ac_fn_cxx_try_compile "$LINENO"; then :
22112 glibcxx_cv_func__isinff_use=yes
22113 else
22114 glibcxx_cv_func__isinff_use=no
22116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22117 ac_ext=c
22118 ac_cpp='$CPP $CPPFLAGS'
22119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22128 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22130 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22131 for ac_func in _isinff
22132 do :
22133 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22134 if test "x$ac_cv_func__isinff" = x""yes; then :
22135 cat >>confdefs.h <<_ACEOF
22136 #define HAVE__ISINFF 1
22137 _ACEOF
22140 done
22149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22150 $as_echo_n "checking for atan2f declaration... " >&6; }
22151 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22152 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22153 $as_echo_n "(cached) " >&6
22154 else
22157 ac_ext=cpp
22158 ac_cpp='$CXXCPP $CPPFLAGS'
22159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22164 /* end confdefs.h. */
22165 #include <math.h>
22167 main ()
22169 atan2f(0, 0);
22171 return 0;
22173 _ACEOF
22174 if ac_fn_cxx_try_compile "$LINENO"; then :
22175 glibcxx_cv_func_atan2f_use=yes
22176 else
22177 glibcxx_cv_func_atan2f_use=no
22179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22180 ac_ext=c
22181 ac_cpp='$CPP $CPPFLAGS'
22182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22191 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22193 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22194 for ac_func in atan2f
22195 do :
22196 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22197 if test "x$ac_cv_func_atan2f" = x""yes; then :
22198 cat >>confdefs.h <<_ACEOF
22199 #define HAVE_ATAN2F 1
22200 _ACEOF
22203 done
22205 else
22207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22208 $as_echo_n "checking for _atan2f declaration... " >&6; }
22209 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22210 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22211 $as_echo_n "(cached) " >&6
22212 else
22215 ac_ext=cpp
22216 ac_cpp='$CXXCPP $CPPFLAGS'
22217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22222 /* end confdefs.h. */
22223 #include <math.h>
22225 main ()
22227 _atan2f(0, 0);
22229 return 0;
22231 _ACEOF
22232 if ac_fn_cxx_try_compile "$LINENO"; then :
22233 glibcxx_cv_func__atan2f_use=yes
22234 else
22235 glibcxx_cv_func__atan2f_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__atan2f_use" >&5
22249 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22251 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22252 for ac_func in _atan2f
22253 do :
22254 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22255 if test "x$ac_cv_func__atan2f" = x""yes; then :
22256 cat >>confdefs.h <<_ACEOF
22257 #define HAVE__ATAN2F 1
22258 _ACEOF
22261 done
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22271 $as_echo_n "checking for fabsf declaration... " >&6; }
22272 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22273 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22274 $as_echo_n "(cached) " >&6
22275 else
22278 ac_ext=cpp
22279 ac_cpp='$CXXCPP $CPPFLAGS'
22280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22285 /* end confdefs.h. */
22286 #include <math.h>
22287 #ifdef HAVE_IEEEFP_H
22288 #include <ieeefp.h>
22289 #endif
22292 main ()
22294 fabsf(0);
22296 return 0;
22298 _ACEOF
22299 if ac_fn_cxx_try_compile "$LINENO"; then :
22300 glibcxx_cv_func_fabsf_use=yes
22301 else
22302 glibcxx_cv_func_fabsf_use=no
22304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22305 ac_ext=c
22306 ac_cpp='$CPP $CPPFLAGS'
22307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22316 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22318 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22319 for ac_func in fabsf
22320 do :
22321 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22322 if test "x$ac_cv_func_fabsf" = x""yes; then :
22323 cat >>confdefs.h <<_ACEOF
22324 #define HAVE_FABSF 1
22325 _ACEOF
22328 done
22330 else
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22333 $as_echo_n "checking for _fabsf declaration... " >&6; }
22334 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22335 if test "${glibcxx_cv_func__fabsf_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 _fabsf(0);
22358 return 0;
22360 _ACEOF
22361 if ac_fn_cxx_try_compile "$LINENO"; then :
22362 glibcxx_cv_func__fabsf_use=yes
22363 else
22364 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
22378 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22380 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22381 for ac_func in _fabsf
22382 do :
22383 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22384 if test "x$ac_cv_func__fabsf" = x""yes; then :
22385 cat >>confdefs.h <<_ACEOF
22386 #define HAVE__FABSF 1
22387 _ACEOF
22390 done
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22400 $as_echo_n "checking for fmodf declaration... " >&6; }
22401 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22402 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22403 $as_echo_n "(cached) " >&6
22404 else
22407 ac_ext=cpp
22408 ac_cpp='$CXXCPP $CPPFLAGS'
22409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22414 /* end confdefs.h. */
22415 #include <math.h>
22417 main ()
22419 fmodf(0, 0);
22421 return 0;
22423 _ACEOF
22424 if ac_fn_cxx_try_compile "$LINENO"; then :
22425 glibcxx_cv_func_fmodf_use=yes
22426 else
22427 glibcxx_cv_func_fmodf_use=no
22429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22430 ac_ext=c
22431 ac_cpp='$CPP $CPPFLAGS'
22432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22441 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22443 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22444 for ac_func in fmodf
22445 do :
22446 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22447 if test "x$ac_cv_func_fmodf" = x""yes; then :
22448 cat >>confdefs.h <<_ACEOF
22449 #define HAVE_FMODF 1
22450 _ACEOF
22453 done
22455 else
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22458 $as_echo_n "checking for _fmodf declaration... " >&6; }
22459 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22460 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22461 $as_echo_n "(cached) " >&6
22462 else
22465 ac_ext=cpp
22466 ac_cpp='$CXXCPP $CPPFLAGS'
22467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h. */
22473 #include <math.h>
22475 main ()
22477 _fmodf(0, 0);
22479 return 0;
22481 _ACEOF
22482 if ac_fn_cxx_try_compile "$LINENO"; then :
22483 glibcxx_cv_func__fmodf_use=yes
22484 else
22485 glibcxx_cv_func__fmodf_use=no
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488 ac_ext=c
22489 ac_cpp='$CPP $CPPFLAGS'
22490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22499 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22501 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22502 for ac_func in _fmodf
22503 do :
22504 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22505 if test "x$ac_cv_func__fmodf" = x""yes; then :
22506 cat >>confdefs.h <<_ACEOF
22507 #define HAVE__FMODF 1
22508 _ACEOF
22511 done
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22521 $as_echo_n "checking for frexpf declaration... " >&6; }
22522 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22523 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22524 $as_echo_n "(cached) " >&6
22525 else
22528 ac_ext=cpp
22529 ac_cpp='$CXXCPP $CPPFLAGS'
22530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22535 /* end confdefs.h. */
22536 #include <math.h>
22538 main ()
22540 frexpf(0, 0);
22542 return 0;
22544 _ACEOF
22545 if ac_fn_cxx_try_compile "$LINENO"; then :
22546 glibcxx_cv_func_frexpf_use=yes
22547 else
22548 glibcxx_cv_func_frexpf_use=no
22550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22551 ac_ext=c
22552 ac_cpp='$CPP $CPPFLAGS'
22553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22562 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22564 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22565 for ac_func in frexpf
22566 do :
22567 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22568 if test "x$ac_cv_func_frexpf" = x""yes; then :
22569 cat >>confdefs.h <<_ACEOF
22570 #define HAVE_FREXPF 1
22571 _ACEOF
22574 done
22576 else
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22579 $as_echo_n "checking for _frexpf declaration... " >&6; }
22580 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22581 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22582 $as_echo_n "(cached) " >&6
22583 else
22586 ac_ext=cpp
22587 ac_cpp='$CXXCPP $CPPFLAGS'
22588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h. */
22594 #include <math.h>
22596 main ()
22598 _frexpf(0, 0);
22600 return 0;
22602 _ACEOF
22603 if ac_fn_cxx_try_compile "$LINENO"; then :
22604 glibcxx_cv_func__frexpf_use=yes
22605 else
22606 glibcxx_cv_func__frexpf_use=no
22608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22609 ac_ext=c
22610 ac_cpp='$CPP $CPPFLAGS'
22611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22620 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22622 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22623 for ac_func in _frexpf
22624 do :
22625 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22626 if test "x$ac_cv_func__frexpf" = x""yes; then :
22627 cat >>confdefs.h <<_ACEOF
22628 #define HAVE__FREXPF 1
22629 _ACEOF
22632 done
22641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22642 $as_echo_n "checking for hypotf declaration... " >&6; }
22643 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22644 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22645 $as_echo_n "(cached) " >&6
22646 else
22649 ac_ext=cpp
22650 ac_cpp='$CXXCPP $CPPFLAGS'
22651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22656 /* end confdefs.h. */
22657 #include <math.h>
22659 main ()
22661 hypotf(0, 0);
22663 return 0;
22665 _ACEOF
22666 if ac_fn_cxx_try_compile "$LINENO"; then :
22667 glibcxx_cv_func_hypotf_use=yes
22668 else
22669 glibcxx_cv_func_hypotf_use=no
22671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22672 ac_ext=c
22673 ac_cpp='$CPP $CPPFLAGS'
22674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22683 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22685 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22686 for ac_func in hypotf
22687 do :
22688 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22689 if test "x$ac_cv_func_hypotf" = x""yes; then :
22690 cat >>confdefs.h <<_ACEOF
22691 #define HAVE_HYPOTF 1
22692 _ACEOF
22695 done
22697 else
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22700 $as_echo_n "checking for _hypotf declaration... " >&6; }
22701 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22702 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22703 $as_echo_n "(cached) " >&6
22704 else
22707 ac_ext=cpp
22708 ac_cpp='$CXXCPP $CPPFLAGS'
22709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22714 /* end confdefs.h. */
22715 #include <math.h>
22717 main ()
22719 _hypotf(0, 0);
22721 return 0;
22723 _ACEOF
22724 if ac_fn_cxx_try_compile "$LINENO"; then :
22725 glibcxx_cv_func__hypotf_use=yes
22726 else
22727 glibcxx_cv_func__hypotf_use=no
22729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22730 ac_ext=c
22731 ac_cpp='$CPP $CPPFLAGS'
22732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22741 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22743 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22744 for ac_func in _hypotf
22745 do :
22746 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22747 if test "x$ac_cv_func__hypotf" = x""yes; then :
22748 cat >>confdefs.h <<_ACEOF
22749 #define HAVE__HYPOTF 1
22750 _ACEOF
22753 done
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22763 $as_echo_n "checking for ldexpf declaration... " >&6; }
22764 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22765 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22766 $as_echo_n "(cached) " >&6
22767 else
22770 ac_ext=cpp
22771 ac_cpp='$CXXCPP $CPPFLAGS'
22772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22777 /* end confdefs.h. */
22778 #include <math.h>
22780 main ()
22782 ldexpf(0, 0);
22784 return 0;
22786 _ACEOF
22787 if ac_fn_cxx_try_compile "$LINENO"; then :
22788 glibcxx_cv_func_ldexpf_use=yes
22789 else
22790 glibcxx_cv_func_ldexpf_use=no
22792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22793 ac_ext=c
22794 ac_cpp='$CPP $CPPFLAGS'
22795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22804 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22806 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22807 for ac_func in ldexpf
22808 do :
22809 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22810 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22811 cat >>confdefs.h <<_ACEOF
22812 #define HAVE_LDEXPF 1
22813 _ACEOF
22816 done
22818 else
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22821 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22822 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22823 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22824 $as_echo_n "(cached) " >&6
22825 else
22828 ac_ext=cpp
22829 ac_cpp='$CXXCPP $CPPFLAGS'
22830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22835 /* end confdefs.h. */
22836 #include <math.h>
22838 main ()
22840 _ldexpf(0, 0);
22842 return 0;
22844 _ACEOF
22845 if ac_fn_cxx_try_compile "$LINENO"; then :
22846 glibcxx_cv_func__ldexpf_use=yes
22847 else
22848 glibcxx_cv_func__ldexpf_use=no
22850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22851 ac_ext=c
22852 ac_cpp='$CPP $CPPFLAGS'
22853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22862 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22864 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22865 for ac_func in _ldexpf
22866 do :
22867 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22868 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22869 cat >>confdefs.h <<_ACEOF
22870 #define HAVE__LDEXPF 1
22871 _ACEOF
22874 done
22883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22884 $as_echo_n "checking for logf declaration... " >&6; }
22885 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22886 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22887 $as_echo_n "(cached) " >&6
22888 else
22891 ac_ext=cpp
22892 ac_cpp='$CXXCPP $CPPFLAGS'
22893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22898 /* end confdefs.h. */
22899 #include <math.h>
22900 #ifdef HAVE_IEEEFP_H
22901 #include <ieeefp.h>
22902 #endif
22905 main ()
22907 logf(0);
22909 return 0;
22911 _ACEOF
22912 if ac_fn_cxx_try_compile "$LINENO"; then :
22913 glibcxx_cv_func_logf_use=yes
22914 else
22915 glibcxx_cv_func_logf_use=no
22917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22918 ac_ext=c
22919 ac_cpp='$CPP $CPPFLAGS'
22920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22929 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22931 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22932 for ac_func in logf
22933 do :
22934 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22935 if test "x$ac_cv_func_logf" = x""yes; then :
22936 cat >>confdefs.h <<_ACEOF
22937 #define HAVE_LOGF 1
22938 _ACEOF
22941 done
22943 else
22945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22946 $as_echo_n "checking for _logf declaration... " >&6; }
22947 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22948 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22949 $as_echo_n "(cached) " >&6
22950 else
22953 ac_ext=cpp
22954 ac_cpp='$CXXCPP $CPPFLAGS'
22955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22960 /* end confdefs.h. */
22961 #include <math.h>
22962 #ifdef HAVE_IEEEFP_H
22963 #include <ieeefp.h>
22964 #endif
22967 main ()
22969 _logf(0);
22971 return 0;
22973 _ACEOF
22974 if ac_fn_cxx_try_compile "$LINENO"; then :
22975 glibcxx_cv_func__logf_use=yes
22976 else
22977 glibcxx_cv_func__logf_use=no
22979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22980 ac_ext=c
22981 ac_cpp='$CPP $CPPFLAGS'
22982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22991 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22993 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22994 for ac_func in _logf
22995 do :
22996 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22997 if test "x$ac_cv_func__logf" = x""yes; then :
22998 cat >>confdefs.h <<_ACEOF
22999 #define HAVE__LOGF 1
23000 _ACEOF
23003 done
23012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23013 $as_echo_n "checking for log10f declaration... " >&6; }
23014 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23015 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23016 $as_echo_n "(cached) " >&6
23017 else
23020 ac_ext=cpp
23021 ac_cpp='$CXXCPP $CPPFLAGS'
23022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23027 /* end confdefs.h. */
23028 #include <math.h>
23029 #ifdef HAVE_IEEEFP_H
23030 #include <ieeefp.h>
23031 #endif
23034 main ()
23036 log10f(0);
23038 return 0;
23040 _ACEOF
23041 if ac_fn_cxx_try_compile "$LINENO"; then :
23042 glibcxx_cv_func_log10f_use=yes
23043 else
23044 glibcxx_cv_func_log10f_use=no
23046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23047 ac_ext=c
23048 ac_cpp='$CPP $CPPFLAGS'
23049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23058 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23060 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23061 for ac_func in log10f
23062 do :
23063 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23064 if test "x$ac_cv_func_log10f" = x""yes; then :
23065 cat >>confdefs.h <<_ACEOF
23066 #define HAVE_LOG10F 1
23067 _ACEOF
23070 done
23072 else
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23075 $as_echo_n "checking for _log10f declaration... " >&6; }
23076 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23077 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23078 $as_echo_n "(cached) " >&6
23079 else
23082 ac_ext=cpp
23083 ac_cpp='$CXXCPP $CPPFLAGS'
23084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23089 /* end confdefs.h. */
23090 #include <math.h>
23091 #ifdef HAVE_IEEEFP_H
23092 #include <ieeefp.h>
23093 #endif
23096 main ()
23098 _log10f(0);
23100 return 0;
23102 _ACEOF
23103 if ac_fn_cxx_try_compile "$LINENO"; then :
23104 glibcxx_cv_func__log10f_use=yes
23105 else
23106 glibcxx_cv_func__log10f_use=no
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23109 ac_ext=c
23110 ac_cpp='$CPP $CPPFLAGS'
23111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23120 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23122 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23123 for ac_func in _log10f
23124 do :
23125 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23126 if test "x$ac_cv_func__log10f" = x""yes; then :
23127 cat >>confdefs.h <<_ACEOF
23128 #define HAVE__LOG10F 1
23129 _ACEOF
23132 done
23141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23142 $as_echo_n "checking for modff declaration... " >&6; }
23143 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23144 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23145 $as_echo_n "(cached) " >&6
23146 else
23149 ac_ext=cpp
23150 ac_cpp='$CXXCPP $CPPFLAGS'
23151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23156 /* end confdefs.h. */
23157 #include <math.h>
23159 main ()
23161 modff(0, 0);
23163 return 0;
23165 _ACEOF
23166 if ac_fn_cxx_try_compile "$LINENO"; then :
23167 glibcxx_cv_func_modff_use=yes
23168 else
23169 glibcxx_cv_func_modff_use=no
23171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23172 ac_ext=c
23173 ac_cpp='$CPP $CPPFLAGS'
23174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23183 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23185 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23186 for ac_func in modff
23187 do :
23188 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23189 if test "x$ac_cv_func_modff" = x""yes; then :
23190 cat >>confdefs.h <<_ACEOF
23191 #define HAVE_MODFF 1
23192 _ACEOF
23195 done
23197 else
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23200 $as_echo_n "checking for _modff declaration... " >&6; }
23201 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23202 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23203 $as_echo_n "(cached) " >&6
23204 else
23207 ac_ext=cpp
23208 ac_cpp='$CXXCPP $CPPFLAGS'
23209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23214 /* end confdefs.h. */
23215 #include <math.h>
23217 main ()
23219 _modff(0, 0);
23221 return 0;
23223 _ACEOF
23224 if ac_fn_cxx_try_compile "$LINENO"; then :
23225 glibcxx_cv_func__modff_use=yes
23226 else
23227 glibcxx_cv_func__modff_use=no
23229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23230 ac_ext=c
23231 ac_cpp='$CPP $CPPFLAGS'
23232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23241 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23243 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23244 for ac_func in _modff
23245 do :
23246 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23247 if test "x$ac_cv_func__modff" = x""yes; then :
23248 cat >>confdefs.h <<_ACEOF
23249 #define HAVE__MODFF 1
23250 _ACEOF
23253 done
23262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23263 $as_echo_n "checking for modf declaration... " >&6; }
23264 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23265 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23266 $as_echo_n "(cached) " >&6
23267 else
23270 ac_ext=cpp
23271 ac_cpp='$CXXCPP $CPPFLAGS'
23272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23277 /* end confdefs.h. */
23278 #include <math.h>
23280 main ()
23282 modf(0, 0);
23284 return 0;
23286 _ACEOF
23287 if ac_fn_cxx_try_compile "$LINENO"; then :
23288 glibcxx_cv_func_modf_use=yes
23289 else
23290 glibcxx_cv_func_modf_use=no
23292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23293 ac_ext=c
23294 ac_cpp='$CPP $CPPFLAGS'
23295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23304 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23306 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23307 for ac_func in modf
23308 do :
23309 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23310 if test "x$ac_cv_func_modf" = x""yes; then :
23311 cat >>confdefs.h <<_ACEOF
23312 #define HAVE_MODF 1
23313 _ACEOF
23316 done
23318 else
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23321 $as_echo_n "checking for _modf declaration... " >&6; }
23322 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23323 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23324 $as_echo_n "(cached) " >&6
23325 else
23328 ac_ext=cpp
23329 ac_cpp='$CXXCPP $CPPFLAGS'
23330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23335 /* end confdefs.h. */
23336 #include <math.h>
23338 main ()
23340 _modf(0, 0);
23342 return 0;
23344 _ACEOF
23345 if ac_fn_cxx_try_compile "$LINENO"; then :
23346 glibcxx_cv_func__modf_use=yes
23347 else
23348 glibcxx_cv_func__modf_use=no
23350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23351 ac_ext=c
23352 ac_cpp='$CPP $CPPFLAGS'
23353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23362 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23364 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23365 for ac_func in _modf
23366 do :
23367 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23368 if test "x$ac_cv_func__modf" = x""yes; then :
23369 cat >>confdefs.h <<_ACEOF
23370 #define HAVE__MODF 1
23371 _ACEOF
23374 done
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23384 $as_echo_n "checking for powf declaration... " >&6; }
23385 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23386 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23387 $as_echo_n "(cached) " >&6
23388 else
23391 ac_ext=cpp
23392 ac_cpp='$CXXCPP $CPPFLAGS'
23393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23398 /* end confdefs.h. */
23399 #include <math.h>
23401 main ()
23403 powf(0, 0);
23405 return 0;
23407 _ACEOF
23408 if ac_fn_cxx_try_compile "$LINENO"; then :
23409 glibcxx_cv_func_powf_use=yes
23410 else
23411 glibcxx_cv_func_powf_use=no
23413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23414 ac_ext=c
23415 ac_cpp='$CPP $CPPFLAGS'
23416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23425 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23427 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23428 for ac_func in powf
23429 do :
23430 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23431 if test "x$ac_cv_func_powf" = x""yes; then :
23432 cat >>confdefs.h <<_ACEOF
23433 #define HAVE_POWF 1
23434 _ACEOF
23437 done
23439 else
23441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23442 $as_echo_n "checking for _powf declaration... " >&6; }
23443 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23444 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23445 $as_echo_n "(cached) " >&6
23446 else
23449 ac_ext=cpp
23450 ac_cpp='$CXXCPP $CPPFLAGS'
23451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23456 /* end confdefs.h. */
23457 #include <math.h>
23459 main ()
23461 _powf(0, 0);
23463 return 0;
23465 _ACEOF
23466 if ac_fn_cxx_try_compile "$LINENO"; then :
23467 glibcxx_cv_func__powf_use=yes
23468 else
23469 glibcxx_cv_func__powf_use=no
23471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23472 ac_ext=c
23473 ac_cpp='$CPP $CPPFLAGS'
23474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23483 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23485 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23486 for ac_func in _powf
23487 do :
23488 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23489 if test "x$ac_cv_func__powf" = x""yes; then :
23490 cat >>confdefs.h <<_ACEOF
23491 #define HAVE__POWF 1
23492 _ACEOF
23495 done
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23505 $as_echo_n "checking for sqrtf declaration... " >&6; }
23506 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23507 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23508 $as_echo_n "(cached) " >&6
23509 else
23512 ac_ext=cpp
23513 ac_cpp='$CXXCPP $CPPFLAGS'
23514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23519 /* end confdefs.h. */
23520 #include <math.h>
23521 #ifdef HAVE_IEEEFP_H
23522 #include <ieeefp.h>
23523 #endif
23526 main ()
23528 sqrtf(0);
23530 return 0;
23532 _ACEOF
23533 if ac_fn_cxx_try_compile "$LINENO"; then :
23534 glibcxx_cv_func_sqrtf_use=yes
23535 else
23536 glibcxx_cv_func_sqrtf_use=no
23538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23539 ac_ext=c
23540 ac_cpp='$CPP $CPPFLAGS'
23541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23550 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23552 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23553 for ac_func in sqrtf
23554 do :
23555 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23556 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23557 cat >>confdefs.h <<_ACEOF
23558 #define HAVE_SQRTF 1
23559 _ACEOF
23562 done
23564 else
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23567 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23568 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23569 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23570 $as_echo_n "(cached) " >&6
23571 else
23574 ac_ext=cpp
23575 ac_cpp='$CXXCPP $CPPFLAGS'
23576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23581 /* end confdefs.h. */
23582 #include <math.h>
23583 #ifdef HAVE_IEEEFP_H
23584 #include <ieeefp.h>
23585 #endif
23588 main ()
23590 _sqrtf(0);
23592 return 0;
23594 _ACEOF
23595 if ac_fn_cxx_try_compile "$LINENO"; then :
23596 glibcxx_cv_func__sqrtf_use=yes
23597 else
23598 glibcxx_cv_func__sqrtf_use=no
23600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23601 ac_ext=c
23602 ac_cpp='$CPP $CPPFLAGS'
23603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23612 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23614 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23615 for ac_func in _sqrtf
23616 do :
23617 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23618 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23619 cat >>confdefs.h <<_ACEOF
23620 #define HAVE__SQRTF 1
23621 _ACEOF
23624 done
23633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23634 $as_echo_n "checking for sincosf declaration... " >&6; }
23635 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23636 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23637 $as_echo_n "(cached) " >&6
23638 else
23641 ac_ext=cpp
23642 ac_cpp='$CXXCPP $CPPFLAGS'
23643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23648 /* end confdefs.h. */
23649 #include <math.h>
23651 main ()
23653 sincosf(0, 0, 0);
23655 return 0;
23657 _ACEOF
23658 if ac_fn_cxx_try_compile "$LINENO"; then :
23659 glibcxx_cv_func_sincosf_use=yes
23660 else
23661 glibcxx_cv_func_sincosf_use=no
23663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23664 ac_ext=c
23665 ac_cpp='$CPP $CPPFLAGS'
23666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23675 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23677 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23678 for ac_func in sincosf
23679 do :
23680 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23681 if test "x$ac_cv_func_sincosf" = x""yes; then :
23682 cat >>confdefs.h <<_ACEOF
23683 #define HAVE_SINCOSF 1
23684 _ACEOF
23687 done
23689 else
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23692 $as_echo_n "checking for _sincosf declaration... " >&6; }
23693 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23694 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23695 $as_echo_n "(cached) " >&6
23696 else
23699 ac_ext=cpp
23700 ac_cpp='$CXXCPP $CPPFLAGS'
23701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23706 /* end confdefs.h. */
23707 #include <math.h>
23709 main ()
23711 _sincosf(0, 0, 0);
23713 return 0;
23715 _ACEOF
23716 if ac_fn_cxx_try_compile "$LINENO"; then :
23717 glibcxx_cv_func__sincosf_use=yes
23718 else
23719 glibcxx_cv_func__sincosf_use=no
23721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23722 ac_ext=c
23723 ac_cpp='$CPP $CPPFLAGS'
23724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23733 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23735 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23736 for ac_func in _sincosf
23737 do :
23738 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23739 if test "x$ac_cv_func__sincosf" = x""yes; then :
23740 cat >>confdefs.h <<_ACEOF
23741 #define HAVE__SINCOSF 1
23742 _ACEOF
23745 done
23754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23755 $as_echo_n "checking for finitef declaration... " >&6; }
23756 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23757 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23758 $as_echo_n "(cached) " >&6
23759 else
23762 ac_ext=cpp
23763 ac_cpp='$CXXCPP $CPPFLAGS'
23764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23769 /* end confdefs.h. */
23770 #include <math.h>
23771 #ifdef HAVE_IEEEFP_H
23772 #include <ieeefp.h>
23773 #endif
23776 main ()
23778 finitef(0);
23780 return 0;
23782 _ACEOF
23783 if ac_fn_cxx_try_compile "$LINENO"; then :
23784 glibcxx_cv_func_finitef_use=yes
23785 else
23786 glibcxx_cv_func_finitef_use=no
23788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23789 ac_ext=c
23790 ac_cpp='$CPP $CPPFLAGS'
23791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23800 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23802 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23803 for ac_func in finitef
23804 do :
23805 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23806 if test "x$ac_cv_func_finitef" = x""yes; then :
23807 cat >>confdefs.h <<_ACEOF
23808 #define HAVE_FINITEF 1
23809 _ACEOF
23812 done
23814 else
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23817 $as_echo_n "checking for _finitef declaration... " >&6; }
23818 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23819 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23820 $as_echo_n "(cached) " >&6
23821 else
23824 ac_ext=cpp
23825 ac_cpp='$CXXCPP $CPPFLAGS'
23826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23831 /* end confdefs.h. */
23832 #include <math.h>
23833 #ifdef HAVE_IEEEFP_H
23834 #include <ieeefp.h>
23835 #endif
23838 main ()
23840 _finitef(0);
23842 return 0;
23844 _ACEOF
23845 if ac_fn_cxx_try_compile "$LINENO"; then :
23846 glibcxx_cv_func__finitef_use=yes
23847 else
23848 glibcxx_cv_func__finitef_use=no
23850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23851 ac_ext=c
23852 ac_cpp='$CPP $CPPFLAGS'
23853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23862 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23864 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23865 for ac_func in _finitef
23866 do :
23867 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23868 if test "x$ac_cv_func__finitef" = x""yes; then :
23869 cat >>confdefs.h <<_ACEOF
23870 #define HAVE__FINITEF 1
23871 _ACEOF
23874 done
23883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23884 $as_echo_n "checking for long double trig functions... " >&6; }
23885 if test "${glibcxx_cv_func_long_double_trig_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 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23904 return 0;
23906 _ACEOF
23907 if ac_fn_cxx_try_compile "$LINENO"; then :
23908 glibcxx_cv_func_long_double_trig_use=yes
23909 else
23910 glibcxx_cv_func_long_double_trig_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
23921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23922 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23923 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23924 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23925 do :
23926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23928 eval as_val=\$$as_ac_var
23929 if test "x$as_val" = x""yes; then :
23930 cat >>confdefs.h <<_ACEOF
23931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23932 _ACEOF
23935 done
23937 else
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23939 $as_echo_n "checking for _long double trig functions... " >&6; }
23940 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23941 $as_echo_n "(cached) " >&6
23942 else
23945 ac_ext=cpp
23946 ac_cpp='$CXXCPP $CPPFLAGS'
23947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23952 /* end confdefs.h. */
23953 #include <math.h>
23955 main ()
23957 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23959 return 0;
23961 _ACEOF
23962 if ac_fn_cxx_try_compile "$LINENO"; then :
23963 glibcxx_cv_func__long_double_trig_use=yes
23964 else
23965 glibcxx_cv_func__long_double_trig_use=no
23967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23968 ac_ext=c
23969 ac_cpp='$CPP $CPPFLAGS'
23970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23977 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23978 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23979 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23980 do :
23981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23983 eval as_val=\$$as_ac_var
23984 if test "x$as_val" = x""yes; then :
23985 cat >>confdefs.h <<_ACEOF
23986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23987 _ACEOF
23990 done
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24000 $as_echo_n "checking for long double round functions... " >&6; }
24001 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24002 $as_echo_n "(cached) " >&6
24003 else
24006 ac_ext=cpp
24007 ac_cpp='$CXXCPP $CPPFLAGS'
24008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24013 /* end confdefs.h. */
24014 #include <math.h>
24016 main ()
24018 ceill (0); floorl (0);
24020 return 0;
24022 _ACEOF
24023 if ac_fn_cxx_try_compile "$LINENO"; then :
24024 glibcxx_cv_func_long_double_round_use=yes
24025 else
24026 glibcxx_cv_func_long_double_round_use=no
24028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24029 ac_ext=c
24030 ac_cpp='$CPP $CPPFLAGS'
24031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24038 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24039 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24040 for ac_func in ceill floorl
24041 do :
24042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24044 eval as_val=\$$as_ac_var
24045 if test "x$as_val" = x""yes; then :
24046 cat >>confdefs.h <<_ACEOF
24047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24048 _ACEOF
24051 done
24053 else
24054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24055 $as_echo_n "checking for _long double round functions... " >&6; }
24056 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24057 $as_echo_n "(cached) " >&6
24058 else
24061 ac_ext=cpp
24062 ac_cpp='$CXXCPP $CPPFLAGS'
24063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24068 /* end confdefs.h. */
24069 #include <math.h>
24071 main ()
24073 _ceill (0); _floorl (0);
24075 return 0;
24077 _ACEOF
24078 if ac_fn_cxx_try_compile "$LINENO"; then :
24079 glibcxx_cv_func__long_double_round_use=yes
24080 else
24081 glibcxx_cv_func__long_double_round_use=no
24083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24084 ac_ext=c
24085 ac_cpp='$CPP $CPPFLAGS'
24086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24093 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24094 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24095 for ac_func in _ceill _floorl
24096 do :
24097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24099 eval as_val=\$$as_ac_var
24100 if test "x$as_val" = x""yes; then :
24101 cat >>confdefs.h <<_ACEOF
24102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24103 _ACEOF
24106 done
24116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24117 $as_echo_n "checking for isnanl declaration... " >&6; }
24118 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24119 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24120 $as_echo_n "(cached) " >&6
24121 else
24124 ac_ext=cpp
24125 ac_cpp='$CXXCPP $CPPFLAGS'
24126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24131 /* end confdefs.h. */
24132 #include <math.h>
24133 #ifdef HAVE_IEEEFP_H
24134 #include <ieeefp.h>
24135 #endif
24138 main ()
24140 isnanl(0);
24142 return 0;
24144 _ACEOF
24145 if ac_fn_cxx_try_compile "$LINENO"; then :
24146 glibcxx_cv_func_isnanl_use=yes
24147 else
24148 glibcxx_cv_func_isnanl_use=no
24150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24151 ac_ext=c
24152 ac_cpp='$CPP $CPPFLAGS'
24153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24162 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24164 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24165 for ac_func in isnanl
24166 do :
24167 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24168 if test "x$ac_cv_func_isnanl" = x""yes; then :
24169 cat >>confdefs.h <<_ACEOF
24170 #define HAVE_ISNANL 1
24171 _ACEOF
24174 done
24176 else
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24179 $as_echo_n "checking for _isnanl declaration... " >&6; }
24180 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24181 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24182 $as_echo_n "(cached) " >&6
24183 else
24186 ac_ext=cpp
24187 ac_cpp='$CXXCPP $CPPFLAGS'
24188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24193 /* end confdefs.h. */
24194 #include <math.h>
24195 #ifdef HAVE_IEEEFP_H
24196 #include <ieeefp.h>
24197 #endif
24200 main ()
24202 _isnanl(0);
24204 return 0;
24206 _ACEOF
24207 if ac_fn_cxx_try_compile "$LINENO"; then :
24208 glibcxx_cv_func__isnanl_use=yes
24209 else
24210 glibcxx_cv_func__isnanl_use=no
24212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24213 ac_ext=c
24214 ac_cpp='$CPP $CPPFLAGS'
24215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24224 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24226 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24227 for ac_func in _isnanl
24228 do :
24229 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24230 if test "x$ac_cv_func__isnanl" = x""yes; then :
24231 cat >>confdefs.h <<_ACEOF
24232 #define HAVE__ISNANL 1
24233 _ACEOF
24236 done
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24246 $as_echo_n "checking for isinfl declaration... " >&6; }
24247 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24248 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24249 $as_echo_n "(cached) " >&6
24250 else
24253 ac_ext=cpp
24254 ac_cpp='$CXXCPP $CPPFLAGS'
24255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24260 /* end confdefs.h. */
24261 #include <math.h>
24262 #ifdef HAVE_IEEEFP_H
24263 #include <ieeefp.h>
24264 #endif
24267 main ()
24269 isinfl(0);
24271 return 0;
24273 _ACEOF
24274 if ac_fn_cxx_try_compile "$LINENO"; then :
24275 glibcxx_cv_func_isinfl_use=yes
24276 else
24277 glibcxx_cv_func_isinfl_use=no
24279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24280 ac_ext=c
24281 ac_cpp='$CPP $CPPFLAGS'
24282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24291 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24293 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24294 for ac_func in isinfl
24295 do :
24296 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24297 if test "x$ac_cv_func_isinfl" = x""yes; then :
24298 cat >>confdefs.h <<_ACEOF
24299 #define HAVE_ISINFL 1
24300 _ACEOF
24303 done
24305 else
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24308 $as_echo_n "checking for _isinfl declaration... " >&6; }
24309 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24310 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24311 $as_echo_n "(cached) " >&6
24312 else
24315 ac_ext=cpp
24316 ac_cpp='$CXXCPP $CPPFLAGS'
24317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24322 /* end confdefs.h. */
24323 #include <math.h>
24324 #ifdef HAVE_IEEEFP_H
24325 #include <ieeefp.h>
24326 #endif
24329 main ()
24331 _isinfl(0);
24333 return 0;
24335 _ACEOF
24336 if ac_fn_cxx_try_compile "$LINENO"; then :
24337 glibcxx_cv_func__isinfl_use=yes
24338 else
24339 glibcxx_cv_func__isinfl_use=no
24341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24342 ac_ext=c
24343 ac_cpp='$CPP $CPPFLAGS'
24344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24353 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24355 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24356 for ac_func in _isinfl
24357 do :
24358 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24359 if test "x$ac_cv_func__isinfl" = x""yes; then :
24360 cat >>confdefs.h <<_ACEOF
24361 #define HAVE__ISINFL 1
24362 _ACEOF
24365 done
24374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24375 $as_echo_n "checking for atan2l declaration... " >&6; }
24376 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24377 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24378 $as_echo_n "(cached) " >&6
24379 else
24382 ac_ext=cpp
24383 ac_cpp='$CXXCPP $CPPFLAGS'
24384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24389 /* end confdefs.h. */
24390 #include <math.h>
24392 main ()
24394 atan2l(0, 0);
24396 return 0;
24398 _ACEOF
24399 if ac_fn_cxx_try_compile "$LINENO"; then :
24400 glibcxx_cv_func_atan2l_use=yes
24401 else
24402 glibcxx_cv_func_atan2l_use=no
24404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24405 ac_ext=c
24406 ac_cpp='$CPP $CPPFLAGS'
24407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24416 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24418 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24419 for ac_func in atan2l
24420 do :
24421 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24422 if test "x$ac_cv_func_atan2l" = x""yes; then :
24423 cat >>confdefs.h <<_ACEOF
24424 #define HAVE_ATAN2L 1
24425 _ACEOF
24428 done
24430 else
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24433 $as_echo_n "checking for _atan2l declaration... " >&6; }
24434 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24435 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24436 $as_echo_n "(cached) " >&6
24437 else
24440 ac_ext=cpp
24441 ac_cpp='$CXXCPP $CPPFLAGS'
24442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24447 /* end confdefs.h. */
24448 #include <math.h>
24450 main ()
24452 _atan2l(0, 0);
24454 return 0;
24456 _ACEOF
24457 if ac_fn_cxx_try_compile "$LINENO"; then :
24458 glibcxx_cv_func__atan2l_use=yes
24459 else
24460 glibcxx_cv_func__atan2l_use=no
24462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24463 ac_ext=c
24464 ac_cpp='$CPP $CPPFLAGS'
24465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24474 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24476 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24477 for ac_func in _atan2l
24478 do :
24479 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24480 if test "x$ac_cv_func__atan2l" = x""yes; then :
24481 cat >>confdefs.h <<_ACEOF
24482 #define HAVE__ATAN2L 1
24483 _ACEOF
24486 done
24495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24496 $as_echo_n "checking for expl declaration... " >&6; }
24497 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24498 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24499 $as_echo_n "(cached) " >&6
24500 else
24503 ac_ext=cpp
24504 ac_cpp='$CXXCPP $CPPFLAGS'
24505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24510 /* end confdefs.h. */
24511 #include <math.h>
24512 #ifdef HAVE_IEEEFP_H
24513 #include <ieeefp.h>
24514 #endif
24517 main ()
24519 expl(0);
24521 return 0;
24523 _ACEOF
24524 if ac_fn_cxx_try_compile "$LINENO"; then :
24525 glibcxx_cv_func_expl_use=yes
24526 else
24527 glibcxx_cv_func_expl_use=no
24529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24530 ac_ext=c
24531 ac_cpp='$CPP $CPPFLAGS'
24532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24541 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24543 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24544 for ac_func in expl
24545 do :
24546 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24547 if test "x$ac_cv_func_expl" = x""yes; then :
24548 cat >>confdefs.h <<_ACEOF
24549 #define HAVE_EXPL 1
24550 _ACEOF
24553 done
24555 else
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24558 $as_echo_n "checking for _expl declaration... " >&6; }
24559 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24560 if test "${glibcxx_cv_func__expl_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 _expl(0);
24583 return 0;
24585 _ACEOF
24586 if ac_fn_cxx_try_compile "$LINENO"; then :
24587 glibcxx_cv_func__expl_use=yes
24588 else
24589 glibcxx_cv_func__expl_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__expl_use" >&5
24603 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24605 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24606 for ac_func in _expl
24607 do :
24608 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24609 if test "x$ac_cv_func__expl" = x""yes; then :
24610 cat >>confdefs.h <<_ACEOF
24611 #define HAVE__EXPL 1
24612 _ACEOF
24615 done
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24625 $as_echo_n "checking for fabsl declaration... " >&6; }
24626 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24627 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24628 $as_echo_n "(cached) " >&6
24629 else
24632 ac_ext=cpp
24633 ac_cpp='$CXXCPP $CPPFLAGS'
24634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24639 /* end confdefs.h. */
24640 #include <math.h>
24641 #ifdef HAVE_IEEEFP_H
24642 #include <ieeefp.h>
24643 #endif
24646 main ()
24648 fabsl(0);
24650 return 0;
24652 _ACEOF
24653 if ac_fn_cxx_try_compile "$LINENO"; then :
24654 glibcxx_cv_func_fabsl_use=yes
24655 else
24656 glibcxx_cv_func_fabsl_use=no
24658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24659 ac_ext=c
24660 ac_cpp='$CPP $CPPFLAGS'
24661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24670 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24672 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24673 for ac_func in fabsl
24674 do :
24675 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24676 if test "x$ac_cv_func_fabsl" = x""yes; then :
24677 cat >>confdefs.h <<_ACEOF
24678 #define HAVE_FABSL 1
24679 _ACEOF
24682 done
24684 else
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24687 $as_echo_n "checking for _fabsl declaration... " >&6; }
24688 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24689 if test "${glibcxx_cv_func__fabsl_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 _fabsl(0);
24712 return 0;
24714 _ACEOF
24715 if ac_fn_cxx_try_compile "$LINENO"; then :
24716 glibcxx_cv_func__fabsl_use=yes
24717 else
24718 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
24732 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24734 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24735 for ac_func in _fabsl
24736 do :
24737 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24738 if test "x$ac_cv_func__fabsl" = x""yes; then :
24739 cat >>confdefs.h <<_ACEOF
24740 #define HAVE__FABSL 1
24741 _ACEOF
24744 done
24753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24754 $as_echo_n "checking for fmodl declaration... " >&6; }
24755 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24756 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24757 $as_echo_n "(cached) " >&6
24758 else
24761 ac_ext=cpp
24762 ac_cpp='$CXXCPP $CPPFLAGS'
24763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24768 /* end confdefs.h. */
24769 #include <math.h>
24771 main ()
24773 fmodl(0, 0);
24775 return 0;
24777 _ACEOF
24778 if ac_fn_cxx_try_compile "$LINENO"; then :
24779 glibcxx_cv_func_fmodl_use=yes
24780 else
24781 glibcxx_cv_func_fmodl_use=no
24783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24784 ac_ext=c
24785 ac_cpp='$CPP $CPPFLAGS'
24786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24795 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24797 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24798 for ac_func in fmodl
24799 do :
24800 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24801 if test "x$ac_cv_func_fmodl" = x""yes; then :
24802 cat >>confdefs.h <<_ACEOF
24803 #define HAVE_FMODL 1
24804 _ACEOF
24807 done
24809 else
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24812 $as_echo_n "checking for _fmodl declaration... " >&6; }
24813 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24814 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24815 $as_echo_n "(cached) " >&6
24816 else
24819 ac_ext=cpp
24820 ac_cpp='$CXXCPP $CPPFLAGS'
24821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24826 /* end confdefs.h. */
24827 #include <math.h>
24829 main ()
24831 _fmodl(0, 0);
24833 return 0;
24835 _ACEOF
24836 if ac_fn_cxx_try_compile "$LINENO"; then :
24837 glibcxx_cv_func__fmodl_use=yes
24838 else
24839 glibcxx_cv_func__fmodl_use=no
24841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24842 ac_ext=c
24843 ac_cpp='$CPP $CPPFLAGS'
24844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24853 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24855 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24856 for ac_func in _fmodl
24857 do :
24858 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24859 if test "x$ac_cv_func__fmodl" = x""yes; then :
24860 cat >>confdefs.h <<_ACEOF
24861 #define HAVE__FMODL 1
24862 _ACEOF
24865 done
24874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24875 $as_echo_n "checking for frexpl declaration... " >&6; }
24876 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24877 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24878 $as_echo_n "(cached) " >&6
24879 else
24882 ac_ext=cpp
24883 ac_cpp='$CXXCPP $CPPFLAGS'
24884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24889 /* end confdefs.h. */
24890 #include <math.h>
24892 main ()
24894 frexpl(0, 0);
24896 return 0;
24898 _ACEOF
24899 if ac_fn_cxx_try_compile "$LINENO"; then :
24900 glibcxx_cv_func_frexpl_use=yes
24901 else
24902 glibcxx_cv_func_frexpl_use=no
24904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24905 ac_ext=c
24906 ac_cpp='$CPP $CPPFLAGS'
24907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24916 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24918 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24919 for ac_func in frexpl
24920 do :
24921 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24922 if test "x$ac_cv_func_frexpl" = x""yes; then :
24923 cat >>confdefs.h <<_ACEOF
24924 #define HAVE_FREXPL 1
24925 _ACEOF
24928 done
24930 else
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24933 $as_echo_n "checking for _frexpl declaration... " >&6; }
24934 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24935 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24936 $as_echo_n "(cached) " >&6
24937 else
24940 ac_ext=cpp
24941 ac_cpp='$CXXCPP $CPPFLAGS'
24942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24947 /* end confdefs.h. */
24948 #include <math.h>
24950 main ()
24952 _frexpl(0, 0);
24954 return 0;
24956 _ACEOF
24957 if ac_fn_cxx_try_compile "$LINENO"; then :
24958 glibcxx_cv_func__frexpl_use=yes
24959 else
24960 glibcxx_cv_func__frexpl_use=no
24962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24963 ac_ext=c
24964 ac_cpp='$CPP $CPPFLAGS'
24965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24974 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24976 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24977 for ac_func in _frexpl
24978 do :
24979 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24980 if test "x$ac_cv_func__frexpl" = x""yes; then :
24981 cat >>confdefs.h <<_ACEOF
24982 #define HAVE__FREXPL 1
24983 _ACEOF
24986 done
24995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24996 $as_echo_n "checking for hypotl declaration... " >&6; }
24997 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24998 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24999 $as_echo_n "(cached) " >&6
25000 else
25003 ac_ext=cpp
25004 ac_cpp='$CXXCPP $CPPFLAGS'
25005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25010 /* end confdefs.h. */
25011 #include <math.h>
25013 main ()
25015 hypotl(0, 0);
25017 return 0;
25019 _ACEOF
25020 if ac_fn_cxx_try_compile "$LINENO"; then :
25021 glibcxx_cv_func_hypotl_use=yes
25022 else
25023 glibcxx_cv_func_hypotl_use=no
25025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25026 ac_ext=c
25027 ac_cpp='$CPP $CPPFLAGS'
25028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25037 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25039 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25040 for ac_func in hypotl
25041 do :
25042 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25043 if test "x$ac_cv_func_hypotl" = x""yes; then :
25044 cat >>confdefs.h <<_ACEOF
25045 #define HAVE_HYPOTL 1
25046 _ACEOF
25049 done
25051 else
25053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25054 $as_echo_n "checking for _hypotl declaration... " >&6; }
25055 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25056 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25057 $as_echo_n "(cached) " >&6
25058 else
25061 ac_ext=cpp
25062 ac_cpp='$CXXCPP $CPPFLAGS'
25063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25068 /* end confdefs.h. */
25069 #include <math.h>
25071 main ()
25073 _hypotl(0, 0);
25075 return 0;
25077 _ACEOF
25078 if ac_fn_cxx_try_compile "$LINENO"; then :
25079 glibcxx_cv_func__hypotl_use=yes
25080 else
25081 glibcxx_cv_func__hypotl_use=no
25083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25084 ac_ext=c
25085 ac_cpp='$CPP $CPPFLAGS'
25086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25095 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25097 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25098 for ac_func in _hypotl
25099 do :
25100 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25101 if test "x$ac_cv_func__hypotl" = x""yes; then :
25102 cat >>confdefs.h <<_ACEOF
25103 #define HAVE__HYPOTL 1
25104 _ACEOF
25107 done
25116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25117 $as_echo_n "checking for ldexpl declaration... " >&6; }
25118 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25119 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25120 $as_echo_n "(cached) " >&6
25121 else
25124 ac_ext=cpp
25125 ac_cpp='$CXXCPP $CPPFLAGS'
25126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25131 /* end confdefs.h. */
25132 #include <math.h>
25134 main ()
25136 ldexpl(0, 0);
25138 return 0;
25140 _ACEOF
25141 if ac_fn_cxx_try_compile "$LINENO"; then :
25142 glibcxx_cv_func_ldexpl_use=yes
25143 else
25144 glibcxx_cv_func_ldexpl_use=no
25146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25147 ac_ext=c
25148 ac_cpp='$CPP $CPPFLAGS'
25149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25158 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25160 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25161 for ac_func in ldexpl
25162 do :
25163 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25164 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25165 cat >>confdefs.h <<_ACEOF
25166 #define HAVE_LDEXPL 1
25167 _ACEOF
25170 done
25172 else
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25175 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25176 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25177 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25178 $as_echo_n "(cached) " >&6
25179 else
25182 ac_ext=cpp
25183 ac_cpp='$CXXCPP $CPPFLAGS'
25184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25189 /* end confdefs.h. */
25190 #include <math.h>
25192 main ()
25194 _ldexpl(0, 0);
25196 return 0;
25198 _ACEOF
25199 if ac_fn_cxx_try_compile "$LINENO"; then :
25200 glibcxx_cv_func__ldexpl_use=yes
25201 else
25202 glibcxx_cv_func__ldexpl_use=no
25204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25205 ac_ext=c
25206 ac_cpp='$CPP $CPPFLAGS'
25207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25216 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25218 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25219 for ac_func in _ldexpl
25220 do :
25221 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25222 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25223 cat >>confdefs.h <<_ACEOF
25224 #define HAVE__LDEXPL 1
25225 _ACEOF
25228 done
25237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25238 $as_echo_n "checking for logl declaration... " >&6; }
25239 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25240 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25241 $as_echo_n "(cached) " >&6
25242 else
25245 ac_ext=cpp
25246 ac_cpp='$CXXCPP $CPPFLAGS'
25247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25252 /* end confdefs.h. */
25253 #include <math.h>
25254 #ifdef HAVE_IEEEFP_H
25255 #include <ieeefp.h>
25256 #endif
25259 main ()
25261 logl(0);
25263 return 0;
25265 _ACEOF
25266 if ac_fn_cxx_try_compile "$LINENO"; then :
25267 glibcxx_cv_func_logl_use=yes
25268 else
25269 glibcxx_cv_func_logl_use=no
25271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25272 ac_ext=c
25273 ac_cpp='$CPP $CPPFLAGS'
25274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25283 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25285 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25286 for ac_func in logl
25287 do :
25288 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25289 if test "x$ac_cv_func_logl" = x""yes; then :
25290 cat >>confdefs.h <<_ACEOF
25291 #define HAVE_LOGL 1
25292 _ACEOF
25295 done
25297 else
25299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25300 $as_echo_n "checking for _logl declaration... " >&6; }
25301 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25302 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25303 $as_echo_n "(cached) " >&6
25304 else
25307 ac_ext=cpp
25308 ac_cpp='$CXXCPP $CPPFLAGS'
25309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25314 /* end confdefs.h. */
25315 #include <math.h>
25316 #ifdef HAVE_IEEEFP_H
25317 #include <ieeefp.h>
25318 #endif
25321 main ()
25323 _logl(0);
25325 return 0;
25327 _ACEOF
25328 if ac_fn_cxx_try_compile "$LINENO"; then :
25329 glibcxx_cv_func__logl_use=yes
25330 else
25331 glibcxx_cv_func__logl_use=no
25333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25334 ac_ext=c
25335 ac_cpp='$CPP $CPPFLAGS'
25336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25345 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25347 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25348 for ac_func in _logl
25349 do :
25350 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25351 if test "x$ac_cv_func__logl" = x""yes; then :
25352 cat >>confdefs.h <<_ACEOF
25353 #define HAVE__LOGL 1
25354 _ACEOF
25357 done
25366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25367 $as_echo_n "checking for log10l declaration... " >&6; }
25368 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25369 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25370 $as_echo_n "(cached) " >&6
25371 else
25374 ac_ext=cpp
25375 ac_cpp='$CXXCPP $CPPFLAGS'
25376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25381 /* end confdefs.h. */
25382 #include <math.h>
25383 #ifdef HAVE_IEEEFP_H
25384 #include <ieeefp.h>
25385 #endif
25388 main ()
25390 log10l(0);
25392 return 0;
25394 _ACEOF
25395 if ac_fn_cxx_try_compile "$LINENO"; then :
25396 glibcxx_cv_func_log10l_use=yes
25397 else
25398 glibcxx_cv_func_log10l_use=no
25400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25401 ac_ext=c
25402 ac_cpp='$CPP $CPPFLAGS'
25403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25412 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25414 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25415 for ac_func in log10l
25416 do :
25417 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25418 if test "x$ac_cv_func_log10l" = x""yes; then :
25419 cat >>confdefs.h <<_ACEOF
25420 #define HAVE_LOG10L 1
25421 _ACEOF
25424 done
25426 else
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25429 $as_echo_n "checking for _log10l declaration... " >&6; }
25430 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25431 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25432 $as_echo_n "(cached) " >&6
25433 else
25436 ac_ext=cpp
25437 ac_cpp='$CXXCPP $CPPFLAGS'
25438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25443 /* end confdefs.h. */
25444 #include <math.h>
25445 #ifdef HAVE_IEEEFP_H
25446 #include <ieeefp.h>
25447 #endif
25450 main ()
25452 _log10l(0);
25454 return 0;
25456 _ACEOF
25457 if ac_fn_cxx_try_compile "$LINENO"; then :
25458 glibcxx_cv_func__log10l_use=yes
25459 else
25460 glibcxx_cv_func__log10l_use=no
25462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25463 ac_ext=c
25464 ac_cpp='$CPP $CPPFLAGS'
25465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25474 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25476 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25477 for ac_func in _log10l
25478 do :
25479 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25480 if test "x$ac_cv_func__log10l" = x""yes; then :
25481 cat >>confdefs.h <<_ACEOF
25482 #define HAVE__LOG10L 1
25483 _ACEOF
25486 done
25495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25496 $as_echo_n "checking for modfl declaration... " >&6; }
25497 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25498 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25499 $as_echo_n "(cached) " >&6
25500 else
25503 ac_ext=cpp
25504 ac_cpp='$CXXCPP $CPPFLAGS'
25505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25510 /* end confdefs.h. */
25511 #include <math.h>
25513 main ()
25515 modfl(0, 0);
25517 return 0;
25519 _ACEOF
25520 if ac_fn_cxx_try_compile "$LINENO"; then :
25521 glibcxx_cv_func_modfl_use=yes
25522 else
25523 glibcxx_cv_func_modfl_use=no
25525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25526 ac_ext=c
25527 ac_cpp='$CPP $CPPFLAGS'
25528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25537 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25539 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25540 for ac_func in modfl
25541 do :
25542 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25543 if test "x$ac_cv_func_modfl" = x""yes; then :
25544 cat >>confdefs.h <<_ACEOF
25545 #define HAVE_MODFL 1
25546 _ACEOF
25549 done
25551 else
25553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25554 $as_echo_n "checking for _modfl declaration... " >&6; }
25555 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25556 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25557 $as_echo_n "(cached) " >&6
25558 else
25561 ac_ext=cpp
25562 ac_cpp='$CXXCPP $CPPFLAGS'
25563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25568 /* end confdefs.h. */
25569 #include <math.h>
25571 main ()
25573 _modfl(0, 0);
25575 return 0;
25577 _ACEOF
25578 if ac_fn_cxx_try_compile "$LINENO"; then :
25579 glibcxx_cv_func__modfl_use=yes
25580 else
25581 glibcxx_cv_func__modfl_use=no
25583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25584 ac_ext=c
25585 ac_cpp='$CPP $CPPFLAGS'
25586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25595 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25597 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25598 for ac_func in _modfl
25599 do :
25600 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25601 if test "x$ac_cv_func__modfl" = x""yes; then :
25602 cat >>confdefs.h <<_ACEOF
25603 #define HAVE__MODFL 1
25604 _ACEOF
25607 done
25616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25617 $as_echo_n "checking for powl declaration... " >&6; }
25618 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25619 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25620 $as_echo_n "(cached) " >&6
25621 else
25624 ac_ext=cpp
25625 ac_cpp='$CXXCPP $CPPFLAGS'
25626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25631 /* end confdefs.h. */
25632 #include <math.h>
25634 main ()
25636 powl(0, 0);
25638 return 0;
25640 _ACEOF
25641 if ac_fn_cxx_try_compile "$LINENO"; then :
25642 glibcxx_cv_func_powl_use=yes
25643 else
25644 glibcxx_cv_func_powl_use=no
25646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25647 ac_ext=c
25648 ac_cpp='$CPP $CPPFLAGS'
25649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25658 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25660 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25661 for ac_func in powl
25662 do :
25663 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25664 if test "x$ac_cv_func_powl" = x""yes; then :
25665 cat >>confdefs.h <<_ACEOF
25666 #define HAVE_POWL 1
25667 _ACEOF
25670 done
25672 else
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25675 $as_echo_n "checking for _powl declaration... " >&6; }
25676 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25677 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25678 $as_echo_n "(cached) " >&6
25679 else
25682 ac_ext=cpp
25683 ac_cpp='$CXXCPP $CPPFLAGS'
25684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25689 /* end confdefs.h. */
25690 #include <math.h>
25692 main ()
25694 _powl(0, 0);
25696 return 0;
25698 _ACEOF
25699 if ac_fn_cxx_try_compile "$LINENO"; then :
25700 glibcxx_cv_func__powl_use=yes
25701 else
25702 glibcxx_cv_func__powl_use=no
25704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25705 ac_ext=c
25706 ac_cpp='$CPP $CPPFLAGS'
25707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25716 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25718 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25719 for ac_func in _powl
25720 do :
25721 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25722 if test "x$ac_cv_func__powl" = x""yes; then :
25723 cat >>confdefs.h <<_ACEOF
25724 #define HAVE__POWL 1
25725 _ACEOF
25728 done
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25738 $as_echo_n "checking for sqrtl declaration... " >&6; }
25739 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25740 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25741 $as_echo_n "(cached) " >&6
25742 else
25745 ac_ext=cpp
25746 ac_cpp='$CXXCPP $CPPFLAGS'
25747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25752 /* end confdefs.h. */
25753 #include <math.h>
25754 #ifdef HAVE_IEEEFP_H
25755 #include <ieeefp.h>
25756 #endif
25759 main ()
25761 sqrtl(0);
25763 return 0;
25765 _ACEOF
25766 if ac_fn_cxx_try_compile "$LINENO"; then :
25767 glibcxx_cv_func_sqrtl_use=yes
25768 else
25769 glibcxx_cv_func_sqrtl_use=no
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25772 ac_ext=c
25773 ac_cpp='$CPP $CPPFLAGS'
25774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25783 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25785 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25786 for ac_func in sqrtl
25787 do :
25788 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25789 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25790 cat >>confdefs.h <<_ACEOF
25791 #define HAVE_SQRTL 1
25792 _ACEOF
25795 done
25797 else
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25800 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25801 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25802 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25803 $as_echo_n "(cached) " >&6
25804 else
25807 ac_ext=cpp
25808 ac_cpp='$CXXCPP $CPPFLAGS'
25809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25814 /* end confdefs.h. */
25815 #include <math.h>
25816 #ifdef HAVE_IEEEFP_H
25817 #include <ieeefp.h>
25818 #endif
25821 main ()
25823 _sqrtl(0);
25825 return 0;
25827 _ACEOF
25828 if ac_fn_cxx_try_compile "$LINENO"; then :
25829 glibcxx_cv_func__sqrtl_use=yes
25830 else
25831 glibcxx_cv_func__sqrtl_use=no
25833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 ac_ext=c
25835 ac_cpp='$CPP $CPPFLAGS'
25836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25845 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25847 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25848 for ac_func in _sqrtl
25849 do :
25850 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25851 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25852 cat >>confdefs.h <<_ACEOF
25853 #define HAVE__SQRTL 1
25854 _ACEOF
25857 done
25866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25867 $as_echo_n "checking for sincosl declaration... " >&6; }
25868 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25869 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25870 $as_echo_n "(cached) " >&6
25871 else
25874 ac_ext=cpp
25875 ac_cpp='$CXXCPP $CPPFLAGS'
25876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25881 /* end confdefs.h. */
25882 #include <math.h>
25884 main ()
25886 sincosl(0, 0, 0);
25888 return 0;
25890 _ACEOF
25891 if ac_fn_cxx_try_compile "$LINENO"; then :
25892 glibcxx_cv_func_sincosl_use=yes
25893 else
25894 glibcxx_cv_func_sincosl_use=no
25896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25897 ac_ext=c
25898 ac_cpp='$CPP $CPPFLAGS'
25899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25908 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25910 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25911 for ac_func in sincosl
25912 do :
25913 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25914 if test "x$ac_cv_func_sincosl" = x""yes; then :
25915 cat >>confdefs.h <<_ACEOF
25916 #define HAVE_SINCOSL 1
25917 _ACEOF
25920 done
25922 else
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25925 $as_echo_n "checking for _sincosl declaration... " >&6; }
25926 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25927 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25928 $as_echo_n "(cached) " >&6
25929 else
25932 ac_ext=cpp
25933 ac_cpp='$CXXCPP $CPPFLAGS'
25934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25939 /* end confdefs.h. */
25940 #include <math.h>
25942 main ()
25944 _sincosl(0, 0, 0);
25946 return 0;
25948 _ACEOF
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25950 glibcxx_cv_func__sincosl_use=yes
25951 else
25952 glibcxx_cv_func__sincosl_use=no
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25966 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25968 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25969 for ac_func in _sincosl
25970 do :
25971 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25972 if test "x$ac_cv_func__sincosl" = x""yes; then :
25973 cat >>confdefs.h <<_ACEOF
25974 #define HAVE__SINCOSL 1
25975 _ACEOF
25978 done
25987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25988 $as_echo_n "checking for finitel declaration... " >&6; }
25989 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25990 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25991 $as_echo_n "(cached) " >&6
25992 else
25995 ac_ext=cpp
25996 ac_cpp='$CXXCPP $CPPFLAGS'
25997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26002 /* end confdefs.h. */
26003 #include <math.h>
26004 #ifdef HAVE_IEEEFP_H
26005 #include <ieeefp.h>
26006 #endif
26009 main ()
26011 finitel(0);
26013 return 0;
26015 _ACEOF
26016 if ac_fn_cxx_try_compile "$LINENO"; then :
26017 glibcxx_cv_func_finitel_use=yes
26018 else
26019 glibcxx_cv_func_finitel_use=no
26021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26022 ac_ext=c
26023 ac_cpp='$CPP $CPPFLAGS'
26024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26033 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26035 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26036 for ac_func in finitel
26037 do :
26038 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26039 if test "x$ac_cv_func_finitel" = x""yes; then :
26040 cat >>confdefs.h <<_ACEOF
26041 #define HAVE_FINITEL 1
26042 _ACEOF
26045 done
26047 else
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26050 $as_echo_n "checking for _finitel declaration... " >&6; }
26051 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26052 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26053 $as_echo_n "(cached) " >&6
26054 else
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26064 /* end confdefs.h. */
26065 #include <math.h>
26066 #ifdef HAVE_IEEEFP_H
26067 #include <ieeefp.h>
26068 #endif
26071 main ()
26073 _finitel(0);
26075 return 0;
26077 _ACEOF
26078 if ac_fn_cxx_try_compile "$LINENO"; then :
26079 glibcxx_cv_func__finitel_use=yes
26080 else
26081 glibcxx_cv_func__finitel_use=no
26083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26084 ac_ext=c
26085 ac_cpp='$CPP $CPPFLAGS'
26086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26095 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26097 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26098 for ac_func in _finitel
26099 do :
26100 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26101 if test "x$ac_cv_func__finitel" = x""yes; then :
26102 cat >>confdefs.h <<_ACEOF
26103 #define HAVE__FINITEL 1
26104 _ACEOF
26107 done
26115 LIBS="$ac_save_LIBS"
26116 CXXFLAGS="$ac_save_CXXFLAGS"
26119 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26120 ac_save_CXXFLAGS="$CXXFLAGS"
26121 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26125 $as_echo_n "checking for strtold declaration... " >&6; }
26126 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26127 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26128 $as_echo_n "(cached) " >&6
26129 else
26132 ac_ext=cpp
26133 ac_cpp='$CXXCPP $CPPFLAGS'
26134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26139 /* end confdefs.h. */
26140 #include <stdlib.h>
26142 main ()
26144 strtold(0, 0);
26146 return 0;
26148 _ACEOF
26149 if ac_fn_cxx_try_compile "$LINENO"; then :
26150 glibcxx_cv_func_strtold_use=yes
26151 else
26152 glibcxx_cv_func_strtold_use=no
26154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26155 ac_ext=c
26156 ac_cpp='$CPP $CPPFLAGS'
26157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26166 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26167 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26168 for ac_func in strtold
26169 do :
26170 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26171 if test "x$ac_cv_func_strtold" = x""yes; then :
26172 cat >>confdefs.h <<_ACEOF
26173 #define HAVE_STRTOLD 1
26174 _ACEOF
26177 done
26184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26185 $as_echo_n "checking for strtof declaration... " >&6; }
26186 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26187 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26188 $as_echo_n "(cached) " >&6
26189 else
26192 ac_ext=cpp
26193 ac_cpp='$CXXCPP $CPPFLAGS'
26194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26199 /* end confdefs.h. */
26200 #include <stdlib.h>
26202 main ()
26204 strtof(0, 0);
26206 return 0;
26208 _ACEOF
26209 if ac_fn_cxx_try_compile "$LINENO"; then :
26210 glibcxx_cv_func_strtof_use=yes
26211 else
26212 glibcxx_cv_func_strtof_use=no
26214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26215 ac_ext=c
26216 ac_cpp='$CPP $CPPFLAGS'
26217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26226 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26227 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26228 for ac_func in strtof
26229 do :
26230 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26231 if test "x$ac_cv_func_strtof" = x""yes; then :
26232 cat >>confdefs.h <<_ACEOF
26233 #define HAVE_STRTOF 1
26234 _ACEOF
26237 done
26244 CXXFLAGS="$ac_save_CXXFLAGS"
26247 # For /dev/random and /dev/urandom for TR1.
26250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26251 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26252 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26253 $as_echo_n "(cached) " >&6
26254 else
26256 if test -r /dev/random && test -r /dev/urandom; then
26257 glibcxx_cv_random_tr1=yes;
26258 else
26259 glibcxx_cv_random_tr1=no;
26264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26265 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26267 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26269 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26275 # For TLS support.
26278 # Check whether --enable-tls was given.
26279 if test "${enable_tls+set}" = set; then :
26280 enableval=$enable_tls;
26281 case "$enableval" in
26282 yes|no) ;;
26283 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26284 esac
26286 else
26287 enable_tls=yes
26291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26292 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26293 if test "${gcc_cv_have_tls+set}" = set; then :
26294 $as_echo_n "(cached) " >&6
26295 else
26297 if test "$cross_compiling" = yes; then :
26298 if test x$gcc_no_link = xyes; then
26299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26302 /* end confdefs.h. */
26303 __thread int a; int b; int main() { return a = b; }
26304 _ACEOF
26305 if ac_fn_c_try_link "$LINENO"; then :
26306 chktls_save_LDFLAGS="$LDFLAGS"
26307 case $host in
26308 *-*-linux*)
26309 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26311 esac
26312 chktls_save_CFLAGS="$CFLAGS"
26313 CFLAGS="-fPIC $CFLAGS"
26314 if test x$gcc_no_link = xyes; then
26315 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26318 /* end confdefs.h. */
26319 int f() { return 0; }
26320 _ACEOF
26321 if ac_fn_c_try_link "$LINENO"; then :
26322 if test x$gcc_no_link = xyes; then
26323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26326 /* end confdefs.h. */
26327 __thread int a; int b; int f() { return a = b; }
26328 _ACEOF
26329 if ac_fn_c_try_link "$LINENO"; then :
26330 gcc_cv_have_tls=yes
26331 else
26332 gcc_cv_have_tls=no
26334 rm -f core conftest.err conftest.$ac_objext \
26335 conftest$ac_exeext conftest.$ac_ext
26336 else
26337 gcc_cv_have_tls=yes
26339 rm -f core conftest.err conftest.$ac_objext \
26340 conftest$ac_exeext conftest.$ac_ext
26341 CFLAGS="$chktls_save_CFLAGS"
26342 LDFLAGS="$chktls_save_LDFLAGS"
26343 else
26344 gcc_cv_have_tls=no
26346 rm -f core conftest.err conftest.$ac_objext \
26347 conftest$ac_exeext conftest.$ac_ext
26350 else
26351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26352 /* end confdefs.h. */
26353 __thread int a; int b; int main() { return a = b; }
26354 _ACEOF
26355 if ac_fn_c_try_run "$LINENO"; then :
26356 chktls_save_LDFLAGS="$LDFLAGS"
26357 LDFLAGS="-static $LDFLAGS"
26358 if test x$gcc_no_link = xyes; then
26359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26362 /* end confdefs.h. */
26363 int main() { return 0; }
26364 _ACEOF
26365 if ac_fn_c_try_link "$LINENO"; then :
26366 if test "$cross_compiling" = yes; then :
26367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26369 as_fn_error "cannot run test program while cross compiling
26370 See \`config.log' for more details." "$LINENO" 5; }
26371 else
26372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26373 /* end confdefs.h. */
26374 __thread int a; int b; int main() { return a = b; }
26375 _ACEOF
26376 if ac_fn_c_try_run "$LINENO"; then :
26377 gcc_cv_have_tls=yes
26378 else
26379 gcc_cv_have_tls=no
26381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26382 conftest.$ac_objext conftest.beam conftest.$ac_ext
26385 else
26386 gcc_cv_have_tls=yes
26388 rm -f core conftest.err conftest.$ac_objext \
26389 conftest$ac_exeext conftest.$ac_ext
26390 LDFLAGS="$chktls_save_LDFLAGS"
26391 if test $gcc_cv_have_tls = yes; then
26392 chktls_save_CFLAGS="$CFLAGS"
26393 thread_CFLAGS=failed
26394 for flag in '' '-pthread' '-lpthread'; do
26395 CFLAGS="$flag $chktls_save_CFLAGS"
26396 if test x$gcc_no_link = xyes; then
26397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26400 /* end confdefs.h. */
26401 #include <pthread.h>
26402 void *g(void *d) { return NULL; }
26404 main ()
26406 pthread_t t; pthread_create(&t,NULL,g,NULL);
26408 return 0;
26410 _ACEOF
26411 if ac_fn_c_try_link "$LINENO"; then :
26412 thread_CFLAGS="$flag"
26414 rm -f core conftest.err conftest.$ac_objext \
26415 conftest$ac_exeext conftest.$ac_ext
26416 if test "X$thread_CFLAGS" != Xfailed; then
26417 break
26419 done
26420 CFLAGS="$chktls_save_CFLAGS"
26421 if test "X$thread_CFLAGS" != Xfailed; then
26422 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26423 if test "$cross_compiling" = yes; then :
26424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26426 as_fn_error "cannot run test program while cross compiling
26427 See \`config.log' for more details." "$LINENO" 5; }
26428 else
26429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26430 /* end confdefs.h. */
26431 #include <pthread.h>
26432 __thread int a;
26433 static int *volatile a_in_other_thread;
26434 static void *
26435 thread_func (void *arg)
26437 a_in_other_thread = &a;
26438 return (void *)0;
26441 main ()
26443 pthread_t thread;
26444 void *thread_retval;
26445 int *volatile a_in_main_thread;
26446 a_in_main_thread = &a;
26447 if (pthread_create (&thread, (pthread_attr_t *)0,
26448 thread_func, (void *)0))
26449 return 0;
26450 if (pthread_join (thread, &thread_retval))
26451 return 0;
26452 return (a_in_other_thread == a_in_main_thread);
26454 return 0;
26456 _ACEOF
26457 if ac_fn_c_try_run "$LINENO"; then :
26458 gcc_cv_have_tls=yes
26459 else
26460 gcc_cv_have_tls=no
26462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26463 conftest.$ac_objext conftest.beam conftest.$ac_ext
26466 CFLAGS="$chktls_save_CFLAGS"
26469 else
26470 gcc_cv_have_tls=no
26472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26473 conftest.$ac_objext conftest.beam conftest.$ac_ext
26477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26478 $as_echo "$gcc_cv_have_tls" >&6; }
26479 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26481 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26485 # For iconv support.
26487 if test "X$prefix" = "XNONE"; then
26488 acl_final_prefix="$ac_default_prefix"
26489 else
26490 acl_final_prefix="$prefix"
26492 if test "X$exec_prefix" = "XNONE"; then
26493 acl_final_exec_prefix='${prefix}'
26494 else
26495 acl_final_exec_prefix="$exec_prefix"
26497 acl_save_prefix="$prefix"
26498 prefix="$acl_final_prefix"
26499 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26500 prefix="$acl_save_prefix"
26503 # Check whether --with-gnu-ld was given.
26504 if test "${with_gnu_ld+set}" = set; then :
26505 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26506 else
26507 with_gnu_ld=no
26510 # Prepare PATH_SEPARATOR.
26511 # The user is always right.
26512 if test "${PATH_SEPARATOR+set}" != set; then
26513 echo "#! /bin/sh" >conf$$.sh
26514 echo "exit 0" >>conf$$.sh
26515 chmod +x conf$$.sh
26516 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26517 PATH_SEPARATOR=';'
26518 else
26519 PATH_SEPARATOR=:
26521 rm -f conf$$.sh
26523 ac_prog=ld
26524 if test "$GCC" = yes; then
26525 # Check if gcc -print-prog-name=ld gives a path.
26526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26527 $as_echo_n "checking for ld used by GCC... " >&6; }
26528 case $host in
26529 *-*-mingw*)
26530 # gcc leaves a trailing carriage return which upsets mingw
26531 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26533 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26534 esac
26535 case $ac_prog in
26536 # Accept absolute paths.
26537 [\\/]* | [A-Za-z]:[\\/]*)
26538 re_direlt='/[^/][^/]*/\.\./'
26539 # Canonicalize the path of ld
26540 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26541 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26542 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26543 done
26544 test -z "$LD" && LD="$ac_prog"
26547 # If it fails, then pretend we aren't using GCC.
26548 ac_prog=ld
26551 # If it is relative, then search for the first ld in PATH.
26552 with_gnu_ld=unknown
26554 esac
26555 elif test "$with_gnu_ld" = yes; then
26556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26557 $as_echo_n "checking for GNU ld... " >&6; }
26558 else
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26560 $as_echo_n "checking for non-GNU ld... " >&6; }
26562 if test "${acl_cv_path_LD+set}" = set; then :
26563 $as_echo_n "(cached) " >&6
26564 else
26565 if test -z "$LD"; then
26566 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26567 for ac_dir in $PATH; do
26568 test -z "$ac_dir" && ac_dir=.
26569 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26570 acl_cv_path_LD="$ac_dir/$ac_prog"
26571 # Check to see if the program is GNU ld. I'd rather use --version,
26572 # but apparently some GNU ld's only accept -v.
26573 # Break only if it was the GNU/non-GNU ld that we prefer.
26574 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26575 test "$with_gnu_ld" != no && break
26576 else
26577 test "$with_gnu_ld" != yes && break
26580 done
26581 IFS="$ac_save_ifs"
26582 else
26583 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26587 LD="$acl_cv_path_LD"
26588 if test -n "$LD"; then
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26590 $as_echo "$LD" >&6; }
26591 else
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26593 $as_echo "no" >&6; }
26595 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26597 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26598 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26599 $as_echo_n "(cached) " >&6
26600 else
26601 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26602 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26603 acl_cv_prog_gnu_ld=yes
26604 else
26605 acl_cv_prog_gnu_ld=no
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26609 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26610 with_gnu_ld=$acl_cv_prog_gnu_ld
26614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26615 $as_echo_n "checking for shared library run path origin... " >&6; }
26616 if test "${acl_cv_rpath+set}" = set; then :
26617 $as_echo_n "(cached) " >&6
26618 else
26620 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26621 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26622 . ./conftest.sh
26623 rm -f ./conftest.sh
26624 acl_cv_rpath=done
26627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26628 $as_echo "$acl_cv_rpath" >&6; }
26629 wl="$acl_cv_wl"
26630 libext="$acl_cv_libext"
26631 shlibext="$acl_cv_shlibext"
26632 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26633 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26634 hardcode_direct="$acl_cv_hardcode_direct"
26635 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26636 # Check whether --enable-rpath was given.
26637 if test "${enable_rpath+set}" = set; then :
26638 enableval=$enable_rpath; :
26639 else
26640 enable_rpath=yes
26650 use_additional=yes
26652 acl_save_prefix="$prefix"
26653 prefix="$acl_final_prefix"
26654 acl_save_exec_prefix="$exec_prefix"
26655 exec_prefix="$acl_final_exec_prefix"
26657 eval additional_includedir=\"$includedir\"
26658 eval additional_libdir=\"$libdir\"
26660 exec_prefix="$acl_save_exec_prefix"
26661 prefix="$acl_save_prefix"
26664 # Check whether --with-libiconv-prefix was given.
26665 if test "${with_libiconv_prefix+set}" = set; then :
26666 withval=$with_libiconv_prefix;
26667 if test "X$withval" = "Xno"; then
26668 use_additional=no
26669 else
26670 if test "X$withval" = "X"; then
26672 acl_save_prefix="$prefix"
26673 prefix="$acl_final_prefix"
26674 acl_save_exec_prefix="$exec_prefix"
26675 exec_prefix="$acl_final_exec_prefix"
26677 eval additional_includedir=\"$includedir\"
26678 eval additional_libdir=\"$libdir\"
26680 exec_prefix="$acl_save_exec_prefix"
26681 prefix="$acl_save_prefix"
26683 else
26684 additional_includedir="$withval/include"
26685 additional_libdir="$withval/lib"
26691 LIBICONV=
26692 LTLIBICONV=
26693 INCICONV=
26694 rpathdirs=
26695 ltrpathdirs=
26696 names_already_handled=
26697 names_next_round='iconv '
26698 while test -n "$names_next_round"; do
26699 names_this_round="$names_next_round"
26700 names_next_round=
26701 for name in $names_this_round; do
26702 already_handled=
26703 for n in $names_already_handled; do
26704 if test "$n" = "$name"; then
26705 already_handled=yes
26706 break
26708 done
26709 if test -z "$already_handled"; then
26710 names_already_handled="$names_already_handled $name"
26711 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26712 eval value=\"\$HAVE_LIB$uppername\"
26713 if test -n "$value"; then
26714 if test "$value" = yes; then
26715 eval value=\"\$LIB$uppername\"
26716 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26717 eval value=\"\$LTLIB$uppername\"
26718 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26719 else
26722 else
26723 found_dir=
26724 found_la=
26725 found_so=
26726 found_a=
26727 if test $use_additional = yes; then
26728 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26729 found_dir="$additional_libdir"
26730 found_so="$additional_libdir/lib$name.$shlibext"
26731 if test -f "$additional_libdir/lib$name.la"; then
26732 found_la="$additional_libdir/lib$name.la"
26734 else
26735 if test -f "$additional_libdir/lib$name.$libext"; then
26736 found_dir="$additional_libdir"
26737 found_a="$additional_libdir/lib$name.$libext"
26738 if test -f "$additional_libdir/lib$name.la"; then
26739 found_la="$additional_libdir/lib$name.la"
26744 if test "X$found_dir" = "X"; then
26745 for x in $LDFLAGS $LTLIBICONV; do
26747 acl_save_prefix="$prefix"
26748 prefix="$acl_final_prefix"
26749 acl_save_exec_prefix="$exec_prefix"
26750 exec_prefix="$acl_final_exec_prefix"
26751 eval x=\"$x\"
26752 exec_prefix="$acl_save_exec_prefix"
26753 prefix="$acl_save_prefix"
26755 case "$x" in
26756 -L*)
26757 dir=`echo "X$x" | sed -e 's/^X-L//'`
26758 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26759 found_dir="$dir"
26760 found_so="$dir/lib$name.$shlibext"
26761 if test -f "$dir/lib$name.la"; then
26762 found_la="$dir/lib$name.la"
26764 else
26765 if test -f "$dir/lib$name.$libext"; then
26766 found_dir="$dir"
26767 found_a="$dir/lib$name.$libext"
26768 if test -f "$dir/lib$name.la"; then
26769 found_la="$dir/lib$name.la"
26774 esac
26775 if test "X$found_dir" != "X"; then
26776 break
26778 done
26780 if test "X$found_dir" != "X"; then
26781 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26782 if test "X$found_so" != "X"; then
26783 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26784 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26785 else
26786 haveit=
26787 for x in $ltrpathdirs; do
26788 if test "X$x" = "X$found_dir"; then
26789 haveit=yes
26790 break
26792 done
26793 if test -z "$haveit"; then
26794 ltrpathdirs="$ltrpathdirs $found_dir"
26796 if test "$hardcode_direct" = yes; then
26797 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26798 else
26799 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26800 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26801 haveit=
26802 for x in $rpathdirs; do
26803 if test "X$x" = "X$found_dir"; then
26804 haveit=yes
26805 break
26807 done
26808 if test -z "$haveit"; then
26809 rpathdirs="$rpathdirs $found_dir"
26811 else
26812 haveit=
26813 for x in $LDFLAGS $LIBICONV; do
26815 acl_save_prefix="$prefix"
26816 prefix="$acl_final_prefix"
26817 acl_save_exec_prefix="$exec_prefix"
26818 exec_prefix="$acl_final_exec_prefix"
26819 eval x=\"$x\"
26820 exec_prefix="$acl_save_exec_prefix"
26821 prefix="$acl_save_prefix"
26823 if test "X$x" = "X-L$found_dir"; then
26824 haveit=yes
26825 break
26827 done
26828 if test -z "$haveit"; then
26829 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26831 if test "$hardcode_minus_L" != no; then
26832 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26833 else
26834 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26839 else
26840 if test "X$found_a" != "X"; then
26841 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26842 else
26843 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26846 additional_includedir=
26847 case "$found_dir" in
26848 */lib | */lib/)
26849 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26850 additional_includedir="$basedir/include"
26852 esac
26853 if test "X$additional_includedir" != "X"; then
26854 if test "X$additional_includedir" != "X/usr/include"; then
26855 haveit=
26856 if test "X$additional_includedir" = "X/usr/local/include"; then
26857 if test -n "$GCC"; then
26858 case $host_os in
26859 linux*) haveit=yes;;
26860 esac
26863 if test -z "$haveit"; then
26864 for x in $CPPFLAGS $INCICONV; do
26866 acl_save_prefix="$prefix"
26867 prefix="$acl_final_prefix"
26868 acl_save_exec_prefix="$exec_prefix"
26869 exec_prefix="$acl_final_exec_prefix"
26870 eval x=\"$x\"
26871 exec_prefix="$acl_save_exec_prefix"
26872 prefix="$acl_save_prefix"
26874 if test "X$x" = "X-I$additional_includedir"; then
26875 haveit=yes
26876 break
26878 done
26879 if test -z "$haveit"; then
26880 if test -d "$additional_includedir"; then
26881 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26887 if test -n "$found_la"; then
26888 save_libdir="$libdir"
26889 case "$found_la" in
26890 */* | *\\*) . "$found_la" ;;
26891 *) . "./$found_la" ;;
26892 esac
26893 libdir="$save_libdir"
26894 for dep in $dependency_libs; do
26895 case "$dep" in
26896 -L*)
26897 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26898 if test "X$additional_libdir" != "X/usr/lib"; then
26899 haveit=
26900 if test "X$additional_libdir" = "X/usr/local/lib"; then
26901 if test -n "$GCC"; then
26902 case $host_os in
26903 linux*) haveit=yes;;
26904 esac
26907 if test -z "$haveit"; then
26908 haveit=
26909 for x in $LDFLAGS $LIBICONV; do
26911 acl_save_prefix="$prefix"
26912 prefix="$acl_final_prefix"
26913 acl_save_exec_prefix="$exec_prefix"
26914 exec_prefix="$acl_final_exec_prefix"
26915 eval x=\"$x\"
26916 exec_prefix="$acl_save_exec_prefix"
26917 prefix="$acl_save_prefix"
26919 if test "X$x" = "X-L$additional_libdir"; then
26920 haveit=yes
26921 break
26923 done
26924 if test -z "$haveit"; then
26925 if test -d "$additional_libdir"; then
26926 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26929 haveit=
26930 for x in $LDFLAGS $LTLIBICONV; do
26932 acl_save_prefix="$prefix"
26933 prefix="$acl_final_prefix"
26934 acl_save_exec_prefix="$exec_prefix"
26935 exec_prefix="$acl_final_exec_prefix"
26936 eval x=\"$x\"
26937 exec_prefix="$acl_save_exec_prefix"
26938 prefix="$acl_save_prefix"
26940 if test "X$x" = "X-L$additional_libdir"; then
26941 haveit=yes
26942 break
26944 done
26945 if test -z "$haveit"; then
26946 if test -d "$additional_libdir"; then
26947 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26953 -R*)
26954 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26955 if test "$enable_rpath" != no; then
26956 haveit=
26957 for x in $rpathdirs; do
26958 if test "X$x" = "X$dir"; then
26959 haveit=yes
26960 break
26962 done
26963 if test -z "$haveit"; then
26964 rpathdirs="$rpathdirs $dir"
26966 haveit=
26967 for x in $ltrpathdirs; do
26968 if test "X$x" = "X$dir"; then
26969 haveit=yes
26970 break
26972 done
26973 if test -z "$haveit"; then
26974 ltrpathdirs="$ltrpathdirs $dir"
26978 -l*)
26979 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26981 *.la)
26982 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26985 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26986 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26988 esac
26989 done
26991 else
26992 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26993 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26997 done
26998 done
26999 if test "X$rpathdirs" != "X"; then
27000 if test -n "$hardcode_libdir_separator"; then
27001 alldirs=
27002 for found_dir in $rpathdirs; do
27003 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27004 done
27005 acl_save_libdir="$libdir"
27006 libdir="$alldirs"
27007 eval flag=\"$hardcode_libdir_flag_spec\"
27008 libdir="$acl_save_libdir"
27009 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27010 else
27011 for found_dir in $rpathdirs; do
27012 acl_save_libdir="$libdir"
27013 libdir="$found_dir"
27014 eval flag=\"$hardcode_libdir_flag_spec\"
27015 libdir="$acl_save_libdir"
27016 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27017 done
27020 if test "X$ltrpathdirs" != "X"; then
27021 for found_dir in $ltrpathdirs; do
27022 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27023 done
27032 am_save_CPPFLAGS="$CPPFLAGS"
27034 for element in $INCICONV; do
27035 haveit=
27036 for x in $CPPFLAGS; do
27038 acl_save_prefix="$prefix"
27039 prefix="$acl_final_prefix"
27040 acl_save_exec_prefix="$exec_prefix"
27041 exec_prefix="$acl_final_exec_prefix"
27042 eval x=\"$x\"
27043 exec_prefix="$acl_save_exec_prefix"
27044 prefix="$acl_save_prefix"
27046 if test "X$x" = "X$element"; then
27047 haveit=yes
27048 break
27050 done
27051 if test -z "$haveit"; then
27052 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27054 done
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27058 $as_echo_n "checking for iconv... " >&6; }
27059 if test "${am_cv_func_iconv+set}" = set; then :
27060 $as_echo_n "(cached) " >&6
27061 else
27063 am_cv_func_iconv="no, consider installing GNU libiconv"
27064 am_cv_lib_iconv=no
27065 if test x$gcc_no_link = xyes; then
27066 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27069 /* end confdefs.h. */
27070 #include <stdlib.h>
27071 #include <iconv.h>
27073 main ()
27075 iconv_t cd = iconv_open("","");
27076 iconv(cd,NULL,NULL,NULL,NULL);
27077 iconv_close(cd);
27079 return 0;
27081 _ACEOF
27082 if ac_fn_c_try_link "$LINENO"; then :
27083 am_cv_func_iconv=yes
27085 rm -f core conftest.err conftest.$ac_objext \
27086 conftest$ac_exeext conftest.$ac_ext
27087 if test "$am_cv_func_iconv" != yes; then
27088 am_save_LIBS="$LIBS"
27089 LIBS="$LIBS $LIBICONV"
27090 if test x$gcc_no_link = xyes; then
27091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27094 /* end confdefs.h. */
27095 #include <stdlib.h>
27096 #include <iconv.h>
27098 main ()
27100 iconv_t cd = iconv_open("","");
27101 iconv(cd,NULL,NULL,NULL,NULL);
27102 iconv_close(cd);
27104 return 0;
27106 _ACEOF
27107 if ac_fn_c_try_link "$LINENO"; then :
27108 am_cv_lib_iconv=yes
27109 am_cv_func_iconv=yes
27111 rm -f core conftest.err conftest.$ac_objext \
27112 conftest$ac_exeext conftest.$ac_ext
27113 LIBS="$am_save_LIBS"
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27118 $as_echo "$am_cv_func_iconv" >&6; }
27119 if test "$am_cv_func_iconv" = yes; then
27121 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27124 if test "$am_cv_lib_iconv" = yes; then
27125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27126 $as_echo_n "checking how to link with libiconv... " >&6; }
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27128 $as_echo "$LIBICONV" >&6; }
27129 else
27130 CPPFLAGS="$am_save_CPPFLAGS"
27131 LIBICONV=
27132 LTLIBICONV=
27137 if test "$am_cv_func_iconv" = yes; then
27138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27139 $as_echo_n "checking for iconv declaration... " >&6; }
27140 if test "${am_cv_proto_iconv+set}" = set; then :
27141 $as_echo_n "(cached) " >&6
27142 else
27144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27145 /* end confdefs.h. */
27147 #include <stdlib.h>
27148 #include <iconv.h>
27149 extern
27150 #ifdef __cplusplus
27152 #endif
27153 #if defined(__STDC__) || defined(__cplusplus)
27154 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27155 #else
27156 size_t iconv();
27157 #endif
27160 main ()
27164 return 0;
27166 _ACEOF
27167 if ac_fn_c_try_compile "$LINENO"; then :
27168 am_cv_proto_iconv_arg1=""
27169 else
27170 am_cv_proto_iconv_arg1="const"
27172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27173 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);"
27176 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27178 }$am_cv_proto_iconv" >&5
27179 $as_echo "${ac_t:-
27180 }$am_cv_proto_iconv" >&6; }
27182 cat >>confdefs.h <<_ACEOF
27183 #define ICONV_CONST $am_cv_proto_iconv_arg1
27184 _ACEOF
27189 else
27191 # This lets us hard-code the functionality we know we'll have in the cross
27192 # target environment. "Let" is a sugar-coated word placed on an especially
27193 # dull and tedious hack, actually.
27195 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27196 # that involve linking, can't be used:
27197 # "cannot open sim-crt0.o"
27198 # "cannot open crt0.o"
27199 # etc. All this is because there currently exists no unified, consistent
27200 # way for top level CC information to be passed down to target directories:
27201 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27202 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27203 # crosses can be removed.
27205 # If Canadian cross, then don't pick up tools from the build directory.
27206 # Used only in GLIBCXX_EXPORT_INCLUDES.
27207 if test -n "$with_cross_host" &&
27208 test x"$build_alias" != x"$with_cross_host" &&
27209 test x"$build" != x"$target";
27210 then
27211 CANADIAN=yes
27212 else
27213 CANADIAN=no
27216 # Construct crosses by hand, eliminating bits that need ld...
27217 # GLIBCXX_CHECK_MATH_SUPPORT
27219 # First, test for "known" system libraries. We may be using newlib even
27220 # on a hosted environment.
27221 if test "x${with_newlib}" = "xyes"; then
27222 os_include_dir="os/newlib"
27223 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27226 # GLIBCXX_CHECK_STDLIB_SUPPORT
27227 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27230 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27232 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27234 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27236 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27238 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27240 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27242 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27244 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27246 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27248 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27250 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27252 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27254 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27256 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27258 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27260 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27262 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27264 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27266 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27268 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27270 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27272 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27275 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27277 else
27279 # Base decisions on target environment.
27280 case "${host}" in
27281 arm*-*-symbianelf*)
27282 # This is a freestanding configuration; there is nothing to do here.
27285 mips*-sde-elf*)
27286 # These definitions are for the SDE C library rather than newlib.
27287 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27290 # All these tests are for C++; save the language and the compiler flags.
27291 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27292 # found in GLIBCXX_CONFIGURE.
27294 ac_ext=cpp
27295 ac_cpp='$CXXCPP $CPPFLAGS'
27296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27300 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27301 ac_save_CXXFLAGS="$CXXFLAGS"
27303 # Check for maintainer-mode bits.
27304 if test x"$USE_MAINTAINER_MODE" = xno; then
27305 WERROR=''
27306 else
27307 WERROR='-Werror'
27310 # Check for -ffunction-sections -fdata-sections
27311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27312 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27313 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27315 /* end confdefs.h. */
27316 int foo; void bar() { };
27318 main ()
27322 return 0;
27324 _ACEOF
27325 if ac_fn_cxx_try_compile "$LINENO"; then :
27326 ac_fdsections=yes
27327 else
27328 ac_fdsections=no
27330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27331 if test "$ac_test_CXXFLAGS" = set; then
27332 CXXFLAGS="$ac_save_CXXFLAGS"
27333 else
27334 # this is the suspicious part
27335 CXXFLAGS=''
27337 if test x"$ac_fdsections" = x"yes"; then
27338 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27341 $as_echo "$ac_fdsections" >&6; }
27343 ac_ext=c
27344 ac_cpp='$CPP $CPPFLAGS'
27345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27353 # If we're not using GNU ld, then there's no point in even trying these
27354 # tests. Check for that first. We should have already tested for gld
27355 # by now (in libtool), but require it now just to be safe...
27356 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27357 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27361 # The name set by libtool depends on the version of libtool. Shame on us
27362 # for depending on an impl detail, but c'est la vie. Older versions used
27363 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27364 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27365 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27366 # set (hence we're using an older libtool), then set it.
27367 if test x${with_gnu_ld+set} != xset; then
27368 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27369 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27370 with_gnu_ld=no
27371 else
27372 with_gnu_ld=$ac_cv_prog_gnu_ld
27376 # Start by getting the version number. I think the libtool test already
27377 # does some of this, but throws away the result.
27378 glibcxx_ld_is_gold=no
27379 if test x"$with_gnu_ld" = x"yes"; then
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27381 $as_echo_n "checking for ld version... " >&6; }
27383 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27384 glibcxx_ld_is_gold=yes
27386 ldver=`$LD --version 2>/dev/null |
27387 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'`
27389 glibcxx_gnu_ld_version=`echo $ldver | \
27390 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27392 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27395 # Set --gc-sections.
27396 glibcxx_have_gc_sections=no
27397 if test "$glibcxx_ld_is_gold" = "yes"; then
27398 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27399 glibcxx_have_gc_sections=yes
27401 else
27402 glibcxx_gcsections_min_ld=21602
27403 if test x"$with_gnu_ld" = x"yes" &&
27404 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27405 glibcxx_have_gc_sections=yes
27408 if test "$glibcxx_have_gc_sections" = "yes"; then
27409 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27410 # NB: This flag only works reliably after 2.16.1. Configure tests
27411 # for this are difficult, so hard wire a value that should work.
27413 ac_test_CFLAGS="${CFLAGS+set}"
27414 ac_save_CFLAGS="$CFLAGS"
27415 CFLAGS='-Wl,--gc-sections'
27417 # Check for -Wl,--gc-sections
27418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27419 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27420 if test x$gcc_no_link = xyes; then
27421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27424 /* end confdefs.h. */
27425 int one(void) { return 1; }
27426 int two(void) { return 2; }
27429 main ()
27431 two();
27433 return 0;
27435 _ACEOF
27436 if ac_fn_c_try_link "$LINENO"; then :
27437 ac_gcsections=yes
27438 else
27439 ac_gcsections=no
27441 rm -f core conftest.err conftest.$ac_objext \
27442 conftest$ac_exeext conftest.$ac_ext
27443 if test "$ac_gcsections" = "yes"; then
27444 rm -f conftest.c
27445 touch conftest.c
27446 if $CC -c conftest.c; then
27447 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27448 grep "Warning: gc-sections option ignored" > /dev/null; then
27449 ac_gcsections=no
27452 rm -f conftest.c conftest.o conftest
27454 if test "$ac_gcsections" = "yes"; then
27455 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27458 $as_echo "$ac_gcsections" >&6; }
27460 if test "$ac_test_CFLAGS" = set; then
27461 CFLAGS="$ac_save_CFLAGS"
27462 else
27463 # this is the suspicious part
27464 CFLAGS=''
27468 # Set -z,relro.
27469 # Note this is only for shared objects.
27470 ac_ld_relro=no
27471 if test x"$with_gnu_ld" = x"yes"; then
27472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27473 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27474 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27475 if test -n "$cxx_z_relo"; then
27476 OPT_LDFLAGS="-Wl,-z,relro"
27477 ac_ld_relro=yes
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27480 $as_echo "$ac_ld_relro" >&6; }
27483 # Set linker optimization flags.
27484 if test x"$with_gnu_ld" = x"yes"; then
27485 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27492 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27493 ac_save_CXXFLAGS="$CXXFLAGS"
27494 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27497 $as_echo_n "checking for sin in -lm... " >&6; }
27498 if test "${ac_cv_lib_m_sin+set}" = set; then :
27499 $as_echo_n "(cached) " >&6
27500 else
27501 ac_check_lib_save_LIBS=$LIBS
27502 LIBS="-lm $LIBS"
27503 if test x$gcc_no_link = xyes; then
27504 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27507 /* end confdefs.h. */
27509 /* Override any GCC internal prototype to avoid an error.
27510 Use char because int might match the return type of a GCC
27511 builtin and then its argument prototype would still apply. */
27512 #ifdef __cplusplus
27513 extern "C"
27514 #endif
27515 char sin ();
27517 main ()
27519 return sin ();
27521 return 0;
27523 _ACEOF
27524 if ac_fn_c_try_link "$LINENO"; then :
27525 ac_cv_lib_m_sin=yes
27526 else
27527 ac_cv_lib_m_sin=no
27529 rm -f core conftest.err conftest.$ac_objext \
27530 conftest$ac_exeext conftest.$ac_ext
27531 LIBS=$ac_check_lib_save_LIBS
27533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27534 $as_echo "$ac_cv_lib_m_sin" >&6; }
27535 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27536 libm="-lm"
27539 ac_save_LIBS="$LIBS"
27540 LIBS="$LIBS $libm"
27544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27545 $as_echo_n "checking for isinf declaration... " >&6; }
27546 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27547 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27548 $as_echo_n "(cached) " >&6
27549 else
27552 ac_ext=cpp
27553 ac_cpp='$CXXCPP $CPPFLAGS'
27554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27559 /* end confdefs.h. */
27560 #include <math.h>
27561 #ifdef HAVE_IEEEFP_H
27562 #include <ieeefp.h>
27563 #endif
27566 main ()
27568 isinf(0);
27570 return 0;
27572 _ACEOF
27573 if ac_fn_cxx_try_compile "$LINENO"; then :
27574 glibcxx_cv_func_isinf_use=yes
27575 else
27576 glibcxx_cv_func_isinf_use=no
27578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27579 ac_ext=c
27580 ac_cpp='$CPP $CPPFLAGS'
27581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27590 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27592 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27593 for ac_func in isinf
27594 do :
27595 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27596 if test "x$ac_cv_func_isinf" = x""yes; then :
27597 cat >>confdefs.h <<_ACEOF
27598 #define HAVE_ISINF 1
27599 _ACEOF
27602 done
27604 else
27606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27607 $as_echo_n "checking for _isinf declaration... " >&6; }
27608 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27609 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27610 $as_echo_n "(cached) " >&6
27611 else
27614 ac_ext=cpp
27615 ac_cpp='$CXXCPP $CPPFLAGS'
27616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27621 /* end confdefs.h. */
27622 #include <math.h>
27623 #ifdef HAVE_IEEEFP_H
27624 #include <ieeefp.h>
27625 #endif
27628 main ()
27630 _isinf(0);
27632 return 0;
27634 _ACEOF
27635 if ac_fn_cxx_try_compile "$LINENO"; then :
27636 glibcxx_cv_func__isinf_use=yes
27637 else
27638 glibcxx_cv_func__isinf_use=no
27640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27641 ac_ext=c
27642 ac_cpp='$CPP $CPPFLAGS'
27643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27652 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27654 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27655 for ac_func in _isinf
27656 do :
27657 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27658 if test "x$ac_cv_func__isinf" = x""yes; then :
27659 cat >>confdefs.h <<_ACEOF
27660 #define HAVE__ISINF 1
27661 _ACEOF
27664 done
27673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27674 $as_echo_n "checking for isnan declaration... " >&6; }
27675 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27676 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27677 $as_echo_n "(cached) " >&6
27678 else
27681 ac_ext=cpp
27682 ac_cpp='$CXXCPP $CPPFLAGS'
27683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27688 /* end confdefs.h. */
27689 #include <math.h>
27690 #ifdef HAVE_IEEEFP_H
27691 #include <ieeefp.h>
27692 #endif
27695 main ()
27697 isnan(0);
27699 return 0;
27701 _ACEOF
27702 if ac_fn_cxx_try_compile "$LINENO"; then :
27703 glibcxx_cv_func_isnan_use=yes
27704 else
27705 glibcxx_cv_func_isnan_use=no
27707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27708 ac_ext=c
27709 ac_cpp='$CPP $CPPFLAGS'
27710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27719 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27721 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27722 for ac_func in isnan
27723 do :
27724 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27725 if test "x$ac_cv_func_isnan" = x""yes; then :
27726 cat >>confdefs.h <<_ACEOF
27727 #define HAVE_ISNAN 1
27728 _ACEOF
27731 done
27733 else
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27736 $as_echo_n "checking for _isnan declaration... " >&6; }
27737 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27738 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27739 $as_echo_n "(cached) " >&6
27740 else
27743 ac_ext=cpp
27744 ac_cpp='$CXXCPP $CPPFLAGS'
27745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27750 /* end confdefs.h. */
27751 #include <math.h>
27752 #ifdef HAVE_IEEEFP_H
27753 #include <ieeefp.h>
27754 #endif
27757 main ()
27759 _isnan(0);
27761 return 0;
27763 _ACEOF
27764 if ac_fn_cxx_try_compile "$LINENO"; then :
27765 glibcxx_cv_func__isnan_use=yes
27766 else
27767 glibcxx_cv_func__isnan_use=no
27769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27770 ac_ext=c
27771 ac_cpp='$CPP $CPPFLAGS'
27772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27781 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27783 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27784 for ac_func in _isnan
27785 do :
27786 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27787 if test "x$ac_cv_func__isnan" = x""yes; then :
27788 cat >>confdefs.h <<_ACEOF
27789 #define HAVE__ISNAN 1
27790 _ACEOF
27793 done
27802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27803 $as_echo_n "checking for finite declaration... " >&6; }
27804 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27805 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27806 $as_echo_n "(cached) " >&6
27807 else
27810 ac_ext=cpp
27811 ac_cpp='$CXXCPP $CPPFLAGS'
27812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27817 /* end confdefs.h. */
27818 #include <math.h>
27819 #ifdef HAVE_IEEEFP_H
27820 #include <ieeefp.h>
27821 #endif
27824 main ()
27826 finite(0);
27828 return 0;
27830 _ACEOF
27831 if ac_fn_cxx_try_compile "$LINENO"; then :
27832 glibcxx_cv_func_finite_use=yes
27833 else
27834 glibcxx_cv_func_finite_use=no
27836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27837 ac_ext=c
27838 ac_cpp='$CPP $CPPFLAGS'
27839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27848 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27850 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27851 for ac_func in finite
27852 do :
27853 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27854 if test "x$ac_cv_func_finite" = x""yes; then :
27855 cat >>confdefs.h <<_ACEOF
27856 #define HAVE_FINITE 1
27857 _ACEOF
27860 done
27862 else
27864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27865 $as_echo_n "checking for _finite declaration... " >&6; }
27866 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27867 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27868 $as_echo_n "(cached) " >&6
27869 else
27872 ac_ext=cpp
27873 ac_cpp='$CXXCPP $CPPFLAGS'
27874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27879 /* end confdefs.h. */
27880 #include <math.h>
27881 #ifdef HAVE_IEEEFP_H
27882 #include <ieeefp.h>
27883 #endif
27886 main ()
27888 _finite(0);
27890 return 0;
27892 _ACEOF
27893 if ac_fn_cxx_try_compile "$LINENO"; then :
27894 glibcxx_cv_func__finite_use=yes
27895 else
27896 glibcxx_cv_func__finite_use=no
27898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27899 ac_ext=c
27900 ac_cpp='$CPP $CPPFLAGS'
27901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27910 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27912 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27913 for ac_func in _finite
27914 do :
27915 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27916 if test "x$ac_cv_func__finite" = x""yes; then :
27917 cat >>confdefs.h <<_ACEOF
27918 #define HAVE__FINITE 1
27919 _ACEOF
27922 done
27931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27932 $as_echo_n "checking for sincos declaration... " >&6; }
27933 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27934 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27935 $as_echo_n "(cached) " >&6
27936 else
27939 ac_ext=cpp
27940 ac_cpp='$CXXCPP $CPPFLAGS'
27941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27946 /* end confdefs.h. */
27947 #include <math.h>
27949 main ()
27951 sincos(0, 0, 0);
27953 return 0;
27955 _ACEOF
27956 if ac_fn_cxx_try_compile "$LINENO"; then :
27957 glibcxx_cv_func_sincos_use=yes
27958 else
27959 glibcxx_cv_func_sincos_use=no
27961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27962 ac_ext=c
27963 ac_cpp='$CPP $CPPFLAGS'
27964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27973 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27975 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27976 for ac_func in sincos
27977 do :
27978 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27979 if test "x$ac_cv_func_sincos" = x""yes; then :
27980 cat >>confdefs.h <<_ACEOF
27981 #define HAVE_SINCOS 1
27982 _ACEOF
27985 done
27987 else
27989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27990 $as_echo_n "checking for _sincos declaration... " >&6; }
27991 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27992 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27993 $as_echo_n "(cached) " >&6
27994 else
27997 ac_ext=cpp
27998 ac_cpp='$CXXCPP $CPPFLAGS'
27999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28004 /* end confdefs.h. */
28005 #include <math.h>
28007 main ()
28009 _sincos(0, 0, 0);
28011 return 0;
28013 _ACEOF
28014 if ac_fn_cxx_try_compile "$LINENO"; then :
28015 glibcxx_cv_func__sincos_use=yes
28016 else
28017 glibcxx_cv_func__sincos_use=no
28019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28020 ac_ext=c
28021 ac_cpp='$CPP $CPPFLAGS'
28022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28031 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28033 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28034 for ac_func in _sincos
28035 do :
28036 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28037 if test "x$ac_cv_func__sincos" = x""yes; then :
28038 cat >>confdefs.h <<_ACEOF
28039 #define HAVE__SINCOS 1
28040 _ACEOF
28043 done
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28053 $as_echo_n "checking for fpclass declaration... " >&6; }
28054 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28055 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28056 $as_echo_n "(cached) " >&6
28057 else
28060 ac_ext=cpp
28061 ac_cpp='$CXXCPP $CPPFLAGS'
28062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28067 /* end confdefs.h. */
28068 #include <math.h>
28069 #ifdef HAVE_IEEEFP_H
28070 #include <ieeefp.h>
28071 #endif
28074 main ()
28076 fpclass(0);
28078 return 0;
28080 _ACEOF
28081 if ac_fn_cxx_try_compile "$LINENO"; then :
28082 glibcxx_cv_func_fpclass_use=yes
28083 else
28084 glibcxx_cv_func_fpclass_use=no
28086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28087 ac_ext=c
28088 ac_cpp='$CPP $CPPFLAGS'
28089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28098 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28100 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28101 for ac_func in fpclass
28102 do :
28103 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28104 if test "x$ac_cv_func_fpclass" = x""yes; then :
28105 cat >>confdefs.h <<_ACEOF
28106 #define HAVE_FPCLASS 1
28107 _ACEOF
28110 done
28112 else
28114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28115 $as_echo_n "checking for _fpclass declaration... " >&6; }
28116 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28117 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28118 $as_echo_n "(cached) " >&6
28119 else
28122 ac_ext=cpp
28123 ac_cpp='$CXXCPP $CPPFLAGS'
28124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28129 /* end confdefs.h. */
28130 #include <math.h>
28131 #ifdef HAVE_IEEEFP_H
28132 #include <ieeefp.h>
28133 #endif
28136 main ()
28138 _fpclass(0);
28140 return 0;
28142 _ACEOF
28143 if ac_fn_cxx_try_compile "$LINENO"; then :
28144 glibcxx_cv_func__fpclass_use=yes
28145 else
28146 glibcxx_cv_func__fpclass_use=no
28148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28149 ac_ext=c
28150 ac_cpp='$CPP $CPPFLAGS'
28151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28160 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28162 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28163 for ac_func in _fpclass
28164 do :
28165 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28166 if test "x$ac_cv_func__fpclass" = x""yes; then :
28167 cat >>confdefs.h <<_ACEOF
28168 #define HAVE__FPCLASS 1
28169 _ACEOF
28172 done
28181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28182 $as_echo_n "checking for qfpclass declaration... " >&6; }
28183 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28184 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28185 $as_echo_n "(cached) " >&6
28186 else
28189 ac_ext=cpp
28190 ac_cpp='$CXXCPP $CPPFLAGS'
28191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28196 /* end confdefs.h. */
28197 #include <math.h>
28198 #ifdef HAVE_IEEEFP_H
28199 #include <ieeefp.h>
28200 #endif
28203 main ()
28205 qfpclass(0);
28207 return 0;
28209 _ACEOF
28210 if ac_fn_cxx_try_compile "$LINENO"; then :
28211 glibcxx_cv_func_qfpclass_use=yes
28212 else
28213 glibcxx_cv_func_qfpclass_use=no
28215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28216 ac_ext=c
28217 ac_cpp='$CPP $CPPFLAGS'
28218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28227 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28229 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28230 for ac_func in qfpclass
28231 do :
28232 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28233 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28234 cat >>confdefs.h <<_ACEOF
28235 #define HAVE_QFPCLASS 1
28236 _ACEOF
28239 done
28241 else
28243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28244 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28245 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28246 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28247 $as_echo_n "(cached) " >&6
28248 else
28251 ac_ext=cpp
28252 ac_cpp='$CXXCPP $CPPFLAGS'
28253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28258 /* end confdefs.h. */
28259 #include <math.h>
28260 #ifdef HAVE_IEEEFP_H
28261 #include <ieeefp.h>
28262 #endif
28265 main ()
28267 _qfpclass(0);
28269 return 0;
28271 _ACEOF
28272 if ac_fn_cxx_try_compile "$LINENO"; then :
28273 glibcxx_cv_func__qfpclass_use=yes
28274 else
28275 glibcxx_cv_func__qfpclass_use=no
28277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28278 ac_ext=c
28279 ac_cpp='$CPP $CPPFLAGS'
28280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28289 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28291 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28292 for ac_func in _qfpclass
28293 do :
28294 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28295 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28296 cat >>confdefs.h <<_ACEOF
28297 #define HAVE__QFPCLASS 1
28298 _ACEOF
28301 done
28310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28311 $as_echo_n "checking for hypot declaration... " >&6; }
28312 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28313 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28314 $as_echo_n "(cached) " >&6
28315 else
28318 ac_ext=cpp
28319 ac_cpp='$CXXCPP $CPPFLAGS'
28320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28325 /* end confdefs.h. */
28326 #include <math.h>
28328 main ()
28330 hypot(0, 0);
28332 return 0;
28334 _ACEOF
28335 if ac_fn_cxx_try_compile "$LINENO"; then :
28336 glibcxx_cv_func_hypot_use=yes
28337 else
28338 glibcxx_cv_func_hypot_use=no
28340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28341 ac_ext=c
28342 ac_cpp='$CPP $CPPFLAGS'
28343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28352 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28354 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28355 for ac_func in hypot
28356 do :
28357 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28358 if test "x$ac_cv_func_hypot" = x""yes; then :
28359 cat >>confdefs.h <<_ACEOF
28360 #define HAVE_HYPOT 1
28361 _ACEOF
28364 done
28366 else
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28369 $as_echo_n "checking for _hypot declaration... " >&6; }
28370 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28371 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28372 $as_echo_n "(cached) " >&6
28373 else
28376 ac_ext=cpp
28377 ac_cpp='$CXXCPP $CPPFLAGS'
28378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28383 /* end confdefs.h. */
28384 #include <math.h>
28386 main ()
28388 _hypot(0, 0);
28390 return 0;
28392 _ACEOF
28393 if ac_fn_cxx_try_compile "$LINENO"; then :
28394 glibcxx_cv_func__hypot_use=yes
28395 else
28396 glibcxx_cv_func__hypot_use=no
28398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28399 ac_ext=c
28400 ac_cpp='$CPP $CPPFLAGS'
28401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28410 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28412 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28413 for ac_func in _hypot
28414 do :
28415 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28416 if test "x$ac_cv_func__hypot" = x""yes; then :
28417 cat >>confdefs.h <<_ACEOF
28418 #define HAVE__HYPOT 1
28419 _ACEOF
28422 done
28431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28432 $as_echo_n "checking for float trig functions... " >&6; }
28433 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28434 $as_echo_n "(cached) " >&6
28435 else
28438 ac_ext=cpp
28439 ac_cpp='$CXXCPP $CPPFLAGS'
28440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28445 /* end confdefs.h. */
28446 #include <math.h>
28448 main ()
28450 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28452 return 0;
28454 _ACEOF
28455 if ac_fn_cxx_try_compile "$LINENO"; then :
28456 glibcxx_cv_func_float_trig_use=yes
28457 else
28458 glibcxx_cv_func_float_trig_use=no
28460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28461 ac_ext=c
28462 ac_cpp='$CPP $CPPFLAGS'
28463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28470 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28471 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28472 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28473 do :
28474 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28475 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28476 eval as_val=\$$as_ac_var
28477 if test "x$as_val" = x""yes; then :
28478 cat >>confdefs.h <<_ACEOF
28479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28480 _ACEOF
28483 done
28485 else
28486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28487 $as_echo_n "checking for _float trig functions... " >&6; }
28488 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28489 $as_echo_n "(cached) " >&6
28490 else
28493 ac_ext=cpp
28494 ac_cpp='$CXXCPP $CPPFLAGS'
28495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28500 /* end confdefs.h. */
28501 #include <math.h>
28503 main ()
28505 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28507 return 0;
28509 _ACEOF
28510 if ac_fn_cxx_try_compile "$LINENO"; then :
28511 glibcxx_cv_func__float_trig_use=yes
28512 else
28513 glibcxx_cv_func__float_trig_use=no
28515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28516 ac_ext=c
28517 ac_cpp='$CPP $CPPFLAGS'
28518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28525 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28526 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28527 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28528 do :
28529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28531 eval as_val=\$$as_ac_var
28532 if test "x$as_val" = x""yes; then :
28533 cat >>confdefs.h <<_ACEOF
28534 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28535 _ACEOF
28538 done
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28548 $as_echo_n "checking for float round functions... " >&6; }
28549 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28550 $as_echo_n "(cached) " >&6
28551 else
28554 ac_ext=cpp
28555 ac_cpp='$CXXCPP $CPPFLAGS'
28556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28561 /* end confdefs.h. */
28562 #include <math.h>
28564 main ()
28566 ceilf (0); floorf (0);
28568 return 0;
28570 _ACEOF
28571 if ac_fn_cxx_try_compile "$LINENO"; then :
28572 glibcxx_cv_func_float_round_use=yes
28573 else
28574 glibcxx_cv_func_float_round_use=no
28576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28577 ac_ext=c
28578 ac_cpp='$CPP $CPPFLAGS'
28579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28586 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28587 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28588 for ac_func in ceilf floorf
28589 do :
28590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28592 eval as_val=\$$as_ac_var
28593 if test "x$as_val" = x""yes; then :
28594 cat >>confdefs.h <<_ACEOF
28595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28596 _ACEOF
28599 done
28601 else
28602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28603 $as_echo_n "checking for _float round functions... " >&6; }
28604 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28605 $as_echo_n "(cached) " >&6
28606 else
28609 ac_ext=cpp
28610 ac_cpp='$CXXCPP $CPPFLAGS'
28611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28616 /* end confdefs.h. */
28617 #include <math.h>
28619 main ()
28621 _ceilf (0); _floorf (0);
28623 return 0;
28625 _ACEOF
28626 if ac_fn_cxx_try_compile "$LINENO"; then :
28627 glibcxx_cv_func__float_round_use=yes
28628 else
28629 glibcxx_cv_func__float_round_use=no
28631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28632 ac_ext=c
28633 ac_cpp='$CPP $CPPFLAGS'
28634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28641 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28642 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28643 for ac_func in _ceilf _floorf
28644 do :
28645 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28646 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28647 eval as_val=\$$as_ac_var
28648 if test "x$as_val" = x""yes; then :
28649 cat >>confdefs.h <<_ACEOF
28650 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28651 _ACEOF
28654 done
28664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28665 $as_echo_n "checking for expf declaration... " >&6; }
28666 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28667 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28668 $as_echo_n "(cached) " >&6
28669 else
28672 ac_ext=cpp
28673 ac_cpp='$CXXCPP $CPPFLAGS'
28674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28679 /* end confdefs.h. */
28680 #include <math.h>
28681 #ifdef HAVE_IEEEFP_H
28682 #include <ieeefp.h>
28683 #endif
28686 main ()
28688 expf(0);
28690 return 0;
28692 _ACEOF
28693 if ac_fn_cxx_try_compile "$LINENO"; then :
28694 glibcxx_cv_func_expf_use=yes
28695 else
28696 glibcxx_cv_func_expf_use=no
28698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28699 ac_ext=c
28700 ac_cpp='$CPP $CPPFLAGS'
28701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28710 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28712 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28713 for ac_func in expf
28714 do :
28715 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28716 if test "x$ac_cv_func_expf" = x""yes; then :
28717 cat >>confdefs.h <<_ACEOF
28718 #define HAVE_EXPF 1
28719 _ACEOF
28722 done
28724 else
28726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28727 $as_echo_n "checking for _expf declaration... " >&6; }
28728 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28729 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28730 $as_echo_n "(cached) " >&6
28731 else
28734 ac_ext=cpp
28735 ac_cpp='$CXXCPP $CPPFLAGS'
28736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28741 /* end confdefs.h. */
28742 #include <math.h>
28743 #ifdef HAVE_IEEEFP_H
28744 #include <ieeefp.h>
28745 #endif
28748 main ()
28750 _expf(0);
28752 return 0;
28754 _ACEOF
28755 if ac_fn_cxx_try_compile "$LINENO"; then :
28756 glibcxx_cv_func__expf_use=yes
28757 else
28758 glibcxx_cv_func__expf_use=no
28760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28761 ac_ext=c
28762 ac_cpp='$CPP $CPPFLAGS'
28763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28772 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28774 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28775 for ac_func in _expf
28776 do :
28777 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28778 if test "x$ac_cv_func__expf" = x""yes; then :
28779 cat >>confdefs.h <<_ACEOF
28780 #define HAVE__EXPF 1
28781 _ACEOF
28784 done
28793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28794 $as_echo_n "checking for isnanf declaration... " >&6; }
28795 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28796 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28797 $as_echo_n "(cached) " >&6
28798 else
28801 ac_ext=cpp
28802 ac_cpp='$CXXCPP $CPPFLAGS'
28803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28808 /* end confdefs.h. */
28809 #include <math.h>
28810 #ifdef HAVE_IEEEFP_H
28811 #include <ieeefp.h>
28812 #endif
28815 main ()
28817 isnanf(0);
28819 return 0;
28821 _ACEOF
28822 if ac_fn_cxx_try_compile "$LINENO"; then :
28823 glibcxx_cv_func_isnanf_use=yes
28824 else
28825 glibcxx_cv_func_isnanf_use=no
28827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28828 ac_ext=c
28829 ac_cpp='$CPP $CPPFLAGS'
28830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28839 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28841 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28842 for ac_func in isnanf
28843 do :
28844 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28845 if test "x$ac_cv_func_isnanf" = x""yes; then :
28846 cat >>confdefs.h <<_ACEOF
28847 #define HAVE_ISNANF 1
28848 _ACEOF
28851 done
28853 else
28855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28856 $as_echo_n "checking for _isnanf declaration... " >&6; }
28857 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28858 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28859 $as_echo_n "(cached) " >&6
28860 else
28863 ac_ext=cpp
28864 ac_cpp='$CXXCPP $CPPFLAGS'
28865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28870 /* end confdefs.h. */
28871 #include <math.h>
28872 #ifdef HAVE_IEEEFP_H
28873 #include <ieeefp.h>
28874 #endif
28877 main ()
28879 _isnanf(0);
28881 return 0;
28883 _ACEOF
28884 if ac_fn_cxx_try_compile "$LINENO"; then :
28885 glibcxx_cv_func__isnanf_use=yes
28886 else
28887 glibcxx_cv_func__isnanf_use=no
28889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28890 ac_ext=c
28891 ac_cpp='$CPP $CPPFLAGS'
28892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28901 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28903 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28904 for ac_func in _isnanf
28905 do :
28906 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28907 if test "x$ac_cv_func__isnanf" = x""yes; then :
28908 cat >>confdefs.h <<_ACEOF
28909 #define HAVE__ISNANF 1
28910 _ACEOF
28913 done
28922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28923 $as_echo_n "checking for isinff declaration... " >&6; }
28924 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28925 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28926 $as_echo_n "(cached) " >&6
28927 else
28930 ac_ext=cpp
28931 ac_cpp='$CXXCPP $CPPFLAGS'
28932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28937 /* end confdefs.h. */
28938 #include <math.h>
28939 #ifdef HAVE_IEEEFP_H
28940 #include <ieeefp.h>
28941 #endif
28944 main ()
28946 isinff(0);
28948 return 0;
28950 _ACEOF
28951 if ac_fn_cxx_try_compile "$LINENO"; then :
28952 glibcxx_cv_func_isinff_use=yes
28953 else
28954 glibcxx_cv_func_isinff_use=no
28956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28957 ac_ext=c
28958 ac_cpp='$CPP $CPPFLAGS'
28959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28968 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28970 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28971 for ac_func in isinff
28972 do :
28973 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28974 if test "x$ac_cv_func_isinff" = x""yes; then :
28975 cat >>confdefs.h <<_ACEOF
28976 #define HAVE_ISINFF 1
28977 _ACEOF
28980 done
28982 else
28984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28985 $as_echo_n "checking for _isinff declaration... " >&6; }
28986 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28987 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28988 $as_echo_n "(cached) " >&6
28989 else
28992 ac_ext=cpp
28993 ac_cpp='$CXXCPP $CPPFLAGS'
28994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28999 /* end confdefs.h. */
29000 #include <math.h>
29001 #ifdef HAVE_IEEEFP_H
29002 #include <ieeefp.h>
29003 #endif
29006 main ()
29008 _isinff(0);
29010 return 0;
29012 _ACEOF
29013 if ac_fn_cxx_try_compile "$LINENO"; then :
29014 glibcxx_cv_func__isinff_use=yes
29015 else
29016 glibcxx_cv_func__isinff_use=no
29018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29019 ac_ext=c
29020 ac_cpp='$CPP $CPPFLAGS'
29021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29030 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29032 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29033 for ac_func in _isinff
29034 do :
29035 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29036 if test "x$ac_cv_func__isinff" = x""yes; then :
29037 cat >>confdefs.h <<_ACEOF
29038 #define HAVE__ISINFF 1
29039 _ACEOF
29042 done
29051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29052 $as_echo_n "checking for atan2f declaration... " >&6; }
29053 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29054 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29055 $as_echo_n "(cached) " >&6
29056 else
29059 ac_ext=cpp
29060 ac_cpp='$CXXCPP $CPPFLAGS'
29061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29066 /* end confdefs.h. */
29067 #include <math.h>
29069 main ()
29071 atan2f(0, 0);
29073 return 0;
29075 _ACEOF
29076 if ac_fn_cxx_try_compile "$LINENO"; then :
29077 glibcxx_cv_func_atan2f_use=yes
29078 else
29079 glibcxx_cv_func_atan2f_use=no
29081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29082 ac_ext=c
29083 ac_cpp='$CPP $CPPFLAGS'
29084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29093 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29095 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29096 for ac_func in atan2f
29097 do :
29098 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29099 if test "x$ac_cv_func_atan2f" = x""yes; then :
29100 cat >>confdefs.h <<_ACEOF
29101 #define HAVE_ATAN2F 1
29102 _ACEOF
29105 done
29107 else
29109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29110 $as_echo_n "checking for _atan2f declaration... " >&6; }
29111 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29112 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29113 $as_echo_n "(cached) " >&6
29114 else
29117 ac_ext=cpp
29118 ac_cpp='$CXXCPP $CPPFLAGS'
29119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29124 /* end confdefs.h. */
29125 #include <math.h>
29127 main ()
29129 _atan2f(0, 0);
29131 return 0;
29133 _ACEOF
29134 if ac_fn_cxx_try_compile "$LINENO"; then :
29135 glibcxx_cv_func__atan2f_use=yes
29136 else
29137 glibcxx_cv_func__atan2f_use=no
29139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29140 ac_ext=c
29141 ac_cpp='$CPP $CPPFLAGS'
29142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29151 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29153 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29154 for ac_func in _atan2f
29155 do :
29156 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29157 if test "x$ac_cv_func__atan2f" = x""yes; then :
29158 cat >>confdefs.h <<_ACEOF
29159 #define HAVE__ATAN2F 1
29160 _ACEOF
29163 done
29172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29173 $as_echo_n "checking for fabsf declaration... " >&6; }
29174 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29175 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29176 $as_echo_n "(cached) " >&6
29177 else
29180 ac_ext=cpp
29181 ac_cpp='$CXXCPP $CPPFLAGS'
29182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29187 /* end confdefs.h. */
29188 #include <math.h>
29189 #ifdef HAVE_IEEEFP_H
29190 #include <ieeefp.h>
29191 #endif
29194 main ()
29196 fabsf(0);
29198 return 0;
29200 _ACEOF
29201 if ac_fn_cxx_try_compile "$LINENO"; then :
29202 glibcxx_cv_func_fabsf_use=yes
29203 else
29204 glibcxx_cv_func_fabsf_use=no
29206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29207 ac_ext=c
29208 ac_cpp='$CPP $CPPFLAGS'
29209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29218 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29220 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29221 for ac_func in fabsf
29222 do :
29223 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29224 if test "x$ac_cv_func_fabsf" = x""yes; then :
29225 cat >>confdefs.h <<_ACEOF
29226 #define HAVE_FABSF 1
29227 _ACEOF
29230 done
29232 else
29234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29235 $as_echo_n "checking for _fabsf declaration... " >&6; }
29236 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29237 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29238 $as_echo_n "(cached) " >&6
29239 else
29242 ac_ext=cpp
29243 ac_cpp='$CXXCPP $CPPFLAGS'
29244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29249 /* end confdefs.h. */
29250 #include <math.h>
29251 #ifdef HAVE_IEEEFP_H
29252 #include <ieeefp.h>
29253 #endif
29256 main ()
29258 _fabsf(0);
29260 return 0;
29262 _ACEOF
29263 if ac_fn_cxx_try_compile "$LINENO"; then :
29264 glibcxx_cv_func__fabsf_use=yes
29265 else
29266 glibcxx_cv_func__fabsf_use=no
29268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29269 ac_ext=c
29270 ac_cpp='$CPP $CPPFLAGS'
29271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29280 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29282 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29283 for ac_func in _fabsf
29284 do :
29285 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29286 if test "x$ac_cv_func__fabsf" = x""yes; then :
29287 cat >>confdefs.h <<_ACEOF
29288 #define HAVE__FABSF 1
29289 _ACEOF
29292 done
29301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29302 $as_echo_n "checking for fmodf declaration... " >&6; }
29303 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29304 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29305 $as_echo_n "(cached) " >&6
29306 else
29309 ac_ext=cpp
29310 ac_cpp='$CXXCPP $CPPFLAGS'
29311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29316 /* end confdefs.h. */
29317 #include <math.h>
29319 main ()
29321 fmodf(0, 0);
29323 return 0;
29325 _ACEOF
29326 if ac_fn_cxx_try_compile "$LINENO"; then :
29327 glibcxx_cv_func_fmodf_use=yes
29328 else
29329 glibcxx_cv_func_fmodf_use=no
29331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29332 ac_ext=c
29333 ac_cpp='$CPP $CPPFLAGS'
29334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29343 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29345 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29346 for ac_func in fmodf
29347 do :
29348 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29349 if test "x$ac_cv_func_fmodf" = x""yes; then :
29350 cat >>confdefs.h <<_ACEOF
29351 #define HAVE_FMODF 1
29352 _ACEOF
29355 done
29357 else
29359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29360 $as_echo_n "checking for _fmodf declaration... " >&6; }
29361 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29362 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29363 $as_echo_n "(cached) " >&6
29364 else
29367 ac_ext=cpp
29368 ac_cpp='$CXXCPP $CPPFLAGS'
29369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29374 /* end confdefs.h. */
29375 #include <math.h>
29377 main ()
29379 _fmodf(0, 0);
29381 return 0;
29383 _ACEOF
29384 if ac_fn_cxx_try_compile "$LINENO"; then :
29385 glibcxx_cv_func__fmodf_use=yes
29386 else
29387 glibcxx_cv_func__fmodf_use=no
29389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29390 ac_ext=c
29391 ac_cpp='$CPP $CPPFLAGS'
29392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29401 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29403 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29404 for ac_func in _fmodf
29405 do :
29406 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29407 if test "x$ac_cv_func__fmodf" = x""yes; then :
29408 cat >>confdefs.h <<_ACEOF
29409 #define HAVE__FMODF 1
29410 _ACEOF
29413 done
29422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29423 $as_echo_n "checking for frexpf declaration... " >&6; }
29424 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29425 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29426 $as_echo_n "(cached) " >&6
29427 else
29430 ac_ext=cpp
29431 ac_cpp='$CXXCPP $CPPFLAGS'
29432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29437 /* end confdefs.h. */
29438 #include <math.h>
29440 main ()
29442 frexpf(0, 0);
29444 return 0;
29446 _ACEOF
29447 if ac_fn_cxx_try_compile "$LINENO"; then :
29448 glibcxx_cv_func_frexpf_use=yes
29449 else
29450 glibcxx_cv_func_frexpf_use=no
29452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29453 ac_ext=c
29454 ac_cpp='$CPP $CPPFLAGS'
29455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29464 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29466 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29467 for ac_func in frexpf
29468 do :
29469 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29470 if test "x$ac_cv_func_frexpf" = x""yes; then :
29471 cat >>confdefs.h <<_ACEOF
29472 #define HAVE_FREXPF 1
29473 _ACEOF
29476 done
29478 else
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29481 $as_echo_n "checking for _frexpf declaration... " >&6; }
29482 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29483 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29484 $as_echo_n "(cached) " >&6
29485 else
29488 ac_ext=cpp
29489 ac_cpp='$CXXCPP $CPPFLAGS'
29490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29495 /* end confdefs.h. */
29496 #include <math.h>
29498 main ()
29500 _frexpf(0, 0);
29502 return 0;
29504 _ACEOF
29505 if ac_fn_cxx_try_compile "$LINENO"; then :
29506 glibcxx_cv_func__frexpf_use=yes
29507 else
29508 glibcxx_cv_func__frexpf_use=no
29510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29511 ac_ext=c
29512 ac_cpp='$CPP $CPPFLAGS'
29513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29522 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29524 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29525 for ac_func in _frexpf
29526 do :
29527 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29528 if test "x$ac_cv_func__frexpf" = x""yes; then :
29529 cat >>confdefs.h <<_ACEOF
29530 #define HAVE__FREXPF 1
29531 _ACEOF
29534 done
29543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29544 $as_echo_n "checking for hypotf declaration... " >&6; }
29545 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29546 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29547 $as_echo_n "(cached) " >&6
29548 else
29551 ac_ext=cpp
29552 ac_cpp='$CXXCPP $CPPFLAGS'
29553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29558 /* end confdefs.h. */
29559 #include <math.h>
29561 main ()
29563 hypotf(0, 0);
29565 return 0;
29567 _ACEOF
29568 if ac_fn_cxx_try_compile "$LINENO"; then :
29569 glibcxx_cv_func_hypotf_use=yes
29570 else
29571 glibcxx_cv_func_hypotf_use=no
29573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29574 ac_ext=c
29575 ac_cpp='$CPP $CPPFLAGS'
29576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29585 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29587 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29588 for ac_func in hypotf
29589 do :
29590 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29591 if test "x$ac_cv_func_hypotf" = x""yes; then :
29592 cat >>confdefs.h <<_ACEOF
29593 #define HAVE_HYPOTF 1
29594 _ACEOF
29597 done
29599 else
29601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29602 $as_echo_n "checking for _hypotf declaration... " >&6; }
29603 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29604 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29605 $as_echo_n "(cached) " >&6
29606 else
29609 ac_ext=cpp
29610 ac_cpp='$CXXCPP $CPPFLAGS'
29611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29616 /* end confdefs.h. */
29617 #include <math.h>
29619 main ()
29621 _hypotf(0, 0);
29623 return 0;
29625 _ACEOF
29626 if ac_fn_cxx_try_compile "$LINENO"; then :
29627 glibcxx_cv_func__hypotf_use=yes
29628 else
29629 glibcxx_cv_func__hypotf_use=no
29631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29632 ac_ext=c
29633 ac_cpp='$CPP $CPPFLAGS'
29634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29643 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29645 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29646 for ac_func in _hypotf
29647 do :
29648 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29649 if test "x$ac_cv_func__hypotf" = x""yes; then :
29650 cat >>confdefs.h <<_ACEOF
29651 #define HAVE__HYPOTF 1
29652 _ACEOF
29655 done
29664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29665 $as_echo_n "checking for ldexpf declaration... " >&6; }
29666 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29667 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29668 $as_echo_n "(cached) " >&6
29669 else
29672 ac_ext=cpp
29673 ac_cpp='$CXXCPP $CPPFLAGS'
29674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29679 /* end confdefs.h. */
29680 #include <math.h>
29682 main ()
29684 ldexpf(0, 0);
29686 return 0;
29688 _ACEOF
29689 if ac_fn_cxx_try_compile "$LINENO"; then :
29690 glibcxx_cv_func_ldexpf_use=yes
29691 else
29692 glibcxx_cv_func_ldexpf_use=no
29694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29695 ac_ext=c
29696 ac_cpp='$CPP $CPPFLAGS'
29697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29706 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29708 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29709 for ac_func in ldexpf
29710 do :
29711 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29712 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29713 cat >>confdefs.h <<_ACEOF
29714 #define HAVE_LDEXPF 1
29715 _ACEOF
29718 done
29720 else
29722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29723 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29724 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29725 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29726 $as_echo_n "(cached) " >&6
29727 else
29730 ac_ext=cpp
29731 ac_cpp='$CXXCPP $CPPFLAGS'
29732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29737 /* end confdefs.h. */
29738 #include <math.h>
29740 main ()
29742 _ldexpf(0, 0);
29744 return 0;
29746 _ACEOF
29747 if ac_fn_cxx_try_compile "$LINENO"; then :
29748 glibcxx_cv_func__ldexpf_use=yes
29749 else
29750 glibcxx_cv_func__ldexpf_use=no
29752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29753 ac_ext=c
29754 ac_cpp='$CPP $CPPFLAGS'
29755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29764 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29766 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29767 for ac_func in _ldexpf
29768 do :
29769 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29770 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29771 cat >>confdefs.h <<_ACEOF
29772 #define HAVE__LDEXPF 1
29773 _ACEOF
29776 done
29785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29786 $as_echo_n "checking for logf declaration... " >&6; }
29787 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29788 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29789 $as_echo_n "(cached) " >&6
29790 else
29793 ac_ext=cpp
29794 ac_cpp='$CXXCPP $CPPFLAGS'
29795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29800 /* end confdefs.h. */
29801 #include <math.h>
29802 #ifdef HAVE_IEEEFP_H
29803 #include <ieeefp.h>
29804 #endif
29807 main ()
29809 logf(0);
29811 return 0;
29813 _ACEOF
29814 if ac_fn_cxx_try_compile "$LINENO"; then :
29815 glibcxx_cv_func_logf_use=yes
29816 else
29817 glibcxx_cv_func_logf_use=no
29819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29820 ac_ext=c
29821 ac_cpp='$CPP $CPPFLAGS'
29822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29831 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29833 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29834 for ac_func in logf
29835 do :
29836 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29837 if test "x$ac_cv_func_logf" = x""yes; then :
29838 cat >>confdefs.h <<_ACEOF
29839 #define HAVE_LOGF 1
29840 _ACEOF
29843 done
29845 else
29847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29848 $as_echo_n "checking for _logf declaration... " >&6; }
29849 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29850 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29851 $as_echo_n "(cached) " >&6
29852 else
29855 ac_ext=cpp
29856 ac_cpp='$CXXCPP $CPPFLAGS'
29857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29862 /* end confdefs.h. */
29863 #include <math.h>
29864 #ifdef HAVE_IEEEFP_H
29865 #include <ieeefp.h>
29866 #endif
29869 main ()
29871 _logf(0);
29873 return 0;
29875 _ACEOF
29876 if ac_fn_cxx_try_compile "$LINENO"; then :
29877 glibcxx_cv_func__logf_use=yes
29878 else
29879 glibcxx_cv_func__logf_use=no
29881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29882 ac_ext=c
29883 ac_cpp='$CPP $CPPFLAGS'
29884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29893 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29895 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29896 for ac_func in _logf
29897 do :
29898 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29899 if test "x$ac_cv_func__logf" = x""yes; then :
29900 cat >>confdefs.h <<_ACEOF
29901 #define HAVE__LOGF 1
29902 _ACEOF
29905 done
29914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29915 $as_echo_n "checking for log10f declaration... " >&6; }
29916 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29917 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29918 $as_echo_n "(cached) " >&6
29919 else
29922 ac_ext=cpp
29923 ac_cpp='$CXXCPP $CPPFLAGS'
29924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29929 /* end confdefs.h. */
29930 #include <math.h>
29931 #ifdef HAVE_IEEEFP_H
29932 #include <ieeefp.h>
29933 #endif
29936 main ()
29938 log10f(0);
29940 return 0;
29942 _ACEOF
29943 if ac_fn_cxx_try_compile "$LINENO"; then :
29944 glibcxx_cv_func_log10f_use=yes
29945 else
29946 glibcxx_cv_func_log10f_use=no
29948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29949 ac_ext=c
29950 ac_cpp='$CPP $CPPFLAGS'
29951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29960 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29962 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29963 for ac_func in log10f
29964 do :
29965 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29966 if test "x$ac_cv_func_log10f" = x""yes; then :
29967 cat >>confdefs.h <<_ACEOF
29968 #define HAVE_LOG10F 1
29969 _ACEOF
29972 done
29974 else
29976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29977 $as_echo_n "checking for _log10f declaration... " >&6; }
29978 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29979 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29980 $as_echo_n "(cached) " >&6
29981 else
29984 ac_ext=cpp
29985 ac_cpp='$CXXCPP $CPPFLAGS'
29986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29991 /* end confdefs.h. */
29992 #include <math.h>
29993 #ifdef HAVE_IEEEFP_H
29994 #include <ieeefp.h>
29995 #endif
29998 main ()
30000 _log10f(0);
30002 return 0;
30004 _ACEOF
30005 if ac_fn_cxx_try_compile "$LINENO"; then :
30006 glibcxx_cv_func__log10f_use=yes
30007 else
30008 glibcxx_cv_func__log10f_use=no
30010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30011 ac_ext=c
30012 ac_cpp='$CPP $CPPFLAGS'
30013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30022 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30024 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30025 for ac_func in _log10f
30026 do :
30027 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30028 if test "x$ac_cv_func__log10f" = x""yes; then :
30029 cat >>confdefs.h <<_ACEOF
30030 #define HAVE__LOG10F 1
30031 _ACEOF
30034 done
30043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30044 $as_echo_n "checking for modff declaration... " >&6; }
30045 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30046 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30047 $as_echo_n "(cached) " >&6
30048 else
30051 ac_ext=cpp
30052 ac_cpp='$CXXCPP $CPPFLAGS'
30053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30059 #include <math.h>
30061 main ()
30063 modff(0, 0);
30065 return 0;
30067 _ACEOF
30068 if ac_fn_cxx_try_compile "$LINENO"; then :
30069 glibcxx_cv_func_modff_use=yes
30070 else
30071 glibcxx_cv_func_modff_use=no
30073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30074 ac_ext=c
30075 ac_cpp='$CPP $CPPFLAGS'
30076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30085 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30087 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30088 for ac_func in modff
30089 do :
30090 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30091 if test "x$ac_cv_func_modff" = x""yes; then :
30092 cat >>confdefs.h <<_ACEOF
30093 #define HAVE_MODFF 1
30094 _ACEOF
30097 done
30099 else
30101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30102 $as_echo_n "checking for _modff declaration... " >&6; }
30103 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30104 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30105 $as_echo_n "(cached) " >&6
30106 else
30109 ac_ext=cpp
30110 ac_cpp='$CXXCPP $CPPFLAGS'
30111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30116 /* end confdefs.h. */
30117 #include <math.h>
30119 main ()
30121 _modff(0, 0);
30123 return 0;
30125 _ACEOF
30126 if ac_fn_cxx_try_compile "$LINENO"; then :
30127 glibcxx_cv_func__modff_use=yes
30128 else
30129 glibcxx_cv_func__modff_use=no
30131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30132 ac_ext=c
30133 ac_cpp='$CPP $CPPFLAGS'
30134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30143 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30145 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30146 for ac_func in _modff
30147 do :
30148 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30149 if test "x$ac_cv_func__modff" = x""yes; then :
30150 cat >>confdefs.h <<_ACEOF
30151 #define HAVE__MODFF 1
30152 _ACEOF
30155 done
30164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30165 $as_echo_n "checking for modf declaration... " >&6; }
30166 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30167 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30168 $as_echo_n "(cached) " >&6
30169 else
30172 ac_ext=cpp
30173 ac_cpp='$CXXCPP $CPPFLAGS'
30174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30179 /* end confdefs.h. */
30180 #include <math.h>
30182 main ()
30184 modf(0, 0);
30186 return 0;
30188 _ACEOF
30189 if ac_fn_cxx_try_compile "$LINENO"; then :
30190 glibcxx_cv_func_modf_use=yes
30191 else
30192 glibcxx_cv_func_modf_use=no
30194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30195 ac_ext=c
30196 ac_cpp='$CPP $CPPFLAGS'
30197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30206 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30208 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30209 for ac_func in modf
30210 do :
30211 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30212 if test "x$ac_cv_func_modf" = x""yes; then :
30213 cat >>confdefs.h <<_ACEOF
30214 #define HAVE_MODF 1
30215 _ACEOF
30218 done
30220 else
30222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30223 $as_echo_n "checking for _modf declaration... " >&6; }
30224 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30225 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30226 $as_echo_n "(cached) " >&6
30227 else
30230 ac_ext=cpp
30231 ac_cpp='$CXXCPP $CPPFLAGS'
30232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30237 /* end confdefs.h. */
30238 #include <math.h>
30240 main ()
30242 _modf(0, 0);
30244 return 0;
30246 _ACEOF
30247 if ac_fn_cxx_try_compile "$LINENO"; then :
30248 glibcxx_cv_func__modf_use=yes
30249 else
30250 glibcxx_cv_func__modf_use=no
30252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30253 ac_ext=c
30254 ac_cpp='$CPP $CPPFLAGS'
30255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30264 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30266 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30267 for ac_func in _modf
30268 do :
30269 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30270 if test "x$ac_cv_func__modf" = x""yes; then :
30271 cat >>confdefs.h <<_ACEOF
30272 #define HAVE__MODF 1
30273 _ACEOF
30276 done
30285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30286 $as_echo_n "checking for powf declaration... " >&6; }
30287 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30288 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30289 $as_echo_n "(cached) " >&6
30290 else
30293 ac_ext=cpp
30294 ac_cpp='$CXXCPP $CPPFLAGS'
30295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30300 /* end confdefs.h. */
30301 #include <math.h>
30303 main ()
30305 powf(0, 0);
30307 return 0;
30309 _ACEOF
30310 if ac_fn_cxx_try_compile "$LINENO"; then :
30311 glibcxx_cv_func_powf_use=yes
30312 else
30313 glibcxx_cv_func_powf_use=no
30315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30316 ac_ext=c
30317 ac_cpp='$CPP $CPPFLAGS'
30318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30327 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30329 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30330 for ac_func in powf
30331 do :
30332 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30333 if test "x$ac_cv_func_powf" = x""yes; then :
30334 cat >>confdefs.h <<_ACEOF
30335 #define HAVE_POWF 1
30336 _ACEOF
30339 done
30341 else
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30344 $as_echo_n "checking for _powf declaration... " >&6; }
30345 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30346 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30347 $as_echo_n "(cached) " >&6
30348 else
30351 ac_ext=cpp
30352 ac_cpp='$CXXCPP $CPPFLAGS'
30353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30358 /* end confdefs.h. */
30359 #include <math.h>
30361 main ()
30363 _powf(0, 0);
30365 return 0;
30367 _ACEOF
30368 if ac_fn_cxx_try_compile "$LINENO"; then :
30369 glibcxx_cv_func__powf_use=yes
30370 else
30371 glibcxx_cv_func__powf_use=no
30373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30374 ac_ext=c
30375 ac_cpp='$CPP $CPPFLAGS'
30376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30385 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30387 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30388 for ac_func in _powf
30389 do :
30390 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30391 if test "x$ac_cv_func__powf" = x""yes; then :
30392 cat >>confdefs.h <<_ACEOF
30393 #define HAVE__POWF 1
30394 _ACEOF
30397 done
30406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30407 $as_echo_n "checking for sqrtf declaration... " >&6; }
30408 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30409 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30410 $as_echo_n "(cached) " >&6
30411 else
30414 ac_ext=cpp
30415 ac_cpp='$CXXCPP $CPPFLAGS'
30416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30421 /* end confdefs.h. */
30422 #include <math.h>
30423 #ifdef HAVE_IEEEFP_H
30424 #include <ieeefp.h>
30425 #endif
30428 main ()
30430 sqrtf(0);
30432 return 0;
30434 _ACEOF
30435 if ac_fn_cxx_try_compile "$LINENO"; then :
30436 glibcxx_cv_func_sqrtf_use=yes
30437 else
30438 glibcxx_cv_func_sqrtf_use=no
30440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30441 ac_ext=c
30442 ac_cpp='$CPP $CPPFLAGS'
30443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30452 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30454 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30455 for ac_func in sqrtf
30456 do :
30457 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30458 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30459 cat >>confdefs.h <<_ACEOF
30460 #define HAVE_SQRTF 1
30461 _ACEOF
30464 done
30466 else
30468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30469 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30470 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30471 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30472 $as_echo_n "(cached) " >&6
30473 else
30476 ac_ext=cpp
30477 ac_cpp='$CXXCPP $CPPFLAGS'
30478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30483 /* end confdefs.h. */
30484 #include <math.h>
30485 #ifdef HAVE_IEEEFP_H
30486 #include <ieeefp.h>
30487 #endif
30490 main ()
30492 _sqrtf(0);
30494 return 0;
30496 _ACEOF
30497 if ac_fn_cxx_try_compile "$LINENO"; then :
30498 glibcxx_cv_func__sqrtf_use=yes
30499 else
30500 glibcxx_cv_func__sqrtf_use=no
30502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30503 ac_ext=c
30504 ac_cpp='$CPP $CPPFLAGS'
30505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30514 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30516 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30517 for ac_func in _sqrtf
30518 do :
30519 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30520 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30521 cat >>confdefs.h <<_ACEOF
30522 #define HAVE__SQRTF 1
30523 _ACEOF
30526 done
30535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30536 $as_echo_n "checking for sincosf declaration... " >&6; }
30537 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30538 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30539 $as_echo_n "(cached) " >&6
30540 else
30543 ac_ext=cpp
30544 ac_cpp='$CXXCPP $CPPFLAGS'
30545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30550 /* end confdefs.h. */
30551 #include <math.h>
30553 main ()
30555 sincosf(0, 0, 0);
30557 return 0;
30559 _ACEOF
30560 if ac_fn_cxx_try_compile "$LINENO"; then :
30561 glibcxx_cv_func_sincosf_use=yes
30562 else
30563 glibcxx_cv_func_sincosf_use=no
30565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30566 ac_ext=c
30567 ac_cpp='$CPP $CPPFLAGS'
30568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30577 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30579 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30580 for ac_func in sincosf
30581 do :
30582 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30583 if test "x$ac_cv_func_sincosf" = x""yes; then :
30584 cat >>confdefs.h <<_ACEOF
30585 #define HAVE_SINCOSF 1
30586 _ACEOF
30589 done
30591 else
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30594 $as_echo_n "checking for _sincosf declaration... " >&6; }
30595 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30596 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30597 $as_echo_n "(cached) " >&6
30598 else
30601 ac_ext=cpp
30602 ac_cpp='$CXXCPP $CPPFLAGS'
30603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30608 /* end confdefs.h. */
30609 #include <math.h>
30611 main ()
30613 _sincosf(0, 0, 0);
30615 return 0;
30617 _ACEOF
30618 if ac_fn_cxx_try_compile "$LINENO"; then :
30619 glibcxx_cv_func__sincosf_use=yes
30620 else
30621 glibcxx_cv_func__sincosf_use=no
30623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30624 ac_ext=c
30625 ac_cpp='$CPP $CPPFLAGS'
30626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30635 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30637 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30638 for ac_func in _sincosf
30639 do :
30640 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30641 if test "x$ac_cv_func__sincosf" = x""yes; then :
30642 cat >>confdefs.h <<_ACEOF
30643 #define HAVE__SINCOSF 1
30644 _ACEOF
30647 done
30656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30657 $as_echo_n "checking for finitef declaration... " >&6; }
30658 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30659 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30660 $as_echo_n "(cached) " >&6
30661 else
30664 ac_ext=cpp
30665 ac_cpp='$CXXCPP $CPPFLAGS'
30666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30671 /* end confdefs.h. */
30672 #include <math.h>
30673 #ifdef HAVE_IEEEFP_H
30674 #include <ieeefp.h>
30675 #endif
30678 main ()
30680 finitef(0);
30682 return 0;
30684 _ACEOF
30685 if ac_fn_cxx_try_compile "$LINENO"; then :
30686 glibcxx_cv_func_finitef_use=yes
30687 else
30688 glibcxx_cv_func_finitef_use=no
30690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30691 ac_ext=c
30692 ac_cpp='$CPP $CPPFLAGS'
30693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30702 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30704 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30705 for ac_func in finitef
30706 do :
30707 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30708 if test "x$ac_cv_func_finitef" = x""yes; then :
30709 cat >>confdefs.h <<_ACEOF
30710 #define HAVE_FINITEF 1
30711 _ACEOF
30714 done
30716 else
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30719 $as_echo_n "checking for _finitef declaration... " >&6; }
30720 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30721 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30722 $as_echo_n "(cached) " >&6
30723 else
30726 ac_ext=cpp
30727 ac_cpp='$CXXCPP $CPPFLAGS'
30728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30733 /* end confdefs.h. */
30734 #include <math.h>
30735 #ifdef HAVE_IEEEFP_H
30736 #include <ieeefp.h>
30737 #endif
30740 main ()
30742 _finitef(0);
30744 return 0;
30746 _ACEOF
30747 if ac_fn_cxx_try_compile "$LINENO"; then :
30748 glibcxx_cv_func__finitef_use=yes
30749 else
30750 glibcxx_cv_func__finitef_use=no
30752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30753 ac_ext=c
30754 ac_cpp='$CPP $CPPFLAGS'
30755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30764 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30766 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30767 for ac_func in _finitef
30768 do :
30769 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30770 if test "x$ac_cv_func__finitef" = x""yes; then :
30771 cat >>confdefs.h <<_ACEOF
30772 #define HAVE__FINITEF 1
30773 _ACEOF
30776 done
30785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30786 $as_echo_n "checking for long double trig functions... " >&6; }
30787 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30788 $as_echo_n "(cached) " >&6
30789 else
30792 ac_ext=cpp
30793 ac_cpp='$CXXCPP $CPPFLAGS'
30794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30799 /* end confdefs.h. */
30800 #include <math.h>
30802 main ()
30804 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30806 return 0;
30808 _ACEOF
30809 if ac_fn_cxx_try_compile "$LINENO"; then :
30810 glibcxx_cv_func_long_double_trig_use=yes
30811 else
30812 glibcxx_cv_func_long_double_trig_use=no
30814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30815 ac_ext=c
30816 ac_cpp='$CPP $CPPFLAGS'
30817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30824 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30825 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30826 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30827 do :
30828 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30829 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30830 eval as_val=\$$as_ac_var
30831 if test "x$as_val" = x""yes; then :
30832 cat >>confdefs.h <<_ACEOF
30833 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30834 _ACEOF
30837 done
30839 else
30840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30841 $as_echo_n "checking for _long double trig functions... " >&6; }
30842 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30843 $as_echo_n "(cached) " >&6
30844 else
30847 ac_ext=cpp
30848 ac_cpp='$CXXCPP $CPPFLAGS'
30849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30854 /* end confdefs.h. */
30855 #include <math.h>
30857 main ()
30859 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30861 return 0;
30863 _ACEOF
30864 if ac_fn_cxx_try_compile "$LINENO"; then :
30865 glibcxx_cv_func__long_double_trig_use=yes
30866 else
30867 glibcxx_cv_func__long_double_trig_use=no
30869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30870 ac_ext=c
30871 ac_cpp='$CPP $CPPFLAGS'
30872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30879 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30880 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30881 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30882 do :
30883 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30884 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30885 eval as_val=\$$as_ac_var
30886 if test "x$as_val" = x""yes; then :
30887 cat >>confdefs.h <<_ACEOF
30888 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30889 _ACEOF
30892 done
30901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30902 $as_echo_n "checking for long double round functions... " >&6; }
30903 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30904 $as_echo_n "(cached) " >&6
30905 else
30908 ac_ext=cpp
30909 ac_cpp='$CXXCPP $CPPFLAGS'
30910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30915 /* end confdefs.h. */
30916 #include <math.h>
30918 main ()
30920 ceill (0); floorl (0);
30922 return 0;
30924 _ACEOF
30925 if ac_fn_cxx_try_compile "$LINENO"; then :
30926 glibcxx_cv_func_long_double_round_use=yes
30927 else
30928 glibcxx_cv_func_long_double_round_use=no
30930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30931 ac_ext=c
30932 ac_cpp='$CPP $CPPFLAGS'
30933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30940 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30941 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30942 for ac_func in ceill floorl
30943 do :
30944 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30945 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30946 eval as_val=\$$as_ac_var
30947 if test "x$as_val" = x""yes; then :
30948 cat >>confdefs.h <<_ACEOF
30949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30950 _ACEOF
30953 done
30955 else
30956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30957 $as_echo_n "checking for _long double round functions... " >&6; }
30958 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30959 $as_echo_n "(cached) " >&6
30960 else
30963 ac_ext=cpp
30964 ac_cpp='$CXXCPP $CPPFLAGS'
30965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30970 /* end confdefs.h. */
30971 #include <math.h>
30973 main ()
30975 _ceill (0); _floorl (0);
30977 return 0;
30979 _ACEOF
30980 if ac_fn_cxx_try_compile "$LINENO"; then :
30981 glibcxx_cv_func__long_double_round_use=yes
30982 else
30983 glibcxx_cv_func__long_double_round_use=no
30985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30986 ac_ext=c
30987 ac_cpp='$CPP $CPPFLAGS'
30988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30995 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30996 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30997 for ac_func in _ceill _floorl
30998 do :
30999 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31000 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31001 eval as_val=\$$as_ac_var
31002 if test "x$as_val" = x""yes; then :
31003 cat >>confdefs.h <<_ACEOF
31004 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31005 _ACEOF
31008 done
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31019 $as_echo_n "checking for isnanl declaration... " >&6; }
31020 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31021 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31022 $as_echo_n "(cached) " >&6
31023 else
31026 ac_ext=cpp
31027 ac_cpp='$CXXCPP $CPPFLAGS'
31028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31033 /* end confdefs.h. */
31034 #include <math.h>
31035 #ifdef HAVE_IEEEFP_H
31036 #include <ieeefp.h>
31037 #endif
31040 main ()
31042 isnanl(0);
31044 return 0;
31046 _ACEOF
31047 if ac_fn_cxx_try_compile "$LINENO"; then :
31048 glibcxx_cv_func_isnanl_use=yes
31049 else
31050 glibcxx_cv_func_isnanl_use=no
31052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31053 ac_ext=c
31054 ac_cpp='$CPP $CPPFLAGS'
31055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31064 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31066 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31067 for ac_func in isnanl
31068 do :
31069 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31070 if test "x$ac_cv_func_isnanl" = x""yes; then :
31071 cat >>confdefs.h <<_ACEOF
31072 #define HAVE_ISNANL 1
31073 _ACEOF
31076 done
31078 else
31080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31081 $as_echo_n "checking for _isnanl declaration... " >&6; }
31082 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31083 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31084 $as_echo_n "(cached) " >&6
31085 else
31088 ac_ext=cpp
31089 ac_cpp='$CXXCPP $CPPFLAGS'
31090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31095 /* end confdefs.h. */
31096 #include <math.h>
31097 #ifdef HAVE_IEEEFP_H
31098 #include <ieeefp.h>
31099 #endif
31102 main ()
31104 _isnanl(0);
31106 return 0;
31108 _ACEOF
31109 if ac_fn_cxx_try_compile "$LINENO"; then :
31110 glibcxx_cv_func__isnanl_use=yes
31111 else
31112 glibcxx_cv_func__isnanl_use=no
31114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31115 ac_ext=c
31116 ac_cpp='$CPP $CPPFLAGS'
31117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31126 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31128 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31129 for ac_func in _isnanl
31130 do :
31131 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31132 if test "x$ac_cv_func__isnanl" = x""yes; then :
31133 cat >>confdefs.h <<_ACEOF
31134 #define HAVE__ISNANL 1
31135 _ACEOF
31138 done
31147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31148 $as_echo_n "checking for isinfl declaration... " >&6; }
31149 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31150 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31151 $as_echo_n "(cached) " >&6
31152 else
31155 ac_ext=cpp
31156 ac_cpp='$CXXCPP $CPPFLAGS'
31157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31162 /* end confdefs.h. */
31163 #include <math.h>
31164 #ifdef HAVE_IEEEFP_H
31165 #include <ieeefp.h>
31166 #endif
31169 main ()
31171 isinfl(0);
31173 return 0;
31175 _ACEOF
31176 if ac_fn_cxx_try_compile "$LINENO"; then :
31177 glibcxx_cv_func_isinfl_use=yes
31178 else
31179 glibcxx_cv_func_isinfl_use=no
31181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31182 ac_ext=c
31183 ac_cpp='$CPP $CPPFLAGS'
31184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31193 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31195 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31196 for ac_func in isinfl
31197 do :
31198 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31199 if test "x$ac_cv_func_isinfl" = x""yes; then :
31200 cat >>confdefs.h <<_ACEOF
31201 #define HAVE_ISINFL 1
31202 _ACEOF
31205 done
31207 else
31209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31210 $as_echo_n "checking for _isinfl declaration... " >&6; }
31211 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31212 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31213 $as_echo_n "(cached) " >&6
31214 else
31217 ac_ext=cpp
31218 ac_cpp='$CXXCPP $CPPFLAGS'
31219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31224 /* end confdefs.h. */
31225 #include <math.h>
31226 #ifdef HAVE_IEEEFP_H
31227 #include <ieeefp.h>
31228 #endif
31231 main ()
31233 _isinfl(0);
31235 return 0;
31237 _ACEOF
31238 if ac_fn_cxx_try_compile "$LINENO"; then :
31239 glibcxx_cv_func__isinfl_use=yes
31240 else
31241 glibcxx_cv_func__isinfl_use=no
31243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31244 ac_ext=c
31245 ac_cpp='$CPP $CPPFLAGS'
31246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31255 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31257 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31258 for ac_func in _isinfl
31259 do :
31260 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31261 if test "x$ac_cv_func__isinfl" = x""yes; then :
31262 cat >>confdefs.h <<_ACEOF
31263 #define HAVE__ISINFL 1
31264 _ACEOF
31267 done
31276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31277 $as_echo_n "checking for atan2l declaration... " >&6; }
31278 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31279 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31280 $as_echo_n "(cached) " >&6
31281 else
31284 ac_ext=cpp
31285 ac_cpp='$CXXCPP $CPPFLAGS'
31286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31291 /* end confdefs.h. */
31292 #include <math.h>
31294 main ()
31296 atan2l(0, 0);
31298 return 0;
31300 _ACEOF
31301 if ac_fn_cxx_try_compile "$LINENO"; then :
31302 glibcxx_cv_func_atan2l_use=yes
31303 else
31304 glibcxx_cv_func_atan2l_use=no
31306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31307 ac_ext=c
31308 ac_cpp='$CPP $CPPFLAGS'
31309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31318 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31320 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31321 for ac_func in atan2l
31322 do :
31323 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31324 if test "x$ac_cv_func_atan2l" = x""yes; then :
31325 cat >>confdefs.h <<_ACEOF
31326 #define HAVE_ATAN2L 1
31327 _ACEOF
31330 done
31332 else
31334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31335 $as_echo_n "checking for _atan2l declaration... " >&6; }
31336 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31337 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31338 $as_echo_n "(cached) " >&6
31339 else
31342 ac_ext=cpp
31343 ac_cpp='$CXXCPP $CPPFLAGS'
31344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31349 /* end confdefs.h. */
31350 #include <math.h>
31352 main ()
31354 _atan2l(0, 0);
31356 return 0;
31358 _ACEOF
31359 if ac_fn_cxx_try_compile "$LINENO"; then :
31360 glibcxx_cv_func__atan2l_use=yes
31361 else
31362 glibcxx_cv_func__atan2l_use=no
31364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31365 ac_ext=c
31366 ac_cpp='$CPP $CPPFLAGS'
31367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31376 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31378 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31379 for ac_func in _atan2l
31380 do :
31381 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31382 if test "x$ac_cv_func__atan2l" = x""yes; then :
31383 cat >>confdefs.h <<_ACEOF
31384 #define HAVE__ATAN2L 1
31385 _ACEOF
31388 done
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31398 $as_echo_n "checking for expl declaration... " >&6; }
31399 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31400 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31401 $as_echo_n "(cached) " >&6
31402 else
31405 ac_ext=cpp
31406 ac_cpp='$CXXCPP $CPPFLAGS'
31407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31412 /* end confdefs.h. */
31413 #include <math.h>
31414 #ifdef HAVE_IEEEFP_H
31415 #include <ieeefp.h>
31416 #endif
31419 main ()
31421 expl(0);
31423 return 0;
31425 _ACEOF
31426 if ac_fn_cxx_try_compile "$LINENO"; then :
31427 glibcxx_cv_func_expl_use=yes
31428 else
31429 glibcxx_cv_func_expl_use=no
31431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31432 ac_ext=c
31433 ac_cpp='$CPP $CPPFLAGS'
31434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31443 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31445 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31446 for ac_func in expl
31447 do :
31448 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31449 if test "x$ac_cv_func_expl" = x""yes; then :
31450 cat >>confdefs.h <<_ACEOF
31451 #define HAVE_EXPL 1
31452 _ACEOF
31455 done
31457 else
31459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31460 $as_echo_n "checking for _expl declaration... " >&6; }
31461 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31462 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31463 $as_echo_n "(cached) " >&6
31464 else
31467 ac_ext=cpp
31468 ac_cpp='$CXXCPP $CPPFLAGS'
31469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31474 /* end confdefs.h. */
31475 #include <math.h>
31476 #ifdef HAVE_IEEEFP_H
31477 #include <ieeefp.h>
31478 #endif
31481 main ()
31483 _expl(0);
31485 return 0;
31487 _ACEOF
31488 if ac_fn_cxx_try_compile "$LINENO"; then :
31489 glibcxx_cv_func__expl_use=yes
31490 else
31491 glibcxx_cv_func__expl_use=no
31493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31494 ac_ext=c
31495 ac_cpp='$CPP $CPPFLAGS'
31496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31505 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31507 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31508 for ac_func in _expl
31509 do :
31510 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31511 if test "x$ac_cv_func__expl" = x""yes; then :
31512 cat >>confdefs.h <<_ACEOF
31513 #define HAVE__EXPL 1
31514 _ACEOF
31517 done
31526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31527 $as_echo_n "checking for fabsl declaration... " >&6; }
31528 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31529 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31530 $as_echo_n "(cached) " >&6
31531 else
31534 ac_ext=cpp
31535 ac_cpp='$CXXCPP $CPPFLAGS'
31536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31541 /* end confdefs.h. */
31542 #include <math.h>
31543 #ifdef HAVE_IEEEFP_H
31544 #include <ieeefp.h>
31545 #endif
31548 main ()
31550 fabsl(0);
31552 return 0;
31554 _ACEOF
31555 if ac_fn_cxx_try_compile "$LINENO"; then :
31556 glibcxx_cv_func_fabsl_use=yes
31557 else
31558 glibcxx_cv_func_fabsl_use=no
31560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31561 ac_ext=c
31562 ac_cpp='$CPP $CPPFLAGS'
31563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31572 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31574 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31575 for ac_func in fabsl
31576 do :
31577 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31578 if test "x$ac_cv_func_fabsl" = x""yes; then :
31579 cat >>confdefs.h <<_ACEOF
31580 #define HAVE_FABSL 1
31581 _ACEOF
31584 done
31586 else
31588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31589 $as_echo_n "checking for _fabsl declaration... " >&6; }
31590 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31591 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31592 $as_echo_n "(cached) " >&6
31593 else
31596 ac_ext=cpp
31597 ac_cpp='$CXXCPP $CPPFLAGS'
31598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31603 /* end confdefs.h. */
31604 #include <math.h>
31605 #ifdef HAVE_IEEEFP_H
31606 #include <ieeefp.h>
31607 #endif
31610 main ()
31612 _fabsl(0);
31614 return 0;
31616 _ACEOF
31617 if ac_fn_cxx_try_compile "$LINENO"; then :
31618 glibcxx_cv_func__fabsl_use=yes
31619 else
31620 glibcxx_cv_func__fabsl_use=no
31622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31623 ac_ext=c
31624 ac_cpp='$CPP $CPPFLAGS'
31625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31634 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31636 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31637 for ac_func in _fabsl
31638 do :
31639 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31640 if test "x$ac_cv_func__fabsl" = x""yes; then :
31641 cat >>confdefs.h <<_ACEOF
31642 #define HAVE__FABSL 1
31643 _ACEOF
31646 done
31655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31656 $as_echo_n "checking for fmodl declaration... " >&6; }
31657 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31658 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31659 $as_echo_n "(cached) " >&6
31660 else
31663 ac_ext=cpp
31664 ac_cpp='$CXXCPP $CPPFLAGS'
31665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31670 /* end confdefs.h. */
31671 #include <math.h>
31673 main ()
31675 fmodl(0, 0);
31677 return 0;
31679 _ACEOF
31680 if ac_fn_cxx_try_compile "$LINENO"; then :
31681 glibcxx_cv_func_fmodl_use=yes
31682 else
31683 glibcxx_cv_func_fmodl_use=no
31685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31686 ac_ext=c
31687 ac_cpp='$CPP $CPPFLAGS'
31688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31697 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31699 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31700 for ac_func in fmodl
31701 do :
31702 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31703 if test "x$ac_cv_func_fmodl" = x""yes; then :
31704 cat >>confdefs.h <<_ACEOF
31705 #define HAVE_FMODL 1
31706 _ACEOF
31709 done
31711 else
31713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31714 $as_echo_n "checking for _fmodl declaration... " >&6; }
31715 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31716 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31717 $as_echo_n "(cached) " >&6
31718 else
31721 ac_ext=cpp
31722 ac_cpp='$CXXCPP $CPPFLAGS'
31723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31728 /* end confdefs.h. */
31729 #include <math.h>
31731 main ()
31733 _fmodl(0, 0);
31735 return 0;
31737 _ACEOF
31738 if ac_fn_cxx_try_compile "$LINENO"; then :
31739 glibcxx_cv_func__fmodl_use=yes
31740 else
31741 glibcxx_cv_func__fmodl_use=no
31743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31744 ac_ext=c
31745 ac_cpp='$CPP $CPPFLAGS'
31746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31755 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31757 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31758 for ac_func in _fmodl
31759 do :
31760 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31761 if test "x$ac_cv_func__fmodl" = x""yes; then :
31762 cat >>confdefs.h <<_ACEOF
31763 #define HAVE__FMODL 1
31764 _ACEOF
31767 done
31776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31777 $as_echo_n "checking for frexpl declaration... " >&6; }
31778 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31779 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31780 $as_echo_n "(cached) " >&6
31781 else
31784 ac_ext=cpp
31785 ac_cpp='$CXXCPP $CPPFLAGS'
31786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31791 /* end confdefs.h. */
31792 #include <math.h>
31794 main ()
31796 frexpl(0, 0);
31798 return 0;
31800 _ACEOF
31801 if ac_fn_cxx_try_compile "$LINENO"; then :
31802 glibcxx_cv_func_frexpl_use=yes
31803 else
31804 glibcxx_cv_func_frexpl_use=no
31806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31807 ac_ext=c
31808 ac_cpp='$CPP $CPPFLAGS'
31809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31818 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31820 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31821 for ac_func in frexpl
31822 do :
31823 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31824 if test "x$ac_cv_func_frexpl" = x""yes; then :
31825 cat >>confdefs.h <<_ACEOF
31826 #define HAVE_FREXPL 1
31827 _ACEOF
31830 done
31832 else
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31835 $as_echo_n "checking for _frexpl declaration... " >&6; }
31836 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31837 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31838 $as_echo_n "(cached) " >&6
31839 else
31842 ac_ext=cpp
31843 ac_cpp='$CXXCPP $CPPFLAGS'
31844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31849 /* end confdefs.h. */
31850 #include <math.h>
31852 main ()
31854 _frexpl(0, 0);
31856 return 0;
31858 _ACEOF
31859 if ac_fn_cxx_try_compile "$LINENO"; then :
31860 glibcxx_cv_func__frexpl_use=yes
31861 else
31862 glibcxx_cv_func__frexpl_use=no
31864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31865 ac_ext=c
31866 ac_cpp='$CPP $CPPFLAGS'
31867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31876 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31878 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31879 for ac_func in _frexpl
31880 do :
31881 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31882 if test "x$ac_cv_func__frexpl" = x""yes; then :
31883 cat >>confdefs.h <<_ACEOF
31884 #define HAVE__FREXPL 1
31885 _ACEOF
31888 done
31897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31898 $as_echo_n "checking for hypotl declaration... " >&6; }
31899 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31900 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31901 $as_echo_n "(cached) " >&6
31902 else
31905 ac_ext=cpp
31906 ac_cpp='$CXXCPP $CPPFLAGS'
31907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31912 /* end confdefs.h. */
31913 #include <math.h>
31915 main ()
31917 hypotl(0, 0);
31919 return 0;
31921 _ACEOF
31922 if ac_fn_cxx_try_compile "$LINENO"; then :
31923 glibcxx_cv_func_hypotl_use=yes
31924 else
31925 glibcxx_cv_func_hypotl_use=no
31927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31928 ac_ext=c
31929 ac_cpp='$CPP $CPPFLAGS'
31930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31939 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31941 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31942 for ac_func in hypotl
31943 do :
31944 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31945 if test "x$ac_cv_func_hypotl" = x""yes; then :
31946 cat >>confdefs.h <<_ACEOF
31947 #define HAVE_HYPOTL 1
31948 _ACEOF
31951 done
31953 else
31955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31956 $as_echo_n "checking for _hypotl declaration... " >&6; }
31957 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31958 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31959 $as_echo_n "(cached) " >&6
31960 else
31963 ac_ext=cpp
31964 ac_cpp='$CXXCPP $CPPFLAGS'
31965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31970 /* end confdefs.h. */
31971 #include <math.h>
31973 main ()
31975 _hypotl(0, 0);
31977 return 0;
31979 _ACEOF
31980 if ac_fn_cxx_try_compile "$LINENO"; then :
31981 glibcxx_cv_func__hypotl_use=yes
31982 else
31983 glibcxx_cv_func__hypotl_use=no
31985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31986 ac_ext=c
31987 ac_cpp='$CPP $CPPFLAGS'
31988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31997 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31999 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32000 for ac_func in _hypotl
32001 do :
32002 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32003 if test "x$ac_cv_func__hypotl" = x""yes; then :
32004 cat >>confdefs.h <<_ACEOF
32005 #define HAVE__HYPOTL 1
32006 _ACEOF
32009 done
32018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32019 $as_echo_n "checking for ldexpl declaration... " >&6; }
32020 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32021 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32022 $as_echo_n "(cached) " >&6
32023 else
32026 ac_ext=cpp
32027 ac_cpp='$CXXCPP $CPPFLAGS'
32028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32033 /* end confdefs.h. */
32034 #include <math.h>
32036 main ()
32038 ldexpl(0, 0);
32040 return 0;
32042 _ACEOF
32043 if ac_fn_cxx_try_compile "$LINENO"; then :
32044 glibcxx_cv_func_ldexpl_use=yes
32045 else
32046 glibcxx_cv_func_ldexpl_use=no
32048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32049 ac_ext=c
32050 ac_cpp='$CPP $CPPFLAGS'
32051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32060 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32062 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32063 for ac_func in ldexpl
32064 do :
32065 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32066 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32067 cat >>confdefs.h <<_ACEOF
32068 #define HAVE_LDEXPL 1
32069 _ACEOF
32072 done
32074 else
32076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32077 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32078 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32079 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32080 $as_echo_n "(cached) " >&6
32081 else
32084 ac_ext=cpp
32085 ac_cpp='$CXXCPP $CPPFLAGS'
32086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32091 /* end confdefs.h. */
32092 #include <math.h>
32094 main ()
32096 _ldexpl(0, 0);
32098 return 0;
32100 _ACEOF
32101 if ac_fn_cxx_try_compile "$LINENO"; then :
32102 glibcxx_cv_func__ldexpl_use=yes
32103 else
32104 glibcxx_cv_func__ldexpl_use=no
32106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32107 ac_ext=c
32108 ac_cpp='$CPP $CPPFLAGS'
32109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32118 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32120 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32121 for ac_func in _ldexpl
32122 do :
32123 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32124 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32125 cat >>confdefs.h <<_ACEOF
32126 #define HAVE__LDEXPL 1
32127 _ACEOF
32130 done
32139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32140 $as_echo_n "checking for logl declaration... " >&6; }
32141 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32142 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32143 $as_echo_n "(cached) " >&6
32144 else
32147 ac_ext=cpp
32148 ac_cpp='$CXXCPP $CPPFLAGS'
32149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32154 /* end confdefs.h. */
32155 #include <math.h>
32156 #ifdef HAVE_IEEEFP_H
32157 #include <ieeefp.h>
32158 #endif
32161 main ()
32163 logl(0);
32165 return 0;
32167 _ACEOF
32168 if ac_fn_cxx_try_compile "$LINENO"; then :
32169 glibcxx_cv_func_logl_use=yes
32170 else
32171 glibcxx_cv_func_logl_use=no
32173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32174 ac_ext=c
32175 ac_cpp='$CPP $CPPFLAGS'
32176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32185 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32187 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32188 for ac_func in logl
32189 do :
32190 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32191 if test "x$ac_cv_func_logl" = x""yes; then :
32192 cat >>confdefs.h <<_ACEOF
32193 #define HAVE_LOGL 1
32194 _ACEOF
32197 done
32199 else
32201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32202 $as_echo_n "checking for _logl declaration... " >&6; }
32203 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32204 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32205 $as_echo_n "(cached) " >&6
32206 else
32209 ac_ext=cpp
32210 ac_cpp='$CXXCPP $CPPFLAGS'
32211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32216 /* end confdefs.h. */
32217 #include <math.h>
32218 #ifdef HAVE_IEEEFP_H
32219 #include <ieeefp.h>
32220 #endif
32223 main ()
32225 _logl(0);
32227 return 0;
32229 _ACEOF
32230 if ac_fn_cxx_try_compile "$LINENO"; then :
32231 glibcxx_cv_func__logl_use=yes
32232 else
32233 glibcxx_cv_func__logl_use=no
32235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32236 ac_ext=c
32237 ac_cpp='$CPP $CPPFLAGS'
32238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32247 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32249 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32250 for ac_func in _logl
32251 do :
32252 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32253 if test "x$ac_cv_func__logl" = x""yes; then :
32254 cat >>confdefs.h <<_ACEOF
32255 #define HAVE__LOGL 1
32256 _ACEOF
32259 done
32268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32269 $as_echo_n "checking for log10l declaration... " >&6; }
32270 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32271 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32272 $as_echo_n "(cached) " >&6
32273 else
32276 ac_ext=cpp
32277 ac_cpp='$CXXCPP $CPPFLAGS'
32278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32283 /* end confdefs.h. */
32284 #include <math.h>
32285 #ifdef HAVE_IEEEFP_H
32286 #include <ieeefp.h>
32287 #endif
32290 main ()
32292 log10l(0);
32294 return 0;
32296 _ACEOF
32297 if ac_fn_cxx_try_compile "$LINENO"; then :
32298 glibcxx_cv_func_log10l_use=yes
32299 else
32300 glibcxx_cv_func_log10l_use=no
32302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32303 ac_ext=c
32304 ac_cpp='$CPP $CPPFLAGS'
32305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32314 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32316 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32317 for ac_func in log10l
32318 do :
32319 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32320 if test "x$ac_cv_func_log10l" = x""yes; then :
32321 cat >>confdefs.h <<_ACEOF
32322 #define HAVE_LOG10L 1
32323 _ACEOF
32326 done
32328 else
32330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32331 $as_echo_n "checking for _log10l declaration... " >&6; }
32332 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32333 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32334 $as_echo_n "(cached) " >&6
32335 else
32338 ac_ext=cpp
32339 ac_cpp='$CXXCPP $CPPFLAGS'
32340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32345 /* end confdefs.h. */
32346 #include <math.h>
32347 #ifdef HAVE_IEEEFP_H
32348 #include <ieeefp.h>
32349 #endif
32352 main ()
32354 _log10l(0);
32356 return 0;
32358 _ACEOF
32359 if ac_fn_cxx_try_compile "$LINENO"; then :
32360 glibcxx_cv_func__log10l_use=yes
32361 else
32362 glibcxx_cv_func__log10l_use=no
32364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32365 ac_ext=c
32366 ac_cpp='$CPP $CPPFLAGS'
32367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32376 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32378 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32379 for ac_func in _log10l
32380 do :
32381 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32382 if test "x$ac_cv_func__log10l" = x""yes; then :
32383 cat >>confdefs.h <<_ACEOF
32384 #define HAVE__LOG10L 1
32385 _ACEOF
32388 done
32397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32398 $as_echo_n "checking for modfl declaration... " >&6; }
32399 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32400 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32401 $as_echo_n "(cached) " >&6
32402 else
32405 ac_ext=cpp
32406 ac_cpp='$CXXCPP $CPPFLAGS'
32407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32412 /* end confdefs.h. */
32413 #include <math.h>
32415 main ()
32417 modfl(0, 0);
32419 return 0;
32421 _ACEOF
32422 if ac_fn_cxx_try_compile "$LINENO"; then :
32423 glibcxx_cv_func_modfl_use=yes
32424 else
32425 glibcxx_cv_func_modfl_use=no
32427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32428 ac_ext=c
32429 ac_cpp='$CPP $CPPFLAGS'
32430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32439 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32441 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32442 for ac_func in modfl
32443 do :
32444 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32445 if test "x$ac_cv_func_modfl" = x""yes; then :
32446 cat >>confdefs.h <<_ACEOF
32447 #define HAVE_MODFL 1
32448 _ACEOF
32451 done
32453 else
32455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32456 $as_echo_n "checking for _modfl declaration... " >&6; }
32457 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32458 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32459 $as_echo_n "(cached) " >&6
32460 else
32463 ac_ext=cpp
32464 ac_cpp='$CXXCPP $CPPFLAGS'
32465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32470 /* end confdefs.h. */
32471 #include <math.h>
32473 main ()
32475 _modfl(0, 0);
32477 return 0;
32479 _ACEOF
32480 if ac_fn_cxx_try_compile "$LINENO"; then :
32481 glibcxx_cv_func__modfl_use=yes
32482 else
32483 glibcxx_cv_func__modfl_use=no
32485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32486 ac_ext=c
32487 ac_cpp='$CPP $CPPFLAGS'
32488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32497 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32499 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32500 for ac_func in _modfl
32501 do :
32502 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32503 if test "x$ac_cv_func__modfl" = x""yes; then :
32504 cat >>confdefs.h <<_ACEOF
32505 #define HAVE__MODFL 1
32506 _ACEOF
32509 done
32518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32519 $as_echo_n "checking for powl declaration... " >&6; }
32520 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32521 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32522 $as_echo_n "(cached) " >&6
32523 else
32526 ac_ext=cpp
32527 ac_cpp='$CXXCPP $CPPFLAGS'
32528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32533 /* end confdefs.h. */
32534 #include <math.h>
32536 main ()
32538 powl(0, 0);
32540 return 0;
32542 _ACEOF
32543 if ac_fn_cxx_try_compile "$LINENO"; then :
32544 glibcxx_cv_func_powl_use=yes
32545 else
32546 glibcxx_cv_func_powl_use=no
32548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32549 ac_ext=c
32550 ac_cpp='$CPP $CPPFLAGS'
32551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32560 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32562 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32563 for ac_func in powl
32564 do :
32565 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32566 if test "x$ac_cv_func_powl" = x""yes; then :
32567 cat >>confdefs.h <<_ACEOF
32568 #define HAVE_POWL 1
32569 _ACEOF
32572 done
32574 else
32576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32577 $as_echo_n "checking for _powl declaration... " >&6; }
32578 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32579 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32580 $as_echo_n "(cached) " >&6
32581 else
32584 ac_ext=cpp
32585 ac_cpp='$CXXCPP $CPPFLAGS'
32586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32591 /* end confdefs.h. */
32592 #include <math.h>
32594 main ()
32596 _powl(0, 0);
32598 return 0;
32600 _ACEOF
32601 if ac_fn_cxx_try_compile "$LINENO"; then :
32602 glibcxx_cv_func__powl_use=yes
32603 else
32604 glibcxx_cv_func__powl_use=no
32606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32607 ac_ext=c
32608 ac_cpp='$CPP $CPPFLAGS'
32609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32618 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32620 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32621 for ac_func in _powl
32622 do :
32623 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32624 if test "x$ac_cv_func__powl" = x""yes; then :
32625 cat >>confdefs.h <<_ACEOF
32626 #define HAVE__POWL 1
32627 _ACEOF
32630 done
32639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32640 $as_echo_n "checking for sqrtl declaration... " >&6; }
32641 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32642 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32643 $as_echo_n "(cached) " >&6
32644 else
32647 ac_ext=cpp
32648 ac_cpp='$CXXCPP $CPPFLAGS'
32649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32654 /* end confdefs.h. */
32655 #include <math.h>
32656 #ifdef HAVE_IEEEFP_H
32657 #include <ieeefp.h>
32658 #endif
32661 main ()
32663 sqrtl(0);
32665 return 0;
32667 _ACEOF
32668 if ac_fn_cxx_try_compile "$LINENO"; then :
32669 glibcxx_cv_func_sqrtl_use=yes
32670 else
32671 glibcxx_cv_func_sqrtl_use=no
32673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32674 ac_ext=c
32675 ac_cpp='$CPP $CPPFLAGS'
32676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32685 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32687 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32688 for ac_func in sqrtl
32689 do :
32690 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32691 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32692 cat >>confdefs.h <<_ACEOF
32693 #define HAVE_SQRTL 1
32694 _ACEOF
32697 done
32699 else
32701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32702 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32703 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32704 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32705 $as_echo_n "(cached) " >&6
32706 else
32709 ac_ext=cpp
32710 ac_cpp='$CXXCPP $CPPFLAGS'
32711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32716 /* end confdefs.h. */
32717 #include <math.h>
32718 #ifdef HAVE_IEEEFP_H
32719 #include <ieeefp.h>
32720 #endif
32723 main ()
32725 _sqrtl(0);
32727 return 0;
32729 _ACEOF
32730 if ac_fn_cxx_try_compile "$LINENO"; then :
32731 glibcxx_cv_func__sqrtl_use=yes
32732 else
32733 glibcxx_cv_func__sqrtl_use=no
32735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32736 ac_ext=c
32737 ac_cpp='$CPP $CPPFLAGS'
32738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32747 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32749 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32750 for ac_func in _sqrtl
32751 do :
32752 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32753 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32754 cat >>confdefs.h <<_ACEOF
32755 #define HAVE__SQRTL 1
32756 _ACEOF
32759 done
32768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32769 $as_echo_n "checking for sincosl declaration... " >&6; }
32770 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32771 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32772 $as_echo_n "(cached) " >&6
32773 else
32776 ac_ext=cpp
32777 ac_cpp='$CXXCPP $CPPFLAGS'
32778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32783 /* end confdefs.h. */
32784 #include <math.h>
32786 main ()
32788 sincosl(0, 0, 0);
32790 return 0;
32792 _ACEOF
32793 if ac_fn_cxx_try_compile "$LINENO"; then :
32794 glibcxx_cv_func_sincosl_use=yes
32795 else
32796 glibcxx_cv_func_sincosl_use=no
32798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32799 ac_ext=c
32800 ac_cpp='$CPP $CPPFLAGS'
32801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32810 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32812 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32813 for ac_func in sincosl
32814 do :
32815 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32816 if test "x$ac_cv_func_sincosl" = x""yes; then :
32817 cat >>confdefs.h <<_ACEOF
32818 #define HAVE_SINCOSL 1
32819 _ACEOF
32822 done
32824 else
32826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32827 $as_echo_n "checking for _sincosl declaration... " >&6; }
32828 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32829 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32830 $as_echo_n "(cached) " >&6
32831 else
32834 ac_ext=cpp
32835 ac_cpp='$CXXCPP $CPPFLAGS'
32836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32841 /* end confdefs.h. */
32842 #include <math.h>
32844 main ()
32846 _sincosl(0, 0, 0);
32848 return 0;
32850 _ACEOF
32851 if ac_fn_cxx_try_compile "$LINENO"; then :
32852 glibcxx_cv_func__sincosl_use=yes
32853 else
32854 glibcxx_cv_func__sincosl_use=no
32856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32857 ac_ext=c
32858 ac_cpp='$CPP $CPPFLAGS'
32859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32868 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32870 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32871 for ac_func in _sincosl
32872 do :
32873 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32874 if test "x$ac_cv_func__sincosl" = x""yes; then :
32875 cat >>confdefs.h <<_ACEOF
32876 #define HAVE__SINCOSL 1
32877 _ACEOF
32880 done
32889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32890 $as_echo_n "checking for finitel declaration... " >&6; }
32891 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32892 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32893 $as_echo_n "(cached) " >&6
32894 else
32897 ac_ext=cpp
32898 ac_cpp='$CXXCPP $CPPFLAGS'
32899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32904 /* end confdefs.h. */
32905 #include <math.h>
32906 #ifdef HAVE_IEEEFP_H
32907 #include <ieeefp.h>
32908 #endif
32911 main ()
32913 finitel(0);
32915 return 0;
32917 _ACEOF
32918 if ac_fn_cxx_try_compile "$LINENO"; then :
32919 glibcxx_cv_func_finitel_use=yes
32920 else
32921 glibcxx_cv_func_finitel_use=no
32923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32924 ac_ext=c
32925 ac_cpp='$CPP $CPPFLAGS'
32926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32935 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32937 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32938 for ac_func in finitel
32939 do :
32940 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32941 if test "x$ac_cv_func_finitel" = x""yes; then :
32942 cat >>confdefs.h <<_ACEOF
32943 #define HAVE_FINITEL 1
32944 _ACEOF
32947 done
32949 else
32951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32952 $as_echo_n "checking for _finitel declaration... " >&6; }
32953 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32954 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32955 $as_echo_n "(cached) " >&6
32956 else
32959 ac_ext=cpp
32960 ac_cpp='$CXXCPP $CPPFLAGS'
32961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32966 /* end confdefs.h. */
32967 #include <math.h>
32968 #ifdef HAVE_IEEEFP_H
32969 #include <ieeefp.h>
32970 #endif
32973 main ()
32975 _finitel(0);
32977 return 0;
32979 _ACEOF
32980 if ac_fn_cxx_try_compile "$LINENO"; then :
32981 glibcxx_cv_func__finitel_use=yes
32982 else
32983 glibcxx_cv_func__finitel_use=no
32985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32986 ac_ext=c
32987 ac_cpp='$CPP $CPPFLAGS'
32988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32997 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32999 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33000 for ac_func in _finitel
33001 do :
33002 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33003 if test "x$ac_cv_func__finitel" = x""yes; then :
33004 cat >>confdefs.h <<_ACEOF
33005 #define HAVE__FINITEL 1
33006 _ACEOF
33009 done
33017 LIBS="$ac_save_LIBS"
33018 CXXFLAGS="$ac_save_CXXFLAGS"
33021 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33022 ac_save_CXXFLAGS="$CXXFLAGS"
33023 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33027 $as_echo_n "checking for strtold declaration... " >&6; }
33028 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33029 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33030 $as_echo_n "(cached) " >&6
33031 else
33034 ac_ext=cpp
33035 ac_cpp='$CXXCPP $CPPFLAGS'
33036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33041 /* end confdefs.h. */
33042 #include <stdlib.h>
33044 main ()
33046 strtold(0, 0);
33048 return 0;
33050 _ACEOF
33051 if ac_fn_cxx_try_compile "$LINENO"; then :
33052 glibcxx_cv_func_strtold_use=yes
33053 else
33054 glibcxx_cv_func_strtold_use=no
33056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33057 ac_ext=c
33058 ac_cpp='$CPP $CPPFLAGS'
33059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33068 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33069 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33070 for ac_func in strtold
33071 do :
33072 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33073 if test "x$ac_cv_func_strtold" = x""yes; then :
33074 cat >>confdefs.h <<_ACEOF
33075 #define HAVE_STRTOLD 1
33076 _ACEOF
33079 done
33086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33087 $as_echo_n "checking for strtof declaration... " >&6; }
33088 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33089 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33090 $as_echo_n "(cached) " >&6
33091 else
33094 ac_ext=cpp
33095 ac_cpp='$CXXCPP $CPPFLAGS'
33096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33101 /* end confdefs.h. */
33102 #include <stdlib.h>
33104 main ()
33106 strtof(0, 0);
33108 return 0;
33110 _ACEOF
33111 if ac_fn_cxx_try_compile "$LINENO"; then :
33112 glibcxx_cv_func_strtof_use=yes
33113 else
33114 glibcxx_cv_func_strtof_use=no
33116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33117 ac_ext=c
33118 ac_cpp='$CPP $CPPFLAGS'
33119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33128 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33129 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33130 for ac_func in strtof
33131 do :
33132 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33133 if test "x$ac_cv_func_strtof" = x""yes; then :
33134 cat >>confdefs.h <<_ACEOF
33135 #define HAVE_STRTOF 1
33136 _ACEOF
33139 done
33146 CXXFLAGS="$ac_save_CXXFLAGS"
33149 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33151 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33153 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33155 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33158 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33160 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33162 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33166 *-aix*)
33168 # If we're not using GNU ld, then there's no point in even trying these
33169 # tests. Check for that first. We should have already tested for gld
33170 # by now (in libtool), but require it now just to be safe...
33171 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33172 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33176 # The name set by libtool depends on the version of libtool. Shame on us
33177 # for depending on an impl detail, but c'est la vie. Older versions used
33178 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33179 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33180 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33181 # set (hence we're using an older libtool), then set it.
33182 if test x${with_gnu_ld+set} != xset; then
33183 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33184 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33185 with_gnu_ld=no
33186 else
33187 with_gnu_ld=$ac_cv_prog_gnu_ld
33191 # Start by getting the version number. I think the libtool test already
33192 # does some of this, but throws away the result.
33193 glibcxx_ld_is_gold=no
33194 if test x"$with_gnu_ld" = x"yes"; then
33195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33196 $as_echo_n "checking for ld version... " >&6; }
33198 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33199 glibcxx_ld_is_gold=yes
33201 ldver=`$LD --version 2>/dev/null |
33202 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'`
33204 glibcxx_gnu_ld_version=`echo $ldver | \
33205 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33207 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33210 # Set --gc-sections.
33211 glibcxx_have_gc_sections=no
33212 if test "$glibcxx_ld_is_gold" = "yes"; then
33213 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33214 glibcxx_have_gc_sections=yes
33216 else
33217 glibcxx_gcsections_min_ld=21602
33218 if test x"$with_gnu_ld" = x"yes" &&
33219 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33220 glibcxx_have_gc_sections=yes
33223 if test "$glibcxx_have_gc_sections" = "yes"; then
33224 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33225 # NB: This flag only works reliably after 2.16.1. Configure tests
33226 # for this are difficult, so hard wire a value that should work.
33228 ac_test_CFLAGS="${CFLAGS+set}"
33229 ac_save_CFLAGS="$CFLAGS"
33230 CFLAGS='-Wl,--gc-sections'
33232 # Check for -Wl,--gc-sections
33233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33234 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33235 if test x$gcc_no_link = xyes; then
33236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33239 /* end confdefs.h. */
33240 int one(void) { return 1; }
33241 int two(void) { return 2; }
33244 main ()
33246 two();
33248 return 0;
33250 _ACEOF
33251 if ac_fn_c_try_link "$LINENO"; then :
33252 ac_gcsections=yes
33253 else
33254 ac_gcsections=no
33256 rm -f core conftest.err conftest.$ac_objext \
33257 conftest$ac_exeext conftest.$ac_ext
33258 if test "$ac_gcsections" = "yes"; then
33259 rm -f conftest.c
33260 touch conftest.c
33261 if $CC -c conftest.c; then
33262 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33263 grep "Warning: gc-sections option ignored" > /dev/null; then
33264 ac_gcsections=no
33267 rm -f conftest.c conftest.o conftest
33269 if test "$ac_gcsections" = "yes"; then
33270 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33273 $as_echo "$ac_gcsections" >&6; }
33275 if test "$ac_test_CFLAGS" = set; then
33276 CFLAGS="$ac_save_CFLAGS"
33277 else
33278 # this is the suspicious part
33279 CFLAGS=''
33283 # Set -z,relro.
33284 # Note this is only for shared objects.
33285 ac_ld_relro=no
33286 if test x"$with_gnu_ld" = x"yes"; then
33287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33288 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33289 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33290 if test -n "$cxx_z_relo"; then
33291 OPT_LDFLAGS="-Wl,-z,relro"
33292 ac_ld_relro=yes
33294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33295 $as_echo "$ac_ld_relro" >&6; }
33298 # Set linker optimization flags.
33299 if test x"$with_gnu_ld" = x"yes"; then
33300 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33307 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33308 ac_save_CXXFLAGS="$CXXFLAGS"
33309 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33312 $as_echo_n "checking for sin in -lm... " >&6; }
33313 if test "${ac_cv_lib_m_sin+set}" = set; then :
33314 $as_echo_n "(cached) " >&6
33315 else
33316 ac_check_lib_save_LIBS=$LIBS
33317 LIBS="-lm $LIBS"
33318 if test x$gcc_no_link = xyes; then
33319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33322 /* end confdefs.h. */
33324 /* Override any GCC internal prototype to avoid an error.
33325 Use char because int might match the return type of a GCC
33326 builtin and then its argument prototype would still apply. */
33327 #ifdef __cplusplus
33328 extern "C"
33329 #endif
33330 char sin ();
33332 main ()
33334 return sin ();
33336 return 0;
33338 _ACEOF
33339 if ac_fn_c_try_link "$LINENO"; then :
33340 ac_cv_lib_m_sin=yes
33341 else
33342 ac_cv_lib_m_sin=no
33344 rm -f core conftest.err conftest.$ac_objext \
33345 conftest$ac_exeext conftest.$ac_ext
33346 LIBS=$ac_check_lib_save_LIBS
33348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33349 $as_echo "$ac_cv_lib_m_sin" >&6; }
33350 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33351 libm="-lm"
33354 ac_save_LIBS="$LIBS"
33355 LIBS="$LIBS $libm"
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33360 $as_echo_n "checking for isinf declaration... " >&6; }
33361 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33362 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33363 $as_echo_n "(cached) " >&6
33364 else
33367 ac_ext=cpp
33368 ac_cpp='$CXXCPP $CPPFLAGS'
33369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33374 /* end confdefs.h. */
33375 #include <math.h>
33376 #ifdef HAVE_IEEEFP_H
33377 #include <ieeefp.h>
33378 #endif
33381 main ()
33383 isinf(0);
33385 return 0;
33387 _ACEOF
33388 if ac_fn_cxx_try_compile "$LINENO"; then :
33389 glibcxx_cv_func_isinf_use=yes
33390 else
33391 glibcxx_cv_func_isinf_use=no
33393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33394 ac_ext=c
33395 ac_cpp='$CPP $CPPFLAGS'
33396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33405 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33407 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33408 for ac_func in isinf
33409 do :
33410 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33411 if test "x$ac_cv_func_isinf" = x""yes; then :
33412 cat >>confdefs.h <<_ACEOF
33413 #define HAVE_ISINF 1
33414 _ACEOF
33417 done
33419 else
33421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33422 $as_echo_n "checking for _isinf declaration... " >&6; }
33423 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33424 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33425 $as_echo_n "(cached) " >&6
33426 else
33429 ac_ext=cpp
33430 ac_cpp='$CXXCPP $CPPFLAGS'
33431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33436 /* end confdefs.h. */
33437 #include <math.h>
33438 #ifdef HAVE_IEEEFP_H
33439 #include <ieeefp.h>
33440 #endif
33443 main ()
33445 _isinf(0);
33447 return 0;
33449 _ACEOF
33450 if ac_fn_cxx_try_compile "$LINENO"; then :
33451 glibcxx_cv_func__isinf_use=yes
33452 else
33453 glibcxx_cv_func__isinf_use=no
33455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33456 ac_ext=c
33457 ac_cpp='$CPP $CPPFLAGS'
33458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33467 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33469 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33470 for ac_func in _isinf
33471 do :
33472 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33473 if test "x$ac_cv_func__isinf" = x""yes; then :
33474 cat >>confdefs.h <<_ACEOF
33475 #define HAVE__ISINF 1
33476 _ACEOF
33479 done
33488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33489 $as_echo_n "checking for isnan declaration... " >&6; }
33490 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33491 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33492 $as_echo_n "(cached) " >&6
33493 else
33496 ac_ext=cpp
33497 ac_cpp='$CXXCPP $CPPFLAGS'
33498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33503 /* end confdefs.h. */
33504 #include <math.h>
33505 #ifdef HAVE_IEEEFP_H
33506 #include <ieeefp.h>
33507 #endif
33510 main ()
33512 isnan(0);
33514 return 0;
33516 _ACEOF
33517 if ac_fn_cxx_try_compile "$LINENO"; then :
33518 glibcxx_cv_func_isnan_use=yes
33519 else
33520 glibcxx_cv_func_isnan_use=no
33522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33523 ac_ext=c
33524 ac_cpp='$CPP $CPPFLAGS'
33525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33534 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33536 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33537 for ac_func in isnan
33538 do :
33539 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33540 if test "x$ac_cv_func_isnan" = x""yes; then :
33541 cat >>confdefs.h <<_ACEOF
33542 #define HAVE_ISNAN 1
33543 _ACEOF
33546 done
33548 else
33550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33551 $as_echo_n "checking for _isnan declaration... " >&6; }
33552 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33553 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33554 $as_echo_n "(cached) " >&6
33555 else
33558 ac_ext=cpp
33559 ac_cpp='$CXXCPP $CPPFLAGS'
33560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33565 /* end confdefs.h. */
33566 #include <math.h>
33567 #ifdef HAVE_IEEEFP_H
33568 #include <ieeefp.h>
33569 #endif
33572 main ()
33574 _isnan(0);
33576 return 0;
33578 _ACEOF
33579 if ac_fn_cxx_try_compile "$LINENO"; then :
33580 glibcxx_cv_func__isnan_use=yes
33581 else
33582 glibcxx_cv_func__isnan_use=no
33584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33585 ac_ext=c
33586 ac_cpp='$CPP $CPPFLAGS'
33587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33596 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33598 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33599 for ac_func in _isnan
33600 do :
33601 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33602 if test "x$ac_cv_func__isnan" = x""yes; then :
33603 cat >>confdefs.h <<_ACEOF
33604 #define HAVE__ISNAN 1
33605 _ACEOF
33608 done
33617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33618 $as_echo_n "checking for finite declaration... " >&6; }
33619 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33620 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33621 $as_echo_n "(cached) " >&6
33622 else
33625 ac_ext=cpp
33626 ac_cpp='$CXXCPP $CPPFLAGS'
33627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33632 /* end confdefs.h. */
33633 #include <math.h>
33634 #ifdef HAVE_IEEEFP_H
33635 #include <ieeefp.h>
33636 #endif
33639 main ()
33641 finite(0);
33643 return 0;
33645 _ACEOF
33646 if ac_fn_cxx_try_compile "$LINENO"; then :
33647 glibcxx_cv_func_finite_use=yes
33648 else
33649 glibcxx_cv_func_finite_use=no
33651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33652 ac_ext=c
33653 ac_cpp='$CPP $CPPFLAGS'
33654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33663 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33665 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33666 for ac_func in finite
33667 do :
33668 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33669 if test "x$ac_cv_func_finite" = x""yes; then :
33670 cat >>confdefs.h <<_ACEOF
33671 #define HAVE_FINITE 1
33672 _ACEOF
33675 done
33677 else
33679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33680 $as_echo_n "checking for _finite declaration... " >&6; }
33681 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33682 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33683 $as_echo_n "(cached) " >&6
33684 else
33687 ac_ext=cpp
33688 ac_cpp='$CXXCPP $CPPFLAGS'
33689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33694 /* end confdefs.h. */
33695 #include <math.h>
33696 #ifdef HAVE_IEEEFP_H
33697 #include <ieeefp.h>
33698 #endif
33701 main ()
33703 _finite(0);
33705 return 0;
33707 _ACEOF
33708 if ac_fn_cxx_try_compile "$LINENO"; then :
33709 glibcxx_cv_func__finite_use=yes
33710 else
33711 glibcxx_cv_func__finite_use=no
33713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33714 ac_ext=c
33715 ac_cpp='$CPP $CPPFLAGS'
33716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33725 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33727 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33728 for ac_func in _finite
33729 do :
33730 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33731 if test "x$ac_cv_func__finite" = x""yes; then :
33732 cat >>confdefs.h <<_ACEOF
33733 #define HAVE__FINITE 1
33734 _ACEOF
33737 done
33746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33747 $as_echo_n "checking for sincos declaration... " >&6; }
33748 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33749 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33750 $as_echo_n "(cached) " >&6
33751 else
33754 ac_ext=cpp
33755 ac_cpp='$CXXCPP $CPPFLAGS'
33756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33761 /* end confdefs.h. */
33762 #include <math.h>
33764 main ()
33766 sincos(0, 0, 0);
33768 return 0;
33770 _ACEOF
33771 if ac_fn_cxx_try_compile "$LINENO"; then :
33772 glibcxx_cv_func_sincos_use=yes
33773 else
33774 glibcxx_cv_func_sincos_use=no
33776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33777 ac_ext=c
33778 ac_cpp='$CPP $CPPFLAGS'
33779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33788 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33790 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33791 for ac_func in sincos
33792 do :
33793 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33794 if test "x$ac_cv_func_sincos" = x""yes; then :
33795 cat >>confdefs.h <<_ACEOF
33796 #define HAVE_SINCOS 1
33797 _ACEOF
33800 done
33802 else
33804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33805 $as_echo_n "checking for _sincos declaration... " >&6; }
33806 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33807 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33808 $as_echo_n "(cached) " >&6
33809 else
33812 ac_ext=cpp
33813 ac_cpp='$CXXCPP $CPPFLAGS'
33814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33819 /* end confdefs.h. */
33820 #include <math.h>
33822 main ()
33824 _sincos(0, 0, 0);
33826 return 0;
33828 _ACEOF
33829 if ac_fn_cxx_try_compile "$LINENO"; then :
33830 glibcxx_cv_func__sincos_use=yes
33831 else
33832 glibcxx_cv_func__sincos_use=no
33834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33835 ac_ext=c
33836 ac_cpp='$CPP $CPPFLAGS'
33837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33846 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33848 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33849 for ac_func in _sincos
33850 do :
33851 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33852 if test "x$ac_cv_func__sincos" = x""yes; then :
33853 cat >>confdefs.h <<_ACEOF
33854 #define HAVE__SINCOS 1
33855 _ACEOF
33858 done
33867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33868 $as_echo_n "checking for fpclass declaration... " >&6; }
33869 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33870 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33871 $as_echo_n "(cached) " >&6
33872 else
33875 ac_ext=cpp
33876 ac_cpp='$CXXCPP $CPPFLAGS'
33877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33882 /* end confdefs.h. */
33883 #include <math.h>
33884 #ifdef HAVE_IEEEFP_H
33885 #include <ieeefp.h>
33886 #endif
33889 main ()
33891 fpclass(0);
33893 return 0;
33895 _ACEOF
33896 if ac_fn_cxx_try_compile "$LINENO"; then :
33897 glibcxx_cv_func_fpclass_use=yes
33898 else
33899 glibcxx_cv_func_fpclass_use=no
33901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33902 ac_ext=c
33903 ac_cpp='$CPP $CPPFLAGS'
33904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33913 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33915 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33916 for ac_func in fpclass
33917 do :
33918 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33919 if test "x$ac_cv_func_fpclass" = x""yes; then :
33920 cat >>confdefs.h <<_ACEOF
33921 #define HAVE_FPCLASS 1
33922 _ACEOF
33925 done
33927 else
33929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33930 $as_echo_n "checking for _fpclass declaration... " >&6; }
33931 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33932 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33933 $as_echo_n "(cached) " >&6
33934 else
33937 ac_ext=cpp
33938 ac_cpp='$CXXCPP $CPPFLAGS'
33939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33944 /* end confdefs.h. */
33945 #include <math.h>
33946 #ifdef HAVE_IEEEFP_H
33947 #include <ieeefp.h>
33948 #endif
33951 main ()
33953 _fpclass(0);
33955 return 0;
33957 _ACEOF
33958 if ac_fn_cxx_try_compile "$LINENO"; then :
33959 glibcxx_cv_func__fpclass_use=yes
33960 else
33961 glibcxx_cv_func__fpclass_use=no
33963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33964 ac_ext=c
33965 ac_cpp='$CPP $CPPFLAGS'
33966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33975 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33977 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33978 for ac_func in _fpclass
33979 do :
33980 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33981 if test "x$ac_cv_func__fpclass" = x""yes; then :
33982 cat >>confdefs.h <<_ACEOF
33983 #define HAVE__FPCLASS 1
33984 _ACEOF
33987 done
33996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33997 $as_echo_n "checking for qfpclass declaration... " >&6; }
33998 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33999 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34000 $as_echo_n "(cached) " >&6
34001 else
34004 ac_ext=cpp
34005 ac_cpp='$CXXCPP $CPPFLAGS'
34006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34011 /* end confdefs.h. */
34012 #include <math.h>
34013 #ifdef HAVE_IEEEFP_H
34014 #include <ieeefp.h>
34015 #endif
34018 main ()
34020 qfpclass(0);
34022 return 0;
34024 _ACEOF
34025 if ac_fn_cxx_try_compile "$LINENO"; then :
34026 glibcxx_cv_func_qfpclass_use=yes
34027 else
34028 glibcxx_cv_func_qfpclass_use=no
34030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34031 ac_ext=c
34032 ac_cpp='$CPP $CPPFLAGS'
34033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34042 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34044 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34045 for ac_func in qfpclass
34046 do :
34047 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34048 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34049 cat >>confdefs.h <<_ACEOF
34050 #define HAVE_QFPCLASS 1
34051 _ACEOF
34054 done
34056 else
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34059 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34060 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34061 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34062 $as_echo_n "(cached) " >&6
34063 else
34066 ac_ext=cpp
34067 ac_cpp='$CXXCPP $CPPFLAGS'
34068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34073 /* end confdefs.h. */
34074 #include <math.h>
34075 #ifdef HAVE_IEEEFP_H
34076 #include <ieeefp.h>
34077 #endif
34080 main ()
34082 _qfpclass(0);
34084 return 0;
34086 _ACEOF
34087 if ac_fn_cxx_try_compile "$LINENO"; then :
34088 glibcxx_cv_func__qfpclass_use=yes
34089 else
34090 glibcxx_cv_func__qfpclass_use=no
34092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34093 ac_ext=c
34094 ac_cpp='$CPP $CPPFLAGS'
34095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34104 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34106 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34107 for ac_func in _qfpclass
34108 do :
34109 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34110 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34111 cat >>confdefs.h <<_ACEOF
34112 #define HAVE__QFPCLASS 1
34113 _ACEOF
34116 done
34125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34126 $as_echo_n "checking for hypot declaration... " >&6; }
34127 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34128 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34129 $as_echo_n "(cached) " >&6
34130 else
34133 ac_ext=cpp
34134 ac_cpp='$CXXCPP $CPPFLAGS'
34135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34140 /* end confdefs.h. */
34141 #include <math.h>
34143 main ()
34145 hypot(0, 0);
34147 return 0;
34149 _ACEOF
34150 if ac_fn_cxx_try_compile "$LINENO"; then :
34151 glibcxx_cv_func_hypot_use=yes
34152 else
34153 glibcxx_cv_func_hypot_use=no
34155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34156 ac_ext=c
34157 ac_cpp='$CPP $CPPFLAGS'
34158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34167 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34169 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34170 for ac_func in hypot
34171 do :
34172 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34173 if test "x$ac_cv_func_hypot" = x""yes; then :
34174 cat >>confdefs.h <<_ACEOF
34175 #define HAVE_HYPOT 1
34176 _ACEOF
34179 done
34181 else
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34184 $as_echo_n "checking for _hypot declaration... " >&6; }
34185 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34186 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34187 $as_echo_n "(cached) " >&6
34188 else
34191 ac_ext=cpp
34192 ac_cpp='$CXXCPP $CPPFLAGS'
34193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34198 /* end confdefs.h. */
34199 #include <math.h>
34201 main ()
34203 _hypot(0, 0);
34205 return 0;
34207 _ACEOF
34208 if ac_fn_cxx_try_compile "$LINENO"; then :
34209 glibcxx_cv_func__hypot_use=yes
34210 else
34211 glibcxx_cv_func__hypot_use=no
34213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34214 ac_ext=c
34215 ac_cpp='$CPP $CPPFLAGS'
34216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34225 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34227 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34228 for ac_func in _hypot
34229 do :
34230 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34231 if test "x$ac_cv_func__hypot" = x""yes; then :
34232 cat >>confdefs.h <<_ACEOF
34233 #define HAVE__HYPOT 1
34234 _ACEOF
34237 done
34246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34247 $as_echo_n "checking for float trig functions... " >&6; }
34248 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34249 $as_echo_n "(cached) " >&6
34250 else
34253 ac_ext=cpp
34254 ac_cpp='$CXXCPP $CPPFLAGS'
34255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34260 /* end confdefs.h. */
34261 #include <math.h>
34263 main ()
34265 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34267 return 0;
34269 _ACEOF
34270 if ac_fn_cxx_try_compile "$LINENO"; then :
34271 glibcxx_cv_func_float_trig_use=yes
34272 else
34273 glibcxx_cv_func_float_trig_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
34284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34285 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34286 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34287 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34288 do :
34289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34290 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34291 eval as_val=\$$as_ac_var
34292 if test "x$as_val" = x""yes; then :
34293 cat >>confdefs.h <<_ACEOF
34294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34295 _ACEOF
34298 done
34300 else
34301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34302 $as_echo_n "checking for _float trig functions... " >&6; }
34303 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34304 $as_echo_n "(cached) " >&6
34305 else
34308 ac_ext=cpp
34309 ac_cpp='$CXXCPP $CPPFLAGS'
34310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34315 /* end confdefs.h. */
34316 #include <math.h>
34318 main ()
34320 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34322 return 0;
34324 _ACEOF
34325 if ac_fn_cxx_try_compile "$LINENO"; then :
34326 glibcxx_cv_func__float_trig_use=yes
34327 else
34328 glibcxx_cv_func__float_trig_use=no
34330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34331 ac_ext=c
34332 ac_cpp='$CPP $CPPFLAGS'
34333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34340 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34341 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34342 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34343 do :
34344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34346 eval as_val=\$$as_ac_var
34347 if test "x$as_val" = x""yes; then :
34348 cat >>confdefs.h <<_ACEOF
34349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34350 _ACEOF
34353 done
34362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34363 $as_echo_n "checking for float round functions... " >&6; }
34364 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34365 $as_echo_n "(cached) " >&6
34366 else
34369 ac_ext=cpp
34370 ac_cpp='$CXXCPP $CPPFLAGS'
34371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34376 /* end confdefs.h. */
34377 #include <math.h>
34379 main ()
34381 ceilf (0); floorf (0);
34383 return 0;
34385 _ACEOF
34386 if ac_fn_cxx_try_compile "$LINENO"; then :
34387 glibcxx_cv_func_float_round_use=yes
34388 else
34389 glibcxx_cv_func_float_round_use=no
34391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34392 ac_ext=c
34393 ac_cpp='$CPP $CPPFLAGS'
34394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34401 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34402 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34403 for ac_func in ceilf floorf
34404 do :
34405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34407 eval as_val=\$$as_ac_var
34408 if test "x$as_val" = x""yes; then :
34409 cat >>confdefs.h <<_ACEOF
34410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34411 _ACEOF
34414 done
34416 else
34417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34418 $as_echo_n "checking for _float round functions... " >&6; }
34419 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34420 $as_echo_n "(cached) " >&6
34421 else
34424 ac_ext=cpp
34425 ac_cpp='$CXXCPP $CPPFLAGS'
34426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34431 /* end confdefs.h. */
34432 #include <math.h>
34434 main ()
34436 _ceilf (0); _floorf (0);
34438 return 0;
34440 _ACEOF
34441 if ac_fn_cxx_try_compile "$LINENO"; then :
34442 glibcxx_cv_func__float_round_use=yes
34443 else
34444 glibcxx_cv_func__float_round_use=no
34446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34447 ac_ext=c
34448 ac_cpp='$CPP $CPPFLAGS'
34449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34456 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34457 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34458 for ac_func in _ceilf _floorf
34459 do :
34460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34462 eval as_val=\$$as_ac_var
34463 if test "x$as_val" = x""yes; then :
34464 cat >>confdefs.h <<_ACEOF
34465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34466 _ACEOF
34469 done
34479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34480 $as_echo_n "checking for expf declaration... " >&6; }
34481 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34482 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34483 $as_echo_n "(cached) " >&6
34484 else
34487 ac_ext=cpp
34488 ac_cpp='$CXXCPP $CPPFLAGS'
34489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34494 /* end confdefs.h. */
34495 #include <math.h>
34496 #ifdef HAVE_IEEEFP_H
34497 #include <ieeefp.h>
34498 #endif
34501 main ()
34503 expf(0);
34505 return 0;
34507 _ACEOF
34508 if ac_fn_cxx_try_compile "$LINENO"; then :
34509 glibcxx_cv_func_expf_use=yes
34510 else
34511 glibcxx_cv_func_expf_use=no
34513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34514 ac_ext=c
34515 ac_cpp='$CPP $CPPFLAGS'
34516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34525 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34527 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34528 for ac_func in expf
34529 do :
34530 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34531 if test "x$ac_cv_func_expf" = x""yes; then :
34532 cat >>confdefs.h <<_ACEOF
34533 #define HAVE_EXPF 1
34534 _ACEOF
34537 done
34539 else
34541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34542 $as_echo_n "checking for _expf declaration... " >&6; }
34543 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34544 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34545 $as_echo_n "(cached) " >&6
34546 else
34549 ac_ext=cpp
34550 ac_cpp='$CXXCPP $CPPFLAGS'
34551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34556 /* end confdefs.h. */
34557 #include <math.h>
34558 #ifdef HAVE_IEEEFP_H
34559 #include <ieeefp.h>
34560 #endif
34563 main ()
34565 _expf(0);
34567 return 0;
34569 _ACEOF
34570 if ac_fn_cxx_try_compile "$LINENO"; then :
34571 glibcxx_cv_func__expf_use=yes
34572 else
34573 glibcxx_cv_func__expf_use=no
34575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34576 ac_ext=c
34577 ac_cpp='$CPP $CPPFLAGS'
34578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34587 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34589 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34590 for ac_func in _expf
34591 do :
34592 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34593 if test "x$ac_cv_func__expf" = x""yes; then :
34594 cat >>confdefs.h <<_ACEOF
34595 #define HAVE__EXPF 1
34596 _ACEOF
34599 done
34608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34609 $as_echo_n "checking for isnanf declaration... " >&6; }
34610 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34611 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34612 $as_echo_n "(cached) " >&6
34613 else
34616 ac_ext=cpp
34617 ac_cpp='$CXXCPP $CPPFLAGS'
34618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34623 /* end confdefs.h. */
34624 #include <math.h>
34625 #ifdef HAVE_IEEEFP_H
34626 #include <ieeefp.h>
34627 #endif
34630 main ()
34632 isnanf(0);
34634 return 0;
34636 _ACEOF
34637 if ac_fn_cxx_try_compile "$LINENO"; then :
34638 glibcxx_cv_func_isnanf_use=yes
34639 else
34640 glibcxx_cv_func_isnanf_use=no
34642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34643 ac_ext=c
34644 ac_cpp='$CPP $CPPFLAGS'
34645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34654 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34656 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34657 for ac_func in isnanf
34658 do :
34659 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34660 if test "x$ac_cv_func_isnanf" = x""yes; then :
34661 cat >>confdefs.h <<_ACEOF
34662 #define HAVE_ISNANF 1
34663 _ACEOF
34666 done
34668 else
34670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34671 $as_echo_n "checking for _isnanf declaration... " >&6; }
34672 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34673 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34674 $as_echo_n "(cached) " >&6
34675 else
34678 ac_ext=cpp
34679 ac_cpp='$CXXCPP $CPPFLAGS'
34680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34685 /* end confdefs.h. */
34686 #include <math.h>
34687 #ifdef HAVE_IEEEFP_H
34688 #include <ieeefp.h>
34689 #endif
34692 main ()
34694 _isnanf(0);
34696 return 0;
34698 _ACEOF
34699 if ac_fn_cxx_try_compile "$LINENO"; then :
34700 glibcxx_cv_func__isnanf_use=yes
34701 else
34702 glibcxx_cv_func__isnanf_use=no
34704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34705 ac_ext=c
34706 ac_cpp='$CPP $CPPFLAGS'
34707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34716 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34718 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34719 for ac_func in _isnanf
34720 do :
34721 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34722 if test "x$ac_cv_func__isnanf" = x""yes; then :
34723 cat >>confdefs.h <<_ACEOF
34724 #define HAVE__ISNANF 1
34725 _ACEOF
34728 done
34737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34738 $as_echo_n "checking for isinff declaration... " >&6; }
34739 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34740 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34741 $as_echo_n "(cached) " >&6
34742 else
34745 ac_ext=cpp
34746 ac_cpp='$CXXCPP $CPPFLAGS'
34747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34752 /* end confdefs.h. */
34753 #include <math.h>
34754 #ifdef HAVE_IEEEFP_H
34755 #include <ieeefp.h>
34756 #endif
34759 main ()
34761 isinff(0);
34763 return 0;
34765 _ACEOF
34766 if ac_fn_cxx_try_compile "$LINENO"; then :
34767 glibcxx_cv_func_isinff_use=yes
34768 else
34769 glibcxx_cv_func_isinff_use=no
34771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34772 ac_ext=c
34773 ac_cpp='$CPP $CPPFLAGS'
34774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34783 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34785 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34786 for ac_func in isinff
34787 do :
34788 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34789 if test "x$ac_cv_func_isinff" = x""yes; then :
34790 cat >>confdefs.h <<_ACEOF
34791 #define HAVE_ISINFF 1
34792 _ACEOF
34795 done
34797 else
34799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34800 $as_echo_n "checking for _isinff declaration... " >&6; }
34801 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34802 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34803 $as_echo_n "(cached) " >&6
34804 else
34807 ac_ext=cpp
34808 ac_cpp='$CXXCPP $CPPFLAGS'
34809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34814 /* end confdefs.h. */
34815 #include <math.h>
34816 #ifdef HAVE_IEEEFP_H
34817 #include <ieeefp.h>
34818 #endif
34821 main ()
34823 _isinff(0);
34825 return 0;
34827 _ACEOF
34828 if ac_fn_cxx_try_compile "$LINENO"; then :
34829 glibcxx_cv_func__isinff_use=yes
34830 else
34831 glibcxx_cv_func__isinff_use=no
34833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34834 ac_ext=c
34835 ac_cpp='$CPP $CPPFLAGS'
34836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34845 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34847 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34848 for ac_func in _isinff
34849 do :
34850 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34851 if test "x$ac_cv_func__isinff" = x""yes; then :
34852 cat >>confdefs.h <<_ACEOF
34853 #define HAVE__ISINFF 1
34854 _ACEOF
34857 done
34866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34867 $as_echo_n "checking for atan2f declaration... " >&6; }
34868 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34869 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34870 $as_echo_n "(cached) " >&6
34871 else
34874 ac_ext=cpp
34875 ac_cpp='$CXXCPP $CPPFLAGS'
34876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34881 /* end confdefs.h. */
34882 #include <math.h>
34884 main ()
34886 atan2f(0, 0);
34888 return 0;
34890 _ACEOF
34891 if ac_fn_cxx_try_compile "$LINENO"; then :
34892 glibcxx_cv_func_atan2f_use=yes
34893 else
34894 glibcxx_cv_func_atan2f_use=no
34896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34897 ac_ext=c
34898 ac_cpp='$CPP $CPPFLAGS'
34899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34908 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34910 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34911 for ac_func in atan2f
34912 do :
34913 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34914 if test "x$ac_cv_func_atan2f" = x""yes; then :
34915 cat >>confdefs.h <<_ACEOF
34916 #define HAVE_ATAN2F 1
34917 _ACEOF
34920 done
34922 else
34924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34925 $as_echo_n "checking for _atan2f declaration... " >&6; }
34926 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34927 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34928 $as_echo_n "(cached) " >&6
34929 else
34932 ac_ext=cpp
34933 ac_cpp='$CXXCPP $CPPFLAGS'
34934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34939 /* end confdefs.h. */
34940 #include <math.h>
34942 main ()
34944 _atan2f(0, 0);
34946 return 0;
34948 _ACEOF
34949 if ac_fn_cxx_try_compile "$LINENO"; then :
34950 glibcxx_cv_func__atan2f_use=yes
34951 else
34952 glibcxx_cv_func__atan2f_use=no
34954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34955 ac_ext=c
34956 ac_cpp='$CPP $CPPFLAGS'
34957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34966 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34968 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34969 for ac_func in _atan2f
34970 do :
34971 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34972 if test "x$ac_cv_func__atan2f" = x""yes; then :
34973 cat >>confdefs.h <<_ACEOF
34974 #define HAVE__ATAN2F 1
34975 _ACEOF
34978 done
34987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34988 $as_echo_n "checking for fabsf declaration... " >&6; }
34989 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34990 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34991 $as_echo_n "(cached) " >&6
34992 else
34995 ac_ext=cpp
34996 ac_cpp='$CXXCPP $CPPFLAGS'
34997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35002 /* end confdefs.h. */
35003 #include <math.h>
35004 #ifdef HAVE_IEEEFP_H
35005 #include <ieeefp.h>
35006 #endif
35009 main ()
35011 fabsf(0);
35013 return 0;
35015 _ACEOF
35016 if ac_fn_cxx_try_compile "$LINENO"; then :
35017 glibcxx_cv_func_fabsf_use=yes
35018 else
35019 glibcxx_cv_func_fabsf_use=no
35021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35022 ac_ext=c
35023 ac_cpp='$CPP $CPPFLAGS'
35024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35033 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35035 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35036 for ac_func in fabsf
35037 do :
35038 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35039 if test "x$ac_cv_func_fabsf" = x""yes; then :
35040 cat >>confdefs.h <<_ACEOF
35041 #define HAVE_FABSF 1
35042 _ACEOF
35045 done
35047 else
35049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35050 $as_echo_n "checking for _fabsf declaration... " >&6; }
35051 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35052 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35053 $as_echo_n "(cached) " >&6
35054 else
35057 ac_ext=cpp
35058 ac_cpp='$CXXCPP $CPPFLAGS'
35059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35064 /* end confdefs.h. */
35065 #include <math.h>
35066 #ifdef HAVE_IEEEFP_H
35067 #include <ieeefp.h>
35068 #endif
35071 main ()
35073 _fabsf(0);
35075 return 0;
35077 _ACEOF
35078 if ac_fn_cxx_try_compile "$LINENO"; then :
35079 glibcxx_cv_func__fabsf_use=yes
35080 else
35081 glibcxx_cv_func__fabsf_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
35094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35095 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35097 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35098 for ac_func in _fabsf
35099 do :
35100 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35101 if test "x$ac_cv_func__fabsf" = x""yes; then :
35102 cat >>confdefs.h <<_ACEOF
35103 #define HAVE__FABSF 1
35104 _ACEOF
35107 done
35116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35117 $as_echo_n "checking for fmodf declaration... " >&6; }
35118 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35119 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35120 $as_echo_n "(cached) " >&6
35121 else
35124 ac_ext=cpp
35125 ac_cpp='$CXXCPP $CPPFLAGS'
35126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35131 /* end confdefs.h. */
35132 #include <math.h>
35134 main ()
35136 fmodf(0, 0);
35138 return 0;
35140 _ACEOF
35141 if ac_fn_cxx_try_compile "$LINENO"; then :
35142 glibcxx_cv_func_fmodf_use=yes
35143 else
35144 glibcxx_cv_func_fmodf_use=no
35146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35147 ac_ext=c
35148 ac_cpp='$CPP $CPPFLAGS'
35149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35158 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35160 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35161 for ac_func in fmodf
35162 do :
35163 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35164 if test "x$ac_cv_func_fmodf" = x""yes; then :
35165 cat >>confdefs.h <<_ACEOF
35166 #define HAVE_FMODF 1
35167 _ACEOF
35170 done
35172 else
35174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35175 $as_echo_n "checking for _fmodf declaration... " >&6; }
35176 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35177 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35178 $as_echo_n "(cached) " >&6
35179 else
35182 ac_ext=cpp
35183 ac_cpp='$CXXCPP $CPPFLAGS'
35184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35189 /* end confdefs.h. */
35190 #include <math.h>
35192 main ()
35194 _fmodf(0, 0);
35196 return 0;
35198 _ACEOF
35199 if ac_fn_cxx_try_compile "$LINENO"; then :
35200 glibcxx_cv_func__fmodf_use=yes
35201 else
35202 glibcxx_cv_func__fmodf_use=no
35204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35205 ac_ext=c
35206 ac_cpp='$CPP $CPPFLAGS'
35207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35216 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35218 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35219 for ac_func in _fmodf
35220 do :
35221 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35222 if test "x$ac_cv_func__fmodf" = x""yes; then :
35223 cat >>confdefs.h <<_ACEOF
35224 #define HAVE__FMODF 1
35225 _ACEOF
35228 done
35237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35238 $as_echo_n "checking for frexpf declaration... " >&6; }
35239 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35240 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35241 $as_echo_n "(cached) " >&6
35242 else
35245 ac_ext=cpp
35246 ac_cpp='$CXXCPP $CPPFLAGS'
35247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35252 /* end confdefs.h. */
35253 #include <math.h>
35255 main ()
35257 frexpf(0, 0);
35259 return 0;
35261 _ACEOF
35262 if ac_fn_cxx_try_compile "$LINENO"; then :
35263 glibcxx_cv_func_frexpf_use=yes
35264 else
35265 glibcxx_cv_func_frexpf_use=no
35267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35268 ac_ext=c
35269 ac_cpp='$CPP $CPPFLAGS'
35270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35279 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35281 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35282 for ac_func in frexpf
35283 do :
35284 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35285 if test "x$ac_cv_func_frexpf" = x""yes; then :
35286 cat >>confdefs.h <<_ACEOF
35287 #define HAVE_FREXPF 1
35288 _ACEOF
35291 done
35293 else
35295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35296 $as_echo_n "checking for _frexpf declaration... " >&6; }
35297 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35298 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35299 $as_echo_n "(cached) " >&6
35300 else
35303 ac_ext=cpp
35304 ac_cpp='$CXXCPP $CPPFLAGS'
35305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35310 /* end confdefs.h. */
35311 #include <math.h>
35313 main ()
35315 _frexpf(0, 0);
35317 return 0;
35319 _ACEOF
35320 if ac_fn_cxx_try_compile "$LINENO"; then :
35321 glibcxx_cv_func__frexpf_use=yes
35322 else
35323 glibcxx_cv_func__frexpf_use=no
35325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35326 ac_ext=c
35327 ac_cpp='$CPP $CPPFLAGS'
35328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35337 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35339 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35340 for ac_func in _frexpf
35341 do :
35342 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35343 if test "x$ac_cv_func__frexpf" = x""yes; then :
35344 cat >>confdefs.h <<_ACEOF
35345 #define HAVE__FREXPF 1
35346 _ACEOF
35349 done
35358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35359 $as_echo_n "checking for hypotf declaration... " >&6; }
35360 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35361 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35362 $as_echo_n "(cached) " >&6
35363 else
35366 ac_ext=cpp
35367 ac_cpp='$CXXCPP $CPPFLAGS'
35368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35373 /* end confdefs.h. */
35374 #include <math.h>
35376 main ()
35378 hypotf(0, 0);
35380 return 0;
35382 _ACEOF
35383 if ac_fn_cxx_try_compile "$LINENO"; then :
35384 glibcxx_cv_func_hypotf_use=yes
35385 else
35386 glibcxx_cv_func_hypotf_use=no
35388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35389 ac_ext=c
35390 ac_cpp='$CPP $CPPFLAGS'
35391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35400 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35402 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35403 for ac_func in hypotf
35404 do :
35405 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35406 if test "x$ac_cv_func_hypotf" = x""yes; then :
35407 cat >>confdefs.h <<_ACEOF
35408 #define HAVE_HYPOTF 1
35409 _ACEOF
35412 done
35414 else
35416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35417 $as_echo_n "checking for _hypotf declaration... " >&6; }
35418 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35419 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35420 $as_echo_n "(cached) " >&6
35421 else
35424 ac_ext=cpp
35425 ac_cpp='$CXXCPP $CPPFLAGS'
35426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35431 /* end confdefs.h. */
35432 #include <math.h>
35434 main ()
35436 _hypotf(0, 0);
35438 return 0;
35440 _ACEOF
35441 if ac_fn_cxx_try_compile "$LINENO"; then :
35442 glibcxx_cv_func__hypotf_use=yes
35443 else
35444 glibcxx_cv_func__hypotf_use=no
35446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35447 ac_ext=c
35448 ac_cpp='$CPP $CPPFLAGS'
35449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35458 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35460 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35461 for ac_func in _hypotf
35462 do :
35463 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35464 if test "x$ac_cv_func__hypotf" = x""yes; then :
35465 cat >>confdefs.h <<_ACEOF
35466 #define HAVE__HYPOTF 1
35467 _ACEOF
35470 done
35479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35480 $as_echo_n "checking for ldexpf declaration... " >&6; }
35481 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35482 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35483 $as_echo_n "(cached) " >&6
35484 else
35487 ac_ext=cpp
35488 ac_cpp='$CXXCPP $CPPFLAGS'
35489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35494 /* end confdefs.h. */
35495 #include <math.h>
35497 main ()
35499 ldexpf(0, 0);
35501 return 0;
35503 _ACEOF
35504 if ac_fn_cxx_try_compile "$LINENO"; then :
35505 glibcxx_cv_func_ldexpf_use=yes
35506 else
35507 glibcxx_cv_func_ldexpf_use=no
35509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35510 ac_ext=c
35511 ac_cpp='$CPP $CPPFLAGS'
35512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35521 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35523 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35524 for ac_func in ldexpf
35525 do :
35526 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35527 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35528 cat >>confdefs.h <<_ACEOF
35529 #define HAVE_LDEXPF 1
35530 _ACEOF
35533 done
35535 else
35537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35538 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35539 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35540 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35541 $as_echo_n "(cached) " >&6
35542 else
35545 ac_ext=cpp
35546 ac_cpp='$CXXCPP $CPPFLAGS'
35547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35552 /* end confdefs.h. */
35553 #include <math.h>
35555 main ()
35557 _ldexpf(0, 0);
35559 return 0;
35561 _ACEOF
35562 if ac_fn_cxx_try_compile "$LINENO"; then :
35563 glibcxx_cv_func__ldexpf_use=yes
35564 else
35565 glibcxx_cv_func__ldexpf_use=no
35567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35568 ac_ext=c
35569 ac_cpp='$CPP $CPPFLAGS'
35570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35579 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35581 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35582 for ac_func in _ldexpf
35583 do :
35584 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35585 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35586 cat >>confdefs.h <<_ACEOF
35587 #define HAVE__LDEXPF 1
35588 _ACEOF
35591 done
35600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35601 $as_echo_n "checking for logf declaration... " >&6; }
35602 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35603 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35604 $as_echo_n "(cached) " >&6
35605 else
35608 ac_ext=cpp
35609 ac_cpp='$CXXCPP $CPPFLAGS'
35610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35615 /* end confdefs.h. */
35616 #include <math.h>
35617 #ifdef HAVE_IEEEFP_H
35618 #include <ieeefp.h>
35619 #endif
35622 main ()
35624 logf(0);
35626 return 0;
35628 _ACEOF
35629 if ac_fn_cxx_try_compile "$LINENO"; then :
35630 glibcxx_cv_func_logf_use=yes
35631 else
35632 glibcxx_cv_func_logf_use=no
35634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35635 ac_ext=c
35636 ac_cpp='$CPP $CPPFLAGS'
35637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35646 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35648 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35649 for ac_func in logf
35650 do :
35651 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35652 if test "x$ac_cv_func_logf" = x""yes; then :
35653 cat >>confdefs.h <<_ACEOF
35654 #define HAVE_LOGF 1
35655 _ACEOF
35658 done
35660 else
35662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35663 $as_echo_n "checking for _logf declaration... " >&6; }
35664 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35665 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35666 $as_echo_n "(cached) " >&6
35667 else
35670 ac_ext=cpp
35671 ac_cpp='$CXXCPP $CPPFLAGS'
35672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35677 /* end confdefs.h. */
35678 #include <math.h>
35679 #ifdef HAVE_IEEEFP_H
35680 #include <ieeefp.h>
35681 #endif
35684 main ()
35686 _logf(0);
35688 return 0;
35690 _ACEOF
35691 if ac_fn_cxx_try_compile "$LINENO"; then :
35692 glibcxx_cv_func__logf_use=yes
35693 else
35694 glibcxx_cv_func__logf_use=no
35696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35697 ac_ext=c
35698 ac_cpp='$CPP $CPPFLAGS'
35699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35708 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35710 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35711 for ac_func in _logf
35712 do :
35713 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35714 if test "x$ac_cv_func__logf" = x""yes; then :
35715 cat >>confdefs.h <<_ACEOF
35716 #define HAVE__LOGF 1
35717 _ACEOF
35720 done
35729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35730 $as_echo_n "checking for log10f declaration... " >&6; }
35731 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35732 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35733 $as_echo_n "(cached) " >&6
35734 else
35737 ac_ext=cpp
35738 ac_cpp='$CXXCPP $CPPFLAGS'
35739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35744 /* end confdefs.h. */
35745 #include <math.h>
35746 #ifdef HAVE_IEEEFP_H
35747 #include <ieeefp.h>
35748 #endif
35751 main ()
35753 log10f(0);
35755 return 0;
35757 _ACEOF
35758 if ac_fn_cxx_try_compile "$LINENO"; then :
35759 glibcxx_cv_func_log10f_use=yes
35760 else
35761 glibcxx_cv_func_log10f_use=no
35763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35764 ac_ext=c
35765 ac_cpp='$CPP $CPPFLAGS'
35766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35775 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35777 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35778 for ac_func in log10f
35779 do :
35780 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35781 if test "x$ac_cv_func_log10f" = x""yes; then :
35782 cat >>confdefs.h <<_ACEOF
35783 #define HAVE_LOG10F 1
35784 _ACEOF
35787 done
35789 else
35791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35792 $as_echo_n "checking for _log10f declaration... " >&6; }
35793 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35794 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35795 $as_echo_n "(cached) " >&6
35796 else
35799 ac_ext=cpp
35800 ac_cpp='$CXXCPP $CPPFLAGS'
35801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35806 /* end confdefs.h. */
35807 #include <math.h>
35808 #ifdef HAVE_IEEEFP_H
35809 #include <ieeefp.h>
35810 #endif
35813 main ()
35815 _log10f(0);
35817 return 0;
35819 _ACEOF
35820 if ac_fn_cxx_try_compile "$LINENO"; then :
35821 glibcxx_cv_func__log10f_use=yes
35822 else
35823 glibcxx_cv_func__log10f_use=no
35825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35826 ac_ext=c
35827 ac_cpp='$CPP $CPPFLAGS'
35828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35837 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35839 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35840 for ac_func in _log10f
35841 do :
35842 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35843 if test "x$ac_cv_func__log10f" = x""yes; then :
35844 cat >>confdefs.h <<_ACEOF
35845 #define HAVE__LOG10F 1
35846 _ACEOF
35849 done
35858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35859 $as_echo_n "checking for modff declaration... " >&6; }
35860 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35861 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35862 $as_echo_n "(cached) " >&6
35863 else
35866 ac_ext=cpp
35867 ac_cpp='$CXXCPP $CPPFLAGS'
35868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35873 /* end confdefs.h. */
35874 #include <math.h>
35876 main ()
35878 modff(0, 0);
35880 return 0;
35882 _ACEOF
35883 if ac_fn_cxx_try_compile "$LINENO"; then :
35884 glibcxx_cv_func_modff_use=yes
35885 else
35886 glibcxx_cv_func_modff_use=no
35888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35889 ac_ext=c
35890 ac_cpp='$CPP $CPPFLAGS'
35891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35900 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35902 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35903 for ac_func in modff
35904 do :
35905 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35906 if test "x$ac_cv_func_modff" = x""yes; then :
35907 cat >>confdefs.h <<_ACEOF
35908 #define HAVE_MODFF 1
35909 _ACEOF
35912 done
35914 else
35916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35917 $as_echo_n "checking for _modff declaration... " >&6; }
35918 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35919 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35920 $as_echo_n "(cached) " >&6
35921 else
35924 ac_ext=cpp
35925 ac_cpp='$CXXCPP $CPPFLAGS'
35926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35931 /* end confdefs.h. */
35932 #include <math.h>
35934 main ()
35936 _modff(0, 0);
35938 return 0;
35940 _ACEOF
35941 if ac_fn_cxx_try_compile "$LINENO"; then :
35942 glibcxx_cv_func__modff_use=yes
35943 else
35944 glibcxx_cv_func__modff_use=no
35946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35947 ac_ext=c
35948 ac_cpp='$CPP $CPPFLAGS'
35949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35958 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35960 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35961 for ac_func in _modff
35962 do :
35963 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35964 if test "x$ac_cv_func__modff" = x""yes; then :
35965 cat >>confdefs.h <<_ACEOF
35966 #define HAVE__MODFF 1
35967 _ACEOF
35970 done
35979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35980 $as_echo_n "checking for modf declaration... " >&6; }
35981 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35982 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35983 $as_echo_n "(cached) " >&6
35984 else
35987 ac_ext=cpp
35988 ac_cpp='$CXXCPP $CPPFLAGS'
35989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35994 /* end confdefs.h. */
35995 #include <math.h>
35997 main ()
35999 modf(0, 0);
36001 return 0;
36003 _ACEOF
36004 if ac_fn_cxx_try_compile "$LINENO"; then :
36005 glibcxx_cv_func_modf_use=yes
36006 else
36007 glibcxx_cv_func_modf_use=no
36009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36010 ac_ext=c
36011 ac_cpp='$CPP $CPPFLAGS'
36012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36021 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36023 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36024 for ac_func in modf
36025 do :
36026 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36027 if test "x$ac_cv_func_modf" = x""yes; then :
36028 cat >>confdefs.h <<_ACEOF
36029 #define HAVE_MODF 1
36030 _ACEOF
36033 done
36035 else
36037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36038 $as_echo_n "checking for _modf declaration... " >&6; }
36039 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36040 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36041 $as_echo_n "(cached) " >&6
36042 else
36045 ac_ext=cpp
36046 ac_cpp='$CXXCPP $CPPFLAGS'
36047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36052 /* end confdefs.h. */
36053 #include <math.h>
36055 main ()
36057 _modf(0, 0);
36059 return 0;
36061 _ACEOF
36062 if ac_fn_cxx_try_compile "$LINENO"; then :
36063 glibcxx_cv_func__modf_use=yes
36064 else
36065 glibcxx_cv_func__modf_use=no
36067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36068 ac_ext=c
36069 ac_cpp='$CPP $CPPFLAGS'
36070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36079 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36081 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36082 for ac_func in _modf
36083 do :
36084 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36085 if test "x$ac_cv_func__modf" = x""yes; then :
36086 cat >>confdefs.h <<_ACEOF
36087 #define HAVE__MODF 1
36088 _ACEOF
36091 done
36100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36101 $as_echo_n "checking for powf declaration... " >&6; }
36102 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36103 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36104 $as_echo_n "(cached) " >&6
36105 else
36108 ac_ext=cpp
36109 ac_cpp='$CXXCPP $CPPFLAGS'
36110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36115 /* end confdefs.h. */
36116 #include <math.h>
36118 main ()
36120 powf(0, 0);
36122 return 0;
36124 _ACEOF
36125 if ac_fn_cxx_try_compile "$LINENO"; then :
36126 glibcxx_cv_func_powf_use=yes
36127 else
36128 glibcxx_cv_func_powf_use=no
36130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36131 ac_ext=c
36132 ac_cpp='$CPP $CPPFLAGS'
36133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36142 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36144 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36145 for ac_func in powf
36146 do :
36147 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36148 if test "x$ac_cv_func_powf" = x""yes; then :
36149 cat >>confdefs.h <<_ACEOF
36150 #define HAVE_POWF 1
36151 _ACEOF
36154 done
36156 else
36158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36159 $as_echo_n "checking for _powf declaration... " >&6; }
36160 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36161 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36162 $as_echo_n "(cached) " >&6
36163 else
36166 ac_ext=cpp
36167 ac_cpp='$CXXCPP $CPPFLAGS'
36168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36173 /* end confdefs.h. */
36174 #include <math.h>
36176 main ()
36178 _powf(0, 0);
36180 return 0;
36182 _ACEOF
36183 if ac_fn_cxx_try_compile "$LINENO"; then :
36184 glibcxx_cv_func__powf_use=yes
36185 else
36186 glibcxx_cv_func__powf_use=no
36188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36189 ac_ext=c
36190 ac_cpp='$CPP $CPPFLAGS'
36191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36200 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36202 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36203 for ac_func in _powf
36204 do :
36205 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36206 if test "x$ac_cv_func__powf" = x""yes; then :
36207 cat >>confdefs.h <<_ACEOF
36208 #define HAVE__POWF 1
36209 _ACEOF
36212 done
36221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36222 $as_echo_n "checking for sqrtf declaration... " >&6; }
36223 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36224 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36225 $as_echo_n "(cached) " >&6
36226 else
36229 ac_ext=cpp
36230 ac_cpp='$CXXCPP $CPPFLAGS'
36231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36236 /* end confdefs.h. */
36237 #include <math.h>
36238 #ifdef HAVE_IEEEFP_H
36239 #include <ieeefp.h>
36240 #endif
36243 main ()
36245 sqrtf(0);
36247 return 0;
36249 _ACEOF
36250 if ac_fn_cxx_try_compile "$LINENO"; then :
36251 glibcxx_cv_func_sqrtf_use=yes
36252 else
36253 glibcxx_cv_func_sqrtf_use=no
36255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36256 ac_ext=c
36257 ac_cpp='$CPP $CPPFLAGS'
36258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36267 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36269 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36270 for ac_func in sqrtf
36271 do :
36272 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36273 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36274 cat >>confdefs.h <<_ACEOF
36275 #define HAVE_SQRTF 1
36276 _ACEOF
36279 done
36281 else
36283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36284 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36285 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36286 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36287 $as_echo_n "(cached) " >&6
36288 else
36291 ac_ext=cpp
36292 ac_cpp='$CXXCPP $CPPFLAGS'
36293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36298 /* end confdefs.h. */
36299 #include <math.h>
36300 #ifdef HAVE_IEEEFP_H
36301 #include <ieeefp.h>
36302 #endif
36305 main ()
36307 _sqrtf(0);
36309 return 0;
36311 _ACEOF
36312 if ac_fn_cxx_try_compile "$LINENO"; then :
36313 glibcxx_cv_func__sqrtf_use=yes
36314 else
36315 glibcxx_cv_func__sqrtf_use=no
36317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36318 ac_ext=c
36319 ac_cpp='$CPP $CPPFLAGS'
36320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36329 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36331 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36332 for ac_func in _sqrtf
36333 do :
36334 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36335 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36336 cat >>confdefs.h <<_ACEOF
36337 #define HAVE__SQRTF 1
36338 _ACEOF
36341 done
36350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36351 $as_echo_n "checking for sincosf declaration... " >&6; }
36352 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36353 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36354 $as_echo_n "(cached) " >&6
36355 else
36358 ac_ext=cpp
36359 ac_cpp='$CXXCPP $CPPFLAGS'
36360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36365 /* end confdefs.h. */
36366 #include <math.h>
36368 main ()
36370 sincosf(0, 0, 0);
36372 return 0;
36374 _ACEOF
36375 if ac_fn_cxx_try_compile "$LINENO"; then :
36376 glibcxx_cv_func_sincosf_use=yes
36377 else
36378 glibcxx_cv_func_sincosf_use=no
36380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36381 ac_ext=c
36382 ac_cpp='$CPP $CPPFLAGS'
36383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36392 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36394 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36395 for ac_func in sincosf
36396 do :
36397 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36398 if test "x$ac_cv_func_sincosf" = x""yes; then :
36399 cat >>confdefs.h <<_ACEOF
36400 #define HAVE_SINCOSF 1
36401 _ACEOF
36404 done
36406 else
36408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36409 $as_echo_n "checking for _sincosf declaration... " >&6; }
36410 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36411 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36412 $as_echo_n "(cached) " >&6
36413 else
36416 ac_ext=cpp
36417 ac_cpp='$CXXCPP $CPPFLAGS'
36418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36423 /* end confdefs.h. */
36424 #include <math.h>
36426 main ()
36428 _sincosf(0, 0, 0);
36430 return 0;
36432 _ACEOF
36433 if ac_fn_cxx_try_compile "$LINENO"; then :
36434 glibcxx_cv_func__sincosf_use=yes
36435 else
36436 glibcxx_cv_func__sincosf_use=no
36438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36439 ac_ext=c
36440 ac_cpp='$CPP $CPPFLAGS'
36441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36450 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36452 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36453 for ac_func in _sincosf
36454 do :
36455 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36456 if test "x$ac_cv_func__sincosf" = x""yes; then :
36457 cat >>confdefs.h <<_ACEOF
36458 #define HAVE__SINCOSF 1
36459 _ACEOF
36462 done
36471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36472 $as_echo_n "checking for finitef declaration... " >&6; }
36473 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36474 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36475 $as_echo_n "(cached) " >&6
36476 else
36479 ac_ext=cpp
36480 ac_cpp='$CXXCPP $CPPFLAGS'
36481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36486 /* end confdefs.h. */
36487 #include <math.h>
36488 #ifdef HAVE_IEEEFP_H
36489 #include <ieeefp.h>
36490 #endif
36493 main ()
36495 finitef(0);
36497 return 0;
36499 _ACEOF
36500 if ac_fn_cxx_try_compile "$LINENO"; then :
36501 glibcxx_cv_func_finitef_use=yes
36502 else
36503 glibcxx_cv_func_finitef_use=no
36505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36506 ac_ext=c
36507 ac_cpp='$CPP $CPPFLAGS'
36508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36517 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36519 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36520 for ac_func in finitef
36521 do :
36522 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36523 if test "x$ac_cv_func_finitef" = x""yes; then :
36524 cat >>confdefs.h <<_ACEOF
36525 #define HAVE_FINITEF 1
36526 _ACEOF
36529 done
36531 else
36533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36534 $as_echo_n "checking for _finitef declaration... " >&6; }
36535 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36536 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36537 $as_echo_n "(cached) " >&6
36538 else
36541 ac_ext=cpp
36542 ac_cpp='$CXXCPP $CPPFLAGS'
36543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36548 /* end confdefs.h. */
36549 #include <math.h>
36550 #ifdef HAVE_IEEEFP_H
36551 #include <ieeefp.h>
36552 #endif
36555 main ()
36557 _finitef(0);
36559 return 0;
36561 _ACEOF
36562 if ac_fn_cxx_try_compile "$LINENO"; then :
36563 glibcxx_cv_func__finitef_use=yes
36564 else
36565 glibcxx_cv_func__finitef_use=no
36567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36568 ac_ext=c
36569 ac_cpp='$CPP $CPPFLAGS'
36570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36579 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36581 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36582 for ac_func in _finitef
36583 do :
36584 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36585 if test "x$ac_cv_func__finitef" = x""yes; then :
36586 cat >>confdefs.h <<_ACEOF
36587 #define HAVE__FINITEF 1
36588 _ACEOF
36591 done
36600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36601 $as_echo_n "checking for long double trig functions... " >&6; }
36602 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36603 $as_echo_n "(cached) " >&6
36604 else
36607 ac_ext=cpp
36608 ac_cpp='$CXXCPP $CPPFLAGS'
36609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36614 /* end confdefs.h. */
36615 #include <math.h>
36617 main ()
36619 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36621 return 0;
36623 _ACEOF
36624 if ac_fn_cxx_try_compile "$LINENO"; then :
36625 glibcxx_cv_func_long_double_trig_use=yes
36626 else
36627 glibcxx_cv_func_long_double_trig_use=no
36629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36630 ac_ext=c
36631 ac_cpp='$CPP $CPPFLAGS'
36632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36639 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36640 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36641 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36642 do :
36643 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36644 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36645 eval as_val=\$$as_ac_var
36646 if test "x$as_val" = x""yes; then :
36647 cat >>confdefs.h <<_ACEOF
36648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36649 _ACEOF
36652 done
36654 else
36655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36656 $as_echo_n "checking for _long double trig functions... " >&6; }
36657 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36658 $as_echo_n "(cached) " >&6
36659 else
36662 ac_ext=cpp
36663 ac_cpp='$CXXCPP $CPPFLAGS'
36664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36669 /* end confdefs.h. */
36670 #include <math.h>
36672 main ()
36674 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36676 return 0;
36678 _ACEOF
36679 if ac_fn_cxx_try_compile "$LINENO"; then :
36680 glibcxx_cv_func__long_double_trig_use=yes
36681 else
36682 glibcxx_cv_func__long_double_trig_use=no
36684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36685 ac_ext=c
36686 ac_cpp='$CPP $CPPFLAGS'
36687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36694 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36695 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36696 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36697 do :
36698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36700 eval as_val=\$$as_ac_var
36701 if test "x$as_val" = x""yes; then :
36702 cat >>confdefs.h <<_ACEOF
36703 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36704 _ACEOF
36707 done
36716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36717 $as_echo_n "checking for long double round functions... " >&6; }
36718 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36719 $as_echo_n "(cached) " >&6
36720 else
36723 ac_ext=cpp
36724 ac_cpp='$CXXCPP $CPPFLAGS'
36725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36730 /* end confdefs.h. */
36731 #include <math.h>
36733 main ()
36735 ceill (0); floorl (0);
36737 return 0;
36739 _ACEOF
36740 if ac_fn_cxx_try_compile "$LINENO"; then :
36741 glibcxx_cv_func_long_double_round_use=yes
36742 else
36743 glibcxx_cv_func_long_double_round_use=no
36745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36746 ac_ext=c
36747 ac_cpp='$CPP $CPPFLAGS'
36748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36755 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36756 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36757 for ac_func in ceill floorl
36758 do :
36759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36761 eval as_val=\$$as_ac_var
36762 if test "x$as_val" = x""yes; then :
36763 cat >>confdefs.h <<_ACEOF
36764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36765 _ACEOF
36768 done
36770 else
36771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36772 $as_echo_n "checking for _long double round functions... " >&6; }
36773 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36774 $as_echo_n "(cached) " >&6
36775 else
36778 ac_ext=cpp
36779 ac_cpp='$CXXCPP $CPPFLAGS'
36780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36785 /* end confdefs.h. */
36786 #include <math.h>
36788 main ()
36790 _ceill (0); _floorl (0);
36792 return 0;
36794 _ACEOF
36795 if ac_fn_cxx_try_compile "$LINENO"; then :
36796 glibcxx_cv_func__long_double_round_use=yes
36797 else
36798 glibcxx_cv_func__long_double_round_use=no
36800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36801 ac_ext=c
36802 ac_cpp='$CPP $CPPFLAGS'
36803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36810 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36811 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36812 for ac_func in _ceill _floorl
36813 do :
36814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36816 eval as_val=\$$as_ac_var
36817 if test "x$as_val" = x""yes; then :
36818 cat >>confdefs.h <<_ACEOF
36819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36820 _ACEOF
36823 done
36833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36834 $as_echo_n "checking for isnanl declaration... " >&6; }
36835 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36836 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36837 $as_echo_n "(cached) " >&6
36838 else
36841 ac_ext=cpp
36842 ac_cpp='$CXXCPP $CPPFLAGS'
36843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36848 /* end confdefs.h. */
36849 #include <math.h>
36850 #ifdef HAVE_IEEEFP_H
36851 #include <ieeefp.h>
36852 #endif
36855 main ()
36857 isnanl(0);
36859 return 0;
36861 _ACEOF
36862 if ac_fn_cxx_try_compile "$LINENO"; then :
36863 glibcxx_cv_func_isnanl_use=yes
36864 else
36865 glibcxx_cv_func_isnanl_use=no
36867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36868 ac_ext=c
36869 ac_cpp='$CPP $CPPFLAGS'
36870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36879 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36881 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36882 for ac_func in isnanl
36883 do :
36884 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36885 if test "x$ac_cv_func_isnanl" = x""yes; then :
36886 cat >>confdefs.h <<_ACEOF
36887 #define HAVE_ISNANL 1
36888 _ACEOF
36891 done
36893 else
36895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36896 $as_echo_n "checking for _isnanl declaration... " >&6; }
36897 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36898 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36899 $as_echo_n "(cached) " >&6
36900 else
36903 ac_ext=cpp
36904 ac_cpp='$CXXCPP $CPPFLAGS'
36905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36910 /* end confdefs.h. */
36911 #include <math.h>
36912 #ifdef HAVE_IEEEFP_H
36913 #include <ieeefp.h>
36914 #endif
36917 main ()
36919 _isnanl(0);
36921 return 0;
36923 _ACEOF
36924 if ac_fn_cxx_try_compile "$LINENO"; then :
36925 glibcxx_cv_func__isnanl_use=yes
36926 else
36927 glibcxx_cv_func__isnanl_use=no
36929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36930 ac_ext=c
36931 ac_cpp='$CPP $CPPFLAGS'
36932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36941 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36943 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36944 for ac_func in _isnanl
36945 do :
36946 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36947 if test "x$ac_cv_func__isnanl" = x""yes; then :
36948 cat >>confdefs.h <<_ACEOF
36949 #define HAVE__ISNANL 1
36950 _ACEOF
36953 done
36962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36963 $as_echo_n "checking for isinfl declaration... " >&6; }
36964 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36965 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36966 $as_echo_n "(cached) " >&6
36967 else
36970 ac_ext=cpp
36971 ac_cpp='$CXXCPP $CPPFLAGS'
36972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36977 /* end confdefs.h. */
36978 #include <math.h>
36979 #ifdef HAVE_IEEEFP_H
36980 #include <ieeefp.h>
36981 #endif
36984 main ()
36986 isinfl(0);
36988 return 0;
36990 _ACEOF
36991 if ac_fn_cxx_try_compile "$LINENO"; then :
36992 glibcxx_cv_func_isinfl_use=yes
36993 else
36994 glibcxx_cv_func_isinfl_use=no
36996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36997 ac_ext=c
36998 ac_cpp='$CPP $CPPFLAGS'
36999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37008 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37010 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37011 for ac_func in isinfl
37012 do :
37013 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37014 if test "x$ac_cv_func_isinfl" = x""yes; then :
37015 cat >>confdefs.h <<_ACEOF
37016 #define HAVE_ISINFL 1
37017 _ACEOF
37020 done
37022 else
37024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37025 $as_echo_n "checking for _isinfl declaration... " >&6; }
37026 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37027 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37028 $as_echo_n "(cached) " >&6
37029 else
37032 ac_ext=cpp
37033 ac_cpp='$CXXCPP $CPPFLAGS'
37034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37039 /* end confdefs.h. */
37040 #include <math.h>
37041 #ifdef HAVE_IEEEFP_H
37042 #include <ieeefp.h>
37043 #endif
37046 main ()
37048 _isinfl(0);
37050 return 0;
37052 _ACEOF
37053 if ac_fn_cxx_try_compile "$LINENO"; then :
37054 glibcxx_cv_func__isinfl_use=yes
37055 else
37056 glibcxx_cv_func__isinfl_use=no
37058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37059 ac_ext=c
37060 ac_cpp='$CPP $CPPFLAGS'
37061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37070 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37072 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37073 for ac_func in _isinfl
37074 do :
37075 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37076 if test "x$ac_cv_func__isinfl" = x""yes; then :
37077 cat >>confdefs.h <<_ACEOF
37078 #define HAVE__ISINFL 1
37079 _ACEOF
37082 done
37091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37092 $as_echo_n "checking for atan2l declaration... " >&6; }
37093 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37094 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37095 $as_echo_n "(cached) " >&6
37096 else
37099 ac_ext=cpp
37100 ac_cpp='$CXXCPP $CPPFLAGS'
37101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37106 /* end confdefs.h. */
37107 #include <math.h>
37109 main ()
37111 atan2l(0, 0);
37113 return 0;
37115 _ACEOF
37116 if ac_fn_cxx_try_compile "$LINENO"; then :
37117 glibcxx_cv_func_atan2l_use=yes
37118 else
37119 glibcxx_cv_func_atan2l_use=no
37121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37122 ac_ext=c
37123 ac_cpp='$CPP $CPPFLAGS'
37124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37133 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37135 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37136 for ac_func in atan2l
37137 do :
37138 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37139 if test "x$ac_cv_func_atan2l" = x""yes; then :
37140 cat >>confdefs.h <<_ACEOF
37141 #define HAVE_ATAN2L 1
37142 _ACEOF
37145 done
37147 else
37149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37150 $as_echo_n "checking for _atan2l declaration... " >&6; }
37151 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37152 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37153 $as_echo_n "(cached) " >&6
37154 else
37157 ac_ext=cpp
37158 ac_cpp='$CXXCPP $CPPFLAGS'
37159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37164 /* end confdefs.h. */
37165 #include <math.h>
37167 main ()
37169 _atan2l(0, 0);
37171 return 0;
37173 _ACEOF
37174 if ac_fn_cxx_try_compile "$LINENO"; then :
37175 glibcxx_cv_func__atan2l_use=yes
37176 else
37177 glibcxx_cv_func__atan2l_use=no
37179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37180 ac_ext=c
37181 ac_cpp='$CPP $CPPFLAGS'
37182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37191 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37193 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37194 for ac_func in _atan2l
37195 do :
37196 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37197 if test "x$ac_cv_func__atan2l" = x""yes; then :
37198 cat >>confdefs.h <<_ACEOF
37199 #define HAVE__ATAN2L 1
37200 _ACEOF
37203 done
37212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37213 $as_echo_n "checking for expl declaration... " >&6; }
37214 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37215 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37216 $as_echo_n "(cached) " >&6
37217 else
37220 ac_ext=cpp
37221 ac_cpp='$CXXCPP $CPPFLAGS'
37222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37227 /* end confdefs.h. */
37228 #include <math.h>
37229 #ifdef HAVE_IEEEFP_H
37230 #include <ieeefp.h>
37231 #endif
37234 main ()
37236 expl(0);
37238 return 0;
37240 _ACEOF
37241 if ac_fn_cxx_try_compile "$LINENO"; then :
37242 glibcxx_cv_func_expl_use=yes
37243 else
37244 glibcxx_cv_func_expl_use=no
37246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37247 ac_ext=c
37248 ac_cpp='$CPP $CPPFLAGS'
37249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37258 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37260 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37261 for ac_func in expl
37262 do :
37263 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37264 if test "x$ac_cv_func_expl" = x""yes; then :
37265 cat >>confdefs.h <<_ACEOF
37266 #define HAVE_EXPL 1
37267 _ACEOF
37270 done
37272 else
37274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37275 $as_echo_n "checking for _expl declaration... " >&6; }
37276 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37277 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37278 $as_echo_n "(cached) " >&6
37279 else
37282 ac_ext=cpp
37283 ac_cpp='$CXXCPP $CPPFLAGS'
37284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37289 /* end confdefs.h. */
37290 #include <math.h>
37291 #ifdef HAVE_IEEEFP_H
37292 #include <ieeefp.h>
37293 #endif
37296 main ()
37298 _expl(0);
37300 return 0;
37302 _ACEOF
37303 if ac_fn_cxx_try_compile "$LINENO"; then :
37304 glibcxx_cv_func__expl_use=yes
37305 else
37306 glibcxx_cv_func__expl_use=no
37308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37309 ac_ext=c
37310 ac_cpp='$CPP $CPPFLAGS'
37311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37320 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37322 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37323 for ac_func in _expl
37324 do :
37325 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37326 if test "x$ac_cv_func__expl" = x""yes; then :
37327 cat >>confdefs.h <<_ACEOF
37328 #define HAVE__EXPL 1
37329 _ACEOF
37332 done
37341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37342 $as_echo_n "checking for fabsl declaration... " >&6; }
37343 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37344 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37345 $as_echo_n "(cached) " >&6
37346 else
37349 ac_ext=cpp
37350 ac_cpp='$CXXCPP $CPPFLAGS'
37351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37356 /* end confdefs.h. */
37357 #include <math.h>
37358 #ifdef HAVE_IEEEFP_H
37359 #include <ieeefp.h>
37360 #endif
37363 main ()
37365 fabsl(0);
37367 return 0;
37369 _ACEOF
37370 if ac_fn_cxx_try_compile "$LINENO"; then :
37371 glibcxx_cv_func_fabsl_use=yes
37372 else
37373 glibcxx_cv_func_fabsl_use=no
37375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37376 ac_ext=c
37377 ac_cpp='$CPP $CPPFLAGS'
37378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37387 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37389 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37390 for ac_func in fabsl
37391 do :
37392 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37393 if test "x$ac_cv_func_fabsl" = x""yes; then :
37394 cat >>confdefs.h <<_ACEOF
37395 #define HAVE_FABSL 1
37396 _ACEOF
37399 done
37401 else
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37404 $as_echo_n "checking for _fabsl declaration... " >&6; }
37405 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37406 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37407 $as_echo_n "(cached) " >&6
37408 else
37411 ac_ext=cpp
37412 ac_cpp='$CXXCPP $CPPFLAGS'
37413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37418 /* end confdefs.h. */
37419 #include <math.h>
37420 #ifdef HAVE_IEEEFP_H
37421 #include <ieeefp.h>
37422 #endif
37425 main ()
37427 _fabsl(0);
37429 return 0;
37431 _ACEOF
37432 if ac_fn_cxx_try_compile "$LINENO"; then :
37433 glibcxx_cv_func__fabsl_use=yes
37434 else
37435 glibcxx_cv_func__fabsl_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
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37449 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37451 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37452 for ac_func in _fabsl
37453 do :
37454 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37455 if test "x$ac_cv_func__fabsl" = x""yes; then :
37456 cat >>confdefs.h <<_ACEOF
37457 #define HAVE__FABSL 1
37458 _ACEOF
37461 done
37470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37471 $as_echo_n "checking for fmodl declaration... " >&6; }
37472 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37473 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37474 $as_echo_n "(cached) " >&6
37475 else
37478 ac_ext=cpp
37479 ac_cpp='$CXXCPP $CPPFLAGS'
37480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37485 /* end confdefs.h. */
37486 #include <math.h>
37488 main ()
37490 fmodl(0, 0);
37492 return 0;
37494 _ACEOF
37495 if ac_fn_cxx_try_compile "$LINENO"; then :
37496 glibcxx_cv_func_fmodl_use=yes
37497 else
37498 glibcxx_cv_func_fmodl_use=no
37500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37501 ac_ext=c
37502 ac_cpp='$CPP $CPPFLAGS'
37503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37512 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37514 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37515 for ac_func in fmodl
37516 do :
37517 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37518 if test "x$ac_cv_func_fmodl" = x""yes; then :
37519 cat >>confdefs.h <<_ACEOF
37520 #define HAVE_FMODL 1
37521 _ACEOF
37524 done
37526 else
37528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37529 $as_echo_n "checking for _fmodl declaration... " >&6; }
37530 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37531 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37532 $as_echo_n "(cached) " >&6
37533 else
37536 ac_ext=cpp
37537 ac_cpp='$CXXCPP $CPPFLAGS'
37538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37543 /* end confdefs.h. */
37544 #include <math.h>
37546 main ()
37548 _fmodl(0, 0);
37550 return 0;
37552 _ACEOF
37553 if ac_fn_cxx_try_compile "$LINENO"; then :
37554 glibcxx_cv_func__fmodl_use=yes
37555 else
37556 glibcxx_cv_func__fmodl_use=no
37558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37559 ac_ext=c
37560 ac_cpp='$CPP $CPPFLAGS'
37561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37570 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37572 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37573 for ac_func in _fmodl
37574 do :
37575 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37576 if test "x$ac_cv_func__fmodl" = x""yes; then :
37577 cat >>confdefs.h <<_ACEOF
37578 #define HAVE__FMODL 1
37579 _ACEOF
37582 done
37591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37592 $as_echo_n "checking for frexpl declaration... " >&6; }
37593 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37594 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37595 $as_echo_n "(cached) " >&6
37596 else
37599 ac_ext=cpp
37600 ac_cpp='$CXXCPP $CPPFLAGS'
37601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37606 /* end confdefs.h. */
37607 #include <math.h>
37609 main ()
37611 frexpl(0, 0);
37613 return 0;
37615 _ACEOF
37616 if ac_fn_cxx_try_compile "$LINENO"; then :
37617 glibcxx_cv_func_frexpl_use=yes
37618 else
37619 glibcxx_cv_func_frexpl_use=no
37621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37622 ac_ext=c
37623 ac_cpp='$CPP $CPPFLAGS'
37624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37633 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37635 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37636 for ac_func in frexpl
37637 do :
37638 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37639 if test "x$ac_cv_func_frexpl" = x""yes; then :
37640 cat >>confdefs.h <<_ACEOF
37641 #define HAVE_FREXPL 1
37642 _ACEOF
37645 done
37647 else
37649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37650 $as_echo_n "checking for _frexpl declaration... " >&6; }
37651 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37652 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37653 $as_echo_n "(cached) " >&6
37654 else
37657 ac_ext=cpp
37658 ac_cpp='$CXXCPP $CPPFLAGS'
37659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37664 /* end confdefs.h. */
37665 #include <math.h>
37667 main ()
37669 _frexpl(0, 0);
37671 return 0;
37673 _ACEOF
37674 if ac_fn_cxx_try_compile "$LINENO"; then :
37675 glibcxx_cv_func__frexpl_use=yes
37676 else
37677 glibcxx_cv_func__frexpl_use=no
37679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37680 ac_ext=c
37681 ac_cpp='$CPP $CPPFLAGS'
37682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37691 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37693 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37694 for ac_func in _frexpl
37695 do :
37696 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37697 if test "x$ac_cv_func__frexpl" = x""yes; then :
37698 cat >>confdefs.h <<_ACEOF
37699 #define HAVE__FREXPL 1
37700 _ACEOF
37703 done
37712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37713 $as_echo_n "checking for hypotl declaration... " >&6; }
37714 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37715 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37716 $as_echo_n "(cached) " >&6
37717 else
37720 ac_ext=cpp
37721 ac_cpp='$CXXCPP $CPPFLAGS'
37722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37727 /* end confdefs.h. */
37728 #include <math.h>
37730 main ()
37732 hypotl(0, 0);
37734 return 0;
37736 _ACEOF
37737 if ac_fn_cxx_try_compile "$LINENO"; then :
37738 glibcxx_cv_func_hypotl_use=yes
37739 else
37740 glibcxx_cv_func_hypotl_use=no
37742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37743 ac_ext=c
37744 ac_cpp='$CPP $CPPFLAGS'
37745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37754 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37756 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37757 for ac_func in hypotl
37758 do :
37759 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37760 if test "x$ac_cv_func_hypotl" = x""yes; then :
37761 cat >>confdefs.h <<_ACEOF
37762 #define HAVE_HYPOTL 1
37763 _ACEOF
37766 done
37768 else
37770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37771 $as_echo_n "checking for _hypotl declaration... " >&6; }
37772 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37773 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37774 $as_echo_n "(cached) " >&6
37775 else
37778 ac_ext=cpp
37779 ac_cpp='$CXXCPP $CPPFLAGS'
37780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37785 /* end confdefs.h. */
37786 #include <math.h>
37788 main ()
37790 _hypotl(0, 0);
37792 return 0;
37794 _ACEOF
37795 if ac_fn_cxx_try_compile "$LINENO"; then :
37796 glibcxx_cv_func__hypotl_use=yes
37797 else
37798 glibcxx_cv_func__hypotl_use=no
37800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37801 ac_ext=c
37802 ac_cpp='$CPP $CPPFLAGS'
37803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37812 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37814 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37815 for ac_func in _hypotl
37816 do :
37817 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37818 if test "x$ac_cv_func__hypotl" = x""yes; then :
37819 cat >>confdefs.h <<_ACEOF
37820 #define HAVE__HYPOTL 1
37821 _ACEOF
37824 done
37833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37834 $as_echo_n "checking for ldexpl declaration... " >&6; }
37835 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37836 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37837 $as_echo_n "(cached) " >&6
37838 else
37841 ac_ext=cpp
37842 ac_cpp='$CXXCPP $CPPFLAGS'
37843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37848 /* end confdefs.h. */
37849 #include <math.h>
37851 main ()
37853 ldexpl(0, 0);
37855 return 0;
37857 _ACEOF
37858 if ac_fn_cxx_try_compile "$LINENO"; then :
37859 glibcxx_cv_func_ldexpl_use=yes
37860 else
37861 glibcxx_cv_func_ldexpl_use=no
37863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37864 ac_ext=c
37865 ac_cpp='$CPP $CPPFLAGS'
37866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37875 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37877 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37878 for ac_func in ldexpl
37879 do :
37880 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37881 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37882 cat >>confdefs.h <<_ACEOF
37883 #define HAVE_LDEXPL 1
37884 _ACEOF
37887 done
37889 else
37891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37892 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37893 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37894 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37895 $as_echo_n "(cached) " >&6
37896 else
37899 ac_ext=cpp
37900 ac_cpp='$CXXCPP $CPPFLAGS'
37901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37906 /* end confdefs.h. */
37907 #include <math.h>
37909 main ()
37911 _ldexpl(0, 0);
37913 return 0;
37915 _ACEOF
37916 if ac_fn_cxx_try_compile "$LINENO"; then :
37917 glibcxx_cv_func__ldexpl_use=yes
37918 else
37919 glibcxx_cv_func__ldexpl_use=no
37921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37922 ac_ext=c
37923 ac_cpp='$CPP $CPPFLAGS'
37924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37933 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37935 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37936 for ac_func in _ldexpl
37937 do :
37938 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37939 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37940 cat >>confdefs.h <<_ACEOF
37941 #define HAVE__LDEXPL 1
37942 _ACEOF
37945 done
37954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37955 $as_echo_n "checking for logl declaration... " >&6; }
37956 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37957 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37958 $as_echo_n "(cached) " >&6
37959 else
37962 ac_ext=cpp
37963 ac_cpp='$CXXCPP $CPPFLAGS'
37964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37969 /* end confdefs.h. */
37970 #include <math.h>
37971 #ifdef HAVE_IEEEFP_H
37972 #include <ieeefp.h>
37973 #endif
37976 main ()
37978 logl(0);
37980 return 0;
37982 _ACEOF
37983 if ac_fn_cxx_try_compile "$LINENO"; then :
37984 glibcxx_cv_func_logl_use=yes
37985 else
37986 glibcxx_cv_func_logl_use=no
37988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37989 ac_ext=c
37990 ac_cpp='$CPP $CPPFLAGS'
37991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38000 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38002 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38003 for ac_func in logl
38004 do :
38005 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38006 if test "x$ac_cv_func_logl" = x""yes; then :
38007 cat >>confdefs.h <<_ACEOF
38008 #define HAVE_LOGL 1
38009 _ACEOF
38012 done
38014 else
38016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38017 $as_echo_n "checking for _logl declaration... " >&6; }
38018 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38019 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38020 $as_echo_n "(cached) " >&6
38021 else
38024 ac_ext=cpp
38025 ac_cpp='$CXXCPP $CPPFLAGS'
38026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38031 /* end confdefs.h. */
38032 #include <math.h>
38033 #ifdef HAVE_IEEEFP_H
38034 #include <ieeefp.h>
38035 #endif
38038 main ()
38040 _logl(0);
38042 return 0;
38044 _ACEOF
38045 if ac_fn_cxx_try_compile "$LINENO"; then :
38046 glibcxx_cv_func__logl_use=yes
38047 else
38048 glibcxx_cv_func__logl_use=no
38050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38051 ac_ext=c
38052 ac_cpp='$CPP $CPPFLAGS'
38053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38062 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38064 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38065 for ac_func in _logl
38066 do :
38067 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38068 if test "x$ac_cv_func__logl" = x""yes; then :
38069 cat >>confdefs.h <<_ACEOF
38070 #define HAVE__LOGL 1
38071 _ACEOF
38074 done
38083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38084 $as_echo_n "checking for log10l declaration... " >&6; }
38085 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38086 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38087 $as_echo_n "(cached) " >&6
38088 else
38091 ac_ext=cpp
38092 ac_cpp='$CXXCPP $CPPFLAGS'
38093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38098 /* end confdefs.h. */
38099 #include <math.h>
38100 #ifdef HAVE_IEEEFP_H
38101 #include <ieeefp.h>
38102 #endif
38105 main ()
38107 log10l(0);
38109 return 0;
38111 _ACEOF
38112 if ac_fn_cxx_try_compile "$LINENO"; then :
38113 glibcxx_cv_func_log10l_use=yes
38114 else
38115 glibcxx_cv_func_log10l_use=no
38117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38118 ac_ext=c
38119 ac_cpp='$CPP $CPPFLAGS'
38120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38129 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38131 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38132 for ac_func in log10l
38133 do :
38134 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38135 if test "x$ac_cv_func_log10l" = x""yes; then :
38136 cat >>confdefs.h <<_ACEOF
38137 #define HAVE_LOG10L 1
38138 _ACEOF
38141 done
38143 else
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38146 $as_echo_n "checking for _log10l declaration... " >&6; }
38147 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38148 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38149 $as_echo_n "(cached) " >&6
38150 else
38153 ac_ext=cpp
38154 ac_cpp='$CXXCPP $CPPFLAGS'
38155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38160 /* end confdefs.h. */
38161 #include <math.h>
38162 #ifdef HAVE_IEEEFP_H
38163 #include <ieeefp.h>
38164 #endif
38167 main ()
38169 _log10l(0);
38171 return 0;
38173 _ACEOF
38174 if ac_fn_cxx_try_compile "$LINENO"; then :
38175 glibcxx_cv_func__log10l_use=yes
38176 else
38177 glibcxx_cv_func__log10l_use=no
38179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38180 ac_ext=c
38181 ac_cpp='$CPP $CPPFLAGS'
38182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38191 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38193 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38194 for ac_func in _log10l
38195 do :
38196 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38197 if test "x$ac_cv_func__log10l" = x""yes; then :
38198 cat >>confdefs.h <<_ACEOF
38199 #define HAVE__LOG10L 1
38200 _ACEOF
38203 done
38212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38213 $as_echo_n "checking for modfl declaration... " >&6; }
38214 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38215 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38216 $as_echo_n "(cached) " >&6
38217 else
38220 ac_ext=cpp
38221 ac_cpp='$CXXCPP $CPPFLAGS'
38222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38227 /* end confdefs.h. */
38228 #include <math.h>
38230 main ()
38232 modfl(0, 0);
38234 return 0;
38236 _ACEOF
38237 if ac_fn_cxx_try_compile "$LINENO"; then :
38238 glibcxx_cv_func_modfl_use=yes
38239 else
38240 glibcxx_cv_func_modfl_use=no
38242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38243 ac_ext=c
38244 ac_cpp='$CPP $CPPFLAGS'
38245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38254 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38256 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38257 for ac_func in modfl
38258 do :
38259 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38260 if test "x$ac_cv_func_modfl" = x""yes; then :
38261 cat >>confdefs.h <<_ACEOF
38262 #define HAVE_MODFL 1
38263 _ACEOF
38266 done
38268 else
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38271 $as_echo_n "checking for _modfl declaration... " >&6; }
38272 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38273 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38274 $as_echo_n "(cached) " >&6
38275 else
38278 ac_ext=cpp
38279 ac_cpp='$CXXCPP $CPPFLAGS'
38280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38285 /* end confdefs.h. */
38286 #include <math.h>
38288 main ()
38290 _modfl(0, 0);
38292 return 0;
38294 _ACEOF
38295 if ac_fn_cxx_try_compile "$LINENO"; then :
38296 glibcxx_cv_func__modfl_use=yes
38297 else
38298 glibcxx_cv_func__modfl_use=no
38300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38301 ac_ext=c
38302 ac_cpp='$CPP $CPPFLAGS'
38303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38312 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38314 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38315 for ac_func in _modfl
38316 do :
38317 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38318 if test "x$ac_cv_func__modfl" = x""yes; then :
38319 cat >>confdefs.h <<_ACEOF
38320 #define HAVE__MODFL 1
38321 _ACEOF
38324 done
38333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38334 $as_echo_n "checking for powl declaration... " >&6; }
38335 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38336 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38337 $as_echo_n "(cached) " >&6
38338 else
38341 ac_ext=cpp
38342 ac_cpp='$CXXCPP $CPPFLAGS'
38343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38348 /* end confdefs.h. */
38349 #include <math.h>
38351 main ()
38353 powl(0, 0);
38355 return 0;
38357 _ACEOF
38358 if ac_fn_cxx_try_compile "$LINENO"; then :
38359 glibcxx_cv_func_powl_use=yes
38360 else
38361 glibcxx_cv_func_powl_use=no
38363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38364 ac_ext=c
38365 ac_cpp='$CPP $CPPFLAGS'
38366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38375 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38377 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38378 for ac_func in powl
38379 do :
38380 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38381 if test "x$ac_cv_func_powl" = x""yes; then :
38382 cat >>confdefs.h <<_ACEOF
38383 #define HAVE_POWL 1
38384 _ACEOF
38387 done
38389 else
38391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38392 $as_echo_n "checking for _powl declaration... " >&6; }
38393 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38394 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38395 $as_echo_n "(cached) " >&6
38396 else
38399 ac_ext=cpp
38400 ac_cpp='$CXXCPP $CPPFLAGS'
38401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38406 /* end confdefs.h. */
38407 #include <math.h>
38409 main ()
38411 _powl(0, 0);
38413 return 0;
38415 _ACEOF
38416 if ac_fn_cxx_try_compile "$LINENO"; then :
38417 glibcxx_cv_func__powl_use=yes
38418 else
38419 glibcxx_cv_func__powl_use=no
38421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38422 ac_ext=c
38423 ac_cpp='$CPP $CPPFLAGS'
38424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38433 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38435 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38436 for ac_func in _powl
38437 do :
38438 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38439 if test "x$ac_cv_func__powl" = x""yes; then :
38440 cat >>confdefs.h <<_ACEOF
38441 #define HAVE__POWL 1
38442 _ACEOF
38445 done
38454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38455 $as_echo_n "checking for sqrtl declaration... " >&6; }
38456 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38457 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38458 $as_echo_n "(cached) " >&6
38459 else
38462 ac_ext=cpp
38463 ac_cpp='$CXXCPP $CPPFLAGS'
38464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38469 /* end confdefs.h. */
38470 #include <math.h>
38471 #ifdef HAVE_IEEEFP_H
38472 #include <ieeefp.h>
38473 #endif
38476 main ()
38478 sqrtl(0);
38480 return 0;
38482 _ACEOF
38483 if ac_fn_cxx_try_compile "$LINENO"; then :
38484 glibcxx_cv_func_sqrtl_use=yes
38485 else
38486 glibcxx_cv_func_sqrtl_use=no
38488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38489 ac_ext=c
38490 ac_cpp='$CPP $CPPFLAGS'
38491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38500 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38502 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38503 for ac_func in sqrtl
38504 do :
38505 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38506 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38507 cat >>confdefs.h <<_ACEOF
38508 #define HAVE_SQRTL 1
38509 _ACEOF
38512 done
38514 else
38516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38517 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38518 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38519 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38520 $as_echo_n "(cached) " >&6
38521 else
38524 ac_ext=cpp
38525 ac_cpp='$CXXCPP $CPPFLAGS'
38526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38531 /* end confdefs.h. */
38532 #include <math.h>
38533 #ifdef HAVE_IEEEFP_H
38534 #include <ieeefp.h>
38535 #endif
38538 main ()
38540 _sqrtl(0);
38542 return 0;
38544 _ACEOF
38545 if ac_fn_cxx_try_compile "$LINENO"; then :
38546 glibcxx_cv_func__sqrtl_use=yes
38547 else
38548 glibcxx_cv_func__sqrtl_use=no
38550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38551 ac_ext=c
38552 ac_cpp='$CPP $CPPFLAGS'
38553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38562 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38564 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38565 for ac_func in _sqrtl
38566 do :
38567 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38568 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38569 cat >>confdefs.h <<_ACEOF
38570 #define HAVE__SQRTL 1
38571 _ACEOF
38574 done
38583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38584 $as_echo_n "checking for sincosl declaration... " >&6; }
38585 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38586 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38587 $as_echo_n "(cached) " >&6
38588 else
38591 ac_ext=cpp
38592 ac_cpp='$CXXCPP $CPPFLAGS'
38593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38598 /* end confdefs.h. */
38599 #include <math.h>
38601 main ()
38603 sincosl(0, 0, 0);
38605 return 0;
38607 _ACEOF
38608 if ac_fn_cxx_try_compile "$LINENO"; then :
38609 glibcxx_cv_func_sincosl_use=yes
38610 else
38611 glibcxx_cv_func_sincosl_use=no
38613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38614 ac_ext=c
38615 ac_cpp='$CPP $CPPFLAGS'
38616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38625 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38627 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38628 for ac_func in sincosl
38629 do :
38630 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38631 if test "x$ac_cv_func_sincosl" = x""yes; then :
38632 cat >>confdefs.h <<_ACEOF
38633 #define HAVE_SINCOSL 1
38634 _ACEOF
38637 done
38639 else
38641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38642 $as_echo_n "checking for _sincosl declaration... " >&6; }
38643 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38644 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38645 $as_echo_n "(cached) " >&6
38646 else
38649 ac_ext=cpp
38650 ac_cpp='$CXXCPP $CPPFLAGS'
38651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38656 /* end confdefs.h. */
38657 #include <math.h>
38659 main ()
38661 _sincosl(0, 0, 0);
38663 return 0;
38665 _ACEOF
38666 if ac_fn_cxx_try_compile "$LINENO"; then :
38667 glibcxx_cv_func__sincosl_use=yes
38668 else
38669 glibcxx_cv_func__sincosl_use=no
38671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38672 ac_ext=c
38673 ac_cpp='$CPP $CPPFLAGS'
38674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38683 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38685 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38686 for ac_func in _sincosl
38687 do :
38688 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38689 if test "x$ac_cv_func__sincosl" = x""yes; then :
38690 cat >>confdefs.h <<_ACEOF
38691 #define HAVE__SINCOSL 1
38692 _ACEOF
38695 done
38704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38705 $as_echo_n "checking for finitel declaration... " >&6; }
38706 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38707 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38708 $as_echo_n "(cached) " >&6
38709 else
38712 ac_ext=cpp
38713 ac_cpp='$CXXCPP $CPPFLAGS'
38714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38719 /* end confdefs.h. */
38720 #include <math.h>
38721 #ifdef HAVE_IEEEFP_H
38722 #include <ieeefp.h>
38723 #endif
38726 main ()
38728 finitel(0);
38730 return 0;
38732 _ACEOF
38733 if ac_fn_cxx_try_compile "$LINENO"; then :
38734 glibcxx_cv_func_finitel_use=yes
38735 else
38736 glibcxx_cv_func_finitel_use=no
38738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38739 ac_ext=c
38740 ac_cpp='$CPP $CPPFLAGS'
38741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38750 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38752 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38753 for ac_func in finitel
38754 do :
38755 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38756 if test "x$ac_cv_func_finitel" = x""yes; then :
38757 cat >>confdefs.h <<_ACEOF
38758 #define HAVE_FINITEL 1
38759 _ACEOF
38762 done
38764 else
38766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38767 $as_echo_n "checking for _finitel declaration... " >&6; }
38768 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38769 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38770 $as_echo_n "(cached) " >&6
38771 else
38774 ac_ext=cpp
38775 ac_cpp='$CXXCPP $CPPFLAGS'
38776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38781 /* end confdefs.h. */
38782 #include <math.h>
38783 #ifdef HAVE_IEEEFP_H
38784 #include <ieeefp.h>
38785 #endif
38788 main ()
38790 _finitel(0);
38792 return 0;
38794 _ACEOF
38795 if ac_fn_cxx_try_compile "$LINENO"; then :
38796 glibcxx_cv_func__finitel_use=yes
38797 else
38798 glibcxx_cv_func__finitel_use=no
38800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38801 ac_ext=c
38802 ac_cpp='$CPP $CPPFLAGS'
38803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38812 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38814 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38815 for ac_func in _finitel
38816 do :
38817 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38818 if test "x$ac_cv_func__finitel" = x""yes; then :
38819 cat >>confdefs.h <<_ACEOF
38820 #define HAVE__FINITEL 1
38821 _ACEOF
38824 done
38832 LIBS="$ac_save_LIBS"
38833 CXXFLAGS="$ac_save_CXXFLAGS"
38836 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38837 ac_save_CXXFLAGS="$CXXFLAGS"
38838 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38842 $as_echo_n "checking for strtold declaration... " >&6; }
38843 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38844 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38845 $as_echo_n "(cached) " >&6
38846 else
38849 ac_ext=cpp
38850 ac_cpp='$CXXCPP $CPPFLAGS'
38851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38856 /* end confdefs.h. */
38857 #include <stdlib.h>
38859 main ()
38861 strtold(0, 0);
38863 return 0;
38865 _ACEOF
38866 if ac_fn_cxx_try_compile "$LINENO"; then :
38867 glibcxx_cv_func_strtold_use=yes
38868 else
38869 glibcxx_cv_func_strtold_use=no
38871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38872 ac_ext=c
38873 ac_cpp='$CPP $CPPFLAGS'
38874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38883 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38884 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38885 for ac_func in strtold
38886 do :
38887 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38888 if test "x$ac_cv_func_strtold" = x""yes; then :
38889 cat >>confdefs.h <<_ACEOF
38890 #define HAVE_STRTOLD 1
38891 _ACEOF
38894 done
38901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38902 $as_echo_n "checking for strtof declaration... " >&6; }
38903 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38904 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38905 $as_echo_n "(cached) " >&6
38906 else
38909 ac_ext=cpp
38910 ac_cpp='$CXXCPP $CPPFLAGS'
38911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38916 /* end confdefs.h. */
38917 #include <stdlib.h>
38919 main ()
38921 strtof(0, 0);
38923 return 0;
38925 _ACEOF
38926 if ac_fn_cxx_try_compile "$LINENO"; then :
38927 glibcxx_cv_func_strtof_use=yes
38928 else
38929 glibcxx_cv_func_strtof_use=no
38931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38932 ac_ext=c
38933 ac_cpp='$CPP $CPPFLAGS'
38934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38943 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38944 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38945 for ac_func in strtof
38946 do :
38947 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38948 if test "x$ac_cv_func_strtof" = x""yes; then :
38949 cat >>confdefs.h <<_ACEOF
38950 #define HAVE_STRTOF 1
38951 _ACEOF
38954 done
38961 CXXFLAGS="$ac_save_CXXFLAGS"
38963 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38965 # We don't yet support AIX's TLS ABI.
38966 #GCC_CHECK_TLS
38972 am_save_CPPFLAGS="$CPPFLAGS"
38974 for element in $INCICONV; do
38975 haveit=
38976 for x in $CPPFLAGS; do
38978 acl_save_prefix="$prefix"
38979 prefix="$acl_final_prefix"
38980 acl_save_exec_prefix="$exec_prefix"
38981 exec_prefix="$acl_final_exec_prefix"
38982 eval x=\"$x\"
38983 exec_prefix="$acl_save_exec_prefix"
38984 prefix="$acl_save_prefix"
38986 if test "X$x" = "X$element"; then
38987 haveit=yes
38988 break
38990 done
38991 if test -z "$haveit"; then
38992 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38994 done
38997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38998 $as_echo_n "checking for iconv... " >&6; }
38999 if test "${am_cv_func_iconv+set}" = set; then :
39000 $as_echo_n "(cached) " >&6
39001 else
39003 am_cv_func_iconv="no, consider installing GNU libiconv"
39004 am_cv_lib_iconv=no
39005 if test x$gcc_no_link = xyes; then
39006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39009 /* end confdefs.h. */
39010 #include <stdlib.h>
39011 #include <iconv.h>
39013 main ()
39015 iconv_t cd = iconv_open("","");
39016 iconv(cd,NULL,NULL,NULL,NULL);
39017 iconv_close(cd);
39019 return 0;
39021 _ACEOF
39022 if ac_fn_c_try_link "$LINENO"; then :
39023 am_cv_func_iconv=yes
39025 rm -f core conftest.err conftest.$ac_objext \
39026 conftest$ac_exeext conftest.$ac_ext
39027 if test "$am_cv_func_iconv" != yes; then
39028 am_save_LIBS="$LIBS"
39029 LIBS="$LIBS $LIBICONV"
39030 if test x$gcc_no_link = xyes; then
39031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39034 /* end confdefs.h. */
39035 #include <stdlib.h>
39036 #include <iconv.h>
39038 main ()
39040 iconv_t cd = iconv_open("","");
39041 iconv(cd,NULL,NULL,NULL,NULL);
39042 iconv_close(cd);
39044 return 0;
39046 _ACEOF
39047 if ac_fn_c_try_link "$LINENO"; then :
39048 am_cv_lib_iconv=yes
39049 am_cv_func_iconv=yes
39051 rm -f core conftest.err conftest.$ac_objext \
39052 conftest$ac_exeext conftest.$ac_ext
39053 LIBS="$am_save_LIBS"
39057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39058 $as_echo "$am_cv_func_iconv" >&6; }
39059 if test "$am_cv_func_iconv" = yes; then
39061 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39064 if test "$am_cv_lib_iconv" = yes; then
39065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39066 $as_echo_n "checking how to link with libiconv... " >&6; }
39067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39068 $as_echo "$LIBICONV" >&6; }
39069 else
39070 CPPFLAGS="$am_save_CPPFLAGS"
39071 LIBICONV=
39072 LTLIBICONV=
39077 if test "$am_cv_func_iconv" = yes; then
39078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39079 $as_echo_n "checking for iconv declaration... " >&6; }
39080 if test "${am_cv_proto_iconv+set}" = set; then :
39081 $as_echo_n "(cached) " >&6
39082 else
39084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39085 /* end confdefs.h. */
39087 #include <stdlib.h>
39088 #include <iconv.h>
39089 extern
39090 #ifdef __cplusplus
39092 #endif
39093 #if defined(__STDC__) || defined(__cplusplus)
39094 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39095 #else
39096 size_t iconv();
39097 #endif
39100 main ()
39104 return 0;
39106 _ACEOF
39107 if ac_fn_c_try_compile "$LINENO"; then :
39108 am_cv_proto_iconv_arg1=""
39109 else
39110 am_cv_proto_iconv_arg1="const"
39112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39113 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);"
39116 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39118 }$am_cv_proto_iconv" >&5
39119 $as_echo "${ac_t:-
39120 }$am_cv_proto_iconv" >&6; }
39122 cat >>confdefs.h <<_ACEOF
39123 #define ICONV_CONST $am_cv_proto_iconv_arg1
39124 _ACEOF
39130 *-darwin*)
39131 # Darwin versions vary, but the linker should work in a cross environment,
39132 # so we just check for all the features here.
39133 # Check for available headers.
39135 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39137 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39138 ac_save_CXXFLAGS="$CXXFLAGS"
39139 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39142 $as_echo_n "checking for sin in -lm... " >&6; }
39143 if test "${ac_cv_lib_m_sin+set}" = set; then :
39144 $as_echo_n "(cached) " >&6
39145 else
39146 ac_check_lib_save_LIBS=$LIBS
39147 LIBS="-lm $LIBS"
39148 if test x$gcc_no_link = xyes; then
39149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39152 /* end confdefs.h. */
39154 /* Override any GCC internal prototype to avoid an error.
39155 Use char because int might match the return type of a GCC
39156 builtin and then its argument prototype would still apply. */
39157 #ifdef __cplusplus
39158 extern "C"
39159 #endif
39160 char sin ();
39162 main ()
39164 return sin ();
39166 return 0;
39168 _ACEOF
39169 if ac_fn_c_try_link "$LINENO"; then :
39170 ac_cv_lib_m_sin=yes
39171 else
39172 ac_cv_lib_m_sin=no
39174 rm -f core conftest.err conftest.$ac_objext \
39175 conftest$ac_exeext conftest.$ac_ext
39176 LIBS=$ac_check_lib_save_LIBS
39178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39179 $as_echo "$ac_cv_lib_m_sin" >&6; }
39180 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39181 libm="-lm"
39184 ac_save_LIBS="$LIBS"
39185 LIBS="$LIBS $libm"
39189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39190 $as_echo_n "checking for isinf declaration... " >&6; }
39191 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39192 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39193 $as_echo_n "(cached) " >&6
39194 else
39197 ac_ext=cpp
39198 ac_cpp='$CXXCPP $CPPFLAGS'
39199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39204 /* end confdefs.h. */
39205 #include <math.h>
39206 #ifdef HAVE_IEEEFP_H
39207 #include <ieeefp.h>
39208 #endif
39211 main ()
39213 isinf(0);
39215 return 0;
39217 _ACEOF
39218 if ac_fn_cxx_try_compile "$LINENO"; then :
39219 glibcxx_cv_func_isinf_use=yes
39220 else
39221 glibcxx_cv_func_isinf_use=no
39223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39224 ac_ext=c
39225 ac_cpp='$CPP $CPPFLAGS'
39226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39235 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39237 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39238 for ac_func in isinf
39239 do :
39240 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39241 if test "x$ac_cv_func_isinf" = x""yes; then :
39242 cat >>confdefs.h <<_ACEOF
39243 #define HAVE_ISINF 1
39244 _ACEOF
39247 done
39249 else
39251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39252 $as_echo_n "checking for _isinf declaration... " >&6; }
39253 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39254 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39255 $as_echo_n "(cached) " >&6
39256 else
39259 ac_ext=cpp
39260 ac_cpp='$CXXCPP $CPPFLAGS'
39261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39266 /* end confdefs.h. */
39267 #include <math.h>
39268 #ifdef HAVE_IEEEFP_H
39269 #include <ieeefp.h>
39270 #endif
39273 main ()
39275 _isinf(0);
39277 return 0;
39279 _ACEOF
39280 if ac_fn_cxx_try_compile "$LINENO"; then :
39281 glibcxx_cv_func__isinf_use=yes
39282 else
39283 glibcxx_cv_func__isinf_use=no
39285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39286 ac_ext=c
39287 ac_cpp='$CPP $CPPFLAGS'
39288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39297 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39299 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39300 for ac_func in _isinf
39301 do :
39302 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39303 if test "x$ac_cv_func__isinf" = x""yes; then :
39304 cat >>confdefs.h <<_ACEOF
39305 #define HAVE__ISINF 1
39306 _ACEOF
39309 done
39318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39319 $as_echo_n "checking for isnan declaration... " >&6; }
39320 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39321 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39322 $as_echo_n "(cached) " >&6
39323 else
39326 ac_ext=cpp
39327 ac_cpp='$CXXCPP $CPPFLAGS'
39328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39333 /* end confdefs.h. */
39334 #include <math.h>
39335 #ifdef HAVE_IEEEFP_H
39336 #include <ieeefp.h>
39337 #endif
39340 main ()
39342 isnan(0);
39344 return 0;
39346 _ACEOF
39347 if ac_fn_cxx_try_compile "$LINENO"; then :
39348 glibcxx_cv_func_isnan_use=yes
39349 else
39350 glibcxx_cv_func_isnan_use=no
39352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39353 ac_ext=c
39354 ac_cpp='$CPP $CPPFLAGS'
39355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39364 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39366 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39367 for ac_func in isnan
39368 do :
39369 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39370 if test "x$ac_cv_func_isnan" = x""yes; then :
39371 cat >>confdefs.h <<_ACEOF
39372 #define HAVE_ISNAN 1
39373 _ACEOF
39376 done
39378 else
39380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39381 $as_echo_n "checking for _isnan declaration... " >&6; }
39382 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39383 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39384 $as_echo_n "(cached) " >&6
39385 else
39388 ac_ext=cpp
39389 ac_cpp='$CXXCPP $CPPFLAGS'
39390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39395 /* end confdefs.h. */
39396 #include <math.h>
39397 #ifdef HAVE_IEEEFP_H
39398 #include <ieeefp.h>
39399 #endif
39402 main ()
39404 _isnan(0);
39406 return 0;
39408 _ACEOF
39409 if ac_fn_cxx_try_compile "$LINENO"; then :
39410 glibcxx_cv_func__isnan_use=yes
39411 else
39412 glibcxx_cv_func__isnan_use=no
39414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39415 ac_ext=c
39416 ac_cpp='$CPP $CPPFLAGS'
39417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39426 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39428 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39429 for ac_func in _isnan
39430 do :
39431 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39432 if test "x$ac_cv_func__isnan" = x""yes; then :
39433 cat >>confdefs.h <<_ACEOF
39434 #define HAVE__ISNAN 1
39435 _ACEOF
39438 done
39447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39448 $as_echo_n "checking for finite declaration... " >&6; }
39449 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39450 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39451 $as_echo_n "(cached) " >&6
39452 else
39455 ac_ext=cpp
39456 ac_cpp='$CXXCPP $CPPFLAGS'
39457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39462 /* end confdefs.h. */
39463 #include <math.h>
39464 #ifdef HAVE_IEEEFP_H
39465 #include <ieeefp.h>
39466 #endif
39469 main ()
39471 finite(0);
39473 return 0;
39475 _ACEOF
39476 if ac_fn_cxx_try_compile "$LINENO"; then :
39477 glibcxx_cv_func_finite_use=yes
39478 else
39479 glibcxx_cv_func_finite_use=no
39481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39482 ac_ext=c
39483 ac_cpp='$CPP $CPPFLAGS'
39484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39493 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39495 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39496 for ac_func in finite
39497 do :
39498 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39499 if test "x$ac_cv_func_finite" = x""yes; then :
39500 cat >>confdefs.h <<_ACEOF
39501 #define HAVE_FINITE 1
39502 _ACEOF
39505 done
39507 else
39509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39510 $as_echo_n "checking for _finite declaration... " >&6; }
39511 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39512 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39513 $as_echo_n "(cached) " >&6
39514 else
39517 ac_ext=cpp
39518 ac_cpp='$CXXCPP $CPPFLAGS'
39519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39524 /* end confdefs.h. */
39525 #include <math.h>
39526 #ifdef HAVE_IEEEFP_H
39527 #include <ieeefp.h>
39528 #endif
39531 main ()
39533 _finite(0);
39535 return 0;
39537 _ACEOF
39538 if ac_fn_cxx_try_compile "$LINENO"; then :
39539 glibcxx_cv_func__finite_use=yes
39540 else
39541 glibcxx_cv_func__finite_use=no
39543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39544 ac_ext=c
39545 ac_cpp='$CPP $CPPFLAGS'
39546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39555 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39557 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39558 for ac_func in _finite
39559 do :
39560 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39561 if test "x$ac_cv_func__finite" = x""yes; then :
39562 cat >>confdefs.h <<_ACEOF
39563 #define HAVE__FINITE 1
39564 _ACEOF
39567 done
39576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39577 $as_echo_n "checking for sincos declaration... " >&6; }
39578 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39579 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39580 $as_echo_n "(cached) " >&6
39581 else
39584 ac_ext=cpp
39585 ac_cpp='$CXXCPP $CPPFLAGS'
39586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39591 /* end confdefs.h. */
39592 #include <math.h>
39594 main ()
39596 sincos(0, 0, 0);
39598 return 0;
39600 _ACEOF
39601 if ac_fn_cxx_try_compile "$LINENO"; then :
39602 glibcxx_cv_func_sincos_use=yes
39603 else
39604 glibcxx_cv_func_sincos_use=no
39606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39607 ac_ext=c
39608 ac_cpp='$CPP $CPPFLAGS'
39609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39618 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39620 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39621 for ac_func in sincos
39622 do :
39623 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39624 if test "x$ac_cv_func_sincos" = x""yes; then :
39625 cat >>confdefs.h <<_ACEOF
39626 #define HAVE_SINCOS 1
39627 _ACEOF
39630 done
39632 else
39634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39635 $as_echo_n "checking for _sincos declaration... " >&6; }
39636 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39637 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39638 $as_echo_n "(cached) " >&6
39639 else
39642 ac_ext=cpp
39643 ac_cpp='$CXXCPP $CPPFLAGS'
39644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39649 /* end confdefs.h. */
39650 #include <math.h>
39652 main ()
39654 _sincos(0, 0, 0);
39656 return 0;
39658 _ACEOF
39659 if ac_fn_cxx_try_compile "$LINENO"; then :
39660 glibcxx_cv_func__sincos_use=yes
39661 else
39662 glibcxx_cv_func__sincos_use=no
39664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39665 ac_ext=c
39666 ac_cpp='$CPP $CPPFLAGS'
39667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39676 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39678 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39679 for ac_func in _sincos
39680 do :
39681 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39682 if test "x$ac_cv_func__sincos" = x""yes; then :
39683 cat >>confdefs.h <<_ACEOF
39684 #define HAVE__SINCOS 1
39685 _ACEOF
39688 done
39697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39698 $as_echo_n "checking for fpclass declaration... " >&6; }
39699 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39700 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39701 $as_echo_n "(cached) " >&6
39702 else
39705 ac_ext=cpp
39706 ac_cpp='$CXXCPP $CPPFLAGS'
39707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39712 /* end confdefs.h. */
39713 #include <math.h>
39714 #ifdef HAVE_IEEEFP_H
39715 #include <ieeefp.h>
39716 #endif
39719 main ()
39721 fpclass(0);
39723 return 0;
39725 _ACEOF
39726 if ac_fn_cxx_try_compile "$LINENO"; then :
39727 glibcxx_cv_func_fpclass_use=yes
39728 else
39729 glibcxx_cv_func_fpclass_use=no
39731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39732 ac_ext=c
39733 ac_cpp='$CPP $CPPFLAGS'
39734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39743 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39745 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39746 for ac_func in fpclass
39747 do :
39748 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39749 if test "x$ac_cv_func_fpclass" = x""yes; then :
39750 cat >>confdefs.h <<_ACEOF
39751 #define HAVE_FPCLASS 1
39752 _ACEOF
39755 done
39757 else
39759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39760 $as_echo_n "checking for _fpclass declaration... " >&6; }
39761 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39762 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39763 $as_echo_n "(cached) " >&6
39764 else
39767 ac_ext=cpp
39768 ac_cpp='$CXXCPP $CPPFLAGS'
39769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39774 /* end confdefs.h. */
39775 #include <math.h>
39776 #ifdef HAVE_IEEEFP_H
39777 #include <ieeefp.h>
39778 #endif
39781 main ()
39783 _fpclass(0);
39785 return 0;
39787 _ACEOF
39788 if ac_fn_cxx_try_compile "$LINENO"; then :
39789 glibcxx_cv_func__fpclass_use=yes
39790 else
39791 glibcxx_cv_func__fpclass_use=no
39793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39794 ac_ext=c
39795 ac_cpp='$CPP $CPPFLAGS'
39796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39805 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39807 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39808 for ac_func in _fpclass
39809 do :
39810 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39811 if test "x$ac_cv_func__fpclass" = x""yes; then :
39812 cat >>confdefs.h <<_ACEOF
39813 #define HAVE__FPCLASS 1
39814 _ACEOF
39817 done
39826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39827 $as_echo_n "checking for qfpclass declaration... " >&6; }
39828 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39829 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39830 $as_echo_n "(cached) " >&6
39831 else
39834 ac_ext=cpp
39835 ac_cpp='$CXXCPP $CPPFLAGS'
39836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39841 /* end confdefs.h. */
39842 #include <math.h>
39843 #ifdef HAVE_IEEEFP_H
39844 #include <ieeefp.h>
39845 #endif
39848 main ()
39850 qfpclass(0);
39852 return 0;
39854 _ACEOF
39855 if ac_fn_cxx_try_compile "$LINENO"; then :
39856 glibcxx_cv_func_qfpclass_use=yes
39857 else
39858 glibcxx_cv_func_qfpclass_use=no
39860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39861 ac_ext=c
39862 ac_cpp='$CPP $CPPFLAGS'
39863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39872 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39874 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39875 for ac_func in qfpclass
39876 do :
39877 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39878 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39879 cat >>confdefs.h <<_ACEOF
39880 #define HAVE_QFPCLASS 1
39881 _ACEOF
39884 done
39886 else
39888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39889 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39890 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39891 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39892 $as_echo_n "(cached) " >&6
39893 else
39896 ac_ext=cpp
39897 ac_cpp='$CXXCPP $CPPFLAGS'
39898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39903 /* end confdefs.h. */
39904 #include <math.h>
39905 #ifdef HAVE_IEEEFP_H
39906 #include <ieeefp.h>
39907 #endif
39910 main ()
39912 _qfpclass(0);
39914 return 0;
39916 _ACEOF
39917 if ac_fn_cxx_try_compile "$LINENO"; then :
39918 glibcxx_cv_func__qfpclass_use=yes
39919 else
39920 glibcxx_cv_func__qfpclass_use=no
39922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39923 ac_ext=c
39924 ac_cpp='$CPP $CPPFLAGS'
39925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39934 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39936 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39937 for ac_func in _qfpclass
39938 do :
39939 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39940 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39941 cat >>confdefs.h <<_ACEOF
39942 #define HAVE__QFPCLASS 1
39943 _ACEOF
39946 done
39955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39956 $as_echo_n "checking for hypot declaration... " >&6; }
39957 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39958 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39959 $as_echo_n "(cached) " >&6
39960 else
39963 ac_ext=cpp
39964 ac_cpp='$CXXCPP $CPPFLAGS'
39965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39970 /* end confdefs.h. */
39971 #include <math.h>
39973 main ()
39975 hypot(0, 0);
39977 return 0;
39979 _ACEOF
39980 if ac_fn_cxx_try_compile "$LINENO"; then :
39981 glibcxx_cv_func_hypot_use=yes
39982 else
39983 glibcxx_cv_func_hypot_use=no
39985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39986 ac_ext=c
39987 ac_cpp='$CPP $CPPFLAGS'
39988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39997 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39999 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40000 for ac_func in hypot
40001 do :
40002 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40003 if test "x$ac_cv_func_hypot" = x""yes; then :
40004 cat >>confdefs.h <<_ACEOF
40005 #define HAVE_HYPOT 1
40006 _ACEOF
40009 done
40011 else
40013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40014 $as_echo_n "checking for _hypot declaration... " >&6; }
40015 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40016 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40017 $as_echo_n "(cached) " >&6
40018 else
40021 ac_ext=cpp
40022 ac_cpp='$CXXCPP $CPPFLAGS'
40023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40028 /* end confdefs.h. */
40029 #include <math.h>
40031 main ()
40033 _hypot(0, 0);
40035 return 0;
40037 _ACEOF
40038 if ac_fn_cxx_try_compile "$LINENO"; then :
40039 glibcxx_cv_func__hypot_use=yes
40040 else
40041 glibcxx_cv_func__hypot_use=no
40043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40044 ac_ext=c
40045 ac_cpp='$CPP $CPPFLAGS'
40046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40055 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40057 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40058 for ac_func in _hypot
40059 do :
40060 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40061 if test "x$ac_cv_func__hypot" = x""yes; then :
40062 cat >>confdefs.h <<_ACEOF
40063 #define HAVE__HYPOT 1
40064 _ACEOF
40067 done
40076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40077 $as_echo_n "checking for float trig functions... " >&6; }
40078 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40079 $as_echo_n "(cached) " >&6
40080 else
40083 ac_ext=cpp
40084 ac_cpp='$CXXCPP $CPPFLAGS'
40085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40090 /* end confdefs.h. */
40091 #include <math.h>
40093 main ()
40095 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40097 return 0;
40099 _ACEOF
40100 if ac_fn_cxx_try_compile "$LINENO"; then :
40101 glibcxx_cv_func_float_trig_use=yes
40102 else
40103 glibcxx_cv_func_float_trig_use=no
40105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40106 ac_ext=c
40107 ac_cpp='$CPP $CPPFLAGS'
40108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40115 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40116 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40117 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40118 do :
40119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40121 eval as_val=\$$as_ac_var
40122 if test "x$as_val" = x""yes; then :
40123 cat >>confdefs.h <<_ACEOF
40124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40125 _ACEOF
40128 done
40130 else
40131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40132 $as_echo_n "checking for _float trig functions... " >&6; }
40133 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40134 $as_echo_n "(cached) " >&6
40135 else
40138 ac_ext=cpp
40139 ac_cpp='$CXXCPP $CPPFLAGS'
40140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40145 /* end confdefs.h. */
40146 #include <math.h>
40148 main ()
40150 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40152 return 0;
40154 _ACEOF
40155 if ac_fn_cxx_try_compile "$LINENO"; then :
40156 glibcxx_cv_func__float_trig_use=yes
40157 else
40158 glibcxx_cv_func__float_trig_use=no
40160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40161 ac_ext=c
40162 ac_cpp='$CPP $CPPFLAGS'
40163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40170 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40171 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40172 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40173 do :
40174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40176 eval as_val=\$$as_ac_var
40177 if test "x$as_val" = x""yes; then :
40178 cat >>confdefs.h <<_ACEOF
40179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40180 _ACEOF
40183 done
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40193 $as_echo_n "checking for float round functions... " >&6; }
40194 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40195 $as_echo_n "(cached) " >&6
40196 else
40199 ac_ext=cpp
40200 ac_cpp='$CXXCPP $CPPFLAGS'
40201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40206 /* end confdefs.h. */
40207 #include <math.h>
40209 main ()
40211 ceilf (0); floorf (0);
40213 return 0;
40215 _ACEOF
40216 if ac_fn_cxx_try_compile "$LINENO"; then :
40217 glibcxx_cv_func_float_round_use=yes
40218 else
40219 glibcxx_cv_func_float_round_use=no
40221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40222 ac_ext=c
40223 ac_cpp='$CPP $CPPFLAGS'
40224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40231 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40232 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40233 for ac_func in ceilf floorf
40234 do :
40235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40237 eval as_val=\$$as_ac_var
40238 if test "x$as_val" = x""yes; then :
40239 cat >>confdefs.h <<_ACEOF
40240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40241 _ACEOF
40244 done
40246 else
40247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40248 $as_echo_n "checking for _float round functions... " >&6; }
40249 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40250 $as_echo_n "(cached) " >&6
40251 else
40254 ac_ext=cpp
40255 ac_cpp='$CXXCPP $CPPFLAGS'
40256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40261 /* end confdefs.h. */
40262 #include <math.h>
40264 main ()
40266 _ceilf (0); _floorf (0);
40268 return 0;
40270 _ACEOF
40271 if ac_fn_cxx_try_compile "$LINENO"; then :
40272 glibcxx_cv_func__float_round_use=yes
40273 else
40274 glibcxx_cv_func__float_round_use=no
40276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40277 ac_ext=c
40278 ac_cpp='$CPP $CPPFLAGS'
40279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40286 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40287 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40288 for ac_func in _ceilf _floorf
40289 do :
40290 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40291 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40292 eval as_val=\$$as_ac_var
40293 if test "x$as_val" = x""yes; then :
40294 cat >>confdefs.h <<_ACEOF
40295 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40296 _ACEOF
40299 done
40309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40310 $as_echo_n "checking for expf declaration... " >&6; }
40311 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40312 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40313 $as_echo_n "(cached) " >&6
40314 else
40317 ac_ext=cpp
40318 ac_cpp='$CXXCPP $CPPFLAGS'
40319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40324 /* end confdefs.h. */
40325 #include <math.h>
40326 #ifdef HAVE_IEEEFP_H
40327 #include <ieeefp.h>
40328 #endif
40331 main ()
40333 expf(0);
40335 return 0;
40337 _ACEOF
40338 if ac_fn_cxx_try_compile "$LINENO"; then :
40339 glibcxx_cv_func_expf_use=yes
40340 else
40341 glibcxx_cv_func_expf_use=no
40343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40344 ac_ext=c
40345 ac_cpp='$CPP $CPPFLAGS'
40346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40355 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40357 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40358 for ac_func in expf
40359 do :
40360 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40361 if test "x$ac_cv_func_expf" = x""yes; then :
40362 cat >>confdefs.h <<_ACEOF
40363 #define HAVE_EXPF 1
40364 _ACEOF
40367 done
40369 else
40371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40372 $as_echo_n "checking for _expf declaration... " >&6; }
40373 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40374 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40375 $as_echo_n "(cached) " >&6
40376 else
40379 ac_ext=cpp
40380 ac_cpp='$CXXCPP $CPPFLAGS'
40381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40386 /* end confdefs.h. */
40387 #include <math.h>
40388 #ifdef HAVE_IEEEFP_H
40389 #include <ieeefp.h>
40390 #endif
40393 main ()
40395 _expf(0);
40397 return 0;
40399 _ACEOF
40400 if ac_fn_cxx_try_compile "$LINENO"; then :
40401 glibcxx_cv_func__expf_use=yes
40402 else
40403 glibcxx_cv_func__expf_use=no
40405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40406 ac_ext=c
40407 ac_cpp='$CPP $CPPFLAGS'
40408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40417 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40419 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40420 for ac_func in _expf
40421 do :
40422 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40423 if test "x$ac_cv_func__expf" = x""yes; then :
40424 cat >>confdefs.h <<_ACEOF
40425 #define HAVE__EXPF 1
40426 _ACEOF
40429 done
40438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40439 $as_echo_n "checking for isnanf declaration... " >&6; }
40440 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40441 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40442 $as_echo_n "(cached) " >&6
40443 else
40446 ac_ext=cpp
40447 ac_cpp='$CXXCPP $CPPFLAGS'
40448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40453 /* end confdefs.h. */
40454 #include <math.h>
40455 #ifdef HAVE_IEEEFP_H
40456 #include <ieeefp.h>
40457 #endif
40460 main ()
40462 isnanf(0);
40464 return 0;
40466 _ACEOF
40467 if ac_fn_cxx_try_compile "$LINENO"; then :
40468 glibcxx_cv_func_isnanf_use=yes
40469 else
40470 glibcxx_cv_func_isnanf_use=no
40472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40473 ac_ext=c
40474 ac_cpp='$CPP $CPPFLAGS'
40475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40484 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40486 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40487 for ac_func in isnanf
40488 do :
40489 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40490 if test "x$ac_cv_func_isnanf" = x""yes; then :
40491 cat >>confdefs.h <<_ACEOF
40492 #define HAVE_ISNANF 1
40493 _ACEOF
40496 done
40498 else
40500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40501 $as_echo_n "checking for _isnanf declaration... " >&6; }
40502 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40503 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40504 $as_echo_n "(cached) " >&6
40505 else
40508 ac_ext=cpp
40509 ac_cpp='$CXXCPP $CPPFLAGS'
40510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40515 /* end confdefs.h. */
40516 #include <math.h>
40517 #ifdef HAVE_IEEEFP_H
40518 #include <ieeefp.h>
40519 #endif
40522 main ()
40524 _isnanf(0);
40526 return 0;
40528 _ACEOF
40529 if ac_fn_cxx_try_compile "$LINENO"; then :
40530 glibcxx_cv_func__isnanf_use=yes
40531 else
40532 glibcxx_cv_func__isnanf_use=no
40534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40535 ac_ext=c
40536 ac_cpp='$CPP $CPPFLAGS'
40537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40546 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40548 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40549 for ac_func in _isnanf
40550 do :
40551 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40552 if test "x$ac_cv_func__isnanf" = x""yes; then :
40553 cat >>confdefs.h <<_ACEOF
40554 #define HAVE__ISNANF 1
40555 _ACEOF
40558 done
40567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40568 $as_echo_n "checking for isinff declaration... " >&6; }
40569 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40570 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40571 $as_echo_n "(cached) " >&6
40572 else
40575 ac_ext=cpp
40576 ac_cpp='$CXXCPP $CPPFLAGS'
40577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40582 /* end confdefs.h. */
40583 #include <math.h>
40584 #ifdef HAVE_IEEEFP_H
40585 #include <ieeefp.h>
40586 #endif
40589 main ()
40591 isinff(0);
40593 return 0;
40595 _ACEOF
40596 if ac_fn_cxx_try_compile "$LINENO"; then :
40597 glibcxx_cv_func_isinff_use=yes
40598 else
40599 glibcxx_cv_func_isinff_use=no
40601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40602 ac_ext=c
40603 ac_cpp='$CPP $CPPFLAGS'
40604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40613 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40615 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40616 for ac_func in isinff
40617 do :
40618 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40619 if test "x$ac_cv_func_isinff" = x""yes; then :
40620 cat >>confdefs.h <<_ACEOF
40621 #define HAVE_ISINFF 1
40622 _ACEOF
40625 done
40627 else
40629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40630 $as_echo_n "checking for _isinff declaration... " >&6; }
40631 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40632 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40633 $as_echo_n "(cached) " >&6
40634 else
40637 ac_ext=cpp
40638 ac_cpp='$CXXCPP $CPPFLAGS'
40639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40644 /* end confdefs.h. */
40645 #include <math.h>
40646 #ifdef HAVE_IEEEFP_H
40647 #include <ieeefp.h>
40648 #endif
40651 main ()
40653 _isinff(0);
40655 return 0;
40657 _ACEOF
40658 if ac_fn_cxx_try_compile "$LINENO"; then :
40659 glibcxx_cv_func__isinff_use=yes
40660 else
40661 glibcxx_cv_func__isinff_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__isinff_use" >&5
40675 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40677 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40678 for ac_func in _isinff
40679 do :
40680 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40681 if test "x$ac_cv_func__isinff" = x""yes; then :
40682 cat >>confdefs.h <<_ACEOF
40683 #define HAVE__ISINFF 1
40684 _ACEOF
40687 done
40696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40697 $as_echo_n "checking for atan2f declaration... " >&6; }
40698 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40699 if test "${glibcxx_cv_func_atan2f_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>
40714 main ()
40716 atan2f(0, 0);
40718 return 0;
40720 _ACEOF
40721 if ac_fn_cxx_try_compile "$LINENO"; then :
40722 glibcxx_cv_func_atan2f_use=yes
40723 else
40724 glibcxx_cv_func_atan2f_use=no
40726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40727 ac_ext=c
40728 ac_cpp='$CPP $CPPFLAGS'
40729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40738 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40740 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40741 for ac_func in atan2f
40742 do :
40743 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40744 if test "x$ac_cv_func_atan2f" = x""yes; then :
40745 cat >>confdefs.h <<_ACEOF
40746 #define HAVE_ATAN2F 1
40747 _ACEOF
40750 done
40752 else
40754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40755 $as_echo_n "checking for _atan2f declaration... " >&6; }
40756 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40757 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40758 $as_echo_n "(cached) " >&6
40759 else
40762 ac_ext=cpp
40763 ac_cpp='$CXXCPP $CPPFLAGS'
40764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40769 /* end confdefs.h. */
40770 #include <math.h>
40772 main ()
40774 _atan2f(0, 0);
40776 return 0;
40778 _ACEOF
40779 if ac_fn_cxx_try_compile "$LINENO"; then :
40780 glibcxx_cv_func__atan2f_use=yes
40781 else
40782 glibcxx_cv_func__atan2f_use=no
40784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40785 ac_ext=c
40786 ac_cpp='$CPP $CPPFLAGS'
40787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40796 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40798 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40799 for ac_func in _atan2f
40800 do :
40801 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40802 if test "x$ac_cv_func__atan2f" = x""yes; then :
40803 cat >>confdefs.h <<_ACEOF
40804 #define HAVE__ATAN2F 1
40805 _ACEOF
40808 done
40817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40818 $as_echo_n "checking for fabsf declaration... " >&6; }
40819 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40820 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40821 $as_echo_n "(cached) " >&6
40822 else
40825 ac_ext=cpp
40826 ac_cpp='$CXXCPP $CPPFLAGS'
40827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40832 /* end confdefs.h. */
40833 #include <math.h>
40834 #ifdef HAVE_IEEEFP_H
40835 #include <ieeefp.h>
40836 #endif
40839 main ()
40841 fabsf(0);
40843 return 0;
40845 _ACEOF
40846 if ac_fn_cxx_try_compile "$LINENO"; then :
40847 glibcxx_cv_func_fabsf_use=yes
40848 else
40849 glibcxx_cv_func_fabsf_use=no
40851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40852 ac_ext=c
40853 ac_cpp='$CPP $CPPFLAGS'
40854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40863 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40865 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40866 for ac_func in fabsf
40867 do :
40868 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40869 if test "x$ac_cv_func_fabsf" = x""yes; then :
40870 cat >>confdefs.h <<_ACEOF
40871 #define HAVE_FABSF 1
40872 _ACEOF
40875 done
40877 else
40879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40880 $as_echo_n "checking for _fabsf declaration... " >&6; }
40881 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40882 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40883 $as_echo_n "(cached) " >&6
40884 else
40887 ac_ext=cpp
40888 ac_cpp='$CXXCPP $CPPFLAGS'
40889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40894 /* end confdefs.h. */
40895 #include <math.h>
40896 #ifdef HAVE_IEEEFP_H
40897 #include <ieeefp.h>
40898 #endif
40901 main ()
40903 _fabsf(0);
40905 return 0;
40907 _ACEOF
40908 if ac_fn_cxx_try_compile "$LINENO"; then :
40909 glibcxx_cv_func__fabsf_use=yes
40910 else
40911 glibcxx_cv_func__fabsf_use=no
40913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40914 ac_ext=c
40915 ac_cpp='$CPP $CPPFLAGS'
40916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40925 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40927 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40928 for ac_func in _fabsf
40929 do :
40930 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40931 if test "x$ac_cv_func__fabsf" = x""yes; then :
40932 cat >>confdefs.h <<_ACEOF
40933 #define HAVE__FABSF 1
40934 _ACEOF
40937 done
40946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40947 $as_echo_n "checking for fmodf declaration... " >&6; }
40948 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40949 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40950 $as_echo_n "(cached) " >&6
40951 else
40954 ac_ext=cpp
40955 ac_cpp='$CXXCPP $CPPFLAGS'
40956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40961 /* end confdefs.h. */
40962 #include <math.h>
40964 main ()
40966 fmodf(0, 0);
40968 return 0;
40970 _ACEOF
40971 if ac_fn_cxx_try_compile "$LINENO"; then :
40972 glibcxx_cv_func_fmodf_use=yes
40973 else
40974 glibcxx_cv_func_fmodf_use=no
40976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40977 ac_ext=c
40978 ac_cpp='$CPP $CPPFLAGS'
40979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40988 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40990 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40991 for ac_func in fmodf
40992 do :
40993 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40994 if test "x$ac_cv_func_fmodf" = x""yes; then :
40995 cat >>confdefs.h <<_ACEOF
40996 #define HAVE_FMODF 1
40997 _ACEOF
41000 done
41002 else
41004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41005 $as_echo_n "checking for _fmodf declaration... " >&6; }
41006 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41007 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41008 $as_echo_n "(cached) " >&6
41009 else
41012 ac_ext=cpp
41013 ac_cpp='$CXXCPP $CPPFLAGS'
41014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41019 /* end confdefs.h. */
41020 #include <math.h>
41022 main ()
41024 _fmodf(0, 0);
41026 return 0;
41028 _ACEOF
41029 if ac_fn_cxx_try_compile "$LINENO"; then :
41030 glibcxx_cv_func__fmodf_use=yes
41031 else
41032 glibcxx_cv_func__fmodf_use=no
41034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41035 ac_ext=c
41036 ac_cpp='$CPP $CPPFLAGS'
41037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41046 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41048 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41049 for ac_func in _fmodf
41050 do :
41051 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41052 if test "x$ac_cv_func__fmodf" = x""yes; then :
41053 cat >>confdefs.h <<_ACEOF
41054 #define HAVE__FMODF 1
41055 _ACEOF
41058 done
41067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41068 $as_echo_n "checking for frexpf declaration... " >&6; }
41069 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41070 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41071 $as_echo_n "(cached) " >&6
41072 else
41075 ac_ext=cpp
41076 ac_cpp='$CXXCPP $CPPFLAGS'
41077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41082 /* end confdefs.h. */
41083 #include <math.h>
41085 main ()
41087 frexpf(0, 0);
41089 return 0;
41091 _ACEOF
41092 if ac_fn_cxx_try_compile "$LINENO"; then :
41093 glibcxx_cv_func_frexpf_use=yes
41094 else
41095 glibcxx_cv_func_frexpf_use=no
41097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41098 ac_ext=c
41099 ac_cpp='$CPP $CPPFLAGS'
41100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41109 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41111 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41112 for ac_func in frexpf
41113 do :
41114 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41115 if test "x$ac_cv_func_frexpf" = x""yes; then :
41116 cat >>confdefs.h <<_ACEOF
41117 #define HAVE_FREXPF 1
41118 _ACEOF
41121 done
41123 else
41125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41126 $as_echo_n "checking for _frexpf declaration... " >&6; }
41127 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41128 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41129 $as_echo_n "(cached) " >&6
41130 else
41133 ac_ext=cpp
41134 ac_cpp='$CXXCPP $CPPFLAGS'
41135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41140 /* end confdefs.h. */
41141 #include <math.h>
41143 main ()
41145 _frexpf(0, 0);
41147 return 0;
41149 _ACEOF
41150 if ac_fn_cxx_try_compile "$LINENO"; then :
41151 glibcxx_cv_func__frexpf_use=yes
41152 else
41153 glibcxx_cv_func__frexpf_use=no
41155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41156 ac_ext=c
41157 ac_cpp='$CPP $CPPFLAGS'
41158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41167 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41169 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41170 for ac_func in _frexpf
41171 do :
41172 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41173 if test "x$ac_cv_func__frexpf" = x""yes; then :
41174 cat >>confdefs.h <<_ACEOF
41175 #define HAVE__FREXPF 1
41176 _ACEOF
41179 done
41188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41189 $as_echo_n "checking for hypotf declaration... " >&6; }
41190 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41191 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41192 $as_echo_n "(cached) " >&6
41193 else
41196 ac_ext=cpp
41197 ac_cpp='$CXXCPP $CPPFLAGS'
41198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41203 /* end confdefs.h. */
41204 #include <math.h>
41206 main ()
41208 hypotf(0, 0);
41210 return 0;
41212 _ACEOF
41213 if ac_fn_cxx_try_compile "$LINENO"; then :
41214 glibcxx_cv_func_hypotf_use=yes
41215 else
41216 glibcxx_cv_func_hypotf_use=no
41218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41219 ac_ext=c
41220 ac_cpp='$CPP $CPPFLAGS'
41221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41230 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41232 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41233 for ac_func in hypotf
41234 do :
41235 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41236 if test "x$ac_cv_func_hypotf" = x""yes; then :
41237 cat >>confdefs.h <<_ACEOF
41238 #define HAVE_HYPOTF 1
41239 _ACEOF
41242 done
41244 else
41246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41247 $as_echo_n "checking for _hypotf declaration... " >&6; }
41248 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41249 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41250 $as_echo_n "(cached) " >&6
41251 else
41254 ac_ext=cpp
41255 ac_cpp='$CXXCPP $CPPFLAGS'
41256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41261 /* end confdefs.h. */
41262 #include <math.h>
41264 main ()
41266 _hypotf(0, 0);
41268 return 0;
41270 _ACEOF
41271 if ac_fn_cxx_try_compile "$LINENO"; then :
41272 glibcxx_cv_func__hypotf_use=yes
41273 else
41274 glibcxx_cv_func__hypotf_use=no
41276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41277 ac_ext=c
41278 ac_cpp='$CPP $CPPFLAGS'
41279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41288 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41290 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41291 for ac_func in _hypotf
41292 do :
41293 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41294 if test "x$ac_cv_func__hypotf" = x""yes; then :
41295 cat >>confdefs.h <<_ACEOF
41296 #define HAVE__HYPOTF 1
41297 _ACEOF
41300 done
41309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41310 $as_echo_n "checking for ldexpf declaration... " >&6; }
41311 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41312 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41313 $as_echo_n "(cached) " >&6
41314 else
41317 ac_ext=cpp
41318 ac_cpp='$CXXCPP $CPPFLAGS'
41319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41324 /* end confdefs.h. */
41325 #include <math.h>
41327 main ()
41329 ldexpf(0, 0);
41331 return 0;
41333 _ACEOF
41334 if ac_fn_cxx_try_compile "$LINENO"; then :
41335 glibcxx_cv_func_ldexpf_use=yes
41336 else
41337 glibcxx_cv_func_ldexpf_use=no
41339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41340 ac_ext=c
41341 ac_cpp='$CPP $CPPFLAGS'
41342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41351 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41353 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41354 for ac_func in ldexpf
41355 do :
41356 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41357 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41358 cat >>confdefs.h <<_ACEOF
41359 #define HAVE_LDEXPF 1
41360 _ACEOF
41363 done
41365 else
41367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41368 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41369 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41370 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41371 $as_echo_n "(cached) " >&6
41372 else
41375 ac_ext=cpp
41376 ac_cpp='$CXXCPP $CPPFLAGS'
41377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41382 /* end confdefs.h. */
41383 #include <math.h>
41385 main ()
41387 _ldexpf(0, 0);
41389 return 0;
41391 _ACEOF
41392 if ac_fn_cxx_try_compile "$LINENO"; then :
41393 glibcxx_cv_func__ldexpf_use=yes
41394 else
41395 glibcxx_cv_func__ldexpf_use=no
41397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41398 ac_ext=c
41399 ac_cpp='$CPP $CPPFLAGS'
41400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41409 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41411 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41412 for ac_func in _ldexpf
41413 do :
41414 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41415 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41416 cat >>confdefs.h <<_ACEOF
41417 #define HAVE__LDEXPF 1
41418 _ACEOF
41421 done
41430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41431 $as_echo_n "checking for logf declaration... " >&6; }
41432 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41433 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41434 $as_echo_n "(cached) " >&6
41435 else
41438 ac_ext=cpp
41439 ac_cpp='$CXXCPP $CPPFLAGS'
41440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41445 /* end confdefs.h. */
41446 #include <math.h>
41447 #ifdef HAVE_IEEEFP_H
41448 #include <ieeefp.h>
41449 #endif
41452 main ()
41454 logf(0);
41456 return 0;
41458 _ACEOF
41459 if ac_fn_cxx_try_compile "$LINENO"; then :
41460 glibcxx_cv_func_logf_use=yes
41461 else
41462 glibcxx_cv_func_logf_use=no
41464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41465 ac_ext=c
41466 ac_cpp='$CPP $CPPFLAGS'
41467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41476 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41478 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41479 for ac_func in logf
41480 do :
41481 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41482 if test "x$ac_cv_func_logf" = x""yes; then :
41483 cat >>confdefs.h <<_ACEOF
41484 #define HAVE_LOGF 1
41485 _ACEOF
41488 done
41490 else
41492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41493 $as_echo_n "checking for _logf declaration... " >&6; }
41494 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41495 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41496 $as_echo_n "(cached) " >&6
41497 else
41500 ac_ext=cpp
41501 ac_cpp='$CXXCPP $CPPFLAGS'
41502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41507 /* end confdefs.h. */
41508 #include <math.h>
41509 #ifdef HAVE_IEEEFP_H
41510 #include <ieeefp.h>
41511 #endif
41514 main ()
41516 _logf(0);
41518 return 0;
41520 _ACEOF
41521 if ac_fn_cxx_try_compile "$LINENO"; then :
41522 glibcxx_cv_func__logf_use=yes
41523 else
41524 glibcxx_cv_func__logf_use=no
41526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41527 ac_ext=c
41528 ac_cpp='$CPP $CPPFLAGS'
41529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41538 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41540 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41541 for ac_func in _logf
41542 do :
41543 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41544 if test "x$ac_cv_func__logf" = x""yes; then :
41545 cat >>confdefs.h <<_ACEOF
41546 #define HAVE__LOGF 1
41547 _ACEOF
41550 done
41559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41560 $as_echo_n "checking for log10f declaration... " >&6; }
41561 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41562 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41563 $as_echo_n "(cached) " >&6
41564 else
41567 ac_ext=cpp
41568 ac_cpp='$CXXCPP $CPPFLAGS'
41569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41574 /* end confdefs.h. */
41575 #include <math.h>
41576 #ifdef HAVE_IEEEFP_H
41577 #include <ieeefp.h>
41578 #endif
41581 main ()
41583 log10f(0);
41585 return 0;
41587 _ACEOF
41588 if ac_fn_cxx_try_compile "$LINENO"; then :
41589 glibcxx_cv_func_log10f_use=yes
41590 else
41591 glibcxx_cv_func_log10f_use=no
41593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41594 ac_ext=c
41595 ac_cpp='$CPP $CPPFLAGS'
41596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41605 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41607 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41608 for ac_func in log10f
41609 do :
41610 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41611 if test "x$ac_cv_func_log10f" = x""yes; then :
41612 cat >>confdefs.h <<_ACEOF
41613 #define HAVE_LOG10F 1
41614 _ACEOF
41617 done
41619 else
41621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41622 $as_echo_n "checking for _log10f declaration... " >&6; }
41623 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41624 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41625 $as_echo_n "(cached) " >&6
41626 else
41629 ac_ext=cpp
41630 ac_cpp='$CXXCPP $CPPFLAGS'
41631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41636 /* end confdefs.h. */
41637 #include <math.h>
41638 #ifdef HAVE_IEEEFP_H
41639 #include <ieeefp.h>
41640 #endif
41643 main ()
41645 _log10f(0);
41647 return 0;
41649 _ACEOF
41650 if ac_fn_cxx_try_compile "$LINENO"; then :
41651 glibcxx_cv_func__log10f_use=yes
41652 else
41653 glibcxx_cv_func__log10f_use=no
41655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41656 ac_ext=c
41657 ac_cpp='$CPP $CPPFLAGS'
41658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41667 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41669 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41670 for ac_func in _log10f
41671 do :
41672 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41673 if test "x$ac_cv_func__log10f" = x""yes; then :
41674 cat >>confdefs.h <<_ACEOF
41675 #define HAVE__LOG10F 1
41676 _ACEOF
41679 done
41688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41689 $as_echo_n "checking for modff declaration... " >&6; }
41690 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41691 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41692 $as_echo_n "(cached) " >&6
41693 else
41696 ac_ext=cpp
41697 ac_cpp='$CXXCPP $CPPFLAGS'
41698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41703 /* end confdefs.h. */
41704 #include <math.h>
41706 main ()
41708 modff(0, 0);
41710 return 0;
41712 _ACEOF
41713 if ac_fn_cxx_try_compile "$LINENO"; then :
41714 glibcxx_cv_func_modff_use=yes
41715 else
41716 glibcxx_cv_func_modff_use=no
41718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41719 ac_ext=c
41720 ac_cpp='$CPP $CPPFLAGS'
41721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41730 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41732 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41733 for ac_func in modff
41734 do :
41735 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41736 if test "x$ac_cv_func_modff" = x""yes; then :
41737 cat >>confdefs.h <<_ACEOF
41738 #define HAVE_MODFF 1
41739 _ACEOF
41742 done
41744 else
41746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41747 $as_echo_n "checking for _modff declaration... " >&6; }
41748 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41749 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41750 $as_echo_n "(cached) " >&6
41751 else
41754 ac_ext=cpp
41755 ac_cpp='$CXXCPP $CPPFLAGS'
41756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41761 /* end confdefs.h. */
41762 #include <math.h>
41764 main ()
41766 _modff(0, 0);
41768 return 0;
41770 _ACEOF
41771 if ac_fn_cxx_try_compile "$LINENO"; then :
41772 glibcxx_cv_func__modff_use=yes
41773 else
41774 glibcxx_cv_func__modff_use=no
41776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41777 ac_ext=c
41778 ac_cpp='$CPP $CPPFLAGS'
41779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41788 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41790 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41791 for ac_func in _modff
41792 do :
41793 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41794 if test "x$ac_cv_func__modff" = x""yes; then :
41795 cat >>confdefs.h <<_ACEOF
41796 #define HAVE__MODFF 1
41797 _ACEOF
41800 done
41809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41810 $as_echo_n "checking for modf declaration... " >&6; }
41811 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41812 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41813 $as_echo_n "(cached) " >&6
41814 else
41817 ac_ext=cpp
41818 ac_cpp='$CXXCPP $CPPFLAGS'
41819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41824 /* end confdefs.h. */
41825 #include <math.h>
41827 main ()
41829 modf(0, 0);
41831 return 0;
41833 _ACEOF
41834 if ac_fn_cxx_try_compile "$LINENO"; then :
41835 glibcxx_cv_func_modf_use=yes
41836 else
41837 glibcxx_cv_func_modf_use=no
41839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41840 ac_ext=c
41841 ac_cpp='$CPP $CPPFLAGS'
41842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41851 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41853 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41854 for ac_func in modf
41855 do :
41856 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41857 if test "x$ac_cv_func_modf" = x""yes; then :
41858 cat >>confdefs.h <<_ACEOF
41859 #define HAVE_MODF 1
41860 _ACEOF
41863 done
41865 else
41867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41868 $as_echo_n "checking for _modf declaration... " >&6; }
41869 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41870 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41871 $as_echo_n "(cached) " >&6
41872 else
41875 ac_ext=cpp
41876 ac_cpp='$CXXCPP $CPPFLAGS'
41877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41882 /* end confdefs.h. */
41883 #include <math.h>
41885 main ()
41887 _modf(0, 0);
41889 return 0;
41891 _ACEOF
41892 if ac_fn_cxx_try_compile "$LINENO"; then :
41893 glibcxx_cv_func__modf_use=yes
41894 else
41895 glibcxx_cv_func__modf_use=no
41897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41898 ac_ext=c
41899 ac_cpp='$CPP $CPPFLAGS'
41900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41909 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41911 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41912 for ac_func in _modf
41913 do :
41914 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41915 if test "x$ac_cv_func__modf" = x""yes; then :
41916 cat >>confdefs.h <<_ACEOF
41917 #define HAVE__MODF 1
41918 _ACEOF
41921 done
41930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41931 $as_echo_n "checking for powf declaration... " >&6; }
41932 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41933 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41934 $as_echo_n "(cached) " >&6
41935 else
41938 ac_ext=cpp
41939 ac_cpp='$CXXCPP $CPPFLAGS'
41940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41945 /* end confdefs.h. */
41946 #include <math.h>
41948 main ()
41950 powf(0, 0);
41952 return 0;
41954 _ACEOF
41955 if ac_fn_cxx_try_compile "$LINENO"; then :
41956 glibcxx_cv_func_powf_use=yes
41957 else
41958 glibcxx_cv_func_powf_use=no
41960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41961 ac_ext=c
41962 ac_cpp='$CPP $CPPFLAGS'
41963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41972 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41974 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41975 for ac_func in powf
41976 do :
41977 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41978 if test "x$ac_cv_func_powf" = x""yes; then :
41979 cat >>confdefs.h <<_ACEOF
41980 #define HAVE_POWF 1
41981 _ACEOF
41984 done
41986 else
41988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41989 $as_echo_n "checking for _powf declaration... " >&6; }
41990 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41991 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41992 $as_echo_n "(cached) " >&6
41993 else
41996 ac_ext=cpp
41997 ac_cpp='$CXXCPP $CPPFLAGS'
41998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42003 /* end confdefs.h. */
42004 #include <math.h>
42006 main ()
42008 _powf(0, 0);
42010 return 0;
42012 _ACEOF
42013 if ac_fn_cxx_try_compile "$LINENO"; then :
42014 glibcxx_cv_func__powf_use=yes
42015 else
42016 glibcxx_cv_func__powf_use=no
42018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42019 ac_ext=c
42020 ac_cpp='$CPP $CPPFLAGS'
42021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42030 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42032 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42033 for ac_func in _powf
42034 do :
42035 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42036 if test "x$ac_cv_func__powf" = x""yes; then :
42037 cat >>confdefs.h <<_ACEOF
42038 #define HAVE__POWF 1
42039 _ACEOF
42042 done
42051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42052 $as_echo_n "checking for sqrtf declaration... " >&6; }
42053 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42054 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42055 $as_echo_n "(cached) " >&6
42056 else
42059 ac_ext=cpp
42060 ac_cpp='$CXXCPP $CPPFLAGS'
42061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42066 /* end confdefs.h. */
42067 #include <math.h>
42068 #ifdef HAVE_IEEEFP_H
42069 #include <ieeefp.h>
42070 #endif
42073 main ()
42075 sqrtf(0);
42077 return 0;
42079 _ACEOF
42080 if ac_fn_cxx_try_compile "$LINENO"; then :
42081 glibcxx_cv_func_sqrtf_use=yes
42082 else
42083 glibcxx_cv_func_sqrtf_use=no
42085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42086 ac_ext=c
42087 ac_cpp='$CPP $CPPFLAGS'
42088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42097 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42099 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42100 for ac_func in sqrtf
42101 do :
42102 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42103 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42104 cat >>confdefs.h <<_ACEOF
42105 #define HAVE_SQRTF 1
42106 _ACEOF
42109 done
42111 else
42113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42114 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42115 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42116 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42117 $as_echo_n "(cached) " >&6
42118 else
42121 ac_ext=cpp
42122 ac_cpp='$CXXCPP $CPPFLAGS'
42123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42128 /* end confdefs.h. */
42129 #include <math.h>
42130 #ifdef HAVE_IEEEFP_H
42131 #include <ieeefp.h>
42132 #endif
42135 main ()
42137 _sqrtf(0);
42139 return 0;
42141 _ACEOF
42142 if ac_fn_cxx_try_compile "$LINENO"; then :
42143 glibcxx_cv_func__sqrtf_use=yes
42144 else
42145 glibcxx_cv_func__sqrtf_use=no
42147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42148 ac_ext=c
42149 ac_cpp='$CPP $CPPFLAGS'
42150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42159 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42161 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42162 for ac_func in _sqrtf
42163 do :
42164 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42165 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42166 cat >>confdefs.h <<_ACEOF
42167 #define HAVE__SQRTF 1
42168 _ACEOF
42171 done
42180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42181 $as_echo_n "checking for sincosf declaration... " >&6; }
42182 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42183 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42184 $as_echo_n "(cached) " >&6
42185 else
42188 ac_ext=cpp
42189 ac_cpp='$CXXCPP $CPPFLAGS'
42190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42195 /* end confdefs.h. */
42196 #include <math.h>
42198 main ()
42200 sincosf(0, 0, 0);
42202 return 0;
42204 _ACEOF
42205 if ac_fn_cxx_try_compile "$LINENO"; then :
42206 glibcxx_cv_func_sincosf_use=yes
42207 else
42208 glibcxx_cv_func_sincosf_use=no
42210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42211 ac_ext=c
42212 ac_cpp='$CPP $CPPFLAGS'
42213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42222 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42224 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42225 for ac_func in sincosf
42226 do :
42227 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42228 if test "x$ac_cv_func_sincosf" = x""yes; then :
42229 cat >>confdefs.h <<_ACEOF
42230 #define HAVE_SINCOSF 1
42231 _ACEOF
42234 done
42236 else
42238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42239 $as_echo_n "checking for _sincosf declaration... " >&6; }
42240 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42241 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42242 $as_echo_n "(cached) " >&6
42243 else
42246 ac_ext=cpp
42247 ac_cpp='$CXXCPP $CPPFLAGS'
42248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42253 /* end confdefs.h. */
42254 #include <math.h>
42256 main ()
42258 _sincosf(0, 0, 0);
42260 return 0;
42262 _ACEOF
42263 if ac_fn_cxx_try_compile "$LINENO"; then :
42264 glibcxx_cv_func__sincosf_use=yes
42265 else
42266 glibcxx_cv_func__sincosf_use=no
42268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42269 ac_ext=c
42270 ac_cpp='$CPP $CPPFLAGS'
42271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42280 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42282 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42283 for ac_func in _sincosf
42284 do :
42285 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42286 if test "x$ac_cv_func__sincosf" = x""yes; then :
42287 cat >>confdefs.h <<_ACEOF
42288 #define HAVE__SINCOSF 1
42289 _ACEOF
42292 done
42301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42302 $as_echo_n "checking for finitef declaration... " >&6; }
42303 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42304 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42305 $as_echo_n "(cached) " >&6
42306 else
42309 ac_ext=cpp
42310 ac_cpp='$CXXCPP $CPPFLAGS'
42311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42316 /* end confdefs.h. */
42317 #include <math.h>
42318 #ifdef HAVE_IEEEFP_H
42319 #include <ieeefp.h>
42320 #endif
42323 main ()
42325 finitef(0);
42327 return 0;
42329 _ACEOF
42330 if ac_fn_cxx_try_compile "$LINENO"; then :
42331 glibcxx_cv_func_finitef_use=yes
42332 else
42333 glibcxx_cv_func_finitef_use=no
42335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42336 ac_ext=c
42337 ac_cpp='$CPP $CPPFLAGS'
42338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42347 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42349 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42350 for ac_func in finitef
42351 do :
42352 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42353 if test "x$ac_cv_func_finitef" = x""yes; then :
42354 cat >>confdefs.h <<_ACEOF
42355 #define HAVE_FINITEF 1
42356 _ACEOF
42359 done
42361 else
42363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42364 $as_echo_n "checking for _finitef declaration... " >&6; }
42365 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42366 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42367 $as_echo_n "(cached) " >&6
42368 else
42371 ac_ext=cpp
42372 ac_cpp='$CXXCPP $CPPFLAGS'
42373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42378 /* end confdefs.h. */
42379 #include <math.h>
42380 #ifdef HAVE_IEEEFP_H
42381 #include <ieeefp.h>
42382 #endif
42385 main ()
42387 _finitef(0);
42389 return 0;
42391 _ACEOF
42392 if ac_fn_cxx_try_compile "$LINENO"; then :
42393 glibcxx_cv_func__finitef_use=yes
42394 else
42395 glibcxx_cv_func__finitef_use=no
42397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42398 ac_ext=c
42399 ac_cpp='$CPP $CPPFLAGS'
42400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42409 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42411 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42412 for ac_func in _finitef
42413 do :
42414 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42415 if test "x$ac_cv_func__finitef" = x""yes; then :
42416 cat >>confdefs.h <<_ACEOF
42417 #define HAVE__FINITEF 1
42418 _ACEOF
42421 done
42430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42431 $as_echo_n "checking for long double trig functions... " >&6; }
42432 if test "${glibcxx_cv_func_long_double_trig_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>
42447 main ()
42449 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42451 return 0;
42453 _ACEOF
42454 if ac_fn_cxx_try_compile "$LINENO"; then :
42455 glibcxx_cv_func_long_double_trig_use=yes
42456 else
42457 glibcxx_cv_func_long_double_trig_use=no
42459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42460 ac_ext=c
42461 ac_cpp='$CPP $CPPFLAGS'
42462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42469 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42470 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42471 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42472 do :
42473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42475 eval as_val=\$$as_ac_var
42476 if test "x$as_val" = x""yes; then :
42477 cat >>confdefs.h <<_ACEOF
42478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42479 _ACEOF
42482 done
42484 else
42485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42486 $as_echo_n "checking for _long double trig functions... " >&6; }
42487 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42488 $as_echo_n "(cached) " >&6
42489 else
42492 ac_ext=cpp
42493 ac_cpp='$CXXCPP $CPPFLAGS'
42494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42499 /* end confdefs.h. */
42500 #include <math.h>
42502 main ()
42504 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42506 return 0;
42508 _ACEOF
42509 if ac_fn_cxx_try_compile "$LINENO"; then :
42510 glibcxx_cv_func__long_double_trig_use=yes
42511 else
42512 glibcxx_cv_func__long_double_trig_use=no
42514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42515 ac_ext=c
42516 ac_cpp='$CPP $CPPFLAGS'
42517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42524 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42525 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42526 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42527 do :
42528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42530 eval as_val=\$$as_ac_var
42531 if test "x$as_val" = x""yes; then :
42532 cat >>confdefs.h <<_ACEOF
42533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42534 _ACEOF
42537 done
42546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42547 $as_echo_n "checking for long double round functions... " >&6; }
42548 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42549 $as_echo_n "(cached) " >&6
42550 else
42553 ac_ext=cpp
42554 ac_cpp='$CXXCPP $CPPFLAGS'
42555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42560 /* end confdefs.h. */
42561 #include <math.h>
42563 main ()
42565 ceill (0); floorl (0);
42567 return 0;
42569 _ACEOF
42570 if ac_fn_cxx_try_compile "$LINENO"; then :
42571 glibcxx_cv_func_long_double_round_use=yes
42572 else
42573 glibcxx_cv_func_long_double_round_use=no
42575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42576 ac_ext=c
42577 ac_cpp='$CPP $CPPFLAGS'
42578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42585 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42586 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42587 for ac_func in ceill floorl
42588 do :
42589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42591 eval as_val=\$$as_ac_var
42592 if test "x$as_val" = x""yes; then :
42593 cat >>confdefs.h <<_ACEOF
42594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42595 _ACEOF
42598 done
42600 else
42601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42602 $as_echo_n "checking for _long double round functions... " >&6; }
42603 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42604 $as_echo_n "(cached) " >&6
42605 else
42608 ac_ext=cpp
42609 ac_cpp='$CXXCPP $CPPFLAGS'
42610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42615 /* end confdefs.h. */
42616 #include <math.h>
42618 main ()
42620 _ceill (0); _floorl (0);
42622 return 0;
42624 _ACEOF
42625 if ac_fn_cxx_try_compile "$LINENO"; then :
42626 glibcxx_cv_func__long_double_round_use=yes
42627 else
42628 glibcxx_cv_func__long_double_round_use=no
42630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42631 ac_ext=c
42632 ac_cpp='$CPP $CPPFLAGS'
42633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42640 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42641 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42642 for ac_func in _ceill _floorl
42643 do :
42644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42646 eval as_val=\$$as_ac_var
42647 if test "x$as_val" = x""yes; then :
42648 cat >>confdefs.h <<_ACEOF
42649 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42650 _ACEOF
42653 done
42663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42664 $as_echo_n "checking for isnanl declaration... " >&6; }
42665 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42666 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42667 $as_echo_n "(cached) " >&6
42668 else
42671 ac_ext=cpp
42672 ac_cpp='$CXXCPP $CPPFLAGS'
42673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42678 /* end confdefs.h. */
42679 #include <math.h>
42680 #ifdef HAVE_IEEEFP_H
42681 #include <ieeefp.h>
42682 #endif
42685 main ()
42687 isnanl(0);
42689 return 0;
42691 _ACEOF
42692 if ac_fn_cxx_try_compile "$LINENO"; then :
42693 glibcxx_cv_func_isnanl_use=yes
42694 else
42695 glibcxx_cv_func_isnanl_use=no
42697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42698 ac_ext=c
42699 ac_cpp='$CPP $CPPFLAGS'
42700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42709 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42711 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42712 for ac_func in isnanl
42713 do :
42714 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42715 if test "x$ac_cv_func_isnanl" = x""yes; then :
42716 cat >>confdefs.h <<_ACEOF
42717 #define HAVE_ISNANL 1
42718 _ACEOF
42721 done
42723 else
42725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42726 $as_echo_n "checking for _isnanl declaration... " >&6; }
42727 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42728 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42729 $as_echo_n "(cached) " >&6
42730 else
42733 ac_ext=cpp
42734 ac_cpp='$CXXCPP $CPPFLAGS'
42735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42740 /* end confdefs.h. */
42741 #include <math.h>
42742 #ifdef HAVE_IEEEFP_H
42743 #include <ieeefp.h>
42744 #endif
42747 main ()
42749 _isnanl(0);
42751 return 0;
42753 _ACEOF
42754 if ac_fn_cxx_try_compile "$LINENO"; then :
42755 glibcxx_cv_func__isnanl_use=yes
42756 else
42757 glibcxx_cv_func__isnanl_use=no
42759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42760 ac_ext=c
42761 ac_cpp='$CPP $CPPFLAGS'
42762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42771 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42773 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42774 for ac_func in _isnanl
42775 do :
42776 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42777 if test "x$ac_cv_func__isnanl" = x""yes; then :
42778 cat >>confdefs.h <<_ACEOF
42779 #define HAVE__ISNANL 1
42780 _ACEOF
42783 done
42792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42793 $as_echo_n "checking for isinfl declaration... " >&6; }
42794 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42795 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42796 $as_echo_n "(cached) " >&6
42797 else
42800 ac_ext=cpp
42801 ac_cpp='$CXXCPP $CPPFLAGS'
42802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42807 /* end confdefs.h. */
42808 #include <math.h>
42809 #ifdef HAVE_IEEEFP_H
42810 #include <ieeefp.h>
42811 #endif
42814 main ()
42816 isinfl(0);
42818 return 0;
42820 _ACEOF
42821 if ac_fn_cxx_try_compile "$LINENO"; then :
42822 glibcxx_cv_func_isinfl_use=yes
42823 else
42824 glibcxx_cv_func_isinfl_use=no
42826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42827 ac_ext=c
42828 ac_cpp='$CPP $CPPFLAGS'
42829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42838 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42840 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42841 for ac_func in isinfl
42842 do :
42843 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42844 if test "x$ac_cv_func_isinfl" = x""yes; then :
42845 cat >>confdefs.h <<_ACEOF
42846 #define HAVE_ISINFL 1
42847 _ACEOF
42850 done
42852 else
42854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42855 $as_echo_n "checking for _isinfl declaration... " >&6; }
42856 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42857 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42858 $as_echo_n "(cached) " >&6
42859 else
42862 ac_ext=cpp
42863 ac_cpp='$CXXCPP $CPPFLAGS'
42864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42869 /* end confdefs.h. */
42870 #include <math.h>
42871 #ifdef HAVE_IEEEFP_H
42872 #include <ieeefp.h>
42873 #endif
42876 main ()
42878 _isinfl(0);
42880 return 0;
42882 _ACEOF
42883 if ac_fn_cxx_try_compile "$LINENO"; then :
42884 glibcxx_cv_func__isinfl_use=yes
42885 else
42886 glibcxx_cv_func__isinfl_use=no
42888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42889 ac_ext=c
42890 ac_cpp='$CPP $CPPFLAGS'
42891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42900 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42902 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42903 for ac_func in _isinfl
42904 do :
42905 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42906 if test "x$ac_cv_func__isinfl" = x""yes; then :
42907 cat >>confdefs.h <<_ACEOF
42908 #define HAVE__ISINFL 1
42909 _ACEOF
42912 done
42921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42922 $as_echo_n "checking for atan2l declaration... " >&6; }
42923 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42924 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42925 $as_echo_n "(cached) " >&6
42926 else
42929 ac_ext=cpp
42930 ac_cpp='$CXXCPP $CPPFLAGS'
42931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42936 /* end confdefs.h. */
42937 #include <math.h>
42939 main ()
42941 atan2l(0, 0);
42943 return 0;
42945 _ACEOF
42946 if ac_fn_cxx_try_compile "$LINENO"; then :
42947 glibcxx_cv_func_atan2l_use=yes
42948 else
42949 glibcxx_cv_func_atan2l_use=no
42951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42952 ac_ext=c
42953 ac_cpp='$CPP $CPPFLAGS'
42954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42963 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42965 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42966 for ac_func in atan2l
42967 do :
42968 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42969 if test "x$ac_cv_func_atan2l" = x""yes; then :
42970 cat >>confdefs.h <<_ACEOF
42971 #define HAVE_ATAN2L 1
42972 _ACEOF
42975 done
42977 else
42979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42980 $as_echo_n "checking for _atan2l declaration... " >&6; }
42981 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42982 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42983 $as_echo_n "(cached) " >&6
42984 else
42987 ac_ext=cpp
42988 ac_cpp='$CXXCPP $CPPFLAGS'
42989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42994 /* end confdefs.h. */
42995 #include <math.h>
42997 main ()
42999 _atan2l(0, 0);
43001 return 0;
43003 _ACEOF
43004 if ac_fn_cxx_try_compile "$LINENO"; then :
43005 glibcxx_cv_func__atan2l_use=yes
43006 else
43007 glibcxx_cv_func__atan2l_use=no
43009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43010 ac_ext=c
43011 ac_cpp='$CPP $CPPFLAGS'
43012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43021 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43023 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43024 for ac_func in _atan2l
43025 do :
43026 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43027 if test "x$ac_cv_func__atan2l" = x""yes; then :
43028 cat >>confdefs.h <<_ACEOF
43029 #define HAVE__ATAN2L 1
43030 _ACEOF
43033 done
43042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43043 $as_echo_n "checking for expl declaration... " >&6; }
43044 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43045 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43046 $as_echo_n "(cached) " >&6
43047 else
43050 ac_ext=cpp
43051 ac_cpp='$CXXCPP $CPPFLAGS'
43052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43057 /* end confdefs.h. */
43058 #include <math.h>
43059 #ifdef HAVE_IEEEFP_H
43060 #include <ieeefp.h>
43061 #endif
43064 main ()
43066 expl(0);
43068 return 0;
43070 _ACEOF
43071 if ac_fn_cxx_try_compile "$LINENO"; then :
43072 glibcxx_cv_func_expl_use=yes
43073 else
43074 glibcxx_cv_func_expl_use=no
43076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43077 ac_ext=c
43078 ac_cpp='$CPP $CPPFLAGS'
43079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43088 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43090 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43091 for ac_func in expl
43092 do :
43093 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43094 if test "x$ac_cv_func_expl" = x""yes; then :
43095 cat >>confdefs.h <<_ACEOF
43096 #define HAVE_EXPL 1
43097 _ACEOF
43100 done
43102 else
43104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43105 $as_echo_n "checking for _expl declaration... " >&6; }
43106 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43107 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43108 $as_echo_n "(cached) " >&6
43109 else
43112 ac_ext=cpp
43113 ac_cpp='$CXXCPP $CPPFLAGS'
43114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43119 /* end confdefs.h. */
43120 #include <math.h>
43121 #ifdef HAVE_IEEEFP_H
43122 #include <ieeefp.h>
43123 #endif
43126 main ()
43128 _expl(0);
43130 return 0;
43132 _ACEOF
43133 if ac_fn_cxx_try_compile "$LINENO"; then :
43134 glibcxx_cv_func__expl_use=yes
43135 else
43136 glibcxx_cv_func__expl_use=no
43138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43139 ac_ext=c
43140 ac_cpp='$CPP $CPPFLAGS'
43141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43150 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43152 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43153 for ac_func in _expl
43154 do :
43155 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43156 if test "x$ac_cv_func__expl" = x""yes; then :
43157 cat >>confdefs.h <<_ACEOF
43158 #define HAVE__EXPL 1
43159 _ACEOF
43162 done
43171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43172 $as_echo_n "checking for fabsl declaration... " >&6; }
43173 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43174 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43175 $as_echo_n "(cached) " >&6
43176 else
43179 ac_ext=cpp
43180 ac_cpp='$CXXCPP $CPPFLAGS'
43181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43186 /* end confdefs.h. */
43187 #include <math.h>
43188 #ifdef HAVE_IEEEFP_H
43189 #include <ieeefp.h>
43190 #endif
43193 main ()
43195 fabsl(0);
43197 return 0;
43199 _ACEOF
43200 if ac_fn_cxx_try_compile "$LINENO"; then :
43201 glibcxx_cv_func_fabsl_use=yes
43202 else
43203 glibcxx_cv_func_fabsl_use=no
43205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43206 ac_ext=c
43207 ac_cpp='$CPP $CPPFLAGS'
43208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43217 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43219 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43220 for ac_func in fabsl
43221 do :
43222 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43223 if test "x$ac_cv_func_fabsl" = x""yes; then :
43224 cat >>confdefs.h <<_ACEOF
43225 #define HAVE_FABSL 1
43226 _ACEOF
43229 done
43231 else
43233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43234 $as_echo_n "checking for _fabsl declaration... " >&6; }
43235 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43236 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43237 $as_echo_n "(cached) " >&6
43238 else
43241 ac_ext=cpp
43242 ac_cpp='$CXXCPP $CPPFLAGS'
43243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43248 /* end confdefs.h. */
43249 #include <math.h>
43250 #ifdef HAVE_IEEEFP_H
43251 #include <ieeefp.h>
43252 #endif
43255 main ()
43257 _fabsl(0);
43259 return 0;
43261 _ACEOF
43262 if ac_fn_cxx_try_compile "$LINENO"; then :
43263 glibcxx_cv_func__fabsl_use=yes
43264 else
43265 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
43279 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43281 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43282 for ac_func in _fabsl
43283 do :
43284 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43285 if test "x$ac_cv_func__fabsl" = x""yes; then :
43286 cat >>confdefs.h <<_ACEOF
43287 #define HAVE__FABSL 1
43288 _ACEOF
43291 done
43300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43301 $as_echo_n "checking for fmodl declaration... " >&6; }
43302 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43303 if test "${glibcxx_cv_func_fmodl_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>
43318 main ()
43320 fmodl(0, 0);
43322 return 0;
43324 _ACEOF
43325 if ac_fn_cxx_try_compile "$LINENO"; then :
43326 glibcxx_cv_func_fmodl_use=yes
43327 else
43328 glibcxx_cv_func_fmodl_use=no
43330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43331 ac_ext=c
43332 ac_cpp='$CPP $CPPFLAGS'
43333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43342 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43344 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43345 for ac_func in fmodl
43346 do :
43347 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43348 if test "x$ac_cv_func_fmodl" = x""yes; then :
43349 cat >>confdefs.h <<_ACEOF
43350 #define HAVE_FMODL 1
43351 _ACEOF
43354 done
43356 else
43358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43359 $as_echo_n "checking for _fmodl declaration... " >&6; }
43360 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43361 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43362 $as_echo_n "(cached) " >&6
43363 else
43366 ac_ext=cpp
43367 ac_cpp='$CXXCPP $CPPFLAGS'
43368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43373 /* end confdefs.h. */
43374 #include <math.h>
43376 main ()
43378 _fmodl(0, 0);
43380 return 0;
43382 _ACEOF
43383 if ac_fn_cxx_try_compile "$LINENO"; then :
43384 glibcxx_cv_func__fmodl_use=yes
43385 else
43386 glibcxx_cv_func__fmodl_use=no
43388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43389 ac_ext=c
43390 ac_cpp='$CPP $CPPFLAGS'
43391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43400 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43402 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43403 for ac_func in _fmodl
43404 do :
43405 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43406 if test "x$ac_cv_func__fmodl" = x""yes; then :
43407 cat >>confdefs.h <<_ACEOF
43408 #define HAVE__FMODL 1
43409 _ACEOF
43412 done
43421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43422 $as_echo_n "checking for frexpl declaration... " >&6; }
43423 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43424 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43425 $as_echo_n "(cached) " >&6
43426 else
43429 ac_ext=cpp
43430 ac_cpp='$CXXCPP $CPPFLAGS'
43431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43436 /* end confdefs.h. */
43437 #include <math.h>
43439 main ()
43441 frexpl(0, 0);
43443 return 0;
43445 _ACEOF
43446 if ac_fn_cxx_try_compile "$LINENO"; then :
43447 glibcxx_cv_func_frexpl_use=yes
43448 else
43449 glibcxx_cv_func_frexpl_use=no
43451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43452 ac_ext=c
43453 ac_cpp='$CPP $CPPFLAGS'
43454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43463 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43465 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43466 for ac_func in frexpl
43467 do :
43468 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43469 if test "x$ac_cv_func_frexpl" = x""yes; then :
43470 cat >>confdefs.h <<_ACEOF
43471 #define HAVE_FREXPL 1
43472 _ACEOF
43475 done
43477 else
43479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43480 $as_echo_n "checking for _frexpl declaration... " >&6; }
43481 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43482 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43483 $as_echo_n "(cached) " >&6
43484 else
43487 ac_ext=cpp
43488 ac_cpp='$CXXCPP $CPPFLAGS'
43489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43494 /* end confdefs.h. */
43495 #include <math.h>
43497 main ()
43499 _frexpl(0, 0);
43501 return 0;
43503 _ACEOF
43504 if ac_fn_cxx_try_compile "$LINENO"; then :
43505 glibcxx_cv_func__frexpl_use=yes
43506 else
43507 glibcxx_cv_func__frexpl_use=no
43509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43510 ac_ext=c
43511 ac_cpp='$CPP $CPPFLAGS'
43512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43521 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43523 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43524 for ac_func in _frexpl
43525 do :
43526 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43527 if test "x$ac_cv_func__frexpl" = x""yes; then :
43528 cat >>confdefs.h <<_ACEOF
43529 #define HAVE__FREXPL 1
43530 _ACEOF
43533 done
43542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43543 $as_echo_n "checking for hypotl declaration... " >&6; }
43544 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43545 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43546 $as_echo_n "(cached) " >&6
43547 else
43550 ac_ext=cpp
43551 ac_cpp='$CXXCPP $CPPFLAGS'
43552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43557 /* end confdefs.h. */
43558 #include <math.h>
43560 main ()
43562 hypotl(0, 0);
43564 return 0;
43566 _ACEOF
43567 if ac_fn_cxx_try_compile "$LINENO"; then :
43568 glibcxx_cv_func_hypotl_use=yes
43569 else
43570 glibcxx_cv_func_hypotl_use=no
43572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43573 ac_ext=c
43574 ac_cpp='$CPP $CPPFLAGS'
43575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43584 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43586 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43587 for ac_func in hypotl
43588 do :
43589 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43590 if test "x$ac_cv_func_hypotl" = x""yes; then :
43591 cat >>confdefs.h <<_ACEOF
43592 #define HAVE_HYPOTL 1
43593 _ACEOF
43596 done
43598 else
43600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43601 $as_echo_n "checking for _hypotl declaration... " >&6; }
43602 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43603 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43604 $as_echo_n "(cached) " >&6
43605 else
43608 ac_ext=cpp
43609 ac_cpp='$CXXCPP $CPPFLAGS'
43610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43615 /* end confdefs.h. */
43616 #include <math.h>
43618 main ()
43620 _hypotl(0, 0);
43622 return 0;
43624 _ACEOF
43625 if ac_fn_cxx_try_compile "$LINENO"; then :
43626 glibcxx_cv_func__hypotl_use=yes
43627 else
43628 glibcxx_cv_func__hypotl_use=no
43630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43631 ac_ext=c
43632 ac_cpp='$CPP $CPPFLAGS'
43633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43642 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43644 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43645 for ac_func in _hypotl
43646 do :
43647 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43648 if test "x$ac_cv_func__hypotl" = x""yes; then :
43649 cat >>confdefs.h <<_ACEOF
43650 #define HAVE__HYPOTL 1
43651 _ACEOF
43654 done
43663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43664 $as_echo_n "checking for ldexpl declaration... " >&6; }
43665 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43666 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43667 $as_echo_n "(cached) " >&6
43668 else
43671 ac_ext=cpp
43672 ac_cpp='$CXXCPP $CPPFLAGS'
43673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43678 /* end confdefs.h. */
43679 #include <math.h>
43681 main ()
43683 ldexpl(0, 0);
43685 return 0;
43687 _ACEOF
43688 if ac_fn_cxx_try_compile "$LINENO"; then :
43689 glibcxx_cv_func_ldexpl_use=yes
43690 else
43691 glibcxx_cv_func_ldexpl_use=no
43693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43694 ac_ext=c
43695 ac_cpp='$CPP $CPPFLAGS'
43696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43705 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43707 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43708 for ac_func in ldexpl
43709 do :
43710 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43711 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43712 cat >>confdefs.h <<_ACEOF
43713 #define HAVE_LDEXPL 1
43714 _ACEOF
43717 done
43719 else
43721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43722 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43723 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43724 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43725 $as_echo_n "(cached) " >&6
43726 else
43729 ac_ext=cpp
43730 ac_cpp='$CXXCPP $CPPFLAGS'
43731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43736 /* end confdefs.h. */
43737 #include <math.h>
43739 main ()
43741 _ldexpl(0, 0);
43743 return 0;
43745 _ACEOF
43746 if ac_fn_cxx_try_compile "$LINENO"; then :
43747 glibcxx_cv_func__ldexpl_use=yes
43748 else
43749 glibcxx_cv_func__ldexpl_use=no
43751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43752 ac_ext=c
43753 ac_cpp='$CPP $CPPFLAGS'
43754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43763 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43765 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43766 for ac_func in _ldexpl
43767 do :
43768 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43769 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43770 cat >>confdefs.h <<_ACEOF
43771 #define HAVE__LDEXPL 1
43772 _ACEOF
43775 done
43784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43785 $as_echo_n "checking for logl declaration... " >&6; }
43786 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43787 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43788 $as_echo_n "(cached) " >&6
43789 else
43792 ac_ext=cpp
43793 ac_cpp='$CXXCPP $CPPFLAGS'
43794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43799 /* end confdefs.h. */
43800 #include <math.h>
43801 #ifdef HAVE_IEEEFP_H
43802 #include <ieeefp.h>
43803 #endif
43806 main ()
43808 logl(0);
43810 return 0;
43812 _ACEOF
43813 if ac_fn_cxx_try_compile "$LINENO"; then :
43814 glibcxx_cv_func_logl_use=yes
43815 else
43816 glibcxx_cv_func_logl_use=no
43818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43819 ac_ext=c
43820 ac_cpp='$CPP $CPPFLAGS'
43821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43830 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43832 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43833 for ac_func in logl
43834 do :
43835 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43836 if test "x$ac_cv_func_logl" = x""yes; then :
43837 cat >>confdefs.h <<_ACEOF
43838 #define HAVE_LOGL 1
43839 _ACEOF
43842 done
43844 else
43846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43847 $as_echo_n "checking for _logl declaration... " >&6; }
43848 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43849 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43850 $as_echo_n "(cached) " >&6
43851 else
43854 ac_ext=cpp
43855 ac_cpp='$CXXCPP $CPPFLAGS'
43856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43861 /* end confdefs.h. */
43862 #include <math.h>
43863 #ifdef HAVE_IEEEFP_H
43864 #include <ieeefp.h>
43865 #endif
43868 main ()
43870 _logl(0);
43872 return 0;
43874 _ACEOF
43875 if ac_fn_cxx_try_compile "$LINENO"; then :
43876 glibcxx_cv_func__logl_use=yes
43877 else
43878 glibcxx_cv_func__logl_use=no
43880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43881 ac_ext=c
43882 ac_cpp='$CPP $CPPFLAGS'
43883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43892 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43894 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43895 for ac_func in _logl
43896 do :
43897 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43898 if test "x$ac_cv_func__logl" = x""yes; then :
43899 cat >>confdefs.h <<_ACEOF
43900 #define HAVE__LOGL 1
43901 _ACEOF
43904 done
43913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43914 $as_echo_n "checking for log10l declaration... " >&6; }
43915 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43916 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43917 $as_echo_n "(cached) " >&6
43918 else
43921 ac_ext=cpp
43922 ac_cpp='$CXXCPP $CPPFLAGS'
43923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43928 /* end confdefs.h. */
43929 #include <math.h>
43930 #ifdef HAVE_IEEEFP_H
43931 #include <ieeefp.h>
43932 #endif
43935 main ()
43937 log10l(0);
43939 return 0;
43941 _ACEOF
43942 if ac_fn_cxx_try_compile "$LINENO"; then :
43943 glibcxx_cv_func_log10l_use=yes
43944 else
43945 glibcxx_cv_func_log10l_use=no
43947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43948 ac_ext=c
43949 ac_cpp='$CPP $CPPFLAGS'
43950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43959 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43961 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43962 for ac_func in log10l
43963 do :
43964 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43965 if test "x$ac_cv_func_log10l" = x""yes; then :
43966 cat >>confdefs.h <<_ACEOF
43967 #define HAVE_LOG10L 1
43968 _ACEOF
43971 done
43973 else
43975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43976 $as_echo_n "checking for _log10l declaration... " >&6; }
43977 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43978 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43979 $as_echo_n "(cached) " >&6
43980 else
43983 ac_ext=cpp
43984 ac_cpp='$CXXCPP $CPPFLAGS'
43985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43990 /* end confdefs.h. */
43991 #include <math.h>
43992 #ifdef HAVE_IEEEFP_H
43993 #include <ieeefp.h>
43994 #endif
43997 main ()
43999 _log10l(0);
44001 return 0;
44003 _ACEOF
44004 if ac_fn_cxx_try_compile "$LINENO"; then :
44005 glibcxx_cv_func__log10l_use=yes
44006 else
44007 glibcxx_cv_func__log10l_use=no
44009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44010 ac_ext=c
44011 ac_cpp='$CPP $CPPFLAGS'
44012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44021 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44023 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44024 for ac_func in _log10l
44025 do :
44026 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44027 if test "x$ac_cv_func__log10l" = x""yes; then :
44028 cat >>confdefs.h <<_ACEOF
44029 #define HAVE__LOG10L 1
44030 _ACEOF
44033 done
44042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44043 $as_echo_n "checking for modfl declaration... " >&6; }
44044 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44045 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44046 $as_echo_n "(cached) " >&6
44047 else
44050 ac_ext=cpp
44051 ac_cpp='$CXXCPP $CPPFLAGS'
44052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44057 /* end confdefs.h. */
44058 #include <math.h>
44060 main ()
44062 modfl(0, 0);
44064 return 0;
44066 _ACEOF
44067 if ac_fn_cxx_try_compile "$LINENO"; then :
44068 glibcxx_cv_func_modfl_use=yes
44069 else
44070 glibcxx_cv_func_modfl_use=no
44072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44073 ac_ext=c
44074 ac_cpp='$CPP $CPPFLAGS'
44075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44084 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44086 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44087 for ac_func in modfl
44088 do :
44089 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44090 if test "x$ac_cv_func_modfl" = x""yes; then :
44091 cat >>confdefs.h <<_ACEOF
44092 #define HAVE_MODFL 1
44093 _ACEOF
44096 done
44098 else
44100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44101 $as_echo_n "checking for _modfl declaration... " >&6; }
44102 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44103 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44104 $as_echo_n "(cached) " >&6
44105 else
44108 ac_ext=cpp
44109 ac_cpp='$CXXCPP $CPPFLAGS'
44110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44115 /* end confdefs.h. */
44116 #include <math.h>
44118 main ()
44120 _modfl(0, 0);
44122 return 0;
44124 _ACEOF
44125 if ac_fn_cxx_try_compile "$LINENO"; then :
44126 glibcxx_cv_func__modfl_use=yes
44127 else
44128 glibcxx_cv_func__modfl_use=no
44130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44131 ac_ext=c
44132 ac_cpp='$CPP $CPPFLAGS'
44133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44142 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44144 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44145 for ac_func in _modfl
44146 do :
44147 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44148 if test "x$ac_cv_func__modfl" = x""yes; then :
44149 cat >>confdefs.h <<_ACEOF
44150 #define HAVE__MODFL 1
44151 _ACEOF
44154 done
44163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44164 $as_echo_n "checking for powl declaration... " >&6; }
44165 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44166 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44167 $as_echo_n "(cached) " >&6
44168 else
44171 ac_ext=cpp
44172 ac_cpp='$CXXCPP $CPPFLAGS'
44173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44178 /* end confdefs.h. */
44179 #include <math.h>
44181 main ()
44183 powl(0, 0);
44185 return 0;
44187 _ACEOF
44188 if ac_fn_cxx_try_compile "$LINENO"; then :
44189 glibcxx_cv_func_powl_use=yes
44190 else
44191 glibcxx_cv_func_powl_use=no
44193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44194 ac_ext=c
44195 ac_cpp='$CPP $CPPFLAGS'
44196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44205 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44207 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44208 for ac_func in powl
44209 do :
44210 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44211 if test "x$ac_cv_func_powl" = x""yes; then :
44212 cat >>confdefs.h <<_ACEOF
44213 #define HAVE_POWL 1
44214 _ACEOF
44217 done
44219 else
44221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44222 $as_echo_n "checking for _powl declaration... " >&6; }
44223 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44224 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44225 $as_echo_n "(cached) " >&6
44226 else
44229 ac_ext=cpp
44230 ac_cpp='$CXXCPP $CPPFLAGS'
44231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44236 /* end confdefs.h. */
44237 #include <math.h>
44239 main ()
44241 _powl(0, 0);
44243 return 0;
44245 _ACEOF
44246 if ac_fn_cxx_try_compile "$LINENO"; then :
44247 glibcxx_cv_func__powl_use=yes
44248 else
44249 glibcxx_cv_func__powl_use=no
44251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44252 ac_ext=c
44253 ac_cpp='$CPP $CPPFLAGS'
44254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44263 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44265 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44266 for ac_func in _powl
44267 do :
44268 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44269 if test "x$ac_cv_func__powl" = x""yes; then :
44270 cat >>confdefs.h <<_ACEOF
44271 #define HAVE__POWL 1
44272 _ACEOF
44275 done
44284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44285 $as_echo_n "checking for sqrtl declaration... " >&6; }
44286 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44287 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44288 $as_echo_n "(cached) " >&6
44289 else
44292 ac_ext=cpp
44293 ac_cpp='$CXXCPP $CPPFLAGS'
44294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44299 /* end confdefs.h. */
44300 #include <math.h>
44301 #ifdef HAVE_IEEEFP_H
44302 #include <ieeefp.h>
44303 #endif
44306 main ()
44308 sqrtl(0);
44310 return 0;
44312 _ACEOF
44313 if ac_fn_cxx_try_compile "$LINENO"; then :
44314 glibcxx_cv_func_sqrtl_use=yes
44315 else
44316 glibcxx_cv_func_sqrtl_use=no
44318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44319 ac_ext=c
44320 ac_cpp='$CPP $CPPFLAGS'
44321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44330 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44332 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44333 for ac_func in sqrtl
44334 do :
44335 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44336 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44337 cat >>confdefs.h <<_ACEOF
44338 #define HAVE_SQRTL 1
44339 _ACEOF
44342 done
44344 else
44346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44347 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44348 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44349 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44350 $as_echo_n "(cached) " >&6
44351 else
44354 ac_ext=cpp
44355 ac_cpp='$CXXCPP $CPPFLAGS'
44356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44361 /* end confdefs.h. */
44362 #include <math.h>
44363 #ifdef HAVE_IEEEFP_H
44364 #include <ieeefp.h>
44365 #endif
44368 main ()
44370 _sqrtl(0);
44372 return 0;
44374 _ACEOF
44375 if ac_fn_cxx_try_compile "$LINENO"; then :
44376 glibcxx_cv_func__sqrtl_use=yes
44377 else
44378 glibcxx_cv_func__sqrtl_use=no
44380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44381 ac_ext=c
44382 ac_cpp='$CPP $CPPFLAGS'
44383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44392 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44394 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44395 for ac_func in _sqrtl
44396 do :
44397 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44398 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44399 cat >>confdefs.h <<_ACEOF
44400 #define HAVE__SQRTL 1
44401 _ACEOF
44404 done
44413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44414 $as_echo_n "checking for sincosl declaration... " >&6; }
44415 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44416 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44417 $as_echo_n "(cached) " >&6
44418 else
44421 ac_ext=cpp
44422 ac_cpp='$CXXCPP $CPPFLAGS'
44423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44428 /* end confdefs.h. */
44429 #include <math.h>
44431 main ()
44433 sincosl(0, 0, 0);
44435 return 0;
44437 _ACEOF
44438 if ac_fn_cxx_try_compile "$LINENO"; then :
44439 glibcxx_cv_func_sincosl_use=yes
44440 else
44441 glibcxx_cv_func_sincosl_use=no
44443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44444 ac_ext=c
44445 ac_cpp='$CPP $CPPFLAGS'
44446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44455 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44457 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44458 for ac_func in sincosl
44459 do :
44460 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44461 if test "x$ac_cv_func_sincosl" = x""yes; then :
44462 cat >>confdefs.h <<_ACEOF
44463 #define HAVE_SINCOSL 1
44464 _ACEOF
44467 done
44469 else
44471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44472 $as_echo_n "checking for _sincosl declaration... " >&6; }
44473 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44474 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44475 $as_echo_n "(cached) " >&6
44476 else
44479 ac_ext=cpp
44480 ac_cpp='$CXXCPP $CPPFLAGS'
44481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44486 /* end confdefs.h. */
44487 #include <math.h>
44489 main ()
44491 _sincosl(0, 0, 0);
44493 return 0;
44495 _ACEOF
44496 if ac_fn_cxx_try_compile "$LINENO"; then :
44497 glibcxx_cv_func__sincosl_use=yes
44498 else
44499 glibcxx_cv_func__sincosl_use=no
44501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44502 ac_ext=c
44503 ac_cpp='$CPP $CPPFLAGS'
44504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44513 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44515 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44516 for ac_func in _sincosl
44517 do :
44518 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44519 if test "x$ac_cv_func__sincosl" = x""yes; then :
44520 cat >>confdefs.h <<_ACEOF
44521 #define HAVE__SINCOSL 1
44522 _ACEOF
44525 done
44534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44535 $as_echo_n "checking for finitel declaration... " >&6; }
44536 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44537 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44538 $as_echo_n "(cached) " >&6
44539 else
44542 ac_ext=cpp
44543 ac_cpp='$CXXCPP $CPPFLAGS'
44544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44549 /* end confdefs.h. */
44550 #include <math.h>
44551 #ifdef HAVE_IEEEFP_H
44552 #include <ieeefp.h>
44553 #endif
44556 main ()
44558 finitel(0);
44560 return 0;
44562 _ACEOF
44563 if ac_fn_cxx_try_compile "$LINENO"; then :
44564 glibcxx_cv_func_finitel_use=yes
44565 else
44566 glibcxx_cv_func_finitel_use=no
44568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44569 ac_ext=c
44570 ac_cpp='$CPP $CPPFLAGS'
44571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44580 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44582 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44583 for ac_func in finitel
44584 do :
44585 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44586 if test "x$ac_cv_func_finitel" = x""yes; then :
44587 cat >>confdefs.h <<_ACEOF
44588 #define HAVE_FINITEL 1
44589 _ACEOF
44592 done
44594 else
44596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44597 $as_echo_n "checking for _finitel declaration... " >&6; }
44598 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44599 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44600 $as_echo_n "(cached) " >&6
44601 else
44604 ac_ext=cpp
44605 ac_cpp='$CXXCPP $CPPFLAGS'
44606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44611 /* end confdefs.h. */
44612 #include <math.h>
44613 #ifdef HAVE_IEEEFP_H
44614 #include <ieeefp.h>
44615 #endif
44618 main ()
44620 _finitel(0);
44622 return 0;
44624 _ACEOF
44625 if ac_fn_cxx_try_compile "$LINENO"; then :
44626 glibcxx_cv_func__finitel_use=yes
44627 else
44628 glibcxx_cv_func__finitel_use=no
44630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44631 ac_ext=c
44632 ac_cpp='$CPP $CPPFLAGS'
44633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44642 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44644 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44645 for ac_func in _finitel
44646 do :
44647 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44648 if test "x$ac_cv_func__finitel" = x""yes; then :
44649 cat >>confdefs.h <<_ACEOF
44650 #define HAVE__FINITEL 1
44651 _ACEOF
44654 done
44662 LIBS="$ac_save_LIBS"
44663 CXXFLAGS="$ac_save_CXXFLAGS"
44666 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44667 ac_save_CXXFLAGS="$CXXFLAGS"
44668 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44672 $as_echo_n "checking for strtold declaration... " >&6; }
44673 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44674 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44675 $as_echo_n "(cached) " >&6
44676 else
44679 ac_ext=cpp
44680 ac_cpp='$CXXCPP $CPPFLAGS'
44681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44686 /* end confdefs.h. */
44687 #include <stdlib.h>
44689 main ()
44691 strtold(0, 0);
44693 return 0;
44695 _ACEOF
44696 if ac_fn_cxx_try_compile "$LINENO"; then :
44697 glibcxx_cv_func_strtold_use=yes
44698 else
44699 glibcxx_cv_func_strtold_use=no
44701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44702 ac_ext=c
44703 ac_cpp='$CPP $CPPFLAGS'
44704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44713 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44714 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44715 for ac_func in strtold
44716 do :
44717 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44718 if test "x$ac_cv_func_strtold" = x""yes; then :
44719 cat >>confdefs.h <<_ACEOF
44720 #define HAVE_STRTOLD 1
44721 _ACEOF
44724 done
44731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44732 $as_echo_n "checking for strtof declaration... " >&6; }
44733 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44734 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44735 $as_echo_n "(cached) " >&6
44736 else
44739 ac_ext=cpp
44740 ac_cpp='$CXXCPP $CPPFLAGS'
44741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44746 /* end confdefs.h. */
44747 #include <stdlib.h>
44749 main ()
44751 strtof(0, 0);
44753 return 0;
44755 _ACEOF
44756 if ac_fn_cxx_try_compile "$LINENO"; then :
44757 glibcxx_cv_func_strtof_use=yes
44758 else
44759 glibcxx_cv_func_strtof_use=no
44761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44762 ac_ext=c
44763 ac_cpp='$CPP $CPPFLAGS'
44764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44773 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44774 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44775 for ac_func in strtof
44776 do :
44777 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44778 if test "x$ac_cv_func_strtof" = x""yes; then :
44779 cat >>confdefs.h <<_ACEOF
44780 #define HAVE_STRTOF 1
44781 _ACEOF
44784 done
44791 CXXFLAGS="$ac_save_CXXFLAGS"
44795 *djgpp)
44796 # GLIBCXX_CHECK_MATH_SUPPORT
44797 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44799 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44801 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44803 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44805 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44809 *-freebsd*)
44810 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44813 # If we're not using GNU ld, then there's no point in even trying these
44814 # tests. Check for that first. We should have already tested for gld
44815 # by now (in libtool), but require it now just to be safe...
44816 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44817 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44821 # The name set by libtool depends on the version of libtool. Shame on us
44822 # for depending on an impl detail, but c'est la vie. Older versions used
44823 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44824 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44825 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44826 # set (hence we're using an older libtool), then set it.
44827 if test x${with_gnu_ld+set} != xset; then
44828 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44829 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44830 with_gnu_ld=no
44831 else
44832 with_gnu_ld=$ac_cv_prog_gnu_ld
44836 # Start by getting the version number. I think the libtool test already
44837 # does some of this, but throws away the result.
44838 glibcxx_ld_is_gold=no
44839 if test x"$with_gnu_ld" = x"yes"; then
44840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44841 $as_echo_n "checking for ld version... " >&6; }
44843 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44844 glibcxx_ld_is_gold=yes
44846 ldver=`$LD --version 2>/dev/null |
44847 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'`
44849 glibcxx_gnu_ld_version=`echo $ldver | \
44850 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44852 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44855 # Set --gc-sections.
44856 glibcxx_have_gc_sections=no
44857 if test "$glibcxx_ld_is_gold" = "yes"; then
44858 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44859 glibcxx_have_gc_sections=yes
44861 else
44862 glibcxx_gcsections_min_ld=21602
44863 if test x"$with_gnu_ld" = x"yes" &&
44864 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44865 glibcxx_have_gc_sections=yes
44868 if test "$glibcxx_have_gc_sections" = "yes"; then
44869 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44870 # NB: This flag only works reliably after 2.16.1. Configure tests
44871 # for this are difficult, so hard wire a value that should work.
44873 ac_test_CFLAGS="${CFLAGS+set}"
44874 ac_save_CFLAGS="$CFLAGS"
44875 CFLAGS='-Wl,--gc-sections'
44877 # Check for -Wl,--gc-sections
44878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44879 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44880 if test x$gcc_no_link = xyes; then
44881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44884 /* end confdefs.h. */
44885 int one(void) { return 1; }
44886 int two(void) { return 2; }
44889 main ()
44891 two();
44893 return 0;
44895 _ACEOF
44896 if ac_fn_c_try_link "$LINENO"; then :
44897 ac_gcsections=yes
44898 else
44899 ac_gcsections=no
44901 rm -f core conftest.err conftest.$ac_objext \
44902 conftest$ac_exeext conftest.$ac_ext
44903 if test "$ac_gcsections" = "yes"; then
44904 rm -f conftest.c
44905 touch conftest.c
44906 if $CC -c conftest.c; then
44907 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44908 grep "Warning: gc-sections option ignored" > /dev/null; then
44909 ac_gcsections=no
44912 rm -f conftest.c conftest.o conftest
44914 if test "$ac_gcsections" = "yes"; then
44915 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44918 $as_echo "$ac_gcsections" >&6; }
44920 if test "$ac_test_CFLAGS" = set; then
44921 CFLAGS="$ac_save_CFLAGS"
44922 else
44923 # this is the suspicious part
44924 CFLAGS=''
44928 # Set -z,relro.
44929 # Note this is only for shared objects.
44930 ac_ld_relro=no
44931 if test x"$with_gnu_ld" = x"yes"; then
44932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44933 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44934 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44935 if test -n "$cxx_z_relo"; then
44936 OPT_LDFLAGS="-Wl,-z,relro"
44937 ac_ld_relro=yes
44939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44940 $as_echo "$ac_ld_relro" >&6; }
44943 # Set linker optimization flags.
44944 if test x"$with_gnu_ld" = x"yes"; then
44945 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44951 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44953 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44955 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44957 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44959 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44961 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44963 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44965 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44967 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44970 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44972 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44974 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44976 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44978 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44980 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44982 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44984 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44986 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44988 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44990 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44992 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44994 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44996 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44998 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45000 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45002 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45004 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45006 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45008 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45010 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45012 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45014 if test x"long_double_math_on_this_cpu" = x"yes"; then
45015 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45017 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45019 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45023 *-hpux*)
45024 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45027 # If we're not using GNU ld, then there's no point in even trying these
45028 # tests. Check for that first. We should have already tested for gld
45029 # by now (in libtool), but require it now just to be safe...
45030 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45031 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45035 # The name set by libtool depends on the version of libtool. Shame on us
45036 # for depending on an impl detail, but c'est la vie. Older versions used
45037 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45038 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45039 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45040 # set (hence we're using an older libtool), then set it.
45041 if test x${with_gnu_ld+set} != xset; then
45042 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45043 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45044 with_gnu_ld=no
45045 else
45046 with_gnu_ld=$ac_cv_prog_gnu_ld
45050 # Start by getting the version number. I think the libtool test already
45051 # does some of this, but throws away the result.
45052 glibcxx_ld_is_gold=no
45053 if test x"$with_gnu_ld" = x"yes"; then
45054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45055 $as_echo_n "checking for ld version... " >&6; }
45057 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45058 glibcxx_ld_is_gold=yes
45060 ldver=`$LD --version 2>/dev/null |
45061 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'`
45063 glibcxx_gnu_ld_version=`echo $ldver | \
45064 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45066 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45069 # Set --gc-sections.
45070 glibcxx_have_gc_sections=no
45071 if test "$glibcxx_ld_is_gold" = "yes"; then
45072 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45073 glibcxx_have_gc_sections=yes
45075 else
45076 glibcxx_gcsections_min_ld=21602
45077 if test x"$with_gnu_ld" = x"yes" &&
45078 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45079 glibcxx_have_gc_sections=yes
45082 if test "$glibcxx_have_gc_sections" = "yes"; then
45083 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45084 # NB: This flag only works reliably after 2.16.1. Configure tests
45085 # for this are difficult, so hard wire a value that should work.
45087 ac_test_CFLAGS="${CFLAGS+set}"
45088 ac_save_CFLAGS="$CFLAGS"
45089 CFLAGS='-Wl,--gc-sections'
45091 # Check for -Wl,--gc-sections
45092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45093 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45094 if test x$gcc_no_link = xyes; then
45095 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45098 /* end confdefs.h. */
45099 int one(void) { return 1; }
45100 int two(void) { return 2; }
45103 main ()
45105 two();
45107 return 0;
45109 _ACEOF
45110 if ac_fn_c_try_link "$LINENO"; then :
45111 ac_gcsections=yes
45112 else
45113 ac_gcsections=no
45115 rm -f core conftest.err conftest.$ac_objext \
45116 conftest$ac_exeext conftest.$ac_ext
45117 if test "$ac_gcsections" = "yes"; then
45118 rm -f conftest.c
45119 touch conftest.c
45120 if $CC -c conftest.c; then
45121 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45122 grep "Warning: gc-sections option ignored" > /dev/null; then
45123 ac_gcsections=no
45126 rm -f conftest.c conftest.o conftest
45128 if test "$ac_gcsections" = "yes"; then
45129 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45132 $as_echo "$ac_gcsections" >&6; }
45134 if test "$ac_test_CFLAGS" = set; then
45135 CFLAGS="$ac_save_CFLAGS"
45136 else
45137 # this is the suspicious part
45138 CFLAGS=''
45142 # Set -z,relro.
45143 # Note this is only for shared objects.
45144 ac_ld_relro=no
45145 if test x"$with_gnu_ld" = x"yes"; then
45146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45147 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45148 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45149 if test -n "$cxx_z_relo"; then
45150 OPT_LDFLAGS="-Wl,-z,relro"
45151 ac_ld_relro=yes
45153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45154 $as_echo "$ac_ld_relro" >&6; }
45157 # Set linker optimization flags.
45158 if test x"$with_gnu_ld" = x"yes"; then
45159 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45166 # GLIBCXX_CHECK_MATH_SUPPORT
45167 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45169 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45171 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45173 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45175 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45177 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45179 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45181 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45183 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45185 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45187 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45189 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45191 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45193 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45195 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45197 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45199 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45201 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45203 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45205 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45207 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45210 # GLIBCXX_CHECK_STDLIB_SUPPORT
45211 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45216 # Check whether --enable-tls was given.
45217 if test "${enable_tls+set}" = set; then :
45218 enableval=$enable_tls;
45219 case "$enableval" in
45220 yes|no) ;;
45221 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45222 esac
45224 else
45225 enable_tls=yes
45229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45230 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45231 if test "${gcc_cv_have_tls+set}" = set; then :
45232 $as_echo_n "(cached) " >&6
45233 else
45235 if test "$cross_compiling" = yes; then :
45236 if test x$gcc_no_link = xyes; then
45237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45240 /* end confdefs.h. */
45241 __thread int a; int b; int main() { return a = b; }
45242 _ACEOF
45243 if ac_fn_c_try_link "$LINENO"; then :
45244 chktls_save_LDFLAGS="$LDFLAGS"
45245 case $host in
45246 *-*-linux*)
45247 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45249 esac
45250 chktls_save_CFLAGS="$CFLAGS"
45251 CFLAGS="-fPIC $CFLAGS"
45252 if test x$gcc_no_link = xyes; then
45253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45256 /* end confdefs.h. */
45257 int f() { return 0; }
45258 _ACEOF
45259 if ac_fn_c_try_link "$LINENO"; then :
45260 if test x$gcc_no_link = xyes; then
45261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45264 /* end confdefs.h. */
45265 __thread int a; int b; int f() { return a = b; }
45266 _ACEOF
45267 if ac_fn_c_try_link "$LINENO"; then :
45268 gcc_cv_have_tls=yes
45269 else
45270 gcc_cv_have_tls=no
45272 rm -f core conftest.err conftest.$ac_objext \
45273 conftest$ac_exeext conftest.$ac_ext
45274 else
45275 gcc_cv_have_tls=yes
45277 rm -f core conftest.err conftest.$ac_objext \
45278 conftest$ac_exeext conftest.$ac_ext
45279 CFLAGS="$chktls_save_CFLAGS"
45280 LDFLAGS="$chktls_save_LDFLAGS"
45281 else
45282 gcc_cv_have_tls=no
45284 rm -f core conftest.err conftest.$ac_objext \
45285 conftest$ac_exeext conftest.$ac_ext
45288 else
45289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45290 /* end confdefs.h. */
45291 __thread int a; int b; int main() { return a = b; }
45292 _ACEOF
45293 if ac_fn_c_try_run "$LINENO"; then :
45294 chktls_save_LDFLAGS="$LDFLAGS"
45295 LDFLAGS="-static $LDFLAGS"
45296 if test x$gcc_no_link = xyes; then
45297 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45300 /* end confdefs.h. */
45301 int main() { return 0; }
45302 _ACEOF
45303 if ac_fn_c_try_link "$LINENO"; then :
45304 if test "$cross_compiling" = yes; then :
45305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45307 as_fn_error "cannot run test program while cross compiling
45308 See \`config.log' for more details." "$LINENO" 5; }
45309 else
45310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45311 /* end confdefs.h. */
45312 __thread int a; int b; int main() { return a = b; }
45313 _ACEOF
45314 if ac_fn_c_try_run "$LINENO"; then :
45315 gcc_cv_have_tls=yes
45316 else
45317 gcc_cv_have_tls=no
45319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45320 conftest.$ac_objext conftest.beam conftest.$ac_ext
45323 else
45324 gcc_cv_have_tls=yes
45326 rm -f core conftest.err conftest.$ac_objext \
45327 conftest$ac_exeext conftest.$ac_ext
45328 LDFLAGS="$chktls_save_LDFLAGS"
45329 if test $gcc_cv_have_tls = yes; then
45330 chktls_save_CFLAGS="$CFLAGS"
45331 thread_CFLAGS=failed
45332 for flag in '' '-pthread' '-lpthread'; do
45333 CFLAGS="$flag $chktls_save_CFLAGS"
45334 if test x$gcc_no_link = xyes; then
45335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45338 /* end confdefs.h. */
45339 #include <pthread.h>
45340 void *g(void *d) { return NULL; }
45342 main ()
45344 pthread_t t; pthread_create(&t,NULL,g,NULL);
45346 return 0;
45348 _ACEOF
45349 if ac_fn_c_try_link "$LINENO"; then :
45350 thread_CFLAGS="$flag"
45352 rm -f core conftest.err conftest.$ac_objext \
45353 conftest$ac_exeext conftest.$ac_ext
45354 if test "X$thread_CFLAGS" != Xfailed; then
45355 break
45357 done
45358 CFLAGS="$chktls_save_CFLAGS"
45359 if test "X$thread_CFLAGS" != Xfailed; then
45360 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45361 if test "$cross_compiling" = yes; then :
45362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45364 as_fn_error "cannot run test program while cross compiling
45365 See \`config.log' for more details." "$LINENO" 5; }
45366 else
45367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45368 /* end confdefs.h. */
45369 #include <pthread.h>
45370 __thread int a;
45371 static int *volatile a_in_other_thread;
45372 static void *
45373 thread_func (void *arg)
45375 a_in_other_thread = &a;
45376 return (void *)0;
45379 main ()
45381 pthread_t thread;
45382 void *thread_retval;
45383 int *volatile a_in_main_thread;
45384 a_in_main_thread = &a;
45385 if (pthread_create (&thread, (pthread_attr_t *)0,
45386 thread_func, (void *)0))
45387 return 0;
45388 if (pthread_join (thread, &thread_retval))
45389 return 0;
45390 return (a_in_other_thread == a_in_main_thread);
45392 return 0;
45394 _ACEOF
45395 if ac_fn_c_try_run "$LINENO"; then :
45396 gcc_cv_have_tls=yes
45397 else
45398 gcc_cv_have_tls=no
45400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45401 conftest.$ac_objext conftest.beam conftest.$ac_ext
45404 CFLAGS="$chktls_save_CFLAGS"
45407 else
45408 gcc_cv_have_tls=no
45410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45411 conftest.$ac_objext conftest.beam conftest.$ac_ext
45415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45416 $as_echo "$gcc_cv_have_tls" >&6; }
45417 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45419 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45422 case "$target" in
45423 *-hpux10*)
45424 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45426 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45428 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45430 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45432 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45435 esac
45437 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45439 # All these tests are for C++; save the language and the compiler flags.
45440 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45441 # found in GLIBCXX_CONFIGURE.
45443 ac_ext=cpp
45444 ac_cpp='$CXXCPP $CPPFLAGS'
45445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45449 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45450 ac_save_CXXFLAGS="$CXXFLAGS"
45452 # Check for maintainer-mode bits.
45453 if test x"$USE_MAINTAINER_MODE" = xno; then
45454 WERROR=''
45455 else
45456 WERROR='-Werror'
45459 # Check for -ffunction-sections -fdata-sections
45460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45461 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45462 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45464 /* end confdefs.h. */
45465 int foo; void bar() { };
45467 main ()
45471 return 0;
45473 _ACEOF
45474 if ac_fn_cxx_try_compile "$LINENO"; then :
45475 ac_fdsections=yes
45476 else
45477 ac_fdsections=no
45479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45480 if test "$ac_test_CXXFLAGS" = set; then
45481 CXXFLAGS="$ac_save_CXXFLAGS"
45482 else
45483 # this is the suspicious part
45484 CXXFLAGS=''
45486 if test x"$ac_fdsections" = x"yes"; then
45487 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45490 $as_echo "$ac_fdsections" >&6; }
45492 ac_ext=c
45493 ac_cpp='$CPP $CPPFLAGS'
45494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45502 # If we're not using GNU ld, then there's no point in even trying these
45503 # tests. Check for that first. We should have already tested for gld
45504 # by now (in libtool), but require it now just to be safe...
45505 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45506 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45510 # The name set by libtool depends on the version of libtool. Shame on us
45511 # for depending on an impl detail, but c'est la vie. Older versions used
45512 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45513 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45514 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45515 # set (hence we're using an older libtool), then set it.
45516 if test x${with_gnu_ld+set} != xset; then
45517 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45518 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45519 with_gnu_ld=no
45520 else
45521 with_gnu_ld=$ac_cv_prog_gnu_ld
45525 # Start by getting the version number. I think the libtool test already
45526 # does some of this, but throws away the result.
45527 glibcxx_ld_is_gold=no
45528 if test x"$with_gnu_ld" = x"yes"; then
45529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45530 $as_echo_n "checking for ld version... " >&6; }
45532 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45533 glibcxx_ld_is_gold=yes
45535 ldver=`$LD --version 2>/dev/null |
45536 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'`
45538 glibcxx_gnu_ld_version=`echo $ldver | \
45539 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45541 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45544 # Set --gc-sections.
45545 glibcxx_have_gc_sections=no
45546 if test "$glibcxx_ld_is_gold" = "yes"; then
45547 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45548 glibcxx_have_gc_sections=yes
45550 else
45551 glibcxx_gcsections_min_ld=21602
45552 if test x"$with_gnu_ld" = x"yes" &&
45553 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45554 glibcxx_have_gc_sections=yes
45557 if test "$glibcxx_have_gc_sections" = "yes"; then
45558 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45559 # NB: This flag only works reliably after 2.16.1. Configure tests
45560 # for this are difficult, so hard wire a value that should work.
45562 ac_test_CFLAGS="${CFLAGS+set}"
45563 ac_save_CFLAGS="$CFLAGS"
45564 CFLAGS='-Wl,--gc-sections'
45566 # Check for -Wl,--gc-sections
45567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45568 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45569 if test x$gcc_no_link = xyes; then
45570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45573 /* end confdefs.h. */
45574 int one(void) { return 1; }
45575 int two(void) { return 2; }
45578 main ()
45580 two();
45582 return 0;
45584 _ACEOF
45585 if ac_fn_c_try_link "$LINENO"; then :
45586 ac_gcsections=yes
45587 else
45588 ac_gcsections=no
45590 rm -f core conftest.err conftest.$ac_objext \
45591 conftest$ac_exeext conftest.$ac_ext
45592 if test "$ac_gcsections" = "yes"; then
45593 rm -f conftest.c
45594 touch conftest.c
45595 if $CC -c conftest.c; then
45596 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45597 grep "Warning: gc-sections option ignored" > /dev/null; then
45598 ac_gcsections=no
45601 rm -f conftest.c conftest.o conftest
45603 if test "$ac_gcsections" = "yes"; then
45604 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45607 $as_echo "$ac_gcsections" >&6; }
45609 if test "$ac_test_CFLAGS" = set; then
45610 CFLAGS="$ac_save_CFLAGS"
45611 else
45612 # this is the suspicious part
45613 CFLAGS=''
45617 # Set -z,relro.
45618 # Note this is only for shared objects.
45619 ac_ld_relro=no
45620 if test x"$with_gnu_ld" = x"yes"; then
45621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45622 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45623 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45624 if test -n "$cxx_z_relo"; then
45625 OPT_LDFLAGS="-Wl,-z,relro"
45626 ac_ld_relro=yes
45628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45629 $as_echo "$ac_ld_relro" >&6; }
45632 # Set linker optimization flags.
45633 if test x"$with_gnu_ld" = x"yes"; then
45634 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45641 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45642 ac_save_CXXFLAGS="$CXXFLAGS"
45643 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45646 $as_echo_n "checking for sin in -lm... " >&6; }
45647 if test "${ac_cv_lib_m_sin+set}" = set; then :
45648 $as_echo_n "(cached) " >&6
45649 else
45650 ac_check_lib_save_LIBS=$LIBS
45651 LIBS="-lm $LIBS"
45652 if test x$gcc_no_link = xyes; then
45653 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45656 /* end confdefs.h. */
45658 /* Override any GCC internal prototype to avoid an error.
45659 Use char because int might match the return type of a GCC
45660 builtin and then its argument prototype would still apply. */
45661 #ifdef __cplusplus
45662 extern "C"
45663 #endif
45664 char sin ();
45666 main ()
45668 return sin ();
45670 return 0;
45672 _ACEOF
45673 if ac_fn_c_try_link "$LINENO"; then :
45674 ac_cv_lib_m_sin=yes
45675 else
45676 ac_cv_lib_m_sin=no
45678 rm -f core conftest.err conftest.$ac_objext \
45679 conftest$ac_exeext conftest.$ac_ext
45680 LIBS=$ac_check_lib_save_LIBS
45682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45683 $as_echo "$ac_cv_lib_m_sin" >&6; }
45684 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45685 libm="-lm"
45688 ac_save_LIBS="$LIBS"
45689 LIBS="$LIBS $libm"
45693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45694 $as_echo_n "checking for isinf declaration... " >&6; }
45695 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45696 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45697 $as_echo_n "(cached) " >&6
45698 else
45701 ac_ext=cpp
45702 ac_cpp='$CXXCPP $CPPFLAGS'
45703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45708 /* end confdefs.h. */
45709 #include <math.h>
45710 #ifdef HAVE_IEEEFP_H
45711 #include <ieeefp.h>
45712 #endif
45715 main ()
45717 isinf(0);
45719 return 0;
45721 _ACEOF
45722 if ac_fn_cxx_try_compile "$LINENO"; then :
45723 glibcxx_cv_func_isinf_use=yes
45724 else
45725 glibcxx_cv_func_isinf_use=no
45727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45728 ac_ext=c
45729 ac_cpp='$CPP $CPPFLAGS'
45730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45739 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45741 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45742 for ac_func in isinf
45743 do :
45744 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45745 if test "x$ac_cv_func_isinf" = x""yes; then :
45746 cat >>confdefs.h <<_ACEOF
45747 #define HAVE_ISINF 1
45748 _ACEOF
45751 done
45753 else
45755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45756 $as_echo_n "checking for _isinf declaration... " >&6; }
45757 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45758 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45759 $as_echo_n "(cached) " >&6
45760 else
45763 ac_ext=cpp
45764 ac_cpp='$CXXCPP $CPPFLAGS'
45765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45770 /* end confdefs.h. */
45771 #include <math.h>
45772 #ifdef HAVE_IEEEFP_H
45773 #include <ieeefp.h>
45774 #endif
45777 main ()
45779 _isinf(0);
45781 return 0;
45783 _ACEOF
45784 if ac_fn_cxx_try_compile "$LINENO"; then :
45785 glibcxx_cv_func__isinf_use=yes
45786 else
45787 glibcxx_cv_func__isinf_use=no
45789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45790 ac_ext=c
45791 ac_cpp='$CPP $CPPFLAGS'
45792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45801 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45803 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45804 for ac_func in _isinf
45805 do :
45806 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45807 if test "x$ac_cv_func__isinf" = x""yes; then :
45808 cat >>confdefs.h <<_ACEOF
45809 #define HAVE__ISINF 1
45810 _ACEOF
45813 done
45822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45823 $as_echo_n "checking for isnan declaration... " >&6; }
45824 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45825 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45826 $as_echo_n "(cached) " >&6
45827 else
45830 ac_ext=cpp
45831 ac_cpp='$CXXCPP $CPPFLAGS'
45832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45837 /* end confdefs.h. */
45838 #include <math.h>
45839 #ifdef HAVE_IEEEFP_H
45840 #include <ieeefp.h>
45841 #endif
45844 main ()
45846 isnan(0);
45848 return 0;
45850 _ACEOF
45851 if ac_fn_cxx_try_compile "$LINENO"; then :
45852 glibcxx_cv_func_isnan_use=yes
45853 else
45854 glibcxx_cv_func_isnan_use=no
45856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45857 ac_ext=c
45858 ac_cpp='$CPP $CPPFLAGS'
45859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45868 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45870 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45871 for ac_func in isnan
45872 do :
45873 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45874 if test "x$ac_cv_func_isnan" = x""yes; then :
45875 cat >>confdefs.h <<_ACEOF
45876 #define HAVE_ISNAN 1
45877 _ACEOF
45880 done
45882 else
45884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45885 $as_echo_n "checking for _isnan declaration... " >&6; }
45886 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45887 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45888 $as_echo_n "(cached) " >&6
45889 else
45892 ac_ext=cpp
45893 ac_cpp='$CXXCPP $CPPFLAGS'
45894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45899 /* end confdefs.h. */
45900 #include <math.h>
45901 #ifdef HAVE_IEEEFP_H
45902 #include <ieeefp.h>
45903 #endif
45906 main ()
45908 _isnan(0);
45910 return 0;
45912 _ACEOF
45913 if ac_fn_cxx_try_compile "$LINENO"; then :
45914 glibcxx_cv_func__isnan_use=yes
45915 else
45916 glibcxx_cv_func__isnan_use=no
45918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45919 ac_ext=c
45920 ac_cpp='$CPP $CPPFLAGS'
45921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45930 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45932 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45933 for ac_func in _isnan
45934 do :
45935 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45936 if test "x$ac_cv_func__isnan" = x""yes; then :
45937 cat >>confdefs.h <<_ACEOF
45938 #define HAVE__ISNAN 1
45939 _ACEOF
45942 done
45951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45952 $as_echo_n "checking for finite declaration... " >&6; }
45953 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45954 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45955 $as_echo_n "(cached) " >&6
45956 else
45959 ac_ext=cpp
45960 ac_cpp='$CXXCPP $CPPFLAGS'
45961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45966 /* end confdefs.h. */
45967 #include <math.h>
45968 #ifdef HAVE_IEEEFP_H
45969 #include <ieeefp.h>
45970 #endif
45973 main ()
45975 finite(0);
45977 return 0;
45979 _ACEOF
45980 if ac_fn_cxx_try_compile "$LINENO"; then :
45981 glibcxx_cv_func_finite_use=yes
45982 else
45983 glibcxx_cv_func_finite_use=no
45985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45986 ac_ext=c
45987 ac_cpp='$CPP $CPPFLAGS'
45988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45997 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45999 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46000 for ac_func in finite
46001 do :
46002 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46003 if test "x$ac_cv_func_finite" = x""yes; then :
46004 cat >>confdefs.h <<_ACEOF
46005 #define HAVE_FINITE 1
46006 _ACEOF
46009 done
46011 else
46013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46014 $as_echo_n "checking for _finite declaration... " >&6; }
46015 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46016 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46017 $as_echo_n "(cached) " >&6
46018 else
46021 ac_ext=cpp
46022 ac_cpp='$CXXCPP $CPPFLAGS'
46023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46028 /* end confdefs.h. */
46029 #include <math.h>
46030 #ifdef HAVE_IEEEFP_H
46031 #include <ieeefp.h>
46032 #endif
46035 main ()
46037 _finite(0);
46039 return 0;
46041 _ACEOF
46042 if ac_fn_cxx_try_compile "$LINENO"; then :
46043 glibcxx_cv_func__finite_use=yes
46044 else
46045 glibcxx_cv_func__finite_use=no
46047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46048 ac_ext=c
46049 ac_cpp='$CPP $CPPFLAGS'
46050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46059 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46061 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46062 for ac_func in _finite
46063 do :
46064 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46065 if test "x$ac_cv_func__finite" = x""yes; then :
46066 cat >>confdefs.h <<_ACEOF
46067 #define HAVE__FINITE 1
46068 _ACEOF
46071 done
46080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46081 $as_echo_n "checking for sincos declaration... " >&6; }
46082 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46083 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46084 $as_echo_n "(cached) " >&6
46085 else
46088 ac_ext=cpp
46089 ac_cpp='$CXXCPP $CPPFLAGS'
46090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46095 /* end confdefs.h. */
46096 #include <math.h>
46098 main ()
46100 sincos(0, 0, 0);
46102 return 0;
46104 _ACEOF
46105 if ac_fn_cxx_try_compile "$LINENO"; then :
46106 glibcxx_cv_func_sincos_use=yes
46107 else
46108 glibcxx_cv_func_sincos_use=no
46110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46111 ac_ext=c
46112 ac_cpp='$CPP $CPPFLAGS'
46113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46122 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46124 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46125 for ac_func in sincos
46126 do :
46127 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46128 if test "x$ac_cv_func_sincos" = x""yes; then :
46129 cat >>confdefs.h <<_ACEOF
46130 #define HAVE_SINCOS 1
46131 _ACEOF
46134 done
46136 else
46138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46139 $as_echo_n "checking for _sincos declaration... " >&6; }
46140 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46141 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46142 $as_echo_n "(cached) " >&6
46143 else
46146 ac_ext=cpp
46147 ac_cpp='$CXXCPP $CPPFLAGS'
46148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46153 /* end confdefs.h. */
46154 #include <math.h>
46156 main ()
46158 _sincos(0, 0, 0);
46160 return 0;
46162 _ACEOF
46163 if ac_fn_cxx_try_compile "$LINENO"; then :
46164 glibcxx_cv_func__sincos_use=yes
46165 else
46166 glibcxx_cv_func__sincos_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__sincos_use" >&5
46180 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46182 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46183 for ac_func in _sincos
46184 do :
46185 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46186 if test "x$ac_cv_func__sincos" = x""yes; then :
46187 cat >>confdefs.h <<_ACEOF
46188 #define HAVE__SINCOS 1
46189 _ACEOF
46192 done
46201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46202 $as_echo_n "checking for fpclass declaration... " >&6; }
46203 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46204 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46205 $as_echo_n "(cached) " >&6
46206 else
46209 ac_ext=cpp
46210 ac_cpp='$CXXCPP $CPPFLAGS'
46211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46216 /* end confdefs.h. */
46217 #include <math.h>
46218 #ifdef HAVE_IEEEFP_H
46219 #include <ieeefp.h>
46220 #endif
46223 main ()
46225 fpclass(0);
46227 return 0;
46229 _ACEOF
46230 if ac_fn_cxx_try_compile "$LINENO"; then :
46231 glibcxx_cv_func_fpclass_use=yes
46232 else
46233 glibcxx_cv_func_fpclass_use=no
46235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46236 ac_ext=c
46237 ac_cpp='$CPP $CPPFLAGS'
46238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46247 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46249 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46250 for ac_func in fpclass
46251 do :
46252 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46253 if test "x$ac_cv_func_fpclass" = x""yes; then :
46254 cat >>confdefs.h <<_ACEOF
46255 #define HAVE_FPCLASS 1
46256 _ACEOF
46259 done
46261 else
46263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46264 $as_echo_n "checking for _fpclass declaration... " >&6; }
46265 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46266 if test "${glibcxx_cv_func__fpclass_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 _fpclass(0);
46289 return 0;
46291 _ACEOF
46292 if ac_fn_cxx_try_compile "$LINENO"; then :
46293 glibcxx_cv_func__fpclass_use=yes
46294 else
46295 glibcxx_cv_func__fpclass_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__fpclass_use" >&5
46309 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46311 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46312 for ac_func in _fpclass
46313 do :
46314 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46315 if test "x$ac_cv_func__fpclass" = x""yes; then :
46316 cat >>confdefs.h <<_ACEOF
46317 #define HAVE__FPCLASS 1
46318 _ACEOF
46321 done
46330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46331 $as_echo_n "checking for qfpclass declaration... " >&6; }
46332 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46333 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46334 $as_echo_n "(cached) " >&6
46335 else
46338 ac_ext=cpp
46339 ac_cpp='$CXXCPP $CPPFLAGS'
46340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46345 /* end confdefs.h. */
46346 #include <math.h>
46347 #ifdef HAVE_IEEEFP_H
46348 #include <ieeefp.h>
46349 #endif
46352 main ()
46354 qfpclass(0);
46356 return 0;
46358 _ACEOF
46359 if ac_fn_cxx_try_compile "$LINENO"; then :
46360 glibcxx_cv_func_qfpclass_use=yes
46361 else
46362 glibcxx_cv_func_qfpclass_use=no
46364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46365 ac_ext=c
46366 ac_cpp='$CPP $CPPFLAGS'
46367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46376 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46378 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46379 for ac_func in qfpclass
46380 do :
46381 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46382 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46383 cat >>confdefs.h <<_ACEOF
46384 #define HAVE_QFPCLASS 1
46385 _ACEOF
46388 done
46390 else
46392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46393 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46394 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46395 if test "${glibcxx_cv_func__qfpclass_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 _qfpclass(0);
46418 return 0;
46420 _ACEOF
46421 if ac_fn_cxx_try_compile "$LINENO"; then :
46422 glibcxx_cv_func__qfpclass_use=yes
46423 else
46424 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
46438 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46440 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46441 for ac_func in _qfpclass
46442 do :
46443 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46444 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46445 cat >>confdefs.h <<_ACEOF
46446 #define HAVE__QFPCLASS 1
46447 _ACEOF
46450 done
46459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46460 $as_echo_n "checking for hypot declaration... " >&6; }
46461 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46462 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46463 $as_echo_n "(cached) " >&6
46464 else
46467 ac_ext=cpp
46468 ac_cpp='$CXXCPP $CPPFLAGS'
46469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46474 /* end confdefs.h. */
46475 #include <math.h>
46477 main ()
46479 hypot(0, 0);
46481 return 0;
46483 _ACEOF
46484 if ac_fn_cxx_try_compile "$LINENO"; then :
46485 glibcxx_cv_func_hypot_use=yes
46486 else
46487 glibcxx_cv_func_hypot_use=no
46489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46490 ac_ext=c
46491 ac_cpp='$CPP $CPPFLAGS'
46492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46501 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46503 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46504 for ac_func in hypot
46505 do :
46506 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46507 if test "x$ac_cv_func_hypot" = x""yes; then :
46508 cat >>confdefs.h <<_ACEOF
46509 #define HAVE_HYPOT 1
46510 _ACEOF
46513 done
46515 else
46517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46518 $as_echo_n "checking for _hypot declaration... " >&6; }
46519 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46520 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46521 $as_echo_n "(cached) " >&6
46522 else
46525 ac_ext=cpp
46526 ac_cpp='$CXXCPP $CPPFLAGS'
46527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46532 /* end confdefs.h. */
46533 #include <math.h>
46535 main ()
46537 _hypot(0, 0);
46539 return 0;
46541 _ACEOF
46542 if ac_fn_cxx_try_compile "$LINENO"; then :
46543 glibcxx_cv_func__hypot_use=yes
46544 else
46545 glibcxx_cv_func__hypot_use=no
46547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46548 ac_ext=c
46549 ac_cpp='$CPP $CPPFLAGS'
46550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46559 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46561 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46562 for ac_func in _hypot
46563 do :
46564 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46565 if test "x$ac_cv_func__hypot" = x""yes; then :
46566 cat >>confdefs.h <<_ACEOF
46567 #define HAVE__HYPOT 1
46568 _ACEOF
46571 done
46580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46581 $as_echo_n "checking for float trig functions... " >&6; }
46582 if test "${glibcxx_cv_func_float_trig_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 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46601 return 0;
46603 _ACEOF
46604 if ac_fn_cxx_try_compile "$LINENO"; then :
46605 glibcxx_cv_func_float_trig_use=yes
46606 else
46607 glibcxx_cv_func_float_trig_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
46618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46619 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46620 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46621 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46622 do :
46623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46625 eval as_val=\$$as_ac_var
46626 if test "x$as_val" = x""yes; then :
46627 cat >>confdefs.h <<_ACEOF
46628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46629 _ACEOF
46632 done
46634 else
46635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46636 $as_echo_n "checking for _float trig functions... " >&6; }
46637 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46638 $as_echo_n "(cached) " >&6
46639 else
46642 ac_ext=cpp
46643 ac_cpp='$CXXCPP $CPPFLAGS'
46644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46649 /* end confdefs.h. */
46650 #include <math.h>
46652 main ()
46654 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46656 return 0;
46658 _ACEOF
46659 if ac_fn_cxx_try_compile "$LINENO"; then :
46660 glibcxx_cv_func__float_trig_use=yes
46661 else
46662 glibcxx_cv_func__float_trig_use=no
46664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46665 ac_ext=c
46666 ac_cpp='$CPP $CPPFLAGS'
46667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46674 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46675 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46676 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46677 do :
46678 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46679 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46680 eval as_val=\$$as_ac_var
46681 if test "x$as_val" = x""yes; then :
46682 cat >>confdefs.h <<_ACEOF
46683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46684 _ACEOF
46687 done
46696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46697 $as_echo_n "checking for float round functions... " >&6; }
46698 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46699 $as_echo_n "(cached) " >&6
46700 else
46703 ac_ext=cpp
46704 ac_cpp='$CXXCPP $CPPFLAGS'
46705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46710 /* end confdefs.h. */
46711 #include <math.h>
46713 main ()
46715 ceilf (0); floorf (0);
46717 return 0;
46719 _ACEOF
46720 if ac_fn_cxx_try_compile "$LINENO"; then :
46721 glibcxx_cv_func_float_round_use=yes
46722 else
46723 glibcxx_cv_func_float_round_use=no
46725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46726 ac_ext=c
46727 ac_cpp='$CPP $CPPFLAGS'
46728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46735 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46736 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46737 for ac_func in ceilf floorf
46738 do :
46739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46741 eval as_val=\$$as_ac_var
46742 if test "x$as_val" = x""yes; then :
46743 cat >>confdefs.h <<_ACEOF
46744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46745 _ACEOF
46748 done
46750 else
46751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46752 $as_echo_n "checking for _float round functions... " >&6; }
46753 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46754 $as_echo_n "(cached) " >&6
46755 else
46758 ac_ext=cpp
46759 ac_cpp='$CXXCPP $CPPFLAGS'
46760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46765 /* end confdefs.h. */
46766 #include <math.h>
46768 main ()
46770 _ceilf (0); _floorf (0);
46772 return 0;
46774 _ACEOF
46775 if ac_fn_cxx_try_compile "$LINENO"; then :
46776 glibcxx_cv_func__float_round_use=yes
46777 else
46778 glibcxx_cv_func__float_round_use=no
46780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46781 ac_ext=c
46782 ac_cpp='$CPP $CPPFLAGS'
46783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46790 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46791 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46792 for ac_func in _ceilf _floorf
46793 do :
46794 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46795 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46796 eval as_val=\$$as_ac_var
46797 if test "x$as_val" = x""yes; then :
46798 cat >>confdefs.h <<_ACEOF
46799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46800 _ACEOF
46803 done
46813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46814 $as_echo_n "checking for expf declaration... " >&6; }
46815 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46816 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46817 $as_echo_n "(cached) " >&6
46818 else
46821 ac_ext=cpp
46822 ac_cpp='$CXXCPP $CPPFLAGS'
46823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46828 /* end confdefs.h. */
46829 #include <math.h>
46830 #ifdef HAVE_IEEEFP_H
46831 #include <ieeefp.h>
46832 #endif
46835 main ()
46837 expf(0);
46839 return 0;
46841 _ACEOF
46842 if ac_fn_cxx_try_compile "$LINENO"; then :
46843 glibcxx_cv_func_expf_use=yes
46844 else
46845 glibcxx_cv_func_expf_use=no
46847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46848 ac_ext=c
46849 ac_cpp='$CPP $CPPFLAGS'
46850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46859 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46861 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46862 for ac_func in expf
46863 do :
46864 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46865 if test "x$ac_cv_func_expf" = x""yes; then :
46866 cat >>confdefs.h <<_ACEOF
46867 #define HAVE_EXPF 1
46868 _ACEOF
46871 done
46873 else
46875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46876 $as_echo_n "checking for _expf declaration... " >&6; }
46877 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46878 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46879 $as_echo_n "(cached) " >&6
46880 else
46883 ac_ext=cpp
46884 ac_cpp='$CXXCPP $CPPFLAGS'
46885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46890 /* end confdefs.h. */
46891 #include <math.h>
46892 #ifdef HAVE_IEEEFP_H
46893 #include <ieeefp.h>
46894 #endif
46897 main ()
46899 _expf(0);
46901 return 0;
46903 _ACEOF
46904 if ac_fn_cxx_try_compile "$LINENO"; then :
46905 glibcxx_cv_func__expf_use=yes
46906 else
46907 glibcxx_cv_func__expf_use=no
46909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46910 ac_ext=c
46911 ac_cpp='$CPP $CPPFLAGS'
46912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46921 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46923 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46924 for ac_func in _expf
46925 do :
46926 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46927 if test "x$ac_cv_func__expf" = x""yes; then :
46928 cat >>confdefs.h <<_ACEOF
46929 #define HAVE__EXPF 1
46930 _ACEOF
46933 done
46942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46943 $as_echo_n "checking for isnanf declaration... " >&6; }
46944 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46945 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46946 $as_echo_n "(cached) " >&6
46947 else
46950 ac_ext=cpp
46951 ac_cpp='$CXXCPP $CPPFLAGS'
46952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46957 /* end confdefs.h. */
46958 #include <math.h>
46959 #ifdef HAVE_IEEEFP_H
46960 #include <ieeefp.h>
46961 #endif
46964 main ()
46966 isnanf(0);
46968 return 0;
46970 _ACEOF
46971 if ac_fn_cxx_try_compile "$LINENO"; then :
46972 glibcxx_cv_func_isnanf_use=yes
46973 else
46974 glibcxx_cv_func_isnanf_use=no
46976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46977 ac_ext=c
46978 ac_cpp='$CPP $CPPFLAGS'
46979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46988 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46990 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46991 for ac_func in isnanf
46992 do :
46993 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46994 if test "x$ac_cv_func_isnanf" = x""yes; then :
46995 cat >>confdefs.h <<_ACEOF
46996 #define HAVE_ISNANF 1
46997 _ACEOF
47000 done
47002 else
47004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47005 $as_echo_n "checking for _isnanf declaration... " >&6; }
47006 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47007 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47008 $as_echo_n "(cached) " >&6
47009 else
47012 ac_ext=cpp
47013 ac_cpp='$CXXCPP $CPPFLAGS'
47014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47019 /* end confdefs.h. */
47020 #include <math.h>
47021 #ifdef HAVE_IEEEFP_H
47022 #include <ieeefp.h>
47023 #endif
47026 main ()
47028 _isnanf(0);
47030 return 0;
47032 _ACEOF
47033 if ac_fn_cxx_try_compile "$LINENO"; then :
47034 glibcxx_cv_func__isnanf_use=yes
47035 else
47036 glibcxx_cv_func__isnanf_use=no
47038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47039 ac_ext=c
47040 ac_cpp='$CPP $CPPFLAGS'
47041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47050 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47052 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47053 for ac_func in _isnanf
47054 do :
47055 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47056 if test "x$ac_cv_func__isnanf" = x""yes; then :
47057 cat >>confdefs.h <<_ACEOF
47058 #define HAVE__ISNANF 1
47059 _ACEOF
47062 done
47071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47072 $as_echo_n "checking for isinff declaration... " >&6; }
47073 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47074 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47075 $as_echo_n "(cached) " >&6
47076 else
47079 ac_ext=cpp
47080 ac_cpp='$CXXCPP $CPPFLAGS'
47081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47086 /* end confdefs.h. */
47087 #include <math.h>
47088 #ifdef HAVE_IEEEFP_H
47089 #include <ieeefp.h>
47090 #endif
47093 main ()
47095 isinff(0);
47097 return 0;
47099 _ACEOF
47100 if ac_fn_cxx_try_compile "$LINENO"; then :
47101 glibcxx_cv_func_isinff_use=yes
47102 else
47103 glibcxx_cv_func_isinff_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
47116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47117 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47119 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47120 for ac_func in isinff
47121 do :
47122 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47123 if test "x$ac_cv_func_isinff" = x""yes; then :
47124 cat >>confdefs.h <<_ACEOF
47125 #define HAVE_ISINFF 1
47126 _ACEOF
47129 done
47131 else
47133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47134 $as_echo_n "checking for _isinff declaration... " >&6; }
47135 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47136 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47137 $as_echo_n "(cached) " >&6
47138 else
47141 ac_ext=cpp
47142 ac_cpp='$CXXCPP $CPPFLAGS'
47143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47148 /* end confdefs.h. */
47149 #include <math.h>
47150 #ifdef HAVE_IEEEFP_H
47151 #include <ieeefp.h>
47152 #endif
47155 main ()
47157 _isinff(0);
47159 return 0;
47161 _ACEOF
47162 if ac_fn_cxx_try_compile "$LINENO"; then :
47163 glibcxx_cv_func__isinff_use=yes
47164 else
47165 glibcxx_cv_func__isinff_use=no
47167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47168 ac_ext=c
47169 ac_cpp='$CPP $CPPFLAGS'
47170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47179 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47181 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47182 for ac_func in _isinff
47183 do :
47184 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47185 if test "x$ac_cv_func__isinff" = x""yes; then :
47186 cat >>confdefs.h <<_ACEOF
47187 #define HAVE__ISINFF 1
47188 _ACEOF
47191 done
47200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47201 $as_echo_n "checking for atan2f declaration... " >&6; }
47202 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47203 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47204 $as_echo_n "(cached) " >&6
47205 else
47208 ac_ext=cpp
47209 ac_cpp='$CXXCPP $CPPFLAGS'
47210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47215 /* end confdefs.h. */
47216 #include <math.h>
47218 main ()
47220 atan2f(0, 0);
47222 return 0;
47224 _ACEOF
47225 if ac_fn_cxx_try_compile "$LINENO"; then :
47226 glibcxx_cv_func_atan2f_use=yes
47227 else
47228 glibcxx_cv_func_atan2f_use=no
47230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47231 ac_ext=c
47232 ac_cpp='$CPP $CPPFLAGS'
47233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47242 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47244 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47245 for ac_func in atan2f
47246 do :
47247 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47248 if test "x$ac_cv_func_atan2f" = x""yes; then :
47249 cat >>confdefs.h <<_ACEOF
47250 #define HAVE_ATAN2F 1
47251 _ACEOF
47254 done
47256 else
47258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47259 $as_echo_n "checking for _atan2f declaration... " >&6; }
47260 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47261 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47262 $as_echo_n "(cached) " >&6
47263 else
47266 ac_ext=cpp
47267 ac_cpp='$CXXCPP $CPPFLAGS'
47268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47273 /* end confdefs.h. */
47274 #include <math.h>
47276 main ()
47278 _atan2f(0, 0);
47280 return 0;
47282 _ACEOF
47283 if ac_fn_cxx_try_compile "$LINENO"; then :
47284 glibcxx_cv_func__atan2f_use=yes
47285 else
47286 glibcxx_cv_func__atan2f_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__atan2f_use" >&5
47300 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47302 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47303 for ac_func in _atan2f
47304 do :
47305 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47306 if test "x$ac_cv_func__atan2f" = x""yes; then :
47307 cat >>confdefs.h <<_ACEOF
47308 #define HAVE__ATAN2F 1
47309 _ACEOF
47312 done
47321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47322 $as_echo_n "checking for fabsf declaration... " >&6; }
47323 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47324 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47325 $as_echo_n "(cached) " >&6
47326 else
47329 ac_ext=cpp
47330 ac_cpp='$CXXCPP $CPPFLAGS'
47331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47336 /* end confdefs.h. */
47337 #include <math.h>
47338 #ifdef HAVE_IEEEFP_H
47339 #include <ieeefp.h>
47340 #endif
47343 main ()
47345 fabsf(0);
47347 return 0;
47349 _ACEOF
47350 if ac_fn_cxx_try_compile "$LINENO"; then :
47351 glibcxx_cv_func_fabsf_use=yes
47352 else
47353 glibcxx_cv_func_fabsf_use=no
47355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47356 ac_ext=c
47357 ac_cpp='$CPP $CPPFLAGS'
47358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47367 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47369 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47370 for ac_func in fabsf
47371 do :
47372 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47373 if test "x$ac_cv_func_fabsf" = x""yes; then :
47374 cat >>confdefs.h <<_ACEOF
47375 #define HAVE_FABSF 1
47376 _ACEOF
47379 done
47381 else
47383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47384 $as_echo_n "checking for _fabsf declaration... " >&6; }
47385 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47386 if test "${glibcxx_cv_func__fabsf_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 _fabsf(0);
47409 return 0;
47411 _ACEOF
47412 if ac_fn_cxx_try_compile "$LINENO"; then :
47413 glibcxx_cv_func__fabsf_use=yes
47414 else
47415 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
47429 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47431 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47432 for ac_func in _fabsf
47433 do :
47434 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47435 if test "x$ac_cv_func__fabsf" = x""yes; then :
47436 cat >>confdefs.h <<_ACEOF
47437 #define HAVE__FABSF 1
47438 _ACEOF
47441 done
47450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47451 $as_echo_n "checking for fmodf declaration... " >&6; }
47452 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47453 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47454 $as_echo_n "(cached) " >&6
47455 else
47458 ac_ext=cpp
47459 ac_cpp='$CXXCPP $CPPFLAGS'
47460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47465 /* end confdefs.h. */
47466 #include <math.h>
47468 main ()
47470 fmodf(0, 0);
47472 return 0;
47474 _ACEOF
47475 if ac_fn_cxx_try_compile "$LINENO"; then :
47476 glibcxx_cv_func_fmodf_use=yes
47477 else
47478 glibcxx_cv_func_fmodf_use=no
47480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47481 ac_ext=c
47482 ac_cpp='$CPP $CPPFLAGS'
47483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47492 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47494 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47495 for ac_func in fmodf
47496 do :
47497 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47498 if test "x$ac_cv_func_fmodf" = x""yes; then :
47499 cat >>confdefs.h <<_ACEOF
47500 #define HAVE_FMODF 1
47501 _ACEOF
47504 done
47506 else
47508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47509 $as_echo_n "checking for _fmodf declaration... " >&6; }
47510 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47511 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47512 $as_echo_n "(cached) " >&6
47513 else
47516 ac_ext=cpp
47517 ac_cpp='$CXXCPP $CPPFLAGS'
47518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47523 /* end confdefs.h. */
47524 #include <math.h>
47526 main ()
47528 _fmodf(0, 0);
47530 return 0;
47532 _ACEOF
47533 if ac_fn_cxx_try_compile "$LINENO"; then :
47534 glibcxx_cv_func__fmodf_use=yes
47535 else
47536 glibcxx_cv_func__fmodf_use=no
47538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47539 ac_ext=c
47540 ac_cpp='$CPP $CPPFLAGS'
47541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47550 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47552 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47553 for ac_func in _fmodf
47554 do :
47555 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47556 if test "x$ac_cv_func__fmodf" = x""yes; then :
47557 cat >>confdefs.h <<_ACEOF
47558 #define HAVE__FMODF 1
47559 _ACEOF
47562 done
47571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47572 $as_echo_n "checking for frexpf declaration... " >&6; }
47573 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47574 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47575 $as_echo_n "(cached) " >&6
47576 else
47579 ac_ext=cpp
47580 ac_cpp='$CXXCPP $CPPFLAGS'
47581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47586 /* end confdefs.h. */
47587 #include <math.h>
47589 main ()
47591 frexpf(0, 0);
47593 return 0;
47595 _ACEOF
47596 if ac_fn_cxx_try_compile "$LINENO"; then :
47597 glibcxx_cv_func_frexpf_use=yes
47598 else
47599 glibcxx_cv_func_frexpf_use=no
47601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47602 ac_ext=c
47603 ac_cpp='$CPP $CPPFLAGS'
47604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47613 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47615 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47616 for ac_func in frexpf
47617 do :
47618 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47619 if test "x$ac_cv_func_frexpf" = x""yes; then :
47620 cat >>confdefs.h <<_ACEOF
47621 #define HAVE_FREXPF 1
47622 _ACEOF
47625 done
47627 else
47629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47630 $as_echo_n "checking for _frexpf declaration... " >&6; }
47631 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47632 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47633 $as_echo_n "(cached) " >&6
47634 else
47637 ac_ext=cpp
47638 ac_cpp='$CXXCPP $CPPFLAGS'
47639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47644 /* end confdefs.h. */
47645 #include <math.h>
47647 main ()
47649 _frexpf(0, 0);
47651 return 0;
47653 _ACEOF
47654 if ac_fn_cxx_try_compile "$LINENO"; then :
47655 glibcxx_cv_func__frexpf_use=yes
47656 else
47657 glibcxx_cv_func__frexpf_use=no
47659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47660 ac_ext=c
47661 ac_cpp='$CPP $CPPFLAGS'
47662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47671 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47673 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47674 for ac_func in _frexpf
47675 do :
47676 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47677 if test "x$ac_cv_func__frexpf" = x""yes; then :
47678 cat >>confdefs.h <<_ACEOF
47679 #define HAVE__FREXPF 1
47680 _ACEOF
47683 done
47692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47693 $as_echo_n "checking for hypotf declaration... " >&6; }
47694 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47695 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47696 $as_echo_n "(cached) " >&6
47697 else
47700 ac_ext=cpp
47701 ac_cpp='$CXXCPP $CPPFLAGS'
47702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47707 /* end confdefs.h. */
47708 #include <math.h>
47710 main ()
47712 hypotf(0, 0);
47714 return 0;
47716 _ACEOF
47717 if ac_fn_cxx_try_compile "$LINENO"; then :
47718 glibcxx_cv_func_hypotf_use=yes
47719 else
47720 glibcxx_cv_func_hypotf_use=no
47722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47723 ac_ext=c
47724 ac_cpp='$CPP $CPPFLAGS'
47725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47734 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47736 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47737 for ac_func in hypotf
47738 do :
47739 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47740 if test "x$ac_cv_func_hypotf" = x""yes; then :
47741 cat >>confdefs.h <<_ACEOF
47742 #define HAVE_HYPOTF 1
47743 _ACEOF
47746 done
47748 else
47750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47751 $as_echo_n "checking for _hypotf declaration... " >&6; }
47752 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47753 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47754 $as_echo_n "(cached) " >&6
47755 else
47758 ac_ext=cpp
47759 ac_cpp='$CXXCPP $CPPFLAGS'
47760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47765 /* end confdefs.h. */
47766 #include <math.h>
47768 main ()
47770 _hypotf(0, 0);
47772 return 0;
47774 _ACEOF
47775 if ac_fn_cxx_try_compile "$LINENO"; then :
47776 glibcxx_cv_func__hypotf_use=yes
47777 else
47778 glibcxx_cv_func__hypotf_use=no
47780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47781 ac_ext=c
47782 ac_cpp='$CPP $CPPFLAGS'
47783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47792 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47794 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47795 for ac_func in _hypotf
47796 do :
47797 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47798 if test "x$ac_cv_func__hypotf" = x""yes; then :
47799 cat >>confdefs.h <<_ACEOF
47800 #define HAVE__HYPOTF 1
47801 _ACEOF
47804 done
47813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47814 $as_echo_n "checking for ldexpf declaration... " >&6; }
47815 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47816 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47817 $as_echo_n "(cached) " >&6
47818 else
47821 ac_ext=cpp
47822 ac_cpp='$CXXCPP $CPPFLAGS'
47823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47828 /* end confdefs.h. */
47829 #include <math.h>
47831 main ()
47833 ldexpf(0, 0);
47835 return 0;
47837 _ACEOF
47838 if ac_fn_cxx_try_compile "$LINENO"; then :
47839 glibcxx_cv_func_ldexpf_use=yes
47840 else
47841 glibcxx_cv_func_ldexpf_use=no
47843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47844 ac_ext=c
47845 ac_cpp='$CPP $CPPFLAGS'
47846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47855 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47857 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47858 for ac_func in ldexpf
47859 do :
47860 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47861 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47862 cat >>confdefs.h <<_ACEOF
47863 #define HAVE_LDEXPF 1
47864 _ACEOF
47867 done
47869 else
47871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47872 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47873 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47874 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47875 $as_echo_n "(cached) " >&6
47876 else
47879 ac_ext=cpp
47880 ac_cpp='$CXXCPP $CPPFLAGS'
47881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47886 /* end confdefs.h. */
47887 #include <math.h>
47889 main ()
47891 _ldexpf(0, 0);
47893 return 0;
47895 _ACEOF
47896 if ac_fn_cxx_try_compile "$LINENO"; then :
47897 glibcxx_cv_func__ldexpf_use=yes
47898 else
47899 glibcxx_cv_func__ldexpf_use=no
47901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47902 ac_ext=c
47903 ac_cpp='$CPP $CPPFLAGS'
47904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47913 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47915 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47916 for ac_func in _ldexpf
47917 do :
47918 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47919 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47920 cat >>confdefs.h <<_ACEOF
47921 #define HAVE__LDEXPF 1
47922 _ACEOF
47925 done
47934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47935 $as_echo_n "checking for logf declaration... " >&6; }
47936 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47937 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47938 $as_echo_n "(cached) " >&6
47939 else
47942 ac_ext=cpp
47943 ac_cpp='$CXXCPP $CPPFLAGS'
47944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47949 /* end confdefs.h. */
47950 #include <math.h>
47951 #ifdef HAVE_IEEEFP_H
47952 #include <ieeefp.h>
47953 #endif
47956 main ()
47958 logf(0);
47960 return 0;
47962 _ACEOF
47963 if ac_fn_cxx_try_compile "$LINENO"; then :
47964 glibcxx_cv_func_logf_use=yes
47965 else
47966 glibcxx_cv_func_logf_use=no
47968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47969 ac_ext=c
47970 ac_cpp='$CPP $CPPFLAGS'
47971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47980 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47982 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47983 for ac_func in logf
47984 do :
47985 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47986 if test "x$ac_cv_func_logf" = x""yes; then :
47987 cat >>confdefs.h <<_ACEOF
47988 #define HAVE_LOGF 1
47989 _ACEOF
47992 done
47994 else
47996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47997 $as_echo_n "checking for _logf declaration... " >&6; }
47998 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47999 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48000 $as_echo_n "(cached) " >&6
48001 else
48004 ac_ext=cpp
48005 ac_cpp='$CXXCPP $CPPFLAGS'
48006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48011 /* end confdefs.h. */
48012 #include <math.h>
48013 #ifdef HAVE_IEEEFP_H
48014 #include <ieeefp.h>
48015 #endif
48018 main ()
48020 _logf(0);
48022 return 0;
48024 _ACEOF
48025 if ac_fn_cxx_try_compile "$LINENO"; then :
48026 glibcxx_cv_func__logf_use=yes
48027 else
48028 glibcxx_cv_func__logf_use=no
48030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48031 ac_ext=c
48032 ac_cpp='$CPP $CPPFLAGS'
48033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48042 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48044 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48045 for ac_func in _logf
48046 do :
48047 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48048 if test "x$ac_cv_func__logf" = x""yes; then :
48049 cat >>confdefs.h <<_ACEOF
48050 #define HAVE__LOGF 1
48051 _ACEOF
48054 done
48063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48064 $as_echo_n "checking for log10f declaration... " >&6; }
48065 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48066 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48067 $as_echo_n "(cached) " >&6
48068 else
48071 ac_ext=cpp
48072 ac_cpp='$CXXCPP $CPPFLAGS'
48073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48078 /* end confdefs.h. */
48079 #include <math.h>
48080 #ifdef HAVE_IEEEFP_H
48081 #include <ieeefp.h>
48082 #endif
48085 main ()
48087 log10f(0);
48089 return 0;
48091 _ACEOF
48092 if ac_fn_cxx_try_compile "$LINENO"; then :
48093 glibcxx_cv_func_log10f_use=yes
48094 else
48095 glibcxx_cv_func_log10f_use=no
48097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48098 ac_ext=c
48099 ac_cpp='$CPP $CPPFLAGS'
48100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48109 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48111 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48112 for ac_func in log10f
48113 do :
48114 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48115 if test "x$ac_cv_func_log10f" = x""yes; then :
48116 cat >>confdefs.h <<_ACEOF
48117 #define HAVE_LOG10F 1
48118 _ACEOF
48121 done
48123 else
48125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48126 $as_echo_n "checking for _log10f declaration... " >&6; }
48127 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48128 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48129 $as_echo_n "(cached) " >&6
48130 else
48133 ac_ext=cpp
48134 ac_cpp='$CXXCPP $CPPFLAGS'
48135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48140 /* end confdefs.h. */
48141 #include <math.h>
48142 #ifdef HAVE_IEEEFP_H
48143 #include <ieeefp.h>
48144 #endif
48147 main ()
48149 _log10f(0);
48151 return 0;
48153 _ACEOF
48154 if ac_fn_cxx_try_compile "$LINENO"; then :
48155 glibcxx_cv_func__log10f_use=yes
48156 else
48157 glibcxx_cv_func__log10f_use=no
48159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48160 ac_ext=c
48161 ac_cpp='$CPP $CPPFLAGS'
48162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48171 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48173 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48174 for ac_func in _log10f
48175 do :
48176 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48177 if test "x$ac_cv_func__log10f" = x""yes; then :
48178 cat >>confdefs.h <<_ACEOF
48179 #define HAVE__LOG10F 1
48180 _ACEOF
48183 done
48192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48193 $as_echo_n "checking for modff declaration... " >&6; }
48194 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48195 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48196 $as_echo_n "(cached) " >&6
48197 else
48200 ac_ext=cpp
48201 ac_cpp='$CXXCPP $CPPFLAGS'
48202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48207 /* end confdefs.h. */
48208 #include <math.h>
48210 main ()
48212 modff(0, 0);
48214 return 0;
48216 _ACEOF
48217 if ac_fn_cxx_try_compile "$LINENO"; then :
48218 glibcxx_cv_func_modff_use=yes
48219 else
48220 glibcxx_cv_func_modff_use=no
48222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48223 ac_ext=c
48224 ac_cpp='$CPP $CPPFLAGS'
48225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48234 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48236 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48237 for ac_func in modff
48238 do :
48239 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48240 if test "x$ac_cv_func_modff" = x""yes; then :
48241 cat >>confdefs.h <<_ACEOF
48242 #define HAVE_MODFF 1
48243 _ACEOF
48246 done
48248 else
48250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48251 $as_echo_n "checking for _modff declaration... " >&6; }
48252 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48253 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48254 $as_echo_n "(cached) " >&6
48255 else
48258 ac_ext=cpp
48259 ac_cpp='$CXXCPP $CPPFLAGS'
48260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48265 /* end confdefs.h. */
48266 #include <math.h>
48268 main ()
48270 _modff(0, 0);
48272 return 0;
48274 _ACEOF
48275 if ac_fn_cxx_try_compile "$LINENO"; then :
48276 glibcxx_cv_func__modff_use=yes
48277 else
48278 glibcxx_cv_func__modff_use=no
48280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48281 ac_ext=c
48282 ac_cpp='$CPP $CPPFLAGS'
48283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48292 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48294 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48295 for ac_func in _modff
48296 do :
48297 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48298 if test "x$ac_cv_func__modff" = x""yes; then :
48299 cat >>confdefs.h <<_ACEOF
48300 #define HAVE__MODFF 1
48301 _ACEOF
48304 done
48313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48314 $as_echo_n "checking for modf declaration... " >&6; }
48315 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48316 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48317 $as_echo_n "(cached) " >&6
48318 else
48321 ac_ext=cpp
48322 ac_cpp='$CXXCPP $CPPFLAGS'
48323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48328 /* end confdefs.h. */
48329 #include <math.h>
48331 main ()
48333 modf(0, 0);
48335 return 0;
48337 _ACEOF
48338 if ac_fn_cxx_try_compile "$LINENO"; then :
48339 glibcxx_cv_func_modf_use=yes
48340 else
48341 glibcxx_cv_func_modf_use=no
48343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48344 ac_ext=c
48345 ac_cpp='$CPP $CPPFLAGS'
48346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48355 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48357 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48358 for ac_func in modf
48359 do :
48360 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48361 if test "x$ac_cv_func_modf" = x""yes; then :
48362 cat >>confdefs.h <<_ACEOF
48363 #define HAVE_MODF 1
48364 _ACEOF
48367 done
48369 else
48371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48372 $as_echo_n "checking for _modf declaration... " >&6; }
48373 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48374 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48375 $as_echo_n "(cached) " >&6
48376 else
48379 ac_ext=cpp
48380 ac_cpp='$CXXCPP $CPPFLAGS'
48381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48386 /* end confdefs.h. */
48387 #include <math.h>
48389 main ()
48391 _modf(0, 0);
48393 return 0;
48395 _ACEOF
48396 if ac_fn_cxx_try_compile "$LINENO"; then :
48397 glibcxx_cv_func__modf_use=yes
48398 else
48399 glibcxx_cv_func__modf_use=no
48401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48402 ac_ext=c
48403 ac_cpp='$CPP $CPPFLAGS'
48404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48413 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48415 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48416 for ac_func in _modf
48417 do :
48418 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48419 if test "x$ac_cv_func__modf" = x""yes; then :
48420 cat >>confdefs.h <<_ACEOF
48421 #define HAVE__MODF 1
48422 _ACEOF
48425 done
48434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48435 $as_echo_n "checking for powf declaration... " >&6; }
48436 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48437 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48438 $as_echo_n "(cached) " >&6
48439 else
48442 ac_ext=cpp
48443 ac_cpp='$CXXCPP $CPPFLAGS'
48444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48449 /* end confdefs.h. */
48450 #include <math.h>
48452 main ()
48454 powf(0, 0);
48456 return 0;
48458 _ACEOF
48459 if ac_fn_cxx_try_compile "$LINENO"; then :
48460 glibcxx_cv_func_powf_use=yes
48461 else
48462 glibcxx_cv_func_powf_use=no
48464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48465 ac_ext=c
48466 ac_cpp='$CPP $CPPFLAGS'
48467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48476 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48478 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48479 for ac_func in powf
48480 do :
48481 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48482 if test "x$ac_cv_func_powf" = x""yes; then :
48483 cat >>confdefs.h <<_ACEOF
48484 #define HAVE_POWF 1
48485 _ACEOF
48488 done
48490 else
48492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48493 $as_echo_n "checking for _powf declaration... " >&6; }
48494 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48495 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48496 $as_echo_n "(cached) " >&6
48497 else
48500 ac_ext=cpp
48501 ac_cpp='$CXXCPP $CPPFLAGS'
48502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48507 /* end confdefs.h. */
48508 #include <math.h>
48510 main ()
48512 _powf(0, 0);
48514 return 0;
48516 _ACEOF
48517 if ac_fn_cxx_try_compile "$LINENO"; then :
48518 glibcxx_cv_func__powf_use=yes
48519 else
48520 glibcxx_cv_func__powf_use=no
48522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48523 ac_ext=c
48524 ac_cpp='$CPP $CPPFLAGS'
48525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48534 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48536 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48537 for ac_func in _powf
48538 do :
48539 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48540 if test "x$ac_cv_func__powf" = x""yes; then :
48541 cat >>confdefs.h <<_ACEOF
48542 #define HAVE__POWF 1
48543 _ACEOF
48546 done
48555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48556 $as_echo_n "checking for sqrtf declaration... " >&6; }
48557 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48558 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48559 $as_echo_n "(cached) " >&6
48560 else
48563 ac_ext=cpp
48564 ac_cpp='$CXXCPP $CPPFLAGS'
48565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48570 /* end confdefs.h. */
48571 #include <math.h>
48572 #ifdef HAVE_IEEEFP_H
48573 #include <ieeefp.h>
48574 #endif
48577 main ()
48579 sqrtf(0);
48581 return 0;
48583 _ACEOF
48584 if ac_fn_cxx_try_compile "$LINENO"; then :
48585 glibcxx_cv_func_sqrtf_use=yes
48586 else
48587 glibcxx_cv_func_sqrtf_use=no
48589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48590 ac_ext=c
48591 ac_cpp='$CPP $CPPFLAGS'
48592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48601 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48603 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48604 for ac_func in sqrtf
48605 do :
48606 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48607 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48608 cat >>confdefs.h <<_ACEOF
48609 #define HAVE_SQRTF 1
48610 _ACEOF
48613 done
48615 else
48617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48618 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48619 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48620 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48621 $as_echo_n "(cached) " >&6
48622 else
48625 ac_ext=cpp
48626 ac_cpp='$CXXCPP $CPPFLAGS'
48627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48632 /* end confdefs.h. */
48633 #include <math.h>
48634 #ifdef HAVE_IEEEFP_H
48635 #include <ieeefp.h>
48636 #endif
48639 main ()
48641 _sqrtf(0);
48643 return 0;
48645 _ACEOF
48646 if ac_fn_cxx_try_compile "$LINENO"; then :
48647 glibcxx_cv_func__sqrtf_use=yes
48648 else
48649 glibcxx_cv_func__sqrtf_use=no
48651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48652 ac_ext=c
48653 ac_cpp='$CPP $CPPFLAGS'
48654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48663 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48665 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48666 for ac_func in _sqrtf
48667 do :
48668 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48669 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48670 cat >>confdefs.h <<_ACEOF
48671 #define HAVE__SQRTF 1
48672 _ACEOF
48675 done
48684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48685 $as_echo_n "checking for sincosf declaration... " >&6; }
48686 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48687 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48688 $as_echo_n "(cached) " >&6
48689 else
48692 ac_ext=cpp
48693 ac_cpp='$CXXCPP $CPPFLAGS'
48694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48699 /* end confdefs.h. */
48700 #include <math.h>
48702 main ()
48704 sincosf(0, 0, 0);
48706 return 0;
48708 _ACEOF
48709 if ac_fn_cxx_try_compile "$LINENO"; then :
48710 glibcxx_cv_func_sincosf_use=yes
48711 else
48712 glibcxx_cv_func_sincosf_use=no
48714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48715 ac_ext=c
48716 ac_cpp='$CPP $CPPFLAGS'
48717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48726 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48728 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48729 for ac_func in sincosf
48730 do :
48731 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48732 if test "x$ac_cv_func_sincosf" = x""yes; then :
48733 cat >>confdefs.h <<_ACEOF
48734 #define HAVE_SINCOSF 1
48735 _ACEOF
48738 done
48740 else
48742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48743 $as_echo_n "checking for _sincosf declaration... " >&6; }
48744 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48745 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48746 $as_echo_n "(cached) " >&6
48747 else
48750 ac_ext=cpp
48751 ac_cpp='$CXXCPP $CPPFLAGS'
48752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48757 /* end confdefs.h. */
48758 #include <math.h>
48760 main ()
48762 _sincosf(0, 0, 0);
48764 return 0;
48766 _ACEOF
48767 if ac_fn_cxx_try_compile "$LINENO"; then :
48768 glibcxx_cv_func__sincosf_use=yes
48769 else
48770 glibcxx_cv_func__sincosf_use=no
48772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48773 ac_ext=c
48774 ac_cpp='$CPP $CPPFLAGS'
48775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48784 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48786 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48787 for ac_func in _sincosf
48788 do :
48789 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48790 if test "x$ac_cv_func__sincosf" = x""yes; then :
48791 cat >>confdefs.h <<_ACEOF
48792 #define HAVE__SINCOSF 1
48793 _ACEOF
48796 done
48805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48806 $as_echo_n "checking for finitef declaration... " >&6; }
48807 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48808 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48809 $as_echo_n "(cached) " >&6
48810 else
48813 ac_ext=cpp
48814 ac_cpp='$CXXCPP $CPPFLAGS'
48815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48820 /* end confdefs.h. */
48821 #include <math.h>
48822 #ifdef HAVE_IEEEFP_H
48823 #include <ieeefp.h>
48824 #endif
48827 main ()
48829 finitef(0);
48831 return 0;
48833 _ACEOF
48834 if ac_fn_cxx_try_compile "$LINENO"; then :
48835 glibcxx_cv_func_finitef_use=yes
48836 else
48837 glibcxx_cv_func_finitef_use=no
48839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48840 ac_ext=c
48841 ac_cpp='$CPP $CPPFLAGS'
48842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48851 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48853 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48854 for ac_func in finitef
48855 do :
48856 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48857 if test "x$ac_cv_func_finitef" = x""yes; then :
48858 cat >>confdefs.h <<_ACEOF
48859 #define HAVE_FINITEF 1
48860 _ACEOF
48863 done
48865 else
48867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48868 $as_echo_n "checking for _finitef declaration... " >&6; }
48869 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48870 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48871 $as_echo_n "(cached) " >&6
48872 else
48875 ac_ext=cpp
48876 ac_cpp='$CXXCPP $CPPFLAGS'
48877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48882 /* end confdefs.h. */
48883 #include <math.h>
48884 #ifdef HAVE_IEEEFP_H
48885 #include <ieeefp.h>
48886 #endif
48889 main ()
48891 _finitef(0);
48893 return 0;
48895 _ACEOF
48896 if ac_fn_cxx_try_compile "$LINENO"; then :
48897 glibcxx_cv_func__finitef_use=yes
48898 else
48899 glibcxx_cv_func__finitef_use=no
48901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48902 ac_ext=c
48903 ac_cpp='$CPP $CPPFLAGS'
48904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48913 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48915 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48916 for ac_func in _finitef
48917 do :
48918 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48919 if test "x$ac_cv_func__finitef" = x""yes; then :
48920 cat >>confdefs.h <<_ACEOF
48921 #define HAVE__FINITEF 1
48922 _ACEOF
48925 done
48934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48935 $as_echo_n "checking for long double trig functions... " >&6; }
48936 if test "${glibcxx_cv_func_long_double_trig_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 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48955 return 0;
48957 _ACEOF
48958 if ac_fn_cxx_try_compile "$LINENO"; then :
48959 glibcxx_cv_func_long_double_trig_use=yes
48960 else
48961 glibcxx_cv_func_long_double_trig_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
48972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48973 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48974 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48975 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48976 do :
48977 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48978 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48979 eval as_val=\$$as_ac_var
48980 if test "x$as_val" = x""yes; then :
48981 cat >>confdefs.h <<_ACEOF
48982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48983 _ACEOF
48986 done
48988 else
48989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48990 $as_echo_n "checking for _long double trig functions... " >&6; }
48991 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48992 $as_echo_n "(cached) " >&6
48993 else
48996 ac_ext=cpp
48997 ac_cpp='$CXXCPP $CPPFLAGS'
48998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49003 /* end confdefs.h. */
49004 #include <math.h>
49006 main ()
49008 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49010 return 0;
49012 _ACEOF
49013 if ac_fn_cxx_try_compile "$LINENO"; then :
49014 glibcxx_cv_func__long_double_trig_use=yes
49015 else
49016 glibcxx_cv_func__long_double_trig_use=no
49018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49019 ac_ext=c
49020 ac_cpp='$CPP $CPPFLAGS'
49021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49028 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49029 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49030 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49031 do :
49032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49034 eval as_val=\$$as_ac_var
49035 if test "x$as_val" = x""yes; then :
49036 cat >>confdefs.h <<_ACEOF
49037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49038 _ACEOF
49041 done
49050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49051 $as_echo_n "checking for long double round functions... " >&6; }
49052 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49053 $as_echo_n "(cached) " >&6
49054 else
49057 ac_ext=cpp
49058 ac_cpp='$CXXCPP $CPPFLAGS'
49059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49064 /* end confdefs.h. */
49065 #include <math.h>
49067 main ()
49069 ceill (0); floorl (0);
49071 return 0;
49073 _ACEOF
49074 if ac_fn_cxx_try_compile "$LINENO"; then :
49075 glibcxx_cv_func_long_double_round_use=yes
49076 else
49077 glibcxx_cv_func_long_double_round_use=no
49079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49080 ac_ext=c
49081 ac_cpp='$CPP $CPPFLAGS'
49082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49089 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49090 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49091 for ac_func in ceill floorl
49092 do :
49093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49095 eval as_val=\$$as_ac_var
49096 if test "x$as_val" = x""yes; then :
49097 cat >>confdefs.h <<_ACEOF
49098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49099 _ACEOF
49102 done
49104 else
49105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49106 $as_echo_n "checking for _long double round functions... " >&6; }
49107 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49108 $as_echo_n "(cached) " >&6
49109 else
49112 ac_ext=cpp
49113 ac_cpp='$CXXCPP $CPPFLAGS'
49114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49119 /* end confdefs.h. */
49120 #include <math.h>
49122 main ()
49124 _ceill (0); _floorl (0);
49126 return 0;
49128 _ACEOF
49129 if ac_fn_cxx_try_compile "$LINENO"; then :
49130 glibcxx_cv_func__long_double_round_use=yes
49131 else
49132 glibcxx_cv_func__long_double_round_use=no
49134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49135 ac_ext=c
49136 ac_cpp='$CPP $CPPFLAGS'
49137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49144 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49145 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49146 for ac_func in _ceill _floorl
49147 do :
49148 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49149 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49150 eval as_val=\$$as_ac_var
49151 if test "x$as_val" = x""yes; then :
49152 cat >>confdefs.h <<_ACEOF
49153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49154 _ACEOF
49157 done
49167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49168 $as_echo_n "checking for isnanl declaration... " >&6; }
49169 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49170 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49171 $as_echo_n "(cached) " >&6
49172 else
49175 ac_ext=cpp
49176 ac_cpp='$CXXCPP $CPPFLAGS'
49177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49182 /* end confdefs.h. */
49183 #include <math.h>
49184 #ifdef HAVE_IEEEFP_H
49185 #include <ieeefp.h>
49186 #endif
49189 main ()
49191 isnanl(0);
49193 return 0;
49195 _ACEOF
49196 if ac_fn_cxx_try_compile "$LINENO"; then :
49197 glibcxx_cv_func_isnanl_use=yes
49198 else
49199 glibcxx_cv_func_isnanl_use=no
49201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49202 ac_ext=c
49203 ac_cpp='$CPP $CPPFLAGS'
49204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49213 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49215 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49216 for ac_func in isnanl
49217 do :
49218 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49219 if test "x$ac_cv_func_isnanl" = x""yes; then :
49220 cat >>confdefs.h <<_ACEOF
49221 #define HAVE_ISNANL 1
49222 _ACEOF
49225 done
49227 else
49229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49230 $as_echo_n "checking for _isnanl declaration... " >&6; }
49231 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49232 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49233 $as_echo_n "(cached) " >&6
49234 else
49237 ac_ext=cpp
49238 ac_cpp='$CXXCPP $CPPFLAGS'
49239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49244 /* end confdefs.h. */
49245 #include <math.h>
49246 #ifdef HAVE_IEEEFP_H
49247 #include <ieeefp.h>
49248 #endif
49251 main ()
49253 _isnanl(0);
49255 return 0;
49257 _ACEOF
49258 if ac_fn_cxx_try_compile "$LINENO"; then :
49259 glibcxx_cv_func__isnanl_use=yes
49260 else
49261 glibcxx_cv_func__isnanl_use=no
49263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49264 ac_ext=c
49265 ac_cpp='$CPP $CPPFLAGS'
49266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49275 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49277 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49278 for ac_func in _isnanl
49279 do :
49280 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49281 if test "x$ac_cv_func__isnanl" = x""yes; then :
49282 cat >>confdefs.h <<_ACEOF
49283 #define HAVE__ISNANL 1
49284 _ACEOF
49287 done
49296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49297 $as_echo_n "checking for isinfl declaration... " >&6; }
49298 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49299 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49300 $as_echo_n "(cached) " >&6
49301 else
49304 ac_ext=cpp
49305 ac_cpp='$CXXCPP $CPPFLAGS'
49306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49311 /* end confdefs.h. */
49312 #include <math.h>
49313 #ifdef HAVE_IEEEFP_H
49314 #include <ieeefp.h>
49315 #endif
49318 main ()
49320 isinfl(0);
49322 return 0;
49324 _ACEOF
49325 if ac_fn_cxx_try_compile "$LINENO"; then :
49326 glibcxx_cv_func_isinfl_use=yes
49327 else
49328 glibcxx_cv_func_isinfl_use=no
49330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49331 ac_ext=c
49332 ac_cpp='$CPP $CPPFLAGS'
49333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49342 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49344 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49345 for ac_func in isinfl
49346 do :
49347 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49348 if test "x$ac_cv_func_isinfl" = x""yes; then :
49349 cat >>confdefs.h <<_ACEOF
49350 #define HAVE_ISINFL 1
49351 _ACEOF
49354 done
49356 else
49358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49359 $as_echo_n "checking for _isinfl declaration... " >&6; }
49360 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49361 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49362 $as_echo_n "(cached) " >&6
49363 else
49366 ac_ext=cpp
49367 ac_cpp='$CXXCPP $CPPFLAGS'
49368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49373 /* end confdefs.h. */
49374 #include <math.h>
49375 #ifdef HAVE_IEEEFP_H
49376 #include <ieeefp.h>
49377 #endif
49380 main ()
49382 _isinfl(0);
49384 return 0;
49386 _ACEOF
49387 if ac_fn_cxx_try_compile "$LINENO"; then :
49388 glibcxx_cv_func__isinfl_use=yes
49389 else
49390 glibcxx_cv_func__isinfl_use=no
49392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49393 ac_ext=c
49394 ac_cpp='$CPP $CPPFLAGS'
49395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49404 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49406 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49407 for ac_func in _isinfl
49408 do :
49409 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49410 if test "x$ac_cv_func__isinfl" = x""yes; then :
49411 cat >>confdefs.h <<_ACEOF
49412 #define HAVE__ISINFL 1
49413 _ACEOF
49416 done
49425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49426 $as_echo_n "checking for atan2l declaration... " >&6; }
49427 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49428 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49429 $as_echo_n "(cached) " >&6
49430 else
49433 ac_ext=cpp
49434 ac_cpp='$CXXCPP $CPPFLAGS'
49435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49440 /* end confdefs.h. */
49441 #include <math.h>
49443 main ()
49445 atan2l(0, 0);
49447 return 0;
49449 _ACEOF
49450 if ac_fn_cxx_try_compile "$LINENO"; then :
49451 glibcxx_cv_func_atan2l_use=yes
49452 else
49453 glibcxx_cv_func_atan2l_use=no
49455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49456 ac_ext=c
49457 ac_cpp='$CPP $CPPFLAGS'
49458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49467 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49469 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49470 for ac_func in atan2l
49471 do :
49472 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49473 if test "x$ac_cv_func_atan2l" = x""yes; then :
49474 cat >>confdefs.h <<_ACEOF
49475 #define HAVE_ATAN2L 1
49476 _ACEOF
49479 done
49481 else
49483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49484 $as_echo_n "checking for _atan2l declaration... " >&6; }
49485 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49486 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49487 $as_echo_n "(cached) " >&6
49488 else
49491 ac_ext=cpp
49492 ac_cpp='$CXXCPP $CPPFLAGS'
49493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49498 /* end confdefs.h. */
49499 #include <math.h>
49501 main ()
49503 _atan2l(0, 0);
49505 return 0;
49507 _ACEOF
49508 if ac_fn_cxx_try_compile "$LINENO"; then :
49509 glibcxx_cv_func__atan2l_use=yes
49510 else
49511 glibcxx_cv_func__atan2l_use=no
49513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49514 ac_ext=c
49515 ac_cpp='$CPP $CPPFLAGS'
49516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49525 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49527 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49528 for ac_func in _atan2l
49529 do :
49530 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49531 if test "x$ac_cv_func__atan2l" = x""yes; then :
49532 cat >>confdefs.h <<_ACEOF
49533 #define HAVE__ATAN2L 1
49534 _ACEOF
49537 done
49546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49547 $as_echo_n "checking for expl declaration... " >&6; }
49548 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49549 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49550 $as_echo_n "(cached) " >&6
49551 else
49554 ac_ext=cpp
49555 ac_cpp='$CXXCPP $CPPFLAGS'
49556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49561 /* end confdefs.h. */
49562 #include <math.h>
49563 #ifdef HAVE_IEEEFP_H
49564 #include <ieeefp.h>
49565 #endif
49568 main ()
49570 expl(0);
49572 return 0;
49574 _ACEOF
49575 if ac_fn_cxx_try_compile "$LINENO"; then :
49576 glibcxx_cv_func_expl_use=yes
49577 else
49578 glibcxx_cv_func_expl_use=no
49580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49581 ac_ext=c
49582 ac_cpp='$CPP $CPPFLAGS'
49583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49592 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49594 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49595 for ac_func in expl
49596 do :
49597 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49598 if test "x$ac_cv_func_expl" = x""yes; then :
49599 cat >>confdefs.h <<_ACEOF
49600 #define HAVE_EXPL 1
49601 _ACEOF
49604 done
49606 else
49608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49609 $as_echo_n "checking for _expl declaration... " >&6; }
49610 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49611 if test "${glibcxx_cv_func__expl_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 _expl(0);
49634 return 0;
49636 _ACEOF
49637 if ac_fn_cxx_try_compile "$LINENO"; then :
49638 glibcxx_cv_func__expl_use=yes
49639 else
49640 glibcxx_cv_func__expl_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__expl_use" >&5
49654 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49656 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49657 for ac_func in _expl
49658 do :
49659 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49660 if test "x$ac_cv_func__expl" = x""yes; then :
49661 cat >>confdefs.h <<_ACEOF
49662 #define HAVE__EXPL 1
49663 _ACEOF
49666 done
49675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49676 $as_echo_n "checking for fabsl declaration... " >&6; }
49677 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49678 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49679 $as_echo_n "(cached) " >&6
49680 else
49683 ac_ext=cpp
49684 ac_cpp='$CXXCPP $CPPFLAGS'
49685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49690 /* end confdefs.h. */
49691 #include <math.h>
49692 #ifdef HAVE_IEEEFP_H
49693 #include <ieeefp.h>
49694 #endif
49697 main ()
49699 fabsl(0);
49701 return 0;
49703 _ACEOF
49704 if ac_fn_cxx_try_compile "$LINENO"; then :
49705 glibcxx_cv_func_fabsl_use=yes
49706 else
49707 glibcxx_cv_func_fabsl_use=no
49709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49710 ac_ext=c
49711 ac_cpp='$CPP $CPPFLAGS'
49712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49721 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49723 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49724 for ac_func in fabsl
49725 do :
49726 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49727 if test "x$ac_cv_func_fabsl" = x""yes; then :
49728 cat >>confdefs.h <<_ACEOF
49729 #define HAVE_FABSL 1
49730 _ACEOF
49733 done
49735 else
49737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49738 $as_echo_n "checking for _fabsl declaration... " >&6; }
49739 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49740 if test "${glibcxx_cv_func__fabsl_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 _fabsl(0);
49763 return 0;
49765 _ACEOF
49766 if ac_fn_cxx_try_compile "$LINENO"; then :
49767 glibcxx_cv_func__fabsl_use=yes
49768 else
49769 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
49783 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49785 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49786 for ac_func in _fabsl
49787 do :
49788 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49789 if test "x$ac_cv_func__fabsl" = x""yes; then :
49790 cat >>confdefs.h <<_ACEOF
49791 #define HAVE__FABSL 1
49792 _ACEOF
49795 done
49804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49805 $as_echo_n "checking for fmodl declaration... " >&6; }
49806 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49807 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49808 $as_echo_n "(cached) " >&6
49809 else
49812 ac_ext=cpp
49813 ac_cpp='$CXXCPP $CPPFLAGS'
49814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49819 /* end confdefs.h. */
49820 #include <math.h>
49822 main ()
49824 fmodl(0, 0);
49826 return 0;
49828 _ACEOF
49829 if ac_fn_cxx_try_compile "$LINENO"; then :
49830 glibcxx_cv_func_fmodl_use=yes
49831 else
49832 glibcxx_cv_func_fmodl_use=no
49834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49835 ac_ext=c
49836 ac_cpp='$CPP $CPPFLAGS'
49837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49846 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49848 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49849 for ac_func in fmodl
49850 do :
49851 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49852 if test "x$ac_cv_func_fmodl" = x""yes; then :
49853 cat >>confdefs.h <<_ACEOF
49854 #define HAVE_FMODL 1
49855 _ACEOF
49858 done
49860 else
49862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49863 $as_echo_n "checking for _fmodl declaration... " >&6; }
49864 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49865 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49866 $as_echo_n "(cached) " >&6
49867 else
49870 ac_ext=cpp
49871 ac_cpp='$CXXCPP $CPPFLAGS'
49872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49877 /* end confdefs.h. */
49878 #include <math.h>
49880 main ()
49882 _fmodl(0, 0);
49884 return 0;
49886 _ACEOF
49887 if ac_fn_cxx_try_compile "$LINENO"; then :
49888 glibcxx_cv_func__fmodl_use=yes
49889 else
49890 glibcxx_cv_func__fmodl_use=no
49892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49893 ac_ext=c
49894 ac_cpp='$CPP $CPPFLAGS'
49895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49904 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49906 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49907 for ac_func in _fmodl
49908 do :
49909 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49910 if test "x$ac_cv_func__fmodl" = x""yes; then :
49911 cat >>confdefs.h <<_ACEOF
49912 #define HAVE__FMODL 1
49913 _ACEOF
49916 done
49925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49926 $as_echo_n "checking for frexpl declaration... " >&6; }
49927 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49928 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49929 $as_echo_n "(cached) " >&6
49930 else
49933 ac_ext=cpp
49934 ac_cpp='$CXXCPP $CPPFLAGS'
49935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49940 /* end confdefs.h. */
49941 #include <math.h>
49943 main ()
49945 frexpl(0, 0);
49947 return 0;
49949 _ACEOF
49950 if ac_fn_cxx_try_compile "$LINENO"; then :
49951 glibcxx_cv_func_frexpl_use=yes
49952 else
49953 glibcxx_cv_func_frexpl_use=no
49955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49956 ac_ext=c
49957 ac_cpp='$CPP $CPPFLAGS'
49958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49967 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49969 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49970 for ac_func in frexpl
49971 do :
49972 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49973 if test "x$ac_cv_func_frexpl" = x""yes; then :
49974 cat >>confdefs.h <<_ACEOF
49975 #define HAVE_FREXPL 1
49976 _ACEOF
49979 done
49981 else
49983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49984 $as_echo_n "checking for _frexpl declaration... " >&6; }
49985 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49986 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49987 $as_echo_n "(cached) " >&6
49988 else
49991 ac_ext=cpp
49992 ac_cpp='$CXXCPP $CPPFLAGS'
49993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49998 /* end confdefs.h. */
49999 #include <math.h>
50001 main ()
50003 _frexpl(0, 0);
50005 return 0;
50007 _ACEOF
50008 if ac_fn_cxx_try_compile "$LINENO"; then :
50009 glibcxx_cv_func__frexpl_use=yes
50010 else
50011 glibcxx_cv_func__frexpl_use=no
50013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50014 ac_ext=c
50015 ac_cpp='$CPP $CPPFLAGS'
50016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50025 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50027 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50028 for ac_func in _frexpl
50029 do :
50030 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50031 if test "x$ac_cv_func__frexpl" = x""yes; then :
50032 cat >>confdefs.h <<_ACEOF
50033 #define HAVE__FREXPL 1
50034 _ACEOF
50037 done
50046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50047 $as_echo_n "checking for hypotl declaration... " >&6; }
50048 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50049 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50050 $as_echo_n "(cached) " >&6
50051 else
50054 ac_ext=cpp
50055 ac_cpp='$CXXCPP $CPPFLAGS'
50056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50061 /* end confdefs.h. */
50062 #include <math.h>
50064 main ()
50066 hypotl(0, 0);
50068 return 0;
50070 _ACEOF
50071 if ac_fn_cxx_try_compile "$LINENO"; then :
50072 glibcxx_cv_func_hypotl_use=yes
50073 else
50074 glibcxx_cv_func_hypotl_use=no
50076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50077 ac_ext=c
50078 ac_cpp='$CPP $CPPFLAGS'
50079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50088 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50090 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50091 for ac_func in hypotl
50092 do :
50093 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50094 if test "x$ac_cv_func_hypotl" = x""yes; then :
50095 cat >>confdefs.h <<_ACEOF
50096 #define HAVE_HYPOTL 1
50097 _ACEOF
50100 done
50102 else
50104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50105 $as_echo_n "checking for _hypotl declaration... " >&6; }
50106 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50107 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50108 $as_echo_n "(cached) " >&6
50109 else
50112 ac_ext=cpp
50113 ac_cpp='$CXXCPP $CPPFLAGS'
50114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50119 /* end confdefs.h. */
50120 #include <math.h>
50122 main ()
50124 _hypotl(0, 0);
50126 return 0;
50128 _ACEOF
50129 if ac_fn_cxx_try_compile "$LINENO"; then :
50130 glibcxx_cv_func__hypotl_use=yes
50131 else
50132 glibcxx_cv_func__hypotl_use=no
50134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50135 ac_ext=c
50136 ac_cpp='$CPP $CPPFLAGS'
50137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50146 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50148 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50149 for ac_func in _hypotl
50150 do :
50151 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50152 if test "x$ac_cv_func__hypotl" = x""yes; then :
50153 cat >>confdefs.h <<_ACEOF
50154 #define HAVE__HYPOTL 1
50155 _ACEOF
50158 done
50167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50168 $as_echo_n "checking for ldexpl declaration... " >&6; }
50169 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50170 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50171 $as_echo_n "(cached) " >&6
50172 else
50175 ac_ext=cpp
50176 ac_cpp='$CXXCPP $CPPFLAGS'
50177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50182 /* end confdefs.h. */
50183 #include <math.h>
50185 main ()
50187 ldexpl(0, 0);
50189 return 0;
50191 _ACEOF
50192 if ac_fn_cxx_try_compile "$LINENO"; then :
50193 glibcxx_cv_func_ldexpl_use=yes
50194 else
50195 glibcxx_cv_func_ldexpl_use=no
50197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50198 ac_ext=c
50199 ac_cpp='$CPP $CPPFLAGS'
50200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50209 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50211 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50212 for ac_func in ldexpl
50213 do :
50214 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50215 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50216 cat >>confdefs.h <<_ACEOF
50217 #define HAVE_LDEXPL 1
50218 _ACEOF
50221 done
50223 else
50225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50226 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50227 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50228 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50229 $as_echo_n "(cached) " >&6
50230 else
50233 ac_ext=cpp
50234 ac_cpp='$CXXCPP $CPPFLAGS'
50235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50240 /* end confdefs.h. */
50241 #include <math.h>
50243 main ()
50245 _ldexpl(0, 0);
50247 return 0;
50249 _ACEOF
50250 if ac_fn_cxx_try_compile "$LINENO"; then :
50251 glibcxx_cv_func__ldexpl_use=yes
50252 else
50253 glibcxx_cv_func__ldexpl_use=no
50255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50256 ac_ext=c
50257 ac_cpp='$CPP $CPPFLAGS'
50258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50267 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50269 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50270 for ac_func in _ldexpl
50271 do :
50272 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50273 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50274 cat >>confdefs.h <<_ACEOF
50275 #define HAVE__LDEXPL 1
50276 _ACEOF
50279 done
50288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50289 $as_echo_n "checking for logl declaration... " >&6; }
50290 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50291 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50292 $as_echo_n "(cached) " >&6
50293 else
50296 ac_ext=cpp
50297 ac_cpp='$CXXCPP $CPPFLAGS'
50298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50303 /* end confdefs.h. */
50304 #include <math.h>
50305 #ifdef HAVE_IEEEFP_H
50306 #include <ieeefp.h>
50307 #endif
50310 main ()
50312 logl(0);
50314 return 0;
50316 _ACEOF
50317 if ac_fn_cxx_try_compile "$LINENO"; then :
50318 glibcxx_cv_func_logl_use=yes
50319 else
50320 glibcxx_cv_func_logl_use=no
50322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50323 ac_ext=c
50324 ac_cpp='$CPP $CPPFLAGS'
50325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50334 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50336 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50337 for ac_func in logl
50338 do :
50339 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50340 if test "x$ac_cv_func_logl" = x""yes; then :
50341 cat >>confdefs.h <<_ACEOF
50342 #define HAVE_LOGL 1
50343 _ACEOF
50346 done
50348 else
50350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50351 $as_echo_n "checking for _logl declaration... " >&6; }
50352 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50353 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50354 $as_echo_n "(cached) " >&6
50355 else
50358 ac_ext=cpp
50359 ac_cpp='$CXXCPP $CPPFLAGS'
50360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50365 /* end confdefs.h. */
50366 #include <math.h>
50367 #ifdef HAVE_IEEEFP_H
50368 #include <ieeefp.h>
50369 #endif
50372 main ()
50374 _logl(0);
50376 return 0;
50378 _ACEOF
50379 if ac_fn_cxx_try_compile "$LINENO"; then :
50380 glibcxx_cv_func__logl_use=yes
50381 else
50382 glibcxx_cv_func__logl_use=no
50384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50385 ac_ext=c
50386 ac_cpp='$CPP $CPPFLAGS'
50387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50396 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50398 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50399 for ac_func in _logl
50400 do :
50401 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50402 if test "x$ac_cv_func__logl" = x""yes; then :
50403 cat >>confdefs.h <<_ACEOF
50404 #define HAVE__LOGL 1
50405 _ACEOF
50408 done
50417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50418 $as_echo_n "checking for log10l declaration... " >&6; }
50419 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50420 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50421 $as_echo_n "(cached) " >&6
50422 else
50425 ac_ext=cpp
50426 ac_cpp='$CXXCPP $CPPFLAGS'
50427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50432 /* end confdefs.h. */
50433 #include <math.h>
50434 #ifdef HAVE_IEEEFP_H
50435 #include <ieeefp.h>
50436 #endif
50439 main ()
50441 log10l(0);
50443 return 0;
50445 _ACEOF
50446 if ac_fn_cxx_try_compile "$LINENO"; then :
50447 glibcxx_cv_func_log10l_use=yes
50448 else
50449 glibcxx_cv_func_log10l_use=no
50451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50452 ac_ext=c
50453 ac_cpp='$CPP $CPPFLAGS'
50454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50463 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50465 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50466 for ac_func in log10l
50467 do :
50468 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50469 if test "x$ac_cv_func_log10l" = x""yes; then :
50470 cat >>confdefs.h <<_ACEOF
50471 #define HAVE_LOG10L 1
50472 _ACEOF
50475 done
50477 else
50479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50480 $as_echo_n "checking for _log10l declaration... " >&6; }
50481 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50482 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50483 $as_echo_n "(cached) " >&6
50484 else
50487 ac_ext=cpp
50488 ac_cpp='$CXXCPP $CPPFLAGS'
50489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50494 /* end confdefs.h. */
50495 #include <math.h>
50496 #ifdef HAVE_IEEEFP_H
50497 #include <ieeefp.h>
50498 #endif
50501 main ()
50503 _log10l(0);
50505 return 0;
50507 _ACEOF
50508 if ac_fn_cxx_try_compile "$LINENO"; then :
50509 glibcxx_cv_func__log10l_use=yes
50510 else
50511 glibcxx_cv_func__log10l_use=no
50513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50514 ac_ext=c
50515 ac_cpp='$CPP $CPPFLAGS'
50516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50525 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50527 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50528 for ac_func in _log10l
50529 do :
50530 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50531 if test "x$ac_cv_func__log10l" = x""yes; then :
50532 cat >>confdefs.h <<_ACEOF
50533 #define HAVE__LOG10L 1
50534 _ACEOF
50537 done
50546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50547 $as_echo_n "checking for modfl declaration... " >&6; }
50548 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50549 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50550 $as_echo_n "(cached) " >&6
50551 else
50554 ac_ext=cpp
50555 ac_cpp='$CXXCPP $CPPFLAGS'
50556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50561 /* end confdefs.h. */
50562 #include <math.h>
50564 main ()
50566 modfl(0, 0);
50568 return 0;
50570 _ACEOF
50571 if ac_fn_cxx_try_compile "$LINENO"; then :
50572 glibcxx_cv_func_modfl_use=yes
50573 else
50574 glibcxx_cv_func_modfl_use=no
50576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50577 ac_ext=c
50578 ac_cpp='$CPP $CPPFLAGS'
50579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50588 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50590 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50591 for ac_func in modfl
50592 do :
50593 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50594 if test "x$ac_cv_func_modfl" = x""yes; then :
50595 cat >>confdefs.h <<_ACEOF
50596 #define HAVE_MODFL 1
50597 _ACEOF
50600 done
50602 else
50604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50605 $as_echo_n "checking for _modfl declaration... " >&6; }
50606 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50607 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50608 $as_echo_n "(cached) " >&6
50609 else
50612 ac_ext=cpp
50613 ac_cpp='$CXXCPP $CPPFLAGS'
50614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50619 /* end confdefs.h. */
50620 #include <math.h>
50622 main ()
50624 _modfl(0, 0);
50626 return 0;
50628 _ACEOF
50629 if ac_fn_cxx_try_compile "$LINENO"; then :
50630 glibcxx_cv_func__modfl_use=yes
50631 else
50632 glibcxx_cv_func__modfl_use=no
50634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50635 ac_ext=c
50636 ac_cpp='$CPP $CPPFLAGS'
50637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50646 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50648 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50649 for ac_func in _modfl
50650 do :
50651 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50652 if test "x$ac_cv_func__modfl" = x""yes; then :
50653 cat >>confdefs.h <<_ACEOF
50654 #define HAVE__MODFL 1
50655 _ACEOF
50658 done
50667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50668 $as_echo_n "checking for powl declaration... " >&6; }
50669 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50670 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50671 $as_echo_n "(cached) " >&6
50672 else
50675 ac_ext=cpp
50676 ac_cpp='$CXXCPP $CPPFLAGS'
50677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50682 /* end confdefs.h. */
50683 #include <math.h>
50685 main ()
50687 powl(0, 0);
50689 return 0;
50691 _ACEOF
50692 if ac_fn_cxx_try_compile "$LINENO"; then :
50693 glibcxx_cv_func_powl_use=yes
50694 else
50695 glibcxx_cv_func_powl_use=no
50697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50698 ac_ext=c
50699 ac_cpp='$CPP $CPPFLAGS'
50700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50709 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50711 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50712 for ac_func in powl
50713 do :
50714 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50715 if test "x$ac_cv_func_powl" = x""yes; then :
50716 cat >>confdefs.h <<_ACEOF
50717 #define HAVE_POWL 1
50718 _ACEOF
50721 done
50723 else
50725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50726 $as_echo_n "checking for _powl declaration... " >&6; }
50727 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50728 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50729 $as_echo_n "(cached) " >&6
50730 else
50733 ac_ext=cpp
50734 ac_cpp='$CXXCPP $CPPFLAGS'
50735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50740 /* end confdefs.h. */
50741 #include <math.h>
50743 main ()
50745 _powl(0, 0);
50747 return 0;
50749 _ACEOF
50750 if ac_fn_cxx_try_compile "$LINENO"; then :
50751 glibcxx_cv_func__powl_use=yes
50752 else
50753 glibcxx_cv_func__powl_use=no
50755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50756 ac_ext=c
50757 ac_cpp='$CPP $CPPFLAGS'
50758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50767 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50769 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50770 for ac_func in _powl
50771 do :
50772 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50773 if test "x$ac_cv_func__powl" = x""yes; then :
50774 cat >>confdefs.h <<_ACEOF
50775 #define HAVE__POWL 1
50776 _ACEOF
50779 done
50788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50789 $as_echo_n "checking for sqrtl declaration... " >&6; }
50790 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50791 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50792 $as_echo_n "(cached) " >&6
50793 else
50796 ac_ext=cpp
50797 ac_cpp='$CXXCPP $CPPFLAGS'
50798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50803 /* end confdefs.h. */
50804 #include <math.h>
50805 #ifdef HAVE_IEEEFP_H
50806 #include <ieeefp.h>
50807 #endif
50810 main ()
50812 sqrtl(0);
50814 return 0;
50816 _ACEOF
50817 if ac_fn_cxx_try_compile "$LINENO"; then :
50818 glibcxx_cv_func_sqrtl_use=yes
50819 else
50820 glibcxx_cv_func_sqrtl_use=no
50822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50823 ac_ext=c
50824 ac_cpp='$CPP $CPPFLAGS'
50825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50834 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50836 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50837 for ac_func in sqrtl
50838 do :
50839 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50840 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50841 cat >>confdefs.h <<_ACEOF
50842 #define HAVE_SQRTL 1
50843 _ACEOF
50846 done
50848 else
50850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50851 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50852 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50853 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50854 $as_echo_n "(cached) " >&6
50855 else
50858 ac_ext=cpp
50859 ac_cpp='$CXXCPP $CPPFLAGS'
50860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50865 /* end confdefs.h. */
50866 #include <math.h>
50867 #ifdef HAVE_IEEEFP_H
50868 #include <ieeefp.h>
50869 #endif
50872 main ()
50874 _sqrtl(0);
50876 return 0;
50878 _ACEOF
50879 if ac_fn_cxx_try_compile "$LINENO"; then :
50880 glibcxx_cv_func__sqrtl_use=yes
50881 else
50882 glibcxx_cv_func__sqrtl_use=no
50884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50885 ac_ext=c
50886 ac_cpp='$CPP $CPPFLAGS'
50887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50896 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50898 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50899 for ac_func in _sqrtl
50900 do :
50901 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50902 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50903 cat >>confdefs.h <<_ACEOF
50904 #define HAVE__SQRTL 1
50905 _ACEOF
50908 done
50917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50918 $as_echo_n "checking for sincosl declaration... " >&6; }
50919 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50920 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50921 $as_echo_n "(cached) " >&6
50922 else
50925 ac_ext=cpp
50926 ac_cpp='$CXXCPP $CPPFLAGS'
50927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50932 /* end confdefs.h. */
50933 #include <math.h>
50935 main ()
50937 sincosl(0, 0, 0);
50939 return 0;
50941 _ACEOF
50942 if ac_fn_cxx_try_compile "$LINENO"; then :
50943 glibcxx_cv_func_sincosl_use=yes
50944 else
50945 glibcxx_cv_func_sincosl_use=no
50947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50948 ac_ext=c
50949 ac_cpp='$CPP $CPPFLAGS'
50950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50959 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50961 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50962 for ac_func in sincosl
50963 do :
50964 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50965 if test "x$ac_cv_func_sincosl" = x""yes; then :
50966 cat >>confdefs.h <<_ACEOF
50967 #define HAVE_SINCOSL 1
50968 _ACEOF
50971 done
50973 else
50975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50976 $as_echo_n "checking for _sincosl declaration... " >&6; }
50977 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50978 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50979 $as_echo_n "(cached) " >&6
50980 else
50983 ac_ext=cpp
50984 ac_cpp='$CXXCPP $CPPFLAGS'
50985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50990 /* end confdefs.h. */
50991 #include <math.h>
50993 main ()
50995 _sincosl(0, 0, 0);
50997 return 0;
50999 _ACEOF
51000 if ac_fn_cxx_try_compile "$LINENO"; then :
51001 glibcxx_cv_func__sincosl_use=yes
51002 else
51003 glibcxx_cv_func__sincosl_use=no
51005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51006 ac_ext=c
51007 ac_cpp='$CPP $CPPFLAGS'
51008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51017 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51019 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51020 for ac_func in _sincosl
51021 do :
51022 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51023 if test "x$ac_cv_func__sincosl" = x""yes; then :
51024 cat >>confdefs.h <<_ACEOF
51025 #define HAVE__SINCOSL 1
51026 _ACEOF
51029 done
51038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51039 $as_echo_n "checking for finitel declaration... " >&6; }
51040 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51041 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51042 $as_echo_n "(cached) " >&6
51043 else
51046 ac_ext=cpp
51047 ac_cpp='$CXXCPP $CPPFLAGS'
51048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51053 /* end confdefs.h. */
51054 #include <math.h>
51055 #ifdef HAVE_IEEEFP_H
51056 #include <ieeefp.h>
51057 #endif
51060 main ()
51062 finitel(0);
51064 return 0;
51066 _ACEOF
51067 if ac_fn_cxx_try_compile "$LINENO"; then :
51068 glibcxx_cv_func_finitel_use=yes
51069 else
51070 glibcxx_cv_func_finitel_use=no
51072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51073 ac_ext=c
51074 ac_cpp='$CPP $CPPFLAGS'
51075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51084 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51086 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51087 for ac_func in finitel
51088 do :
51089 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51090 if test "x$ac_cv_func_finitel" = x""yes; then :
51091 cat >>confdefs.h <<_ACEOF
51092 #define HAVE_FINITEL 1
51093 _ACEOF
51096 done
51098 else
51100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51101 $as_echo_n "checking for _finitel declaration... " >&6; }
51102 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51103 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51104 $as_echo_n "(cached) " >&6
51105 else
51108 ac_ext=cpp
51109 ac_cpp='$CXXCPP $CPPFLAGS'
51110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51115 /* end confdefs.h. */
51116 #include <math.h>
51117 #ifdef HAVE_IEEEFP_H
51118 #include <ieeefp.h>
51119 #endif
51122 main ()
51124 _finitel(0);
51126 return 0;
51128 _ACEOF
51129 if ac_fn_cxx_try_compile "$LINENO"; then :
51130 glibcxx_cv_func__finitel_use=yes
51131 else
51132 glibcxx_cv_func__finitel_use=no
51134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51135 ac_ext=c
51136 ac_cpp='$CPP $CPPFLAGS'
51137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51146 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51148 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51149 for ac_func in _finitel
51150 do :
51151 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51152 if test "x$ac_cv_func__finitel" = x""yes; then :
51153 cat >>confdefs.h <<_ACEOF
51154 #define HAVE__FINITEL 1
51155 _ACEOF
51158 done
51166 LIBS="$ac_save_LIBS"
51167 CXXFLAGS="$ac_save_CXXFLAGS"
51170 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51171 ac_save_CXXFLAGS="$CXXFLAGS"
51172 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51176 $as_echo_n "checking for strtold declaration... " >&6; }
51177 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51178 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51179 $as_echo_n "(cached) " >&6
51180 else
51183 ac_ext=cpp
51184 ac_cpp='$CXXCPP $CPPFLAGS'
51185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51190 /* end confdefs.h. */
51191 #include <stdlib.h>
51193 main ()
51195 strtold(0, 0);
51197 return 0;
51199 _ACEOF
51200 if ac_fn_cxx_try_compile "$LINENO"; then :
51201 glibcxx_cv_func_strtold_use=yes
51202 else
51203 glibcxx_cv_func_strtold_use=no
51205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51206 ac_ext=c
51207 ac_cpp='$CPP $CPPFLAGS'
51208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51217 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51218 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51219 for ac_func in strtold
51220 do :
51221 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51222 if test "x$ac_cv_func_strtold" = x""yes; then :
51223 cat >>confdefs.h <<_ACEOF
51224 #define HAVE_STRTOLD 1
51225 _ACEOF
51228 done
51235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51236 $as_echo_n "checking for strtof declaration... " >&6; }
51237 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51238 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51239 $as_echo_n "(cached) " >&6
51240 else
51243 ac_ext=cpp
51244 ac_cpp='$CXXCPP $CPPFLAGS'
51245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51250 /* end confdefs.h. */
51251 #include <stdlib.h>
51253 main ()
51255 strtof(0, 0);
51257 return 0;
51259 _ACEOF
51260 if ac_fn_cxx_try_compile "$LINENO"; then :
51261 glibcxx_cv_func_strtof_use=yes
51262 else
51263 glibcxx_cv_func_strtof_use=no
51265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51266 ac_ext=c
51267 ac_cpp='$CPP $CPPFLAGS'
51268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51277 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51278 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51279 for ac_func in strtof
51280 do :
51281 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51282 if test "x$ac_cv_func_strtof" = x""yes; then :
51283 cat >>confdefs.h <<_ACEOF
51284 #define HAVE_STRTOF 1
51285 _ACEOF
51288 done
51295 CXXFLAGS="$ac_save_CXXFLAGS"
51297 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51301 # Check whether --enable-tls was given.
51302 if test "${enable_tls+set}" = set; then :
51303 enableval=$enable_tls;
51304 case "$enableval" in
51305 yes|no) ;;
51306 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51307 esac
51309 else
51310 enable_tls=yes
51314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51315 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51316 if test "${gcc_cv_have_tls+set}" = set; then :
51317 $as_echo_n "(cached) " >&6
51318 else
51320 if test "$cross_compiling" = yes; then :
51321 if test x$gcc_no_link = xyes; then
51322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51325 /* end confdefs.h. */
51326 __thread int a; int b; int main() { return a = b; }
51327 _ACEOF
51328 if ac_fn_c_try_link "$LINENO"; then :
51329 chktls_save_LDFLAGS="$LDFLAGS"
51330 case $host in
51331 *-*-linux*)
51332 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51334 esac
51335 chktls_save_CFLAGS="$CFLAGS"
51336 CFLAGS="-fPIC $CFLAGS"
51337 if test x$gcc_no_link = xyes; then
51338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51341 /* end confdefs.h. */
51342 int f() { return 0; }
51343 _ACEOF
51344 if ac_fn_c_try_link "$LINENO"; then :
51345 if test x$gcc_no_link = xyes; then
51346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51349 /* end confdefs.h. */
51350 __thread int a; int b; int f() { return a = b; }
51351 _ACEOF
51352 if ac_fn_c_try_link "$LINENO"; then :
51353 gcc_cv_have_tls=yes
51354 else
51355 gcc_cv_have_tls=no
51357 rm -f core conftest.err conftest.$ac_objext \
51358 conftest$ac_exeext conftest.$ac_ext
51359 else
51360 gcc_cv_have_tls=yes
51362 rm -f core conftest.err conftest.$ac_objext \
51363 conftest$ac_exeext conftest.$ac_ext
51364 CFLAGS="$chktls_save_CFLAGS"
51365 LDFLAGS="$chktls_save_LDFLAGS"
51366 else
51367 gcc_cv_have_tls=no
51369 rm -f core conftest.err conftest.$ac_objext \
51370 conftest$ac_exeext conftest.$ac_ext
51373 else
51374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51375 /* end confdefs.h. */
51376 __thread int a; int b; int main() { return a = b; }
51377 _ACEOF
51378 if ac_fn_c_try_run "$LINENO"; then :
51379 chktls_save_LDFLAGS="$LDFLAGS"
51380 LDFLAGS="-static $LDFLAGS"
51381 if test x$gcc_no_link = xyes; then
51382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51385 /* end confdefs.h. */
51386 int main() { return 0; }
51387 _ACEOF
51388 if ac_fn_c_try_link "$LINENO"; then :
51389 if test "$cross_compiling" = yes; then :
51390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51392 as_fn_error "cannot run test program while cross compiling
51393 See \`config.log' for more details." "$LINENO" 5; }
51394 else
51395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51396 /* end confdefs.h. */
51397 __thread int a; int b; int main() { return a = b; }
51398 _ACEOF
51399 if ac_fn_c_try_run "$LINENO"; then :
51400 gcc_cv_have_tls=yes
51401 else
51402 gcc_cv_have_tls=no
51404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51405 conftest.$ac_objext conftest.beam conftest.$ac_ext
51408 else
51409 gcc_cv_have_tls=yes
51411 rm -f core conftest.err conftest.$ac_objext \
51412 conftest$ac_exeext conftest.$ac_ext
51413 LDFLAGS="$chktls_save_LDFLAGS"
51414 if test $gcc_cv_have_tls = yes; then
51415 chktls_save_CFLAGS="$CFLAGS"
51416 thread_CFLAGS=failed
51417 for flag in '' '-pthread' '-lpthread'; do
51418 CFLAGS="$flag $chktls_save_CFLAGS"
51419 if test x$gcc_no_link = xyes; then
51420 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51423 /* end confdefs.h. */
51424 #include <pthread.h>
51425 void *g(void *d) { return NULL; }
51427 main ()
51429 pthread_t t; pthread_create(&t,NULL,g,NULL);
51431 return 0;
51433 _ACEOF
51434 if ac_fn_c_try_link "$LINENO"; then :
51435 thread_CFLAGS="$flag"
51437 rm -f core conftest.err conftest.$ac_objext \
51438 conftest$ac_exeext conftest.$ac_ext
51439 if test "X$thread_CFLAGS" != Xfailed; then
51440 break
51442 done
51443 CFLAGS="$chktls_save_CFLAGS"
51444 if test "X$thread_CFLAGS" != Xfailed; then
51445 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51446 if test "$cross_compiling" = yes; then :
51447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51449 as_fn_error "cannot run test program while cross compiling
51450 See \`config.log' for more details." "$LINENO" 5; }
51451 else
51452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51453 /* end confdefs.h. */
51454 #include <pthread.h>
51455 __thread int a;
51456 static int *volatile a_in_other_thread;
51457 static void *
51458 thread_func (void *arg)
51460 a_in_other_thread = &a;
51461 return (void *)0;
51464 main ()
51466 pthread_t thread;
51467 void *thread_retval;
51468 int *volatile a_in_main_thread;
51469 a_in_main_thread = &a;
51470 if (pthread_create (&thread, (pthread_attr_t *)0,
51471 thread_func, (void *)0))
51472 return 0;
51473 if (pthread_join (thread, &thread_retval))
51474 return 0;
51475 return (a_in_other_thread == a_in_main_thread);
51477 return 0;
51479 _ACEOF
51480 if ac_fn_c_try_run "$LINENO"; then :
51481 gcc_cv_have_tls=yes
51482 else
51483 gcc_cv_have_tls=no
51485 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51486 conftest.$ac_objext conftest.beam conftest.$ac_ext
51489 CFLAGS="$chktls_save_CFLAGS"
51492 else
51493 gcc_cv_have_tls=no
51495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51496 conftest.$ac_objext conftest.beam conftest.$ac_ext
51500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51501 $as_echo "$gcc_cv_have_tls" >&6; }
51502 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51504 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51512 am_save_CPPFLAGS="$CPPFLAGS"
51514 for element in $INCICONV; do
51515 haveit=
51516 for x in $CPPFLAGS; do
51518 acl_save_prefix="$prefix"
51519 prefix="$acl_final_prefix"
51520 acl_save_exec_prefix="$exec_prefix"
51521 exec_prefix="$acl_final_exec_prefix"
51522 eval x=\"$x\"
51523 exec_prefix="$acl_save_exec_prefix"
51524 prefix="$acl_save_prefix"
51526 if test "X$x" = "X$element"; then
51527 haveit=yes
51528 break
51530 done
51531 if test -z "$haveit"; then
51532 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51534 done
51537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51538 $as_echo_n "checking for iconv... " >&6; }
51539 if test "${am_cv_func_iconv+set}" = set; then :
51540 $as_echo_n "(cached) " >&6
51541 else
51543 am_cv_func_iconv="no, consider installing GNU libiconv"
51544 am_cv_lib_iconv=no
51545 if test x$gcc_no_link = xyes; then
51546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51549 /* end confdefs.h. */
51550 #include <stdlib.h>
51551 #include <iconv.h>
51553 main ()
51555 iconv_t cd = iconv_open("","");
51556 iconv(cd,NULL,NULL,NULL,NULL);
51557 iconv_close(cd);
51559 return 0;
51561 _ACEOF
51562 if ac_fn_c_try_link "$LINENO"; then :
51563 am_cv_func_iconv=yes
51565 rm -f core conftest.err conftest.$ac_objext \
51566 conftest$ac_exeext conftest.$ac_ext
51567 if test "$am_cv_func_iconv" != yes; then
51568 am_save_LIBS="$LIBS"
51569 LIBS="$LIBS $LIBICONV"
51570 if test x$gcc_no_link = xyes; then
51571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51574 /* end confdefs.h. */
51575 #include <stdlib.h>
51576 #include <iconv.h>
51578 main ()
51580 iconv_t cd = iconv_open("","");
51581 iconv(cd,NULL,NULL,NULL,NULL);
51582 iconv_close(cd);
51584 return 0;
51586 _ACEOF
51587 if ac_fn_c_try_link "$LINENO"; then :
51588 am_cv_lib_iconv=yes
51589 am_cv_func_iconv=yes
51591 rm -f core conftest.err conftest.$ac_objext \
51592 conftest$ac_exeext conftest.$ac_ext
51593 LIBS="$am_save_LIBS"
51597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51598 $as_echo "$am_cv_func_iconv" >&6; }
51599 if test "$am_cv_func_iconv" = yes; then
51601 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51604 if test "$am_cv_lib_iconv" = yes; then
51605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51606 $as_echo_n "checking how to link with libiconv... " >&6; }
51607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51608 $as_echo "$LIBICONV" >&6; }
51609 else
51610 CPPFLAGS="$am_save_CPPFLAGS"
51611 LIBICONV=
51612 LTLIBICONV=
51617 if test "$am_cv_func_iconv" = yes; then
51618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51619 $as_echo_n "checking for iconv declaration... " >&6; }
51620 if test "${am_cv_proto_iconv+set}" = set; then :
51621 $as_echo_n "(cached) " >&6
51622 else
51624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51625 /* end confdefs.h. */
51627 #include <stdlib.h>
51628 #include <iconv.h>
51629 extern
51630 #ifdef __cplusplus
51632 #endif
51633 #if defined(__STDC__) || defined(__cplusplus)
51634 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51635 #else
51636 size_t iconv();
51637 #endif
51640 main ()
51644 return 0;
51646 _ACEOF
51647 if ac_fn_c_try_compile "$LINENO"; then :
51648 am_cv_proto_iconv_arg1=""
51649 else
51650 am_cv_proto_iconv_arg1="const"
51652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51653 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);"
51656 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51658 }$am_cv_proto_iconv" >&5
51659 $as_echo "${ac_t:-
51660 }$am_cv_proto_iconv" >&6; }
51662 cat >>confdefs.h <<_ACEOF
51663 #define ICONV_CONST $am_cv_proto_iconv_arg1
51664 _ACEOF
51669 *-mingw32*)
51671 # If we're not using GNU ld, then there's no point in even trying these
51672 # tests. Check for that first. We should have already tested for gld
51673 # by now (in libtool), but require it now just to be safe...
51674 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51675 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51679 # The name set by libtool depends on the version of libtool. Shame on us
51680 # for depending on an impl detail, but c'est la vie. Older versions used
51681 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51682 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51683 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51684 # set (hence we're using an older libtool), then set it.
51685 if test x${with_gnu_ld+set} != xset; then
51686 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51687 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51688 with_gnu_ld=no
51689 else
51690 with_gnu_ld=$ac_cv_prog_gnu_ld
51694 # Start by getting the version number. I think the libtool test already
51695 # does some of this, but throws away the result.
51696 glibcxx_ld_is_gold=no
51697 if test x"$with_gnu_ld" = x"yes"; then
51698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51699 $as_echo_n "checking for ld version... " >&6; }
51701 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51702 glibcxx_ld_is_gold=yes
51704 ldver=`$LD --version 2>/dev/null |
51705 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'`
51707 glibcxx_gnu_ld_version=`echo $ldver | \
51708 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51710 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51713 # Set --gc-sections.
51714 glibcxx_have_gc_sections=no
51715 if test "$glibcxx_ld_is_gold" = "yes"; then
51716 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51717 glibcxx_have_gc_sections=yes
51719 else
51720 glibcxx_gcsections_min_ld=21602
51721 if test x"$with_gnu_ld" = x"yes" &&
51722 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51723 glibcxx_have_gc_sections=yes
51726 if test "$glibcxx_have_gc_sections" = "yes"; then
51727 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51728 # NB: This flag only works reliably after 2.16.1. Configure tests
51729 # for this are difficult, so hard wire a value that should work.
51731 ac_test_CFLAGS="${CFLAGS+set}"
51732 ac_save_CFLAGS="$CFLAGS"
51733 CFLAGS='-Wl,--gc-sections'
51735 # Check for -Wl,--gc-sections
51736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51737 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51738 if test x$gcc_no_link = xyes; then
51739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51742 /* end confdefs.h. */
51743 int one(void) { return 1; }
51744 int two(void) { return 2; }
51747 main ()
51749 two();
51751 return 0;
51753 _ACEOF
51754 if ac_fn_c_try_link "$LINENO"; then :
51755 ac_gcsections=yes
51756 else
51757 ac_gcsections=no
51759 rm -f core conftest.err conftest.$ac_objext \
51760 conftest$ac_exeext conftest.$ac_ext
51761 if test "$ac_gcsections" = "yes"; then
51762 rm -f conftest.c
51763 touch conftest.c
51764 if $CC -c conftest.c; then
51765 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51766 grep "Warning: gc-sections option ignored" > /dev/null; then
51767 ac_gcsections=no
51770 rm -f conftest.c conftest.o conftest
51772 if test "$ac_gcsections" = "yes"; then
51773 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51776 $as_echo "$ac_gcsections" >&6; }
51778 if test "$ac_test_CFLAGS" = set; then
51779 CFLAGS="$ac_save_CFLAGS"
51780 else
51781 # this is the suspicious part
51782 CFLAGS=''
51786 # Set -z,relro.
51787 # Note this is only for shared objects.
51788 ac_ld_relro=no
51789 if test x"$with_gnu_ld" = x"yes"; then
51790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51791 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51792 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51793 if test -n "$cxx_z_relo"; then
51794 OPT_LDFLAGS="-Wl,-z,relro"
51795 ac_ld_relro=yes
51797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51798 $as_echo "$ac_ld_relro" >&6; }
51801 # Set linker optimization flags.
51802 if test x"$with_gnu_ld" = x"yes"; then
51803 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51810 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51811 ac_save_CXXFLAGS="$CXXFLAGS"
51812 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51815 $as_echo_n "checking for sin in -lm... " >&6; }
51816 if test "${ac_cv_lib_m_sin+set}" = set; then :
51817 $as_echo_n "(cached) " >&6
51818 else
51819 ac_check_lib_save_LIBS=$LIBS
51820 LIBS="-lm $LIBS"
51821 if test x$gcc_no_link = xyes; then
51822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51825 /* end confdefs.h. */
51827 /* Override any GCC internal prototype to avoid an error.
51828 Use char because int might match the return type of a GCC
51829 builtin and then its argument prototype would still apply. */
51830 #ifdef __cplusplus
51831 extern "C"
51832 #endif
51833 char sin ();
51835 main ()
51837 return sin ();
51839 return 0;
51841 _ACEOF
51842 if ac_fn_c_try_link "$LINENO"; then :
51843 ac_cv_lib_m_sin=yes
51844 else
51845 ac_cv_lib_m_sin=no
51847 rm -f core conftest.err conftest.$ac_objext \
51848 conftest$ac_exeext conftest.$ac_ext
51849 LIBS=$ac_check_lib_save_LIBS
51851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51852 $as_echo "$ac_cv_lib_m_sin" >&6; }
51853 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51854 libm="-lm"
51857 ac_save_LIBS="$LIBS"
51858 LIBS="$LIBS $libm"
51862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51863 $as_echo_n "checking for isinf declaration... " >&6; }
51864 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51865 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51866 $as_echo_n "(cached) " >&6
51867 else
51870 ac_ext=cpp
51871 ac_cpp='$CXXCPP $CPPFLAGS'
51872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51877 /* end confdefs.h. */
51878 #include <math.h>
51879 #ifdef HAVE_IEEEFP_H
51880 #include <ieeefp.h>
51881 #endif
51884 main ()
51886 isinf(0);
51888 return 0;
51890 _ACEOF
51891 if ac_fn_cxx_try_compile "$LINENO"; then :
51892 glibcxx_cv_func_isinf_use=yes
51893 else
51894 glibcxx_cv_func_isinf_use=no
51896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51897 ac_ext=c
51898 ac_cpp='$CPP $CPPFLAGS'
51899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51908 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51910 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51911 for ac_func in isinf
51912 do :
51913 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51914 if test "x$ac_cv_func_isinf" = x""yes; then :
51915 cat >>confdefs.h <<_ACEOF
51916 #define HAVE_ISINF 1
51917 _ACEOF
51920 done
51922 else
51924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51925 $as_echo_n "checking for _isinf declaration... " >&6; }
51926 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51927 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51928 $as_echo_n "(cached) " >&6
51929 else
51932 ac_ext=cpp
51933 ac_cpp='$CXXCPP $CPPFLAGS'
51934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51939 /* end confdefs.h. */
51940 #include <math.h>
51941 #ifdef HAVE_IEEEFP_H
51942 #include <ieeefp.h>
51943 #endif
51946 main ()
51948 _isinf(0);
51950 return 0;
51952 _ACEOF
51953 if ac_fn_cxx_try_compile "$LINENO"; then :
51954 glibcxx_cv_func__isinf_use=yes
51955 else
51956 glibcxx_cv_func__isinf_use=no
51958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51959 ac_ext=c
51960 ac_cpp='$CPP $CPPFLAGS'
51961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51970 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51972 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51973 for ac_func in _isinf
51974 do :
51975 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51976 if test "x$ac_cv_func__isinf" = x""yes; then :
51977 cat >>confdefs.h <<_ACEOF
51978 #define HAVE__ISINF 1
51979 _ACEOF
51982 done
51991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51992 $as_echo_n "checking for isnan declaration... " >&6; }
51993 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51994 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51995 $as_echo_n "(cached) " >&6
51996 else
51999 ac_ext=cpp
52000 ac_cpp='$CXXCPP $CPPFLAGS'
52001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52006 /* end confdefs.h. */
52007 #include <math.h>
52008 #ifdef HAVE_IEEEFP_H
52009 #include <ieeefp.h>
52010 #endif
52013 main ()
52015 isnan(0);
52017 return 0;
52019 _ACEOF
52020 if ac_fn_cxx_try_compile "$LINENO"; then :
52021 glibcxx_cv_func_isnan_use=yes
52022 else
52023 glibcxx_cv_func_isnan_use=no
52025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52026 ac_ext=c
52027 ac_cpp='$CPP $CPPFLAGS'
52028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52037 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52039 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52040 for ac_func in isnan
52041 do :
52042 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52043 if test "x$ac_cv_func_isnan" = x""yes; then :
52044 cat >>confdefs.h <<_ACEOF
52045 #define HAVE_ISNAN 1
52046 _ACEOF
52049 done
52051 else
52053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52054 $as_echo_n "checking for _isnan declaration... " >&6; }
52055 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52056 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52057 $as_echo_n "(cached) " >&6
52058 else
52061 ac_ext=cpp
52062 ac_cpp='$CXXCPP $CPPFLAGS'
52063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52068 /* end confdefs.h. */
52069 #include <math.h>
52070 #ifdef HAVE_IEEEFP_H
52071 #include <ieeefp.h>
52072 #endif
52075 main ()
52077 _isnan(0);
52079 return 0;
52081 _ACEOF
52082 if ac_fn_cxx_try_compile "$LINENO"; then :
52083 glibcxx_cv_func__isnan_use=yes
52084 else
52085 glibcxx_cv_func__isnan_use=no
52087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52088 ac_ext=c
52089 ac_cpp='$CPP $CPPFLAGS'
52090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52099 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52101 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52102 for ac_func in _isnan
52103 do :
52104 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52105 if test "x$ac_cv_func__isnan" = x""yes; then :
52106 cat >>confdefs.h <<_ACEOF
52107 #define HAVE__ISNAN 1
52108 _ACEOF
52111 done
52120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52121 $as_echo_n "checking for finite declaration... " >&6; }
52122 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52123 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52124 $as_echo_n "(cached) " >&6
52125 else
52128 ac_ext=cpp
52129 ac_cpp='$CXXCPP $CPPFLAGS'
52130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52135 /* end confdefs.h. */
52136 #include <math.h>
52137 #ifdef HAVE_IEEEFP_H
52138 #include <ieeefp.h>
52139 #endif
52142 main ()
52144 finite(0);
52146 return 0;
52148 _ACEOF
52149 if ac_fn_cxx_try_compile "$LINENO"; then :
52150 glibcxx_cv_func_finite_use=yes
52151 else
52152 glibcxx_cv_func_finite_use=no
52154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52155 ac_ext=c
52156 ac_cpp='$CPP $CPPFLAGS'
52157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52166 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52168 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52169 for ac_func in finite
52170 do :
52171 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52172 if test "x$ac_cv_func_finite" = x""yes; then :
52173 cat >>confdefs.h <<_ACEOF
52174 #define HAVE_FINITE 1
52175 _ACEOF
52178 done
52180 else
52182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52183 $as_echo_n "checking for _finite declaration... " >&6; }
52184 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52185 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52186 $as_echo_n "(cached) " >&6
52187 else
52190 ac_ext=cpp
52191 ac_cpp='$CXXCPP $CPPFLAGS'
52192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52197 /* end confdefs.h. */
52198 #include <math.h>
52199 #ifdef HAVE_IEEEFP_H
52200 #include <ieeefp.h>
52201 #endif
52204 main ()
52206 _finite(0);
52208 return 0;
52210 _ACEOF
52211 if ac_fn_cxx_try_compile "$LINENO"; then :
52212 glibcxx_cv_func__finite_use=yes
52213 else
52214 glibcxx_cv_func__finite_use=no
52216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52217 ac_ext=c
52218 ac_cpp='$CPP $CPPFLAGS'
52219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52228 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52230 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52231 for ac_func in _finite
52232 do :
52233 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52234 if test "x$ac_cv_func__finite" = x""yes; then :
52235 cat >>confdefs.h <<_ACEOF
52236 #define HAVE__FINITE 1
52237 _ACEOF
52240 done
52249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52250 $as_echo_n "checking for sincos declaration... " >&6; }
52251 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52252 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52253 $as_echo_n "(cached) " >&6
52254 else
52257 ac_ext=cpp
52258 ac_cpp='$CXXCPP $CPPFLAGS'
52259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52264 /* end confdefs.h. */
52265 #include <math.h>
52267 main ()
52269 sincos(0, 0, 0);
52271 return 0;
52273 _ACEOF
52274 if ac_fn_cxx_try_compile "$LINENO"; then :
52275 glibcxx_cv_func_sincos_use=yes
52276 else
52277 glibcxx_cv_func_sincos_use=no
52279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52280 ac_ext=c
52281 ac_cpp='$CPP $CPPFLAGS'
52282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52291 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52293 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52294 for ac_func in sincos
52295 do :
52296 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52297 if test "x$ac_cv_func_sincos" = x""yes; then :
52298 cat >>confdefs.h <<_ACEOF
52299 #define HAVE_SINCOS 1
52300 _ACEOF
52303 done
52305 else
52307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52308 $as_echo_n "checking for _sincos declaration... " >&6; }
52309 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52310 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52311 $as_echo_n "(cached) " >&6
52312 else
52315 ac_ext=cpp
52316 ac_cpp='$CXXCPP $CPPFLAGS'
52317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52322 /* end confdefs.h. */
52323 #include <math.h>
52325 main ()
52327 _sincos(0, 0, 0);
52329 return 0;
52331 _ACEOF
52332 if ac_fn_cxx_try_compile "$LINENO"; then :
52333 glibcxx_cv_func__sincos_use=yes
52334 else
52335 glibcxx_cv_func__sincos_use=no
52337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52338 ac_ext=c
52339 ac_cpp='$CPP $CPPFLAGS'
52340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52349 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52351 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52352 for ac_func in _sincos
52353 do :
52354 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52355 if test "x$ac_cv_func__sincos" = x""yes; then :
52356 cat >>confdefs.h <<_ACEOF
52357 #define HAVE__SINCOS 1
52358 _ACEOF
52361 done
52370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52371 $as_echo_n "checking for fpclass declaration... " >&6; }
52372 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52373 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52374 $as_echo_n "(cached) " >&6
52375 else
52378 ac_ext=cpp
52379 ac_cpp='$CXXCPP $CPPFLAGS'
52380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52385 /* end confdefs.h. */
52386 #include <math.h>
52387 #ifdef HAVE_IEEEFP_H
52388 #include <ieeefp.h>
52389 #endif
52392 main ()
52394 fpclass(0);
52396 return 0;
52398 _ACEOF
52399 if ac_fn_cxx_try_compile "$LINENO"; then :
52400 glibcxx_cv_func_fpclass_use=yes
52401 else
52402 glibcxx_cv_func_fpclass_use=no
52404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52405 ac_ext=c
52406 ac_cpp='$CPP $CPPFLAGS'
52407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52416 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52418 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52419 for ac_func in fpclass
52420 do :
52421 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52422 if test "x$ac_cv_func_fpclass" = x""yes; then :
52423 cat >>confdefs.h <<_ACEOF
52424 #define HAVE_FPCLASS 1
52425 _ACEOF
52428 done
52430 else
52432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52433 $as_echo_n "checking for _fpclass declaration... " >&6; }
52434 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52435 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52436 $as_echo_n "(cached) " >&6
52437 else
52440 ac_ext=cpp
52441 ac_cpp='$CXXCPP $CPPFLAGS'
52442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52447 /* end confdefs.h. */
52448 #include <math.h>
52449 #ifdef HAVE_IEEEFP_H
52450 #include <ieeefp.h>
52451 #endif
52454 main ()
52456 _fpclass(0);
52458 return 0;
52460 _ACEOF
52461 if ac_fn_cxx_try_compile "$LINENO"; then :
52462 glibcxx_cv_func__fpclass_use=yes
52463 else
52464 glibcxx_cv_func__fpclass_use=no
52466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52467 ac_ext=c
52468 ac_cpp='$CPP $CPPFLAGS'
52469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52478 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52480 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52481 for ac_func in _fpclass
52482 do :
52483 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52484 if test "x$ac_cv_func__fpclass" = x""yes; then :
52485 cat >>confdefs.h <<_ACEOF
52486 #define HAVE__FPCLASS 1
52487 _ACEOF
52490 done
52499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52500 $as_echo_n "checking for qfpclass declaration... " >&6; }
52501 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52502 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52503 $as_echo_n "(cached) " >&6
52504 else
52507 ac_ext=cpp
52508 ac_cpp='$CXXCPP $CPPFLAGS'
52509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52514 /* end confdefs.h. */
52515 #include <math.h>
52516 #ifdef HAVE_IEEEFP_H
52517 #include <ieeefp.h>
52518 #endif
52521 main ()
52523 qfpclass(0);
52525 return 0;
52527 _ACEOF
52528 if ac_fn_cxx_try_compile "$LINENO"; then :
52529 glibcxx_cv_func_qfpclass_use=yes
52530 else
52531 glibcxx_cv_func_qfpclass_use=no
52533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52534 ac_ext=c
52535 ac_cpp='$CPP $CPPFLAGS'
52536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52545 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52547 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52548 for ac_func in qfpclass
52549 do :
52550 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52551 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52552 cat >>confdefs.h <<_ACEOF
52553 #define HAVE_QFPCLASS 1
52554 _ACEOF
52557 done
52559 else
52561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52562 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52563 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52564 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52565 $as_echo_n "(cached) " >&6
52566 else
52569 ac_ext=cpp
52570 ac_cpp='$CXXCPP $CPPFLAGS'
52571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52576 /* end confdefs.h. */
52577 #include <math.h>
52578 #ifdef HAVE_IEEEFP_H
52579 #include <ieeefp.h>
52580 #endif
52583 main ()
52585 _qfpclass(0);
52587 return 0;
52589 _ACEOF
52590 if ac_fn_cxx_try_compile "$LINENO"; then :
52591 glibcxx_cv_func__qfpclass_use=yes
52592 else
52593 glibcxx_cv_func__qfpclass_use=no
52595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52596 ac_ext=c
52597 ac_cpp='$CPP $CPPFLAGS'
52598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52607 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52609 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52610 for ac_func in _qfpclass
52611 do :
52612 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52613 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52614 cat >>confdefs.h <<_ACEOF
52615 #define HAVE__QFPCLASS 1
52616 _ACEOF
52619 done
52628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52629 $as_echo_n "checking for hypot declaration... " >&6; }
52630 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52631 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52632 $as_echo_n "(cached) " >&6
52633 else
52636 ac_ext=cpp
52637 ac_cpp='$CXXCPP $CPPFLAGS'
52638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52643 /* end confdefs.h. */
52644 #include <math.h>
52646 main ()
52648 hypot(0, 0);
52650 return 0;
52652 _ACEOF
52653 if ac_fn_cxx_try_compile "$LINENO"; then :
52654 glibcxx_cv_func_hypot_use=yes
52655 else
52656 glibcxx_cv_func_hypot_use=no
52658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52659 ac_ext=c
52660 ac_cpp='$CPP $CPPFLAGS'
52661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52670 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52672 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52673 for ac_func in hypot
52674 do :
52675 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52676 if test "x$ac_cv_func_hypot" = x""yes; then :
52677 cat >>confdefs.h <<_ACEOF
52678 #define HAVE_HYPOT 1
52679 _ACEOF
52682 done
52684 else
52686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52687 $as_echo_n "checking for _hypot declaration... " >&6; }
52688 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52689 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52690 $as_echo_n "(cached) " >&6
52691 else
52694 ac_ext=cpp
52695 ac_cpp='$CXXCPP $CPPFLAGS'
52696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52701 /* end confdefs.h. */
52702 #include <math.h>
52704 main ()
52706 _hypot(0, 0);
52708 return 0;
52710 _ACEOF
52711 if ac_fn_cxx_try_compile "$LINENO"; then :
52712 glibcxx_cv_func__hypot_use=yes
52713 else
52714 glibcxx_cv_func__hypot_use=no
52716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52717 ac_ext=c
52718 ac_cpp='$CPP $CPPFLAGS'
52719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52728 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52730 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52731 for ac_func in _hypot
52732 do :
52733 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52734 if test "x$ac_cv_func__hypot" = x""yes; then :
52735 cat >>confdefs.h <<_ACEOF
52736 #define HAVE__HYPOT 1
52737 _ACEOF
52740 done
52749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52750 $as_echo_n "checking for float trig functions... " >&6; }
52751 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52752 $as_echo_n "(cached) " >&6
52753 else
52756 ac_ext=cpp
52757 ac_cpp='$CXXCPP $CPPFLAGS'
52758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52763 /* end confdefs.h. */
52764 #include <math.h>
52766 main ()
52768 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52770 return 0;
52772 _ACEOF
52773 if ac_fn_cxx_try_compile "$LINENO"; then :
52774 glibcxx_cv_func_float_trig_use=yes
52775 else
52776 glibcxx_cv_func_float_trig_use=no
52778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52779 ac_ext=c
52780 ac_cpp='$CPP $CPPFLAGS'
52781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52788 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52789 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52790 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52791 do :
52792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52794 eval as_val=\$$as_ac_var
52795 if test "x$as_val" = x""yes; then :
52796 cat >>confdefs.h <<_ACEOF
52797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52798 _ACEOF
52801 done
52803 else
52804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52805 $as_echo_n "checking for _float trig functions... " >&6; }
52806 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52807 $as_echo_n "(cached) " >&6
52808 else
52811 ac_ext=cpp
52812 ac_cpp='$CXXCPP $CPPFLAGS'
52813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52818 /* end confdefs.h. */
52819 #include <math.h>
52821 main ()
52823 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52825 return 0;
52827 _ACEOF
52828 if ac_fn_cxx_try_compile "$LINENO"; then :
52829 glibcxx_cv_func__float_trig_use=yes
52830 else
52831 glibcxx_cv_func__float_trig_use=no
52833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52834 ac_ext=c
52835 ac_cpp='$CPP $CPPFLAGS'
52836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52843 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52844 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52845 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52846 do :
52847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52849 eval as_val=\$$as_ac_var
52850 if test "x$as_val" = x""yes; then :
52851 cat >>confdefs.h <<_ACEOF
52852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52853 _ACEOF
52856 done
52865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52866 $as_echo_n "checking for float round functions... " >&6; }
52867 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52868 $as_echo_n "(cached) " >&6
52869 else
52872 ac_ext=cpp
52873 ac_cpp='$CXXCPP $CPPFLAGS'
52874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52879 /* end confdefs.h. */
52880 #include <math.h>
52882 main ()
52884 ceilf (0); floorf (0);
52886 return 0;
52888 _ACEOF
52889 if ac_fn_cxx_try_compile "$LINENO"; then :
52890 glibcxx_cv_func_float_round_use=yes
52891 else
52892 glibcxx_cv_func_float_round_use=no
52894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52895 ac_ext=c
52896 ac_cpp='$CPP $CPPFLAGS'
52897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52904 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52905 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52906 for ac_func in ceilf floorf
52907 do :
52908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52910 eval as_val=\$$as_ac_var
52911 if test "x$as_val" = x""yes; then :
52912 cat >>confdefs.h <<_ACEOF
52913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52914 _ACEOF
52917 done
52919 else
52920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52921 $as_echo_n "checking for _float round functions... " >&6; }
52922 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52923 $as_echo_n "(cached) " >&6
52924 else
52927 ac_ext=cpp
52928 ac_cpp='$CXXCPP $CPPFLAGS'
52929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52934 /* end confdefs.h. */
52935 #include <math.h>
52937 main ()
52939 _ceilf (0); _floorf (0);
52941 return 0;
52943 _ACEOF
52944 if ac_fn_cxx_try_compile "$LINENO"; then :
52945 glibcxx_cv_func__float_round_use=yes
52946 else
52947 glibcxx_cv_func__float_round_use=no
52949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52950 ac_ext=c
52951 ac_cpp='$CPP $CPPFLAGS'
52952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52959 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52960 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52961 for ac_func in _ceilf _floorf
52962 do :
52963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52965 eval as_val=\$$as_ac_var
52966 if test "x$as_val" = x""yes; then :
52967 cat >>confdefs.h <<_ACEOF
52968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52969 _ACEOF
52972 done
52982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52983 $as_echo_n "checking for expf declaration... " >&6; }
52984 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52985 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52986 $as_echo_n "(cached) " >&6
52987 else
52990 ac_ext=cpp
52991 ac_cpp='$CXXCPP $CPPFLAGS'
52992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52997 /* end confdefs.h. */
52998 #include <math.h>
52999 #ifdef HAVE_IEEEFP_H
53000 #include <ieeefp.h>
53001 #endif
53004 main ()
53006 expf(0);
53008 return 0;
53010 _ACEOF
53011 if ac_fn_cxx_try_compile "$LINENO"; then :
53012 glibcxx_cv_func_expf_use=yes
53013 else
53014 glibcxx_cv_func_expf_use=no
53016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53017 ac_ext=c
53018 ac_cpp='$CPP $CPPFLAGS'
53019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53028 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53030 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53031 for ac_func in expf
53032 do :
53033 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53034 if test "x$ac_cv_func_expf" = x""yes; then :
53035 cat >>confdefs.h <<_ACEOF
53036 #define HAVE_EXPF 1
53037 _ACEOF
53040 done
53042 else
53044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53045 $as_echo_n "checking for _expf declaration... " >&6; }
53046 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53047 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53048 $as_echo_n "(cached) " >&6
53049 else
53052 ac_ext=cpp
53053 ac_cpp='$CXXCPP $CPPFLAGS'
53054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53059 /* end confdefs.h. */
53060 #include <math.h>
53061 #ifdef HAVE_IEEEFP_H
53062 #include <ieeefp.h>
53063 #endif
53066 main ()
53068 _expf(0);
53070 return 0;
53072 _ACEOF
53073 if ac_fn_cxx_try_compile "$LINENO"; then :
53074 glibcxx_cv_func__expf_use=yes
53075 else
53076 glibcxx_cv_func__expf_use=no
53078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53079 ac_ext=c
53080 ac_cpp='$CPP $CPPFLAGS'
53081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53090 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53092 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53093 for ac_func in _expf
53094 do :
53095 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53096 if test "x$ac_cv_func__expf" = x""yes; then :
53097 cat >>confdefs.h <<_ACEOF
53098 #define HAVE__EXPF 1
53099 _ACEOF
53102 done
53111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53112 $as_echo_n "checking for isnanf declaration... " >&6; }
53113 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53114 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53115 $as_echo_n "(cached) " >&6
53116 else
53119 ac_ext=cpp
53120 ac_cpp='$CXXCPP $CPPFLAGS'
53121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53126 /* end confdefs.h. */
53127 #include <math.h>
53128 #ifdef HAVE_IEEEFP_H
53129 #include <ieeefp.h>
53130 #endif
53133 main ()
53135 isnanf(0);
53137 return 0;
53139 _ACEOF
53140 if ac_fn_cxx_try_compile "$LINENO"; then :
53141 glibcxx_cv_func_isnanf_use=yes
53142 else
53143 glibcxx_cv_func_isnanf_use=no
53145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53146 ac_ext=c
53147 ac_cpp='$CPP $CPPFLAGS'
53148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53157 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53159 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53160 for ac_func in isnanf
53161 do :
53162 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53163 if test "x$ac_cv_func_isnanf" = x""yes; then :
53164 cat >>confdefs.h <<_ACEOF
53165 #define HAVE_ISNANF 1
53166 _ACEOF
53169 done
53171 else
53173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53174 $as_echo_n "checking for _isnanf declaration... " >&6; }
53175 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53176 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53177 $as_echo_n "(cached) " >&6
53178 else
53181 ac_ext=cpp
53182 ac_cpp='$CXXCPP $CPPFLAGS'
53183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53188 /* end confdefs.h. */
53189 #include <math.h>
53190 #ifdef HAVE_IEEEFP_H
53191 #include <ieeefp.h>
53192 #endif
53195 main ()
53197 _isnanf(0);
53199 return 0;
53201 _ACEOF
53202 if ac_fn_cxx_try_compile "$LINENO"; then :
53203 glibcxx_cv_func__isnanf_use=yes
53204 else
53205 glibcxx_cv_func__isnanf_use=no
53207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53208 ac_ext=c
53209 ac_cpp='$CPP $CPPFLAGS'
53210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53219 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53221 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53222 for ac_func in _isnanf
53223 do :
53224 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53225 if test "x$ac_cv_func__isnanf" = x""yes; then :
53226 cat >>confdefs.h <<_ACEOF
53227 #define HAVE__ISNANF 1
53228 _ACEOF
53231 done
53240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53241 $as_echo_n "checking for isinff declaration... " >&6; }
53242 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53243 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53244 $as_echo_n "(cached) " >&6
53245 else
53248 ac_ext=cpp
53249 ac_cpp='$CXXCPP $CPPFLAGS'
53250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53255 /* end confdefs.h. */
53256 #include <math.h>
53257 #ifdef HAVE_IEEEFP_H
53258 #include <ieeefp.h>
53259 #endif
53262 main ()
53264 isinff(0);
53266 return 0;
53268 _ACEOF
53269 if ac_fn_cxx_try_compile "$LINENO"; then :
53270 glibcxx_cv_func_isinff_use=yes
53271 else
53272 glibcxx_cv_func_isinff_use=no
53274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53275 ac_ext=c
53276 ac_cpp='$CPP $CPPFLAGS'
53277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53286 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53288 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53289 for ac_func in isinff
53290 do :
53291 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53292 if test "x$ac_cv_func_isinff" = x""yes; then :
53293 cat >>confdefs.h <<_ACEOF
53294 #define HAVE_ISINFF 1
53295 _ACEOF
53298 done
53300 else
53302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53303 $as_echo_n "checking for _isinff declaration... " >&6; }
53304 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53305 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53306 $as_echo_n "(cached) " >&6
53307 else
53310 ac_ext=cpp
53311 ac_cpp='$CXXCPP $CPPFLAGS'
53312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53317 /* end confdefs.h. */
53318 #include <math.h>
53319 #ifdef HAVE_IEEEFP_H
53320 #include <ieeefp.h>
53321 #endif
53324 main ()
53326 _isinff(0);
53328 return 0;
53330 _ACEOF
53331 if ac_fn_cxx_try_compile "$LINENO"; then :
53332 glibcxx_cv_func__isinff_use=yes
53333 else
53334 glibcxx_cv_func__isinff_use=no
53336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53337 ac_ext=c
53338 ac_cpp='$CPP $CPPFLAGS'
53339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53348 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53350 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53351 for ac_func in _isinff
53352 do :
53353 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53354 if test "x$ac_cv_func__isinff" = x""yes; then :
53355 cat >>confdefs.h <<_ACEOF
53356 #define HAVE__ISINFF 1
53357 _ACEOF
53360 done
53369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53370 $as_echo_n "checking for atan2f declaration... " >&6; }
53371 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53372 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53373 $as_echo_n "(cached) " >&6
53374 else
53377 ac_ext=cpp
53378 ac_cpp='$CXXCPP $CPPFLAGS'
53379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53384 /* end confdefs.h. */
53385 #include <math.h>
53387 main ()
53389 atan2f(0, 0);
53391 return 0;
53393 _ACEOF
53394 if ac_fn_cxx_try_compile "$LINENO"; then :
53395 glibcxx_cv_func_atan2f_use=yes
53396 else
53397 glibcxx_cv_func_atan2f_use=no
53399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53400 ac_ext=c
53401 ac_cpp='$CPP $CPPFLAGS'
53402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53411 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53413 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53414 for ac_func in atan2f
53415 do :
53416 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53417 if test "x$ac_cv_func_atan2f" = x""yes; then :
53418 cat >>confdefs.h <<_ACEOF
53419 #define HAVE_ATAN2F 1
53420 _ACEOF
53423 done
53425 else
53427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53428 $as_echo_n "checking for _atan2f declaration... " >&6; }
53429 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53430 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53431 $as_echo_n "(cached) " >&6
53432 else
53435 ac_ext=cpp
53436 ac_cpp='$CXXCPP $CPPFLAGS'
53437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53442 /* end confdefs.h. */
53443 #include <math.h>
53445 main ()
53447 _atan2f(0, 0);
53449 return 0;
53451 _ACEOF
53452 if ac_fn_cxx_try_compile "$LINENO"; then :
53453 glibcxx_cv_func__atan2f_use=yes
53454 else
53455 glibcxx_cv_func__atan2f_use=no
53457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53458 ac_ext=c
53459 ac_cpp='$CPP $CPPFLAGS'
53460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53469 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53471 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53472 for ac_func in _atan2f
53473 do :
53474 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53475 if test "x$ac_cv_func__atan2f" = x""yes; then :
53476 cat >>confdefs.h <<_ACEOF
53477 #define HAVE__ATAN2F 1
53478 _ACEOF
53481 done
53490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53491 $as_echo_n "checking for fabsf declaration... " >&6; }
53492 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53493 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53494 $as_echo_n "(cached) " >&6
53495 else
53498 ac_ext=cpp
53499 ac_cpp='$CXXCPP $CPPFLAGS'
53500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53505 /* end confdefs.h. */
53506 #include <math.h>
53507 #ifdef HAVE_IEEEFP_H
53508 #include <ieeefp.h>
53509 #endif
53512 main ()
53514 fabsf(0);
53516 return 0;
53518 _ACEOF
53519 if ac_fn_cxx_try_compile "$LINENO"; then :
53520 glibcxx_cv_func_fabsf_use=yes
53521 else
53522 glibcxx_cv_func_fabsf_use=no
53524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53525 ac_ext=c
53526 ac_cpp='$CPP $CPPFLAGS'
53527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53536 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53538 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53539 for ac_func in fabsf
53540 do :
53541 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53542 if test "x$ac_cv_func_fabsf" = x""yes; then :
53543 cat >>confdefs.h <<_ACEOF
53544 #define HAVE_FABSF 1
53545 _ACEOF
53548 done
53550 else
53552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53553 $as_echo_n "checking for _fabsf declaration... " >&6; }
53554 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53555 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53556 $as_echo_n "(cached) " >&6
53557 else
53560 ac_ext=cpp
53561 ac_cpp='$CXXCPP $CPPFLAGS'
53562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53567 /* end confdefs.h. */
53568 #include <math.h>
53569 #ifdef HAVE_IEEEFP_H
53570 #include <ieeefp.h>
53571 #endif
53574 main ()
53576 _fabsf(0);
53578 return 0;
53580 _ACEOF
53581 if ac_fn_cxx_try_compile "$LINENO"; then :
53582 glibcxx_cv_func__fabsf_use=yes
53583 else
53584 glibcxx_cv_func__fabsf_use=no
53586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53587 ac_ext=c
53588 ac_cpp='$CPP $CPPFLAGS'
53589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53598 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53600 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53601 for ac_func in _fabsf
53602 do :
53603 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53604 if test "x$ac_cv_func__fabsf" = x""yes; then :
53605 cat >>confdefs.h <<_ACEOF
53606 #define HAVE__FABSF 1
53607 _ACEOF
53610 done
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53620 $as_echo_n "checking for fmodf declaration... " >&6; }
53621 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53622 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53623 $as_echo_n "(cached) " >&6
53624 else
53627 ac_ext=cpp
53628 ac_cpp='$CXXCPP $CPPFLAGS'
53629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53634 /* end confdefs.h. */
53635 #include <math.h>
53637 main ()
53639 fmodf(0, 0);
53641 return 0;
53643 _ACEOF
53644 if ac_fn_cxx_try_compile "$LINENO"; then :
53645 glibcxx_cv_func_fmodf_use=yes
53646 else
53647 glibcxx_cv_func_fmodf_use=no
53649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53650 ac_ext=c
53651 ac_cpp='$CPP $CPPFLAGS'
53652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53661 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53663 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53664 for ac_func in fmodf
53665 do :
53666 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53667 if test "x$ac_cv_func_fmodf" = x""yes; then :
53668 cat >>confdefs.h <<_ACEOF
53669 #define HAVE_FMODF 1
53670 _ACEOF
53673 done
53675 else
53677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53678 $as_echo_n "checking for _fmodf declaration... " >&6; }
53679 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53680 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53681 $as_echo_n "(cached) " >&6
53682 else
53685 ac_ext=cpp
53686 ac_cpp='$CXXCPP $CPPFLAGS'
53687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53692 /* end confdefs.h. */
53693 #include <math.h>
53695 main ()
53697 _fmodf(0, 0);
53699 return 0;
53701 _ACEOF
53702 if ac_fn_cxx_try_compile "$LINENO"; then :
53703 glibcxx_cv_func__fmodf_use=yes
53704 else
53705 glibcxx_cv_func__fmodf_use=no
53707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53708 ac_ext=c
53709 ac_cpp='$CPP $CPPFLAGS'
53710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53719 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53721 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53722 for ac_func in _fmodf
53723 do :
53724 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53725 if test "x$ac_cv_func__fmodf" = x""yes; then :
53726 cat >>confdefs.h <<_ACEOF
53727 #define HAVE__FMODF 1
53728 _ACEOF
53731 done
53740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53741 $as_echo_n "checking for frexpf declaration... " >&6; }
53742 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53743 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53744 $as_echo_n "(cached) " >&6
53745 else
53748 ac_ext=cpp
53749 ac_cpp='$CXXCPP $CPPFLAGS'
53750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53755 /* end confdefs.h. */
53756 #include <math.h>
53758 main ()
53760 frexpf(0, 0);
53762 return 0;
53764 _ACEOF
53765 if ac_fn_cxx_try_compile "$LINENO"; then :
53766 glibcxx_cv_func_frexpf_use=yes
53767 else
53768 glibcxx_cv_func_frexpf_use=no
53770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53771 ac_ext=c
53772 ac_cpp='$CPP $CPPFLAGS'
53773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53782 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53784 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53785 for ac_func in frexpf
53786 do :
53787 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53788 if test "x$ac_cv_func_frexpf" = x""yes; then :
53789 cat >>confdefs.h <<_ACEOF
53790 #define HAVE_FREXPF 1
53791 _ACEOF
53794 done
53796 else
53798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53799 $as_echo_n "checking for _frexpf declaration... " >&6; }
53800 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53801 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53802 $as_echo_n "(cached) " >&6
53803 else
53806 ac_ext=cpp
53807 ac_cpp='$CXXCPP $CPPFLAGS'
53808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53813 /* end confdefs.h. */
53814 #include <math.h>
53816 main ()
53818 _frexpf(0, 0);
53820 return 0;
53822 _ACEOF
53823 if ac_fn_cxx_try_compile "$LINENO"; then :
53824 glibcxx_cv_func__frexpf_use=yes
53825 else
53826 glibcxx_cv_func__frexpf_use=no
53828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53829 ac_ext=c
53830 ac_cpp='$CPP $CPPFLAGS'
53831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53840 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53842 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53843 for ac_func in _frexpf
53844 do :
53845 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53846 if test "x$ac_cv_func__frexpf" = x""yes; then :
53847 cat >>confdefs.h <<_ACEOF
53848 #define HAVE__FREXPF 1
53849 _ACEOF
53852 done
53861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53862 $as_echo_n "checking for hypotf declaration... " >&6; }
53863 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53864 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53865 $as_echo_n "(cached) " >&6
53866 else
53869 ac_ext=cpp
53870 ac_cpp='$CXXCPP $CPPFLAGS'
53871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53876 /* end confdefs.h. */
53877 #include <math.h>
53879 main ()
53881 hypotf(0, 0);
53883 return 0;
53885 _ACEOF
53886 if ac_fn_cxx_try_compile "$LINENO"; then :
53887 glibcxx_cv_func_hypotf_use=yes
53888 else
53889 glibcxx_cv_func_hypotf_use=no
53891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53892 ac_ext=c
53893 ac_cpp='$CPP $CPPFLAGS'
53894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53903 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53905 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53906 for ac_func in hypotf
53907 do :
53908 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53909 if test "x$ac_cv_func_hypotf" = x""yes; then :
53910 cat >>confdefs.h <<_ACEOF
53911 #define HAVE_HYPOTF 1
53912 _ACEOF
53915 done
53917 else
53919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53920 $as_echo_n "checking for _hypotf declaration... " >&6; }
53921 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53922 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53923 $as_echo_n "(cached) " >&6
53924 else
53927 ac_ext=cpp
53928 ac_cpp='$CXXCPP $CPPFLAGS'
53929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53934 /* end confdefs.h. */
53935 #include <math.h>
53937 main ()
53939 _hypotf(0, 0);
53941 return 0;
53943 _ACEOF
53944 if ac_fn_cxx_try_compile "$LINENO"; then :
53945 glibcxx_cv_func__hypotf_use=yes
53946 else
53947 glibcxx_cv_func__hypotf_use=no
53949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53950 ac_ext=c
53951 ac_cpp='$CPP $CPPFLAGS'
53952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53961 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53963 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53964 for ac_func in _hypotf
53965 do :
53966 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53967 if test "x$ac_cv_func__hypotf" = x""yes; then :
53968 cat >>confdefs.h <<_ACEOF
53969 #define HAVE__HYPOTF 1
53970 _ACEOF
53973 done
53982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53983 $as_echo_n "checking for ldexpf declaration... " >&6; }
53984 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53985 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53986 $as_echo_n "(cached) " >&6
53987 else
53990 ac_ext=cpp
53991 ac_cpp='$CXXCPP $CPPFLAGS'
53992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53997 /* end confdefs.h. */
53998 #include <math.h>
54000 main ()
54002 ldexpf(0, 0);
54004 return 0;
54006 _ACEOF
54007 if ac_fn_cxx_try_compile "$LINENO"; then :
54008 glibcxx_cv_func_ldexpf_use=yes
54009 else
54010 glibcxx_cv_func_ldexpf_use=no
54012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54013 ac_ext=c
54014 ac_cpp='$CPP $CPPFLAGS'
54015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54024 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54026 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54027 for ac_func in ldexpf
54028 do :
54029 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54030 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54031 cat >>confdefs.h <<_ACEOF
54032 #define HAVE_LDEXPF 1
54033 _ACEOF
54036 done
54038 else
54040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54041 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54042 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54043 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54044 $as_echo_n "(cached) " >&6
54045 else
54048 ac_ext=cpp
54049 ac_cpp='$CXXCPP $CPPFLAGS'
54050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54055 /* end confdefs.h. */
54056 #include <math.h>
54058 main ()
54060 _ldexpf(0, 0);
54062 return 0;
54064 _ACEOF
54065 if ac_fn_cxx_try_compile "$LINENO"; then :
54066 glibcxx_cv_func__ldexpf_use=yes
54067 else
54068 glibcxx_cv_func__ldexpf_use=no
54070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54071 ac_ext=c
54072 ac_cpp='$CPP $CPPFLAGS'
54073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54082 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54084 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54085 for ac_func in _ldexpf
54086 do :
54087 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54088 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54089 cat >>confdefs.h <<_ACEOF
54090 #define HAVE__LDEXPF 1
54091 _ACEOF
54094 done
54103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54104 $as_echo_n "checking for logf declaration... " >&6; }
54105 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54106 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54107 $as_echo_n "(cached) " >&6
54108 else
54111 ac_ext=cpp
54112 ac_cpp='$CXXCPP $CPPFLAGS'
54113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54118 /* end confdefs.h. */
54119 #include <math.h>
54120 #ifdef HAVE_IEEEFP_H
54121 #include <ieeefp.h>
54122 #endif
54125 main ()
54127 logf(0);
54129 return 0;
54131 _ACEOF
54132 if ac_fn_cxx_try_compile "$LINENO"; then :
54133 glibcxx_cv_func_logf_use=yes
54134 else
54135 glibcxx_cv_func_logf_use=no
54137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54138 ac_ext=c
54139 ac_cpp='$CPP $CPPFLAGS'
54140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54149 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54151 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54152 for ac_func in logf
54153 do :
54154 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54155 if test "x$ac_cv_func_logf" = x""yes; then :
54156 cat >>confdefs.h <<_ACEOF
54157 #define HAVE_LOGF 1
54158 _ACEOF
54161 done
54163 else
54165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54166 $as_echo_n "checking for _logf declaration... " >&6; }
54167 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54168 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54169 $as_echo_n "(cached) " >&6
54170 else
54173 ac_ext=cpp
54174 ac_cpp='$CXXCPP $CPPFLAGS'
54175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54180 /* end confdefs.h. */
54181 #include <math.h>
54182 #ifdef HAVE_IEEEFP_H
54183 #include <ieeefp.h>
54184 #endif
54187 main ()
54189 _logf(0);
54191 return 0;
54193 _ACEOF
54194 if ac_fn_cxx_try_compile "$LINENO"; then :
54195 glibcxx_cv_func__logf_use=yes
54196 else
54197 glibcxx_cv_func__logf_use=no
54199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54200 ac_ext=c
54201 ac_cpp='$CPP $CPPFLAGS'
54202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54211 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54213 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54214 for ac_func in _logf
54215 do :
54216 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54217 if test "x$ac_cv_func__logf" = x""yes; then :
54218 cat >>confdefs.h <<_ACEOF
54219 #define HAVE__LOGF 1
54220 _ACEOF
54223 done
54232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54233 $as_echo_n "checking for log10f declaration... " >&6; }
54234 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54235 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54236 $as_echo_n "(cached) " >&6
54237 else
54240 ac_ext=cpp
54241 ac_cpp='$CXXCPP $CPPFLAGS'
54242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54247 /* end confdefs.h. */
54248 #include <math.h>
54249 #ifdef HAVE_IEEEFP_H
54250 #include <ieeefp.h>
54251 #endif
54254 main ()
54256 log10f(0);
54258 return 0;
54260 _ACEOF
54261 if ac_fn_cxx_try_compile "$LINENO"; then :
54262 glibcxx_cv_func_log10f_use=yes
54263 else
54264 glibcxx_cv_func_log10f_use=no
54266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54267 ac_ext=c
54268 ac_cpp='$CPP $CPPFLAGS'
54269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54278 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54280 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54281 for ac_func in log10f
54282 do :
54283 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54284 if test "x$ac_cv_func_log10f" = x""yes; then :
54285 cat >>confdefs.h <<_ACEOF
54286 #define HAVE_LOG10F 1
54287 _ACEOF
54290 done
54292 else
54294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54295 $as_echo_n "checking for _log10f declaration... " >&6; }
54296 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54297 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54298 $as_echo_n "(cached) " >&6
54299 else
54302 ac_ext=cpp
54303 ac_cpp='$CXXCPP $CPPFLAGS'
54304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54309 /* end confdefs.h. */
54310 #include <math.h>
54311 #ifdef HAVE_IEEEFP_H
54312 #include <ieeefp.h>
54313 #endif
54316 main ()
54318 _log10f(0);
54320 return 0;
54322 _ACEOF
54323 if ac_fn_cxx_try_compile "$LINENO"; then :
54324 glibcxx_cv_func__log10f_use=yes
54325 else
54326 glibcxx_cv_func__log10f_use=no
54328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54329 ac_ext=c
54330 ac_cpp='$CPP $CPPFLAGS'
54331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54340 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54342 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54343 for ac_func in _log10f
54344 do :
54345 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54346 if test "x$ac_cv_func__log10f" = x""yes; then :
54347 cat >>confdefs.h <<_ACEOF
54348 #define HAVE__LOG10F 1
54349 _ACEOF
54352 done
54361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54362 $as_echo_n "checking for modff declaration... " >&6; }
54363 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54364 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54365 $as_echo_n "(cached) " >&6
54366 else
54369 ac_ext=cpp
54370 ac_cpp='$CXXCPP $CPPFLAGS'
54371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54376 /* end confdefs.h. */
54377 #include <math.h>
54379 main ()
54381 modff(0, 0);
54383 return 0;
54385 _ACEOF
54386 if ac_fn_cxx_try_compile "$LINENO"; then :
54387 glibcxx_cv_func_modff_use=yes
54388 else
54389 glibcxx_cv_func_modff_use=no
54391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54392 ac_ext=c
54393 ac_cpp='$CPP $CPPFLAGS'
54394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54403 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54405 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54406 for ac_func in modff
54407 do :
54408 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54409 if test "x$ac_cv_func_modff" = x""yes; then :
54410 cat >>confdefs.h <<_ACEOF
54411 #define HAVE_MODFF 1
54412 _ACEOF
54415 done
54417 else
54419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54420 $as_echo_n "checking for _modff declaration... " >&6; }
54421 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54422 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54423 $as_echo_n "(cached) " >&6
54424 else
54427 ac_ext=cpp
54428 ac_cpp='$CXXCPP $CPPFLAGS'
54429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54434 /* end confdefs.h. */
54435 #include <math.h>
54437 main ()
54439 _modff(0, 0);
54441 return 0;
54443 _ACEOF
54444 if ac_fn_cxx_try_compile "$LINENO"; then :
54445 glibcxx_cv_func__modff_use=yes
54446 else
54447 glibcxx_cv_func__modff_use=no
54449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54450 ac_ext=c
54451 ac_cpp='$CPP $CPPFLAGS'
54452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54461 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54463 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54464 for ac_func in _modff
54465 do :
54466 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54467 if test "x$ac_cv_func__modff" = x""yes; then :
54468 cat >>confdefs.h <<_ACEOF
54469 #define HAVE__MODFF 1
54470 _ACEOF
54473 done
54482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54483 $as_echo_n "checking for modf declaration... " >&6; }
54484 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54485 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54486 $as_echo_n "(cached) " >&6
54487 else
54490 ac_ext=cpp
54491 ac_cpp='$CXXCPP $CPPFLAGS'
54492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54497 /* end confdefs.h. */
54498 #include <math.h>
54500 main ()
54502 modf(0, 0);
54504 return 0;
54506 _ACEOF
54507 if ac_fn_cxx_try_compile "$LINENO"; then :
54508 glibcxx_cv_func_modf_use=yes
54509 else
54510 glibcxx_cv_func_modf_use=no
54512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54513 ac_ext=c
54514 ac_cpp='$CPP $CPPFLAGS'
54515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54524 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54526 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54527 for ac_func in modf
54528 do :
54529 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54530 if test "x$ac_cv_func_modf" = x""yes; then :
54531 cat >>confdefs.h <<_ACEOF
54532 #define HAVE_MODF 1
54533 _ACEOF
54536 done
54538 else
54540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54541 $as_echo_n "checking for _modf declaration... " >&6; }
54542 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54543 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54544 $as_echo_n "(cached) " >&6
54545 else
54548 ac_ext=cpp
54549 ac_cpp='$CXXCPP $CPPFLAGS'
54550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54555 /* end confdefs.h. */
54556 #include <math.h>
54558 main ()
54560 _modf(0, 0);
54562 return 0;
54564 _ACEOF
54565 if ac_fn_cxx_try_compile "$LINENO"; then :
54566 glibcxx_cv_func__modf_use=yes
54567 else
54568 glibcxx_cv_func__modf_use=no
54570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54571 ac_ext=c
54572 ac_cpp='$CPP $CPPFLAGS'
54573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54582 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54584 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54585 for ac_func in _modf
54586 do :
54587 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54588 if test "x$ac_cv_func__modf" = x""yes; then :
54589 cat >>confdefs.h <<_ACEOF
54590 #define HAVE__MODF 1
54591 _ACEOF
54594 done
54603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54604 $as_echo_n "checking for powf declaration... " >&6; }
54605 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54606 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54607 $as_echo_n "(cached) " >&6
54608 else
54611 ac_ext=cpp
54612 ac_cpp='$CXXCPP $CPPFLAGS'
54613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54618 /* end confdefs.h. */
54619 #include <math.h>
54621 main ()
54623 powf(0, 0);
54625 return 0;
54627 _ACEOF
54628 if ac_fn_cxx_try_compile "$LINENO"; then :
54629 glibcxx_cv_func_powf_use=yes
54630 else
54631 glibcxx_cv_func_powf_use=no
54633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54634 ac_ext=c
54635 ac_cpp='$CPP $CPPFLAGS'
54636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54645 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54647 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54648 for ac_func in powf
54649 do :
54650 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54651 if test "x$ac_cv_func_powf" = x""yes; then :
54652 cat >>confdefs.h <<_ACEOF
54653 #define HAVE_POWF 1
54654 _ACEOF
54657 done
54659 else
54661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54662 $as_echo_n "checking for _powf declaration... " >&6; }
54663 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54664 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54665 $as_echo_n "(cached) " >&6
54666 else
54669 ac_ext=cpp
54670 ac_cpp='$CXXCPP $CPPFLAGS'
54671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54676 /* end confdefs.h. */
54677 #include <math.h>
54679 main ()
54681 _powf(0, 0);
54683 return 0;
54685 _ACEOF
54686 if ac_fn_cxx_try_compile "$LINENO"; then :
54687 glibcxx_cv_func__powf_use=yes
54688 else
54689 glibcxx_cv_func__powf_use=no
54691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54692 ac_ext=c
54693 ac_cpp='$CPP $CPPFLAGS'
54694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54703 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54705 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54706 for ac_func in _powf
54707 do :
54708 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54709 if test "x$ac_cv_func__powf" = x""yes; then :
54710 cat >>confdefs.h <<_ACEOF
54711 #define HAVE__POWF 1
54712 _ACEOF
54715 done
54724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54725 $as_echo_n "checking for sqrtf declaration... " >&6; }
54726 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54727 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54728 $as_echo_n "(cached) " >&6
54729 else
54732 ac_ext=cpp
54733 ac_cpp='$CXXCPP $CPPFLAGS'
54734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54739 /* end confdefs.h. */
54740 #include <math.h>
54741 #ifdef HAVE_IEEEFP_H
54742 #include <ieeefp.h>
54743 #endif
54746 main ()
54748 sqrtf(0);
54750 return 0;
54752 _ACEOF
54753 if ac_fn_cxx_try_compile "$LINENO"; then :
54754 glibcxx_cv_func_sqrtf_use=yes
54755 else
54756 glibcxx_cv_func_sqrtf_use=no
54758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54759 ac_ext=c
54760 ac_cpp='$CPP $CPPFLAGS'
54761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54770 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54772 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54773 for ac_func in sqrtf
54774 do :
54775 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54776 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54777 cat >>confdefs.h <<_ACEOF
54778 #define HAVE_SQRTF 1
54779 _ACEOF
54782 done
54784 else
54786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54787 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54788 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54789 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54790 $as_echo_n "(cached) " >&6
54791 else
54794 ac_ext=cpp
54795 ac_cpp='$CXXCPP $CPPFLAGS'
54796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54801 /* end confdefs.h. */
54802 #include <math.h>
54803 #ifdef HAVE_IEEEFP_H
54804 #include <ieeefp.h>
54805 #endif
54808 main ()
54810 _sqrtf(0);
54812 return 0;
54814 _ACEOF
54815 if ac_fn_cxx_try_compile "$LINENO"; then :
54816 glibcxx_cv_func__sqrtf_use=yes
54817 else
54818 glibcxx_cv_func__sqrtf_use=no
54820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54821 ac_ext=c
54822 ac_cpp='$CPP $CPPFLAGS'
54823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54832 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54834 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54835 for ac_func in _sqrtf
54836 do :
54837 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54838 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54839 cat >>confdefs.h <<_ACEOF
54840 #define HAVE__SQRTF 1
54841 _ACEOF
54844 done
54853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54854 $as_echo_n "checking for sincosf declaration... " >&6; }
54855 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54856 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54857 $as_echo_n "(cached) " >&6
54858 else
54861 ac_ext=cpp
54862 ac_cpp='$CXXCPP $CPPFLAGS'
54863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54868 /* end confdefs.h. */
54869 #include <math.h>
54871 main ()
54873 sincosf(0, 0, 0);
54875 return 0;
54877 _ACEOF
54878 if ac_fn_cxx_try_compile "$LINENO"; then :
54879 glibcxx_cv_func_sincosf_use=yes
54880 else
54881 glibcxx_cv_func_sincosf_use=no
54883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54884 ac_ext=c
54885 ac_cpp='$CPP $CPPFLAGS'
54886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54895 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54897 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54898 for ac_func in sincosf
54899 do :
54900 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54901 if test "x$ac_cv_func_sincosf" = x""yes; then :
54902 cat >>confdefs.h <<_ACEOF
54903 #define HAVE_SINCOSF 1
54904 _ACEOF
54907 done
54909 else
54911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54912 $as_echo_n "checking for _sincosf declaration... " >&6; }
54913 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54914 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54915 $as_echo_n "(cached) " >&6
54916 else
54919 ac_ext=cpp
54920 ac_cpp='$CXXCPP $CPPFLAGS'
54921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54926 /* end confdefs.h. */
54927 #include <math.h>
54929 main ()
54931 _sincosf(0, 0, 0);
54933 return 0;
54935 _ACEOF
54936 if ac_fn_cxx_try_compile "$LINENO"; then :
54937 glibcxx_cv_func__sincosf_use=yes
54938 else
54939 glibcxx_cv_func__sincosf_use=no
54941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54942 ac_ext=c
54943 ac_cpp='$CPP $CPPFLAGS'
54944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54953 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54955 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54956 for ac_func in _sincosf
54957 do :
54958 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54959 if test "x$ac_cv_func__sincosf" = x""yes; then :
54960 cat >>confdefs.h <<_ACEOF
54961 #define HAVE__SINCOSF 1
54962 _ACEOF
54965 done
54974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54975 $as_echo_n "checking for finitef declaration... " >&6; }
54976 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54977 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54978 $as_echo_n "(cached) " >&6
54979 else
54982 ac_ext=cpp
54983 ac_cpp='$CXXCPP $CPPFLAGS'
54984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54989 /* end confdefs.h. */
54990 #include <math.h>
54991 #ifdef HAVE_IEEEFP_H
54992 #include <ieeefp.h>
54993 #endif
54996 main ()
54998 finitef(0);
55000 return 0;
55002 _ACEOF
55003 if ac_fn_cxx_try_compile "$LINENO"; then :
55004 glibcxx_cv_func_finitef_use=yes
55005 else
55006 glibcxx_cv_func_finitef_use=no
55008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55009 ac_ext=c
55010 ac_cpp='$CPP $CPPFLAGS'
55011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55020 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55022 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55023 for ac_func in finitef
55024 do :
55025 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55026 if test "x$ac_cv_func_finitef" = x""yes; then :
55027 cat >>confdefs.h <<_ACEOF
55028 #define HAVE_FINITEF 1
55029 _ACEOF
55032 done
55034 else
55036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55037 $as_echo_n "checking for _finitef declaration... " >&6; }
55038 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55039 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55040 $as_echo_n "(cached) " >&6
55041 else
55044 ac_ext=cpp
55045 ac_cpp='$CXXCPP $CPPFLAGS'
55046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55051 /* end confdefs.h. */
55052 #include <math.h>
55053 #ifdef HAVE_IEEEFP_H
55054 #include <ieeefp.h>
55055 #endif
55058 main ()
55060 _finitef(0);
55062 return 0;
55064 _ACEOF
55065 if ac_fn_cxx_try_compile "$LINENO"; then :
55066 glibcxx_cv_func__finitef_use=yes
55067 else
55068 glibcxx_cv_func__finitef_use=no
55070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55071 ac_ext=c
55072 ac_cpp='$CPP $CPPFLAGS'
55073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55082 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55084 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55085 for ac_func in _finitef
55086 do :
55087 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55088 if test "x$ac_cv_func__finitef" = x""yes; then :
55089 cat >>confdefs.h <<_ACEOF
55090 #define HAVE__FINITEF 1
55091 _ACEOF
55094 done
55103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55104 $as_echo_n "checking for long double trig functions... " >&6; }
55105 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55106 $as_echo_n "(cached) " >&6
55107 else
55110 ac_ext=cpp
55111 ac_cpp='$CXXCPP $CPPFLAGS'
55112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55117 /* end confdefs.h. */
55118 #include <math.h>
55120 main ()
55122 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55124 return 0;
55126 _ACEOF
55127 if ac_fn_cxx_try_compile "$LINENO"; then :
55128 glibcxx_cv_func_long_double_trig_use=yes
55129 else
55130 glibcxx_cv_func_long_double_trig_use=no
55132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55133 ac_ext=c
55134 ac_cpp='$CPP $CPPFLAGS'
55135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55142 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55143 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55144 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55145 do :
55146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55148 eval as_val=\$$as_ac_var
55149 if test "x$as_val" = x""yes; then :
55150 cat >>confdefs.h <<_ACEOF
55151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55152 _ACEOF
55155 done
55157 else
55158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55159 $as_echo_n "checking for _long double trig functions... " >&6; }
55160 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55161 $as_echo_n "(cached) " >&6
55162 else
55165 ac_ext=cpp
55166 ac_cpp='$CXXCPP $CPPFLAGS'
55167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55172 /* end confdefs.h. */
55173 #include <math.h>
55175 main ()
55177 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55179 return 0;
55181 _ACEOF
55182 if ac_fn_cxx_try_compile "$LINENO"; then :
55183 glibcxx_cv_func__long_double_trig_use=yes
55184 else
55185 glibcxx_cv_func__long_double_trig_use=no
55187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55188 ac_ext=c
55189 ac_cpp='$CPP $CPPFLAGS'
55190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55197 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55198 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55199 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55200 do :
55201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55203 eval as_val=\$$as_ac_var
55204 if test "x$as_val" = x""yes; then :
55205 cat >>confdefs.h <<_ACEOF
55206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55207 _ACEOF
55210 done
55219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55220 $as_echo_n "checking for long double round functions... " >&6; }
55221 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55222 $as_echo_n "(cached) " >&6
55223 else
55226 ac_ext=cpp
55227 ac_cpp='$CXXCPP $CPPFLAGS'
55228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55233 /* end confdefs.h. */
55234 #include <math.h>
55236 main ()
55238 ceill (0); floorl (0);
55240 return 0;
55242 _ACEOF
55243 if ac_fn_cxx_try_compile "$LINENO"; then :
55244 glibcxx_cv_func_long_double_round_use=yes
55245 else
55246 glibcxx_cv_func_long_double_round_use=no
55248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55249 ac_ext=c
55250 ac_cpp='$CPP $CPPFLAGS'
55251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55258 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55259 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55260 for ac_func in ceill floorl
55261 do :
55262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55264 eval as_val=\$$as_ac_var
55265 if test "x$as_val" = x""yes; then :
55266 cat >>confdefs.h <<_ACEOF
55267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55268 _ACEOF
55271 done
55273 else
55274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55275 $as_echo_n "checking for _long double round functions... " >&6; }
55276 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55277 $as_echo_n "(cached) " >&6
55278 else
55281 ac_ext=cpp
55282 ac_cpp='$CXXCPP $CPPFLAGS'
55283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55288 /* end confdefs.h. */
55289 #include <math.h>
55291 main ()
55293 _ceill (0); _floorl (0);
55295 return 0;
55297 _ACEOF
55298 if ac_fn_cxx_try_compile "$LINENO"; then :
55299 glibcxx_cv_func__long_double_round_use=yes
55300 else
55301 glibcxx_cv_func__long_double_round_use=no
55303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55304 ac_ext=c
55305 ac_cpp='$CPP $CPPFLAGS'
55306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55313 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55314 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55315 for ac_func in _ceill _floorl
55316 do :
55317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55319 eval as_val=\$$as_ac_var
55320 if test "x$as_val" = x""yes; then :
55321 cat >>confdefs.h <<_ACEOF
55322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55323 _ACEOF
55326 done
55336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55337 $as_echo_n "checking for isnanl declaration... " >&6; }
55338 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55339 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55340 $as_echo_n "(cached) " >&6
55341 else
55344 ac_ext=cpp
55345 ac_cpp='$CXXCPP $CPPFLAGS'
55346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55351 /* end confdefs.h. */
55352 #include <math.h>
55353 #ifdef HAVE_IEEEFP_H
55354 #include <ieeefp.h>
55355 #endif
55358 main ()
55360 isnanl(0);
55362 return 0;
55364 _ACEOF
55365 if ac_fn_cxx_try_compile "$LINENO"; then :
55366 glibcxx_cv_func_isnanl_use=yes
55367 else
55368 glibcxx_cv_func_isnanl_use=no
55370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55371 ac_ext=c
55372 ac_cpp='$CPP $CPPFLAGS'
55373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55382 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55384 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55385 for ac_func in isnanl
55386 do :
55387 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55388 if test "x$ac_cv_func_isnanl" = x""yes; then :
55389 cat >>confdefs.h <<_ACEOF
55390 #define HAVE_ISNANL 1
55391 _ACEOF
55394 done
55396 else
55398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55399 $as_echo_n "checking for _isnanl declaration... " >&6; }
55400 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55401 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55402 $as_echo_n "(cached) " >&6
55403 else
55406 ac_ext=cpp
55407 ac_cpp='$CXXCPP $CPPFLAGS'
55408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55413 /* end confdefs.h. */
55414 #include <math.h>
55415 #ifdef HAVE_IEEEFP_H
55416 #include <ieeefp.h>
55417 #endif
55420 main ()
55422 _isnanl(0);
55424 return 0;
55426 _ACEOF
55427 if ac_fn_cxx_try_compile "$LINENO"; then :
55428 glibcxx_cv_func__isnanl_use=yes
55429 else
55430 glibcxx_cv_func__isnanl_use=no
55432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55433 ac_ext=c
55434 ac_cpp='$CPP $CPPFLAGS'
55435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55444 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55446 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55447 for ac_func in _isnanl
55448 do :
55449 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55450 if test "x$ac_cv_func__isnanl" = x""yes; then :
55451 cat >>confdefs.h <<_ACEOF
55452 #define HAVE__ISNANL 1
55453 _ACEOF
55456 done
55465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55466 $as_echo_n "checking for isinfl declaration... " >&6; }
55467 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55468 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55469 $as_echo_n "(cached) " >&6
55470 else
55473 ac_ext=cpp
55474 ac_cpp='$CXXCPP $CPPFLAGS'
55475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55480 /* end confdefs.h. */
55481 #include <math.h>
55482 #ifdef HAVE_IEEEFP_H
55483 #include <ieeefp.h>
55484 #endif
55487 main ()
55489 isinfl(0);
55491 return 0;
55493 _ACEOF
55494 if ac_fn_cxx_try_compile "$LINENO"; then :
55495 glibcxx_cv_func_isinfl_use=yes
55496 else
55497 glibcxx_cv_func_isinfl_use=no
55499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55500 ac_ext=c
55501 ac_cpp='$CPP $CPPFLAGS'
55502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55511 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55513 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55514 for ac_func in isinfl
55515 do :
55516 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55517 if test "x$ac_cv_func_isinfl" = x""yes; then :
55518 cat >>confdefs.h <<_ACEOF
55519 #define HAVE_ISINFL 1
55520 _ACEOF
55523 done
55525 else
55527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55528 $as_echo_n "checking for _isinfl declaration... " >&6; }
55529 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55530 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55531 $as_echo_n "(cached) " >&6
55532 else
55535 ac_ext=cpp
55536 ac_cpp='$CXXCPP $CPPFLAGS'
55537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55542 /* end confdefs.h. */
55543 #include <math.h>
55544 #ifdef HAVE_IEEEFP_H
55545 #include <ieeefp.h>
55546 #endif
55549 main ()
55551 _isinfl(0);
55553 return 0;
55555 _ACEOF
55556 if ac_fn_cxx_try_compile "$LINENO"; then :
55557 glibcxx_cv_func__isinfl_use=yes
55558 else
55559 glibcxx_cv_func__isinfl_use=no
55561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55562 ac_ext=c
55563 ac_cpp='$CPP $CPPFLAGS'
55564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55573 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55575 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55576 for ac_func in _isinfl
55577 do :
55578 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55579 if test "x$ac_cv_func__isinfl" = x""yes; then :
55580 cat >>confdefs.h <<_ACEOF
55581 #define HAVE__ISINFL 1
55582 _ACEOF
55585 done
55594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55595 $as_echo_n "checking for atan2l declaration... " >&6; }
55596 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55597 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55598 $as_echo_n "(cached) " >&6
55599 else
55602 ac_ext=cpp
55603 ac_cpp='$CXXCPP $CPPFLAGS'
55604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55609 /* end confdefs.h. */
55610 #include <math.h>
55612 main ()
55614 atan2l(0, 0);
55616 return 0;
55618 _ACEOF
55619 if ac_fn_cxx_try_compile "$LINENO"; then :
55620 glibcxx_cv_func_atan2l_use=yes
55621 else
55622 glibcxx_cv_func_atan2l_use=no
55624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55625 ac_ext=c
55626 ac_cpp='$CPP $CPPFLAGS'
55627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55636 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55638 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55639 for ac_func in atan2l
55640 do :
55641 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55642 if test "x$ac_cv_func_atan2l" = x""yes; then :
55643 cat >>confdefs.h <<_ACEOF
55644 #define HAVE_ATAN2L 1
55645 _ACEOF
55648 done
55650 else
55652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55653 $as_echo_n "checking for _atan2l declaration... " >&6; }
55654 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55655 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55656 $as_echo_n "(cached) " >&6
55657 else
55660 ac_ext=cpp
55661 ac_cpp='$CXXCPP $CPPFLAGS'
55662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55667 /* end confdefs.h. */
55668 #include <math.h>
55670 main ()
55672 _atan2l(0, 0);
55674 return 0;
55676 _ACEOF
55677 if ac_fn_cxx_try_compile "$LINENO"; then :
55678 glibcxx_cv_func__atan2l_use=yes
55679 else
55680 glibcxx_cv_func__atan2l_use=no
55682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55683 ac_ext=c
55684 ac_cpp='$CPP $CPPFLAGS'
55685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55694 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55696 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55697 for ac_func in _atan2l
55698 do :
55699 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55700 if test "x$ac_cv_func__atan2l" = x""yes; then :
55701 cat >>confdefs.h <<_ACEOF
55702 #define HAVE__ATAN2L 1
55703 _ACEOF
55706 done
55715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55716 $as_echo_n "checking for expl declaration... " >&6; }
55717 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55718 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55719 $as_echo_n "(cached) " >&6
55720 else
55723 ac_ext=cpp
55724 ac_cpp='$CXXCPP $CPPFLAGS'
55725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55730 /* end confdefs.h. */
55731 #include <math.h>
55732 #ifdef HAVE_IEEEFP_H
55733 #include <ieeefp.h>
55734 #endif
55737 main ()
55739 expl(0);
55741 return 0;
55743 _ACEOF
55744 if ac_fn_cxx_try_compile "$LINENO"; then :
55745 glibcxx_cv_func_expl_use=yes
55746 else
55747 glibcxx_cv_func_expl_use=no
55749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55750 ac_ext=c
55751 ac_cpp='$CPP $CPPFLAGS'
55752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55761 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55763 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55764 for ac_func in expl
55765 do :
55766 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55767 if test "x$ac_cv_func_expl" = x""yes; then :
55768 cat >>confdefs.h <<_ACEOF
55769 #define HAVE_EXPL 1
55770 _ACEOF
55773 done
55775 else
55777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55778 $as_echo_n "checking for _expl declaration... " >&6; }
55779 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55780 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55781 $as_echo_n "(cached) " >&6
55782 else
55785 ac_ext=cpp
55786 ac_cpp='$CXXCPP $CPPFLAGS'
55787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55792 /* end confdefs.h. */
55793 #include <math.h>
55794 #ifdef HAVE_IEEEFP_H
55795 #include <ieeefp.h>
55796 #endif
55799 main ()
55801 _expl(0);
55803 return 0;
55805 _ACEOF
55806 if ac_fn_cxx_try_compile "$LINENO"; then :
55807 glibcxx_cv_func__expl_use=yes
55808 else
55809 glibcxx_cv_func__expl_use=no
55811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55812 ac_ext=c
55813 ac_cpp='$CPP $CPPFLAGS'
55814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55823 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55825 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55826 for ac_func in _expl
55827 do :
55828 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55829 if test "x$ac_cv_func__expl" = x""yes; then :
55830 cat >>confdefs.h <<_ACEOF
55831 #define HAVE__EXPL 1
55832 _ACEOF
55835 done
55844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55845 $as_echo_n "checking for fabsl declaration... " >&6; }
55846 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55847 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55848 $as_echo_n "(cached) " >&6
55849 else
55852 ac_ext=cpp
55853 ac_cpp='$CXXCPP $CPPFLAGS'
55854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55859 /* end confdefs.h. */
55860 #include <math.h>
55861 #ifdef HAVE_IEEEFP_H
55862 #include <ieeefp.h>
55863 #endif
55866 main ()
55868 fabsl(0);
55870 return 0;
55872 _ACEOF
55873 if ac_fn_cxx_try_compile "$LINENO"; then :
55874 glibcxx_cv_func_fabsl_use=yes
55875 else
55876 glibcxx_cv_func_fabsl_use=no
55878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55879 ac_ext=c
55880 ac_cpp='$CPP $CPPFLAGS'
55881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55890 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55892 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55893 for ac_func in fabsl
55894 do :
55895 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55896 if test "x$ac_cv_func_fabsl" = x""yes; then :
55897 cat >>confdefs.h <<_ACEOF
55898 #define HAVE_FABSL 1
55899 _ACEOF
55902 done
55904 else
55906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55907 $as_echo_n "checking for _fabsl declaration... " >&6; }
55908 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55909 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55910 $as_echo_n "(cached) " >&6
55911 else
55914 ac_ext=cpp
55915 ac_cpp='$CXXCPP $CPPFLAGS'
55916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55921 /* end confdefs.h. */
55922 #include <math.h>
55923 #ifdef HAVE_IEEEFP_H
55924 #include <ieeefp.h>
55925 #endif
55928 main ()
55930 _fabsl(0);
55932 return 0;
55934 _ACEOF
55935 if ac_fn_cxx_try_compile "$LINENO"; then :
55936 glibcxx_cv_func__fabsl_use=yes
55937 else
55938 glibcxx_cv_func__fabsl_use=no
55940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55941 ac_ext=c
55942 ac_cpp='$CPP $CPPFLAGS'
55943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55952 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55954 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55955 for ac_func in _fabsl
55956 do :
55957 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55958 if test "x$ac_cv_func__fabsl" = x""yes; then :
55959 cat >>confdefs.h <<_ACEOF
55960 #define HAVE__FABSL 1
55961 _ACEOF
55964 done
55973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55974 $as_echo_n "checking for fmodl declaration... " >&6; }
55975 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55976 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55977 $as_echo_n "(cached) " >&6
55978 else
55981 ac_ext=cpp
55982 ac_cpp='$CXXCPP $CPPFLAGS'
55983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55988 /* end confdefs.h. */
55989 #include <math.h>
55991 main ()
55993 fmodl(0, 0);
55995 return 0;
55997 _ACEOF
55998 if ac_fn_cxx_try_compile "$LINENO"; then :
55999 glibcxx_cv_func_fmodl_use=yes
56000 else
56001 glibcxx_cv_func_fmodl_use=no
56003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56004 ac_ext=c
56005 ac_cpp='$CPP $CPPFLAGS'
56006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56015 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56017 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56018 for ac_func in fmodl
56019 do :
56020 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56021 if test "x$ac_cv_func_fmodl" = x""yes; then :
56022 cat >>confdefs.h <<_ACEOF
56023 #define HAVE_FMODL 1
56024 _ACEOF
56027 done
56029 else
56031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56032 $as_echo_n "checking for _fmodl declaration... " >&6; }
56033 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56034 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56035 $as_echo_n "(cached) " >&6
56036 else
56039 ac_ext=cpp
56040 ac_cpp='$CXXCPP $CPPFLAGS'
56041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56046 /* end confdefs.h. */
56047 #include <math.h>
56049 main ()
56051 _fmodl(0, 0);
56053 return 0;
56055 _ACEOF
56056 if ac_fn_cxx_try_compile "$LINENO"; then :
56057 glibcxx_cv_func__fmodl_use=yes
56058 else
56059 glibcxx_cv_func__fmodl_use=no
56061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56062 ac_ext=c
56063 ac_cpp='$CPP $CPPFLAGS'
56064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56073 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56075 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56076 for ac_func in _fmodl
56077 do :
56078 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56079 if test "x$ac_cv_func__fmodl" = x""yes; then :
56080 cat >>confdefs.h <<_ACEOF
56081 #define HAVE__FMODL 1
56082 _ACEOF
56085 done
56094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56095 $as_echo_n "checking for frexpl declaration... " >&6; }
56096 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56097 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56098 $as_echo_n "(cached) " >&6
56099 else
56102 ac_ext=cpp
56103 ac_cpp='$CXXCPP $CPPFLAGS'
56104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56109 /* end confdefs.h. */
56110 #include <math.h>
56112 main ()
56114 frexpl(0, 0);
56116 return 0;
56118 _ACEOF
56119 if ac_fn_cxx_try_compile "$LINENO"; then :
56120 glibcxx_cv_func_frexpl_use=yes
56121 else
56122 glibcxx_cv_func_frexpl_use=no
56124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56125 ac_ext=c
56126 ac_cpp='$CPP $CPPFLAGS'
56127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56136 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56138 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56139 for ac_func in frexpl
56140 do :
56141 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56142 if test "x$ac_cv_func_frexpl" = x""yes; then :
56143 cat >>confdefs.h <<_ACEOF
56144 #define HAVE_FREXPL 1
56145 _ACEOF
56148 done
56150 else
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56153 $as_echo_n "checking for _frexpl declaration... " >&6; }
56154 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56155 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56156 $as_echo_n "(cached) " >&6
56157 else
56160 ac_ext=cpp
56161 ac_cpp='$CXXCPP $CPPFLAGS'
56162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56167 /* end confdefs.h. */
56168 #include <math.h>
56170 main ()
56172 _frexpl(0, 0);
56174 return 0;
56176 _ACEOF
56177 if ac_fn_cxx_try_compile "$LINENO"; then :
56178 glibcxx_cv_func__frexpl_use=yes
56179 else
56180 glibcxx_cv_func__frexpl_use=no
56182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56183 ac_ext=c
56184 ac_cpp='$CPP $CPPFLAGS'
56185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56194 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56196 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56197 for ac_func in _frexpl
56198 do :
56199 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56200 if test "x$ac_cv_func__frexpl" = x""yes; then :
56201 cat >>confdefs.h <<_ACEOF
56202 #define HAVE__FREXPL 1
56203 _ACEOF
56206 done
56215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56216 $as_echo_n "checking for hypotl declaration... " >&6; }
56217 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56218 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56219 $as_echo_n "(cached) " >&6
56220 else
56223 ac_ext=cpp
56224 ac_cpp='$CXXCPP $CPPFLAGS'
56225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56230 /* end confdefs.h. */
56231 #include <math.h>
56233 main ()
56235 hypotl(0, 0);
56237 return 0;
56239 _ACEOF
56240 if ac_fn_cxx_try_compile "$LINENO"; then :
56241 glibcxx_cv_func_hypotl_use=yes
56242 else
56243 glibcxx_cv_func_hypotl_use=no
56245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56246 ac_ext=c
56247 ac_cpp='$CPP $CPPFLAGS'
56248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56257 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56259 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56260 for ac_func in hypotl
56261 do :
56262 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56263 if test "x$ac_cv_func_hypotl" = x""yes; then :
56264 cat >>confdefs.h <<_ACEOF
56265 #define HAVE_HYPOTL 1
56266 _ACEOF
56269 done
56271 else
56273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56274 $as_echo_n "checking for _hypotl declaration... " >&6; }
56275 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56276 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56277 $as_echo_n "(cached) " >&6
56278 else
56281 ac_ext=cpp
56282 ac_cpp='$CXXCPP $CPPFLAGS'
56283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56288 /* end confdefs.h. */
56289 #include <math.h>
56291 main ()
56293 _hypotl(0, 0);
56295 return 0;
56297 _ACEOF
56298 if ac_fn_cxx_try_compile "$LINENO"; then :
56299 glibcxx_cv_func__hypotl_use=yes
56300 else
56301 glibcxx_cv_func__hypotl_use=no
56303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56304 ac_ext=c
56305 ac_cpp='$CPP $CPPFLAGS'
56306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56315 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56317 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56318 for ac_func in _hypotl
56319 do :
56320 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56321 if test "x$ac_cv_func__hypotl" = x""yes; then :
56322 cat >>confdefs.h <<_ACEOF
56323 #define HAVE__HYPOTL 1
56324 _ACEOF
56327 done
56336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56337 $as_echo_n "checking for ldexpl declaration... " >&6; }
56338 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56339 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56340 $as_echo_n "(cached) " >&6
56341 else
56344 ac_ext=cpp
56345 ac_cpp='$CXXCPP $CPPFLAGS'
56346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56351 /* end confdefs.h. */
56352 #include <math.h>
56354 main ()
56356 ldexpl(0, 0);
56358 return 0;
56360 _ACEOF
56361 if ac_fn_cxx_try_compile "$LINENO"; then :
56362 glibcxx_cv_func_ldexpl_use=yes
56363 else
56364 glibcxx_cv_func_ldexpl_use=no
56366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56367 ac_ext=c
56368 ac_cpp='$CPP $CPPFLAGS'
56369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56378 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56380 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56381 for ac_func in ldexpl
56382 do :
56383 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56384 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56385 cat >>confdefs.h <<_ACEOF
56386 #define HAVE_LDEXPL 1
56387 _ACEOF
56390 done
56392 else
56394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56395 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56396 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56397 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56398 $as_echo_n "(cached) " >&6
56399 else
56402 ac_ext=cpp
56403 ac_cpp='$CXXCPP $CPPFLAGS'
56404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56409 /* end confdefs.h. */
56410 #include <math.h>
56412 main ()
56414 _ldexpl(0, 0);
56416 return 0;
56418 _ACEOF
56419 if ac_fn_cxx_try_compile "$LINENO"; then :
56420 glibcxx_cv_func__ldexpl_use=yes
56421 else
56422 glibcxx_cv_func__ldexpl_use=no
56424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56425 ac_ext=c
56426 ac_cpp='$CPP $CPPFLAGS'
56427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56436 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56438 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56439 for ac_func in _ldexpl
56440 do :
56441 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56442 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56443 cat >>confdefs.h <<_ACEOF
56444 #define HAVE__LDEXPL 1
56445 _ACEOF
56448 done
56457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56458 $as_echo_n "checking for logl declaration... " >&6; }
56459 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56460 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56461 $as_echo_n "(cached) " >&6
56462 else
56465 ac_ext=cpp
56466 ac_cpp='$CXXCPP $CPPFLAGS'
56467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56472 /* end confdefs.h. */
56473 #include <math.h>
56474 #ifdef HAVE_IEEEFP_H
56475 #include <ieeefp.h>
56476 #endif
56479 main ()
56481 logl(0);
56483 return 0;
56485 _ACEOF
56486 if ac_fn_cxx_try_compile "$LINENO"; then :
56487 glibcxx_cv_func_logl_use=yes
56488 else
56489 glibcxx_cv_func_logl_use=no
56491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56492 ac_ext=c
56493 ac_cpp='$CPP $CPPFLAGS'
56494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56503 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56505 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56506 for ac_func in logl
56507 do :
56508 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56509 if test "x$ac_cv_func_logl" = x""yes; then :
56510 cat >>confdefs.h <<_ACEOF
56511 #define HAVE_LOGL 1
56512 _ACEOF
56515 done
56517 else
56519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56520 $as_echo_n "checking for _logl declaration... " >&6; }
56521 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56522 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56523 $as_echo_n "(cached) " >&6
56524 else
56527 ac_ext=cpp
56528 ac_cpp='$CXXCPP $CPPFLAGS'
56529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56534 /* end confdefs.h. */
56535 #include <math.h>
56536 #ifdef HAVE_IEEEFP_H
56537 #include <ieeefp.h>
56538 #endif
56541 main ()
56543 _logl(0);
56545 return 0;
56547 _ACEOF
56548 if ac_fn_cxx_try_compile "$LINENO"; then :
56549 glibcxx_cv_func__logl_use=yes
56550 else
56551 glibcxx_cv_func__logl_use=no
56553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56554 ac_ext=c
56555 ac_cpp='$CPP $CPPFLAGS'
56556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56565 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56567 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56568 for ac_func in _logl
56569 do :
56570 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56571 if test "x$ac_cv_func__logl" = x""yes; then :
56572 cat >>confdefs.h <<_ACEOF
56573 #define HAVE__LOGL 1
56574 _ACEOF
56577 done
56586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56587 $as_echo_n "checking for log10l declaration... " >&6; }
56588 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56589 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56590 $as_echo_n "(cached) " >&6
56591 else
56594 ac_ext=cpp
56595 ac_cpp='$CXXCPP $CPPFLAGS'
56596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56601 /* end confdefs.h. */
56602 #include <math.h>
56603 #ifdef HAVE_IEEEFP_H
56604 #include <ieeefp.h>
56605 #endif
56608 main ()
56610 log10l(0);
56612 return 0;
56614 _ACEOF
56615 if ac_fn_cxx_try_compile "$LINENO"; then :
56616 glibcxx_cv_func_log10l_use=yes
56617 else
56618 glibcxx_cv_func_log10l_use=no
56620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56621 ac_ext=c
56622 ac_cpp='$CPP $CPPFLAGS'
56623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56632 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56634 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56635 for ac_func in log10l
56636 do :
56637 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56638 if test "x$ac_cv_func_log10l" = x""yes; then :
56639 cat >>confdefs.h <<_ACEOF
56640 #define HAVE_LOG10L 1
56641 _ACEOF
56644 done
56646 else
56648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56649 $as_echo_n "checking for _log10l declaration... " >&6; }
56650 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56651 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56652 $as_echo_n "(cached) " >&6
56653 else
56656 ac_ext=cpp
56657 ac_cpp='$CXXCPP $CPPFLAGS'
56658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56663 /* end confdefs.h. */
56664 #include <math.h>
56665 #ifdef HAVE_IEEEFP_H
56666 #include <ieeefp.h>
56667 #endif
56670 main ()
56672 _log10l(0);
56674 return 0;
56676 _ACEOF
56677 if ac_fn_cxx_try_compile "$LINENO"; then :
56678 glibcxx_cv_func__log10l_use=yes
56679 else
56680 glibcxx_cv_func__log10l_use=no
56682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56683 ac_ext=c
56684 ac_cpp='$CPP $CPPFLAGS'
56685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56694 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56696 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56697 for ac_func in _log10l
56698 do :
56699 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56700 if test "x$ac_cv_func__log10l" = x""yes; then :
56701 cat >>confdefs.h <<_ACEOF
56702 #define HAVE__LOG10L 1
56703 _ACEOF
56706 done
56715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56716 $as_echo_n "checking for modfl declaration... " >&6; }
56717 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56718 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56719 $as_echo_n "(cached) " >&6
56720 else
56723 ac_ext=cpp
56724 ac_cpp='$CXXCPP $CPPFLAGS'
56725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56730 /* end confdefs.h. */
56731 #include <math.h>
56733 main ()
56735 modfl(0, 0);
56737 return 0;
56739 _ACEOF
56740 if ac_fn_cxx_try_compile "$LINENO"; then :
56741 glibcxx_cv_func_modfl_use=yes
56742 else
56743 glibcxx_cv_func_modfl_use=no
56745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56746 ac_ext=c
56747 ac_cpp='$CPP $CPPFLAGS'
56748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56757 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56759 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56760 for ac_func in modfl
56761 do :
56762 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56763 if test "x$ac_cv_func_modfl" = x""yes; then :
56764 cat >>confdefs.h <<_ACEOF
56765 #define HAVE_MODFL 1
56766 _ACEOF
56769 done
56771 else
56773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56774 $as_echo_n "checking for _modfl declaration... " >&6; }
56775 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56776 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56777 $as_echo_n "(cached) " >&6
56778 else
56781 ac_ext=cpp
56782 ac_cpp='$CXXCPP $CPPFLAGS'
56783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56788 /* end confdefs.h. */
56789 #include <math.h>
56791 main ()
56793 _modfl(0, 0);
56795 return 0;
56797 _ACEOF
56798 if ac_fn_cxx_try_compile "$LINENO"; then :
56799 glibcxx_cv_func__modfl_use=yes
56800 else
56801 glibcxx_cv_func__modfl_use=no
56803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56804 ac_ext=c
56805 ac_cpp='$CPP $CPPFLAGS'
56806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56815 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56817 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56818 for ac_func in _modfl
56819 do :
56820 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56821 if test "x$ac_cv_func__modfl" = x""yes; then :
56822 cat >>confdefs.h <<_ACEOF
56823 #define HAVE__MODFL 1
56824 _ACEOF
56827 done
56836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56837 $as_echo_n "checking for powl declaration... " >&6; }
56838 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56839 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56840 $as_echo_n "(cached) " >&6
56841 else
56844 ac_ext=cpp
56845 ac_cpp='$CXXCPP $CPPFLAGS'
56846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56851 /* end confdefs.h. */
56852 #include <math.h>
56854 main ()
56856 powl(0, 0);
56858 return 0;
56860 _ACEOF
56861 if ac_fn_cxx_try_compile "$LINENO"; then :
56862 glibcxx_cv_func_powl_use=yes
56863 else
56864 glibcxx_cv_func_powl_use=no
56866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56867 ac_ext=c
56868 ac_cpp='$CPP $CPPFLAGS'
56869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56878 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56880 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56881 for ac_func in powl
56882 do :
56883 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56884 if test "x$ac_cv_func_powl" = x""yes; then :
56885 cat >>confdefs.h <<_ACEOF
56886 #define HAVE_POWL 1
56887 _ACEOF
56890 done
56892 else
56894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56895 $as_echo_n "checking for _powl declaration... " >&6; }
56896 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56897 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56898 $as_echo_n "(cached) " >&6
56899 else
56902 ac_ext=cpp
56903 ac_cpp='$CXXCPP $CPPFLAGS'
56904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56909 /* end confdefs.h. */
56910 #include <math.h>
56912 main ()
56914 _powl(0, 0);
56916 return 0;
56918 _ACEOF
56919 if ac_fn_cxx_try_compile "$LINENO"; then :
56920 glibcxx_cv_func__powl_use=yes
56921 else
56922 glibcxx_cv_func__powl_use=no
56924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56925 ac_ext=c
56926 ac_cpp='$CPP $CPPFLAGS'
56927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56936 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56938 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56939 for ac_func in _powl
56940 do :
56941 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56942 if test "x$ac_cv_func__powl" = x""yes; then :
56943 cat >>confdefs.h <<_ACEOF
56944 #define HAVE__POWL 1
56945 _ACEOF
56948 done
56957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56958 $as_echo_n "checking for sqrtl declaration... " >&6; }
56959 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56960 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56961 $as_echo_n "(cached) " >&6
56962 else
56965 ac_ext=cpp
56966 ac_cpp='$CXXCPP $CPPFLAGS'
56967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56972 /* end confdefs.h. */
56973 #include <math.h>
56974 #ifdef HAVE_IEEEFP_H
56975 #include <ieeefp.h>
56976 #endif
56979 main ()
56981 sqrtl(0);
56983 return 0;
56985 _ACEOF
56986 if ac_fn_cxx_try_compile "$LINENO"; then :
56987 glibcxx_cv_func_sqrtl_use=yes
56988 else
56989 glibcxx_cv_func_sqrtl_use=no
56991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56992 ac_ext=c
56993 ac_cpp='$CPP $CPPFLAGS'
56994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57003 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57005 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57006 for ac_func in sqrtl
57007 do :
57008 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57009 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57010 cat >>confdefs.h <<_ACEOF
57011 #define HAVE_SQRTL 1
57012 _ACEOF
57015 done
57017 else
57019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57020 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57021 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57022 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57023 $as_echo_n "(cached) " >&6
57024 else
57027 ac_ext=cpp
57028 ac_cpp='$CXXCPP $CPPFLAGS'
57029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57034 /* end confdefs.h. */
57035 #include <math.h>
57036 #ifdef HAVE_IEEEFP_H
57037 #include <ieeefp.h>
57038 #endif
57041 main ()
57043 _sqrtl(0);
57045 return 0;
57047 _ACEOF
57048 if ac_fn_cxx_try_compile "$LINENO"; then :
57049 glibcxx_cv_func__sqrtl_use=yes
57050 else
57051 glibcxx_cv_func__sqrtl_use=no
57053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57054 ac_ext=c
57055 ac_cpp='$CPP $CPPFLAGS'
57056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57065 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57067 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57068 for ac_func in _sqrtl
57069 do :
57070 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57071 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57072 cat >>confdefs.h <<_ACEOF
57073 #define HAVE__SQRTL 1
57074 _ACEOF
57077 done
57086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57087 $as_echo_n "checking for sincosl declaration... " >&6; }
57088 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57089 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57090 $as_echo_n "(cached) " >&6
57091 else
57094 ac_ext=cpp
57095 ac_cpp='$CXXCPP $CPPFLAGS'
57096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57101 /* end confdefs.h. */
57102 #include <math.h>
57104 main ()
57106 sincosl(0, 0, 0);
57108 return 0;
57110 _ACEOF
57111 if ac_fn_cxx_try_compile "$LINENO"; then :
57112 glibcxx_cv_func_sincosl_use=yes
57113 else
57114 glibcxx_cv_func_sincosl_use=no
57116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57117 ac_ext=c
57118 ac_cpp='$CPP $CPPFLAGS'
57119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57128 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57130 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57131 for ac_func in sincosl
57132 do :
57133 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57134 if test "x$ac_cv_func_sincosl" = x""yes; then :
57135 cat >>confdefs.h <<_ACEOF
57136 #define HAVE_SINCOSL 1
57137 _ACEOF
57140 done
57142 else
57144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57145 $as_echo_n "checking for _sincosl declaration... " >&6; }
57146 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57147 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57148 $as_echo_n "(cached) " >&6
57149 else
57152 ac_ext=cpp
57153 ac_cpp='$CXXCPP $CPPFLAGS'
57154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57159 /* end confdefs.h. */
57160 #include <math.h>
57162 main ()
57164 _sincosl(0, 0, 0);
57166 return 0;
57168 _ACEOF
57169 if ac_fn_cxx_try_compile "$LINENO"; then :
57170 glibcxx_cv_func__sincosl_use=yes
57171 else
57172 glibcxx_cv_func__sincosl_use=no
57174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57175 ac_ext=c
57176 ac_cpp='$CPP $CPPFLAGS'
57177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57186 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57188 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57189 for ac_func in _sincosl
57190 do :
57191 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57192 if test "x$ac_cv_func__sincosl" = x""yes; then :
57193 cat >>confdefs.h <<_ACEOF
57194 #define HAVE__SINCOSL 1
57195 _ACEOF
57198 done
57207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57208 $as_echo_n "checking for finitel declaration... " >&6; }
57209 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57210 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57211 $as_echo_n "(cached) " >&6
57212 else
57215 ac_ext=cpp
57216 ac_cpp='$CXXCPP $CPPFLAGS'
57217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57222 /* end confdefs.h. */
57223 #include <math.h>
57224 #ifdef HAVE_IEEEFP_H
57225 #include <ieeefp.h>
57226 #endif
57229 main ()
57231 finitel(0);
57233 return 0;
57235 _ACEOF
57236 if ac_fn_cxx_try_compile "$LINENO"; then :
57237 glibcxx_cv_func_finitel_use=yes
57238 else
57239 glibcxx_cv_func_finitel_use=no
57241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57242 ac_ext=c
57243 ac_cpp='$CPP $CPPFLAGS'
57244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57253 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57255 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57256 for ac_func in finitel
57257 do :
57258 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57259 if test "x$ac_cv_func_finitel" = x""yes; then :
57260 cat >>confdefs.h <<_ACEOF
57261 #define HAVE_FINITEL 1
57262 _ACEOF
57265 done
57267 else
57269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57270 $as_echo_n "checking for _finitel declaration... " >&6; }
57271 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57272 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57273 $as_echo_n "(cached) " >&6
57274 else
57277 ac_ext=cpp
57278 ac_cpp='$CXXCPP $CPPFLAGS'
57279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57284 /* end confdefs.h. */
57285 #include <math.h>
57286 #ifdef HAVE_IEEEFP_H
57287 #include <ieeefp.h>
57288 #endif
57291 main ()
57293 _finitel(0);
57295 return 0;
57297 _ACEOF
57298 if ac_fn_cxx_try_compile "$LINENO"; then :
57299 glibcxx_cv_func__finitel_use=yes
57300 else
57301 glibcxx_cv_func__finitel_use=no
57303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57304 ac_ext=c
57305 ac_cpp='$CPP $CPPFLAGS'
57306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57315 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57317 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57318 for ac_func in _finitel
57319 do :
57320 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57321 if test "x$ac_cv_func__finitel" = x""yes; then :
57322 cat >>confdefs.h <<_ACEOF
57323 #define HAVE__FINITEL 1
57324 _ACEOF
57327 done
57335 LIBS="$ac_save_LIBS"
57336 CXXFLAGS="$ac_save_CXXFLAGS"
57339 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57340 ac_save_CXXFLAGS="$CXXFLAGS"
57341 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57345 $as_echo_n "checking for strtold declaration... " >&6; }
57346 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57347 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57348 $as_echo_n "(cached) " >&6
57349 else
57352 ac_ext=cpp
57353 ac_cpp='$CXXCPP $CPPFLAGS'
57354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57359 /* end confdefs.h. */
57360 #include <stdlib.h>
57362 main ()
57364 strtold(0, 0);
57366 return 0;
57368 _ACEOF
57369 if ac_fn_cxx_try_compile "$LINENO"; then :
57370 glibcxx_cv_func_strtold_use=yes
57371 else
57372 glibcxx_cv_func_strtold_use=no
57374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57375 ac_ext=c
57376 ac_cpp='$CPP $CPPFLAGS'
57377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57386 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57387 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57388 for ac_func in strtold
57389 do :
57390 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57391 if test "x$ac_cv_func_strtold" = x""yes; then :
57392 cat >>confdefs.h <<_ACEOF
57393 #define HAVE_STRTOLD 1
57394 _ACEOF
57397 done
57404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57405 $as_echo_n "checking for strtof declaration... " >&6; }
57406 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57407 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57408 $as_echo_n "(cached) " >&6
57409 else
57412 ac_ext=cpp
57413 ac_cpp='$CXXCPP $CPPFLAGS'
57414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57419 /* end confdefs.h. */
57420 #include <stdlib.h>
57422 main ()
57424 strtof(0, 0);
57426 return 0;
57428 _ACEOF
57429 if ac_fn_cxx_try_compile "$LINENO"; then :
57430 glibcxx_cv_func_strtof_use=yes
57431 else
57432 glibcxx_cv_func_strtof_use=no
57434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57435 ac_ext=c
57436 ac_cpp='$CPP $CPPFLAGS'
57437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57446 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57447 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57448 for ac_func in strtof
57449 do :
57450 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57451 if test "x$ac_cv_func_strtof" = x""yes; then :
57452 cat >>confdefs.h <<_ACEOF
57453 #define HAVE_STRTOF 1
57454 _ACEOF
57457 done
57464 CXXFLAGS="$ac_save_CXXFLAGS"
57467 *-netbsd*)
57468 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57471 # If we're not using GNU ld, then there's no point in even trying these
57472 # tests. Check for that first. We should have already tested for gld
57473 # by now (in libtool), but require it now just to be safe...
57474 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57475 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57479 # The name set by libtool depends on the version of libtool. Shame on us
57480 # for depending on an impl detail, but c'est la vie. Older versions used
57481 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57482 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57483 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57484 # set (hence we're using an older libtool), then set it.
57485 if test x${with_gnu_ld+set} != xset; then
57486 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57487 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57488 with_gnu_ld=no
57489 else
57490 with_gnu_ld=$ac_cv_prog_gnu_ld
57494 # Start by getting the version number. I think the libtool test already
57495 # does some of this, but throws away the result.
57496 glibcxx_ld_is_gold=no
57497 if test x"$with_gnu_ld" = x"yes"; then
57498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57499 $as_echo_n "checking for ld version... " >&6; }
57501 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57502 glibcxx_ld_is_gold=yes
57504 ldver=`$LD --version 2>/dev/null |
57505 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'`
57507 glibcxx_gnu_ld_version=`echo $ldver | \
57508 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57510 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57513 # Set --gc-sections.
57514 glibcxx_have_gc_sections=no
57515 if test "$glibcxx_ld_is_gold" = "yes"; then
57516 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57517 glibcxx_have_gc_sections=yes
57519 else
57520 glibcxx_gcsections_min_ld=21602
57521 if test x"$with_gnu_ld" = x"yes" &&
57522 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57523 glibcxx_have_gc_sections=yes
57526 if test "$glibcxx_have_gc_sections" = "yes"; then
57527 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57528 # NB: This flag only works reliably after 2.16.1. Configure tests
57529 # for this are difficult, so hard wire a value that should work.
57531 ac_test_CFLAGS="${CFLAGS+set}"
57532 ac_save_CFLAGS="$CFLAGS"
57533 CFLAGS='-Wl,--gc-sections'
57535 # Check for -Wl,--gc-sections
57536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57537 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57538 if test x$gcc_no_link = xyes; then
57539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57542 /* end confdefs.h. */
57543 int one(void) { return 1; }
57544 int two(void) { return 2; }
57547 main ()
57549 two();
57551 return 0;
57553 _ACEOF
57554 if ac_fn_c_try_link "$LINENO"; then :
57555 ac_gcsections=yes
57556 else
57557 ac_gcsections=no
57559 rm -f core conftest.err conftest.$ac_objext \
57560 conftest$ac_exeext conftest.$ac_ext
57561 if test "$ac_gcsections" = "yes"; then
57562 rm -f conftest.c
57563 touch conftest.c
57564 if $CC -c conftest.c; then
57565 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57566 grep "Warning: gc-sections option ignored" > /dev/null; then
57567 ac_gcsections=no
57570 rm -f conftest.c conftest.o conftest
57572 if test "$ac_gcsections" = "yes"; then
57573 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57576 $as_echo "$ac_gcsections" >&6; }
57578 if test "$ac_test_CFLAGS" = set; then
57579 CFLAGS="$ac_save_CFLAGS"
57580 else
57581 # this is the suspicious part
57582 CFLAGS=''
57586 # Set -z,relro.
57587 # Note this is only for shared objects.
57588 ac_ld_relro=no
57589 if test x"$with_gnu_ld" = x"yes"; then
57590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57591 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57592 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57593 if test -n "$cxx_z_relo"; then
57594 OPT_LDFLAGS="-Wl,-z,relro"
57595 ac_ld_relro=yes
57597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57598 $as_echo "$ac_ld_relro" >&6; }
57601 # Set linker optimization flags.
57602 if test x"$with_gnu_ld" = x"yes"; then
57603 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57609 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57611 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57613 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57615 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57617 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57619 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57621 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57623 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57625 if test x"long_double_math_on_this_cpu" = x"yes"; then
57626 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57628 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57630 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57634 *-qnx6.1* | *-qnx6.2*)
57635 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57638 # If we're not using GNU ld, then there's no point in even trying these
57639 # tests. Check for that first. We should have already tested for gld
57640 # by now (in libtool), but require it now just to be safe...
57641 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57642 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57646 # The name set by libtool depends on the version of libtool. Shame on us
57647 # for depending on an impl detail, but c'est la vie. Older versions used
57648 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57649 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57650 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57651 # set (hence we're using an older libtool), then set it.
57652 if test x${with_gnu_ld+set} != xset; then
57653 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57654 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57655 with_gnu_ld=no
57656 else
57657 with_gnu_ld=$ac_cv_prog_gnu_ld
57661 # Start by getting the version number. I think the libtool test already
57662 # does some of this, but throws away the result.
57663 glibcxx_ld_is_gold=no
57664 if test x"$with_gnu_ld" = x"yes"; then
57665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57666 $as_echo_n "checking for ld version... " >&6; }
57668 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57669 glibcxx_ld_is_gold=yes
57671 ldver=`$LD --version 2>/dev/null |
57672 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'`
57674 glibcxx_gnu_ld_version=`echo $ldver | \
57675 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57677 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57680 # Set --gc-sections.
57681 glibcxx_have_gc_sections=no
57682 if test "$glibcxx_ld_is_gold" = "yes"; then
57683 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57684 glibcxx_have_gc_sections=yes
57686 else
57687 glibcxx_gcsections_min_ld=21602
57688 if test x"$with_gnu_ld" = x"yes" &&
57689 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57690 glibcxx_have_gc_sections=yes
57693 if test "$glibcxx_have_gc_sections" = "yes"; then
57694 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57695 # NB: This flag only works reliably after 2.16.1. Configure tests
57696 # for this are difficult, so hard wire a value that should work.
57698 ac_test_CFLAGS="${CFLAGS+set}"
57699 ac_save_CFLAGS="$CFLAGS"
57700 CFLAGS='-Wl,--gc-sections'
57702 # Check for -Wl,--gc-sections
57703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57704 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57705 if test x$gcc_no_link = xyes; then
57706 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57709 /* end confdefs.h. */
57710 int one(void) { return 1; }
57711 int two(void) { return 2; }
57714 main ()
57716 two();
57718 return 0;
57720 _ACEOF
57721 if ac_fn_c_try_link "$LINENO"; then :
57722 ac_gcsections=yes
57723 else
57724 ac_gcsections=no
57726 rm -f core conftest.err conftest.$ac_objext \
57727 conftest$ac_exeext conftest.$ac_ext
57728 if test "$ac_gcsections" = "yes"; then
57729 rm -f conftest.c
57730 touch conftest.c
57731 if $CC -c conftest.c; then
57732 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57733 grep "Warning: gc-sections option ignored" > /dev/null; then
57734 ac_gcsections=no
57737 rm -f conftest.c conftest.o conftest
57739 if test "$ac_gcsections" = "yes"; then
57740 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57743 $as_echo "$ac_gcsections" >&6; }
57745 if test "$ac_test_CFLAGS" = set; then
57746 CFLAGS="$ac_save_CFLAGS"
57747 else
57748 # this is the suspicious part
57749 CFLAGS=''
57753 # Set -z,relro.
57754 # Note this is only for shared objects.
57755 ac_ld_relro=no
57756 if test x"$with_gnu_ld" = x"yes"; then
57757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57758 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57759 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57760 if test -n "$cxx_z_relo"; then
57761 OPT_LDFLAGS="-Wl,-z,relro"
57762 ac_ld_relro=yes
57764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57765 $as_echo "$ac_ld_relro" >&6; }
57768 # Set linker optimization flags.
57769 if test x"$with_gnu_ld" = x"yes"; then
57770 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57776 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57778 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57780 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57782 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57784 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57786 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57788 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57790 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57792 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57794 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57796 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57798 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57801 *-rtems*)
57803 # All these tests are for C++; save the language and the compiler flags.
57804 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57805 # found in GLIBCXX_CONFIGURE.
57807 ac_ext=cpp
57808 ac_cpp='$CXXCPP $CPPFLAGS'
57809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57813 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57814 ac_save_CXXFLAGS="$CXXFLAGS"
57816 # Check for maintainer-mode bits.
57817 if test x"$USE_MAINTAINER_MODE" = xno; then
57818 WERROR=''
57819 else
57820 WERROR='-Werror'
57823 # Check for -ffunction-sections -fdata-sections
57824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57825 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57826 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57828 /* end confdefs.h. */
57829 int foo; void bar() { };
57831 main ()
57835 return 0;
57837 _ACEOF
57838 if ac_fn_cxx_try_compile "$LINENO"; then :
57839 ac_fdsections=yes
57840 else
57841 ac_fdsections=no
57843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57844 if test "$ac_test_CXXFLAGS" = set; then
57845 CXXFLAGS="$ac_save_CXXFLAGS"
57846 else
57847 # this is the suspicious part
57848 CXXFLAGS=''
57850 if test x"$ac_fdsections" = x"yes"; then
57851 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57854 $as_echo "$ac_fdsections" >&6; }
57856 ac_ext=c
57857 ac_cpp='$CPP $CPPFLAGS'
57858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57866 # If we're not using GNU ld, then there's no point in even trying these
57867 # tests. Check for that first. We should have already tested for gld
57868 # by now (in libtool), but require it now just to be safe...
57869 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57870 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57874 # The name set by libtool depends on the version of libtool. Shame on us
57875 # for depending on an impl detail, but c'est la vie. Older versions used
57876 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57877 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57878 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57879 # set (hence we're using an older libtool), then set it.
57880 if test x${with_gnu_ld+set} != xset; then
57881 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57882 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57883 with_gnu_ld=no
57884 else
57885 with_gnu_ld=$ac_cv_prog_gnu_ld
57889 # Start by getting the version number. I think the libtool test already
57890 # does some of this, but throws away the result.
57891 glibcxx_ld_is_gold=no
57892 if test x"$with_gnu_ld" = x"yes"; then
57893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57894 $as_echo_n "checking for ld version... " >&6; }
57896 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57897 glibcxx_ld_is_gold=yes
57899 ldver=`$LD --version 2>/dev/null |
57900 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'`
57902 glibcxx_gnu_ld_version=`echo $ldver | \
57903 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57905 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57908 # Set --gc-sections.
57909 glibcxx_have_gc_sections=no
57910 if test "$glibcxx_ld_is_gold" = "yes"; then
57911 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57912 glibcxx_have_gc_sections=yes
57914 else
57915 glibcxx_gcsections_min_ld=21602
57916 if test x"$with_gnu_ld" = x"yes" &&
57917 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57918 glibcxx_have_gc_sections=yes
57921 if test "$glibcxx_have_gc_sections" = "yes"; then
57922 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57923 # NB: This flag only works reliably after 2.16.1. Configure tests
57924 # for this are difficult, so hard wire a value that should work.
57926 ac_test_CFLAGS="${CFLAGS+set}"
57927 ac_save_CFLAGS="$CFLAGS"
57928 CFLAGS='-Wl,--gc-sections'
57930 # Check for -Wl,--gc-sections
57931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57932 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57933 if test x$gcc_no_link = xyes; then
57934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57937 /* end confdefs.h. */
57938 int one(void) { return 1; }
57939 int two(void) { return 2; }
57942 main ()
57944 two();
57946 return 0;
57948 _ACEOF
57949 if ac_fn_c_try_link "$LINENO"; then :
57950 ac_gcsections=yes
57951 else
57952 ac_gcsections=no
57954 rm -f core conftest.err conftest.$ac_objext \
57955 conftest$ac_exeext conftest.$ac_ext
57956 if test "$ac_gcsections" = "yes"; then
57957 rm -f conftest.c
57958 touch conftest.c
57959 if $CC -c conftest.c; then
57960 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57961 grep "Warning: gc-sections option ignored" > /dev/null; then
57962 ac_gcsections=no
57965 rm -f conftest.c conftest.o conftest
57967 if test "$ac_gcsections" = "yes"; then
57968 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57971 $as_echo "$ac_gcsections" >&6; }
57973 if test "$ac_test_CFLAGS" = set; then
57974 CFLAGS="$ac_save_CFLAGS"
57975 else
57976 # this is the suspicious part
57977 CFLAGS=''
57981 # Set -z,relro.
57982 # Note this is only for shared objects.
57983 ac_ld_relro=no
57984 if test x"$with_gnu_ld" = x"yes"; then
57985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57986 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57987 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57988 if test -n "$cxx_z_relo"; then
57989 OPT_LDFLAGS="-Wl,-z,relro"
57990 ac_ld_relro=yes
57992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57993 $as_echo "$ac_ld_relro" >&6; }
57996 # Set linker optimization flags.
57997 if test x"$with_gnu_ld" = x"yes"; then
57998 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58005 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58006 ac_save_CXXFLAGS="$CXXFLAGS"
58007 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58010 $as_echo_n "checking for sin in -lm... " >&6; }
58011 if test "${ac_cv_lib_m_sin+set}" = set; then :
58012 $as_echo_n "(cached) " >&6
58013 else
58014 ac_check_lib_save_LIBS=$LIBS
58015 LIBS="-lm $LIBS"
58016 if test x$gcc_no_link = xyes; then
58017 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58020 /* end confdefs.h. */
58022 /* Override any GCC internal prototype to avoid an error.
58023 Use char because int might match the return type of a GCC
58024 builtin and then its argument prototype would still apply. */
58025 #ifdef __cplusplus
58026 extern "C"
58027 #endif
58028 char sin ();
58030 main ()
58032 return sin ();
58034 return 0;
58036 _ACEOF
58037 if ac_fn_c_try_link "$LINENO"; then :
58038 ac_cv_lib_m_sin=yes
58039 else
58040 ac_cv_lib_m_sin=no
58042 rm -f core conftest.err conftest.$ac_objext \
58043 conftest$ac_exeext conftest.$ac_ext
58044 LIBS=$ac_check_lib_save_LIBS
58046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58047 $as_echo "$ac_cv_lib_m_sin" >&6; }
58048 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58049 libm="-lm"
58052 ac_save_LIBS="$LIBS"
58053 LIBS="$LIBS $libm"
58057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58058 $as_echo_n "checking for isinf declaration... " >&6; }
58059 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58060 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58061 $as_echo_n "(cached) " >&6
58062 else
58065 ac_ext=cpp
58066 ac_cpp='$CXXCPP $CPPFLAGS'
58067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58072 /* end confdefs.h. */
58073 #include <math.h>
58074 #ifdef HAVE_IEEEFP_H
58075 #include <ieeefp.h>
58076 #endif
58079 main ()
58081 isinf(0);
58083 return 0;
58085 _ACEOF
58086 if ac_fn_cxx_try_compile "$LINENO"; then :
58087 glibcxx_cv_func_isinf_use=yes
58088 else
58089 glibcxx_cv_func_isinf_use=no
58091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58092 ac_ext=c
58093 ac_cpp='$CPP $CPPFLAGS'
58094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58103 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58105 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58106 for ac_func in isinf
58107 do :
58108 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58109 if test "x$ac_cv_func_isinf" = x""yes; then :
58110 cat >>confdefs.h <<_ACEOF
58111 #define HAVE_ISINF 1
58112 _ACEOF
58115 done
58117 else
58119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58120 $as_echo_n "checking for _isinf declaration... " >&6; }
58121 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58122 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58123 $as_echo_n "(cached) " >&6
58124 else
58127 ac_ext=cpp
58128 ac_cpp='$CXXCPP $CPPFLAGS'
58129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58134 /* end confdefs.h. */
58135 #include <math.h>
58136 #ifdef HAVE_IEEEFP_H
58137 #include <ieeefp.h>
58138 #endif
58141 main ()
58143 _isinf(0);
58145 return 0;
58147 _ACEOF
58148 if ac_fn_cxx_try_compile "$LINENO"; then :
58149 glibcxx_cv_func__isinf_use=yes
58150 else
58151 glibcxx_cv_func__isinf_use=no
58153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58154 ac_ext=c
58155 ac_cpp='$CPP $CPPFLAGS'
58156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58165 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58167 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58168 for ac_func in _isinf
58169 do :
58170 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58171 if test "x$ac_cv_func__isinf" = x""yes; then :
58172 cat >>confdefs.h <<_ACEOF
58173 #define HAVE__ISINF 1
58174 _ACEOF
58177 done
58186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58187 $as_echo_n "checking for isnan declaration... " >&6; }
58188 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58189 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58190 $as_echo_n "(cached) " >&6
58191 else
58194 ac_ext=cpp
58195 ac_cpp='$CXXCPP $CPPFLAGS'
58196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58201 /* end confdefs.h. */
58202 #include <math.h>
58203 #ifdef HAVE_IEEEFP_H
58204 #include <ieeefp.h>
58205 #endif
58208 main ()
58210 isnan(0);
58212 return 0;
58214 _ACEOF
58215 if ac_fn_cxx_try_compile "$LINENO"; then :
58216 glibcxx_cv_func_isnan_use=yes
58217 else
58218 glibcxx_cv_func_isnan_use=no
58220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58221 ac_ext=c
58222 ac_cpp='$CPP $CPPFLAGS'
58223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58232 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58234 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58235 for ac_func in isnan
58236 do :
58237 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58238 if test "x$ac_cv_func_isnan" = x""yes; then :
58239 cat >>confdefs.h <<_ACEOF
58240 #define HAVE_ISNAN 1
58241 _ACEOF
58244 done
58246 else
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58249 $as_echo_n "checking for _isnan declaration... " >&6; }
58250 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58251 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58252 $as_echo_n "(cached) " >&6
58253 else
58256 ac_ext=cpp
58257 ac_cpp='$CXXCPP $CPPFLAGS'
58258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58263 /* end confdefs.h. */
58264 #include <math.h>
58265 #ifdef HAVE_IEEEFP_H
58266 #include <ieeefp.h>
58267 #endif
58270 main ()
58272 _isnan(0);
58274 return 0;
58276 _ACEOF
58277 if ac_fn_cxx_try_compile "$LINENO"; then :
58278 glibcxx_cv_func__isnan_use=yes
58279 else
58280 glibcxx_cv_func__isnan_use=no
58282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58283 ac_ext=c
58284 ac_cpp='$CPP $CPPFLAGS'
58285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58294 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58296 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58297 for ac_func in _isnan
58298 do :
58299 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58300 if test "x$ac_cv_func__isnan" = x""yes; then :
58301 cat >>confdefs.h <<_ACEOF
58302 #define HAVE__ISNAN 1
58303 _ACEOF
58306 done
58315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58316 $as_echo_n "checking for finite declaration... " >&6; }
58317 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58318 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58319 $as_echo_n "(cached) " >&6
58320 else
58323 ac_ext=cpp
58324 ac_cpp='$CXXCPP $CPPFLAGS'
58325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330 /* end confdefs.h. */
58331 #include <math.h>
58332 #ifdef HAVE_IEEEFP_H
58333 #include <ieeefp.h>
58334 #endif
58337 main ()
58339 finite(0);
58341 return 0;
58343 _ACEOF
58344 if ac_fn_cxx_try_compile "$LINENO"; then :
58345 glibcxx_cv_func_finite_use=yes
58346 else
58347 glibcxx_cv_func_finite_use=no
58349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58350 ac_ext=c
58351 ac_cpp='$CPP $CPPFLAGS'
58352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58361 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58363 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58364 for ac_func in finite
58365 do :
58366 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58367 if test "x$ac_cv_func_finite" = x""yes; then :
58368 cat >>confdefs.h <<_ACEOF
58369 #define HAVE_FINITE 1
58370 _ACEOF
58373 done
58375 else
58377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58378 $as_echo_n "checking for _finite declaration... " >&6; }
58379 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58380 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58381 $as_echo_n "(cached) " >&6
58382 else
58385 ac_ext=cpp
58386 ac_cpp='$CXXCPP $CPPFLAGS'
58387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58392 /* end confdefs.h. */
58393 #include <math.h>
58394 #ifdef HAVE_IEEEFP_H
58395 #include <ieeefp.h>
58396 #endif
58399 main ()
58401 _finite(0);
58403 return 0;
58405 _ACEOF
58406 if ac_fn_cxx_try_compile "$LINENO"; then :
58407 glibcxx_cv_func__finite_use=yes
58408 else
58409 glibcxx_cv_func__finite_use=no
58411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58412 ac_ext=c
58413 ac_cpp='$CPP $CPPFLAGS'
58414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58423 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58425 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58426 for ac_func in _finite
58427 do :
58428 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58429 if test "x$ac_cv_func__finite" = x""yes; then :
58430 cat >>confdefs.h <<_ACEOF
58431 #define HAVE__FINITE 1
58432 _ACEOF
58435 done
58444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58445 $as_echo_n "checking for sincos declaration... " >&6; }
58446 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58447 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58448 $as_echo_n "(cached) " >&6
58449 else
58452 ac_ext=cpp
58453 ac_cpp='$CXXCPP $CPPFLAGS'
58454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58459 /* end confdefs.h. */
58460 #include <math.h>
58462 main ()
58464 sincos(0, 0, 0);
58466 return 0;
58468 _ACEOF
58469 if ac_fn_cxx_try_compile "$LINENO"; then :
58470 glibcxx_cv_func_sincos_use=yes
58471 else
58472 glibcxx_cv_func_sincos_use=no
58474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58475 ac_ext=c
58476 ac_cpp='$CPP $CPPFLAGS'
58477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58486 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58488 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58489 for ac_func in sincos
58490 do :
58491 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58492 if test "x$ac_cv_func_sincos" = x""yes; then :
58493 cat >>confdefs.h <<_ACEOF
58494 #define HAVE_SINCOS 1
58495 _ACEOF
58498 done
58500 else
58502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58503 $as_echo_n "checking for _sincos declaration... " >&6; }
58504 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58505 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58506 $as_echo_n "(cached) " >&6
58507 else
58510 ac_ext=cpp
58511 ac_cpp='$CXXCPP $CPPFLAGS'
58512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58517 /* end confdefs.h. */
58518 #include <math.h>
58520 main ()
58522 _sincos(0, 0, 0);
58524 return 0;
58526 _ACEOF
58527 if ac_fn_cxx_try_compile "$LINENO"; then :
58528 glibcxx_cv_func__sincos_use=yes
58529 else
58530 glibcxx_cv_func__sincos_use=no
58532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58533 ac_ext=c
58534 ac_cpp='$CPP $CPPFLAGS'
58535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58544 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58546 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58547 for ac_func in _sincos
58548 do :
58549 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58550 if test "x$ac_cv_func__sincos" = x""yes; then :
58551 cat >>confdefs.h <<_ACEOF
58552 #define HAVE__SINCOS 1
58553 _ACEOF
58556 done
58565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58566 $as_echo_n "checking for fpclass declaration... " >&6; }
58567 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58568 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58569 $as_echo_n "(cached) " >&6
58570 else
58573 ac_ext=cpp
58574 ac_cpp='$CXXCPP $CPPFLAGS'
58575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58580 /* end confdefs.h. */
58581 #include <math.h>
58582 #ifdef HAVE_IEEEFP_H
58583 #include <ieeefp.h>
58584 #endif
58587 main ()
58589 fpclass(0);
58591 return 0;
58593 _ACEOF
58594 if ac_fn_cxx_try_compile "$LINENO"; then :
58595 glibcxx_cv_func_fpclass_use=yes
58596 else
58597 glibcxx_cv_func_fpclass_use=no
58599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58600 ac_ext=c
58601 ac_cpp='$CPP $CPPFLAGS'
58602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58611 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58613 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58614 for ac_func in fpclass
58615 do :
58616 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58617 if test "x$ac_cv_func_fpclass" = x""yes; then :
58618 cat >>confdefs.h <<_ACEOF
58619 #define HAVE_FPCLASS 1
58620 _ACEOF
58623 done
58625 else
58627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58628 $as_echo_n "checking for _fpclass declaration... " >&6; }
58629 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58630 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58631 $as_echo_n "(cached) " >&6
58632 else
58635 ac_ext=cpp
58636 ac_cpp='$CXXCPP $CPPFLAGS'
58637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58642 /* end confdefs.h. */
58643 #include <math.h>
58644 #ifdef HAVE_IEEEFP_H
58645 #include <ieeefp.h>
58646 #endif
58649 main ()
58651 _fpclass(0);
58653 return 0;
58655 _ACEOF
58656 if ac_fn_cxx_try_compile "$LINENO"; then :
58657 glibcxx_cv_func__fpclass_use=yes
58658 else
58659 glibcxx_cv_func__fpclass_use=no
58661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58662 ac_ext=c
58663 ac_cpp='$CPP $CPPFLAGS'
58664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58673 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58675 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58676 for ac_func in _fpclass
58677 do :
58678 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58679 if test "x$ac_cv_func__fpclass" = x""yes; then :
58680 cat >>confdefs.h <<_ACEOF
58681 #define HAVE__FPCLASS 1
58682 _ACEOF
58685 done
58694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58695 $as_echo_n "checking for qfpclass declaration... " >&6; }
58696 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58697 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58698 $as_echo_n "(cached) " >&6
58699 else
58702 ac_ext=cpp
58703 ac_cpp='$CXXCPP $CPPFLAGS'
58704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58709 /* end confdefs.h. */
58710 #include <math.h>
58711 #ifdef HAVE_IEEEFP_H
58712 #include <ieeefp.h>
58713 #endif
58716 main ()
58718 qfpclass(0);
58720 return 0;
58722 _ACEOF
58723 if ac_fn_cxx_try_compile "$LINENO"; then :
58724 glibcxx_cv_func_qfpclass_use=yes
58725 else
58726 glibcxx_cv_func_qfpclass_use=no
58728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58729 ac_ext=c
58730 ac_cpp='$CPP $CPPFLAGS'
58731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58740 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58742 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58743 for ac_func in qfpclass
58744 do :
58745 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58746 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58747 cat >>confdefs.h <<_ACEOF
58748 #define HAVE_QFPCLASS 1
58749 _ACEOF
58752 done
58754 else
58756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58757 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58758 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58759 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58760 $as_echo_n "(cached) " >&6
58761 else
58764 ac_ext=cpp
58765 ac_cpp='$CXXCPP $CPPFLAGS'
58766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58771 /* end confdefs.h. */
58772 #include <math.h>
58773 #ifdef HAVE_IEEEFP_H
58774 #include <ieeefp.h>
58775 #endif
58778 main ()
58780 _qfpclass(0);
58782 return 0;
58784 _ACEOF
58785 if ac_fn_cxx_try_compile "$LINENO"; then :
58786 glibcxx_cv_func__qfpclass_use=yes
58787 else
58788 glibcxx_cv_func__qfpclass_use=no
58790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58791 ac_ext=c
58792 ac_cpp='$CPP $CPPFLAGS'
58793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58802 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58804 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58805 for ac_func in _qfpclass
58806 do :
58807 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58808 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58809 cat >>confdefs.h <<_ACEOF
58810 #define HAVE__QFPCLASS 1
58811 _ACEOF
58814 done
58823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58824 $as_echo_n "checking for hypot declaration... " >&6; }
58825 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58826 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58827 $as_echo_n "(cached) " >&6
58828 else
58831 ac_ext=cpp
58832 ac_cpp='$CXXCPP $CPPFLAGS'
58833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58838 /* end confdefs.h. */
58839 #include <math.h>
58841 main ()
58843 hypot(0, 0);
58845 return 0;
58847 _ACEOF
58848 if ac_fn_cxx_try_compile "$LINENO"; then :
58849 glibcxx_cv_func_hypot_use=yes
58850 else
58851 glibcxx_cv_func_hypot_use=no
58853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58854 ac_ext=c
58855 ac_cpp='$CPP $CPPFLAGS'
58856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58865 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58867 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58868 for ac_func in hypot
58869 do :
58870 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58871 if test "x$ac_cv_func_hypot" = x""yes; then :
58872 cat >>confdefs.h <<_ACEOF
58873 #define HAVE_HYPOT 1
58874 _ACEOF
58877 done
58879 else
58881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58882 $as_echo_n "checking for _hypot declaration... " >&6; }
58883 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58884 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58885 $as_echo_n "(cached) " >&6
58886 else
58889 ac_ext=cpp
58890 ac_cpp='$CXXCPP $CPPFLAGS'
58891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58896 /* end confdefs.h. */
58897 #include <math.h>
58899 main ()
58901 _hypot(0, 0);
58903 return 0;
58905 _ACEOF
58906 if ac_fn_cxx_try_compile "$LINENO"; then :
58907 glibcxx_cv_func__hypot_use=yes
58908 else
58909 glibcxx_cv_func__hypot_use=no
58911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58912 ac_ext=c
58913 ac_cpp='$CPP $CPPFLAGS'
58914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58923 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58925 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58926 for ac_func in _hypot
58927 do :
58928 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58929 if test "x$ac_cv_func__hypot" = x""yes; then :
58930 cat >>confdefs.h <<_ACEOF
58931 #define HAVE__HYPOT 1
58932 _ACEOF
58935 done
58944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58945 $as_echo_n "checking for float trig functions... " >&6; }
58946 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58947 $as_echo_n "(cached) " >&6
58948 else
58951 ac_ext=cpp
58952 ac_cpp='$CXXCPP $CPPFLAGS'
58953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58958 /* end confdefs.h. */
58959 #include <math.h>
58961 main ()
58963 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58965 return 0;
58967 _ACEOF
58968 if ac_fn_cxx_try_compile "$LINENO"; then :
58969 glibcxx_cv_func_float_trig_use=yes
58970 else
58971 glibcxx_cv_func_float_trig_use=no
58973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58974 ac_ext=c
58975 ac_cpp='$CPP $CPPFLAGS'
58976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58983 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58984 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58985 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58986 do :
58987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58989 eval as_val=\$$as_ac_var
58990 if test "x$as_val" = x""yes; then :
58991 cat >>confdefs.h <<_ACEOF
58992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58993 _ACEOF
58996 done
58998 else
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59000 $as_echo_n "checking for _float trig functions... " >&6; }
59001 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59002 $as_echo_n "(cached) " >&6
59003 else
59006 ac_ext=cpp
59007 ac_cpp='$CXXCPP $CPPFLAGS'
59008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59013 /* end confdefs.h. */
59014 #include <math.h>
59016 main ()
59018 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59020 return 0;
59022 _ACEOF
59023 if ac_fn_cxx_try_compile "$LINENO"; then :
59024 glibcxx_cv_func__float_trig_use=yes
59025 else
59026 glibcxx_cv_func__float_trig_use=no
59028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59029 ac_ext=c
59030 ac_cpp='$CPP $CPPFLAGS'
59031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59038 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59039 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59040 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59041 do :
59042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59044 eval as_val=\$$as_ac_var
59045 if test "x$as_val" = x""yes; then :
59046 cat >>confdefs.h <<_ACEOF
59047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59048 _ACEOF
59051 done
59060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59061 $as_echo_n "checking for float round functions... " >&6; }
59062 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59063 $as_echo_n "(cached) " >&6
59064 else
59067 ac_ext=cpp
59068 ac_cpp='$CXXCPP $CPPFLAGS'
59069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59074 /* end confdefs.h. */
59075 #include <math.h>
59077 main ()
59079 ceilf (0); floorf (0);
59081 return 0;
59083 _ACEOF
59084 if ac_fn_cxx_try_compile "$LINENO"; then :
59085 glibcxx_cv_func_float_round_use=yes
59086 else
59087 glibcxx_cv_func_float_round_use=no
59089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59090 ac_ext=c
59091 ac_cpp='$CPP $CPPFLAGS'
59092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59099 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59100 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59101 for ac_func in ceilf floorf
59102 do :
59103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59105 eval as_val=\$$as_ac_var
59106 if test "x$as_val" = x""yes; then :
59107 cat >>confdefs.h <<_ACEOF
59108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59109 _ACEOF
59112 done
59114 else
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59116 $as_echo_n "checking for _float round functions... " >&6; }
59117 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59118 $as_echo_n "(cached) " >&6
59119 else
59122 ac_ext=cpp
59123 ac_cpp='$CXXCPP $CPPFLAGS'
59124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59129 /* end confdefs.h. */
59130 #include <math.h>
59132 main ()
59134 _ceilf (0); _floorf (0);
59136 return 0;
59138 _ACEOF
59139 if ac_fn_cxx_try_compile "$LINENO"; then :
59140 glibcxx_cv_func__float_round_use=yes
59141 else
59142 glibcxx_cv_func__float_round_use=no
59144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59145 ac_ext=c
59146 ac_cpp='$CPP $CPPFLAGS'
59147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59154 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59155 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59156 for ac_func in _ceilf _floorf
59157 do :
59158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59160 eval as_val=\$$as_ac_var
59161 if test "x$as_val" = x""yes; then :
59162 cat >>confdefs.h <<_ACEOF
59163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59164 _ACEOF
59167 done
59177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59178 $as_echo_n "checking for expf declaration... " >&6; }
59179 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59180 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59181 $as_echo_n "(cached) " >&6
59182 else
59185 ac_ext=cpp
59186 ac_cpp='$CXXCPP $CPPFLAGS'
59187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59192 /* end confdefs.h. */
59193 #include <math.h>
59194 #ifdef HAVE_IEEEFP_H
59195 #include <ieeefp.h>
59196 #endif
59199 main ()
59201 expf(0);
59203 return 0;
59205 _ACEOF
59206 if ac_fn_cxx_try_compile "$LINENO"; then :
59207 glibcxx_cv_func_expf_use=yes
59208 else
59209 glibcxx_cv_func_expf_use=no
59211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59212 ac_ext=c
59213 ac_cpp='$CPP $CPPFLAGS'
59214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59223 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59225 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59226 for ac_func in expf
59227 do :
59228 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59229 if test "x$ac_cv_func_expf" = x""yes; then :
59230 cat >>confdefs.h <<_ACEOF
59231 #define HAVE_EXPF 1
59232 _ACEOF
59235 done
59237 else
59239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59240 $as_echo_n "checking for _expf declaration... " >&6; }
59241 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59242 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59243 $as_echo_n "(cached) " >&6
59244 else
59247 ac_ext=cpp
59248 ac_cpp='$CXXCPP $CPPFLAGS'
59249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59254 /* end confdefs.h. */
59255 #include <math.h>
59256 #ifdef HAVE_IEEEFP_H
59257 #include <ieeefp.h>
59258 #endif
59261 main ()
59263 _expf(0);
59265 return 0;
59267 _ACEOF
59268 if ac_fn_cxx_try_compile "$LINENO"; then :
59269 glibcxx_cv_func__expf_use=yes
59270 else
59271 glibcxx_cv_func__expf_use=no
59273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59274 ac_ext=c
59275 ac_cpp='$CPP $CPPFLAGS'
59276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59285 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59287 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59288 for ac_func in _expf
59289 do :
59290 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59291 if test "x$ac_cv_func__expf" = x""yes; then :
59292 cat >>confdefs.h <<_ACEOF
59293 #define HAVE__EXPF 1
59294 _ACEOF
59297 done
59306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59307 $as_echo_n "checking for isnanf declaration... " >&6; }
59308 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59309 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59310 $as_echo_n "(cached) " >&6
59311 else
59314 ac_ext=cpp
59315 ac_cpp='$CXXCPP $CPPFLAGS'
59316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59321 /* end confdefs.h. */
59322 #include <math.h>
59323 #ifdef HAVE_IEEEFP_H
59324 #include <ieeefp.h>
59325 #endif
59328 main ()
59330 isnanf(0);
59332 return 0;
59334 _ACEOF
59335 if ac_fn_cxx_try_compile "$LINENO"; then :
59336 glibcxx_cv_func_isnanf_use=yes
59337 else
59338 glibcxx_cv_func_isnanf_use=no
59340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59341 ac_ext=c
59342 ac_cpp='$CPP $CPPFLAGS'
59343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59352 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59354 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59355 for ac_func in isnanf
59356 do :
59357 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59358 if test "x$ac_cv_func_isnanf" = x""yes; then :
59359 cat >>confdefs.h <<_ACEOF
59360 #define HAVE_ISNANF 1
59361 _ACEOF
59364 done
59366 else
59368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59369 $as_echo_n "checking for _isnanf declaration... " >&6; }
59370 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59371 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59372 $as_echo_n "(cached) " >&6
59373 else
59376 ac_ext=cpp
59377 ac_cpp='$CXXCPP $CPPFLAGS'
59378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59383 /* end confdefs.h. */
59384 #include <math.h>
59385 #ifdef HAVE_IEEEFP_H
59386 #include <ieeefp.h>
59387 #endif
59390 main ()
59392 _isnanf(0);
59394 return 0;
59396 _ACEOF
59397 if ac_fn_cxx_try_compile "$LINENO"; then :
59398 glibcxx_cv_func__isnanf_use=yes
59399 else
59400 glibcxx_cv_func__isnanf_use=no
59402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59403 ac_ext=c
59404 ac_cpp='$CPP $CPPFLAGS'
59405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59414 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59416 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59417 for ac_func in _isnanf
59418 do :
59419 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59420 if test "x$ac_cv_func__isnanf" = x""yes; then :
59421 cat >>confdefs.h <<_ACEOF
59422 #define HAVE__ISNANF 1
59423 _ACEOF
59426 done
59435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59436 $as_echo_n "checking for isinff declaration... " >&6; }
59437 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59438 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59439 $as_echo_n "(cached) " >&6
59440 else
59443 ac_ext=cpp
59444 ac_cpp='$CXXCPP $CPPFLAGS'
59445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59450 /* end confdefs.h. */
59451 #include <math.h>
59452 #ifdef HAVE_IEEEFP_H
59453 #include <ieeefp.h>
59454 #endif
59457 main ()
59459 isinff(0);
59461 return 0;
59463 _ACEOF
59464 if ac_fn_cxx_try_compile "$LINENO"; then :
59465 glibcxx_cv_func_isinff_use=yes
59466 else
59467 glibcxx_cv_func_isinff_use=no
59469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59470 ac_ext=c
59471 ac_cpp='$CPP $CPPFLAGS'
59472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59481 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59483 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59484 for ac_func in isinff
59485 do :
59486 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59487 if test "x$ac_cv_func_isinff" = x""yes; then :
59488 cat >>confdefs.h <<_ACEOF
59489 #define HAVE_ISINFF 1
59490 _ACEOF
59493 done
59495 else
59497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59498 $as_echo_n "checking for _isinff declaration... " >&6; }
59499 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59500 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59501 $as_echo_n "(cached) " >&6
59502 else
59505 ac_ext=cpp
59506 ac_cpp='$CXXCPP $CPPFLAGS'
59507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59512 /* end confdefs.h. */
59513 #include <math.h>
59514 #ifdef HAVE_IEEEFP_H
59515 #include <ieeefp.h>
59516 #endif
59519 main ()
59521 _isinff(0);
59523 return 0;
59525 _ACEOF
59526 if ac_fn_cxx_try_compile "$LINENO"; then :
59527 glibcxx_cv_func__isinff_use=yes
59528 else
59529 glibcxx_cv_func__isinff_use=no
59531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59532 ac_ext=c
59533 ac_cpp='$CPP $CPPFLAGS'
59534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59543 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59545 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59546 for ac_func in _isinff
59547 do :
59548 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59549 if test "x$ac_cv_func__isinff" = x""yes; then :
59550 cat >>confdefs.h <<_ACEOF
59551 #define HAVE__ISINFF 1
59552 _ACEOF
59555 done
59564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59565 $as_echo_n "checking for atan2f declaration... " >&6; }
59566 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59567 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59568 $as_echo_n "(cached) " >&6
59569 else
59572 ac_ext=cpp
59573 ac_cpp='$CXXCPP $CPPFLAGS'
59574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59579 /* end confdefs.h. */
59580 #include <math.h>
59582 main ()
59584 atan2f(0, 0);
59586 return 0;
59588 _ACEOF
59589 if ac_fn_cxx_try_compile "$LINENO"; then :
59590 glibcxx_cv_func_atan2f_use=yes
59591 else
59592 glibcxx_cv_func_atan2f_use=no
59594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59595 ac_ext=c
59596 ac_cpp='$CPP $CPPFLAGS'
59597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59606 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59608 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59609 for ac_func in atan2f
59610 do :
59611 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59612 if test "x$ac_cv_func_atan2f" = x""yes; then :
59613 cat >>confdefs.h <<_ACEOF
59614 #define HAVE_ATAN2F 1
59615 _ACEOF
59618 done
59620 else
59622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59623 $as_echo_n "checking for _atan2f declaration... " >&6; }
59624 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59625 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59626 $as_echo_n "(cached) " >&6
59627 else
59630 ac_ext=cpp
59631 ac_cpp='$CXXCPP $CPPFLAGS'
59632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59637 /* end confdefs.h. */
59638 #include <math.h>
59640 main ()
59642 _atan2f(0, 0);
59644 return 0;
59646 _ACEOF
59647 if ac_fn_cxx_try_compile "$LINENO"; then :
59648 glibcxx_cv_func__atan2f_use=yes
59649 else
59650 glibcxx_cv_func__atan2f_use=no
59652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59653 ac_ext=c
59654 ac_cpp='$CPP $CPPFLAGS'
59655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59664 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59666 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59667 for ac_func in _atan2f
59668 do :
59669 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59670 if test "x$ac_cv_func__atan2f" = x""yes; then :
59671 cat >>confdefs.h <<_ACEOF
59672 #define HAVE__ATAN2F 1
59673 _ACEOF
59676 done
59685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59686 $as_echo_n "checking for fabsf declaration... " >&6; }
59687 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59688 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59689 $as_echo_n "(cached) " >&6
59690 else
59693 ac_ext=cpp
59694 ac_cpp='$CXXCPP $CPPFLAGS'
59695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59700 /* end confdefs.h. */
59701 #include <math.h>
59702 #ifdef HAVE_IEEEFP_H
59703 #include <ieeefp.h>
59704 #endif
59707 main ()
59709 fabsf(0);
59711 return 0;
59713 _ACEOF
59714 if ac_fn_cxx_try_compile "$LINENO"; then :
59715 glibcxx_cv_func_fabsf_use=yes
59716 else
59717 glibcxx_cv_func_fabsf_use=no
59719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59720 ac_ext=c
59721 ac_cpp='$CPP $CPPFLAGS'
59722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59731 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59733 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59734 for ac_func in fabsf
59735 do :
59736 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59737 if test "x$ac_cv_func_fabsf" = x""yes; then :
59738 cat >>confdefs.h <<_ACEOF
59739 #define HAVE_FABSF 1
59740 _ACEOF
59743 done
59745 else
59747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59748 $as_echo_n "checking for _fabsf declaration... " >&6; }
59749 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59750 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59751 $as_echo_n "(cached) " >&6
59752 else
59755 ac_ext=cpp
59756 ac_cpp='$CXXCPP $CPPFLAGS'
59757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59762 /* end confdefs.h. */
59763 #include <math.h>
59764 #ifdef HAVE_IEEEFP_H
59765 #include <ieeefp.h>
59766 #endif
59769 main ()
59771 _fabsf(0);
59773 return 0;
59775 _ACEOF
59776 if ac_fn_cxx_try_compile "$LINENO"; then :
59777 glibcxx_cv_func__fabsf_use=yes
59778 else
59779 glibcxx_cv_func__fabsf_use=no
59781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59782 ac_ext=c
59783 ac_cpp='$CPP $CPPFLAGS'
59784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59793 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59795 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59796 for ac_func in _fabsf
59797 do :
59798 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59799 if test "x$ac_cv_func__fabsf" = x""yes; then :
59800 cat >>confdefs.h <<_ACEOF
59801 #define HAVE__FABSF 1
59802 _ACEOF
59805 done
59814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59815 $as_echo_n "checking for fmodf declaration... " >&6; }
59816 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59817 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59818 $as_echo_n "(cached) " >&6
59819 else
59822 ac_ext=cpp
59823 ac_cpp='$CXXCPP $CPPFLAGS'
59824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59829 /* end confdefs.h. */
59830 #include <math.h>
59832 main ()
59834 fmodf(0, 0);
59836 return 0;
59838 _ACEOF
59839 if ac_fn_cxx_try_compile "$LINENO"; then :
59840 glibcxx_cv_func_fmodf_use=yes
59841 else
59842 glibcxx_cv_func_fmodf_use=no
59844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59845 ac_ext=c
59846 ac_cpp='$CPP $CPPFLAGS'
59847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59856 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59858 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59859 for ac_func in fmodf
59860 do :
59861 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59862 if test "x$ac_cv_func_fmodf" = x""yes; then :
59863 cat >>confdefs.h <<_ACEOF
59864 #define HAVE_FMODF 1
59865 _ACEOF
59868 done
59870 else
59872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59873 $as_echo_n "checking for _fmodf declaration... " >&6; }
59874 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59875 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59876 $as_echo_n "(cached) " >&6
59877 else
59880 ac_ext=cpp
59881 ac_cpp='$CXXCPP $CPPFLAGS'
59882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59887 /* end confdefs.h. */
59888 #include <math.h>
59890 main ()
59892 _fmodf(0, 0);
59894 return 0;
59896 _ACEOF
59897 if ac_fn_cxx_try_compile "$LINENO"; then :
59898 glibcxx_cv_func__fmodf_use=yes
59899 else
59900 glibcxx_cv_func__fmodf_use=no
59902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59903 ac_ext=c
59904 ac_cpp='$CPP $CPPFLAGS'
59905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59914 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59916 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59917 for ac_func in _fmodf
59918 do :
59919 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59920 if test "x$ac_cv_func__fmodf" = x""yes; then :
59921 cat >>confdefs.h <<_ACEOF
59922 #define HAVE__FMODF 1
59923 _ACEOF
59926 done
59935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59936 $as_echo_n "checking for frexpf declaration... " >&6; }
59937 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59938 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59939 $as_echo_n "(cached) " >&6
59940 else
59943 ac_ext=cpp
59944 ac_cpp='$CXXCPP $CPPFLAGS'
59945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59950 /* end confdefs.h. */
59951 #include <math.h>
59953 main ()
59955 frexpf(0, 0);
59957 return 0;
59959 _ACEOF
59960 if ac_fn_cxx_try_compile "$LINENO"; then :
59961 glibcxx_cv_func_frexpf_use=yes
59962 else
59963 glibcxx_cv_func_frexpf_use=no
59965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59966 ac_ext=c
59967 ac_cpp='$CPP $CPPFLAGS'
59968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59977 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59979 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59980 for ac_func in frexpf
59981 do :
59982 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59983 if test "x$ac_cv_func_frexpf" = x""yes; then :
59984 cat >>confdefs.h <<_ACEOF
59985 #define HAVE_FREXPF 1
59986 _ACEOF
59989 done
59991 else
59993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59994 $as_echo_n "checking for _frexpf declaration... " >&6; }
59995 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59996 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59997 $as_echo_n "(cached) " >&6
59998 else
60001 ac_ext=cpp
60002 ac_cpp='$CXXCPP $CPPFLAGS'
60003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60008 /* end confdefs.h. */
60009 #include <math.h>
60011 main ()
60013 _frexpf(0, 0);
60015 return 0;
60017 _ACEOF
60018 if ac_fn_cxx_try_compile "$LINENO"; then :
60019 glibcxx_cv_func__frexpf_use=yes
60020 else
60021 glibcxx_cv_func__frexpf_use=no
60023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60024 ac_ext=c
60025 ac_cpp='$CPP $CPPFLAGS'
60026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60035 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60037 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60038 for ac_func in _frexpf
60039 do :
60040 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60041 if test "x$ac_cv_func__frexpf" = x""yes; then :
60042 cat >>confdefs.h <<_ACEOF
60043 #define HAVE__FREXPF 1
60044 _ACEOF
60047 done
60056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60057 $as_echo_n "checking for hypotf declaration... " >&6; }
60058 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60059 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60060 $as_echo_n "(cached) " >&6
60061 else
60064 ac_ext=cpp
60065 ac_cpp='$CXXCPP $CPPFLAGS'
60066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60071 /* end confdefs.h. */
60072 #include <math.h>
60074 main ()
60076 hypotf(0, 0);
60078 return 0;
60080 _ACEOF
60081 if ac_fn_cxx_try_compile "$LINENO"; then :
60082 glibcxx_cv_func_hypotf_use=yes
60083 else
60084 glibcxx_cv_func_hypotf_use=no
60086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60087 ac_ext=c
60088 ac_cpp='$CPP $CPPFLAGS'
60089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60098 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60100 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60101 for ac_func in hypotf
60102 do :
60103 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60104 if test "x$ac_cv_func_hypotf" = x""yes; then :
60105 cat >>confdefs.h <<_ACEOF
60106 #define HAVE_HYPOTF 1
60107 _ACEOF
60110 done
60112 else
60114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60115 $as_echo_n "checking for _hypotf declaration... " >&6; }
60116 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60117 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60118 $as_echo_n "(cached) " >&6
60119 else
60122 ac_ext=cpp
60123 ac_cpp='$CXXCPP $CPPFLAGS'
60124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60129 /* end confdefs.h. */
60130 #include <math.h>
60132 main ()
60134 _hypotf(0, 0);
60136 return 0;
60138 _ACEOF
60139 if ac_fn_cxx_try_compile "$LINENO"; then :
60140 glibcxx_cv_func__hypotf_use=yes
60141 else
60142 glibcxx_cv_func__hypotf_use=no
60144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60145 ac_ext=c
60146 ac_cpp='$CPP $CPPFLAGS'
60147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60156 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60158 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60159 for ac_func in _hypotf
60160 do :
60161 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60162 if test "x$ac_cv_func__hypotf" = x""yes; then :
60163 cat >>confdefs.h <<_ACEOF
60164 #define HAVE__HYPOTF 1
60165 _ACEOF
60168 done
60177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60178 $as_echo_n "checking for ldexpf declaration... " >&6; }
60179 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60180 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60181 $as_echo_n "(cached) " >&6
60182 else
60185 ac_ext=cpp
60186 ac_cpp='$CXXCPP $CPPFLAGS'
60187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60192 /* end confdefs.h. */
60193 #include <math.h>
60195 main ()
60197 ldexpf(0, 0);
60199 return 0;
60201 _ACEOF
60202 if ac_fn_cxx_try_compile "$LINENO"; then :
60203 glibcxx_cv_func_ldexpf_use=yes
60204 else
60205 glibcxx_cv_func_ldexpf_use=no
60207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60208 ac_ext=c
60209 ac_cpp='$CPP $CPPFLAGS'
60210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60219 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60221 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60222 for ac_func in ldexpf
60223 do :
60224 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60225 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60226 cat >>confdefs.h <<_ACEOF
60227 #define HAVE_LDEXPF 1
60228 _ACEOF
60231 done
60233 else
60235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60236 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60237 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60238 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60239 $as_echo_n "(cached) " >&6
60240 else
60243 ac_ext=cpp
60244 ac_cpp='$CXXCPP $CPPFLAGS'
60245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60250 /* end confdefs.h. */
60251 #include <math.h>
60253 main ()
60255 _ldexpf(0, 0);
60257 return 0;
60259 _ACEOF
60260 if ac_fn_cxx_try_compile "$LINENO"; then :
60261 glibcxx_cv_func__ldexpf_use=yes
60262 else
60263 glibcxx_cv_func__ldexpf_use=no
60265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60266 ac_ext=c
60267 ac_cpp='$CPP $CPPFLAGS'
60268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60277 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60279 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60280 for ac_func in _ldexpf
60281 do :
60282 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60283 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60284 cat >>confdefs.h <<_ACEOF
60285 #define HAVE__LDEXPF 1
60286 _ACEOF
60289 done
60298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60299 $as_echo_n "checking for logf declaration... " >&6; }
60300 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60301 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60302 $as_echo_n "(cached) " >&6
60303 else
60306 ac_ext=cpp
60307 ac_cpp='$CXXCPP $CPPFLAGS'
60308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60313 /* end confdefs.h. */
60314 #include <math.h>
60315 #ifdef HAVE_IEEEFP_H
60316 #include <ieeefp.h>
60317 #endif
60320 main ()
60322 logf(0);
60324 return 0;
60326 _ACEOF
60327 if ac_fn_cxx_try_compile "$LINENO"; then :
60328 glibcxx_cv_func_logf_use=yes
60329 else
60330 glibcxx_cv_func_logf_use=no
60332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60333 ac_ext=c
60334 ac_cpp='$CPP $CPPFLAGS'
60335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60344 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60346 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60347 for ac_func in logf
60348 do :
60349 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60350 if test "x$ac_cv_func_logf" = x""yes; then :
60351 cat >>confdefs.h <<_ACEOF
60352 #define HAVE_LOGF 1
60353 _ACEOF
60356 done
60358 else
60360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60361 $as_echo_n "checking for _logf declaration... " >&6; }
60362 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60363 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60364 $as_echo_n "(cached) " >&6
60365 else
60368 ac_ext=cpp
60369 ac_cpp='$CXXCPP $CPPFLAGS'
60370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60375 /* end confdefs.h. */
60376 #include <math.h>
60377 #ifdef HAVE_IEEEFP_H
60378 #include <ieeefp.h>
60379 #endif
60382 main ()
60384 _logf(0);
60386 return 0;
60388 _ACEOF
60389 if ac_fn_cxx_try_compile "$LINENO"; then :
60390 glibcxx_cv_func__logf_use=yes
60391 else
60392 glibcxx_cv_func__logf_use=no
60394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60395 ac_ext=c
60396 ac_cpp='$CPP $CPPFLAGS'
60397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60406 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60408 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60409 for ac_func in _logf
60410 do :
60411 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60412 if test "x$ac_cv_func__logf" = x""yes; then :
60413 cat >>confdefs.h <<_ACEOF
60414 #define HAVE__LOGF 1
60415 _ACEOF
60418 done
60427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60428 $as_echo_n "checking for log10f declaration... " >&6; }
60429 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60430 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60431 $as_echo_n "(cached) " >&6
60432 else
60435 ac_ext=cpp
60436 ac_cpp='$CXXCPP $CPPFLAGS'
60437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60442 /* end confdefs.h. */
60443 #include <math.h>
60444 #ifdef HAVE_IEEEFP_H
60445 #include <ieeefp.h>
60446 #endif
60449 main ()
60451 log10f(0);
60453 return 0;
60455 _ACEOF
60456 if ac_fn_cxx_try_compile "$LINENO"; then :
60457 glibcxx_cv_func_log10f_use=yes
60458 else
60459 glibcxx_cv_func_log10f_use=no
60461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60462 ac_ext=c
60463 ac_cpp='$CPP $CPPFLAGS'
60464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60473 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60475 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60476 for ac_func in log10f
60477 do :
60478 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60479 if test "x$ac_cv_func_log10f" = x""yes; then :
60480 cat >>confdefs.h <<_ACEOF
60481 #define HAVE_LOG10F 1
60482 _ACEOF
60485 done
60487 else
60489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60490 $as_echo_n "checking for _log10f declaration... " >&6; }
60491 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60492 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60493 $as_echo_n "(cached) " >&6
60494 else
60497 ac_ext=cpp
60498 ac_cpp='$CXXCPP $CPPFLAGS'
60499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60504 /* end confdefs.h. */
60505 #include <math.h>
60506 #ifdef HAVE_IEEEFP_H
60507 #include <ieeefp.h>
60508 #endif
60511 main ()
60513 _log10f(0);
60515 return 0;
60517 _ACEOF
60518 if ac_fn_cxx_try_compile "$LINENO"; then :
60519 glibcxx_cv_func__log10f_use=yes
60520 else
60521 glibcxx_cv_func__log10f_use=no
60523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60524 ac_ext=c
60525 ac_cpp='$CPP $CPPFLAGS'
60526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60535 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60537 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60538 for ac_func in _log10f
60539 do :
60540 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60541 if test "x$ac_cv_func__log10f" = x""yes; then :
60542 cat >>confdefs.h <<_ACEOF
60543 #define HAVE__LOG10F 1
60544 _ACEOF
60547 done
60556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60557 $as_echo_n "checking for modff declaration... " >&6; }
60558 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60559 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60560 $as_echo_n "(cached) " >&6
60561 else
60564 ac_ext=cpp
60565 ac_cpp='$CXXCPP $CPPFLAGS'
60566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60571 /* end confdefs.h. */
60572 #include <math.h>
60574 main ()
60576 modff(0, 0);
60578 return 0;
60580 _ACEOF
60581 if ac_fn_cxx_try_compile "$LINENO"; then :
60582 glibcxx_cv_func_modff_use=yes
60583 else
60584 glibcxx_cv_func_modff_use=no
60586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60587 ac_ext=c
60588 ac_cpp='$CPP $CPPFLAGS'
60589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60598 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60600 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60601 for ac_func in modff
60602 do :
60603 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60604 if test "x$ac_cv_func_modff" = x""yes; then :
60605 cat >>confdefs.h <<_ACEOF
60606 #define HAVE_MODFF 1
60607 _ACEOF
60610 done
60612 else
60614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60615 $as_echo_n "checking for _modff declaration... " >&6; }
60616 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60617 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60618 $as_echo_n "(cached) " >&6
60619 else
60622 ac_ext=cpp
60623 ac_cpp='$CXXCPP $CPPFLAGS'
60624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60629 /* end confdefs.h. */
60630 #include <math.h>
60632 main ()
60634 _modff(0, 0);
60636 return 0;
60638 _ACEOF
60639 if ac_fn_cxx_try_compile "$LINENO"; then :
60640 glibcxx_cv_func__modff_use=yes
60641 else
60642 glibcxx_cv_func__modff_use=no
60644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60645 ac_ext=c
60646 ac_cpp='$CPP $CPPFLAGS'
60647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60656 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60658 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60659 for ac_func in _modff
60660 do :
60661 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60662 if test "x$ac_cv_func__modff" = x""yes; then :
60663 cat >>confdefs.h <<_ACEOF
60664 #define HAVE__MODFF 1
60665 _ACEOF
60668 done
60677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60678 $as_echo_n "checking for modf declaration... " >&6; }
60679 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60680 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60681 $as_echo_n "(cached) " >&6
60682 else
60685 ac_ext=cpp
60686 ac_cpp='$CXXCPP $CPPFLAGS'
60687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60692 /* end confdefs.h. */
60693 #include <math.h>
60695 main ()
60697 modf(0, 0);
60699 return 0;
60701 _ACEOF
60702 if ac_fn_cxx_try_compile "$LINENO"; then :
60703 glibcxx_cv_func_modf_use=yes
60704 else
60705 glibcxx_cv_func_modf_use=no
60707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60708 ac_ext=c
60709 ac_cpp='$CPP $CPPFLAGS'
60710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60719 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60721 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60722 for ac_func in modf
60723 do :
60724 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60725 if test "x$ac_cv_func_modf" = x""yes; then :
60726 cat >>confdefs.h <<_ACEOF
60727 #define HAVE_MODF 1
60728 _ACEOF
60731 done
60733 else
60735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60736 $as_echo_n "checking for _modf declaration... " >&6; }
60737 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60738 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60739 $as_echo_n "(cached) " >&6
60740 else
60743 ac_ext=cpp
60744 ac_cpp='$CXXCPP $CPPFLAGS'
60745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60750 /* end confdefs.h. */
60751 #include <math.h>
60753 main ()
60755 _modf(0, 0);
60757 return 0;
60759 _ACEOF
60760 if ac_fn_cxx_try_compile "$LINENO"; then :
60761 glibcxx_cv_func__modf_use=yes
60762 else
60763 glibcxx_cv_func__modf_use=no
60765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60766 ac_ext=c
60767 ac_cpp='$CPP $CPPFLAGS'
60768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60777 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60779 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60780 for ac_func in _modf
60781 do :
60782 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60783 if test "x$ac_cv_func__modf" = x""yes; then :
60784 cat >>confdefs.h <<_ACEOF
60785 #define HAVE__MODF 1
60786 _ACEOF
60789 done
60798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60799 $as_echo_n "checking for powf declaration... " >&6; }
60800 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60801 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60802 $as_echo_n "(cached) " >&6
60803 else
60806 ac_ext=cpp
60807 ac_cpp='$CXXCPP $CPPFLAGS'
60808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60813 /* end confdefs.h. */
60814 #include <math.h>
60816 main ()
60818 powf(0, 0);
60820 return 0;
60822 _ACEOF
60823 if ac_fn_cxx_try_compile "$LINENO"; then :
60824 glibcxx_cv_func_powf_use=yes
60825 else
60826 glibcxx_cv_func_powf_use=no
60828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60829 ac_ext=c
60830 ac_cpp='$CPP $CPPFLAGS'
60831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60840 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60842 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60843 for ac_func in powf
60844 do :
60845 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60846 if test "x$ac_cv_func_powf" = x""yes; then :
60847 cat >>confdefs.h <<_ACEOF
60848 #define HAVE_POWF 1
60849 _ACEOF
60852 done
60854 else
60856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60857 $as_echo_n "checking for _powf declaration... " >&6; }
60858 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60859 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60860 $as_echo_n "(cached) " >&6
60861 else
60864 ac_ext=cpp
60865 ac_cpp='$CXXCPP $CPPFLAGS'
60866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60871 /* end confdefs.h. */
60872 #include <math.h>
60874 main ()
60876 _powf(0, 0);
60878 return 0;
60880 _ACEOF
60881 if ac_fn_cxx_try_compile "$LINENO"; then :
60882 glibcxx_cv_func__powf_use=yes
60883 else
60884 glibcxx_cv_func__powf_use=no
60886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60887 ac_ext=c
60888 ac_cpp='$CPP $CPPFLAGS'
60889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60898 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60900 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60901 for ac_func in _powf
60902 do :
60903 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60904 if test "x$ac_cv_func__powf" = x""yes; then :
60905 cat >>confdefs.h <<_ACEOF
60906 #define HAVE__POWF 1
60907 _ACEOF
60910 done
60919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60920 $as_echo_n "checking for sqrtf declaration... " >&6; }
60921 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60922 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60923 $as_echo_n "(cached) " >&6
60924 else
60927 ac_ext=cpp
60928 ac_cpp='$CXXCPP $CPPFLAGS'
60929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60934 /* end confdefs.h. */
60935 #include <math.h>
60936 #ifdef HAVE_IEEEFP_H
60937 #include <ieeefp.h>
60938 #endif
60941 main ()
60943 sqrtf(0);
60945 return 0;
60947 _ACEOF
60948 if ac_fn_cxx_try_compile "$LINENO"; then :
60949 glibcxx_cv_func_sqrtf_use=yes
60950 else
60951 glibcxx_cv_func_sqrtf_use=no
60953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60954 ac_ext=c
60955 ac_cpp='$CPP $CPPFLAGS'
60956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60965 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60967 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60968 for ac_func in sqrtf
60969 do :
60970 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60971 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60972 cat >>confdefs.h <<_ACEOF
60973 #define HAVE_SQRTF 1
60974 _ACEOF
60977 done
60979 else
60981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60982 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60983 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60984 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60985 $as_echo_n "(cached) " >&6
60986 else
60989 ac_ext=cpp
60990 ac_cpp='$CXXCPP $CPPFLAGS'
60991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60996 /* end confdefs.h. */
60997 #include <math.h>
60998 #ifdef HAVE_IEEEFP_H
60999 #include <ieeefp.h>
61000 #endif
61003 main ()
61005 _sqrtf(0);
61007 return 0;
61009 _ACEOF
61010 if ac_fn_cxx_try_compile "$LINENO"; then :
61011 glibcxx_cv_func__sqrtf_use=yes
61012 else
61013 glibcxx_cv_func__sqrtf_use=no
61015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61016 ac_ext=c
61017 ac_cpp='$CPP $CPPFLAGS'
61018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61027 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61029 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61030 for ac_func in _sqrtf
61031 do :
61032 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61033 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61034 cat >>confdefs.h <<_ACEOF
61035 #define HAVE__SQRTF 1
61036 _ACEOF
61039 done
61048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61049 $as_echo_n "checking for sincosf declaration... " >&6; }
61050 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61051 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61052 $as_echo_n "(cached) " >&6
61053 else
61056 ac_ext=cpp
61057 ac_cpp='$CXXCPP $CPPFLAGS'
61058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61063 /* end confdefs.h. */
61064 #include <math.h>
61066 main ()
61068 sincosf(0, 0, 0);
61070 return 0;
61072 _ACEOF
61073 if ac_fn_cxx_try_compile "$LINENO"; then :
61074 glibcxx_cv_func_sincosf_use=yes
61075 else
61076 glibcxx_cv_func_sincosf_use=no
61078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61079 ac_ext=c
61080 ac_cpp='$CPP $CPPFLAGS'
61081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61090 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61092 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61093 for ac_func in sincosf
61094 do :
61095 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61096 if test "x$ac_cv_func_sincosf" = x""yes; then :
61097 cat >>confdefs.h <<_ACEOF
61098 #define HAVE_SINCOSF 1
61099 _ACEOF
61102 done
61104 else
61106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61107 $as_echo_n "checking for _sincosf declaration... " >&6; }
61108 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61109 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61110 $as_echo_n "(cached) " >&6
61111 else
61114 ac_ext=cpp
61115 ac_cpp='$CXXCPP $CPPFLAGS'
61116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61121 /* end confdefs.h. */
61122 #include <math.h>
61124 main ()
61126 _sincosf(0, 0, 0);
61128 return 0;
61130 _ACEOF
61131 if ac_fn_cxx_try_compile "$LINENO"; then :
61132 glibcxx_cv_func__sincosf_use=yes
61133 else
61134 glibcxx_cv_func__sincosf_use=no
61136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61137 ac_ext=c
61138 ac_cpp='$CPP $CPPFLAGS'
61139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61148 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61150 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61151 for ac_func in _sincosf
61152 do :
61153 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61154 if test "x$ac_cv_func__sincosf" = x""yes; then :
61155 cat >>confdefs.h <<_ACEOF
61156 #define HAVE__SINCOSF 1
61157 _ACEOF
61160 done
61169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61170 $as_echo_n "checking for finitef declaration... " >&6; }
61171 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61172 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61173 $as_echo_n "(cached) " >&6
61174 else
61177 ac_ext=cpp
61178 ac_cpp='$CXXCPP $CPPFLAGS'
61179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61184 /* end confdefs.h. */
61185 #include <math.h>
61186 #ifdef HAVE_IEEEFP_H
61187 #include <ieeefp.h>
61188 #endif
61191 main ()
61193 finitef(0);
61195 return 0;
61197 _ACEOF
61198 if ac_fn_cxx_try_compile "$LINENO"; then :
61199 glibcxx_cv_func_finitef_use=yes
61200 else
61201 glibcxx_cv_func_finitef_use=no
61203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61204 ac_ext=c
61205 ac_cpp='$CPP $CPPFLAGS'
61206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61215 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61217 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61218 for ac_func in finitef
61219 do :
61220 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61221 if test "x$ac_cv_func_finitef" = x""yes; then :
61222 cat >>confdefs.h <<_ACEOF
61223 #define HAVE_FINITEF 1
61224 _ACEOF
61227 done
61229 else
61231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61232 $as_echo_n "checking for _finitef declaration... " >&6; }
61233 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61234 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61235 $as_echo_n "(cached) " >&6
61236 else
61239 ac_ext=cpp
61240 ac_cpp='$CXXCPP $CPPFLAGS'
61241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61246 /* end confdefs.h. */
61247 #include <math.h>
61248 #ifdef HAVE_IEEEFP_H
61249 #include <ieeefp.h>
61250 #endif
61253 main ()
61255 _finitef(0);
61257 return 0;
61259 _ACEOF
61260 if ac_fn_cxx_try_compile "$LINENO"; then :
61261 glibcxx_cv_func__finitef_use=yes
61262 else
61263 glibcxx_cv_func__finitef_use=no
61265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61266 ac_ext=c
61267 ac_cpp='$CPP $CPPFLAGS'
61268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61277 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61279 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61280 for ac_func in _finitef
61281 do :
61282 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61283 if test "x$ac_cv_func__finitef" = x""yes; then :
61284 cat >>confdefs.h <<_ACEOF
61285 #define HAVE__FINITEF 1
61286 _ACEOF
61289 done
61298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61299 $as_echo_n "checking for long double trig functions... " >&6; }
61300 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61301 $as_echo_n "(cached) " >&6
61302 else
61305 ac_ext=cpp
61306 ac_cpp='$CXXCPP $CPPFLAGS'
61307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61312 /* end confdefs.h. */
61313 #include <math.h>
61315 main ()
61317 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61319 return 0;
61321 _ACEOF
61322 if ac_fn_cxx_try_compile "$LINENO"; then :
61323 glibcxx_cv_func_long_double_trig_use=yes
61324 else
61325 glibcxx_cv_func_long_double_trig_use=no
61327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61328 ac_ext=c
61329 ac_cpp='$CPP $CPPFLAGS'
61330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61337 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61338 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61339 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61340 do :
61341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61343 eval as_val=\$$as_ac_var
61344 if test "x$as_val" = x""yes; then :
61345 cat >>confdefs.h <<_ACEOF
61346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61347 _ACEOF
61350 done
61352 else
61353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61354 $as_echo_n "checking for _long double trig functions... " >&6; }
61355 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61356 $as_echo_n "(cached) " >&6
61357 else
61360 ac_ext=cpp
61361 ac_cpp='$CXXCPP $CPPFLAGS'
61362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61367 /* end confdefs.h. */
61368 #include <math.h>
61370 main ()
61372 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61374 return 0;
61376 _ACEOF
61377 if ac_fn_cxx_try_compile "$LINENO"; then :
61378 glibcxx_cv_func__long_double_trig_use=yes
61379 else
61380 glibcxx_cv_func__long_double_trig_use=no
61382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61383 ac_ext=c
61384 ac_cpp='$CPP $CPPFLAGS'
61385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61392 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61393 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61394 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61395 do :
61396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61398 eval as_val=\$$as_ac_var
61399 if test "x$as_val" = x""yes; then :
61400 cat >>confdefs.h <<_ACEOF
61401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61402 _ACEOF
61405 done
61414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61415 $as_echo_n "checking for long double round functions... " >&6; }
61416 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61417 $as_echo_n "(cached) " >&6
61418 else
61421 ac_ext=cpp
61422 ac_cpp='$CXXCPP $CPPFLAGS'
61423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61428 /* end confdefs.h. */
61429 #include <math.h>
61431 main ()
61433 ceill (0); floorl (0);
61435 return 0;
61437 _ACEOF
61438 if ac_fn_cxx_try_compile "$LINENO"; then :
61439 glibcxx_cv_func_long_double_round_use=yes
61440 else
61441 glibcxx_cv_func_long_double_round_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
61452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61453 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61454 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61455 for ac_func in ceill floorl
61456 do :
61457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61459 eval as_val=\$$as_ac_var
61460 if test "x$as_val" = x""yes; then :
61461 cat >>confdefs.h <<_ACEOF
61462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61463 _ACEOF
61466 done
61468 else
61469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61470 $as_echo_n "checking for _long double round functions... " >&6; }
61471 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61472 $as_echo_n "(cached) " >&6
61473 else
61476 ac_ext=cpp
61477 ac_cpp='$CXXCPP $CPPFLAGS'
61478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61483 /* end confdefs.h. */
61484 #include <math.h>
61486 main ()
61488 _ceill (0); _floorl (0);
61490 return 0;
61492 _ACEOF
61493 if ac_fn_cxx_try_compile "$LINENO"; then :
61494 glibcxx_cv_func__long_double_round_use=yes
61495 else
61496 glibcxx_cv_func__long_double_round_use=no
61498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61499 ac_ext=c
61500 ac_cpp='$CPP $CPPFLAGS'
61501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61508 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61509 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61510 for ac_func in _ceill _floorl
61511 do :
61512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61514 eval as_val=\$$as_ac_var
61515 if test "x$as_val" = x""yes; then :
61516 cat >>confdefs.h <<_ACEOF
61517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61518 _ACEOF
61521 done
61531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61532 $as_echo_n "checking for isnanl declaration... " >&6; }
61533 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61534 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61535 $as_echo_n "(cached) " >&6
61536 else
61539 ac_ext=cpp
61540 ac_cpp='$CXXCPP $CPPFLAGS'
61541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61546 /* end confdefs.h. */
61547 #include <math.h>
61548 #ifdef HAVE_IEEEFP_H
61549 #include <ieeefp.h>
61550 #endif
61553 main ()
61555 isnanl(0);
61557 return 0;
61559 _ACEOF
61560 if ac_fn_cxx_try_compile "$LINENO"; then :
61561 glibcxx_cv_func_isnanl_use=yes
61562 else
61563 glibcxx_cv_func_isnanl_use=no
61565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61566 ac_ext=c
61567 ac_cpp='$CPP $CPPFLAGS'
61568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61577 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61579 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61580 for ac_func in isnanl
61581 do :
61582 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61583 if test "x$ac_cv_func_isnanl" = x""yes; then :
61584 cat >>confdefs.h <<_ACEOF
61585 #define HAVE_ISNANL 1
61586 _ACEOF
61589 done
61591 else
61593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61594 $as_echo_n "checking for _isnanl declaration... " >&6; }
61595 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61596 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61597 $as_echo_n "(cached) " >&6
61598 else
61601 ac_ext=cpp
61602 ac_cpp='$CXXCPP $CPPFLAGS'
61603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61608 /* end confdefs.h. */
61609 #include <math.h>
61610 #ifdef HAVE_IEEEFP_H
61611 #include <ieeefp.h>
61612 #endif
61615 main ()
61617 _isnanl(0);
61619 return 0;
61621 _ACEOF
61622 if ac_fn_cxx_try_compile "$LINENO"; then :
61623 glibcxx_cv_func__isnanl_use=yes
61624 else
61625 glibcxx_cv_func__isnanl_use=no
61627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61628 ac_ext=c
61629 ac_cpp='$CPP $CPPFLAGS'
61630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61639 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61641 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61642 for ac_func in _isnanl
61643 do :
61644 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61645 if test "x$ac_cv_func__isnanl" = x""yes; then :
61646 cat >>confdefs.h <<_ACEOF
61647 #define HAVE__ISNANL 1
61648 _ACEOF
61651 done
61660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61661 $as_echo_n "checking for isinfl declaration... " >&6; }
61662 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61663 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61664 $as_echo_n "(cached) " >&6
61665 else
61668 ac_ext=cpp
61669 ac_cpp='$CXXCPP $CPPFLAGS'
61670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61675 /* end confdefs.h. */
61676 #include <math.h>
61677 #ifdef HAVE_IEEEFP_H
61678 #include <ieeefp.h>
61679 #endif
61682 main ()
61684 isinfl(0);
61686 return 0;
61688 _ACEOF
61689 if ac_fn_cxx_try_compile "$LINENO"; then :
61690 glibcxx_cv_func_isinfl_use=yes
61691 else
61692 glibcxx_cv_func_isinfl_use=no
61694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61695 ac_ext=c
61696 ac_cpp='$CPP $CPPFLAGS'
61697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61706 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61708 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61709 for ac_func in isinfl
61710 do :
61711 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61712 if test "x$ac_cv_func_isinfl" = x""yes; then :
61713 cat >>confdefs.h <<_ACEOF
61714 #define HAVE_ISINFL 1
61715 _ACEOF
61718 done
61720 else
61722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61723 $as_echo_n "checking for _isinfl declaration... " >&6; }
61724 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61725 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61726 $as_echo_n "(cached) " >&6
61727 else
61730 ac_ext=cpp
61731 ac_cpp='$CXXCPP $CPPFLAGS'
61732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61737 /* end confdefs.h. */
61738 #include <math.h>
61739 #ifdef HAVE_IEEEFP_H
61740 #include <ieeefp.h>
61741 #endif
61744 main ()
61746 _isinfl(0);
61748 return 0;
61750 _ACEOF
61751 if ac_fn_cxx_try_compile "$LINENO"; then :
61752 glibcxx_cv_func__isinfl_use=yes
61753 else
61754 glibcxx_cv_func__isinfl_use=no
61756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61757 ac_ext=c
61758 ac_cpp='$CPP $CPPFLAGS'
61759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61768 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61770 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61771 for ac_func in _isinfl
61772 do :
61773 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61774 if test "x$ac_cv_func__isinfl" = x""yes; then :
61775 cat >>confdefs.h <<_ACEOF
61776 #define HAVE__ISINFL 1
61777 _ACEOF
61780 done
61789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61790 $as_echo_n "checking for atan2l declaration... " >&6; }
61791 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61792 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61793 $as_echo_n "(cached) " >&6
61794 else
61797 ac_ext=cpp
61798 ac_cpp='$CXXCPP $CPPFLAGS'
61799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61804 /* end confdefs.h. */
61805 #include <math.h>
61807 main ()
61809 atan2l(0, 0);
61811 return 0;
61813 _ACEOF
61814 if ac_fn_cxx_try_compile "$LINENO"; then :
61815 glibcxx_cv_func_atan2l_use=yes
61816 else
61817 glibcxx_cv_func_atan2l_use=no
61819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61820 ac_ext=c
61821 ac_cpp='$CPP $CPPFLAGS'
61822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61831 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61833 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61834 for ac_func in atan2l
61835 do :
61836 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61837 if test "x$ac_cv_func_atan2l" = x""yes; then :
61838 cat >>confdefs.h <<_ACEOF
61839 #define HAVE_ATAN2L 1
61840 _ACEOF
61843 done
61845 else
61847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61848 $as_echo_n "checking for _atan2l declaration... " >&6; }
61849 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61850 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61851 $as_echo_n "(cached) " >&6
61852 else
61855 ac_ext=cpp
61856 ac_cpp='$CXXCPP $CPPFLAGS'
61857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61862 /* end confdefs.h. */
61863 #include <math.h>
61865 main ()
61867 _atan2l(0, 0);
61869 return 0;
61871 _ACEOF
61872 if ac_fn_cxx_try_compile "$LINENO"; then :
61873 glibcxx_cv_func__atan2l_use=yes
61874 else
61875 glibcxx_cv_func__atan2l_use=no
61877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61878 ac_ext=c
61879 ac_cpp='$CPP $CPPFLAGS'
61880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61889 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61891 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61892 for ac_func in _atan2l
61893 do :
61894 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61895 if test "x$ac_cv_func__atan2l" = x""yes; then :
61896 cat >>confdefs.h <<_ACEOF
61897 #define HAVE__ATAN2L 1
61898 _ACEOF
61901 done
61910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61911 $as_echo_n "checking for expl declaration... " >&6; }
61912 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61913 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61914 $as_echo_n "(cached) " >&6
61915 else
61918 ac_ext=cpp
61919 ac_cpp='$CXXCPP $CPPFLAGS'
61920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61925 /* end confdefs.h. */
61926 #include <math.h>
61927 #ifdef HAVE_IEEEFP_H
61928 #include <ieeefp.h>
61929 #endif
61932 main ()
61934 expl(0);
61936 return 0;
61938 _ACEOF
61939 if ac_fn_cxx_try_compile "$LINENO"; then :
61940 glibcxx_cv_func_expl_use=yes
61941 else
61942 glibcxx_cv_func_expl_use=no
61944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61945 ac_ext=c
61946 ac_cpp='$CPP $CPPFLAGS'
61947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61956 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61958 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61959 for ac_func in expl
61960 do :
61961 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61962 if test "x$ac_cv_func_expl" = x""yes; then :
61963 cat >>confdefs.h <<_ACEOF
61964 #define HAVE_EXPL 1
61965 _ACEOF
61968 done
61970 else
61972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61973 $as_echo_n "checking for _expl declaration... " >&6; }
61974 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61975 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61976 $as_echo_n "(cached) " >&6
61977 else
61980 ac_ext=cpp
61981 ac_cpp='$CXXCPP $CPPFLAGS'
61982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61987 /* end confdefs.h. */
61988 #include <math.h>
61989 #ifdef HAVE_IEEEFP_H
61990 #include <ieeefp.h>
61991 #endif
61994 main ()
61996 _expl(0);
61998 return 0;
62000 _ACEOF
62001 if ac_fn_cxx_try_compile "$LINENO"; then :
62002 glibcxx_cv_func__expl_use=yes
62003 else
62004 glibcxx_cv_func__expl_use=no
62006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62007 ac_ext=c
62008 ac_cpp='$CPP $CPPFLAGS'
62009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62018 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62020 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62021 for ac_func in _expl
62022 do :
62023 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62024 if test "x$ac_cv_func__expl" = x""yes; then :
62025 cat >>confdefs.h <<_ACEOF
62026 #define HAVE__EXPL 1
62027 _ACEOF
62030 done
62039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62040 $as_echo_n "checking for fabsl declaration... " >&6; }
62041 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62042 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62043 $as_echo_n "(cached) " >&6
62044 else
62047 ac_ext=cpp
62048 ac_cpp='$CXXCPP $CPPFLAGS'
62049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62054 /* end confdefs.h. */
62055 #include <math.h>
62056 #ifdef HAVE_IEEEFP_H
62057 #include <ieeefp.h>
62058 #endif
62061 main ()
62063 fabsl(0);
62065 return 0;
62067 _ACEOF
62068 if ac_fn_cxx_try_compile "$LINENO"; then :
62069 glibcxx_cv_func_fabsl_use=yes
62070 else
62071 glibcxx_cv_func_fabsl_use=no
62073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62074 ac_ext=c
62075 ac_cpp='$CPP $CPPFLAGS'
62076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62085 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62087 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62088 for ac_func in fabsl
62089 do :
62090 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62091 if test "x$ac_cv_func_fabsl" = x""yes; then :
62092 cat >>confdefs.h <<_ACEOF
62093 #define HAVE_FABSL 1
62094 _ACEOF
62097 done
62099 else
62101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62102 $as_echo_n "checking for _fabsl declaration... " >&6; }
62103 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62104 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62105 $as_echo_n "(cached) " >&6
62106 else
62109 ac_ext=cpp
62110 ac_cpp='$CXXCPP $CPPFLAGS'
62111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62116 /* end confdefs.h. */
62117 #include <math.h>
62118 #ifdef HAVE_IEEEFP_H
62119 #include <ieeefp.h>
62120 #endif
62123 main ()
62125 _fabsl(0);
62127 return 0;
62129 _ACEOF
62130 if ac_fn_cxx_try_compile "$LINENO"; then :
62131 glibcxx_cv_func__fabsl_use=yes
62132 else
62133 glibcxx_cv_func__fabsl_use=no
62135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62136 ac_ext=c
62137 ac_cpp='$CPP $CPPFLAGS'
62138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62147 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62149 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62150 for ac_func in _fabsl
62151 do :
62152 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62153 if test "x$ac_cv_func__fabsl" = x""yes; then :
62154 cat >>confdefs.h <<_ACEOF
62155 #define HAVE__FABSL 1
62156 _ACEOF
62159 done
62168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62169 $as_echo_n "checking for fmodl declaration... " >&6; }
62170 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62171 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62172 $as_echo_n "(cached) " >&6
62173 else
62176 ac_ext=cpp
62177 ac_cpp='$CXXCPP $CPPFLAGS'
62178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62183 /* end confdefs.h. */
62184 #include <math.h>
62186 main ()
62188 fmodl(0, 0);
62190 return 0;
62192 _ACEOF
62193 if ac_fn_cxx_try_compile "$LINENO"; then :
62194 glibcxx_cv_func_fmodl_use=yes
62195 else
62196 glibcxx_cv_func_fmodl_use=no
62198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62199 ac_ext=c
62200 ac_cpp='$CPP $CPPFLAGS'
62201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62210 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62212 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62213 for ac_func in fmodl
62214 do :
62215 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62216 if test "x$ac_cv_func_fmodl" = x""yes; then :
62217 cat >>confdefs.h <<_ACEOF
62218 #define HAVE_FMODL 1
62219 _ACEOF
62222 done
62224 else
62226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62227 $as_echo_n "checking for _fmodl declaration... " >&6; }
62228 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62229 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62230 $as_echo_n "(cached) " >&6
62231 else
62234 ac_ext=cpp
62235 ac_cpp='$CXXCPP $CPPFLAGS'
62236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62241 /* end confdefs.h. */
62242 #include <math.h>
62244 main ()
62246 _fmodl(0, 0);
62248 return 0;
62250 _ACEOF
62251 if ac_fn_cxx_try_compile "$LINENO"; then :
62252 glibcxx_cv_func__fmodl_use=yes
62253 else
62254 glibcxx_cv_func__fmodl_use=no
62256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62257 ac_ext=c
62258 ac_cpp='$CPP $CPPFLAGS'
62259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62268 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62270 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62271 for ac_func in _fmodl
62272 do :
62273 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62274 if test "x$ac_cv_func__fmodl" = x""yes; then :
62275 cat >>confdefs.h <<_ACEOF
62276 #define HAVE__FMODL 1
62277 _ACEOF
62280 done
62289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62290 $as_echo_n "checking for frexpl declaration... " >&6; }
62291 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62292 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62293 $as_echo_n "(cached) " >&6
62294 else
62297 ac_ext=cpp
62298 ac_cpp='$CXXCPP $CPPFLAGS'
62299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62304 /* end confdefs.h. */
62305 #include <math.h>
62307 main ()
62309 frexpl(0, 0);
62311 return 0;
62313 _ACEOF
62314 if ac_fn_cxx_try_compile "$LINENO"; then :
62315 glibcxx_cv_func_frexpl_use=yes
62316 else
62317 glibcxx_cv_func_frexpl_use=no
62319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62320 ac_ext=c
62321 ac_cpp='$CPP $CPPFLAGS'
62322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62331 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62333 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62334 for ac_func in frexpl
62335 do :
62336 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62337 if test "x$ac_cv_func_frexpl" = x""yes; then :
62338 cat >>confdefs.h <<_ACEOF
62339 #define HAVE_FREXPL 1
62340 _ACEOF
62343 done
62345 else
62347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62348 $as_echo_n "checking for _frexpl declaration... " >&6; }
62349 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62350 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62351 $as_echo_n "(cached) " >&6
62352 else
62355 ac_ext=cpp
62356 ac_cpp='$CXXCPP $CPPFLAGS'
62357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62362 /* end confdefs.h. */
62363 #include <math.h>
62365 main ()
62367 _frexpl(0, 0);
62369 return 0;
62371 _ACEOF
62372 if ac_fn_cxx_try_compile "$LINENO"; then :
62373 glibcxx_cv_func__frexpl_use=yes
62374 else
62375 glibcxx_cv_func__frexpl_use=no
62377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62378 ac_ext=c
62379 ac_cpp='$CPP $CPPFLAGS'
62380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62389 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62391 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62392 for ac_func in _frexpl
62393 do :
62394 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62395 if test "x$ac_cv_func__frexpl" = x""yes; then :
62396 cat >>confdefs.h <<_ACEOF
62397 #define HAVE__FREXPL 1
62398 _ACEOF
62401 done
62410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62411 $as_echo_n "checking for hypotl declaration... " >&6; }
62412 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62413 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62414 $as_echo_n "(cached) " >&6
62415 else
62418 ac_ext=cpp
62419 ac_cpp='$CXXCPP $CPPFLAGS'
62420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62425 /* end confdefs.h. */
62426 #include <math.h>
62428 main ()
62430 hypotl(0, 0);
62432 return 0;
62434 _ACEOF
62435 if ac_fn_cxx_try_compile "$LINENO"; then :
62436 glibcxx_cv_func_hypotl_use=yes
62437 else
62438 glibcxx_cv_func_hypotl_use=no
62440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62441 ac_ext=c
62442 ac_cpp='$CPP $CPPFLAGS'
62443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62452 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62454 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62455 for ac_func in hypotl
62456 do :
62457 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62458 if test "x$ac_cv_func_hypotl" = x""yes; then :
62459 cat >>confdefs.h <<_ACEOF
62460 #define HAVE_HYPOTL 1
62461 _ACEOF
62464 done
62466 else
62468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62469 $as_echo_n "checking for _hypotl declaration... " >&6; }
62470 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62471 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62472 $as_echo_n "(cached) " >&6
62473 else
62476 ac_ext=cpp
62477 ac_cpp='$CXXCPP $CPPFLAGS'
62478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62483 /* end confdefs.h. */
62484 #include <math.h>
62486 main ()
62488 _hypotl(0, 0);
62490 return 0;
62492 _ACEOF
62493 if ac_fn_cxx_try_compile "$LINENO"; then :
62494 glibcxx_cv_func__hypotl_use=yes
62495 else
62496 glibcxx_cv_func__hypotl_use=no
62498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62499 ac_ext=c
62500 ac_cpp='$CPP $CPPFLAGS'
62501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62510 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62512 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62513 for ac_func in _hypotl
62514 do :
62515 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62516 if test "x$ac_cv_func__hypotl" = x""yes; then :
62517 cat >>confdefs.h <<_ACEOF
62518 #define HAVE__HYPOTL 1
62519 _ACEOF
62522 done
62531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62532 $as_echo_n "checking for ldexpl declaration... " >&6; }
62533 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62534 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62535 $as_echo_n "(cached) " >&6
62536 else
62539 ac_ext=cpp
62540 ac_cpp='$CXXCPP $CPPFLAGS'
62541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62546 /* end confdefs.h. */
62547 #include <math.h>
62549 main ()
62551 ldexpl(0, 0);
62553 return 0;
62555 _ACEOF
62556 if ac_fn_cxx_try_compile "$LINENO"; then :
62557 glibcxx_cv_func_ldexpl_use=yes
62558 else
62559 glibcxx_cv_func_ldexpl_use=no
62561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62562 ac_ext=c
62563 ac_cpp='$CPP $CPPFLAGS'
62564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62573 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62575 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62576 for ac_func in ldexpl
62577 do :
62578 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62579 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62580 cat >>confdefs.h <<_ACEOF
62581 #define HAVE_LDEXPL 1
62582 _ACEOF
62585 done
62587 else
62589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62590 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62591 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62592 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62593 $as_echo_n "(cached) " >&6
62594 else
62597 ac_ext=cpp
62598 ac_cpp='$CXXCPP $CPPFLAGS'
62599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62604 /* end confdefs.h. */
62605 #include <math.h>
62607 main ()
62609 _ldexpl(0, 0);
62611 return 0;
62613 _ACEOF
62614 if ac_fn_cxx_try_compile "$LINENO"; then :
62615 glibcxx_cv_func__ldexpl_use=yes
62616 else
62617 glibcxx_cv_func__ldexpl_use=no
62619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62620 ac_ext=c
62621 ac_cpp='$CPP $CPPFLAGS'
62622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62631 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62633 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62634 for ac_func in _ldexpl
62635 do :
62636 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62637 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62638 cat >>confdefs.h <<_ACEOF
62639 #define HAVE__LDEXPL 1
62640 _ACEOF
62643 done
62652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62653 $as_echo_n "checking for logl declaration... " >&6; }
62654 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62655 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62656 $as_echo_n "(cached) " >&6
62657 else
62660 ac_ext=cpp
62661 ac_cpp='$CXXCPP $CPPFLAGS'
62662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62667 /* end confdefs.h. */
62668 #include <math.h>
62669 #ifdef HAVE_IEEEFP_H
62670 #include <ieeefp.h>
62671 #endif
62674 main ()
62676 logl(0);
62678 return 0;
62680 _ACEOF
62681 if ac_fn_cxx_try_compile "$LINENO"; then :
62682 glibcxx_cv_func_logl_use=yes
62683 else
62684 glibcxx_cv_func_logl_use=no
62686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62687 ac_ext=c
62688 ac_cpp='$CPP $CPPFLAGS'
62689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62698 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62700 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62701 for ac_func in logl
62702 do :
62703 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62704 if test "x$ac_cv_func_logl" = x""yes; then :
62705 cat >>confdefs.h <<_ACEOF
62706 #define HAVE_LOGL 1
62707 _ACEOF
62710 done
62712 else
62714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62715 $as_echo_n "checking for _logl declaration... " >&6; }
62716 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62717 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62718 $as_echo_n "(cached) " >&6
62719 else
62722 ac_ext=cpp
62723 ac_cpp='$CXXCPP $CPPFLAGS'
62724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62729 /* end confdefs.h. */
62730 #include <math.h>
62731 #ifdef HAVE_IEEEFP_H
62732 #include <ieeefp.h>
62733 #endif
62736 main ()
62738 _logl(0);
62740 return 0;
62742 _ACEOF
62743 if ac_fn_cxx_try_compile "$LINENO"; then :
62744 glibcxx_cv_func__logl_use=yes
62745 else
62746 glibcxx_cv_func__logl_use=no
62748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62749 ac_ext=c
62750 ac_cpp='$CPP $CPPFLAGS'
62751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62760 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62762 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62763 for ac_func in _logl
62764 do :
62765 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62766 if test "x$ac_cv_func__logl" = x""yes; then :
62767 cat >>confdefs.h <<_ACEOF
62768 #define HAVE__LOGL 1
62769 _ACEOF
62772 done
62781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62782 $as_echo_n "checking for log10l declaration... " >&6; }
62783 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62784 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62785 $as_echo_n "(cached) " >&6
62786 else
62789 ac_ext=cpp
62790 ac_cpp='$CXXCPP $CPPFLAGS'
62791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62796 /* end confdefs.h. */
62797 #include <math.h>
62798 #ifdef HAVE_IEEEFP_H
62799 #include <ieeefp.h>
62800 #endif
62803 main ()
62805 log10l(0);
62807 return 0;
62809 _ACEOF
62810 if ac_fn_cxx_try_compile "$LINENO"; then :
62811 glibcxx_cv_func_log10l_use=yes
62812 else
62813 glibcxx_cv_func_log10l_use=no
62815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62816 ac_ext=c
62817 ac_cpp='$CPP $CPPFLAGS'
62818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62827 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62829 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62830 for ac_func in log10l
62831 do :
62832 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62833 if test "x$ac_cv_func_log10l" = x""yes; then :
62834 cat >>confdefs.h <<_ACEOF
62835 #define HAVE_LOG10L 1
62836 _ACEOF
62839 done
62841 else
62843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62844 $as_echo_n "checking for _log10l declaration... " >&6; }
62845 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62846 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62847 $as_echo_n "(cached) " >&6
62848 else
62851 ac_ext=cpp
62852 ac_cpp='$CXXCPP $CPPFLAGS'
62853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62858 /* end confdefs.h. */
62859 #include <math.h>
62860 #ifdef HAVE_IEEEFP_H
62861 #include <ieeefp.h>
62862 #endif
62865 main ()
62867 _log10l(0);
62869 return 0;
62871 _ACEOF
62872 if ac_fn_cxx_try_compile "$LINENO"; then :
62873 glibcxx_cv_func__log10l_use=yes
62874 else
62875 glibcxx_cv_func__log10l_use=no
62877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62878 ac_ext=c
62879 ac_cpp='$CPP $CPPFLAGS'
62880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62889 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62891 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62892 for ac_func in _log10l
62893 do :
62894 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62895 if test "x$ac_cv_func__log10l" = x""yes; then :
62896 cat >>confdefs.h <<_ACEOF
62897 #define HAVE__LOG10L 1
62898 _ACEOF
62901 done
62910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62911 $as_echo_n "checking for modfl declaration... " >&6; }
62912 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62913 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62914 $as_echo_n "(cached) " >&6
62915 else
62918 ac_ext=cpp
62919 ac_cpp='$CXXCPP $CPPFLAGS'
62920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62925 /* end confdefs.h. */
62926 #include <math.h>
62928 main ()
62930 modfl(0, 0);
62932 return 0;
62934 _ACEOF
62935 if ac_fn_cxx_try_compile "$LINENO"; then :
62936 glibcxx_cv_func_modfl_use=yes
62937 else
62938 glibcxx_cv_func_modfl_use=no
62940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62941 ac_ext=c
62942 ac_cpp='$CPP $CPPFLAGS'
62943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62952 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62954 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62955 for ac_func in modfl
62956 do :
62957 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62958 if test "x$ac_cv_func_modfl" = x""yes; then :
62959 cat >>confdefs.h <<_ACEOF
62960 #define HAVE_MODFL 1
62961 _ACEOF
62964 done
62966 else
62968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62969 $as_echo_n "checking for _modfl declaration... " >&6; }
62970 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62971 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62972 $as_echo_n "(cached) " >&6
62973 else
62976 ac_ext=cpp
62977 ac_cpp='$CXXCPP $CPPFLAGS'
62978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62983 /* end confdefs.h. */
62984 #include <math.h>
62986 main ()
62988 _modfl(0, 0);
62990 return 0;
62992 _ACEOF
62993 if ac_fn_cxx_try_compile "$LINENO"; then :
62994 glibcxx_cv_func__modfl_use=yes
62995 else
62996 glibcxx_cv_func__modfl_use=no
62998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62999 ac_ext=c
63000 ac_cpp='$CPP $CPPFLAGS'
63001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63010 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63012 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63013 for ac_func in _modfl
63014 do :
63015 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63016 if test "x$ac_cv_func__modfl" = x""yes; then :
63017 cat >>confdefs.h <<_ACEOF
63018 #define HAVE__MODFL 1
63019 _ACEOF
63022 done
63031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63032 $as_echo_n "checking for powl declaration... " >&6; }
63033 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63034 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63035 $as_echo_n "(cached) " >&6
63036 else
63039 ac_ext=cpp
63040 ac_cpp='$CXXCPP $CPPFLAGS'
63041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63046 /* end confdefs.h. */
63047 #include <math.h>
63049 main ()
63051 powl(0, 0);
63053 return 0;
63055 _ACEOF
63056 if ac_fn_cxx_try_compile "$LINENO"; then :
63057 glibcxx_cv_func_powl_use=yes
63058 else
63059 glibcxx_cv_func_powl_use=no
63061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63062 ac_ext=c
63063 ac_cpp='$CPP $CPPFLAGS'
63064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63073 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63075 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63076 for ac_func in powl
63077 do :
63078 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63079 if test "x$ac_cv_func_powl" = x""yes; then :
63080 cat >>confdefs.h <<_ACEOF
63081 #define HAVE_POWL 1
63082 _ACEOF
63085 done
63087 else
63089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63090 $as_echo_n "checking for _powl declaration... " >&6; }
63091 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63092 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63093 $as_echo_n "(cached) " >&6
63094 else
63097 ac_ext=cpp
63098 ac_cpp='$CXXCPP $CPPFLAGS'
63099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63104 /* end confdefs.h. */
63105 #include <math.h>
63107 main ()
63109 _powl(0, 0);
63111 return 0;
63113 _ACEOF
63114 if ac_fn_cxx_try_compile "$LINENO"; then :
63115 glibcxx_cv_func__powl_use=yes
63116 else
63117 glibcxx_cv_func__powl_use=no
63119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63120 ac_ext=c
63121 ac_cpp='$CPP $CPPFLAGS'
63122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63131 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63133 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63134 for ac_func in _powl
63135 do :
63136 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63137 if test "x$ac_cv_func__powl" = x""yes; then :
63138 cat >>confdefs.h <<_ACEOF
63139 #define HAVE__POWL 1
63140 _ACEOF
63143 done
63152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63153 $as_echo_n "checking for sqrtl declaration... " >&6; }
63154 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63155 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63156 $as_echo_n "(cached) " >&6
63157 else
63160 ac_ext=cpp
63161 ac_cpp='$CXXCPP $CPPFLAGS'
63162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63167 /* end confdefs.h. */
63168 #include <math.h>
63169 #ifdef HAVE_IEEEFP_H
63170 #include <ieeefp.h>
63171 #endif
63174 main ()
63176 sqrtl(0);
63178 return 0;
63180 _ACEOF
63181 if ac_fn_cxx_try_compile "$LINENO"; then :
63182 glibcxx_cv_func_sqrtl_use=yes
63183 else
63184 glibcxx_cv_func_sqrtl_use=no
63186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63187 ac_ext=c
63188 ac_cpp='$CPP $CPPFLAGS'
63189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63198 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63200 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63201 for ac_func in sqrtl
63202 do :
63203 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63204 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63205 cat >>confdefs.h <<_ACEOF
63206 #define HAVE_SQRTL 1
63207 _ACEOF
63210 done
63212 else
63214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63215 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63216 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63217 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63218 $as_echo_n "(cached) " >&6
63219 else
63222 ac_ext=cpp
63223 ac_cpp='$CXXCPP $CPPFLAGS'
63224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63229 /* end confdefs.h. */
63230 #include <math.h>
63231 #ifdef HAVE_IEEEFP_H
63232 #include <ieeefp.h>
63233 #endif
63236 main ()
63238 _sqrtl(0);
63240 return 0;
63242 _ACEOF
63243 if ac_fn_cxx_try_compile "$LINENO"; then :
63244 glibcxx_cv_func__sqrtl_use=yes
63245 else
63246 glibcxx_cv_func__sqrtl_use=no
63248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63249 ac_ext=c
63250 ac_cpp='$CPP $CPPFLAGS'
63251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63260 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63262 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63263 for ac_func in _sqrtl
63264 do :
63265 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63266 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63267 cat >>confdefs.h <<_ACEOF
63268 #define HAVE__SQRTL 1
63269 _ACEOF
63272 done
63281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63282 $as_echo_n "checking for sincosl declaration... " >&6; }
63283 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63284 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63285 $as_echo_n "(cached) " >&6
63286 else
63289 ac_ext=cpp
63290 ac_cpp='$CXXCPP $CPPFLAGS'
63291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63296 /* end confdefs.h. */
63297 #include <math.h>
63299 main ()
63301 sincosl(0, 0, 0);
63303 return 0;
63305 _ACEOF
63306 if ac_fn_cxx_try_compile "$LINENO"; then :
63307 glibcxx_cv_func_sincosl_use=yes
63308 else
63309 glibcxx_cv_func_sincosl_use=no
63311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63312 ac_ext=c
63313 ac_cpp='$CPP $CPPFLAGS'
63314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63323 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63325 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63326 for ac_func in sincosl
63327 do :
63328 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63329 if test "x$ac_cv_func_sincosl" = x""yes; then :
63330 cat >>confdefs.h <<_ACEOF
63331 #define HAVE_SINCOSL 1
63332 _ACEOF
63335 done
63337 else
63339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63340 $as_echo_n "checking for _sincosl declaration... " >&6; }
63341 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63342 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63343 $as_echo_n "(cached) " >&6
63344 else
63347 ac_ext=cpp
63348 ac_cpp='$CXXCPP $CPPFLAGS'
63349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63354 /* end confdefs.h. */
63355 #include <math.h>
63357 main ()
63359 _sincosl(0, 0, 0);
63361 return 0;
63363 _ACEOF
63364 if ac_fn_cxx_try_compile "$LINENO"; then :
63365 glibcxx_cv_func__sincosl_use=yes
63366 else
63367 glibcxx_cv_func__sincosl_use=no
63369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63370 ac_ext=c
63371 ac_cpp='$CPP $CPPFLAGS'
63372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63381 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63383 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63384 for ac_func in _sincosl
63385 do :
63386 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63387 if test "x$ac_cv_func__sincosl" = x""yes; then :
63388 cat >>confdefs.h <<_ACEOF
63389 #define HAVE__SINCOSL 1
63390 _ACEOF
63393 done
63402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63403 $as_echo_n "checking for finitel declaration... " >&6; }
63404 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63405 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63406 $as_echo_n "(cached) " >&6
63407 else
63410 ac_ext=cpp
63411 ac_cpp='$CXXCPP $CPPFLAGS'
63412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63417 /* end confdefs.h. */
63418 #include <math.h>
63419 #ifdef HAVE_IEEEFP_H
63420 #include <ieeefp.h>
63421 #endif
63424 main ()
63426 finitel(0);
63428 return 0;
63430 _ACEOF
63431 if ac_fn_cxx_try_compile "$LINENO"; then :
63432 glibcxx_cv_func_finitel_use=yes
63433 else
63434 glibcxx_cv_func_finitel_use=no
63436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63437 ac_ext=c
63438 ac_cpp='$CPP $CPPFLAGS'
63439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63448 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63450 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63451 for ac_func in finitel
63452 do :
63453 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63454 if test "x$ac_cv_func_finitel" = x""yes; then :
63455 cat >>confdefs.h <<_ACEOF
63456 #define HAVE_FINITEL 1
63457 _ACEOF
63460 done
63462 else
63464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63465 $as_echo_n "checking for _finitel declaration... " >&6; }
63466 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63467 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63468 $as_echo_n "(cached) " >&6
63469 else
63472 ac_ext=cpp
63473 ac_cpp='$CXXCPP $CPPFLAGS'
63474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63479 /* end confdefs.h. */
63480 #include <math.h>
63481 #ifdef HAVE_IEEEFP_H
63482 #include <ieeefp.h>
63483 #endif
63486 main ()
63488 _finitel(0);
63490 return 0;
63492 _ACEOF
63493 if ac_fn_cxx_try_compile "$LINENO"; then :
63494 glibcxx_cv_func__finitel_use=yes
63495 else
63496 glibcxx_cv_func__finitel_use=no
63498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63499 ac_ext=c
63500 ac_cpp='$CPP $CPPFLAGS'
63501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63510 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63512 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63513 for ac_func in _finitel
63514 do :
63515 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63516 if test "x$ac_cv_func__finitel" = x""yes; then :
63517 cat >>confdefs.h <<_ACEOF
63518 #define HAVE__FINITEL 1
63519 _ACEOF
63522 done
63530 LIBS="$ac_save_LIBS"
63531 CXXFLAGS="$ac_save_CXXFLAGS"
63534 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63535 ac_save_CXXFLAGS="$CXXFLAGS"
63536 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63540 $as_echo_n "checking for strtold declaration... " >&6; }
63541 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63542 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63543 $as_echo_n "(cached) " >&6
63544 else
63547 ac_ext=cpp
63548 ac_cpp='$CXXCPP $CPPFLAGS'
63549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63554 /* end confdefs.h. */
63555 #include <stdlib.h>
63557 main ()
63559 strtold(0, 0);
63561 return 0;
63563 _ACEOF
63564 if ac_fn_cxx_try_compile "$LINENO"; then :
63565 glibcxx_cv_func_strtold_use=yes
63566 else
63567 glibcxx_cv_func_strtold_use=no
63569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63570 ac_ext=c
63571 ac_cpp='$CPP $CPPFLAGS'
63572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63581 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63582 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63583 for ac_func in strtold
63584 do :
63585 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63586 if test "x$ac_cv_func_strtold" = x""yes; then :
63587 cat >>confdefs.h <<_ACEOF
63588 #define HAVE_STRTOLD 1
63589 _ACEOF
63592 done
63599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63600 $as_echo_n "checking for strtof declaration... " >&6; }
63601 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63602 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63603 $as_echo_n "(cached) " >&6
63604 else
63607 ac_ext=cpp
63608 ac_cpp='$CXXCPP $CPPFLAGS'
63609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63614 /* end confdefs.h. */
63615 #include <stdlib.h>
63617 main ()
63619 strtof(0, 0);
63621 return 0;
63623 _ACEOF
63624 if ac_fn_cxx_try_compile "$LINENO"; then :
63625 glibcxx_cv_func_strtof_use=yes
63626 else
63627 glibcxx_cv_func_strtof_use=no
63629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63630 ac_ext=c
63631 ac_cpp='$CPP $CPPFLAGS'
63632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63641 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63642 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63643 for ac_func in strtof
63644 do :
63645 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63646 if test "x$ac_cv_func_strtof" = x""yes; then :
63647 cat >>confdefs.h <<_ACEOF
63648 #define HAVE_STRTOF 1
63649 _ACEOF
63652 done
63659 CXXFLAGS="$ac_save_CXXFLAGS"
63662 *-solaris*)
63663 case "$target" in
63664 *-solaris2.9 | *-solaris2.10)
63666 # If we're not using GNU ld, then there's no point in even trying these
63667 # tests. Check for that first. We should have already tested for gld
63668 # by now (in libtool), but require it now just to be safe...
63669 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63670 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63674 # The name set by libtool depends on the version of libtool. Shame on us
63675 # for depending on an impl detail, but c'est la vie. Older versions used
63676 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63677 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63678 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63679 # set (hence we're using an older libtool), then set it.
63680 if test x${with_gnu_ld+set} != xset; then
63681 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63682 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63683 with_gnu_ld=no
63684 else
63685 with_gnu_ld=$ac_cv_prog_gnu_ld
63689 # Start by getting the version number. I think the libtool test already
63690 # does some of this, but throws away the result.
63691 glibcxx_ld_is_gold=no
63692 if test x"$with_gnu_ld" = x"yes"; then
63693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63694 $as_echo_n "checking for ld version... " >&6; }
63696 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63697 glibcxx_ld_is_gold=yes
63699 ldver=`$LD --version 2>/dev/null |
63700 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'`
63702 glibcxx_gnu_ld_version=`echo $ldver | \
63703 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63705 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63708 # Set --gc-sections.
63709 glibcxx_have_gc_sections=no
63710 if test "$glibcxx_ld_is_gold" = "yes"; then
63711 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63712 glibcxx_have_gc_sections=yes
63714 else
63715 glibcxx_gcsections_min_ld=21602
63716 if test x"$with_gnu_ld" = x"yes" &&
63717 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63718 glibcxx_have_gc_sections=yes
63721 if test "$glibcxx_have_gc_sections" = "yes"; then
63722 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63723 # NB: This flag only works reliably after 2.16.1. Configure tests
63724 # for this are difficult, so hard wire a value that should work.
63726 ac_test_CFLAGS="${CFLAGS+set}"
63727 ac_save_CFLAGS="$CFLAGS"
63728 CFLAGS='-Wl,--gc-sections'
63730 # Check for -Wl,--gc-sections
63731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63732 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63733 if test x$gcc_no_link = xyes; then
63734 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63737 /* end confdefs.h. */
63738 int one(void) { return 1; }
63739 int two(void) { return 2; }
63742 main ()
63744 two();
63746 return 0;
63748 _ACEOF
63749 if ac_fn_c_try_link "$LINENO"; then :
63750 ac_gcsections=yes
63751 else
63752 ac_gcsections=no
63754 rm -f core conftest.err conftest.$ac_objext \
63755 conftest$ac_exeext conftest.$ac_ext
63756 if test "$ac_gcsections" = "yes"; then
63757 rm -f conftest.c
63758 touch conftest.c
63759 if $CC -c conftest.c; then
63760 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63761 grep "Warning: gc-sections option ignored" > /dev/null; then
63762 ac_gcsections=no
63765 rm -f conftest.c conftest.o conftest
63767 if test "$ac_gcsections" = "yes"; then
63768 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63771 $as_echo "$ac_gcsections" >&6; }
63773 if test "$ac_test_CFLAGS" = set; then
63774 CFLAGS="$ac_save_CFLAGS"
63775 else
63776 # this is the suspicious part
63777 CFLAGS=''
63781 # Set -z,relro.
63782 # Note this is only for shared objects.
63783 ac_ld_relro=no
63784 if test x"$with_gnu_ld" = x"yes"; then
63785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63786 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63787 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63788 if test -n "$cxx_z_relo"; then
63789 OPT_LDFLAGS="-Wl,-z,relro"
63790 ac_ld_relro=yes
63792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63793 $as_echo "$ac_ld_relro" >&6; }
63796 # Set linker optimization flags.
63797 if test x"$with_gnu_ld" = x"yes"; then
63798 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63804 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63806 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63808 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63810 # All of the dependencies for wide character support are here, so
63811 # turn it on.
63812 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63815 esac
63816 case "$target" in
63817 *-*-solaris2.10)
63818 # These two C99 functions are present only in Solaris >= 10
63819 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63821 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63824 esac
63825 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63827 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63829 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63831 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63834 *-tpf)
63835 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63836 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63838 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63840 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63842 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63844 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63846 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63848 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63850 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63852 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63854 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63856 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63858 if test x"long_double_math_on_this_cpu" = x"yes"; then
63859 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63861 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63863 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63865 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63869 *-*vms*)
63870 # Check for available headers.
63871 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63873 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63874 ac_save_CXXFLAGS="$CXXFLAGS"
63875 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63878 $as_echo_n "checking for sin in -lm... " >&6; }
63879 if test "${ac_cv_lib_m_sin+set}" = set; then :
63880 $as_echo_n "(cached) " >&6
63881 else
63882 ac_check_lib_save_LIBS=$LIBS
63883 LIBS="-lm $LIBS"
63884 if test x$gcc_no_link = xyes; then
63885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63888 /* end confdefs.h. */
63890 /* Override any GCC internal prototype to avoid an error.
63891 Use char because int might match the return type of a GCC
63892 builtin and then its argument prototype would still apply. */
63893 #ifdef __cplusplus
63894 extern "C"
63895 #endif
63896 char sin ();
63898 main ()
63900 return sin ();
63902 return 0;
63904 _ACEOF
63905 if ac_fn_c_try_link "$LINENO"; then :
63906 ac_cv_lib_m_sin=yes
63907 else
63908 ac_cv_lib_m_sin=no
63910 rm -f core conftest.err conftest.$ac_objext \
63911 conftest$ac_exeext conftest.$ac_ext
63912 LIBS=$ac_check_lib_save_LIBS
63914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63915 $as_echo "$ac_cv_lib_m_sin" >&6; }
63916 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63917 libm="-lm"
63920 ac_save_LIBS="$LIBS"
63921 LIBS="$LIBS $libm"
63925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63926 $as_echo_n "checking for isinf declaration... " >&6; }
63927 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63928 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63929 $as_echo_n "(cached) " >&6
63930 else
63933 ac_ext=cpp
63934 ac_cpp='$CXXCPP $CPPFLAGS'
63935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63940 /* end confdefs.h. */
63941 #include <math.h>
63942 #ifdef HAVE_IEEEFP_H
63943 #include <ieeefp.h>
63944 #endif
63947 main ()
63949 isinf(0);
63951 return 0;
63953 _ACEOF
63954 if ac_fn_cxx_try_compile "$LINENO"; then :
63955 glibcxx_cv_func_isinf_use=yes
63956 else
63957 glibcxx_cv_func_isinf_use=no
63959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63960 ac_ext=c
63961 ac_cpp='$CPP $CPPFLAGS'
63962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
63971 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
63973 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63974 for ac_func in isinf
63975 do :
63976 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
63977 if test "x$ac_cv_func_isinf" = x""yes; then :
63978 cat >>confdefs.h <<_ACEOF
63979 #define HAVE_ISINF 1
63980 _ACEOF
63983 done
63985 else
63987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
63988 $as_echo_n "checking for _isinf declaration... " >&6; }
63989 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63990 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
63991 $as_echo_n "(cached) " >&6
63992 else
63995 ac_ext=cpp
63996 ac_cpp='$CXXCPP $CPPFLAGS'
63997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64002 /* end confdefs.h. */
64003 #include <math.h>
64004 #ifdef HAVE_IEEEFP_H
64005 #include <ieeefp.h>
64006 #endif
64009 main ()
64011 _isinf(0);
64013 return 0;
64015 _ACEOF
64016 if ac_fn_cxx_try_compile "$LINENO"; then :
64017 glibcxx_cv_func__isinf_use=yes
64018 else
64019 glibcxx_cv_func__isinf_use=no
64021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64022 ac_ext=c
64023 ac_cpp='$CPP $CPPFLAGS'
64024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64033 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64035 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64036 for ac_func in _isinf
64037 do :
64038 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64039 if test "x$ac_cv_func__isinf" = x""yes; then :
64040 cat >>confdefs.h <<_ACEOF
64041 #define HAVE__ISINF 1
64042 _ACEOF
64045 done
64054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64055 $as_echo_n "checking for isnan declaration... " >&6; }
64056 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64057 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64058 $as_echo_n "(cached) " >&6
64059 else
64062 ac_ext=cpp
64063 ac_cpp='$CXXCPP $CPPFLAGS'
64064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64069 /* end confdefs.h. */
64070 #include <math.h>
64071 #ifdef HAVE_IEEEFP_H
64072 #include <ieeefp.h>
64073 #endif
64076 main ()
64078 isnan(0);
64080 return 0;
64082 _ACEOF
64083 if ac_fn_cxx_try_compile "$LINENO"; then :
64084 glibcxx_cv_func_isnan_use=yes
64085 else
64086 glibcxx_cv_func_isnan_use=no
64088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64089 ac_ext=c
64090 ac_cpp='$CPP $CPPFLAGS'
64091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64100 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64102 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64103 for ac_func in isnan
64104 do :
64105 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64106 if test "x$ac_cv_func_isnan" = x""yes; then :
64107 cat >>confdefs.h <<_ACEOF
64108 #define HAVE_ISNAN 1
64109 _ACEOF
64112 done
64114 else
64116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64117 $as_echo_n "checking for _isnan declaration... " >&6; }
64118 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64119 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64120 $as_echo_n "(cached) " >&6
64121 else
64124 ac_ext=cpp
64125 ac_cpp='$CXXCPP $CPPFLAGS'
64126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64131 /* end confdefs.h. */
64132 #include <math.h>
64133 #ifdef HAVE_IEEEFP_H
64134 #include <ieeefp.h>
64135 #endif
64138 main ()
64140 _isnan(0);
64142 return 0;
64144 _ACEOF
64145 if ac_fn_cxx_try_compile "$LINENO"; then :
64146 glibcxx_cv_func__isnan_use=yes
64147 else
64148 glibcxx_cv_func__isnan_use=no
64150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64151 ac_ext=c
64152 ac_cpp='$CPP $CPPFLAGS'
64153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64162 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64164 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64165 for ac_func in _isnan
64166 do :
64167 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64168 if test "x$ac_cv_func__isnan" = x""yes; then :
64169 cat >>confdefs.h <<_ACEOF
64170 #define HAVE__ISNAN 1
64171 _ACEOF
64174 done
64183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64184 $as_echo_n "checking for finite declaration... " >&6; }
64185 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64186 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64187 $as_echo_n "(cached) " >&6
64188 else
64191 ac_ext=cpp
64192 ac_cpp='$CXXCPP $CPPFLAGS'
64193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64198 /* end confdefs.h. */
64199 #include <math.h>
64200 #ifdef HAVE_IEEEFP_H
64201 #include <ieeefp.h>
64202 #endif
64205 main ()
64207 finite(0);
64209 return 0;
64211 _ACEOF
64212 if ac_fn_cxx_try_compile "$LINENO"; then :
64213 glibcxx_cv_func_finite_use=yes
64214 else
64215 glibcxx_cv_func_finite_use=no
64217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64218 ac_ext=c
64219 ac_cpp='$CPP $CPPFLAGS'
64220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64229 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64231 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64232 for ac_func in finite
64233 do :
64234 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64235 if test "x$ac_cv_func_finite" = x""yes; then :
64236 cat >>confdefs.h <<_ACEOF
64237 #define HAVE_FINITE 1
64238 _ACEOF
64241 done
64243 else
64245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64246 $as_echo_n "checking for _finite declaration... " >&6; }
64247 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64248 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64249 $as_echo_n "(cached) " >&6
64250 else
64253 ac_ext=cpp
64254 ac_cpp='$CXXCPP $CPPFLAGS'
64255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64260 /* end confdefs.h. */
64261 #include <math.h>
64262 #ifdef HAVE_IEEEFP_H
64263 #include <ieeefp.h>
64264 #endif
64267 main ()
64269 _finite(0);
64271 return 0;
64273 _ACEOF
64274 if ac_fn_cxx_try_compile "$LINENO"; then :
64275 glibcxx_cv_func__finite_use=yes
64276 else
64277 glibcxx_cv_func__finite_use=no
64279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64280 ac_ext=c
64281 ac_cpp='$CPP $CPPFLAGS'
64282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64291 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64293 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64294 for ac_func in _finite
64295 do :
64296 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64297 if test "x$ac_cv_func__finite" = x""yes; then :
64298 cat >>confdefs.h <<_ACEOF
64299 #define HAVE__FINITE 1
64300 _ACEOF
64303 done
64312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64313 $as_echo_n "checking for sincos declaration... " >&6; }
64314 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64315 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64316 $as_echo_n "(cached) " >&6
64317 else
64320 ac_ext=cpp
64321 ac_cpp='$CXXCPP $CPPFLAGS'
64322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64327 /* end confdefs.h. */
64328 #include <math.h>
64330 main ()
64332 sincos(0, 0, 0);
64334 return 0;
64336 _ACEOF
64337 if ac_fn_cxx_try_compile "$LINENO"; then :
64338 glibcxx_cv_func_sincos_use=yes
64339 else
64340 glibcxx_cv_func_sincos_use=no
64342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64343 ac_ext=c
64344 ac_cpp='$CPP $CPPFLAGS'
64345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64354 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64356 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64357 for ac_func in sincos
64358 do :
64359 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64360 if test "x$ac_cv_func_sincos" = x""yes; then :
64361 cat >>confdefs.h <<_ACEOF
64362 #define HAVE_SINCOS 1
64363 _ACEOF
64366 done
64368 else
64370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64371 $as_echo_n "checking for _sincos declaration... " >&6; }
64372 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64373 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64374 $as_echo_n "(cached) " >&6
64375 else
64378 ac_ext=cpp
64379 ac_cpp='$CXXCPP $CPPFLAGS'
64380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64385 /* end confdefs.h. */
64386 #include <math.h>
64388 main ()
64390 _sincos(0, 0, 0);
64392 return 0;
64394 _ACEOF
64395 if ac_fn_cxx_try_compile "$LINENO"; then :
64396 glibcxx_cv_func__sincos_use=yes
64397 else
64398 glibcxx_cv_func__sincos_use=no
64400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64401 ac_ext=c
64402 ac_cpp='$CPP $CPPFLAGS'
64403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64412 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64414 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64415 for ac_func in _sincos
64416 do :
64417 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64418 if test "x$ac_cv_func__sincos" = x""yes; then :
64419 cat >>confdefs.h <<_ACEOF
64420 #define HAVE__SINCOS 1
64421 _ACEOF
64424 done
64433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64434 $as_echo_n "checking for fpclass declaration... " >&6; }
64435 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64436 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64437 $as_echo_n "(cached) " >&6
64438 else
64441 ac_ext=cpp
64442 ac_cpp='$CXXCPP $CPPFLAGS'
64443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64448 /* end confdefs.h. */
64449 #include <math.h>
64450 #ifdef HAVE_IEEEFP_H
64451 #include <ieeefp.h>
64452 #endif
64455 main ()
64457 fpclass(0);
64459 return 0;
64461 _ACEOF
64462 if ac_fn_cxx_try_compile "$LINENO"; then :
64463 glibcxx_cv_func_fpclass_use=yes
64464 else
64465 glibcxx_cv_func_fpclass_use=no
64467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64468 ac_ext=c
64469 ac_cpp='$CPP $CPPFLAGS'
64470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64479 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64481 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64482 for ac_func in fpclass
64483 do :
64484 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64485 if test "x$ac_cv_func_fpclass" = x""yes; then :
64486 cat >>confdefs.h <<_ACEOF
64487 #define HAVE_FPCLASS 1
64488 _ACEOF
64491 done
64493 else
64495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64496 $as_echo_n "checking for _fpclass declaration... " >&6; }
64497 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64498 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64499 $as_echo_n "(cached) " >&6
64500 else
64503 ac_ext=cpp
64504 ac_cpp='$CXXCPP $CPPFLAGS'
64505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64510 /* end confdefs.h. */
64511 #include <math.h>
64512 #ifdef HAVE_IEEEFP_H
64513 #include <ieeefp.h>
64514 #endif
64517 main ()
64519 _fpclass(0);
64521 return 0;
64523 _ACEOF
64524 if ac_fn_cxx_try_compile "$LINENO"; then :
64525 glibcxx_cv_func__fpclass_use=yes
64526 else
64527 glibcxx_cv_func__fpclass_use=no
64529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64530 ac_ext=c
64531 ac_cpp='$CPP $CPPFLAGS'
64532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64541 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64543 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64544 for ac_func in _fpclass
64545 do :
64546 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64547 if test "x$ac_cv_func__fpclass" = x""yes; then :
64548 cat >>confdefs.h <<_ACEOF
64549 #define HAVE__FPCLASS 1
64550 _ACEOF
64553 done
64562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64563 $as_echo_n "checking for qfpclass declaration... " >&6; }
64564 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64565 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64566 $as_echo_n "(cached) " >&6
64567 else
64570 ac_ext=cpp
64571 ac_cpp='$CXXCPP $CPPFLAGS'
64572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64577 /* end confdefs.h. */
64578 #include <math.h>
64579 #ifdef HAVE_IEEEFP_H
64580 #include <ieeefp.h>
64581 #endif
64584 main ()
64586 qfpclass(0);
64588 return 0;
64590 _ACEOF
64591 if ac_fn_cxx_try_compile "$LINENO"; then :
64592 glibcxx_cv_func_qfpclass_use=yes
64593 else
64594 glibcxx_cv_func_qfpclass_use=no
64596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64597 ac_ext=c
64598 ac_cpp='$CPP $CPPFLAGS'
64599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64608 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64610 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64611 for ac_func in qfpclass
64612 do :
64613 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64614 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64615 cat >>confdefs.h <<_ACEOF
64616 #define HAVE_QFPCLASS 1
64617 _ACEOF
64620 done
64622 else
64624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64625 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64626 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64627 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64628 $as_echo_n "(cached) " >&6
64629 else
64632 ac_ext=cpp
64633 ac_cpp='$CXXCPP $CPPFLAGS'
64634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64639 /* end confdefs.h. */
64640 #include <math.h>
64641 #ifdef HAVE_IEEEFP_H
64642 #include <ieeefp.h>
64643 #endif
64646 main ()
64648 _qfpclass(0);
64650 return 0;
64652 _ACEOF
64653 if ac_fn_cxx_try_compile "$LINENO"; then :
64654 glibcxx_cv_func__qfpclass_use=yes
64655 else
64656 glibcxx_cv_func__qfpclass_use=no
64658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64659 ac_ext=c
64660 ac_cpp='$CPP $CPPFLAGS'
64661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64670 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64672 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64673 for ac_func in _qfpclass
64674 do :
64675 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64676 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64677 cat >>confdefs.h <<_ACEOF
64678 #define HAVE__QFPCLASS 1
64679 _ACEOF
64682 done
64691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64692 $as_echo_n "checking for hypot declaration... " >&6; }
64693 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64694 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64695 $as_echo_n "(cached) " >&6
64696 else
64699 ac_ext=cpp
64700 ac_cpp='$CXXCPP $CPPFLAGS'
64701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64706 /* end confdefs.h. */
64707 #include <math.h>
64709 main ()
64711 hypot(0, 0);
64713 return 0;
64715 _ACEOF
64716 if ac_fn_cxx_try_compile "$LINENO"; then :
64717 glibcxx_cv_func_hypot_use=yes
64718 else
64719 glibcxx_cv_func_hypot_use=no
64721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64722 ac_ext=c
64723 ac_cpp='$CPP $CPPFLAGS'
64724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64733 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64735 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64736 for ac_func in hypot
64737 do :
64738 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64739 if test "x$ac_cv_func_hypot" = x""yes; then :
64740 cat >>confdefs.h <<_ACEOF
64741 #define HAVE_HYPOT 1
64742 _ACEOF
64745 done
64747 else
64749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64750 $as_echo_n "checking for _hypot declaration... " >&6; }
64751 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64752 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64753 $as_echo_n "(cached) " >&6
64754 else
64757 ac_ext=cpp
64758 ac_cpp='$CXXCPP $CPPFLAGS'
64759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64764 /* end confdefs.h. */
64765 #include <math.h>
64767 main ()
64769 _hypot(0, 0);
64771 return 0;
64773 _ACEOF
64774 if ac_fn_cxx_try_compile "$LINENO"; then :
64775 glibcxx_cv_func__hypot_use=yes
64776 else
64777 glibcxx_cv_func__hypot_use=no
64779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64780 ac_ext=c
64781 ac_cpp='$CPP $CPPFLAGS'
64782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64791 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64793 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64794 for ac_func in _hypot
64795 do :
64796 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64797 if test "x$ac_cv_func__hypot" = x""yes; then :
64798 cat >>confdefs.h <<_ACEOF
64799 #define HAVE__HYPOT 1
64800 _ACEOF
64803 done
64812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64813 $as_echo_n "checking for float trig functions... " >&6; }
64814 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64815 $as_echo_n "(cached) " >&6
64816 else
64819 ac_ext=cpp
64820 ac_cpp='$CXXCPP $CPPFLAGS'
64821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64826 /* end confdefs.h. */
64827 #include <math.h>
64829 main ()
64831 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64833 return 0;
64835 _ACEOF
64836 if ac_fn_cxx_try_compile "$LINENO"; then :
64837 glibcxx_cv_func_float_trig_use=yes
64838 else
64839 glibcxx_cv_func_float_trig_use=no
64841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64842 ac_ext=c
64843 ac_cpp='$CPP $CPPFLAGS'
64844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64851 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64852 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64853 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64854 do :
64855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64857 eval as_val=\$$as_ac_var
64858 if test "x$as_val" = x""yes; then :
64859 cat >>confdefs.h <<_ACEOF
64860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64861 _ACEOF
64864 done
64866 else
64867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64868 $as_echo_n "checking for _float trig functions... " >&6; }
64869 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64870 $as_echo_n "(cached) " >&6
64871 else
64874 ac_ext=cpp
64875 ac_cpp='$CXXCPP $CPPFLAGS'
64876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64881 /* end confdefs.h. */
64882 #include <math.h>
64884 main ()
64886 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64888 return 0;
64890 _ACEOF
64891 if ac_fn_cxx_try_compile "$LINENO"; then :
64892 glibcxx_cv_func__float_trig_use=yes
64893 else
64894 glibcxx_cv_func__float_trig_use=no
64896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64897 ac_ext=c
64898 ac_cpp='$CPP $CPPFLAGS'
64899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64906 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64907 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64908 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64909 do :
64910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64912 eval as_val=\$$as_ac_var
64913 if test "x$as_val" = x""yes; then :
64914 cat >>confdefs.h <<_ACEOF
64915 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64916 _ACEOF
64919 done
64928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64929 $as_echo_n "checking for float round functions... " >&6; }
64930 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
64931 $as_echo_n "(cached) " >&6
64932 else
64935 ac_ext=cpp
64936 ac_cpp='$CXXCPP $CPPFLAGS'
64937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64942 /* end confdefs.h. */
64943 #include <math.h>
64945 main ()
64947 ceilf (0); floorf (0);
64949 return 0;
64951 _ACEOF
64952 if ac_fn_cxx_try_compile "$LINENO"; then :
64953 glibcxx_cv_func_float_round_use=yes
64954 else
64955 glibcxx_cv_func_float_round_use=no
64957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64958 ac_ext=c
64959 ac_cpp='$CPP $CPPFLAGS'
64960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
64967 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
64968 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64969 for ac_func in ceilf floorf
64970 do :
64971 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64973 eval as_val=\$$as_ac_var
64974 if test "x$as_val" = x""yes; then :
64975 cat >>confdefs.h <<_ACEOF
64976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64977 _ACEOF
64980 done
64982 else
64983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
64984 $as_echo_n "checking for _float round functions... " >&6; }
64985 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
64986 $as_echo_n "(cached) " >&6
64987 else
64990 ac_ext=cpp
64991 ac_cpp='$CXXCPP $CPPFLAGS'
64992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64997 /* end confdefs.h. */
64998 #include <math.h>
65000 main ()
65002 _ceilf (0); _floorf (0);
65004 return 0;
65006 _ACEOF
65007 if ac_fn_cxx_try_compile "$LINENO"; then :
65008 glibcxx_cv_func__float_round_use=yes
65009 else
65010 glibcxx_cv_func__float_round_use=no
65012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65013 ac_ext=c
65014 ac_cpp='$CPP $CPPFLAGS'
65015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65022 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65023 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65024 for ac_func in _ceilf _floorf
65025 do :
65026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65028 eval as_val=\$$as_ac_var
65029 if test "x$as_val" = x""yes; then :
65030 cat >>confdefs.h <<_ACEOF
65031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65032 _ACEOF
65035 done
65045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65046 $as_echo_n "checking for expf declaration... " >&6; }
65047 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65048 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65049 $as_echo_n "(cached) " >&6
65050 else
65053 ac_ext=cpp
65054 ac_cpp='$CXXCPP $CPPFLAGS'
65055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65060 /* end confdefs.h. */
65061 #include <math.h>
65062 #ifdef HAVE_IEEEFP_H
65063 #include <ieeefp.h>
65064 #endif
65067 main ()
65069 expf(0);
65071 return 0;
65073 _ACEOF
65074 if ac_fn_cxx_try_compile "$LINENO"; then :
65075 glibcxx_cv_func_expf_use=yes
65076 else
65077 glibcxx_cv_func_expf_use=no
65079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65080 ac_ext=c
65081 ac_cpp='$CPP $CPPFLAGS'
65082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65091 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65093 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65094 for ac_func in expf
65095 do :
65096 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65097 if test "x$ac_cv_func_expf" = x""yes; then :
65098 cat >>confdefs.h <<_ACEOF
65099 #define HAVE_EXPF 1
65100 _ACEOF
65103 done
65105 else
65107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65108 $as_echo_n "checking for _expf declaration... " >&6; }
65109 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65110 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65111 $as_echo_n "(cached) " >&6
65112 else
65115 ac_ext=cpp
65116 ac_cpp='$CXXCPP $CPPFLAGS'
65117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65122 /* end confdefs.h. */
65123 #include <math.h>
65124 #ifdef HAVE_IEEEFP_H
65125 #include <ieeefp.h>
65126 #endif
65129 main ()
65131 _expf(0);
65133 return 0;
65135 _ACEOF
65136 if ac_fn_cxx_try_compile "$LINENO"; then :
65137 glibcxx_cv_func__expf_use=yes
65138 else
65139 glibcxx_cv_func__expf_use=no
65141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65142 ac_ext=c
65143 ac_cpp='$CPP $CPPFLAGS'
65144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65153 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65155 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65156 for ac_func in _expf
65157 do :
65158 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65159 if test "x$ac_cv_func__expf" = x""yes; then :
65160 cat >>confdefs.h <<_ACEOF
65161 #define HAVE__EXPF 1
65162 _ACEOF
65165 done
65174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65175 $as_echo_n "checking for isnanf declaration... " >&6; }
65176 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65177 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65178 $as_echo_n "(cached) " >&6
65179 else
65182 ac_ext=cpp
65183 ac_cpp='$CXXCPP $CPPFLAGS'
65184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65189 /* end confdefs.h. */
65190 #include <math.h>
65191 #ifdef HAVE_IEEEFP_H
65192 #include <ieeefp.h>
65193 #endif
65196 main ()
65198 isnanf(0);
65200 return 0;
65202 _ACEOF
65203 if ac_fn_cxx_try_compile "$LINENO"; then :
65204 glibcxx_cv_func_isnanf_use=yes
65205 else
65206 glibcxx_cv_func_isnanf_use=no
65208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65209 ac_ext=c
65210 ac_cpp='$CPP $CPPFLAGS'
65211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65220 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65222 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65223 for ac_func in isnanf
65224 do :
65225 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65226 if test "x$ac_cv_func_isnanf" = x""yes; then :
65227 cat >>confdefs.h <<_ACEOF
65228 #define HAVE_ISNANF 1
65229 _ACEOF
65232 done
65234 else
65236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65237 $as_echo_n "checking for _isnanf declaration... " >&6; }
65238 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65239 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65240 $as_echo_n "(cached) " >&6
65241 else
65244 ac_ext=cpp
65245 ac_cpp='$CXXCPP $CPPFLAGS'
65246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65251 /* end confdefs.h. */
65252 #include <math.h>
65253 #ifdef HAVE_IEEEFP_H
65254 #include <ieeefp.h>
65255 #endif
65258 main ()
65260 _isnanf(0);
65262 return 0;
65264 _ACEOF
65265 if ac_fn_cxx_try_compile "$LINENO"; then :
65266 glibcxx_cv_func__isnanf_use=yes
65267 else
65268 glibcxx_cv_func__isnanf_use=no
65270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65271 ac_ext=c
65272 ac_cpp='$CPP $CPPFLAGS'
65273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65282 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65284 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65285 for ac_func in _isnanf
65286 do :
65287 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65288 if test "x$ac_cv_func__isnanf" = x""yes; then :
65289 cat >>confdefs.h <<_ACEOF
65290 #define HAVE__ISNANF 1
65291 _ACEOF
65294 done
65303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65304 $as_echo_n "checking for isinff declaration... " >&6; }
65305 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65306 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65307 $as_echo_n "(cached) " >&6
65308 else
65311 ac_ext=cpp
65312 ac_cpp='$CXXCPP $CPPFLAGS'
65313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65318 /* end confdefs.h. */
65319 #include <math.h>
65320 #ifdef HAVE_IEEEFP_H
65321 #include <ieeefp.h>
65322 #endif
65325 main ()
65327 isinff(0);
65329 return 0;
65331 _ACEOF
65332 if ac_fn_cxx_try_compile "$LINENO"; then :
65333 glibcxx_cv_func_isinff_use=yes
65334 else
65335 glibcxx_cv_func_isinff_use=no
65337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65338 ac_ext=c
65339 ac_cpp='$CPP $CPPFLAGS'
65340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65349 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65351 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65352 for ac_func in isinff
65353 do :
65354 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65355 if test "x$ac_cv_func_isinff" = x""yes; then :
65356 cat >>confdefs.h <<_ACEOF
65357 #define HAVE_ISINFF 1
65358 _ACEOF
65361 done
65363 else
65365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65366 $as_echo_n "checking for _isinff declaration... " >&6; }
65367 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65368 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65369 $as_echo_n "(cached) " >&6
65370 else
65373 ac_ext=cpp
65374 ac_cpp='$CXXCPP $CPPFLAGS'
65375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65380 /* end confdefs.h. */
65381 #include <math.h>
65382 #ifdef HAVE_IEEEFP_H
65383 #include <ieeefp.h>
65384 #endif
65387 main ()
65389 _isinff(0);
65391 return 0;
65393 _ACEOF
65394 if ac_fn_cxx_try_compile "$LINENO"; then :
65395 glibcxx_cv_func__isinff_use=yes
65396 else
65397 glibcxx_cv_func__isinff_use=no
65399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65400 ac_ext=c
65401 ac_cpp='$CPP $CPPFLAGS'
65402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65411 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65413 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65414 for ac_func in _isinff
65415 do :
65416 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65417 if test "x$ac_cv_func__isinff" = x""yes; then :
65418 cat >>confdefs.h <<_ACEOF
65419 #define HAVE__ISINFF 1
65420 _ACEOF
65423 done
65432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65433 $as_echo_n "checking for atan2f declaration... " >&6; }
65434 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65435 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65436 $as_echo_n "(cached) " >&6
65437 else
65440 ac_ext=cpp
65441 ac_cpp='$CXXCPP $CPPFLAGS'
65442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65447 /* end confdefs.h. */
65448 #include <math.h>
65450 main ()
65452 atan2f(0, 0);
65454 return 0;
65456 _ACEOF
65457 if ac_fn_cxx_try_compile "$LINENO"; then :
65458 glibcxx_cv_func_atan2f_use=yes
65459 else
65460 glibcxx_cv_func_atan2f_use=no
65462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65463 ac_ext=c
65464 ac_cpp='$CPP $CPPFLAGS'
65465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65474 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65476 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65477 for ac_func in atan2f
65478 do :
65479 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65480 if test "x$ac_cv_func_atan2f" = x""yes; then :
65481 cat >>confdefs.h <<_ACEOF
65482 #define HAVE_ATAN2F 1
65483 _ACEOF
65486 done
65488 else
65490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65491 $as_echo_n "checking for _atan2f declaration... " >&6; }
65492 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65493 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65494 $as_echo_n "(cached) " >&6
65495 else
65498 ac_ext=cpp
65499 ac_cpp='$CXXCPP $CPPFLAGS'
65500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65505 /* end confdefs.h. */
65506 #include <math.h>
65508 main ()
65510 _atan2f(0, 0);
65512 return 0;
65514 _ACEOF
65515 if ac_fn_cxx_try_compile "$LINENO"; then :
65516 glibcxx_cv_func__atan2f_use=yes
65517 else
65518 glibcxx_cv_func__atan2f_use=no
65520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65521 ac_ext=c
65522 ac_cpp='$CPP $CPPFLAGS'
65523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65532 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65534 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65535 for ac_func in _atan2f
65536 do :
65537 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65538 if test "x$ac_cv_func__atan2f" = x""yes; then :
65539 cat >>confdefs.h <<_ACEOF
65540 #define HAVE__ATAN2F 1
65541 _ACEOF
65544 done
65553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65554 $as_echo_n "checking for fabsf declaration... " >&6; }
65555 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65556 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65557 $as_echo_n "(cached) " >&6
65558 else
65561 ac_ext=cpp
65562 ac_cpp='$CXXCPP $CPPFLAGS'
65563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65568 /* end confdefs.h. */
65569 #include <math.h>
65570 #ifdef HAVE_IEEEFP_H
65571 #include <ieeefp.h>
65572 #endif
65575 main ()
65577 fabsf(0);
65579 return 0;
65581 _ACEOF
65582 if ac_fn_cxx_try_compile "$LINENO"; then :
65583 glibcxx_cv_func_fabsf_use=yes
65584 else
65585 glibcxx_cv_func_fabsf_use=no
65587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65588 ac_ext=c
65589 ac_cpp='$CPP $CPPFLAGS'
65590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65599 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65601 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65602 for ac_func in fabsf
65603 do :
65604 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65605 if test "x$ac_cv_func_fabsf" = x""yes; then :
65606 cat >>confdefs.h <<_ACEOF
65607 #define HAVE_FABSF 1
65608 _ACEOF
65611 done
65613 else
65615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65616 $as_echo_n "checking for _fabsf declaration... " >&6; }
65617 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65618 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65619 $as_echo_n "(cached) " >&6
65620 else
65623 ac_ext=cpp
65624 ac_cpp='$CXXCPP $CPPFLAGS'
65625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65630 /* end confdefs.h. */
65631 #include <math.h>
65632 #ifdef HAVE_IEEEFP_H
65633 #include <ieeefp.h>
65634 #endif
65637 main ()
65639 _fabsf(0);
65641 return 0;
65643 _ACEOF
65644 if ac_fn_cxx_try_compile "$LINENO"; then :
65645 glibcxx_cv_func__fabsf_use=yes
65646 else
65647 glibcxx_cv_func__fabsf_use=no
65649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65650 ac_ext=c
65651 ac_cpp='$CPP $CPPFLAGS'
65652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65661 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65663 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65664 for ac_func in _fabsf
65665 do :
65666 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65667 if test "x$ac_cv_func__fabsf" = x""yes; then :
65668 cat >>confdefs.h <<_ACEOF
65669 #define HAVE__FABSF 1
65670 _ACEOF
65673 done
65682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65683 $as_echo_n "checking for fmodf declaration... " >&6; }
65684 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65685 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65686 $as_echo_n "(cached) " >&6
65687 else
65690 ac_ext=cpp
65691 ac_cpp='$CXXCPP $CPPFLAGS'
65692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65697 /* end confdefs.h. */
65698 #include <math.h>
65700 main ()
65702 fmodf(0, 0);
65704 return 0;
65706 _ACEOF
65707 if ac_fn_cxx_try_compile "$LINENO"; then :
65708 glibcxx_cv_func_fmodf_use=yes
65709 else
65710 glibcxx_cv_func_fmodf_use=no
65712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65713 ac_ext=c
65714 ac_cpp='$CPP $CPPFLAGS'
65715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65724 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65726 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65727 for ac_func in fmodf
65728 do :
65729 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65730 if test "x$ac_cv_func_fmodf" = x""yes; then :
65731 cat >>confdefs.h <<_ACEOF
65732 #define HAVE_FMODF 1
65733 _ACEOF
65736 done
65738 else
65740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65741 $as_echo_n "checking for _fmodf declaration... " >&6; }
65742 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65743 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65744 $as_echo_n "(cached) " >&6
65745 else
65748 ac_ext=cpp
65749 ac_cpp='$CXXCPP $CPPFLAGS'
65750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65755 /* end confdefs.h. */
65756 #include <math.h>
65758 main ()
65760 _fmodf(0, 0);
65762 return 0;
65764 _ACEOF
65765 if ac_fn_cxx_try_compile "$LINENO"; then :
65766 glibcxx_cv_func__fmodf_use=yes
65767 else
65768 glibcxx_cv_func__fmodf_use=no
65770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65771 ac_ext=c
65772 ac_cpp='$CPP $CPPFLAGS'
65773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65782 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65784 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65785 for ac_func in _fmodf
65786 do :
65787 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65788 if test "x$ac_cv_func__fmodf" = x""yes; then :
65789 cat >>confdefs.h <<_ACEOF
65790 #define HAVE__FMODF 1
65791 _ACEOF
65794 done
65803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65804 $as_echo_n "checking for frexpf declaration... " >&6; }
65805 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65806 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65807 $as_echo_n "(cached) " >&6
65808 else
65811 ac_ext=cpp
65812 ac_cpp='$CXXCPP $CPPFLAGS'
65813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65818 /* end confdefs.h. */
65819 #include <math.h>
65821 main ()
65823 frexpf(0, 0);
65825 return 0;
65827 _ACEOF
65828 if ac_fn_cxx_try_compile "$LINENO"; then :
65829 glibcxx_cv_func_frexpf_use=yes
65830 else
65831 glibcxx_cv_func_frexpf_use=no
65833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65834 ac_ext=c
65835 ac_cpp='$CPP $CPPFLAGS'
65836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65845 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65847 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65848 for ac_func in frexpf
65849 do :
65850 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65851 if test "x$ac_cv_func_frexpf" = x""yes; then :
65852 cat >>confdefs.h <<_ACEOF
65853 #define HAVE_FREXPF 1
65854 _ACEOF
65857 done
65859 else
65861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65862 $as_echo_n "checking for _frexpf declaration... " >&6; }
65863 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65864 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65865 $as_echo_n "(cached) " >&6
65866 else
65869 ac_ext=cpp
65870 ac_cpp='$CXXCPP $CPPFLAGS'
65871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65876 /* end confdefs.h. */
65877 #include <math.h>
65879 main ()
65881 _frexpf(0, 0);
65883 return 0;
65885 _ACEOF
65886 if ac_fn_cxx_try_compile "$LINENO"; then :
65887 glibcxx_cv_func__frexpf_use=yes
65888 else
65889 glibcxx_cv_func__frexpf_use=no
65891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65892 ac_ext=c
65893 ac_cpp='$CPP $CPPFLAGS'
65894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65903 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65905 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65906 for ac_func in _frexpf
65907 do :
65908 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65909 if test "x$ac_cv_func__frexpf" = x""yes; then :
65910 cat >>confdefs.h <<_ACEOF
65911 #define HAVE__FREXPF 1
65912 _ACEOF
65915 done
65924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65925 $as_echo_n "checking for hypotf declaration... " >&6; }
65926 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65927 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
65928 $as_echo_n "(cached) " >&6
65929 else
65932 ac_ext=cpp
65933 ac_cpp='$CXXCPP $CPPFLAGS'
65934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65939 /* end confdefs.h. */
65940 #include <math.h>
65942 main ()
65944 hypotf(0, 0);
65946 return 0;
65948 _ACEOF
65949 if ac_fn_cxx_try_compile "$LINENO"; then :
65950 glibcxx_cv_func_hypotf_use=yes
65951 else
65952 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
65966 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
65968 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65969 for ac_func in hypotf
65970 do :
65971 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
65972 if test "x$ac_cv_func_hypotf" = x""yes; then :
65973 cat >>confdefs.h <<_ACEOF
65974 #define HAVE_HYPOTF 1
65975 _ACEOF
65978 done
65980 else
65982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
65983 $as_echo_n "checking for _hypotf declaration... " >&6; }
65984 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65985 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
65986 $as_echo_n "(cached) " >&6
65987 else
65990 ac_ext=cpp
65991 ac_cpp='$CXXCPP $CPPFLAGS'
65992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65997 /* end confdefs.h. */
65998 #include <math.h>
66000 main ()
66002 _hypotf(0, 0);
66004 return 0;
66006 _ACEOF
66007 if ac_fn_cxx_try_compile "$LINENO"; then :
66008 glibcxx_cv_func__hypotf_use=yes
66009 else
66010 glibcxx_cv_func__hypotf_use=no
66012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66013 ac_ext=c
66014 ac_cpp='$CPP $CPPFLAGS'
66015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
66024 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66026 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66027 for ac_func in _hypotf
66028 do :
66029 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66030 if test "x$ac_cv_func__hypotf" = x""yes; then :
66031 cat >>confdefs.h <<_ACEOF
66032 #define HAVE__HYPOTF 1
66033 _ACEOF
66036 done
66045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66046 $as_echo_n "checking for ldexpf declaration... " >&6; }
66047 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66048 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66049 $as_echo_n "(cached) " >&6
66050 else
66053 ac_ext=cpp
66054 ac_cpp='$CXXCPP $CPPFLAGS'
66055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66060 /* end confdefs.h. */
66061 #include <math.h>
66063 main ()
66065 ldexpf(0, 0);
66067 return 0;
66069 _ACEOF
66070 if ac_fn_cxx_try_compile "$LINENO"; then :
66071 glibcxx_cv_func_ldexpf_use=yes
66072 else
66073 glibcxx_cv_func_ldexpf_use=no
66075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66076 ac_ext=c
66077 ac_cpp='$CPP $CPPFLAGS'
66078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66087 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66089 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66090 for ac_func in ldexpf
66091 do :
66092 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66093 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66094 cat >>confdefs.h <<_ACEOF
66095 #define HAVE_LDEXPF 1
66096 _ACEOF
66099 done
66101 else
66103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66104 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66105 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66106 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66107 $as_echo_n "(cached) " >&6
66108 else
66111 ac_ext=cpp
66112 ac_cpp='$CXXCPP $CPPFLAGS'
66113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66118 /* end confdefs.h. */
66119 #include <math.h>
66121 main ()
66123 _ldexpf(0, 0);
66125 return 0;
66127 _ACEOF
66128 if ac_fn_cxx_try_compile "$LINENO"; then :
66129 glibcxx_cv_func__ldexpf_use=yes
66130 else
66131 glibcxx_cv_func__ldexpf_use=no
66133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66134 ac_ext=c
66135 ac_cpp='$CPP $CPPFLAGS'
66136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66145 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66147 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66148 for ac_func in _ldexpf
66149 do :
66150 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66151 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66152 cat >>confdefs.h <<_ACEOF
66153 #define HAVE__LDEXPF 1
66154 _ACEOF
66157 done
66166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66167 $as_echo_n "checking for logf declaration... " >&6; }
66168 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66169 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66170 $as_echo_n "(cached) " >&6
66171 else
66174 ac_ext=cpp
66175 ac_cpp='$CXXCPP $CPPFLAGS'
66176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66181 /* end confdefs.h. */
66182 #include <math.h>
66183 #ifdef HAVE_IEEEFP_H
66184 #include <ieeefp.h>
66185 #endif
66188 main ()
66190 logf(0);
66192 return 0;
66194 _ACEOF
66195 if ac_fn_cxx_try_compile "$LINENO"; then :
66196 glibcxx_cv_func_logf_use=yes
66197 else
66198 glibcxx_cv_func_logf_use=no
66200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66201 ac_ext=c
66202 ac_cpp='$CPP $CPPFLAGS'
66203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66212 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66214 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66215 for ac_func in logf
66216 do :
66217 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66218 if test "x$ac_cv_func_logf" = x""yes; then :
66219 cat >>confdefs.h <<_ACEOF
66220 #define HAVE_LOGF 1
66221 _ACEOF
66224 done
66226 else
66228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66229 $as_echo_n "checking for _logf declaration... " >&6; }
66230 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66231 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66232 $as_echo_n "(cached) " >&6
66233 else
66236 ac_ext=cpp
66237 ac_cpp='$CXXCPP $CPPFLAGS'
66238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66243 /* end confdefs.h. */
66244 #include <math.h>
66245 #ifdef HAVE_IEEEFP_H
66246 #include <ieeefp.h>
66247 #endif
66250 main ()
66252 _logf(0);
66254 return 0;
66256 _ACEOF
66257 if ac_fn_cxx_try_compile "$LINENO"; then :
66258 glibcxx_cv_func__logf_use=yes
66259 else
66260 glibcxx_cv_func__logf_use=no
66262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66263 ac_ext=c
66264 ac_cpp='$CPP $CPPFLAGS'
66265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66274 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66276 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66277 for ac_func in _logf
66278 do :
66279 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66280 if test "x$ac_cv_func__logf" = x""yes; then :
66281 cat >>confdefs.h <<_ACEOF
66282 #define HAVE__LOGF 1
66283 _ACEOF
66286 done
66295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66296 $as_echo_n "checking for log10f declaration... " >&6; }
66297 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66298 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66299 $as_echo_n "(cached) " >&6
66300 else
66303 ac_ext=cpp
66304 ac_cpp='$CXXCPP $CPPFLAGS'
66305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66310 /* end confdefs.h. */
66311 #include <math.h>
66312 #ifdef HAVE_IEEEFP_H
66313 #include <ieeefp.h>
66314 #endif
66317 main ()
66319 log10f(0);
66321 return 0;
66323 _ACEOF
66324 if ac_fn_cxx_try_compile "$LINENO"; then :
66325 glibcxx_cv_func_log10f_use=yes
66326 else
66327 glibcxx_cv_func_log10f_use=no
66329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66330 ac_ext=c
66331 ac_cpp='$CPP $CPPFLAGS'
66332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66341 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66343 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66344 for ac_func in log10f
66345 do :
66346 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66347 if test "x$ac_cv_func_log10f" = x""yes; then :
66348 cat >>confdefs.h <<_ACEOF
66349 #define HAVE_LOG10F 1
66350 _ACEOF
66353 done
66355 else
66357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66358 $as_echo_n "checking for _log10f declaration... " >&6; }
66359 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66360 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66361 $as_echo_n "(cached) " >&6
66362 else
66365 ac_ext=cpp
66366 ac_cpp='$CXXCPP $CPPFLAGS'
66367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66372 /* end confdefs.h. */
66373 #include <math.h>
66374 #ifdef HAVE_IEEEFP_H
66375 #include <ieeefp.h>
66376 #endif
66379 main ()
66381 _log10f(0);
66383 return 0;
66385 _ACEOF
66386 if ac_fn_cxx_try_compile "$LINENO"; then :
66387 glibcxx_cv_func__log10f_use=yes
66388 else
66389 glibcxx_cv_func__log10f_use=no
66391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66392 ac_ext=c
66393 ac_cpp='$CPP $CPPFLAGS'
66394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66403 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66405 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66406 for ac_func in _log10f
66407 do :
66408 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66409 if test "x$ac_cv_func__log10f" = x""yes; then :
66410 cat >>confdefs.h <<_ACEOF
66411 #define HAVE__LOG10F 1
66412 _ACEOF
66415 done
66424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66425 $as_echo_n "checking for modff declaration... " >&6; }
66426 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66427 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66428 $as_echo_n "(cached) " >&6
66429 else
66432 ac_ext=cpp
66433 ac_cpp='$CXXCPP $CPPFLAGS'
66434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66439 /* end confdefs.h. */
66440 #include <math.h>
66442 main ()
66444 modff(0, 0);
66446 return 0;
66448 _ACEOF
66449 if ac_fn_cxx_try_compile "$LINENO"; then :
66450 glibcxx_cv_func_modff_use=yes
66451 else
66452 glibcxx_cv_func_modff_use=no
66454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66455 ac_ext=c
66456 ac_cpp='$CPP $CPPFLAGS'
66457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66466 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66468 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66469 for ac_func in modff
66470 do :
66471 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66472 if test "x$ac_cv_func_modff" = x""yes; then :
66473 cat >>confdefs.h <<_ACEOF
66474 #define HAVE_MODFF 1
66475 _ACEOF
66478 done
66480 else
66482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66483 $as_echo_n "checking for _modff declaration... " >&6; }
66484 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66485 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66486 $as_echo_n "(cached) " >&6
66487 else
66490 ac_ext=cpp
66491 ac_cpp='$CXXCPP $CPPFLAGS'
66492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66497 /* end confdefs.h. */
66498 #include <math.h>
66500 main ()
66502 _modff(0, 0);
66504 return 0;
66506 _ACEOF
66507 if ac_fn_cxx_try_compile "$LINENO"; then :
66508 glibcxx_cv_func__modff_use=yes
66509 else
66510 glibcxx_cv_func__modff_use=no
66512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66513 ac_ext=c
66514 ac_cpp='$CPP $CPPFLAGS'
66515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66524 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66526 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66527 for ac_func in _modff
66528 do :
66529 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66530 if test "x$ac_cv_func__modff" = x""yes; then :
66531 cat >>confdefs.h <<_ACEOF
66532 #define HAVE__MODFF 1
66533 _ACEOF
66536 done
66545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66546 $as_echo_n "checking for modf declaration... " >&6; }
66547 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66548 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66549 $as_echo_n "(cached) " >&6
66550 else
66553 ac_ext=cpp
66554 ac_cpp='$CXXCPP $CPPFLAGS'
66555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66560 /* end confdefs.h. */
66561 #include <math.h>
66563 main ()
66565 modf(0, 0);
66567 return 0;
66569 _ACEOF
66570 if ac_fn_cxx_try_compile "$LINENO"; then :
66571 glibcxx_cv_func_modf_use=yes
66572 else
66573 glibcxx_cv_func_modf_use=no
66575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66576 ac_ext=c
66577 ac_cpp='$CPP $CPPFLAGS'
66578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66587 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66589 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66590 for ac_func in modf
66591 do :
66592 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66593 if test "x$ac_cv_func_modf" = x""yes; then :
66594 cat >>confdefs.h <<_ACEOF
66595 #define HAVE_MODF 1
66596 _ACEOF
66599 done
66601 else
66603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66604 $as_echo_n "checking for _modf declaration... " >&6; }
66605 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66606 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66607 $as_echo_n "(cached) " >&6
66608 else
66611 ac_ext=cpp
66612 ac_cpp='$CXXCPP $CPPFLAGS'
66613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66618 /* end confdefs.h. */
66619 #include <math.h>
66621 main ()
66623 _modf(0, 0);
66625 return 0;
66627 _ACEOF
66628 if ac_fn_cxx_try_compile "$LINENO"; then :
66629 glibcxx_cv_func__modf_use=yes
66630 else
66631 glibcxx_cv_func__modf_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__modf_use" >&5
66645 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66647 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66648 for ac_func in _modf
66649 do :
66650 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66651 if test "x$ac_cv_func__modf" = x""yes; then :
66652 cat >>confdefs.h <<_ACEOF
66653 #define HAVE__MODF 1
66654 _ACEOF
66657 done
66666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66667 $as_echo_n "checking for powf declaration... " >&6; }
66668 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66669 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66670 $as_echo_n "(cached) " >&6
66671 else
66674 ac_ext=cpp
66675 ac_cpp='$CXXCPP $CPPFLAGS'
66676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66681 /* end confdefs.h. */
66682 #include <math.h>
66684 main ()
66686 powf(0, 0);
66688 return 0;
66690 _ACEOF
66691 if ac_fn_cxx_try_compile "$LINENO"; then :
66692 glibcxx_cv_func_powf_use=yes
66693 else
66694 glibcxx_cv_func_powf_use=no
66696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66697 ac_ext=c
66698 ac_cpp='$CPP $CPPFLAGS'
66699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66708 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66710 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66711 for ac_func in powf
66712 do :
66713 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66714 if test "x$ac_cv_func_powf" = x""yes; then :
66715 cat >>confdefs.h <<_ACEOF
66716 #define HAVE_POWF 1
66717 _ACEOF
66720 done
66722 else
66724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66725 $as_echo_n "checking for _powf declaration... " >&6; }
66726 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66727 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66728 $as_echo_n "(cached) " >&6
66729 else
66732 ac_ext=cpp
66733 ac_cpp='$CXXCPP $CPPFLAGS'
66734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66739 /* end confdefs.h. */
66740 #include <math.h>
66742 main ()
66744 _powf(0, 0);
66746 return 0;
66748 _ACEOF
66749 if ac_fn_cxx_try_compile "$LINENO"; then :
66750 glibcxx_cv_func__powf_use=yes
66751 else
66752 glibcxx_cv_func__powf_use=no
66754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66755 ac_ext=c
66756 ac_cpp='$CPP $CPPFLAGS'
66757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66766 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66768 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66769 for ac_func in _powf
66770 do :
66771 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66772 if test "x$ac_cv_func__powf" = x""yes; then :
66773 cat >>confdefs.h <<_ACEOF
66774 #define HAVE__POWF 1
66775 _ACEOF
66778 done
66787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66788 $as_echo_n "checking for sqrtf declaration... " >&6; }
66789 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66790 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66791 $as_echo_n "(cached) " >&6
66792 else
66795 ac_ext=cpp
66796 ac_cpp='$CXXCPP $CPPFLAGS'
66797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66802 /* end confdefs.h. */
66803 #include <math.h>
66804 #ifdef HAVE_IEEEFP_H
66805 #include <ieeefp.h>
66806 #endif
66809 main ()
66811 sqrtf(0);
66813 return 0;
66815 _ACEOF
66816 if ac_fn_cxx_try_compile "$LINENO"; then :
66817 glibcxx_cv_func_sqrtf_use=yes
66818 else
66819 glibcxx_cv_func_sqrtf_use=no
66821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66822 ac_ext=c
66823 ac_cpp='$CPP $CPPFLAGS'
66824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66833 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66835 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66836 for ac_func in sqrtf
66837 do :
66838 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66839 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66840 cat >>confdefs.h <<_ACEOF
66841 #define HAVE_SQRTF 1
66842 _ACEOF
66845 done
66847 else
66849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66850 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66851 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66852 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66853 $as_echo_n "(cached) " >&6
66854 else
66857 ac_ext=cpp
66858 ac_cpp='$CXXCPP $CPPFLAGS'
66859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66864 /* end confdefs.h. */
66865 #include <math.h>
66866 #ifdef HAVE_IEEEFP_H
66867 #include <ieeefp.h>
66868 #endif
66871 main ()
66873 _sqrtf(0);
66875 return 0;
66877 _ACEOF
66878 if ac_fn_cxx_try_compile "$LINENO"; then :
66879 glibcxx_cv_func__sqrtf_use=yes
66880 else
66881 glibcxx_cv_func__sqrtf_use=no
66883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66884 ac_ext=c
66885 ac_cpp='$CPP $CPPFLAGS'
66886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66895 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66897 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66898 for ac_func in _sqrtf
66899 do :
66900 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66901 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66902 cat >>confdefs.h <<_ACEOF
66903 #define HAVE__SQRTF 1
66904 _ACEOF
66907 done
66916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66917 $as_echo_n "checking for sincosf declaration... " >&6; }
66918 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66919 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66920 $as_echo_n "(cached) " >&6
66921 else
66924 ac_ext=cpp
66925 ac_cpp='$CXXCPP $CPPFLAGS'
66926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66931 /* end confdefs.h. */
66932 #include <math.h>
66934 main ()
66936 sincosf(0, 0, 0);
66938 return 0;
66940 _ACEOF
66941 if ac_fn_cxx_try_compile "$LINENO"; then :
66942 glibcxx_cv_func_sincosf_use=yes
66943 else
66944 glibcxx_cv_func_sincosf_use=no
66946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66947 ac_ext=c
66948 ac_cpp='$CPP $CPPFLAGS'
66949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
66958 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
66960 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66961 for ac_func in sincosf
66962 do :
66963 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
66964 if test "x$ac_cv_func_sincosf" = x""yes; then :
66965 cat >>confdefs.h <<_ACEOF
66966 #define HAVE_SINCOSF 1
66967 _ACEOF
66970 done
66972 else
66974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
66975 $as_echo_n "checking for _sincosf declaration... " >&6; }
66976 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66977 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
66978 $as_echo_n "(cached) " >&6
66979 else
66982 ac_ext=cpp
66983 ac_cpp='$CXXCPP $CPPFLAGS'
66984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66989 /* end confdefs.h. */
66990 #include <math.h>
66992 main ()
66994 _sincosf(0, 0, 0);
66996 return 0;
66998 _ACEOF
66999 if ac_fn_cxx_try_compile "$LINENO"; then :
67000 glibcxx_cv_func__sincosf_use=yes
67001 else
67002 glibcxx_cv_func__sincosf_use=no
67004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67005 ac_ext=c
67006 ac_cpp='$CPP $CPPFLAGS'
67007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67016 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67018 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67019 for ac_func in _sincosf
67020 do :
67021 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67022 if test "x$ac_cv_func__sincosf" = x""yes; then :
67023 cat >>confdefs.h <<_ACEOF
67024 #define HAVE__SINCOSF 1
67025 _ACEOF
67028 done
67037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67038 $as_echo_n "checking for finitef declaration... " >&6; }
67039 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67040 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67041 $as_echo_n "(cached) " >&6
67042 else
67045 ac_ext=cpp
67046 ac_cpp='$CXXCPP $CPPFLAGS'
67047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67052 /* end confdefs.h. */
67053 #include <math.h>
67054 #ifdef HAVE_IEEEFP_H
67055 #include <ieeefp.h>
67056 #endif
67059 main ()
67061 finitef(0);
67063 return 0;
67065 _ACEOF
67066 if ac_fn_cxx_try_compile "$LINENO"; then :
67067 glibcxx_cv_func_finitef_use=yes
67068 else
67069 glibcxx_cv_func_finitef_use=no
67071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67072 ac_ext=c
67073 ac_cpp='$CPP $CPPFLAGS'
67074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67083 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67085 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67086 for ac_func in finitef
67087 do :
67088 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67089 if test "x$ac_cv_func_finitef" = x""yes; then :
67090 cat >>confdefs.h <<_ACEOF
67091 #define HAVE_FINITEF 1
67092 _ACEOF
67095 done
67097 else
67099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67100 $as_echo_n "checking for _finitef declaration... " >&6; }
67101 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67102 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67103 $as_echo_n "(cached) " >&6
67104 else
67107 ac_ext=cpp
67108 ac_cpp='$CXXCPP $CPPFLAGS'
67109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67114 /* end confdefs.h. */
67115 #include <math.h>
67116 #ifdef HAVE_IEEEFP_H
67117 #include <ieeefp.h>
67118 #endif
67121 main ()
67123 _finitef(0);
67125 return 0;
67127 _ACEOF
67128 if ac_fn_cxx_try_compile "$LINENO"; then :
67129 glibcxx_cv_func__finitef_use=yes
67130 else
67131 glibcxx_cv_func__finitef_use=no
67133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67134 ac_ext=c
67135 ac_cpp='$CPP $CPPFLAGS'
67136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67145 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67147 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67148 for ac_func in _finitef
67149 do :
67150 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67151 if test "x$ac_cv_func__finitef" = x""yes; then :
67152 cat >>confdefs.h <<_ACEOF
67153 #define HAVE__FINITEF 1
67154 _ACEOF
67157 done
67166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67167 $as_echo_n "checking for long double trig functions... " >&6; }
67168 if test "${glibcxx_cv_func_long_double_trig_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 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67187 return 0;
67189 _ACEOF
67190 if ac_fn_cxx_try_compile "$LINENO"; then :
67191 glibcxx_cv_func_long_double_trig_use=yes
67192 else
67193 glibcxx_cv_func_long_double_trig_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
67204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67205 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67206 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67207 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67208 do :
67209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67211 eval as_val=\$$as_ac_var
67212 if test "x$as_val" = x""yes; then :
67213 cat >>confdefs.h <<_ACEOF
67214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67215 _ACEOF
67218 done
67220 else
67221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67222 $as_echo_n "checking for _long double trig functions... " >&6; }
67223 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67224 $as_echo_n "(cached) " >&6
67225 else
67228 ac_ext=cpp
67229 ac_cpp='$CXXCPP $CPPFLAGS'
67230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67235 /* end confdefs.h. */
67236 #include <math.h>
67238 main ()
67240 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67242 return 0;
67244 _ACEOF
67245 if ac_fn_cxx_try_compile "$LINENO"; then :
67246 glibcxx_cv_func__long_double_trig_use=yes
67247 else
67248 glibcxx_cv_func__long_double_trig_use=no
67250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67251 ac_ext=c
67252 ac_cpp='$CPP $CPPFLAGS'
67253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67260 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67261 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67262 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67263 do :
67264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67266 eval as_val=\$$as_ac_var
67267 if test "x$as_val" = x""yes; then :
67268 cat >>confdefs.h <<_ACEOF
67269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67270 _ACEOF
67273 done
67282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67283 $as_echo_n "checking for long double round functions... " >&6; }
67284 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67285 $as_echo_n "(cached) " >&6
67286 else
67289 ac_ext=cpp
67290 ac_cpp='$CXXCPP $CPPFLAGS'
67291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67296 /* end confdefs.h. */
67297 #include <math.h>
67299 main ()
67301 ceill (0); floorl (0);
67303 return 0;
67305 _ACEOF
67306 if ac_fn_cxx_try_compile "$LINENO"; then :
67307 glibcxx_cv_func_long_double_round_use=yes
67308 else
67309 glibcxx_cv_func_long_double_round_use=no
67311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67312 ac_ext=c
67313 ac_cpp='$CPP $CPPFLAGS'
67314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67321 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67322 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67323 for ac_func in ceill floorl
67324 do :
67325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67326 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67327 eval as_val=\$$as_ac_var
67328 if test "x$as_val" = x""yes; then :
67329 cat >>confdefs.h <<_ACEOF
67330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67331 _ACEOF
67334 done
67336 else
67337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67338 $as_echo_n "checking for _long double round functions... " >&6; }
67339 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67340 $as_echo_n "(cached) " >&6
67341 else
67344 ac_ext=cpp
67345 ac_cpp='$CXXCPP $CPPFLAGS'
67346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67351 /* end confdefs.h. */
67352 #include <math.h>
67354 main ()
67356 _ceill (0); _floorl (0);
67358 return 0;
67360 _ACEOF
67361 if ac_fn_cxx_try_compile "$LINENO"; then :
67362 glibcxx_cv_func__long_double_round_use=yes
67363 else
67364 glibcxx_cv_func__long_double_round_use=no
67366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67367 ac_ext=c
67368 ac_cpp='$CPP $CPPFLAGS'
67369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67376 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67377 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67378 for ac_func in _ceill _floorl
67379 do :
67380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67382 eval as_val=\$$as_ac_var
67383 if test "x$as_val" = x""yes; then :
67384 cat >>confdefs.h <<_ACEOF
67385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67386 _ACEOF
67389 done
67399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67400 $as_echo_n "checking for isnanl declaration... " >&6; }
67401 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67402 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67403 $as_echo_n "(cached) " >&6
67404 else
67407 ac_ext=cpp
67408 ac_cpp='$CXXCPP $CPPFLAGS'
67409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67414 /* end confdefs.h. */
67415 #include <math.h>
67416 #ifdef HAVE_IEEEFP_H
67417 #include <ieeefp.h>
67418 #endif
67421 main ()
67423 isnanl(0);
67425 return 0;
67427 _ACEOF
67428 if ac_fn_cxx_try_compile "$LINENO"; then :
67429 glibcxx_cv_func_isnanl_use=yes
67430 else
67431 glibcxx_cv_func_isnanl_use=no
67433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67434 ac_ext=c
67435 ac_cpp='$CPP $CPPFLAGS'
67436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67445 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67447 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67448 for ac_func in isnanl
67449 do :
67450 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67451 if test "x$ac_cv_func_isnanl" = x""yes; then :
67452 cat >>confdefs.h <<_ACEOF
67453 #define HAVE_ISNANL 1
67454 _ACEOF
67457 done
67459 else
67461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67462 $as_echo_n "checking for _isnanl declaration... " >&6; }
67463 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67464 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67465 $as_echo_n "(cached) " >&6
67466 else
67469 ac_ext=cpp
67470 ac_cpp='$CXXCPP $CPPFLAGS'
67471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67476 /* end confdefs.h. */
67477 #include <math.h>
67478 #ifdef HAVE_IEEEFP_H
67479 #include <ieeefp.h>
67480 #endif
67483 main ()
67485 _isnanl(0);
67487 return 0;
67489 _ACEOF
67490 if ac_fn_cxx_try_compile "$LINENO"; then :
67491 glibcxx_cv_func__isnanl_use=yes
67492 else
67493 glibcxx_cv_func__isnanl_use=no
67495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67496 ac_ext=c
67497 ac_cpp='$CPP $CPPFLAGS'
67498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67507 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67509 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67510 for ac_func in _isnanl
67511 do :
67512 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67513 if test "x$ac_cv_func__isnanl" = x""yes; then :
67514 cat >>confdefs.h <<_ACEOF
67515 #define HAVE__ISNANL 1
67516 _ACEOF
67519 done
67528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67529 $as_echo_n "checking for isinfl declaration... " >&6; }
67530 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67531 if test "${glibcxx_cv_func_isinfl_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>
67545 #ifdef HAVE_IEEEFP_H
67546 #include <ieeefp.h>
67547 #endif
67550 main ()
67552 isinfl(0);
67554 return 0;
67556 _ACEOF
67557 if ac_fn_cxx_try_compile "$LINENO"; then :
67558 glibcxx_cv_func_isinfl_use=yes
67559 else
67560 glibcxx_cv_func_isinfl_use=no
67562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67563 ac_ext=c
67564 ac_cpp='$CPP $CPPFLAGS'
67565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67574 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67576 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67577 for ac_func in isinfl
67578 do :
67579 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67580 if test "x$ac_cv_func_isinfl" = x""yes; then :
67581 cat >>confdefs.h <<_ACEOF
67582 #define HAVE_ISINFL 1
67583 _ACEOF
67586 done
67588 else
67590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67591 $as_echo_n "checking for _isinfl declaration... " >&6; }
67592 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67593 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67594 $as_echo_n "(cached) " >&6
67595 else
67598 ac_ext=cpp
67599 ac_cpp='$CXXCPP $CPPFLAGS'
67600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67605 /* end confdefs.h. */
67606 #include <math.h>
67607 #ifdef HAVE_IEEEFP_H
67608 #include <ieeefp.h>
67609 #endif
67612 main ()
67614 _isinfl(0);
67616 return 0;
67618 _ACEOF
67619 if ac_fn_cxx_try_compile "$LINENO"; then :
67620 glibcxx_cv_func__isinfl_use=yes
67621 else
67622 glibcxx_cv_func__isinfl_use=no
67624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67625 ac_ext=c
67626 ac_cpp='$CPP $CPPFLAGS'
67627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67636 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67638 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67639 for ac_func in _isinfl
67640 do :
67641 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67642 if test "x$ac_cv_func__isinfl" = x""yes; then :
67643 cat >>confdefs.h <<_ACEOF
67644 #define HAVE__ISINFL 1
67645 _ACEOF
67648 done
67657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67658 $as_echo_n "checking for atan2l declaration... " >&6; }
67659 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67660 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67661 $as_echo_n "(cached) " >&6
67662 else
67665 ac_ext=cpp
67666 ac_cpp='$CXXCPP $CPPFLAGS'
67667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67672 /* end confdefs.h. */
67673 #include <math.h>
67675 main ()
67677 atan2l(0, 0);
67679 return 0;
67681 _ACEOF
67682 if ac_fn_cxx_try_compile "$LINENO"; then :
67683 glibcxx_cv_func_atan2l_use=yes
67684 else
67685 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
67699 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67701 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67702 for ac_func in atan2l
67703 do :
67704 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67705 if test "x$ac_cv_func_atan2l" = x""yes; then :
67706 cat >>confdefs.h <<_ACEOF
67707 #define HAVE_ATAN2L 1
67708 _ACEOF
67711 done
67713 else
67715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67716 $as_echo_n "checking for _atan2l declaration... " >&6; }
67717 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67718 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67719 $as_echo_n "(cached) " >&6
67720 else
67723 ac_ext=cpp
67724 ac_cpp='$CXXCPP $CPPFLAGS'
67725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67730 /* end confdefs.h. */
67731 #include <math.h>
67733 main ()
67735 _atan2l(0, 0);
67737 return 0;
67739 _ACEOF
67740 if ac_fn_cxx_try_compile "$LINENO"; then :
67741 glibcxx_cv_func__atan2l_use=yes
67742 else
67743 glibcxx_cv_func__atan2l_use=no
67745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67746 ac_ext=c
67747 ac_cpp='$CPP $CPPFLAGS'
67748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67757 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67759 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67760 for ac_func in _atan2l
67761 do :
67762 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67763 if test "x$ac_cv_func__atan2l" = x""yes; then :
67764 cat >>confdefs.h <<_ACEOF
67765 #define HAVE__ATAN2L 1
67766 _ACEOF
67769 done
67778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67779 $as_echo_n "checking for expl declaration... " >&6; }
67780 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67781 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67782 $as_echo_n "(cached) " >&6
67783 else
67786 ac_ext=cpp
67787 ac_cpp='$CXXCPP $CPPFLAGS'
67788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67793 /* end confdefs.h. */
67794 #include <math.h>
67795 #ifdef HAVE_IEEEFP_H
67796 #include <ieeefp.h>
67797 #endif
67800 main ()
67802 expl(0);
67804 return 0;
67806 _ACEOF
67807 if ac_fn_cxx_try_compile "$LINENO"; then :
67808 glibcxx_cv_func_expl_use=yes
67809 else
67810 glibcxx_cv_func_expl_use=no
67812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67813 ac_ext=c
67814 ac_cpp='$CPP $CPPFLAGS'
67815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67824 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67826 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67827 for ac_func in expl
67828 do :
67829 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67830 if test "x$ac_cv_func_expl" = x""yes; then :
67831 cat >>confdefs.h <<_ACEOF
67832 #define HAVE_EXPL 1
67833 _ACEOF
67836 done
67838 else
67840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67841 $as_echo_n "checking for _expl declaration... " >&6; }
67842 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67843 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67844 $as_echo_n "(cached) " >&6
67845 else
67848 ac_ext=cpp
67849 ac_cpp='$CXXCPP $CPPFLAGS'
67850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67855 /* end confdefs.h. */
67856 #include <math.h>
67857 #ifdef HAVE_IEEEFP_H
67858 #include <ieeefp.h>
67859 #endif
67862 main ()
67864 _expl(0);
67866 return 0;
67868 _ACEOF
67869 if ac_fn_cxx_try_compile "$LINENO"; then :
67870 glibcxx_cv_func__expl_use=yes
67871 else
67872 glibcxx_cv_func__expl_use=no
67874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67875 ac_ext=c
67876 ac_cpp='$CPP $CPPFLAGS'
67877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67886 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67888 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67889 for ac_func in _expl
67890 do :
67891 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67892 if test "x$ac_cv_func__expl" = x""yes; then :
67893 cat >>confdefs.h <<_ACEOF
67894 #define HAVE__EXPL 1
67895 _ACEOF
67898 done
67907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67908 $as_echo_n "checking for fabsl declaration... " >&6; }
67909 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67910 if test "${glibcxx_cv_func_fabsl_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>
67924 #ifdef HAVE_IEEEFP_H
67925 #include <ieeefp.h>
67926 #endif
67929 main ()
67931 fabsl(0);
67933 return 0;
67935 _ACEOF
67936 if ac_fn_cxx_try_compile "$LINENO"; then :
67937 glibcxx_cv_func_fabsl_use=yes
67938 else
67939 glibcxx_cv_func_fabsl_use=no
67941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67942 ac_ext=c
67943 ac_cpp='$CPP $CPPFLAGS'
67944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67953 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67955 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67956 for ac_func in fabsl
67957 do :
67958 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
67959 if test "x$ac_cv_func_fabsl" = x""yes; then :
67960 cat >>confdefs.h <<_ACEOF
67961 #define HAVE_FABSL 1
67962 _ACEOF
67965 done
67967 else
67969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
67970 $as_echo_n "checking for _fabsl declaration... " >&6; }
67971 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67972 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
67973 $as_echo_n "(cached) " >&6
67974 else
67977 ac_ext=cpp
67978 ac_cpp='$CXXCPP $CPPFLAGS'
67979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67984 /* end confdefs.h. */
67985 #include <math.h>
67986 #ifdef HAVE_IEEEFP_H
67987 #include <ieeefp.h>
67988 #endif
67991 main ()
67993 _fabsl(0);
67995 return 0;
67997 _ACEOF
67998 if ac_fn_cxx_try_compile "$LINENO"; then :
67999 glibcxx_cv_func__fabsl_use=yes
68000 else
68001 glibcxx_cv_func__fabsl_use=no
68003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68004 ac_ext=c
68005 ac_cpp='$CPP $CPPFLAGS'
68006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
68015 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68017 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68018 for ac_func in _fabsl
68019 do :
68020 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68021 if test "x$ac_cv_func__fabsl" = x""yes; then :
68022 cat >>confdefs.h <<_ACEOF
68023 #define HAVE__FABSL 1
68024 _ACEOF
68027 done
68036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68037 $as_echo_n "checking for fmodl declaration... " >&6; }
68038 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68039 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68040 $as_echo_n "(cached) " >&6
68041 else
68044 ac_ext=cpp
68045 ac_cpp='$CXXCPP $CPPFLAGS'
68046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68051 /* end confdefs.h. */
68052 #include <math.h>
68054 main ()
68056 fmodl(0, 0);
68058 return 0;
68060 _ACEOF
68061 if ac_fn_cxx_try_compile "$LINENO"; then :
68062 glibcxx_cv_func_fmodl_use=yes
68063 else
68064 glibcxx_cv_func_fmodl_use=no
68066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68067 ac_ext=c
68068 ac_cpp='$CPP $CPPFLAGS'
68069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68078 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68080 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68081 for ac_func in fmodl
68082 do :
68083 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68084 if test "x$ac_cv_func_fmodl" = x""yes; then :
68085 cat >>confdefs.h <<_ACEOF
68086 #define HAVE_FMODL 1
68087 _ACEOF
68090 done
68092 else
68094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68095 $as_echo_n "checking for _fmodl declaration... " >&6; }
68096 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68097 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68098 $as_echo_n "(cached) " >&6
68099 else
68102 ac_ext=cpp
68103 ac_cpp='$CXXCPP $CPPFLAGS'
68104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68109 /* end confdefs.h. */
68110 #include <math.h>
68112 main ()
68114 _fmodl(0, 0);
68116 return 0;
68118 _ACEOF
68119 if ac_fn_cxx_try_compile "$LINENO"; then :
68120 glibcxx_cv_func__fmodl_use=yes
68121 else
68122 glibcxx_cv_func__fmodl_use=no
68124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68125 ac_ext=c
68126 ac_cpp='$CPP $CPPFLAGS'
68127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68136 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68138 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68139 for ac_func in _fmodl
68140 do :
68141 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68142 if test "x$ac_cv_func__fmodl" = x""yes; then :
68143 cat >>confdefs.h <<_ACEOF
68144 #define HAVE__FMODL 1
68145 _ACEOF
68148 done
68157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68158 $as_echo_n "checking for frexpl declaration... " >&6; }
68159 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68160 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68161 $as_echo_n "(cached) " >&6
68162 else
68165 ac_ext=cpp
68166 ac_cpp='$CXXCPP $CPPFLAGS'
68167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68172 /* end confdefs.h. */
68173 #include <math.h>
68175 main ()
68177 frexpl(0, 0);
68179 return 0;
68181 _ACEOF
68182 if ac_fn_cxx_try_compile "$LINENO"; then :
68183 glibcxx_cv_func_frexpl_use=yes
68184 else
68185 glibcxx_cv_func_frexpl_use=no
68187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68188 ac_ext=c
68189 ac_cpp='$CPP $CPPFLAGS'
68190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68199 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68201 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68202 for ac_func in frexpl
68203 do :
68204 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68205 if test "x$ac_cv_func_frexpl" = x""yes; then :
68206 cat >>confdefs.h <<_ACEOF
68207 #define HAVE_FREXPL 1
68208 _ACEOF
68211 done
68213 else
68215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68216 $as_echo_n "checking for _frexpl declaration... " >&6; }
68217 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68218 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68219 $as_echo_n "(cached) " >&6
68220 else
68223 ac_ext=cpp
68224 ac_cpp='$CXXCPP $CPPFLAGS'
68225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68230 /* end confdefs.h. */
68231 #include <math.h>
68233 main ()
68235 _frexpl(0, 0);
68237 return 0;
68239 _ACEOF
68240 if ac_fn_cxx_try_compile "$LINENO"; then :
68241 glibcxx_cv_func__frexpl_use=yes
68242 else
68243 glibcxx_cv_func__frexpl_use=no
68245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68246 ac_ext=c
68247 ac_cpp='$CPP $CPPFLAGS'
68248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68257 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68259 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68260 for ac_func in _frexpl
68261 do :
68262 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68263 if test "x$ac_cv_func__frexpl" = x""yes; then :
68264 cat >>confdefs.h <<_ACEOF
68265 #define HAVE__FREXPL 1
68266 _ACEOF
68269 done
68278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68279 $as_echo_n "checking for hypotl declaration... " >&6; }
68280 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68281 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68282 $as_echo_n "(cached) " >&6
68283 else
68286 ac_ext=cpp
68287 ac_cpp='$CXXCPP $CPPFLAGS'
68288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68293 /* end confdefs.h. */
68294 #include <math.h>
68296 main ()
68298 hypotl(0, 0);
68300 return 0;
68302 _ACEOF
68303 if ac_fn_cxx_try_compile "$LINENO"; then :
68304 glibcxx_cv_func_hypotl_use=yes
68305 else
68306 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
68320 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68322 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68323 for ac_func in hypotl
68324 do :
68325 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68326 if test "x$ac_cv_func_hypotl" = x""yes; then :
68327 cat >>confdefs.h <<_ACEOF
68328 #define HAVE_HYPOTL 1
68329 _ACEOF
68332 done
68334 else
68336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68337 $as_echo_n "checking for _hypotl declaration... " >&6; }
68338 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68339 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68340 $as_echo_n "(cached) " >&6
68341 else
68344 ac_ext=cpp
68345 ac_cpp='$CXXCPP $CPPFLAGS'
68346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68351 /* end confdefs.h. */
68352 #include <math.h>
68354 main ()
68356 _hypotl(0, 0);
68358 return 0;
68360 _ACEOF
68361 if ac_fn_cxx_try_compile "$LINENO"; then :
68362 glibcxx_cv_func__hypotl_use=yes
68363 else
68364 glibcxx_cv_func__hypotl_use=no
68366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68367 ac_ext=c
68368 ac_cpp='$CPP $CPPFLAGS'
68369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68378 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68380 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68381 for ac_func in _hypotl
68382 do :
68383 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68384 if test "x$ac_cv_func__hypotl" = x""yes; then :
68385 cat >>confdefs.h <<_ACEOF
68386 #define HAVE__HYPOTL 1
68387 _ACEOF
68390 done
68399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68400 $as_echo_n "checking for ldexpl declaration... " >&6; }
68401 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68402 if test "${glibcxx_cv_func_ldexpl_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 ldexpl(0, 0);
68421 return 0;
68423 _ACEOF
68424 if ac_fn_cxx_try_compile "$LINENO"; then :
68425 glibcxx_cv_func_ldexpl_use=yes
68426 else
68427 glibcxx_cv_func_ldexpl_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_ldexpl_use" >&5
68441 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68443 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68444 for ac_func in ldexpl
68445 do :
68446 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68447 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68448 cat >>confdefs.h <<_ACEOF
68449 #define HAVE_LDEXPL 1
68450 _ACEOF
68453 done
68455 else
68457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68458 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68459 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68460 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68461 $as_echo_n "(cached) " >&6
68462 else
68465 ac_ext=cpp
68466 ac_cpp='$CXXCPP $CPPFLAGS'
68467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68472 /* end confdefs.h. */
68473 #include <math.h>
68475 main ()
68477 _ldexpl(0, 0);
68479 return 0;
68481 _ACEOF
68482 if ac_fn_cxx_try_compile "$LINENO"; then :
68483 glibcxx_cv_func__ldexpl_use=yes
68484 else
68485 glibcxx_cv_func__ldexpl_use=no
68487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68488 ac_ext=c
68489 ac_cpp='$CPP $CPPFLAGS'
68490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68499 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68501 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68502 for ac_func in _ldexpl
68503 do :
68504 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68505 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68506 cat >>confdefs.h <<_ACEOF
68507 #define HAVE__LDEXPL 1
68508 _ACEOF
68511 done
68520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68521 $as_echo_n "checking for logl declaration... " >&6; }
68522 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68523 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68524 $as_echo_n "(cached) " >&6
68525 else
68528 ac_ext=cpp
68529 ac_cpp='$CXXCPP $CPPFLAGS'
68530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68535 /* end confdefs.h. */
68536 #include <math.h>
68537 #ifdef HAVE_IEEEFP_H
68538 #include <ieeefp.h>
68539 #endif
68542 main ()
68544 logl(0);
68546 return 0;
68548 _ACEOF
68549 if ac_fn_cxx_try_compile "$LINENO"; then :
68550 glibcxx_cv_func_logl_use=yes
68551 else
68552 glibcxx_cv_func_logl_use=no
68554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68555 ac_ext=c
68556 ac_cpp='$CPP $CPPFLAGS'
68557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68566 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68568 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68569 for ac_func in logl
68570 do :
68571 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68572 if test "x$ac_cv_func_logl" = x""yes; then :
68573 cat >>confdefs.h <<_ACEOF
68574 #define HAVE_LOGL 1
68575 _ACEOF
68578 done
68580 else
68582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68583 $as_echo_n "checking for _logl declaration... " >&6; }
68584 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68585 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68586 $as_echo_n "(cached) " >&6
68587 else
68590 ac_ext=cpp
68591 ac_cpp='$CXXCPP $CPPFLAGS'
68592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68597 /* end confdefs.h. */
68598 #include <math.h>
68599 #ifdef HAVE_IEEEFP_H
68600 #include <ieeefp.h>
68601 #endif
68604 main ()
68606 _logl(0);
68608 return 0;
68610 _ACEOF
68611 if ac_fn_cxx_try_compile "$LINENO"; then :
68612 glibcxx_cv_func__logl_use=yes
68613 else
68614 glibcxx_cv_func__logl_use=no
68616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68617 ac_ext=c
68618 ac_cpp='$CPP $CPPFLAGS'
68619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68628 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68630 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68631 for ac_func in _logl
68632 do :
68633 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68634 if test "x$ac_cv_func__logl" = x""yes; then :
68635 cat >>confdefs.h <<_ACEOF
68636 #define HAVE__LOGL 1
68637 _ACEOF
68640 done
68649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68650 $as_echo_n "checking for log10l declaration... " >&6; }
68651 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68652 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68653 $as_echo_n "(cached) " >&6
68654 else
68657 ac_ext=cpp
68658 ac_cpp='$CXXCPP $CPPFLAGS'
68659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68664 /* end confdefs.h. */
68665 #include <math.h>
68666 #ifdef HAVE_IEEEFP_H
68667 #include <ieeefp.h>
68668 #endif
68671 main ()
68673 log10l(0);
68675 return 0;
68677 _ACEOF
68678 if ac_fn_cxx_try_compile "$LINENO"; then :
68679 glibcxx_cv_func_log10l_use=yes
68680 else
68681 glibcxx_cv_func_log10l_use=no
68683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68684 ac_ext=c
68685 ac_cpp='$CPP $CPPFLAGS'
68686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68695 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68697 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68698 for ac_func in log10l
68699 do :
68700 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68701 if test "x$ac_cv_func_log10l" = x""yes; then :
68702 cat >>confdefs.h <<_ACEOF
68703 #define HAVE_LOG10L 1
68704 _ACEOF
68707 done
68709 else
68711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68712 $as_echo_n "checking for _log10l declaration... " >&6; }
68713 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68714 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68715 $as_echo_n "(cached) " >&6
68716 else
68719 ac_ext=cpp
68720 ac_cpp='$CXXCPP $CPPFLAGS'
68721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68726 /* end confdefs.h. */
68727 #include <math.h>
68728 #ifdef HAVE_IEEEFP_H
68729 #include <ieeefp.h>
68730 #endif
68733 main ()
68735 _log10l(0);
68737 return 0;
68739 _ACEOF
68740 if ac_fn_cxx_try_compile "$LINENO"; then :
68741 glibcxx_cv_func__log10l_use=yes
68742 else
68743 glibcxx_cv_func__log10l_use=no
68745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68746 ac_ext=c
68747 ac_cpp='$CPP $CPPFLAGS'
68748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68757 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68759 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68760 for ac_func in _log10l
68761 do :
68762 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68763 if test "x$ac_cv_func__log10l" = x""yes; then :
68764 cat >>confdefs.h <<_ACEOF
68765 #define HAVE__LOG10L 1
68766 _ACEOF
68769 done
68778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68779 $as_echo_n "checking for modfl declaration... " >&6; }
68780 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68781 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68782 $as_echo_n "(cached) " >&6
68783 else
68786 ac_ext=cpp
68787 ac_cpp='$CXXCPP $CPPFLAGS'
68788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68793 /* end confdefs.h. */
68794 #include <math.h>
68796 main ()
68798 modfl(0, 0);
68800 return 0;
68802 _ACEOF
68803 if ac_fn_cxx_try_compile "$LINENO"; then :
68804 glibcxx_cv_func_modfl_use=yes
68805 else
68806 glibcxx_cv_func_modfl_use=no
68808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68809 ac_ext=c
68810 ac_cpp='$CPP $CPPFLAGS'
68811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68820 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68822 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68823 for ac_func in modfl
68824 do :
68825 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68826 if test "x$ac_cv_func_modfl" = x""yes; then :
68827 cat >>confdefs.h <<_ACEOF
68828 #define HAVE_MODFL 1
68829 _ACEOF
68832 done
68834 else
68836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68837 $as_echo_n "checking for _modfl declaration... " >&6; }
68838 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68839 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68840 $as_echo_n "(cached) " >&6
68841 else
68844 ac_ext=cpp
68845 ac_cpp='$CXXCPP $CPPFLAGS'
68846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68851 /* end confdefs.h. */
68852 #include <math.h>
68854 main ()
68856 _modfl(0, 0);
68858 return 0;
68860 _ACEOF
68861 if ac_fn_cxx_try_compile "$LINENO"; then :
68862 glibcxx_cv_func__modfl_use=yes
68863 else
68864 glibcxx_cv_func__modfl_use=no
68866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68867 ac_ext=c
68868 ac_cpp='$CPP $CPPFLAGS'
68869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68878 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68880 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68881 for ac_func in _modfl
68882 do :
68883 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68884 if test "x$ac_cv_func__modfl" = x""yes; then :
68885 cat >>confdefs.h <<_ACEOF
68886 #define HAVE__MODFL 1
68887 _ACEOF
68890 done
68899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68900 $as_echo_n "checking for powl declaration... " >&6; }
68901 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68902 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68903 $as_echo_n "(cached) " >&6
68904 else
68907 ac_ext=cpp
68908 ac_cpp='$CXXCPP $CPPFLAGS'
68909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68914 /* end confdefs.h. */
68915 #include <math.h>
68917 main ()
68919 powl(0, 0);
68921 return 0;
68923 _ACEOF
68924 if ac_fn_cxx_try_compile "$LINENO"; then :
68925 glibcxx_cv_func_powl_use=yes
68926 else
68927 glibcxx_cv_func_powl_use=no
68929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68930 ac_ext=c
68931 ac_cpp='$CPP $CPPFLAGS'
68932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68941 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68943 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68944 for ac_func in powl
68945 do :
68946 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
68947 if test "x$ac_cv_func_powl" = x""yes; then :
68948 cat >>confdefs.h <<_ACEOF
68949 #define HAVE_POWL 1
68950 _ACEOF
68953 done
68955 else
68957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
68958 $as_echo_n "checking for _powl declaration... " >&6; }
68959 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68960 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
68961 $as_echo_n "(cached) " >&6
68962 else
68965 ac_ext=cpp
68966 ac_cpp='$CXXCPP $CPPFLAGS'
68967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68972 /* end confdefs.h. */
68973 #include <math.h>
68975 main ()
68977 _powl(0, 0);
68979 return 0;
68981 _ACEOF
68982 if ac_fn_cxx_try_compile "$LINENO"; then :
68983 glibcxx_cv_func__powl_use=yes
68984 else
68985 glibcxx_cv_func__powl_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__powl_use" >&5
68999 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69001 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69002 for ac_func in _powl
69003 do :
69004 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69005 if test "x$ac_cv_func__powl" = x""yes; then :
69006 cat >>confdefs.h <<_ACEOF
69007 #define HAVE__POWL 1
69008 _ACEOF
69011 done
69020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69021 $as_echo_n "checking for sqrtl declaration... " >&6; }
69022 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69023 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69024 $as_echo_n "(cached) " >&6
69025 else
69028 ac_ext=cpp
69029 ac_cpp='$CXXCPP $CPPFLAGS'
69030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69035 /* end confdefs.h. */
69036 #include <math.h>
69037 #ifdef HAVE_IEEEFP_H
69038 #include <ieeefp.h>
69039 #endif
69042 main ()
69044 sqrtl(0);
69046 return 0;
69048 _ACEOF
69049 if ac_fn_cxx_try_compile "$LINENO"; then :
69050 glibcxx_cv_func_sqrtl_use=yes
69051 else
69052 glibcxx_cv_func_sqrtl_use=no
69054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69055 ac_ext=c
69056 ac_cpp='$CPP $CPPFLAGS'
69057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69066 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69068 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69069 for ac_func in sqrtl
69070 do :
69071 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69072 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69073 cat >>confdefs.h <<_ACEOF
69074 #define HAVE_SQRTL 1
69075 _ACEOF
69078 done
69080 else
69082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69083 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69084 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69085 if test "${glibcxx_cv_func__sqrtl_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>
69099 #ifdef HAVE_IEEEFP_H
69100 #include <ieeefp.h>
69101 #endif
69104 main ()
69106 _sqrtl(0);
69108 return 0;
69110 _ACEOF
69111 if ac_fn_cxx_try_compile "$LINENO"; then :
69112 glibcxx_cv_func__sqrtl_use=yes
69113 else
69114 glibcxx_cv_func__sqrtl_use=no
69116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69117 ac_ext=c
69118 ac_cpp='$CPP $CPPFLAGS'
69119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69128 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69130 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69131 for ac_func in _sqrtl
69132 do :
69133 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69134 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69135 cat >>confdefs.h <<_ACEOF
69136 #define HAVE__SQRTL 1
69137 _ACEOF
69140 done
69149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69150 $as_echo_n "checking for sincosl declaration... " >&6; }
69151 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69152 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69153 $as_echo_n "(cached) " >&6
69154 else
69157 ac_ext=cpp
69158 ac_cpp='$CXXCPP $CPPFLAGS'
69159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69164 /* end confdefs.h. */
69165 #include <math.h>
69167 main ()
69169 sincosl(0, 0, 0);
69171 return 0;
69173 _ACEOF
69174 if ac_fn_cxx_try_compile "$LINENO"; then :
69175 glibcxx_cv_func_sincosl_use=yes
69176 else
69177 glibcxx_cv_func_sincosl_use=no
69179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69180 ac_ext=c
69181 ac_cpp='$CPP $CPPFLAGS'
69182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69191 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69193 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69194 for ac_func in sincosl
69195 do :
69196 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69197 if test "x$ac_cv_func_sincosl" = x""yes; then :
69198 cat >>confdefs.h <<_ACEOF
69199 #define HAVE_SINCOSL 1
69200 _ACEOF
69203 done
69205 else
69207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69208 $as_echo_n "checking for _sincosl declaration... " >&6; }
69209 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69210 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69211 $as_echo_n "(cached) " >&6
69212 else
69215 ac_ext=cpp
69216 ac_cpp='$CXXCPP $CPPFLAGS'
69217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69222 /* end confdefs.h. */
69223 #include <math.h>
69225 main ()
69227 _sincosl(0, 0, 0);
69229 return 0;
69231 _ACEOF
69232 if ac_fn_cxx_try_compile "$LINENO"; then :
69233 glibcxx_cv_func__sincosl_use=yes
69234 else
69235 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
69249 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69251 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69252 for ac_func in _sincosl
69253 do :
69254 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69255 if test "x$ac_cv_func__sincosl" = x""yes; then :
69256 cat >>confdefs.h <<_ACEOF
69257 #define HAVE__SINCOSL 1
69258 _ACEOF
69261 done
69270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69271 $as_echo_n "checking for finitel declaration... " >&6; }
69272 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69273 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69274 $as_echo_n "(cached) " >&6
69275 else
69278 ac_ext=cpp
69279 ac_cpp='$CXXCPP $CPPFLAGS'
69280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69285 /* end confdefs.h. */
69286 #include <math.h>
69287 #ifdef HAVE_IEEEFP_H
69288 #include <ieeefp.h>
69289 #endif
69292 main ()
69294 finitel(0);
69296 return 0;
69298 _ACEOF
69299 if ac_fn_cxx_try_compile "$LINENO"; then :
69300 glibcxx_cv_func_finitel_use=yes
69301 else
69302 glibcxx_cv_func_finitel_use=no
69304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69305 ac_ext=c
69306 ac_cpp='$CPP $CPPFLAGS'
69307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69316 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69318 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69319 for ac_func in finitel
69320 do :
69321 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69322 if test "x$ac_cv_func_finitel" = x""yes; then :
69323 cat >>confdefs.h <<_ACEOF
69324 #define HAVE_FINITEL 1
69325 _ACEOF
69328 done
69330 else
69332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69333 $as_echo_n "checking for _finitel declaration... " >&6; }
69334 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69335 if test "${glibcxx_cv_func__finitel_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 _finitel(0);
69358 return 0;
69360 _ACEOF
69361 if ac_fn_cxx_try_compile "$LINENO"; then :
69362 glibcxx_cv_func__finitel_use=yes
69363 else
69364 glibcxx_cv_func__finitel_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__finitel_use" >&5
69378 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69380 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69381 for ac_func in _finitel
69382 do :
69383 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69384 if test "x$ac_cv_func__finitel" = x""yes; then :
69385 cat >>confdefs.h <<_ACEOF
69386 #define HAVE__FINITEL 1
69387 _ACEOF
69390 done
69398 LIBS="$ac_save_LIBS"
69399 CXXFLAGS="$ac_save_CXXFLAGS"
69402 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69403 ac_save_CXXFLAGS="$CXXFLAGS"
69404 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69408 $as_echo_n "checking for strtold declaration... " >&6; }
69409 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69410 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69411 $as_echo_n "(cached) " >&6
69412 else
69415 ac_ext=cpp
69416 ac_cpp='$CXXCPP $CPPFLAGS'
69417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69422 /* end confdefs.h. */
69423 #include <stdlib.h>
69425 main ()
69427 strtold(0, 0);
69429 return 0;
69431 _ACEOF
69432 if ac_fn_cxx_try_compile "$LINENO"; then :
69433 glibcxx_cv_func_strtold_use=yes
69434 else
69435 glibcxx_cv_func_strtold_use=no
69437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69438 ac_ext=c
69439 ac_cpp='$CPP $CPPFLAGS'
69440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69449 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69450 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69451 for ac_func in strtold
69452 do :
69453 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69454 if test "x$ac_cv_func_strtold" = x""yes; then :
69455 cat >>confdefs.h <<_ACEOF
69456 #define HAVE_STRTOLD 1
69457 _ACEOF
69460 done
69467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69468 $as_echo_n "checking for strtof declaration... " >&6; }
69469 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69470 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69471 $as_echo_n "(cached) " >&6
69472 else
69475 ac_ext=cpp
69476 ac_cpp='$CXXCPP $CPPFLAGS'
69477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69482 /* end confdefs.h. */
69483 #include <stdlib.h>
69485 main ()
69487 strtof(0, 0);
69489 return 0;
69491 _ACEOF
69492 if ac_fn_cxx_try_compile "$LINENO"; then :
69493 glibcxx_cv_func_strtof_use=yes
69494 else
69495 glibcxx_cv_func_strtof_use=no
69497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69498 ac_ext=c
69499 ac_cpp='$CPP $CPPFLAGS'
69500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69509 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69510 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69511 for ac_func in strtof
69512 do :
69513 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69514 if test "x$ac_cv_func_strtof" = x""yes; then :
69515 cat >>confdefs.h <<_ACEOF
69516 #define HAVE_STRTOF 1
69517 _ACEOF
69520 done
69527 CXXFLAGS="$ac_save_CXXFLAGS"
69530 *-vxworks)
69531 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69533 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69535 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69537 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69539 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69541 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69543 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69545 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69547 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69549 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69551 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69553 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69555 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69557 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69559 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69561 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69563 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69565 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69567 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69569 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69573 as_fn_error "No support for this host/target combination." "$LINENO" 5
69575 esac
69579 # At some point, we should differentiate between architectures
69580 # like x86, which have long double versions, and alpha/powerpc/etc.,
69581 # which don't. For the time being, punt.
69582 if test x"long_double_math_on_this_cpu" = x"yes"; then
69583 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69585 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69587 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69589 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69591 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69593 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69595 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69597 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69599 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69601 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69603 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69605 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69607 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69609 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69611 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69613 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69615 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69617 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69619 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69621 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69623 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69625 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69627 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69632 # Check for _Unwind_GetIPInfo.
69635 # Check whether --with-system-libunwind was given.
69636 if test "${with_system_libunwind+set}" = set; then :
69637 withval=$with_system_libunwind;
69640 # If system-libunwind was not specifically set, pick a default setting.
69641 if test x$with_system_libunwind = x; then
69642 case ${target} in
69643 ia64-*-hpux*) with_system_libunwind=yes ;;
69644 *) with_system_libunwind=no ;;
69645 esac
69647 # Based on system-libunwind and target, do we have ipinfo?
69648 if test x$with_system_libunwind = xyes; then
69649 case ${target} in
69650 ia64-*-*) have_unwind_getipinfo=no ;;
69651 *) have_unwind_getipinfo=yes ;;
69652 esac
69653 else
69654 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69656 case ${target} in
69657 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69658 *) have_unwind_getipinfo=yes ;;
69659 esac
69663 if test x$have_unwind_getipinfo = xyes; then
69665 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69670 # Check whether --enable-linux-futex was given.
69671 if test "${enable_linux_futex+set}" = set; then :
69672 enableval=$enable_linux_futex;
69673 case "$enableval" in
69674 yes|no|default) ;;
69675 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69676 esac
69678 else
69679 enable_linux_futex=default
69683 case "$target" in
69684 *-linux*)
69685 case "$enable_linux_futex" in
69686 default)
69687 # If headers don't have gettid/futex syscalls definition, then
69688 # default to no, otherwise there will be compile time failures.
69689 # Otherwise, default to yes. If we don't detect we are
69690 # compiled/linked against NPTL and not cross-compiling, check
69691 # if programs are run by default against NPTL and if not, issue
69692 # a warning.
69693 enable_linux_futex=no
69694 if test x$gcc_no_link = xyes; then
69695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69698 /* end confdefs.h. */
69699 #include <sys/syscall.h>
69700 int lk;
69702 main ()
69704 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69706 return 0;
69708 _ACEOF
69709 if ac_fn_c_try_link "$LINENO"; then :
69710 save_LIBS="$LIBS"
69711 LIBS="-lpthread $LIBS"
69712 if test x$gcc_no_link = xyes; then
69713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69716 /* end confdefs.h. */
69717 #ifndef _GNU_SOURCE
69718 #define _GNU_SOURCE 1
69719 #endif
69720 #include <pthread.h>
69721 pthread_t th; void *status;
69723 main ()
69725 pthread_tryjoin_np (th, &status);
69727 return 0;
69729 _ACEOF
69730 if ac_fn_c_try_link "$LINENO"; then :
69731 enable_linux_futex=yes
69732 else
69733 if test x$cross_compiling = xno; then
69734 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69735 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69737 If so, please configure with --disable-linux-futex" >&5
69738 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69739 If so, please configure with --disable-linux-futex" >&2;}
69742 enable_linux_futex=yes
69744 rm -f core conftest.err conftest.$ac_objext \
69745 conftest$ac_exeext conftest.$ac_ext
69746 LIBS="$save_LIBS"
69748 rm -f core conftest.err conftest.$ac_objext \
69749 conftest$ac_exeext conftest.$ac_ext
69751 yes)
69752 if test x$gcc_no_link = xyes; then
69753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69756 /* end confdefs.h. */
69757 #include <sys/syscall.h>
69758 int lk;
69760 main ()
69762 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69764 return 0;
69766 _ACEOF
69767 if ac_fn_c_try_link "$LINENO"; then :
69769 else
69770 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69772 rm -f core conftest.err conftest.$ac_objext \
69773 conftest$ac_exeext conftest.$ac_ext
69775 esac
69778 enable_linux_futex=no
69780 esac
69781 if test x$enable_linux_futex = xyes; then
69783 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69790 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69792 acx_cv_header_stdint=stddef.h
69793 acx_cv_header_stdint_kind="(already complete)"
69794 for i in stdint.h $inttype_headers; do
69795 unset ac_cv_type_uintptr_t
69796 unset ac_cv_type_uintmax_t
69797 unset ac_cv_type_int_least32_t
69798 unset ac_cv_type_int_fast32_t
69799 unset ac_cv_type_uint64_t
69800 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69801 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69802 #include <$i>
69804 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69805 acx_cv_header_stdint=$i
69806 else
69807 continue
69810 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69811 #include <$i>
69813 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69815 else
69816 acx_cv_header_stdint_kind="(mostly complete)"
69819 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69820 #include <$i>
69822 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69824 else
69825 acx_cv_header_stdint_kind="(mostly complete)"
69828 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69829 #include <$i>
69831 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69833 else
69834 acx_cv_header_stdint_kind="(mostly complete)"
69837 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69838 #include <$i>
69840 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69842 else
69843 acx_cv_header_stdint_kind="(lacks uint64_t)"
69846 break
69847 done
69848 if test "$acx_cv_header_stdint" = stddef.h; then
69849 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69850 for i in stdint.h $inttype_headers; do
69851 unset ac_cv_type_uintptr_t
69852 unset ac_cv_type_uint32_t
69853 unset ac_cv_type_uint64_t
69854 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69855 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69856 #include <$i>
69858 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69859 acx_cv_header_stdint=$i
69860 else
69861 continue
69864 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69865 #include <$i>
69867 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69871 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69872 #include <$i>
69874 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69878 break
69879 done
69881 if test "$acx_cv_header_stdint" = stddef.h; then
69882 acx_cv_header_stdint_kind="(u_intXX_t style)"
69883 for i in sys/types.h $inttype_headers; do
69884 unset ac_cv_type_u_int32_t
69885 unset ac_cv_type_u_int64_t
69886 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69887 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69888 #include <$i>
69890 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69891 acx_cv_header_stdint=$i
69892 else
69893 continue
69896 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69897 #include <$i>
69899 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69903 break
69904 done
69906 if test "$acx_cv_header_stdint" = stddef.h; then
69907 acx_cv_header_stdint_kind="(using manual detection)"
69910 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69911 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69912 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69913 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69914 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69916 # ----------------- Summarize what we found so far
69918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69919 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69921 case `$as_basename -- include/gstdint.h ||
69922 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69923 Xinclude/gstdint.h : 'X\(//\)$' \| \
69924 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69925 $as_echo X/include/gstdint.h |
69926 sed '/^.*\/\([^/][^/]*\)\/*$/{
69927 s//\1/
69930 /^X\/\(\/\/\)$/{
69931 s//\1/
69934 /^X\/\(\/\).*/{
69935 s//\1/
69938 s/.*/./; q'` in
69939 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69940 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69941 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69942 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69943 *) ;;
69944 esac
69946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
69947 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
69949 # ----------------- done included file, check C basic types --------
69951 # Lacking an uintptr_t? Test size of void *
69952 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
69953 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
69954 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69955 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69956 # This bug is HP SR number 8606223364.
69957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
69958 $as_echo_n "checking size of void *... " >&6; }
69959 if test "${ac_cv_sizeof_void_p+set}" = set; then :
69960 $as_echo_n "(cached) " >&6
69961 else
69962 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
69964 else
69965 if test "$ac_cv_type_void_p" = yes; then
69966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69968 { as_fn_set_status 77
69969 as_fn_error "cannot compute sizeof (void *)
69970 See \`config.log' for more details." "$LINENO" 5; }; }
69971 else
69972 ac_cv_sizeof_void_p=0
69977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
69978 $as_echo "$ac_cv_sizeof_void_p" >&6; }
69982 cat >>confdefs.h <<_ACEOF
69983 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
69984 _ACEOF
69987 esac
69989 # Lacking an uint64_t? Test size of long
69990 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
69991 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
69992 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69993 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69994 # This bug is HP SR number 8606223364.
69995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
69996 $as_echo_n "checking size of long... " >&6; }
69997 if test "${ac_cv_sizeof_long+set}" = set; then :
69998 $as_echo_n "(cached) " >&6
69999 else
70000 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
70002 else
70003 if test "$ac_cv_type_long" = yes; then
70004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70006 { as_fn_set_status 77
70007 as_fn_error "cannot compute sizeof (long)
70008 See \`config.log' for more details." "$LINENO" 5; }; }
70009 else
70010 ac_cv_sizeof_long=0
70015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70016 $as_echo "$ac_cv_sizeof_long" >&6; }
70020 cat >>confdefs.h <<_ACEOF
70021 #define SIZEOF_LONG $ac_cv_sizeof_long
70022 _ACEOF
70025 esac
70027 if test $acx_cv_header_stdint = stddef.h; then
70028 # Lacking a good header? Test size of everything and deduce all types.
70029 # The cast to long int works around a bug in the HP C Compiler
70030 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70031 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70032 # This bug is HP SR number 8606223364.
70033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70034 $as_echo_n "checking size of int... " >&6; }
70035 if test "${ac_cv_sizeof_int+set}" = set; then :
70036 $as_echo_n "(cached) " >&6
70037 else
70038 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
70040 else
70041 if test "$ac_cv_type_int" = yes; then
70042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70044 { as_fn_set_status 77
70045 as_fn_error "cannot compute sizeof (int)
70046 See \`config.log' for more details." "$LINENO" 5; }; }
70047 else
70048 ac_cv_sizeof_int=0
70053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70054 $as_echo "$ac_cv_sizeof_int" >&6; }
70058 cat >>confdefs.h <<_ACEOF
70059 #define SIZEOF_INT $ac_cv_sizeof_int
70060 _ACEOF
70063 # The cast to long int works around a bug in the HP C Compiler
70064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70066 # This bug is HP SR number 8606223364.
70067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70068 $as_echo_n "checking size of short... " >&6; }
70069 if test "${ac_cv_sizeof_short+set}" = set; then :
70070 $as_echo_n "(cached) " >&6
70071 else
70072 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70074 else
70075 if test "$ac_cv_type_short" = yes; then
70076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70078 { as_fn_set_status 77
70079 as_fn_error "cannot compute sizeof (short)
70080 See \`config.log' for more details." "$LINENO" 5; }; }
70081 else
70082 ac_cv_sizeof_short=0
70087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70088 $as_echo "$ac_cv_sizeof_short" >&6; }
70092 cat >>confdefs.h <<_ACEOF
70093 #define SIZEOF_SHORT $ac_cv_sizeof_short
70094 _ACEOF
70097 # The cast to long int works around a bug in the HP C Compiler
70098 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70099 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70100 # This bug is HP SR number 8606223364.
70101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70102 $as_echo_n "checking size of char... " >&6; }
70103 if test "${ac_cv_sizeof_char+set}" = set; then :
70104 $as_echo_n "(cached) " >&6
70105 else
70106 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70108 else
70109 if test "$ac_cv_type_char" = yes; then
70110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70112 { as_fn_set_status 77
70113 as_fn_error "cannot compute sizeof (char)
70114 See \`config.log' for more details." "$LINENO" 5; }; }
70115 else
70116 ac_cv_sizeof_char=0
70121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70122 $as_echo "$ac_cv_sizeof_char" >&6; }
70126 cat >>confdefs.h <<_ACEOF
70127 #define SIZEOF_CHAR $ac_cv_sizeof_char
70128 _ACEOF
70132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70133 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70134 case "$ac_cv_sizeof_char" in
70135 1) acx_cv_type_int8_t=char ;;
70136 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70137 esac
70138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70139 $as_echo "$acx_cv_type_int8_t" >&6; }
70141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70142 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70143 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70144 2:*) acx_cv_type_int16_t=int ;;
70145 *:2) acx_cv_type_int16_t=short ;;
70146 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70147 esac
70148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70149 $as_echo "$acx_cv_type_int16_t" >&6; }
70151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70152 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70153 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70154 4:*) acx_cv_type_int32_t=int ;;
70155 *:4) acx_cv_type_int32_t=long ;;
70156 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70157 esac
70158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70159 $as_echo "$acx_cv_type_int32_t" >&6; }
70162 # These tests are here to make the output prettier
70164 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70165 case "$ac_cv_sizeof_long" in
70166 8) acx_cv_type_int64_t=long ;;
70167 esac
70168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70169 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70171 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70174 # Now we can use the above types
70176 if test "$ac_cv_type_uintptr_t" != yes; then
70177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70178 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70179 case $ac_cv_sizeof_void_p in
70180 2) acx_cv_type_intptr_t=int16_t ;;
70181 4) acx_cv_type_intptr_t=int32_t ;;
70182 8) acx_cv_type_intptr_t=int64_t ;;
70183 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70184 esac
70185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70186 $as_echo "$acx_cv_type_intptr_t" >&6; }
70189 # ----------------- done all checks, emit header -------------
70190 ac_config_commands="$ac_config_commands include/gstdint.h"
70196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70197 $as_echo_n "checking for GNU c++filt... " >&6; }
70198 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70199 $as_echo_n "(cached) " >&6
70200 else
70201 if test -z "$CXXFILT"; then
70202 ac_path_CXXFILT_found=false
70203 # Loop through the user's path and test for each of PROGNAME-LIST
70204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70205 for as_dir in $PATH
70207 IFS=$as_save_IFS
70208 test -z "$as_dir" && as_dir=.
70209 for ac_prog in c++filt gc++filt; do
70210 for ac_exec_ext in '' $ac_executable_extensions; do
70211 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70212 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70213 # Check for GNU $ac_path_CXXFILT
70214 case `"$ac_path_CXXFILT" --version 2>&1` in
70215 *GNU*)
70216 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70217 esac
70219 $ac_path_CXXFILT_found && break 3
70220 done
70221 done
70222 done
70223 IFS=$as_save_IFS
70224 if test -z "$ac_cv_path_CXXFILT"; then
70227 else
70228 ac_cv_path_CXXFILT=$CXXFILT
70232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70233 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70234 CXXFILT=$ac_cv_path_CXXFILT
70238 # Check whether --enable-symvers was given.
70239 if test "${enable_symvers+set}" = set; then :
70240 enableval=$enable_symvers;
70241 case "$enableval" in
70242 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70243 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70244 esac
70246 else
70247 enable_symvers=yes
70252 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70253 # don't know enough about $LD to do tricks...
70255 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70256 # with extern "C++" in version scripts.
70259 # Turn a 'yes' into a suitable default.
70260 if test x$enable_symvers = xyes ; then
70261 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70262 enable_symvers=no
70263 else
70264 if test $with_gnu_ld = yes ; then
70265 case ${target_os} in
70266 hpux*)
70267 enable_symvers=no ;;
70269 enable_symvers=gnu ;;
70270 esac
70271 else
70272 case ${target_os} in
70273 darwin*)
70274 enable_symvers=darwin ;;
70275 # Sun symbol versioning exists since Solaris 2.5.
70276 solaris2.[5-9]* | solaris2.1[0-9]*)
70277 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70278 # version scripts, so disable symbol versioning if none can be
70279 # found.
70280 if test -z "$ac_cv_path_CXXFILT"; then
70281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70282 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70284 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70286 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70287 enable_symvers=no
70288 else
70289 enable_symvers=sun
70293 enable_symvers=no ;;
70294 esac
70299 # Check to see if 'darwin' or 'darwin-export' can win.
70300 if test x$enable_symvers = xdarwin-export ; then
70301 enable_symvers=darwin
70304 # Check if 'sun' was requested on non-Solaris 2 platforms.
70305 if test x$enable_symvers = xsun ; then
70306 case ${target_os} in
70307 solaris2*)
70308 # All fine.
70311 # Unlikely to work.
70312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70313 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70315 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70317 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70318 enable_symvers=no
70320 esac
70323 # Check to see if 'gnu' can win.
70324 if test $enable_symvers = gnu ||
70325 test $enable_symvers = gnu-versioned-namespace ||
70326 test $enable_symvers = sun; then
70327 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70329 $as_echo_n "checking for shared libgcc... " >&6; }
70330 ac_save_CFLAGS="$CFLAGS"
70331 CFLAGS=' -lgcc_s'
70332 if test x$gcc_no_link = xyes; then
70333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70336 /* end confdefs.h. */
70339 main ()
70341 return 0;
70343 return 0;
70345 _ACEOF
70346 if ac_fn_c_try_link "$LINENO"; then :
70347 glibcxx_shared_libgcc=yes
70348 else
70349 glibcxx_shared_libgcc=no
70351 rm -f core conftest.err conftest.$ac_objext \
70352 conftest$ac_exeext conftest.$ac_ext
70353 CFLAGS="$ac_save_CFLAGS"
70354 if test $glibcxx_shared_libgcc = no; then
70355 cat > conftest.c <<EOF
70356 int main (void) { return 0; }
70358 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70359 -shared -shared-libgcc -o conftest.so \
70360 conftest.c -v 2>&1 >/dev/null \
70361 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70362 rm -f conftest.c conftest.so
70363 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70364 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70365 if test x$gcc_no_link = xyes; then
70366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70369 /* end confdefs.h. */
70372 main ()
70374 return 0;
70376 return 0;
70378 _ACEOF
70379 if ac_fn_c_try_link "$LINENO"; then :
70380 glibcxx_shared_libgcc=yes
70382 rm -f core conftest.err conftest.$ac_objext \
70383 conftest$ac_exeext conftest.$ac_ext
70384 CFLAGS="$ac_save_CFLAGS"
70387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70388 $as_echo "$glibcxx_shared_libgcc" >&6; }
70390 # For GNU ld, we need at least this version. The format is described in
70391 # GLIBCXX_CHECK_LINKER_FEATURES above.
70392 glibcxx_min_gnu_ld_version=21400
70394 # If no shared libgcc, can't win.
70395 if test $glibcxx_shared_libgcc != yes; then
70396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70397 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70399 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70401 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70402 enable_symvers=no
70403 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70404 : All interesting versions of Sun ld support sun style symbol versioning.
70405 elif test $with_gnu_ld != yes ; then
70406 # just fail for now
70407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70408 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70410 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70412 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70413 enable_symvers=no
70414 elif test $glibcxx_ld_is_gold = yes ; then
70415 : All versions of gold support symbol versioning.
70416 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70417 # The right tools, the right setup, but too old. Fallbacks?
70418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70419 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70421 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70423 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70425 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70427 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70428 enable_symvers=no
70432 # For libtool versioning info, format is CURRENT:REVISION:AGE
70433 libtool_VERSION=6:17:0
70435 # Everything parsed; figure out what files and settings to use.
70436 case $enable_symvers in
70438 SYMVER_FILE=config/abi/pre/none.ver
70440 gnu)
70441 SYMVER_FILE=config/abi/pre/gnu.ver
70443 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70446 gnu-versioned-namespace)
70447 libtool_VERSION=7:0:0
70448 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70450 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70453 darwin)
70454 SYMVER_FILE=config/abi/pre/gnu.ver
70456 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70459 sun)
70460 SYMVER_FILE=config/abi/pre/gnu.ver
70462 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70465 esac
70467 if test x$enable_symvers != xno ; then
70469 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70474 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70475 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70476 $as_echo_n "(cached) " >&6
70477 else
70479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70480 /* end confdefs.h. */
70481 void foo (void); __asm (".symver foo, bar@SYMVER");
70483 main ()
70487 return 0;
70489 _ACEOF
70490 if ac_fn_c_try_compile "$LINENO"; then :
70491 glibcxx_cv_have_as_symver_directive=yes
70492 else
70493 glibcxx_cv_have_as_symver_directive=no
70495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70498 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70499 if test $glibcxx_cv_have_as_symver_directive = yes; then
70501 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70512 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70513 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70515 if test $enable_symvers != no ; then
70516 case ${target_os} in
70517 # The Solaris 2 runtime linker doesn't support the GNU extension of
70518 # binding the same symbol to different versions
70519 solaris2*)
70521 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70524 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70527 esac
70530 # Now, set up compatibility support, if any.
70531 # In addition, need this to deal with std::size_t mangling in
70532 # src/compatibility.cc. In a perfect world, could use
70533 # typeid(std::size_t).name()[0] to do direct substitution.
70534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70535 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70536 ac_save_CFLAGS="$CFLAGS"
70537 CFLAGS="-Werror"
70538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70539 /* end confdefs.h. */
70542 main ()
70544 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70546 return 0;
70548 _ACEOF
70549 if ac_fn_c_try_compile "$LINENO"; then :
70550 glibcxx_size_t_is_i=yes
70551 else
70552 glibcxx_size_t_is_i=no
70554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70555 CFLAGS=$ac_save_CFLAGS
70556 if test "$glibcxx_size_t_is_i" = yes; then
70558 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70562 $as_echo "$glibcxx_size_t_is_i" >&6; }
70564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70565 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70566 ac_save_CFLAGS="$CFLAGS"
70567 CFLAGS="-Werror"
70568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70569 /* end confdefs.h. */
70572 main ()
70574 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70576 return 0;
70578 _ACEOF
70579 if ac_fn_c_try_compile "$LINENO"; then :
70580 glibcxx_ptrdiff_t_is_i=yes
70581 else
70582 glibcxx_ptrdiff_t_is_i=no
70584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70585 CFLAGS=$ac_save_CFLAGS
70586 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70588 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70592 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70597 # Check whether --enable-libstdcxx-visibility was given.
70598 if test "${enable_libstdcxx_visibility+set}" = set; then :
70599 enableval=$enable_libstdcxx_visibility;
70600 case "$enableval" in
70601 yes|no) ;;
70602 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70603 esac
70605 else
70606 enable_libstdcxx_visibility=yes
70611 if test x$enable_libstdcxx_visibility = xyes ; then
70612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70613 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70614 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70615 $as_echo_n "(cached) " >&6
70616 else
70618 save_CFLAGS="$CFLAGS"
70619 CFLAGS="$CFLAGS -Werror"
70620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70621 /* end confdefs.h. */
70622 void __attribute__((visibility("hidden"))) foo(void) { }
70624 main ()
70628 return 0;
70630 _ACEOF
70631 if ac_fn_c_try_compile "$LINENO"; then :
70632 glibcxx_cv_have_attribute_visibility=yes
70633 else
70634 glibcxx_cv_have_attribute_visibility=no
70636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70637 CFLAGS="$save_CFLAGS"
70639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70640 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70641 if test $glibcxx_cv_have_attribute_visibility = no; then
70642 enable_libstdcxx_visibility=no
70647 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70648 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70651 ac_ldbl_compat=no
70652 case "$target" in
70653 powerpc*-*-linux* | \
70654 sparc*-*-linux* | \
70655 s390*-*-linux* | \
70656 alpha*-*-linux*)
70657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70658 /* end confdefs.h. */
70661 main ()
70664 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70665 #error no need for long double compatibility
70666 #endif
70669 return 0;
70671 _ACEOF
70672 if ac_fn_c_try_compile "$LINENO"; then :
70673 ac_ldbl_compat=yes
70674 else
70675 ac_ldbl_compat=no
70677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70678 if test "$ac_ldbl_compat" = yes; then
70680 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70682 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70684 esac
70687 # Check if assembler supports disabling hardware capability support.
70689 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
70691 ac_save_CFLAGS="$CFLAGS"
70692 CFLAGS="$CFLAGS -Wa,-nH"
70694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70695 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70697 /* end confdefs.h. */
70700 main ()
70702 return 0;
70704 return 0;
70706 _ACEOF
70707 if ac_fn_c_try_compile "$LINENO"; then :
70708 ac_hwcap_flags=yes
70709 else
70710 ac_hwcap_flags=no
70712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70713 if test "$ac_hwcap_flags" = "yes"; then
70714 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
70716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70717 $as_echo "$ac_hwcap_flags" >&6; }
70719 CFLAGS="$ac_save_CFLAGS"
70724 # Check if assembler supports rdrand opcode.
70726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70727 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70728 if test "${ac_cv_x86_rdrand+set}" = set; then :
70729 $as_echo_n "(cached) " >&6
70730 else
70732 ac_cv_x86_rdrand=no
70733 case "$target" in
70734 i?86-*-* | \
70735 x86_64-*-*)
70736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70737 /* end confdefs.h. */
70740 main ()
70742 asm("rdrand %eax");
70744 return 0;
70746 _ACEOF
70747 if ac_fn_c_try_compile "$LINENO"; then :
70748 ac_cv_x86_rdrand=yes
70749 else
70750 ac_cv_x86_rdrand=no
70752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70753 esac
70757 if test $ac_cv_x86_rdrand = yes; then
70759 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70763 $as_echo "$ac_cv_x86_rdrand" >&6; }
70766 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70768 if $GLIBCXX_IS_NATIVE ; then
70769 # Do checks for resource limit functions.
70771 setrlimit_have_headers=yes
70772 for ac_header in unistd.h sys/time.h sys/resource.h
70773 do :
70774 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70775 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70776 eval as_val=\$$as_ac_Header
70777 if test "x$as_val" = x""yes; then :
70778 cat >>confdefs.h <<_ACEOF
70779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70780 _ACEOF
70782 else
70783 setrlimit_have_headers=no
70786 done
70788 # If don't have the headers, then we can't run the tests now, and we
70789 # won't be seeing any of these during testsuite compilation.
70790 if test $setrlimit_have_headers = yes; then
70791 # Can't do these in a loop, else the resulting syntax is wrong.
70793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70794 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70796 /* end confdefs.h. */
70797 #include <unistd.h>
70798 #include <sys/time.h>
70799 #include <sys/resource.h>
70802 main ()
70804 int f = RLIMIT_DATA ;
70806 return 0;
70808 _ACEOF
70809 if ac_fn_c_try_compile "$LINENO"; then :
70810 glibcxx_mresult=1
70811 else
70812 glibcxx_mresult=0
70814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70816 cat >>confdefs.h <<_ACEOF
70817 #define HAVE_LIMIT_DATA $glibcxx_mresult
70818 _ACEOF
70820 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70822 $as_echo "$res" >&6; }
70825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70826 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70828 /* end confdefs.h. */
70829 #include <unistd.h>
70830 #include <sys/time.h>
70831 #include <sys/resource.h>
70834 main ()
70836 int f = RLIMIT_RSS ;
70838 return 0;
70840 _ACEOF
70841 if ac_fn_c_try_compile "$LINENO"; then :
70842 glibcxx_mresult=1
70843 else
70844 glibcxx_mresult=0
70846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70848 cat >>confdefs.h <<_ACEOF
70849 #define HAVE_LIMIT_RSS $glibcxx_mresult
70850 _ACEOF
70852 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70854 $as_echo "$res" >&6; }
70857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70858 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70860 /* end confdefs.h. */
70861 #include <unistd.h>
70862 #include <sys/time.h>
70863 #include <sys/resource.h>
70866 main ()
70868 int f = RLIMIT_VMEM ;
70870 return 0;
70872 _ACEOF
70873 if ac_fn_c_try_compile "$LINENO"; then :
70874 glibcxx_mresult=1
70875 else
70876 glibcxx_mresult=0
70878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70880 cat >>confdefs.h <<_ACEOF
70881 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70882 _ACEOF
70884 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70886 $as_echo "$res" >&6; }
70889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70890 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70892 /* end confdefs.h. */
70893 #include <unistd.h>
70894 #include <sys/time.h>
70895 #include <sys/resource.h>
70898 main ()
70900 int f = RLIMIT_AS ;
70902 return 0;
70904 _ACEOF
70905 if ac_fn_c_try_compile "$LINENO"; then :
70906 glibcxx_mresult=1
70907 else
70908 glibcxx_mresult=0
70910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70912 cat >>confdefs.h <<_ACEOF
70913 #define HAVE_LIMIT_AS $glibcxx_mresult
70914 _ACEOF
70916 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70918 $as_echo "$res" >&6; }
70921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70922 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70924 /* end confdefs.h. */
70925 #include <unistd.h>
70926 #include <sys/time.h>
70927 #include <sys/resource.h>
70930 main ()
70932 int f = RLIMIT_FSIZE ;
70934 return 0;
70936 _ACEOF
70937 if ac_fn_c_try_compile "$LINENO"; then :
70938 glibcxx_mresult=1
70939 else
70940 glibcxx_mresult=0
70942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70944 cat >>confdefs.h <<_ACEOF
70945 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70946 _ACEOF
70948 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70950 $as_echo "$res" >&6; }
70953 # Check for rlimit, setrlimit.
70954 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70955 $as_echo_n "(cached) " >&6
70956 else
70958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70959 /* end confdefs.h. */
70960 #include <unistd.h>
70961 #include <sys/time.h>
70962 #include <sys/resource.h>
70965 main ()
70967 struct rlimit r;
70968 setrlimit(0, &r);
70970 return 0;
70972 _ACEOF
70973 if ac_fn_c_try_compile "$LINENO"; then :
70974 glibcxx_cv_setrlimit=yes
70975 else
70976 glibcxx_cv_setrlimit=no
70978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70985 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70986 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
70987 ac_res_limits=yes
70989 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70991 else
70992 ac_res_limits=no
70994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
70995 $as_echo "$ac_res_limits" >&6; }
70998 # Look for setenv, so that extended locale tests can be performed.
71000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71001 $as_echo_n "checking for setenv declaration... " >&6; }
71002 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71003 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
71004 $as_echo_n "(cached) " >&6
71005 else
71008 ac_ext=cpp
71009 ac_cpp='$CXXCPP $CPPFLAGS'
71010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71015 /* end confdefs.h. */
71016 #include <stdlib.h>
71018 main ()
71020 setenv(0, 0, 0);
71022 return 0;
71024 _ACEOF
71025 if ac_fn_cxx_try_compile "$LINENO"; then :
71026 glibcxx_cv_func_setenv_use=yes
71027 else
71028 glibcxx_cv_func_setenv_use=no
71030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71031 ac_ext=c
71032 ac_cpp='$CPP $CPPFLAGS'
71033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71042 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71043 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71044 for ac_func in setenv
71045 do :
71046 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71047 if test "x$ac_cv_func_setenv" = x""yes; then :
71048 cat >>confdefs.h <<_ACEOF
71049 #define HAVE_SETENV 1
71050 _ACEOF
71053 done
71059 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71060 test $enable_symvers != no; then
71061 case "$host" in
71062 *-*-cygwin*)
71063 enable_abi_check=no ;;
71065 enable_abi_check=yes ;;
71066 esac
71067 else
71068 # Only build this as native, since automake does not understand
71069 # CXX_FOR_BUILD.
71070 enable_abi_check=no
71073 # Export file names for ABI checking.
71074 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71076 baseline_subdir_switch="$abi_baseline_subdir_switch"
71080 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71082 # Check whether --enable-libstdcxx-threads was given.
71083 if test "${enable_libstdcxx_threads+set}" = set; then :
71084 enableval=$enable_libstdcxx_threads;
71085 case "$enableval" in
71086 yes|no) ;;
71087 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71088 esac
71090 else
71091 enable_libstdcxx_threads=auto
71096 if test x$enable_libstdcxx_threads = xauto ||
71097 test x$enable_libstdcxx_threads = xyes; then
71100 ac_ext=cpp
71101 ac_cpp='$CXXCPP $CPPFLAGS'
71102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71107 ac_save_CXXFLAGS="$CXXFLAGS"
71108 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71109 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71111 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71112 case $target_thread_file in
71113 posix)
71114 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71115 esac
71117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71118 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71121 /* end confdefs.h. */
71122 #include <unistd.h>
71124 main ()
71127 // In case of POSIX threads check _POSIX_TIMEOUTS.
71128 #if (defined(_PTHREADS) \
71129 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71130 #error
71131 #endif
71134 return 0;
71136 _ACEOF
71137 if ac_fn_cxx_try_compile "$LINENO"; then :
71138 ac_gthread_use_mutex_timedlock=1
71139 else
71140 ac_gthread_use_mutex_timedlock=0
71142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71145 cat >>confdefs.h <<_ACEOF
71146 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71147 _ACEOF
71150 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71151 else res_mutex_timedlock=no ; fi
71152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71153 $as_echo "$res_mutex_timedlock" >&6; }
71155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71156 $as_echo_n "checking for gthreads library... " >&6; }
71158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71159 /* end confdefs.h. */
71160 #include "gthr.h"
71162 main ()
71165 #ifndef __GTHREADS_CXX0X
71166 #error
71167 #endif
71170 return 0;
71172 _ACEOF
71173 if ac_fn_cxx_try_compile "$LINENO"; then :
71174 case $target_os in
71175 # gthreads support breaks symbol versioning on Solaris 9 (PR
71176 # libstdc++/52189).
71177 solaris2.9*)
71178 if test x$enable_symvers = xno; then
71179 ac_has_gthreads=yes
71180 elif test x$enable_libstdcxx_threads = xyes; then
71181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71182 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71184 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71185 ac_has_gthreads=yes
71186 else
71187 ac_has_gthreads=no
71191 ac_has_gthreads=yes
71193 esac
71194 else
71195 ac_has_gthreads=no
71197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71198 else
71199 ac_has_gthreads=no
71202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71203 $as_echo "$ac_has_gthreads" >&6; }
71205 if test x"$ac_has_gthreads" = x"yes"; then
71207 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71211 CXXFLAGS="$ac_save_CXXFLAGS"
71212 ac_ext=c
71213 ac_cpp='$CPP $CPPFLAGS'
71214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71220 # Define documentation rules conditionally.
71222 # See if makeinfo has been installed and is modern enough
71223 # that we can use it.
71225 # Extract the first word of "makeinfo", so it can be a program name with args.
71226 set dummy makeinfo; ac_word=$2
71227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71228 $as_echo_n "checking for $ac_word... " >&6; }
71229 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71230 $as_echo_n "(cached) " >&6
71231 else
71232 if test -n "$MAKEINFO"; then
71233 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71234 else
71235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71236 for as_dir in $PATH
71238 IFS=$as_save_IFS
71239 test -z "$as_dir" && as_dir=.
71240 for ac_exec_ext in '' $ac_executable_extensions; do
71241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71242 ac_cv_prog_MAKEINFO="makeinfo"
71243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71244 break 2
71246 done
71247 done
71248 IFS=$as_save_IFS
71252 MAKEINFO=$ac_cv_prog_MAKEINFO
71253 if test -n "$MAKEINFO"; then
71254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71255 $as_echo "$MAKEINFO" >&6; }
71256 else
71257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71258 $as_echo "no" >&6; }
71262 if test -n "$MAKEINFO"; then
71263 # Found it, now check the version.
71264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71265 $as_echo_n "checking for modern makeinfo... " >&6; }
71266 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71267 $as_echo_n "(cached) " >&6
71268 else
71269 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71270 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71272 case $ac_prog_version in
71273 '') gcc_cv_prog_makeinfo_modern=no;;
71274 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71275 *) gcc_cv_prog_makeinfo_modern=no;;
71276 esac
71279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71280 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71281 else
71282 gcc_cv_prog_makeinfo_modern=no
71284 if test $gcc_cv_prog_makeinfo_modern = no; then
71285 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71288 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71289 BUILD_INFO_TRUE=
71290 BUILD_INFO_FALSE='#'
71291 else
71292 BUILD_INFO_TRUE='#'
71293 BUILD_INFO_FALSE=
71297 # Check for doxygen
71298 # Extract the first word of "doxygen", so it can be a program name with args.
71299 set dummy doxygen; ac_word=$2
71300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71301 $as_echo_n "checking for $ac_word... " >&6; }
71302 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71303 $as_echo_n "(cached) " >&6
71304 else
71305 if test -n "$DOXYGEN"; then
71306 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71307 else
71308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71309 for as_dir in $PATH
71311 IFS=$as_save_IFS
71312 test -z "$as_dir" && as_dir=.
71313 for ac_exec_ext in '' $ac_executable_extensions; do
71314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71315 ac_cv_prog_DOXYGEN="yes"
71316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71317 break 2
71319 done
71320 done
71321 IFS=$as_save_IFS
71323 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71326 DOXYGEN=$ac_cv_prog_DOXYGEN
71327 if test -n "$DOXYGEN"; then
71328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71329 $as_echo "$DOXYGEN" >&6; }
71330 else
71331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71332 $as_echo "no" >&6; }
71336 # Extract the first word of "dot", so it can be a program name with args.
71337 set dummy dot; ac_word=$2
71338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71339 $as_echo_n "checking for $ac_word... " >&6; }
71340 if test "${ac_cv_prog_DOT+set}" = set; then :
71341 $as_echo_n "(cached) " >&6
71342 else
71343 if test -n "$DOT"; then
71344 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71345 else
71346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71347 for as_dir in $PATH
71349 IFS=$as_save_IFS
71350 test -z "$as_dir" && as_dir=.
71351 for ac_exec_ext in '' $ac_executable_extensions; do
71352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71353 ac_cv_prog_DOT="yes"
71354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71355 break 2
71357 done
71358 done
71359 IFS=$as_save_IFS
71361 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71364 DOT=$ac_cv_prog_DOT
71365 if test -n "$DOT"; then
71366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71367 $as_echo "$DOT" >&6; }
71368 else
71369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71370 $as_echo "no" >&6; }
71375 # Check for docbook
71376 # Extract the first word of "xsltproc", so it can be a program name with args.
71377 set dummy xsltproc; ac_word=$2
71378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71379 $as_echo_n "checking for $ac_word... " >&6; }
71380 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71381 $as_echo_n "(cached) " >&6
71382 else
71383 if test -n "$XSLTPROC"; then
71384 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71385 else
71386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71387 for as_dir in $PATH
71389 IFS=$as_save_IFS
71390 test -z "$as_dir" && as_dir=.
71391 for ac_exec_ext in '' $ac_executable_extensions; do
71392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71393 ac_cv_prog_XSLTPROC="yes"
71394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71395 break 2
71397 done
71398 done
71399 IFS=$as_save_IFS
71401 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71404 XSLTPROC=$ac_cv_prog_XSLTPROC
71405 if test -n "$XSLTPROC"; then
71406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71407 $as_echo "$XSLTPROC" >&6; }
71408 else
71409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71410 $as_echo "no" >&6; }
71414 # Extract the first word of "xmllint", so it can be a program name with args.
71415 set dummy xmllint; ac_word=$2
71416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71417 $as_echo_n "checking for $ac_word... " >&6; }
71418 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71419 $as_echo_n "(cached) " >&6
71420 else
71421 if test -n "$XMLLINT"; then
71422 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71423 else
71424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71425 for as_dir in $PATH
71427 IFS=$as_save_IFS
71428 test -z "$as_dir" && as_dir=.
71429 for ac_exec_ext in '' $ac_executable_extensions; do
71430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71431 ac_cv_prog_XMLLINT="yes"
71432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71433 break 2
71435 done
71436 done
71437 IFS=$as_save_IFS
71439 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71442 XMLLINT=$ac_cv_prog_XMLLINT
71443 if test -n "$XMLLINT"; then
71444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71445 $as_echo "$XMLLINT" >&6; }
71446 else
71447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71448 $as_echo "no" >&6; }
71454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71455 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71456 glibcxx_stylesheets=no
71457 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
71458 glibcxx_stylesheets=yes
71460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71461 $as_echo "$glibcxx_stylesheets" >&6; }
71463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71464 $as_echo_n "checking for local stylesheet directory... " >&6; }
71465 glibcxx_local_stylesheets=no
71466 if test x"$glibcxx_stylesheets" = x"yes"; then
71467 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71468 glibcxx_local_stylesheets=yes
71469 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71471 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71472 glibcxx_local_stylesheets=yes
71473 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71477 $as_echo "$glibcxx_local_stylesheets" >&6; }
71479 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71481 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71482 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71483 else
71484 glibcxx_stylesheets=no
71487 # Check for epub3 dependencies.
71488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71489 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71490 glibcxx_epub_stylesheets=no
71491 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71492 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71493 glibcxx_epub_stylesheets=yes
71496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71497 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71498 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71499 BUILD_EPUB_TRUE=
71500 BUILD_EPUB_FALSE='#'
71501 else
71502 BUILD_EPUB_TRUE='#'
71503 BUILD_EPUB_FALSE=
71509 # Check for xml/html dependencies.
71510 if test $ac_cv_prog_DOXYGEN = "yes" &&
71511 test $ac_cv_prog_DOT = "yes" &&
71512 test $ac_cv_prog_XSLTPROC = "yes" &&
71513 test $ac_cv_prog_XMLLINT = "yes" &&
71514 test $glibcxx_stylesheets = "yes"; then
71515 BUILD_XML_TRUE=
71516 BUILD_XML_FALSE='#'
71517 else
71518 BUILD_XML_TRUE='#'
71519 BUILD_XML_FALSE=
71523 if test $ac_cv_prog_DOXYGEN = "yes" &&
71524 test $ac_cv_prog_DOT = "yes" &&
71525 test $ac_cv_prog_XSLTPROC = "yes" &&
71526 test $ac_cv_prog_XMLLINT = "yes" &&
71527 test $glibcxx_stylesheets = "yes"; then
71528 BUILD_HTML_TRUE=
71529 BUILD_HTML_FALSE='#'
71530 else
71531 BUILD_HTML_TRUE='#'
71532 BUILD_HTML_FALSE=
71536 # Check for man dependencies.
71537 if test $ac_cv_prog_DOXYGEN = "yes" &&
71538 test $ac_cv_prog_DOT = "yes"; then
71539 BUILD_MAN_TRUE=
71540 BUILD_MAN_FALSE='#'
71541 else
71542 BUILD_MAN_TRUE='#'
71543 BUILD_MAN_FALSE=
71547 # Check for pdf dependencies.
71548 # Extract the first word of "dblatex", so it can be a program name with args.
71549 set dummy dblatex; ac_word=$2
71550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71551 $as_echo_n "checking for $ac_word... " >&6; }
71552 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71553 $as_echo_n "(cached) " >&6
71554 else
71555 if test -n "$DBLATEX"; then
71556 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71557 else
71558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71559 for as_dir in $PATH
71561 IFS=$as_save_IFS
71562 test -z "$as_dir" && as_dir=.
71563 for ac_exec_ext in '' $ac_executable_extensions; do
71564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71565 ac_cv_prog_DBLATEX="yes"
71566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71567 break 2
71569 done
71570 done
71571 IFS=$as_save_IFS
71573 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71576 DBLATEX=$ac_cv_prog_DBLATEX
71577 if test -n "$DBLATEX"; then
71578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71579 $as_echo "$DBLATEX" >&6; }
71580 else
71581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71582 $as_echo "no" >&6; }
71586 # Extract the first word of "pdflatex", so it can be a program name with args.
71587 set dummy pdflatex; ac_word=$2
71588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71589 $as_echo_n "checking for $ac_word... " >&6; }
71590 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71591 $as_echo_n "(cached) " >&6
71592 else
71593 if test -n "$PDFLATEX"; then
71594 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71595 else
71596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71597 for as_dir in $PATH
71599 IFS=$as_save_IFS
71600 test -z "$as_dir" && as_dir=.
71601 for ac_exec_ext in '' $ac_executable_extensions; do
71602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71603 ac_cv_prog_PDFLATEX="yes"
71604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71605 break 2
71607 done
71608 done
71609 IFS=$as_save_IFS
71611 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71614 PDFLATEX=$ac_cv_prog_PDFLATEX
71615 if test -n "$PDFLATEX"; then
71616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71617 $as_echo "$PDFLATEX" >&6; }
71618 else
71619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71620 $as_echo "no" >&6; }
71624 if test $ac_cv_prog_DBLATEX = "yes" &&
71625 test $ac_cv_prog_PDFLATEX = "yes"; then
71626 BUILD_PDF_TRUE=
71627 BUILD_PDF_FALSE='#'
71628 else
71629 BUILD_PDF_TRUE='#'
71630 BUILD_PDF_FALSE=
71635 # Propagate the target-specific source directories through the build chain.
71636 ATOMICITY_SRCDIR=config/${atomicity_dir}
71637 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71638 ATOMIC_FLAGS=${atomic_flags}
71639 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71640 OS_INC_SRCDIR=config/${os_include_dir}
71641 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71642 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71643 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
71644 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
71656 # Determine cross-compile flags and AM_CONDITIONALs.
71657 #AC_SUBST(GLIBCXX_IS_NATIVE)
71658 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71659 if test $is_hosted = yes; then
71660 GLIBCXX_HOSTED_TRUE=
71661 GLIBCXX_HOSTED_FALSE='#'
71662 else
71663 GLIBCXX_HOSTED_TRUE='#'
71664 GLIBCXX_HOSTED_FALSE=
71668 if test $enable_libstdcxx_pch = yes; then
71669 GLIBCXX_BUILD_PCH_TRUE=
71670 GLIBCXX_BUILD_PCH_FALSE='#'
71671 else
71672 GLIBCXX_BUILD_PCH_TRUE='#'
71673 GLIBCXX_BUILD_PCH_FALSE=
71677 if test $enable_cheaders = c; then
71678 GLIBCXX_C_HEADERS_C_TRUE=
71679 GLIBCXX_C_HEADERS_C_FALSE='#'
71680 else
71681 GLIBCXX_C_HEADERS_C_TRUE='#'
71682 GLIBCXX_C_HEADERS_C_FALSE=
71686 if test $enable_cheaders = c_std; then
71687 GLIBCXX_C_HEADERS_C_STD_TRUE=
71688 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71689 else
71690 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71691 GLIBCXX_C_HEADERS_C_STD_FALSE=
71695 if test $enable_cheaders = c_global; then
71696 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71697 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71698 else
71699 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71700 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71704 if test $c_compatibility = yes; then
71705 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71706 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71707 else
71708 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71709 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71713 if test $enable_libstdcxx_debug = yes; then
71714 GLIBCXX_BUILD_DEBUG_TRUE=
71715 GLIBCXX_BUILD_DEBUG_FALSE='#'
71716 else
71717 GLIBCXX_BUILD_DEBUG_TRUE='#'
71718 GLIBCXX_BUILD_DEBUG_FALSE=
71722 if test $enable_extern_template = yes; then
71723 ENABLE_EXTERN_TEMPLATE_TRUE=
71724 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71725 else
71726 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71727 ENABLE_EXTERN_TEMPLATE_FALSE=
71731 if test $python_mod_dir != no; then
71732 ENABLE_PYTHONDIR_TRUE=
71733 ENABLE_PYTHONDIR_FALSE='#'
71734 else
71735 ENABLE_PYTHONDIR_TRUE='#'
71736 ENABLE_PYTHONDIR_FALSE=
71740 if test $enable_werror = yes; then
71741 ENABLE_WERROR_TRUE=
71742 ENABLE_WERROR_FALSE='#'
71743 else
71744 ENABLE_WERROR_TRUE='#'
71745 ENABLE_WERROR_FALSE=
71749 if test $enable_symvers != no; then
71750 ENABLE_SYMVERS_TRUE=
71751 ENABLE_SYMVERS_FALSE='#'
71752 else
71753 ENABLE_SYMVERS_TRUE='#'
71754 ENABLE_SYMVERS_FALSE=
71758 if test $enable_symvers = gnu; then
71759 ENABLE_SYMVERS_GNU_TRUE=
71760 ENABLE_SYMVERS_GNU_FALSE='#'
71761 else
71762 ENABLE_SYMVERS_GNU_TRUE='#'
71763 ENABLE_SYMVERS_GNU_FALSE=
71767 if test $enable_symvers = gnu-versioned-namespace; then
71768 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71769 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71770 else
71771 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71772 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71776 if test $enable_symvers = darwin; then
71777 ENABLE_SYMVERS_DARWIN_TRUE=
71778 ENABLE_SYMVERS_DARWIN_FALSE='#'
71779 else
71780 ENABLE_SYMVERS_DARWIN_TRUE='#'
71781 ENABLE_SYMVERS_DARWIN_FALSE=
71785 if test $enable_symvers = sun; then
71786 ENABLE_SYMVERS_SUN_TRUE=
71787 ENABLE_SYMVERS_SUN_FALSE='#'
71788 else
71789 ENABLE_SYMVERS_SUN_TRUE='#'
71790 ENABLE_SYMVERS_SUN_FALSE=
71794 if test $enable_libstdcxx_visibility = yes; then
71795 ENABLE_VISIBILITY_TRUE=
71796 ENABLE_VISIBILITY_FALSE='#'
71797 else
71798 ENABLE_VISIBILITY_TRUE='#'
71799 ENABLE_VISIBILITY_FALSE=
71803 if test $ac_ldbl_compat = yes; then
71804 GLIBCXX_LDBL_COMPAT_TRUE=
71805 GLIBCXX_LDBL_COMPAT_FALSE='#'
71806 else
71807 GLIBCXX_LDBL_COMPAT_TRUE='#'
71808 GLIBCXX_LDBL_COMPAT_FALSE=
71814 cat >confcache <<\_ACEOF
71815 # This file is a shell script that caches the results of configure
71816 # tests run on this system so they can be shared between configure
71817 # scripts and configure runs, see configure's option --config-cache.
71818 # It is not useful on other systems. If it contains results you don't
71819 # want to keep, you may remove or edit it.
71821 # config.status only pays attention to the cache file if you give it
71822 # the --recheck option to rerun configure.
71824 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71825 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71826 # following values.
71828 _ACEOF
71830 # The following way of writing the cache mishandles newlines in values,
71831 # but we know of no workaround that is simple, portable, and efficient.
71832 # So, we kill variables containing newlines.
71833 # Ultrix sh set writes to stderr and can't be redirected directly,
71834 # and sets the high bit in the cache file unless we assign to the vars.
71836 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71837 eval ac_val=\$$ac_var
71838 case $ac_val in #(
71839 *${as_nl}*)
71840 case $ac_var in #(
71841 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71842 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71843 esac
71844 case $ac_var in #(
71845 _ | IFS | as_nl) ;; #(
71846 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71847 *) { eval $ac_var=; unset $ac_var;} ;;
71848 esac ;;
71849 esac
71850 done
71852 (set) 2>&1 |
71853 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71854 *${as_nl}ac_space=\ *)
71855 # `set' does not quote correctly, so add quotes: double-quote
71856 # substitution turns \\\\ into \\, and sed turns \\ into \.
71857 sed -n \
71858 "s/'/'\\\\''/g;
71859 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71860 ;; #(
71862 # `set' quotes correctly as required by POSIX, so do not add quotes.
71863 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71865 esac |
71866 sort
71868 sed '
71869 /^ac_cv_env_/b end
71870 t clear
71871 :clear
71872 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71873 t end
71874 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71875 :end' >>confcache
71876 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71877 if test -w "$cache_file"; then
71878 test "x$cache_file" != "x/dev/null" &&
71879 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71880 $as_echo "$as_me: updating cache $cache_file" >&6;}
71881 cat confcache >$cache_file
71882 else
71883 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71884 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71887 rm -f confcache
71889 if test ${multilib} = yes; then
71890 multilib_arg="--enable-multilib"
71891 else
71892 multilib_arg=
71895 # Export all the install information.
71897 glibcxx_toolexecdir=no
71898 glibcxx_toolexeclibdir=no
71899 glibcxx_prefixdir=$prefix
71901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71902 $as_echo_n "checking for gxx-include-dir... " >&6; }
71904 # Check whether --with-gxx-include-dir was given.
71905 if test "${with_gxx_include_dir+set}" = set; then :
71906 withval=$with_gxx_include_dir; case "$withval" in
71907 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71908 no) gxx_include_dir=no ;;
71909 *) gxx_include_dir=$withval ;;
71910 esac
71911 else
71912 gxx_include_dir=no
71915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71916 $as_echo "$gxx_include_dir" >&6; }
71918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71919 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71920 # Check whether --enable-version-specific-runtime-libs was given.
71921 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71922 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71923 yes) version_specific_libs=yes ;;
71924 no) version_specific_libs=no ;;
71925 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71926 esac
71927 else
71928 version_specific_libs=no
71931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71932 $as_echo "$version_specific_libs" >&6; }
71934 # Default case for install directory for include files.
71935 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71936 gxx_include_dir='include/c++/${gcc_version}'
71937 if test -n "$with_cross_host" &&
71938 test x"$with_cross_host" != x"no"; then
71939 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71940 else
71941 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71945 # Version-specific runtime libs processing.
71946 if test $version_specific_libs = yes; then
71947 # Need the gcc compiler version to know where to install libraries
71948 # and header files if --enable-version-specific-runtime-libs option
71949 # is selected. FIXME: these variables are misnamed, there are
71950 # no executables installed in _toolexecdir or _toolexeclibdir.
71951 if test x"$gxx_include_dir" = x"no"; then
71952 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71954 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71955 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71958 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71959 # Install a library built with a cross compiler in tooldir, not libdir.
71960 if test x"$glibcxx_toolexecdir" = x"no"; then
71961 if test -n "$with_cross_host" &&
71962 test x"$with_cross_host" != x"no"; then
71963 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71964 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71965 else
71966 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71967 glibcxx_toolexeclibdir='${libdir}'
71969 multi_os_directory=`$CXX -print-multi-os-directory`
71970 case $multi_os_directory in
71971 .) ;; # Avoid trailing /.
71972 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71973 esac
71976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71977 $as_echo_n "checking for install location... " >&6; }
71978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71979 $as_echo "$gxx_include_dir" >&6; }
71987 # Export all the include and flag information to Makefiles.
71989 # Used for every C++ compile we perform.
71990 GLIBCXX_INCLUDES="\
71991 -I$glibcxx_builddir/include/$host_alias \
71992 -I$glibcxx_builddir/include \
71993 -I$glibcxx_srcdir/libsupc++"
71995 # For Canadian crosses, pick this up too.
71996 if test $CANADIAN = yes; then
71997 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72000 # Stuff in the actual top level. Currently only used by libsupc++ to
72001 # get unwind* headers from the libgcc dir.
72002 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72003 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72005 # Now, export this to all the little Makefiles....
72010 # Optimization flags that are probably a good idea for thrill-seekers. Just
72011 # uncomment the lines below and make, everything else is ready to go...
72012 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72013 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72016 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72020 ac_config_files="$ac_config_files Makefile"
72022 ac_config_files="$ac_config_files scripts/testsuite_flags"
72024 ac_config_files="$ac_config_files scripts/extract_symvers"
72026 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72029 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72030 # that multilib installs will end up installed in the correct place.
72031 # The testsuite needs it for multilib-aware ABI baseline files.
72032 # To work around this not being passed down from config-ml.in ->
72033 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72034 # append it here. Only modify Makefiles that have just been created.
72036 # Also, get rid of this simulated-VPATH thing that automake does.
72037 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"
72040 ac_config_commands="$ac_config_commands generate-headers"
72043 cat >confcache <<\_ACEOF
72044 # This file is a shell script that caches the results of configure
72045 # tests run on this system so they can be shared between configure
72046 # scripts and configure runs, see configure's option --config-cache.
72047 # It is not useful on other systems. If it contains results you don't
72048 # want to keep, you may remove or edit it.
72050 # config.status only pays attention to the cache file if you give it
72051 # the --recheck option to rerun configure.
72053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72055 # following values.
72057 _ACEOF
72059 # The following way of writing the cache mishandles newlines in values,
72060 # but we know of no workaround that is simple, portable, and efficient.
72061 # So, we kill variables containing newlines.
72062 # Ultrix sh set writes to stderr and can't be redirected directly,
72063 # and sets the high bit in the cache file unless we assign to the vars.
72065 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72066 eval ac_val=\$$ac_var
72067 case $ac_val in #(
72068 *${as_nl}*)
72069 case $ac_var in #(
72070 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72072 esac
72073 case $ac_var in #(
72074 _ | IFS | as_nl) ;; #(
72075 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72076 *) { eval $ac_var=; unset $ac_var;} ;;
72077 esac ;;
72078 esac
72079 done
72081 (set) 2>&1 |
72082 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72083 *${as_nl}ac_space=\ *)
72084 # `set' does not quote correctly, so add quotes: double-quote
72085 # substitution turns \\\\ into \\, and sed turns \\ into \.
72086 sed -n \
72087 "s/'/'\\\\''/g;
72088 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72089 ;; #(
72091 # `set' quotes correctly as required by POSIX, so do not add quotes.
72092 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72094 esac |
72095 sort
72097 sed '
72098 /^ac_cv_env_/b end
72099 t clear
72100 :clear
72101 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72102 t end
72103 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72104 :end' >>confcache
72105 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72106 if test -w "$cache_file"; then
72107 test "x$cache_file" != "x/dev/null" &&
72108 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72109 $as_echo "$as_me: updating cache $cache_file" >&6;}
72110 cat confcache >$cache_file
72111 else
72112 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72113 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72116 rm -f confcache
72118 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72119 # Let make expand exec_prefix.
72120 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72122 DEFS=-DHAVE_CONFIG_H
72124 ac_libobjs=
72125 ac_ltlibobjs=
72126 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72127 # 1. Remove the extension, and $U if already installed.
72128 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72129 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72130 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72131 # will be set to the directory where LIBOBJS objects are built.
72132 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72133 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72134 done
72135 LIBOBJS=$ac_libobjs
72137 LTLIBOBJS=$ac_ltlibobjs
72140 if test -n "$EXEEXT"; then
72141 am__EXEEXT_TRUE=
72142 am__EXEEXT_FALSE='#'
72143 else
72144 am__EXEEXT_TRUE='#'
72145 am__EXEEXT_FALSE=
72148 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72149 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72152 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72153 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72156 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72157 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72160 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72161 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72164 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72165 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72168 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72169 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72172 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72173 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72176 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72177 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72180 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72181 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72184 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72185 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72188 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72189 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72192 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72193 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72196 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72197 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72200 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72201 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72204 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72205 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72208 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72209 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72212 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72213 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72216 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72217 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72220 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72221 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72224 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72225 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72228 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72229 as_fn_error "conditional \"BUILD_XML\" was never defined.
72230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72232 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72233 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72236 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72237 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72240 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72241 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72245 : ${CONFIG_STATUS=./config.status}
72246 ac_write_fail=0
72247 ac_clean_files_save=$ac_clean_files
72248 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72250 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72251 as_write_fail=0
72252 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72253 #! $SHELL
72254 # Generated by $as_me.
72255 # Run this file to recreate the current configuration.
72256 # Compiler output produced by configure, useful for debugging
72257 # configure, is in config.log if it exists.
72259 debug=false
72260 ac_cs_recheck=false
72261 ac_cs_silent=false
72263 SHELL=\${CONFIG_SHELL-$SHELL}
72264 export SHELL
72265 _ASEOF
72266 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72267 ## -------------------- ##
72268 ## M4sh Initialization. ##
72269 ## -------------------- ##
72271 # Be more Bourne compatible
72272 DUALCASE=1; export DUALCASE # for MKS sh
72273 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72274 emulate sh
72275 NULLCMD=:
72276 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72277 # is contrary to our usage. Disable this feature.
72278 alias -g '${1+"$@"}'='"$@"'
72279 setopt NO_GLOB_SUBST
72280 else
72281 case `(set -o) 2>/dev/null` in #(
72282 *posix*) :
72283 set -o posix ;; #(
72284 *) :
72286 esac
72290 as_nl='
72292 export as_nl
72293 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72294 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72295 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72296 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72297 # Prefer a ksh shell builtin over an external printf program on Solaris,
72298 # but without wasting forks for bash or zsh.
72299 if test -z "$BASH_VERSION$ZSH_VERSION" \
72300 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72301 as_echo='print -r --'
72302 as_echo_n='print -rn --'
72303 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72304 as_echo='printf %s\n'
72305 as_echo_n='printf %s'
72306 else
72307 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72308 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72309 as_echo_n='/usr/ucb/echo -n'
72310 else
72311 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72312 as_echo_n_body='eval
72313 arg=$1;
72314 case $arg in #(
72315 *"$as_nl"*)
72316 expr "X$arg" : "X\\(.*\\)$as_nl";
72317 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72318 esac;
72319 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72321 export as_echo_n_body
72322 as_echo_n='sh -c $as_echo_n_body as_echo'
72324 export as_echo_body
72325 as_echo='sh -c $as_echo_body as_echo'
72328 # The user is always right.
72329 if test "${PATH_SEPARATOR+set}" != set; then
72330 PATH_SEPARATOR=:
72331 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72332 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72333 PATH_SEPARATOR=';'
72338 # IFS
72339 # We need space, tab and new line, in precisely that order. Quoting is
72340 # there to prevent editors from complaining about space-tab.
72341 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72342 # splitting by setting IFS to empty value.)
72343 IFS=" "" $as_nl"
72345 # Find who we are. Look in the path if we contain no directory separator.
72346 case $0 in #((
72347 *[\\/]* ) as_myself=$0 ;;
72348 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72349 for as_dir in $PATH
72351 IFS=$as_save_IFS
72352 test -z "$as_dir" && as_dir=.
72353 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72354 done
72355 IFS=$as_save_IFS
72358 esac
72359 # We did not find ourselves, most probably we were run as `sh COMMAND'
72360 # in which case we are not to be found in the path.
72361 if test "x$as_myself" = x; then
72362 as_myself=$0
72364 if test ! -f "$as_myself"; then
72365 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72366 exit 1
72369 # Unset variables that we do not need and which cause bugs (e.g. in
72370 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72371 # suppresses any "Segmentation fault" message there. '((' could
72372 # trigger a bug in pdksh 5.2.14.
72373 for as_var in BASH_ENV ENV MAIL MAILPATH
72374 do eval test x\${$as_var+set} = xset \
72375 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72376 done
72377 PS1='$ '
72378 PS2='> '
72379 PS4='+ '
72381 # NLS nuisances.
72382 LC_ALL=C
72383 export LC_ALL
72384 LANGUAGE=C
72385 export LANGUAGE
72387 # CDPATH.
72388 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72391 # as_fn_error ERROR [LINENO LOG_FD]
72392 # ---------------------------------
72393 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72394 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72395 # script with status $?, using 1 if that was 0.
72396 as_fn_error ()
72398 as_status=$?; test $as_status -eq 0 && as_status=1
72399 if test "$3"; then
72400 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72401 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72403 $as_echo "$as_me: error: $1" >&2
72404 as_fn_exit $as_status
72405 } # as_fn_error
72408 # as_fn_set_status STATUS
72409 # -----------------------
72410 # Set $? to STATUS, without forking.
72411 as_fn_set_status ()
72413 return $1
72414 } # as_fn_set_status
72416 # as_fn_exit STATUS
72417 # -----------------
72418 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72419 as_fn_exit ()
72421 set +e
72422 as_fn_set_status $1
72423 exit $1
72424 } # as_fn_exit
72426 # as_fn_unset VAR
72427 # ---------------
72428 # Portably unset VAR.
72429 as_fn_unset ()
72431 { eval $1=; unset $1;}
72433 as_unset=as_fn_unset
72434 # as_fn_append VAR VALUE
72435 # ----------------------
72436 # Append the text in VALUE to the end of the definition contained in VAR. Take
72437 # advantage of any shell optimizations that allow amortized linear growth over
72438 # repeated appends, instead of the typical quadratic growth present in naive
72439 # implementations.
72440 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72441 eval 'as_fn_append ()
72443 eval $1+=\$2
72445 else
72446 as_fn_append ()
72448 eval $1=\$$1\$2
72450 fi # as_fn_append
72452 # as_fn_arith ARG...
72453 # ------------------
72454 # Perform arithmetic evaluation on the ARGs, and store the result in the
72455 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72456 # must be portable across $(()) and expr.
72457 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72458 eval 'as_fn_arith ()
72460 as_val=$(( $* ))
72462 else
72463 as_fn_arith ()
72465 as_val=`expr "$@" || test $? -eq 1`
72467 fi # as_fn_arith
72470 if expr a : '\(a\)' >/dev/null 2>&1 &&
72471 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72472 as_expr=expr
72473 else
72474 as_expr=false
72477 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72478 as_basename=basename
72479 else
72480 as_basename=false
72483 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72484 as_dirname=dirname
72485 else
72486 as_dirname=false
72489 as_me=`$as_basename -- "$0" ||
72490 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72491 X"$0" : 'X\(//\)$' \| \
72492 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72493 $as_echo X/"$0" |
72494 sed '/^.*\/\([^/][^/]*\)\/*$/{
72495 s//\1/
72498 /^X\/\(\/\/\)$/{
72499 s//\1/
72502 /^X\/\(\/\).*/{
72503 s//\1/
72506 s/.*/./; q'`
72508 # Avoid depending upon Character Ranges.
72509 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72510 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72511 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72512 as_cr_digits='0123456789'
72513 as_cr_alnum=$as_cr_Letters$as_cr_digits
72515 ECHO_C= ECHO_N= ECHO_T=
72516 case `echo -n x` in #(((((
72517 -n*)
72518 case `echo 'xy\c'` in
72519 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72520 xy) ECHO_C='\c';;
72521 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72522 ECHO_T=' ';;
72523 esac;;
72525 ECHO_N='-n';;
72526 esac
72528 rm -f conf$$ conf$$.exe conf$$.file
72529 if test -d conf$$.dir; then
72530 rm -f conf$$.dir/conf$$.file
72531 else
72532 rm -f conf$$.dir
72533 mkdir conf$$.dir 2>/dev/null
72535 if (echo >conf$$.file) 2>/dev/null; then
72536 if ln -s conf$$.file conf$$ 2>/dev/null; then
72537 as_ln_s='ln -s'
72538 # ... but there are two gotchas:
72539 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72540 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72541 # In both cases, we have to default to `cp -p'.
72542 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72543 as_ln_s='cp -p'
72544 elif ln conf$$.file conf$$ 2>/dev/null; then
72545 as_ln_s=ln
72546 else
72547 as_ln_s='cp -p'
72549 else
72550 as_ln_s='cp -p'
72552 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72553 rmdir conf$$.dir 2>/dev/null
72556 # as_fn_mkdir_p
72557 # -------------
72558 # Create "$as_dir" as a directory, including parents if necessary.
72559 as_fn_mkdir_p ()
72562 case $as_dir in #(
72563 -*) as_dir=./$as_dir;;
72564 esac
72565 test -d "$as_dir" || eval $as_mkdir_p || {
72566 as_dirs=
72567 while :; do
72568 case $as_dir in #(
72569 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72570 *) as_qdir=$as_dir;;
72571 esac
72572 as_dirs="'$as_qdir' $as_dirs"
72573 as_dir=`$as_dirname -- "$as_dir" ||
72574 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72575 X"$as_dir" : 'X\(//\)[^/]' \| \
72576 X"$as_dir" : 'X\(//\)$' \| \
72577 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72578 $as_echo X"$as_dir" |
72579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72580 s//\1/
72583 /^X\(\/\/\)[^/].*/{
72584 s//\1/
72587 /^X\(\/\/\)$/{
72588 s//\1/
72591 /^X\(\/\).*/{
72592 s//\1/
72595 s/.*/./; q'`
72596 test -d "$as_dir" && break
72597 done
72598 test -z "$as_dirs" || eval "mkdir $as_dirs"
72599 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72602 } # as_fn_mkdir_p
72603 if mkdir -p . 2>/dev/null; then
72604 as_mkdir_p='mkdir -p "$as_dir"'
72605 else
72606 test -d ./-p && rmdir ./-p
72607 as_mkdir_p=false
72610 if test -x / >/dev/null 2>&1; then
72611 as_test_x='test -x'
72612 else
72613 if ls -dL / >/dev/null 2>&1; then
72614 as_ls_L_option=L
72615 else
72616 as_ls_L_option=
72618 as_test_x='
72619 eval sh -c '\''
72620 if test -d "$1"; then
72621 test -d "$1/.";
72622 else
72623 case $1 in #(
72624 -*)set "./$1";;
72625 esac;
72626 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72627 ???[sx]*):;;*)false;;esac;fi
72628 '\'' sh
72631 as_executable_p=$as_test_x
72633 # Sed expression to map a string onto a valid CPP name.
72634 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72636 # Sed expression to map a string onto a valid variable name.
72637 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72640 exec 6>&1
72641 ## ----------------------------------- ##
72642 ## Main body of $CONFIG_STATUS script. ##
72643 ## ----------------------------------- ##
72644 _ASEOF
72645 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72648 # Save the log message, to keep $0 and so on meaningful, and to
72649 # report actual input values of CONFIG_FILES etc. instead of their
72650 # values after options handling.
72651 ac_log="
72652 This file was extended by package-unused $as_me version-unused, which was
72653 generated by GNU Autoconf 2.64. Invocation command line was
72655 CONFIG_FILES = $CONFIG_FILES
72656 CONFIG_HEADERS = $CONFIG_HEADERS
72657 CONFIG_LINKS = $CONFIG_LINKS
72658 CONFIG_COMMANDS = $CONFIG_COMMANDS
72659 $ $0 $@
72661 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72664 _ACEOF
72666 case $ac_config_files in *"
72667 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72668 esac
72670 case $ac_config_headers in *"
72671 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72672 esac
72675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72676 # Files that config.status was made for.
72677 config_files="$ac_config_files"
72678 config_headers="$ac_config_headers"
72679 config_commands="$ac_config_commands"
72681 _ACEOF
72683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72684 ac_cs_usage="\
72685 \`$as_me' instantiates files and other configuration actions
72686 from templates according to the current configuration. Unless the files
72687 and actions are specified as TAGs, all are instantiated by default.
72689 Usage: $0 [OPTION]... [TAG]...
72691 -h, --help print this help, then exit
72692 -V, --version print version number and configuration settings, then exit
72693 -q, --quiet, --silent
72694 do not print progress messages
72695 -d, --debug don't remove temporary files
72696 --recheck update $as_me by reconfiguring in the same conditions
72697 --file=FILE[:TEMPLATE]
72698 instantiate the configuration file FILE
72699 --header=FILE[:TEMPLATE]
72700 instantiate the configuration header FILE
72702 Configuration files:
72703 $config_files
72705 Configuration headers:
72706 $config_headers
72708 Configuration commands:
72709 $config_commands
72711 Report bugs to the package provider."
72713 _ACEOF
72714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72715 ac_cs_version="\\
72716 package-unused config.status version-unused
72717 configured by $0, generated by GNU Autoconf 2.64,
72718 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72720 Copyright (C) 2009 Free Software Foundation, Inc.
72721 This config.status script is free software; the Free Software Foundation
72722 gives unlimited permission to copy, distribute and modify it."
72724 ac_pwd='$ac_pwd'
72725 srcdir='$srcdir'
72726 INSTALL='$INSTALL'
72727 MKDIR_P='$MKDIR_P'
72728 AWK='$AWK'
72729 test -n "\$AWK" || AWK=awk
72730 _ACEOF
72732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72733 # The default lists apply if the user does not specify any file.
72734 ac_need_defaults=:
72735 while test $# != 0
72737 case $1 in
72738 --*=*)
72739 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72740 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72741 ac_shift=:
72744 ac_option=$1
72745 ac_optarg=$2
72746 ac_shift=shift
72748 esac
72750 case $ac_option in
72751 # Handling of the options.
72752 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72753 ac_cs_recheck=: ;;
72754 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72755 $as_echo "$ac_cs_version"; exit ;;
72756 --debug | --debu | --deb | --de | --d | -d )
72757 debug=: ;;
72758 --file | --fil | --fi | --f )
72759 $ac_shift
72760 case $ac_optarg in
72761 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72762 esac
72763 as_fn_append CONFIG_FILES " '$ac_optarg'"
72764 ac_need_defaults=false;;
72765 --header | --heade | --head | --hea )
72766 $ac_shift
72767 case $ac_optarg in
72768 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72769 esac
72770 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72771 ac_need_defaults=false;;
72772 --he | --h)
72773 # Conflict between --help and --header
72774 as_fn_error "ambiguous option: \`$1'
72775 Try \`$0 --help' for more information.";;
72776 --help | --hel | -h )
72777 $as_echo "$ac_cs_usage"; exit ;;
72778 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72779 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72780 ac_cs_silent=: ;;
72782 # This is an error.
72783 -*) as_fn_error "unrecognized option: \`$1'
72784 Try \`$0 --help' for more information." ;;
72786 *) as_fn_append ac_config_targets " $1"
72787 ac_need_defaults=false ;;
72789 esac
72790 shift
72791 done
72793 ac_configure_extra_args=
72795 if $ac_cs_silent; then
72796 exec 6>/dev/null
72797 ac_configure_extra_args="$ac_configure_extra_args --silent"
72800 _ACEOF
72801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72802 if \$ac_cs_recheck; then
72803 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72804 shift
72805 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72806 CONFIG_SHELL='$SHELL'
72807 export CONFIG_SHELL
72808 exec "\$@"
72811 _ACEOF
72812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72813 exec 5>>config.log
72815 echo
72816 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72817 ## Running $as_me. ##
72818 _ASBOX
72819 $as_echo "$ac_log"
72820 } >&5
72822 _ACEOF
72823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72825 # INIT-COMMANDS
72828 srcdir="$srcdir"
72829 host="$host"
72830 target="$target"
72831 with_multisubdir="$with_multisubdir"
72832 with_multisrctop="$with_multisrctop"
72833 with_target_subdir="$with_target_subdir"
72834 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72835 multi_basedir="$multi_basedir"
72836 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72837 CC="$CC"
72838 CXX="$CXX"
72839 GFORTRAN="$GFORTRAN"
72840 GCJ="$GCJ"
72843 # The HP-UX ksh and POSIX shell print the target directory to stdout
72844 # if CDPATH is set.
72845 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72847 sed_quote_subst='$sed_quote_subst'
72848 double_quote_subst='$double_quote_subst'
72849 delay_variable_subst='$delay_variable_subst'
72850 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72851 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72852 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72853 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72854 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72855 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72856 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72857 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72858 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72859 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72860 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72861 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72862 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72863 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72864 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72865 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72866 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72867 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72868 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72869 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72870 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72871 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72872 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72873 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72874 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72875 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72876 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72877 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72878 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72879 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72880 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72881 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72882 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72883 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72884 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72885 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72886 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72887 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72888 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72889 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72890 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72891 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72892 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72893 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72894 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72895 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72896 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72897 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72898 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"`'
72899 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72900 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72901 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72902 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72903 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72904 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72905 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72906 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72907 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72908 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72909 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72910 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72911 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72912 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72913 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72914 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72915 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72916 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72917 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72918 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72919 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72920 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72921 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72922 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
72923 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72924 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
72925 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72926 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
72927 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
72928 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
72929 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
72930 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
72931 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
72932 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
72933 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
72934 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
72935 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
72936 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
72937 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
72938 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
72939 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
72940 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
72941 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
72942 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
72943 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
72944 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
72945 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
72946 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
72947 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
72948 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
72949 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
72950 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
72951 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
72952 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
72953 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
72954 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
72955 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
72956 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
72957 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72958 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72959 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
72960 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
72961 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
72962 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
72963 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
72964 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
72965 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
72966 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
72967 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
72968 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
72969 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
72970 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
72971 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
72972 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
72973 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
72974 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
72975 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
72976 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
72977 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
72978 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72979 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72980 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
72981 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
72982 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
72983 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
72984 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
72985 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
72986 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
72987 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
72988 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
72989 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72990 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72991 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
72992 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72993 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72994 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72995 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72996 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72997 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72998 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
72999 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73000 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73001 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73002 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73003 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73004 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73005 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73006 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73007 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73008 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73009 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73010 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73011 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73012 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73013 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73014 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73015 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73016 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73017 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73018 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73019 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73020 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73021 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73022 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73023 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73024 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73026 LTCC='$LTCC'
73027 LTCFLAGS='$LTCFLAGS'
73028 compiler='$compiler_DEFAULT'
73030 # A function that is used when there is no print builtin or printf.
73031 func_fallback_echo ()
73033 eval 'cat <<_LTECHO_EOF
73035 _LTECHO_EOF'
73038 # Quote evaled strings.
73039 for var in SHELL \
73040 ECHO \
73041 SED \
73042 GREP \
73043 EGREP \
73044 FGREP \
73045 LD \
73046 NM \
73047 LN_S \
73048 lt_SP2NL \
73049 lt_NL2SP \
73050 reload_flag \
73051 OBJDUMP \
73052 deplibs_check_method \
73053 file_magic_cmd \
73054 AR \
73055 AR_FLAGS \
73056 STRIP \
73057 RANLIB \
73058 CC \
73059 CFLAGS \
73060 compiler \
73061 lt_cv_sys_global_symbol_pipe \
73062 lt_cv_sys_global_symbol_to_cdecl \
73063 lt_cv_sys_global_symbol_to_c_name_address \
73064 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73065 lt_prog_compiler_no_builtin_flag \
73066 lt_prog_compiler_wl \
73067 lt_prog_compiler_pic \
73068 lt_prog_compiler_static \
73069 lt_cv_prog_compiler_c_o \
73070 need_locks \
73071 DSYMUTIL \
73072 NMEDIT \
73073 LIPO \
73074 OTOOL \
73075 OTOOL64 \
73076 shrext_cmds \
73077 export_dynamic_flag_spec \
73078 whole_archive_flag_spec \
73079 compiler_needs_object \
73080 with_gnu_ld \
73081 allow_undefined_flag \
73082 no_undefined_flag \
73083 hardcode_libdir_flag_spec \
73084 hardcode_libdir_flag_spec_ld \
73085 hardcode_libdir_separator \
73086 fix_srcfile_path \
73087 exclude_expsyms \
73088 include_expsyms \
73089 file_list_spec \
73090 variables_saved_for_relink \
73091 libname_spec \
73092 library_names_spec \
73093 soname_spec \
73094 install_override_mode \
73095 finish_eval \
73096 old_striplib \
73097 striplib \
73098 compiler_lib_search_dirs \
73099 predep_objects \
73100 postdep_objects \
73101 predeps \
73102 postdeps \
73103 compiler_lib_search_path \
73104 LD_CXX \
73105 reload_flag_CXX \
73106 compiler_CXX \
73107 lt_prog_compiler_no_builtin_flag_CXX \
73108 lt_prog_compiler_wl_CXX \
73109 lt_prog_compiler_pic_CXX \
73110 lt_prog_compiler_static_CXX \
73111 lt_cv_prog_compiler_c_o_CXX \
73112 export_dynamic_flag_spec_CXX \
73113 whole_archive_flag_spec_CXX \
73114 compiler_needs_object_CXX \
73115 with_gnu_ld_CXX \
73116 allow_undefined_flag_CXX \
73117 no_undefined_flag_CXX \
73118 hardcode_libdir_flag_spec_CXX \
73119 hardcode_libdir_flag_spec_ld_CXX \
73120 hardcode_libdir_separator_CXX \
73121 fix_srcfile_path_CXX \
73122 exclude_expsyms_CXX \
73123 include_expsyms_CXX \
73124 file_list_spec_CXX \
73125 compiler_lib_search_dirs_CXX \
73126 predep_objects_CXX \
73127 postdep_objects_CXX \
73128 predeps_CXX \
73129 postdeps_CXX \
73130 compiler_lib_search_path_CXX; do
73131 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73132 *[\\\\\\\`\\"\\\$]*)
73133 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73136 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73138 esac
73139 done
73141 # Double-quote double-evaled strings.
73142 for var in reload_cmds \
73143 old_postinstall_cmds \
73144 old_postuninstall_cmds \
73145 old_archive_cmds \
73146 extract_expsyms_cmds \
73147 old_archive_from_new_cmds \
73148 old_archive_from_expsyms_cmds \
73149 archive_cmds \
73150 archive_expsym_cmds \
73151 module_cmds \
73152 module_expsym_cmds \
73153 export_symbols_cmds \
73154 prelink_cmds \
73155 postinstall_cmds \
73156 postuninstall_cmds \
73157 finish_cmds \
73158 sys_lib_search_path_spec \
73159 sys_lib_dlsearch_path_spec \
73160 reload_cmds_CXX \
73161 old_archive_cmds_CXX \
73162 old_archive_from_new_cmds_CXX \
73163 old_archive_from_expsyms_cmds_CXX \
73164 archive_cmds_CXX \
73165 archive_expsym_cmds_CXX \
73166 module_cmds_CXX \
73167 module_expsym_cmds_CXX \
73168 export_symbols_cmds_CXX \
73169 prelink_cmds_CXX; do
73170 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73171 *[\\\\\\\`\\"\\\$]*)
73172 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73175 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73177 esac
73178 done
73180 ac_aux_dir='$ac_aux_dir'
73181 xsi_shell='$xsi_shell'
73182 lt_shell_append='$lt_shell_append'
73184 # See if we are running on zsh, and set the options which allow our
73185 # commands through without removal of \ escapes INIT.
73186 if test -n "\${ZSH_VERSION+set}" ; then
73187 setopt NO_GLOB_SUBST
73191 PACKAGE='$PACKAGE'
73192 VERSION='$VERSION'
73193 TIMESTAMP='$TIMESTAMP'
73194 RM='$RM'
73195 ofile='$ofile'
73202 GCC="$GCC"
73203 CC="$CC"
73204 acx_cv_header_stdint="$acx_cv_header_stdint"
73205 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73206 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73207 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73208 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73209 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73210 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73211 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73212 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73213 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73214 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73215 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73216 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73217 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73220 _ACEOF
73222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73224 # Handling of arguments.
73225 for ac_config_target in $ac_config_targets
73227 case $ac_config_target in
73228 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73229 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73230 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73231 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73232 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73233 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73234 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73235 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73236 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73237 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73238 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73239 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73240 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73241 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73242 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73243 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73244 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73245 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73247 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73248 esac
73249 done
73252 # If the user did not use the arguments to specify the items to instantiate,
73253 # then the envvar interface is used. Set only those that are not.
73254 # We use the long form for the default assignment because of an extremely
73255 # bizarre bug on SunOS 4.1.3.
73256 if $ac_need_defaults; then
73257 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73258 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73259 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73262 # Have a temporary directory for convenience. Make it in the build tree
73263 # simply because there is no reason against having it here, and in addition,
73264 # creating and moving files from /tmp can sometimes cause problems.
73265 # Hook for its removal unless debugging.
73266 # Note that there is a small window in which the directory will not be cleaned:
73267 # after its creation but before its name has been assigned to `$tmp'.
73268 $debug ||
73270 tmp=
73271 trap 'exit_status=$?
73272 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73274 trap 'as_fn_exit 1' 1 2 13 15
73276 # Create a (secure) tmp directory for tmp files.
73279 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73280 test -n "$tmp" && test -d "$tmp"
73281 } ||
73283 tmp=./conf$$-$RANDOM
73284 (umask 077 && mkdir "$tmp")
73285 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73287 # Set up the scripts for CONFIG_FILES section.
73288 # No need to generate them if there are no CONFIG_FILES.
73289 # This happens for instance with `./config.status config.h'.
73290 if test -n "$CONFIG_FILES"; then
73293 ac_cr=`echo X | tr X '\015'`
73294 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73295 # But we know of no other shell where ac_cr would be empty at this
73296 # point, so we can use a bashism as a fallback.
73297 if test "x$ac_cr" = x; then
73298 eval ac_cr=\$\'\\r\'
73300 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73301 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73302 ac_cs_awk_cr='\r'
73303 else
73304 ac_cs_awk_cr=$ac_cr
73307 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73308 _ACEOF
73312 echo "cat >conf$$subs.awk <<_ACEOF" &&
73313 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73314 echo "_ACEOF"
73315 } >conf$$subs.sh ||
73316 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73317 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73318 ac_delim='%!_!# '
73319 for ac_last_try in false false false false false :; do
73320 . ./conf$$subs.sh ||
73321 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73323 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73324 if test $ac_delim_n = $ac_delim_num; then
73325 break
73326 elif $ac_last_try; then
73327 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73328 else
73329 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73331 done
73332 rm -f conf$$subs.sh
73334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73335 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73336 _ACEOF
73337 sed -n '
73339 s/^/S["/; s/!.*/"]=/
73342 s/^[^!]*!//
73343 :repl
73344 t repl
73345 s/'"$ac_delim"'$//
73346 t delim
73349 s/\(.\{148\}\).*/\1/
73350 t more1
73351 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73354 b repl
73355 :more1
73356 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73359 s/.\{148\}//
73360 t nl
73361 :delim
73363 s/\(.\{148\}\).*/\1/
73364 t more2
73365 s/["\\]/\\&/g; s/^/"/; s/$/"/
73368 :more2
73369 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73372 s/.\{148\}//
73373 t delim
73374 ' <conf$$subs.awk | sed '
73375 /^[^""]/{
73377 s/\n//
73379 ' >>$CONFIG_STATUS || ac_write_fail=1
73380 rm -f conf$$subs.awk
73381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73382 _ACAWK
73383 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73384 for (key in S) S_is_set[key] = 1
73385 FS = "\a"
73389 line = $ 0
73390 nfields = split(line, field, "@")
73391 substed = 0
73392 len = length(field[1])
73393 for (i = 2; i < nfields; i++) {
73394 key = field[i]
73395 keylen = length(key)
73396 if (S_is_set[key]) {
73397 value = S[key]
73398 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73399 len += length(value) + length(field[++i])
73400 substed = 1
73401 } else
73402 len += 1 + keylen
73405 print line
73408 _ACAWK
73409 _ACEOF
73410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73411 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73412 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73413 else
73415 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73416 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73417 _ACEOF
73419 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73420 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73421 # trailing colons and then remove the whole line if VPATH becomes empty
73422 # (actually we leave an empty line to preserve line numbers).
73423 if test "x$srcdir" = x.; then
73424 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73425 s/:*\$(srcdir):*/:/
73426 s/:*\${srcdir}:*/:/
73427 s/:*@srcdir@:*/:/
73428 s/^\([^=]*=[ ]*\):*/\1/
73429 s/:*$//
73430 s/^[^=]*=[ ]*$//
73434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73435 fi # test -n "$CONFIG_FILES"
73437 # Set up the scripts for CONFIG_HEADERS section.
73438 # No need to generate them if there are no CONFIG_HEADERS.
73439 # This happens for instance with `./config.status Makefile'.
73440 if test -n "$CONFIG_HEADERS"; then
73441 cat >"$tmp/defines.awk" <<\_ACAWK ||
73442 BEGIN {
73443 _ACEOF
73445 # Transform confdefs.h into an awk script `defines.awk', embedded as
73446 # here-document in config.status, that substitutes the proper values into
73447 # config.h.in to produce config.h.
73449 # Create a delimiter string that does not exist in confdefs.h, to ease
73450 # handling of long lines.
73451 ac_delim='%!_!# '
73452 for ac_last_try in false false :; do
73453 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73454 if test -z "$ac_t"; then
73455 break
73456 elif $ac_last_try; then
73457 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73458 else
73459 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73461 done
73463 # For the awk script, D is an array of macro values keyed by name,
73464 # likewise P contains macro parameters if any. Preserve backslash
73465 # newline sequences.
73467 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73468 sed -n '
73469 s/.\{148\}/&'"$ac_delim"'/g
73470 t rset
73471 :rset
73472 s/^[ ]*#[ ]*define[ ][ ]*/ /
73473 t def
73475 :def
73476 s/\\$//
73477 t bsnl
73478 s/["\\]/\\&/g
73479 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73480 D["\1"]=" \3"/p
73481 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73483 :bsnl
73484 s/["\\]/\\&/g
73485 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73486 D["\1"]=" \3\\\\\\n"\\/p
73487 t cont
73488 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73489 t cont
73491 :cont
73493 s/.\{148\}/&'"$ac_delim"'/g
73494 t clear
73495 :clear
73496 s/\\$//
73497 t bsnlc
73498 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73500 :bsnlc
73501 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73502 b cont
73503 ' <confdefs.h | sed '
73504 s/'"$ac_delim"'/"\\\
73505 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73508 for (key in D) D_is_set[key] = 1
73509 FS = "\a"
73511 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73512 line = \$ 0
73513 split(line, arg, " ")
73514 if (arg[1] == "#") {
73515 defundef = arg[2]
73516 mac1 = arg[3]
73517 } else {
73518 defundef = substr(arg[1], 2)
73519 mac1 = arg[2]
73521 split(mac1, mac2, "(") #)
73522 macro = mac2[1]
73523 prefix = substr(line, 1, index(line, defundef) - 1)
73524 if (D_is_set[macro]) {
73525 # Preserve the white space surrounding the "#".
73526 print prefix "define", macro P[macro] D[macro]
73527 next
73528 } else {
73529 # Replace #undef with comments. This is necessary, for example,
73530 # in the case of _POSIX_SOURCE, which is predefined and required
73531 # on some systems where configure will not decide to define it.
73532 if (defundef == "undef") {
73533 print "/*", prefix defundef, macro, "*/"
73534 next
73538 { print }
73539 _ACAWK
73540 _ACEOF
73541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73542 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73543 fi # test -n "$CONFIG_HEADERS"
73546 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73547 shift
73548 for ac_tag
73550 case $ac_tag in
73551 :[FHLC]) ac_mode=$ac_tag; continue;;
73552 esac
73553 case $ac_mode$ac_tag in
73554 :[FHL]*:*);;
73555 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73556 :[FH]-) ac_tag=-:-;;
73557 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73558 esac
73559 ac_save_IFS=$IFS
73560 IFS=:
73561 set x $ac_tag
73562 IFS=$ac_save_IFS
73563 shift
73564 ac_file=$1
73565 shift
73567 case $ac_mode in
73568 :L) ac_source=$1;;
73569 :[FH])
73570 ac_file_inputs=
73571 for ac_f
73573 case $ac_f in
73574 -) ac_f="$tmp/stdin";;
73575 *) # Look for the file first in the build tree, then in the source tree
73576 # (if the path is not absolute). The absolute path cannot be DOS-style,
73577 # because $ac_f cannot contain `:'.
73578 test -f "$ac_f" ||
73579 case $ac_f in
73580 [\\/$]*) false;;
73581 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73582 esac ||
73583 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73584 esac
73585 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73586 as_fn_append ac_file_inputs " '$ac_f'"
73587 done
73589 # Let's still pretend it is `configure' which instantiates (i.e., don't
73590 # use $as_me), people would be surprised to read:
73591 # /* config.h. Generated by config.status. */
73592 configure_input='Generated from '`
73593 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73594 `' by configure.'
73595 if test x"$ac_file" != x-; then
73596 configure_input="$ac_file. $configure_input"
73597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73598 $as_echo "$as_me: creating $ac_file" >&6;}
73600 # Neutralize special characters interpreted by sed in replacement strings.
73601 case $configure_input in #(
73602 *\&* | *\|* | *\\* )
73603 ac_sed_conf_input=`$as_echo "$configure_input" |
73604 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73605 *) ac_sed_conf_input=$configure_input;;
73606 esac
73608 case $ac_tag in
73609 *:-:* | *:-) cat >"$tmp/stdin" \
73610 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73611 esac
73613 esac
73615 ac_dir=`$as_dirname -- "$ac_file" ||
73616 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73617 X"$ac_file" : 'X\(//\)[^/]' \| \
73618 X"$ac_file" : 'X\(//\)$' \| \
73619 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73620 $as_echo X"$ac_file" |
73621 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73622 s//\1/
73625 /^X\(\/\/\)[^/].*/{
73626 s//\1/
73629 /^X\(\/\/\)$/{
73630 s//\1/
73633 /^X\(\/\).*/{
73634 s//\1/
73637 s/.*/./; q'`
73638 as_dir="$ac_dir"; as_fn_mkdir_p
73639 ac_builddir=.
73641 case "$ac_dir" in
73642 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73644 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73645 # A ".." for each directory in $ac_dir_suffix.
73646 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73647 case $ac_top_builddir_sub in
73648 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73649 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73650 esac ;;
73651 esac
73652 ac_abs_top_builddir=$ac_pwd
73653 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73654 # for backward compatibility:
73655 ac_top_builddir=$ac_top_build_prefix
73657 case $srcdir in
73658 .) # We are building in place.
73659 ac_srcdir=.
73660 ac_top_srcdir=$ac_top_builddir_sub
73661 ac_abs_top_srcdir=$ac_pwd ;;
73662 [\\/]* | ?:[\\/]* ) # Absolute name.
73663 ac_srcdir=$srcdir$ac_dir_suffix;
73664 ac_top_srcdir=$srcdir
73665 ac_abs_top_srcdir=$srcdir ;;
73666 *) # Relative name.
73667 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73668 ac_top_srcdir=$ac_top_build_prefix$srcdir
73669 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73670 esac
73671 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73674 case $ac_mode in
73677 # CONFIG_FILE
73680 case $INSTALL in
73681 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73682 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73683 esac
73684 ac_MKDIR_P=$MKDIR_P
73685 case $MKDIR_P in
73686 [\\/$]* | ?:[\\/]* ) ;;
73687 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73688 esac
73689 _ACEOF
73691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73692 # If the template does not know about datarootdir, expand it.
73693 # FIXME: This hack should be removed a few years after 2.60.
73694 ac_datarootdir_hack=; ac_datarootdir_seen=
73695 ac_sed_dataroot='
73696 /datarootdir/ {
73700 /@datadir@/p
73701 /@docdir@/p
73702 /@infodir@/p
73703 /@localedir@/p
73704 /@mandir@/p'
73705 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73706 *datarootdir*) ac_datarootdir_seen=yes;;
73707 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73709 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73710 _ACEOF
73711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73712 ac_datarootdir_hack='
73713 s&@datadir@&$datadir&g
73714 s&@docdir@&$docdir&g
73715 s&@infodir@&$infodir&g
73716 s&@localedir@&$localedir&g
73717 s&@mandir@&$mandir&g
73718 s&\\\${datarootdir}&$datarootdir&g' ;;
73719 esac
73720 _ACEOF
73722 # Neutralize VPATH when `$srcdir' = `.'.
73723 # Shell code in configure.ac might set extrasub.
73724 # FIXME: do we really want to maintain this feature?
73725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73726 ac_sed_extra="$ac_vpsub
73727 $extrasub
73728 _ACEOF
73729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73731 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73732 s|@configure_input@|$ac_sed_conf_input|;t t
73733 s&@top_builddir@&$ac_top_builddir_sub&;t t
73734 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73735 s&@srcdir@&$ac_srcdir&;t t
73736 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73737 s&@top_srcdir@&$ac_top_srcdir&;t t
73738 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73739 s&@builddir@&$ac_builddir&;t t
73740 s&@abs_builddir@&$ac_abs_builddir&;t t
73741 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73742 s&@INSTALL@&$ac_INSTALL&;t t
73743 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73744 $ac_datarootdir_hack
73746 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73747 || as_fn_error "could not create $ac_file" "$LINENO" 5
73749 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73750 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73751 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73753 which seems to be undefined. Please make sure it is defined." >&5
73754 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73755 which seems to be undefined. Please make sure it is defined." >&2;}
73757 rm -f "$tmp/stdin"
73758 case $ac_file in
73759 -) cat "$tmp/out" && rm -f "$tmp/out";;
73760 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73761 esac \
73762 || as_fn_error "could not create $ac_file" "$LINENO" 5
73766 # CONFIG_HEADER
73768 if test x"$ac_file" != x-; then
73770 $as_echo "/* $configure_input */" \
73771 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73772 } >"$tmp/config.h" \
73773 || as_fn_error "could not create $ac_file" "$LINENO" 5
73774 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73775 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73776 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73777 else
73778 rm -f "$ac_file"
73779 mv "$tmp/config.h" "$ac_file" \
73780 || as_fn_error "could not create $ac_file" "$LINENO" 5
73782 else
73783 $as_echo "/* $configure_input */" \
73784 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73785 || as_fn_error "could not create -" "$LINENO" 5
73787 # Compute "$ac_file"'s index in $config_headers.
73788 _am_arg="$ac_file"
73789 _am_stamp_count=1
73790 for _am_header in $config_headers :; do
73791 case $_am_header in
73792 $_am_arg | $_am_arg:* )
73793 break ;;
73795 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73796 esac
73797 done
73798 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73799 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73800 X"$_am_arg" : 'X\(//\)[^/]' \| \
73801 X"$_am_arg" : 'X\(//\)$' \| \
73802 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73803 $as_echo X"$_am_arg" |
73804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73805 s//\1/
73808 /^X\(\/\/\)[^/].*/{
73809 s//\1/
73812 /^X\(\/\/\)$/{
73813 s//\1/
73816 /^X\(\/\).*/{
73817 s//\1/
73820 s/.*/./; q'`/stamp-h$_am_stamp_count
73823 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73824 $as_echo "$as_me: executing $ac_file commands" >&6;}
73826 esac
73829 case $ac_file$ac_mode in
73830 "default-1":C)
73831 # Only add multilib support code if we just rebuilt the top-level
73832 # Makefile.
73833 case " $CONFIG_FILES " in
73834 *" Makefile "*)
73835 ac_file=Makefile . ${multi_basedir}/config-ml.in
73837 esac ;;
73838 "libtool":C)
73840 # See if we are running on zsh, and set the options which allow our
73841 # commands through without removal of \ escapes.
73842 if test -n "${ZSH_VERSION+set}" ; then
73843 setopt NO_GLOB_SUBST
73846 cfgfile="${ofile}T"
73847 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73848 $RM "$cfgfile"
73850 cat <<_LT_EOF >> "$cfgfile"
73851 #! $SHELL
73853 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73854 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73855 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73856 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73858 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73859 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73860 # Written by Gordon Matzigkeit, 1996
73862 # This file is part of GNU Libtool.
73864 # GNU Libtool is free software; you can redistribute it and/or
73865 # modify it under the terms of the GNU General Public License as
73866 # published by the Free Software Foundation; either version 2 of
73867 # the License, or (at your option) any later version.
73869 # As a special exception to the GNU General Public License,
73870 # if you distribute this file as part of a program or library that
73871 # is built using GNU Libtool, you may include this file under the
73872 # same distribution terms that you use for the rest of that program.
73874 # GNU Libtool is distributed in the hope that it will be useful,
73875 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73876 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73877 # GNU General Public License for more details.
73879 # You should have received a copy of the GNU General Public License
73880 # along with GNU Libtool; see the file COPYING. If not, a copy
73881 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73882 # obtained by writing to the Free Software Foundation, Inc.,
73883 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73886 # The names of the tagged configurations supported by this script.
73887 available_tags="CXX "
73889 # ### BEGIN LIBTOOL CONFIG
73891 # Which release of libtool.m4 was used?
73892 macro_version=$macro_version
73893 macro_revision=$macro_revision
73895 # Whether or not to build shared libraries.
73896 build_libtool_libs=$enable_shared
73898 # Whether or not to build static libraries.
73899 build_old_libs=$enable_static
73901 # What type of objects to build.
73902 pic_mode=$pic_mode
73904 # Whether or not to optimize for fast installation.
73905 fast_install=$enable_fast_install
73907 # Shell to use when invoking shell scripts.
73908 SHELL=$lt_SHELL
73910 # An echo program that protects backslashes.
73911 ECHO=$lt_ECHO
73913 # The host system.
73914 host_alias=$host_alias
73915 host=$host
73916 host_os=$host_os
73918 # The build system.
73919 build_alias=$build_alias
73920 build=$build
73921 build_os=$build_os
73923 # A sed program that does not truncate output.
73924 SED=$lt_SED
73926 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73927 Xsed="\$SED -e 1s/^X//"
73929 # A grep program that handles long lines.
73930 GREP=$lt_GREP
73932 # An ERE matcher.
73933 EGREP=$lt_EGREP
73935 # A literal string matcher.
73936 FGREP=$lt_FGREP
73938 # A BSD- or MS-compatible name lister.
73939 NM=$lt_NM
73941 # Whether we need soft or hard links.
73942 LN_S=$lt_LN_S
73944 # What is the maximum length of a command?
73945 max_cmd_len=$max_cmd_len
73947 # Object file suffix (normally "o").
73948 objext=$ac_objext
73950 # Executable file suffix (normally "").
73951 exeext=$exeext
73953 # whether the shell understands "unset".
73954 lt_unset=$lt_unset
73956 # turn spaces into newlines.
73957 SP2NL=$lt_lt_SP2NL
73959 # turn newlines into spaces.
73960 NL2SP=$lt_lt_NL2SP
73962 # An object symbol dumper.
73963 OBJDUMP=$lt_OBJDUMP
73965 # Method to check whether dependent libraries are shared objects.
73966 deplibs_check_method=$lt_deplibs_check_method
73968 # Command to use when deplibs_check_method == "file_magic".
73969 file_magic_cmd=$lt_file_magic_cmd
73971 # The archiver.
73972 AR=$lt_AR
73973 AR_FLAGS=$lt_AR_FLAGS
73975 # A symbol stripping program.
73976 STRIP=$lt_STRIP
73978 # Commands used to install an old-style archive.
73979 RANLIB=$lt_RANLIB
73980 old_postinstall_cmds=$lt_old_postinstall_cmds
73981 old_postuninstall_cmds=$lt_old_postuninstall_cmds
73983 # Whether to use a lock for old archive extraction.
73984 lock_old_archive_extraction=$lock_old_archive_extraction
73986 # A C compiler.
73987 LTCC=$lt_CC
73989 # LTCC compiler flags.
73990 LTCFLAGS=$lt_CFLAGS
73992 # Take the output of nm and produce a listing of raw symbols and C names.
73993 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
73995 # Transform the output of nm in a proper C declaration.
73996 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
73998 # Transform the output of nm in a C name address pair.
73999 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74001 # Transform the output of nm in a C name address pair when lib prefix is needed.
74002 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74004 # The name of the directory that contains temporary libtool files.
74005 objdir=$objdir
74007 # Used to examine libraries when file_magic_cmd begins with "file".
74008 MAGIC_CMD=$MAGIC_CMD
74010 # Must we lock files when doing compilation?
74011 need_locks=$lt_need_locks
74013 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74014 DSYMUTIL=$lt_DSYMUTIL
74016 # Tool to change global to local symbols on Mac OS X.
74017 NMEDIT=$lt_NMEDIT
74019 # Tool to manipulate fat objects and archives on Mac OS X.
74020 LIPO=$lt_LIPO
74022 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74023 OTOOL=$lt_OTOOL
74025 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74026 OTOOL64=$lt_OTOOL64
74028 # Old archive suffix (normally "a").
74029 libext=$libext
74031 # Shared library suffix (normally ".so").
74032 shrext_cmds=$lt_shrext_cmds
74034 # The commands to extract the exported symbol list from a shared archive.
74035 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74037 # Variables whose values should be saved in libtool wrapper scripts and
74038 # restored at link time.
74039 variables_saved_for_relink=$lt_variables_saved_for_relink
74041 # Do we need the "lib" prefix for modules?
74042 need_lib_prefix=$need_lib_prefix
74044 # Do we need a version for libraries?
74045 need_version=$need_version
74047 # Library versioning type.
74048 version_type=$version_type
74050 # Shared library runtime path variable.
74051 runpath_var=$runpath_var
74053 # Shared library path variable.
74054 shlibpath_var=$shlibpath_var
74056 # Is shlibpath searched before the hard-coded library search path?
74057 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74059 # Format of library name prefix.
74060 libname_spec=$lt_libname_spec
74062 # List of archive names. First name is the real one, the rest are links.
74063 # The last name is the one that the linker finds with -lNAME
74064 library_names_spec=$lt_library_names_spec
74066 # The coded name of the library, if different from the real name.
74067 soname_spec=$lt_soname_spec
74069 # Permission mode override for installation of shared libraries.
74070 install_override_mode=$lt_install_override_mode
74072 # Command to use after installation of a shared archive.
74073 postinstall_cmds=$lt_postinstall_cmds
74075 # Command to use after uninstallation of a shared archive.
74076 postuninstall_cmds=$lt_postuninstall_cmds
74078 # Commands used to finish a libtool library installation in a directory.
74079 finish_cmds=$lt_finish_cmds
74081 # As "finish_cmds", except a single script fragment to be evaled but
74082 # not shown.
74083 finish_eval=$lt_finish_eval
74085 # Whether we should hardcode library paths into libraries.
74086 hardcode_into_libs=$hardcode_into_libs
74088 # Compile-time system search path for libraries.
74089 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74091 # Run-time system search path for libraries.
74092 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74094 # Whether dlopen is supported.
74095 dlopen_support=$enable_dlopen
74097 # Whether dlopen of programs is supported.
74098 dlopen_self=$enable_dlopen_self
74100 # Whether dlopen of statically linked programs is supported.
74101 dlopen_self_static=$enable_dlopen_self_static
74103 # Commands to strip libraries.
74104 old_striplib=$lt_old_striplib
74105 striplib=$lt_striplib
74108 # The linker used to build libraries.
74109 LD=$lt_LD
74111 # How to create reloadable object files.
74112 reload_flag=$lt_reload_flag
74113 reload_cmds=$lt_reload_cmds
74115 # Commands used to build an old-style archive.
74116 old_archive_cmds=$lt_old_archive_cmds
74118 # A language specific compiler.
74119 CC=$lt_compiler
74121 # Is the compiler the GNU compiler?
74122 with_gcc=$GCC
74124 # Compiler flag to turn off builtin functions.
74125 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74127 # How to pass a linker flag through the compiler.
74128 wl=$lt_lt_prog_compiler_wl
74130 # Additional compiler flags for building library objects.
74131 pic_flag=$lt_lt_prog_compiler_pic
74133 # Compiler flag to prevent dynamic linking.
74134 link_static_flag=$lt_lt_prog_compiler_static
74136 # Does compiler simultaneously support -c and -o options?
74137 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74139 # Whether or not to add -lc for building shared libraries.
74140 build_libtool_need_lc=$archive_cmds_need_lc
74142 # Whether or not to disallow shared libs when runtime libs are static.
74143 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74145 # Compiler flag to allow reflexive dlopens.
74146 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74148 # Compiler flag to generate shared objects directly from archives.
74149 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74151 # Whether the compiler copes with passing no objects directly.
74152 compiler_needs_object=$lt_compiler_needs_object
74154 # Create an old-style archive from a shared archive.
74155 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74157 # Create a temporary old-style archive to link instead of a shared archive.
74158 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74160 # Commands used to build a shared archive.
74161 archive_cmds=$lt_archive_cmds
74162 archive_expsym_cmds=$lt_archive_expsym_cmds
74164 # Commands used to build a loadable module if different from building
74165 # a shared archive.
74166 module_cmds=$lt_module_cmds
74167 module_expsym_cmds=$lt_module_expsym_cmds
74169 # Whether we are building with GNU ld or not.
74170 with_gnu_ld=$lt_with_gnu_ld
74172 # Flag that allows shared libraries with undefined symbols to be built.
74173 allow_undefined_flag=$lt_allow_undefined_flag
74175 # Flag that enforces no undefined symbols.
74176 no_undefined_flag=$lt_no_undefined_flag
74178 # Flag to hardcode \$libdir into a binary during linking.
74179 # This must work even if \$libdir does not exist
74180 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74182 # If ld is used when linking, flag to hardcode \$libdir into a binary
74183 # during linking. This must work even if \$libdir does not exist.
74184 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74186 # Whether we need a single "-rpath" flag with a separated argument.
74187 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74189 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74190 # DIR into the resulting binary.
74191 hardcode_direct=$hardcode_direct
74193 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74194 # DIR into the resulting binary and the resulting library dependency is
74195 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74196 # library is relocated.
74197 hardcode_direct_absolute=$hardcode_direct_absolute
74199 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74200 # into the resulting binary.
74201 hardcode_minus_L=$hardcode_minus_L
74203 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74204 # into the resulting binary.
74205 hardcode_shlibpath_var=$hardcode_shlibpath_var
74207 # Set to "yes" if building a shared library automatically hardcodes DIR
74208 # into the library and all subsequent libraries and executables linked
74209 # against it.
74210 hardcode_automatic=$hardcode_automatic
74212 # Set to yes if linker adds runtime paths of dependent libraries
74213 # to runtime path list.
74214 inherit_rpath=$inherit_rpath
74216 # Whether libtool must link a program against all its dependency libraries.
74217 link_all_deplibs=$link_all_deplibs
74219 # Fix the shell variable \$srcfile for the compiler.
74220 fix_srcfile_path=$lt_fix_srcfile_path
74222 # Set to "yes" if exported symbols are required.
74223 always_export_symbols=$always_export_symbols
74225 # The commands to list exported symbols.
74226 export_symbols_cmds=$lt_export_symbols_cmds
74228 # Symbols that should not be listed in the preloaded symbols.
74229 exclude_expsyms=$lt_exclude_expsyms
74231 # Symbols that must always be exported.
74232 include_expsyms=$lt_include_expsyms
74234 # Commands necessary for linking programs (against libraries) with templates.
74235 prelink_cmds=$lt_prelink_cmds
74237 # Specify filename containing input files.
74238 file_list_spec=$lt_file_list_spec
74240 # How to hardcode a shared library path into an executable.
74241 hardcode_action=$hardcode_action
74243 # The directories searched by this compiler when creating a shared library.
74244 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74246 # Dependencies to place before and after the objects being linked to
74247 # create a shared library.
74248 predep_objects=$lt_predep_objects
74249 postdep_objects=$lt_postdep_objects
74250 predeps=$lt_predeps
74251 postdeps=$lt_postdeps
74253 # The library search path used internally by the compiler when linking
74254 # a shared library.
74255 compiler_lib_search_path=$lt_compiler_lib_search_path
74257 # ### END LIBTOOL CONFIG
74259 _LT_EOF
74261 case $host_os in
74262 aix3*)
74263 cat <<\_LT_EOF >> "$cfgfile"
74264 # AIX sometimes has problems with the GCC collect2 program. For some
74265 # reason, if we set the COLLECT_NAMES environment variable, the problems
74266 # vanish in a puff of smoke.
74267 if test "X${COLLECT_NAMES+set}" != Xset; then
74268 COLLECT_NAMES=
74269 export COLLECT_NAMES
74271 _LT_EOF
74273 esac
74276 ltmain="$ac_aux_dir/ltmain.sh"
74279 # We use sed instead of cat because bash on DJGPP gets confused if
74280 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74281 # text mode, it properly converts lines to CR/LF. This bash problem
74282 # is reportedly fixed, but why not run on old versions too?
74283 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74284 || (rm -f "$cfgfile"; exit 1)
74286 case $xsi_shell in
74287 yes)
74288 cat << \_LT_EOF >> "$cfgfile"
74290 # func_dirname file append nondir_replacement
74291 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74292 # otherwise set result to NONDIR_REPLACEMENT.
74293 func_dirname ()
74295 case ${1} in
74296 */*) func_dirname_result="${1%/*}${2}" ;;
74297 * ) func_dirname_result="${3}" ;;
74298 esac
74301 # func_basename file
74302 func_basename ()
74304 func_basename_result="${1##*/}"
74307 # func_dirname_and_basename file append nondir_replacement
74308 # perform func_basename and func_dirname in a single function
74309 # call:
74310 # dirname: Compute the dirname of FILE. If nonempty,
74311 # add APPEND to the result, otherwise set result
74312 # to NONDIR_REPLACEMENT.
74313 # value returned in "$func_dirname_result"
74314 # basename: Compute filename of FILE.
74315 # value retuned in "$func_basename_result"
74316 # Implementation must be kept synchronized with func_dirname
74317 # and func_basename. For efficiency, we do not delegate to
74318 # those functions but instead duplicate the functionality here.
74319 func_dirname_and_basename ()
74321 case ${1} in
74322 */*) func_dirname_result="${1%/*}${2}" ;;
74323 * ) func_dirname_result="${3}" ;;
74324 esac
74325 func_basename_result="${1##*/}"
74328 # func_stripname prefix suffix name
74329 # strip PREFIX and SUFFIX off of NAME.
74330 # PREFIX and SUFFIX must not contain globbing or regex special
74331 # characters, hashes, percent signs, but SUFFIX may contain a leading
74332 # dot (in which case that matches only a dot).
74333 func_stripname ()
74335 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74336 # positional parameters, so assign one to ordinary parameter first.
74337 func_stripname_result=${3}
74338 func_stripname_result=${func_stripname_result#"${1}"}
74339 func_stripname_result=${func_stripname_result%"${2}"}
74342 # func_opt_split
74343 func_opt_split ()
74345 func_opt_split_opt=${1%%=*}
74346 func_opt_split_arg=${1#*=}
74349 # func_lo2o object
74350 func_lo2o ()
74352 case ${1} in
74353 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74354 *) func_lo2o_result=${1} ;;
74355 esac
74358 # func_xform libobj-or-source
74359 func_xform ()
74361 func_xform_result=${1%.*}.lo
74364 # func_arith arithmetic-term...
74365 func_arith ()
74367 func_arith_result=$(( $* ))
74370 # func_len string
74371 # STRING may not start with a hyphen.
74372 func_len ()
74374 func_len_result=${#1}
74377 _LT_EOF
74379 *) # Bourne compatible functions.
74380 cat << \_LT_EOF >> "$cfgfile"
74382 # func_dirname file append nondir_replacement
74383 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74384 # otherwise set result to NONDIR_REPLACEMENT.
74385 func_dirname ()
74387 # Extract subdirectory from the argument.
74388 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74389 if test "X$func_dirname_result" = "X${1}"; then
74390 func_dirname_result="${3}"
74391 else
74392 func_dirname_result="$func_dirname_result${2}"
74396 # func_basename file
74397 func_basename ()
74399 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74403 # func_stripname prefix suffix name
74404 # strip PREFIX and SUFFIX off of NAME.
74405 # PREFIX and SUFFIX must not contain globbing or regex special
74406 # characters, hashes, percent signs, but SUFFIX may contain a leading
74407 # dot (in which case that matches only a dot).
74408 # func_strip_suffix prefix name
74409 func_stripname ()
74411 case ${2} in
74412 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74413 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74414 esac
74417 # sed scripts:
74418 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74419 my_sed_long_arg='1s/^-[^=]*=//'
74421 # func_opt_split
74422 func_opt_split ()
74424 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74425 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74428 # func_lo2o object
74429 func_lo2o ()
74431 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74434 # func_xform libobj-or-source
74435 func_xform ()
74437 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74440 # func_arith arithmetic-term...
74441 func_arith ()
74443 func_arith_result=`expr "$@"`
74446 # func_len string
74447 # STRING may not start with a hyphen.
74448 func_len ()
74450 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74453 _LT_EOF
74454 esac
74456 case $lt_shell_append in
74457 yes)
74458 cat << \_LT_EOF >> "$cfgfile"
74460 # func_append var value
74461 # Append VALUE to the end of shell variable VAR.
74462 func_append ()
74464 eval "$1+=\$2"
74466 _LT_EOF
74469 cat << \_LT_EOF >> "$cfgfile"
74471 # func_append var value
74472 # Append VALUE to the end of shell variable VAR.
74473 func_append ()
74475 eval "$1=\$$1\$2"
74478 _LT_EOF
74480 esac
74483 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74484 || (rm -f "$cfgfile"; exit 1)
74486 mv -f "$cfgfile" "$ofile" ||
74487 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74488 chmod +x "$ofile"
74491 cat <<_LT_EOF >> "$ofile"
74493 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74495 # The linker used to build libraries.
74496 LD=$lt_LD_CXX
74498 # How to create reloadable object files.
74499 reload_flag=$lt_reload_flag_CXX
74500 reload_cmds=$lt_reload_cmds_CXX
74502 # Commands used to build an old-style archive.
74503 old_archive_cmds=$lt_old_archive_cmds_CXX
74505 # A language specific compiler.
74506 CC=$lt_compiler_CXX
74508 # Is the compiler the GNU compiler?
74509 with_gcc=$GCC_CXX
74511 # Compiler flag to turn off builtin functions.
74512 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74514 # How to pass a linker flag through the compiler.
74515 wl=$lt_lt_prog_compiler_wl_CXX
74517 # Additional compiler flags for building library objects.
74518 pic_flag=$lt_lt_prog_compiler_pic_CXX
74520 # Compiler flag to prevent dynamic linking.
74521 link_static_flag=$lt_lt_prog_compiler_static_CXX
74523 # Does compiler simultaneously support -c and -o options?
74524 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74526 # Whether or not to add -lc for building shared libraries.
74527 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74529 # Whether or not to disallow shared libs when runtime libs are static.
74530 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74532 # Compiler flag to allow reflexive dlopens.
74533 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74535 # Compiler flag to generate shared objects directly from archives.
74536 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74538 # Whether the compiler copes with passing no objects directly.
74539 compiler_needs_object=$lt_compiler_needs_object_CXX
74541 # Create an old-style archive from a shared archive.
74542 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74544 # Create a temporary old-style archive to link instead of a shared archive.
74545 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74547 # Commands used to build a shared archive.
74548 archive_cmds=$lt_archive_cmds_CXX
74549 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74551 # Commands used to build a loadable module if different from building
74552 # a shared archive.
74553 module_cmds=$lt_module_cmds_CXX
74554 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74556 # Whether we are building with GNU ld or not.
74557 with_gnu_ld=$lt_with_gnu_ld_CXX
74559 # Flag that allows shared libraries with undefined symbols to be built.
74560 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74562 # Flag that enforces no undefined symbols.
74563 no_undefined_flag=$lt_no_undefined_flag_CXX
74565 # Flag to hardcode \$libdir into a binary during linking.
74566 # This must work even if \$libdir does not exist
74567 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74569 # If ld is used when linking, flag to hardcode \$libdir into a binary
74570 # during linking. This must work even if \$libdir does not exist.
74571 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74573 # Whether we need a single "-rpath" flag with a separated argument.
74574 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74576 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74577 # DIR into the resulting binary.
74578 hardcode_direct=$hardcode_direct_CXX
74580 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74581 # DIR into the resulting binary and the resulting library dependency is
74582 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74583 # library is relocated.
74584 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74586 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74587 # into the resulting binary.
74588 hardcode_minus_L=$hardcode_minus_L_CXX
74590 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74591 # into the resulting binary.
74592 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74594 # Set to "yes" if building a shared library automatically hardcodes DIR
74595 # into the library and all subsequent libraries and executables linked
74596 # against it.
74597 hardcode_automatic=$hardcode_automatic_CXX
74599 # Set to yes if linker adds runtime paths of dependent libraries
74600 # to runtime path list.
74601 inherit_rpath=$inherit_rpath_CXX
74603 # Whether libtool must link a program against all its dependency libraries.
74604 link_all_deplibs=$link_all_deplibs_CXX
74606 # Fix the shell variable \$srcfile for the compiler.
74607 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74609 # Set to "yes" if exported symbols are required.
74610 always_export_symbols=$always_export_symbols_CXX
74612 # The commands to list exported symbols.
74613 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74615 # Symbols that should not be listed in the preloaded symbols.
74616 exclude_expsyms=$lt_exclude_expsyms_CXX
74618 # Symbols that must always be exported.
74619 include_expsyms=$lt_include_expsyms_CXX
74621 # Commands necessary for linking programs (against libraries) with templates.
74622 prelink_cmds=$lt_prelink_cmds_CXX
74624 # Specify filename containing input files.
74625 file_list_spec=$lt_file_list_spec_CXX
74627 # How to hardcode a shared library path into an executable.
74628 hardcode_action=$hardcode_action_CXX
74630 # The directories searched by this compiler when creating a shared library.
74631 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74633 # Dependencies to place before and after the objects being linked to
74634 # create a shared library.
74635 predep_objects=$lt_predep_objects_CXX
74636 postdep_objects=$lt_postdep_objects_CXX
74637 predeps=$lt_predeps_CXX
74638 postdeps=$lt_postdeps_CXX
74640 # The library search path used internally by the compiler when linking
74641 # a shared library.
74642 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74644 # ### END LIBTOOL TAG CONFIG: CXX
74645 _LT_EOF
74648 "include/gstdint.h":C)
74649 if test "$GCC" = yes; then
74650 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74651 else
74652 echo "/* generated for $CC */" > tmp-stdint.h
74655 sed 's/^ *//' >> tmp-stdint.h <<EOF
74657 #ifndef GCC_GENERATED_STDINT_H
74658 #define GCC_GENERATED_STDINT_H 1
74660 #include <sys/types.h>
74663 if test "$acx_cv_header_stdint" != stdint.h; then
74664 echo "#include <stddef.h>" >> tmp-stdint.h
74666 if test "$acx_cv_header_stdint" != stddef.h; then
74667 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74670 sed 's/^ *//' >> tmp-stdint.h <<EOF
74671 /* glibc uses these symbols as guards to prevent redefinitions. */
74672 #ifdef __int8_t_defined
74673 #define _INT8_T
74674 #define _INT16_T
74675 #define _INT32_T
74676 #endif
74677 #ifdef __uint32_t_defined
74678 #define _UINT32_T
74679 #endif
74683 # ----------------- done header, emit basic int types -------------
74684 if test "$acx_cv_header_stdint" = stddef.h; then
74685 sed 's/^ *//' >> tmp-stdint.h <<EOF
74687 #ifndef _UINT8_T
74688 #define _UINT8_T
74689 #ifndef __uint8_t_defined
74690 #define __uint8_t_defined
74691 #ifndef uint8_t
74692 typedef unsigned $acx_cv_type_int8_t uint8_t;
74693 #endif
74694 #endif
74695 #endif
74697 #ifndef _UINT16_T
74698 #define _UINT16_T
74699 #ifndef __uint16_t_defined
74700 #define __uint16_t_defined
74701 #ifndef uint16_t
74702 typedef unsigned $acx_cv_type_int16_t uint16_t;
74703 #endif
74704 #endif
74705 #endif
74707 #ifndef _UINT32_T
74708 #define _UINT32_T
74709 #ifndef __uint32_t_defined
74710 #define __uint32_t_defined
74711 #ifndef uint32_t
74712 typedef unsigned $acx_cv_type_int32_t uint32_t;
74713 #endif
74714 #endif
74715 #endif
74717 #ifndef _INT8_T
74718 #define _INT8_T
74719 #ifndef __int8_t_defined
74720 #define __int8_t_defined
74721 #ifndef int8_t
74722 typedef $acx_cv_type_int8_t int8_t;
74723 #endif
74724 #endif
74725 #endif
74727 #ifndef _INT16_T
74728 #define _INT16_T
74729 #ifndef __int16_t_defined
74730 #define __int16_t_defined
74731 #ifndef int16_t
74732 typedef $acx_cv_type_int16_t int16_t;
74733 #endif
74734 #endif
74735 #endif
74737 #ifndef _INT32_T
74738 #define _INT32_T
74739 #ifndef __int32_t_defined
74740 #define __int32_t_defined
74741 #ifndef int32_t
74742 typedef $acx_cv_type_int32_t int32_t;
74743 #endif
74744 #endif
74745 #endif
74747 elif test "$ac_cv_type_u_int32_t" = yes; then
74748 sed 's/^ *//' >> tmp-stdint.h <<EOF
74750 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74751 #ifndef _INT8_T
74752 #define _INT8_T
74753 #endif
74754 #ifndef _INT16_T
74755 #define _INT16_T
74756 #endif
74757 #ifndef _INT32_T
74758 #define _INT32_T
74759 #endif
74761 #ifndef _UINT8_T
74762 #define _UINT8_T
74763 #ifndef __uint8_t_defined
74764 #define __uint8_t_defined
74765 #ifndef uint8_t
74766 typedef u_int8_t uint8_t;
74767 #endif
74768 #endif
74769 #endif
74771 #ifndef _UINT16_T
74772 #define _UINT16_T
74773 #ifndef __uint16_t_defined
74774 #define __uint16_t_defined
74775 #ifndef uint16_t
74776 typedef u_int16_t uint16_t;
74777 #endif
74778 #endif
74779 #endif
74781 #ifndef _UINT32_T
74782 #define _UINT32_T
74783 #ifndef __uint32_t_defined
74784 #define __uint32_t_defined
74785 #ifndef uint32_t
74786 typedef u_int32_t uint32_t;
74787 #endif
74788 #endif
74789 #endif
74791 else
74792 sed 's/^ *//' >> tmp-stdint.h <<EOF
74794 /* Some systems have guard macros to prevent redefinitions, define them. */
74795 #ifndef _INT8_T
74796 #define _INT8_T
74797 #endif
74798 #ifndef _INT16_T
74799 #define _INT16_T
74800 #endif
74801 #ifndef _INT32_T
74802 #define _INT32_T
74803 #endif
74804 #ifndef _UINT8_T
74805 #define _UINT8_T
74806 #endif
74807 #ifndef _UINT16_T
74808 #define _UINT16_T
74809 #endif
74810 #ifndef _UINT32_T
74811 #define _UINT32_T
74812 #endif
74816 # ------------- done basic int types, emit int64_t types ------------
74817 if test "$ac_cv_type_uint64_t" = yes; then
74818 sed 's/^ *//' >> tmp-stdint.h <<EOF
74820 /* system headers have good uint64_t and int64_t */
74821 #ifndef _INT64_T
74822 #define _INT64_T
74823 #endif
74824 #ifndef _UINT64_T
74825 #define _UINT64_T
74826 #endif
74828 elif test "$ac_cv_type_u_int64_t" = yes; then
74829 sed 's/^ *//' >> tmp-stdint.h <<EOF
74831 /* system headers have an u_int64_t (and int64_t) */
74832 #ifndef _INT64_T
74833 #define _INT64_T
74834 #endif
74835 #ifndef _UINT64_T
74836 #define _UINT64_T
74837 #ifndef __uint64_t_defined
74838 #define __uint64_t_defined
74839 #ifndef uint64_t
74840 typedef u_int64_t uint64_t;
74841 #endif
74842 #endif
74843 #endif
74845 elif test -n "$acx_cv_type_int64_t"; then
74846 sed 's/^ *//' >> tmp-stdint.h <<EOF
74848 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74849 #ifndef _INT64_T
74850 #define _INT64_T
74851 #ifndef int64_t
74852 typedef $acx_cv_type_int64_t int64_t;
74853 #endif
74854 #endif
74855 #ifndef _UINT64_T
74856 #define _UINT64_T
74857 #ifndef __uint64_t_defined
74858 #define __uint64_t_defined
74859 #ifndef uint64_t
74860 typedef unsigned $acx_cv_type_int64_t uint64_t;
74861 #endif
74862 #endif
74863 #endif
74865 else
74866 sed 's/^ *//' >> tmp-stdint.h <<EOF
74868 /* some common heuristics for int64_t, using compiler-specific tests */
74869 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74870 #ifndef _INT64_T
74871 #define _INT64_T
74872 #ifndef __int64_t_defined
74873 #ifndef int64_t
74874 typedef long long int64_t;
74875 #endif
74876 #endif
74877 #endif
74878 #ifndef _UINT64_T
74879 #define _UINT64_T
74880 #ifndef uint64_t
74881 typedef unsigned long long uint64_t;
74882 #endif
74883 #endif
74885 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74886 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74887 does not implement __extension__. But that compiler doesn't define
74888 __GNUC_MINOR__. */
74889 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74890 # define __extension__
74891 # endif
74893 # ifndef _INT64_T
74894 # define _INT64_T
74895 # ifndef int64_t
74896 __extension__ typedef long long int64_t;
74897 # endif
74898 # endif
74899 # ifndef _UINT64_T
74900 # define _UINT64_T
74901 # ifndef uint64_t
74902 __extension__ typedef unsigned long long uint64_t;
74903 # endif
74904 # endif
74906 #elif !defined __STRICT_ANSI__
74907 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74909 # ifndef _INT64_T
74910 # define _INT64_T
74911 # ifndef int64_t
74912 typedef __int64 int64_t;
74913 # endif
74914 # endif
74915 # ifndef _UINT64_T
74916 # define _UINT64_T
74917 # ifndef uint64_t
74918 typedef unsigned __int64 uint64_t;
74919 # endif
74920 # endif
74921 # endif /* compiler */
74923 #endif /* ANSI version */
74927 # ------------- done int64_t types, emit intptr types ------------
74928 if test "$ac_cv_type_uintptr_t" != yes; then
74929 sed 's/^ *//' >> tmp-stdint.h <<EOF
74931 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74932 #ifndef __uintptr_t_defined
74933 #ifndef uintptr_t
74934 typedef u$acx_cv_type_intptr_t uintptr_t;
74935 #endif
74936 #endif
74937 #ifndef __intptr_t_defined
74938 #ifndef intptr_t
74939 typedef $acx_cv_type_intptr_t intptr_t;
74940 #endif
74941 #endif
74945 # ------------- done intptr types, emit int_least types ------------
74946 if test "$ac_cv_type_int_least32_t" != yes; then
74947 sed 's/^ *//' >> tmp-stdint.h <<EOF
74949 /* Define int_least types */
74950 typedef int8_t int_least8_t;
74951 typedef int16_t int_least16_t;
74952 typedef int32_t int_least32_t;
74953 #ifdef _INT64_T
74954 typedef int64_t int_least64_t;
74955 #endif
74957 typedef uint8_t uint_least8_t;
74958 typedef uint16_t uint_least16_t;
74959 typedef uint32_t uint_least32_t;
74960 #ifdef _UINT64_T
74961 typedef uint64_t uint_least64_t;
74962 #endif
74966 # ------------- done intptr types, emit int_fast types ------------
74967 if test "$ac_cv_type_int_fast32_t" != yes; then
74968 sed 's/^ *//' >> tmp-stdint.h <<EOF
74970 /* Define int_fast types. short is often slow */
74971 typedef int8_t int_fast8_t;
74972 typedef int int_fast16_t;
74973 typedef int32_t int_fast32_t;
74974 #ifdef _INT64_T
74975 typedef int64_t int_fast64_t;
74976 #endif
74978 typedef uint8_t uint_fast8_t;
74979 typedef unsigned int uint_fast16_t;
74980 typedef uint32_t uint_fast32_t;
74981 #ifdef _UINT64_T
74982 typedef uint64_t uint_fast64_t;
74983 #endif
74987 if test "$ac_cv_type_uintmax_t" != yes; then
74988 sed 's/^ *//' >> tmp-stdint.h <<EOF
74990 /* Define intmax based on what we found */
74991 #ifndef intmax_t
74992 #ifdef _INT64_T
74993 typedef int64_t intmax_t;
74994 #else
74995 typedef long intmax_t;
74996 #endif
74997 #endif
74998 #ifndef uintmax_t
74999 #ifdef _UINT64_T
75000 typedef uint64_t uintmax_t;
75001 #else
75002 typedef unsigned long uintmax_t;
75003 #endif
75004 #endif
75008 sed 's/^ *//' >> tmp-stdint.h <<EOF
75010 #endif /* GCC_GENERATED_STDINT_H */
75013 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75014 rm -f tmp-stdint.h
75015 else
75016 mv -f tmp-stdint.h include/gstdint.h
75020 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75021 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75022 "include/Makefile":F) cat > vpsed$$ << \_EOF
75023 s!`test -f '$<' || echo '$(srcdir)/'`!!
75024 _EOF
75025 sed -f vpsed$$ $ac_file > tmp$$
75026 mv tmp$$ $ac_file
75027 rm vpsed$$
75028 echo 'MULTISUBDIR =' >> $ac_file
75029 ml_norecursion=yes
75030 . ${multi_basedir}/config-ml.in
75031 { ml_norecursion=; unset ml_norecursion;}
75033 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75034 s!`test -f '$<' || echo '$(srcdir)/'`!!
75035 _EOF
75036 sed -f vpsed$$ $ac_file > tmp$$
75037 mv tmp$$ $ac_file
75038 rm vpsed$$
75039 echo 'MULTISUBDIR =' >> $ac_file
75040 ml_norecursion=yes
75041 . ${multi_basedir}/config-ml.in
75042 { ml_norecursion=; unset ml_norecursion;}
75044 "python/Makefile":F) cat > vpsed$$ << \_EOF
75045 s!`test -f '$<' || echo '$(srcdir)/'`!!
75046 _EOF
75047 sed -f vpsed$$ $ac_file > tmp$$
75048 mv tmp$$ $ac_file
75049 rm vpsed$$
75050 echo 'MULTISUBDIR =' >> $ac_file
75051 ml_norecursion=yes
75052 . ${multi_basedir}/config-ml.in
75053 { ml_norecursion=; unset ml_norecursion;}
75055 "src/Makefile":F) cat > vpsed$$ << \_EOF
75056 s!`test -f '$<' || echo '$(srcdir)/'`!!
75057 _EOF
75058 sed -f vpsed$$ $ac_file > tmp$$
75059 mv tmp$$ $ac_file
75060 rm vpsed$$
75061 echo 'MULTISUBDIR =' >> $ac_file
75062 ml_norecursion=yes
75063 . ${multi_basedir}/config-ml.in
75064 { ml_norecursion=; unset ml_norecursion;}
75066 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75067 s!`test -f '$<' || echo '$(srcdir)/'`!!
75068 _EOF
75069 sed -f vpsed$$ $ac_file > tmp$$
75070 mv tmp$$ $ac_file
75071 rm vpsed$$
75072 echo 'MULTISUBDIR =' >> $ac_file
75073 ml_norecursion=yes
75074 . ${multi_basedir}/config-ml.in
75075 { ml_norecursion=; unset ml_norecursion;}
75077 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75078 s!`test -f '$<' || echo '$(srcdir)/'`!!
75079 _EOF
75080 sed -f vpsed$$ $ac_file > tmp$$
75081 mv tmp$$ $ac_file
75082 rm vpsed$$
75083 echo 'MULTISUBDIR =' >> $ac_file
75084 ml_norecursion=yes
75085 . ${multi_basedir}/config-ml.in
75086 { ml_norecursion=; unset ml_norecursion;}
75088 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75089 s!`test -f '$<' || echo '$(srcdir)/'`!!
75090 _EOF
75091 sed -f vpsed$$ $ac_file > tmp$$
75092 mv tmp$$ $ac_file
75093 rm vpsed$$
75094 echo 'MULTISUBDIR =' >> $ac_file
75095 ml_norecursion=yes
75096 . ${multi_basedir}/config-ml.in
75097 { ml_norecursion=; unset ml_norecursion;}
75099 "po/Makefile":F) cat > vpsed$$ << \_EOF
75100 s!`test -f '$<' || echo '$(srcdir)/'`!!
75101 _EOF
75102 sed -f vpsed$$ $ac_file > tmp$$
75103 mv tmp$$ $ac_file
75104 rm vpsed$$
75105 echo 'MULTISUBDIR =' >> $ac_file
75106 ml_norecursion=yes
75107 . ${multi_basedir}/config-ml.in
75108 { ml_norecursion=; unset ml_norecursion;}
75110 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75111 s!`test -f '$<' || echo '$(srcdir)/'`!!
75112 _EOF
75113 sed -f vpsed$$ $ac_file > tmp$$
75114 mv tmp$$ $ac_file
75115 rm vpsed$$
75116 echo 'MULTISUBDIR =' >> $ac_file
75117 ml_norecursion=yes
75118 . ${multi_basedir}/config-ml.in
75119 { ml_norecursion=; unset ml_norecursion;}
75121 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75123 esac
75124 done # for ac_tag
75127 as_fn_exit 0
75128 _ACEOF
75129 ac_clean_files=$ac_clean_files_save
75131 test $ac_write_fail = 0 ||
75132 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75135 # configure is writing to config.log, and then calls config.status.
75136 # config.status does its own redirection, appending to config.log.
75137 # Unfortunately, on DOS this fails, as config.log is still kept open
75138 # by configure, so config.status won't be able to write to it; its
75139 # output is simply discarded. So we exec the FD to /dev/null,
75140 # effectively closing config.log, so it can be properly (re)opened and
75141 # appended to by config.status. When coming back to configure, we
75142 # need to make the FD available again.
75143 if test "$no_create" != yes; then
75144 ac_cs_success=:
75145 ac_config_status_args=
75146 test "$silent" = yes &&
75147 ac_config_status_args="$ac_config_status_args --quiet"
75148 exec 5>/dev/null
75149 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75150 exec 5>>config.log
75151 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75152 # would make configure fail if this is the last instruction.
75153 $ac_cs_success || as_fn_exit $?
75155 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75157 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}