2013-09-26 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libstdc++-v3 / configure
blobe1672e068fdc17cfe7ba7992be07aaa03e31961d
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_VTABLE_VERIFY_FALSE
668 ENABLE_VTABLE_VERIFY_TRUE
669 VTV_CXXLINKFLAGS
670 VTV_PCH_CXXFLAGS
671 VTV_CXXFLAGS
672 ENABLE_WERROR_FALSE
673 ENABLE_WERROR_TRUE
674 ENABLE_PYTHONDIR_FALSE
675 ENABLE_PYTHONDIR_TRUE
676 python_mod_dir
677 ENABLE_EXTERN_TEMPLATE_FALSE
678 ENABLE_EXTERN_TEMPLATE_TRUE
679 EXTRA_CXX_FLAGS
680 GLIBCXX_BUILD_DEBUG_FALSE
681 GLIBCXX_BUILD_DEBUG_TRUE
682 DEBUG_FLAGS
683 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
684 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
685 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
686 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
687 GLIBCXX_C_HEADERS_C_STD_FALSE
688 GLIBCXX_C_HEADERS_C_STD_TRUE
689 GLIBCXX_C_HEADERS_C_FALSE
690 GLIBCXX_C_HEADERS_C_TRUE
691 C_INCLUDE_DIR
692 ALLOCATOR_NAME
693 ALLOCATOR_H
694 CLOCALE_INTERNAL_H
695 CLOCALE_CC
696 CTIME_CC
697 CTIME_H
698 CNUMERIC_CC
699 CMONEY_CC
700 CMESSAGES_CC
701 CCTYPE_CC
702 CCOLLATE_CC
703 CCODECVT_CC
704 CMESSAGES_H
705 CLOCALE_H
706 USE_NLS
707 glibcxx_localedir
708 glibcxx_POFILES
709 glibcxx_MOFILES
710 check_msgfmt
711 BASIC_FILE_CC
712 BASIC_FILE_H
713 CSTDIO_H
714 SECTION_FLAGS
715 WERROR
716 thread_header
717 glibcxx_PCHFLAGS
718 GLIBCXX_BUILD_PCH_FALSE
719 GLIBCXX_BUILD_PCH_TRUE
720 GLIBCXX_HOSTED_FALSE
721 GLIBCXX_HOSTED_TRUE
722 glibcxx_compiler_shared_flag
723 glibcxx_compiler_pic_flag
724 glibcxx_lt_pic_flag
725 enable_static
726 enable_shared
727 lt_host_flags
728 CXXCPP
729 OTOOL64
730 OTOOL
731 LIPO
732 NMEDIT
733 DSYMUTIL
734 OBJDUMP
736 ac_ct_DUMPBIN
737 DUMPBIN
739 FGREP
741 LIBTOOL
742 EGREP
743 GREP
745 MAINT
746 MAINTAINER_MODE_FALSE
747 MAINTAINER_MODE_TRUE
748 RANLIB
751 LN_S
752 toplevel_srcdir
753 toplevel_builddir
754 glibcxx_srcdir
755 glibcxx_builddir
756 ac_ct_CXX
757 CXXFLAGS
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
766 am__untar
767 am__tar
768 AMTAR
769 am__leading_dot
770 SET_MAKE
772 mkdir_p
773 MKDIR_P
774 INSTALL_STRIP_PROGRAM
775 STRIP
776 install_sh
777 MAKEINFO
778 AUTOHEADER
779 AUTOMAKE
780 AUTOCONF
781 ACLOCAL
782 VERSION
783 PACKAGE
784 CYGPATH_W
785 am__isrc
786 INSTALL_DATA
787 INSTALL_SCRIPT
788 INSTALL_PROGRAM
789 target_os
790 target_vendor
791 target_cpu
792 target
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 multi_basedir
802 target_alias
803 host_alias
804 build_alias
805 LIBS
806 ECHO_T
807 ECHO_N
808 ECHO_C
809 DEFS
810 mandir
811 localedir
812 libdir
813 psdir
814 pdfdir
815 dvidir
816 htmldir
817 infodir
818 docdir
819 oldincludedir
820 includedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_multilib
844 with_target_subdir
845 with_cross_host
846 with_newlib
847 enable_maintainer_mode
848 enable_shared
849 enable_static
850 with_pic
851 enable_fast_install
852 with_gnu_ld
853 enable_libtool_lock
854 enable_hosted_libstdcxx
855 enable_libstdcxx_verbose
856 enable_sjlj_exceptions
857 enable_libstdcxx_pch
858 enable_cstdio
859 enable_clocale
860 enable_nls
861 enable_libstdcxx_allocator
862 enable_cheaders
863 enable_long_long
864 enable_wchar_t
865 enable_c99
866 enable_concept_checks
867 enable_libstdcxx_debug_flags
868 enable_libstdcxx_debug
869 enable_cxx_flags
870 enable_fully_dynamic_string
871 enable_extern_template
872 with_python_dir
873 enable_werror
874 enable_vtable_verify
875 enable_libstdcxx_time
876 enable_tls
877 enable_rpath
878 with_libiconv_prefix
879 with_system_libunwind
880 enable_linux_futex
881 enable_symvers
882 enable_libstdcxx_visibility
883 enable_libstdcxx_threads
884 with_gxx_include_dir
885 enable_version_specific_runtime_libs
887 ac_precious_vars='build_alias
888 host_alias
889 target_alias
891 CFLAGS
892 LDFLAGS
893 LIBS
894 CPPFLAGS
896 CXXFLAGS
899 CXXCPP
900 CXXFILT'
903 # Initialize some variables set by options.
904 ac_init_help=
905 ac_init_version=false
906 ac_unrecognized_opts=
907 ac_unrecognized_sep=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
910 cache_file=/dev/null
911 exec_prefix=NONE
912 no_create=
913 no_recursion=
914 prefix=NONE
915 program_prefix=NONE
916 program_suffix=NONE
917 program_transform_name=s,x,x,
918 silent=
919 site=
920 srcdir=
921 verbose=
922 x_includes=NONE
923 x_libraries=NONE
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir='${exec_prefix}/bin'
932 sbindir='${exec_prefix}/sbin'
933 libexecdir='${exec_prefix}/libexec'
934 datarootdir='${prefix}/share'
935 datadir='${datarootdir}'
936 sysconfdir='${prefix}/etc'
937 sharedstatedir='${prefix}/com'
938 localstatedir='${prefix}/var'
939 includedir='${prefix}/include'
940 oldincludedir='/usr/include'
941 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir='${datarootdir}/info'
943 htmldir='${docdir}'
944 dvidir='${docdir}'
945 pdfdir='${docdir}'
946 psdir='${docdir}'
947 libdir='${exec_prefix}/lib'
948 localedir='${datarootdir}/locale'
949 mandir='${datarootdir}/man'
951 ac_prev=
952 ac_dashdash=
953 for ac_option
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\$ac_option
958 ac_prev=
959 continue
962 case $ac_option in
963 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 *) ac_optarg=yes ;;
965 esac
967 # Accept the important Cygnus configure options, so we can diagnose typos.
969 case $ac_dashdash$ac_option in
971 ac_dashdash=yes ;;
973 -bindir | --bindir | --bindi | --bind | --bin | --bi)
974 ac_prev=bindir ;;
975 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
976 bindir=$ac_optarg ;;
978 -build | --build | --buil | --bui | --bu)
979 ac_prev=build_alias ;;
980 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
981 build_alias=$ac_optarg ;;
983 -cache-file | --cache-file | --cache-fil | --cache-fi \
984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
985 ac_prev=cache_file ;;
986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
988 cache_file=$ac_optarg ;;
990 --config-cache | -C)
991 cache_file=config.cache ;;
993 -datadir | --datadir | --datadi | --datad)
994 ac_prev=datadir ;;
995 -datadir=* | --datadir=* | --datadi=* | --datad=*)
996 datadir=$ac_optarg ;;
998 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
999 | --dataroo | --dataro | --datar)
1000 ac_prev=datarootdir ;;
1001 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1002 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1003 datarootdir=$ac_optarg ;;
1005 -disable-* | --disable-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid feature name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1014 "enable_$ac_useropt"
1015 "*) ;;
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1018 esac
1019 eval enable_$ac_useropt=no ;;
1021 -docdir | --docdir | --docdi | --doc | --do)
1022 ac_prev=docdir ;;
1023 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1024 docdir=$ac_optarg ;;
1026 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1027 ac_prev=dvidir ;;
1028 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1029 dvidir=$ac_optarg ;;
1031 -enable-* | --enable-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error "invalid feature name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_$ac_useropt"
1041 "*) ;;
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1044 esac
1045 eval enable_$ac_useropt=\$ac_optarg ;;
1047 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049 | --exec | --exe | --ex)
1050 ac_prev=exec_prefix ;;
1051 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053 | --exec=* | --exe=* | --ex=*)
1054 exec_prefix=$ac_optarg ;;
1056 -gas | --gas | --ga | --g)
1057 # Obsolete; use --with-gas.
1058 with_gas=yes ;;
1060 -help | --help | --hel | --he | -h)
1061 ac_init_help=long ;;
1062 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063 ac_init_help=recursive ;;
1064 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065 ac_init_help=short ;;
1067 -host | --host | --hos | --ho)
1068 ac_prev=host_alias ;;
1069 -host=* | --host=* | --hos=* | --ho=*)
1070 host_alias=$ac_optarg ;;
1072 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073 ac_prev=htmldir ;;
1074 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075 | --ht=*)
1076 htmldir=$ac_optarg ;;
1078 -includedir | --includedir | --includedi | --included | --include \
1079 | --includ | --inclu | --incl | --inc)
1080 ac_prev=includedir ;;
1081 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082 | --includ=* | --inclu=* | --incl=* | --inc=*)
1083 includedir=$ac_optarg ;;
1085 -infodir | --infodir | --infodi | --infod | --info | --inf)
1086 ac_prev=infodir ;;
1087 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088 infodir=$ac_optarg ;;
1090 -libdir | --libdir | --libdi | --libd)
1091 ac_prev=libdir ;;
1092 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1093 libdir=$ac_optarg ;;
1095 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096 | --libexe | --libex | --libe)
1097 ac_prev=libexecdir ;;
1098 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099 | --libexe=* | --libex=* | --libe=*)
1100 libexecdir=$ac_optarg ;;
1102 -localedir | --localedir | --localedi | --localed | --locale)
1103 ac_prev=localedir ;;
1104 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105 localedir=$ac_optarg ;;
1107 -localstatedir | --localstatedir | --localstatedi | --localstated \
1108 | --localstate | --localstat | --localsta | --localst | --locals)
1109 ac_prev=localstatedir ;;
1110 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112 localstatedir=$ac_optarg ;;
1114 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115 ac_prev=mandir ;;
1116 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117 mandir=$ac_optarg ;;
1119 -nfp | --nfp | --nf)
1120 # Obsolete; use --without-fp.
1121 with_fp=no ;;
1123 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124 | --no-cr | --no-c | -n)
1125 no_create=yes ;;
1127 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1129 no_recursion=yes ;;
1131 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133 | --oldin | --oldi | --old | --ol | --o)
1134 ac_prev=oldincludedir ;;
1135 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138 oldincludedir=$ac_optarg ;;
1140 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141 ac_prev=prefix ;;
1142 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143 prefix=$ac_optarg ;;
1145 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1146 | --program-pre | --program-pr | --program-p)
1147 ac_prev=program_prefix ;;
1148 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1149 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150 program_prefix=$ac_optarg ;;
1152 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1153 | --program-suf | --program-su | --program-s)
1154 ac_prev=program_suffix ;;
1155 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1156 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157 program_suffix=$ac_optarg ;;
1159 -program-transform-name | --program-transform-name \
1160 | --program-transform-nam | --program-transform-na \
1161 | --program-transform-n | --program-transform- \
1162 | --program-transform | --program-transfor \
1163 | --program-transfo | --program-transf \
1164 | --program-trans | --program-tran \
1165 | --progr-tra | --program-tr | --program-t)
1166 ac_prev=program_transform_name ;;
1167 -program-transform-name=* | --program-transform-name=* \
1168 | --program-transform-nam=* | --program-transform-na=* \
1169 | --program-transform-n=* | --program-transform-=* \
1170 | --program-transform=* | --program-transfor=* \
1171 | --program-transfo=* | --program-transf=* \
1172 | --program-trans=* | --program-tran=* \
1173 | --progr-tra=* | --program-tr=* | --program-t=*)
1174 program_transform_name=$ac_optarg ;;
1176 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177 ac_prev=pdfdir ;;
1178 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179 pdfdir=$ac_optarg ;;
1181 -psdir | --psdir | --psdi | --psd | --ps)
1182 ac_prev=psdir ;;
1183 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1184 psdir=$ac_optarg ;;
1186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187 | -silent | --silent | --silen | --sile | --sil)
1188 silent=yes ;;
1190 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191 ac_prev=sbindir ;;
1192 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193 | --sbi=* | --sb=*)
1194 sbindir=$ac_optarg ;;
1196 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1197 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198 | --sharedst | --shareds | --shared | --share | --shar \
1199 | --sha | --sh)
1200 ac_prev=sharedstatedir ;;
1201 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204 | --sha=* | --sh=*)
1205 sharedstatedir=$ac_optarg ;;
1207 -site | --site | --sit)
1208 ac_prev=site ;;
1209 -site=* | --site=* | --sit=*)
1210 site=$ac_optarg ;;
1212 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213 ac_prev=srcdir ;;
1214 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215 srcdir=$ac_optarg ;;
1217 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218 | --syscon | --sysco | --sysc | --sys | --sy)
1219 ac_prev=sysconfdir ;;
1220 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222 sysconfdir=$ac_optarg ;;
1224 -target | --target | --targe | --targ | --tar | --ta | --t)
1225 ac_prev=target_alias ;;
1226 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227 target_alias=$ac_optarg ;;
1229 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1230 verbose=yes ;;
1232 -version | --version | --versio | --versi | --vers | -V)
1233 ac_init_version=: ;;
1235 -with-* | --with-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1244 "with_$ac_useropt"
1245 "*) ;;
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1248 esac
1249 eval with_$ac_useropt=\$ac_optarg ;;
1251 -without-* | --without-*)
1252 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255 as_fn_error "invalid package name: $ac_useropt"
1256 ac_useropt_orig=$ac_useropt
1257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1260 "with_$ac_useropt"
1261 "*) ;;
1262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1263 ac_unrecognized_sep=', ';;
1264 esac
1265 eval with_$ac_useropt=no ;;
1267 --x)
1268 # Obsolete; use --with-x.
1269 with_x=yes ;;
1271 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1272 | --x-incl | --x-inc | --x-in | --x-i)
1273 ac_prev=x_includes ;;
1274 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1275 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1276 x_includes=$ac_optarg ;;
1278 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1279 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1280 ac_prev=x_libraries ;;
1281 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1282 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1283 x_libraries=$ac_optarg ;;
1285 -*) as_fn_error "unrecognized option: \`$ac_option'
1286 Try \`$0 --help' for more information."
1289 *=*)
1290 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1291 # Reject names that are not valid shell variable names.
1292 case $ac_envvar in #(
1293 '' | [0-9]* | *[!_$as_cr_alnum]* )
1294 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1295 esac
1296 eval $ac_envvar=\$ac_optarg
1297 export $ac_envvar ;;
1300 # FIXME: should be removed in autoconf 3.0.
1301 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1303 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1307 esac
1308 done
1310 if test -n "$ac_prev"; then
1311 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1312 as_fn_error "missing argument to $ac_option"
1315 if test -n "$ac_unrecognized_opts"; then
1316 case $enable_option_checking in
1317 no) ;;
1318 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1319 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 esac
1323 # Check all directory arguments for consistency.
1324 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1325 datadir sysconfdir sharedstatedir localstatedir includedir \
1326 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1327 libdir localedir mandir
1329 eval ac_val=\$$ac_var
1330 # Remove trailing slashes.
1331 case $ac_val in
1332 */ )
1333 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1334 eval $ac_var=\$ac_val;;
1335 esac
1336 # Be sure to have absolute directory names.
1337 case $ac_val in
1338 [\\/$]* | ?:[\\/]* ) continue;;
1339 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 esac
1341 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1342 done
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1347 build=$build_alias
1348 host=$host_alias
1349 target=$target_alias
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353 if test "x$build_alias" = x; then
1354 cross_compiling=maybe
1355 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356 If a cross compiler is detected then cross compile mode will be used." >&2
1357 elif test "x$build_alias" != "x$host_alias"; then
1358 cross_compiling=yes
1362 ac_tool_prefix=
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1365 test "$silent" = yes && exec 6>/dev/null
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371 as_fn_error "working directory cannot be determined"
1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373 as_fn_error "pwd does not report name of working directory"
1376 # Find the source files, if location was not specified.
1377 if test -z "$srcdir"; then
1378 ac_srcdir_defaulted=yes
1379 # Try the directory containing this script, then the parent directory.
1380 ac_confdir=`$as_dirname -- "$as_myself" ||
1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1382 X"$as_myself" : 'X\(//\)[^/]' \| \
1383 X"$as_myself" : 'X\(//\)$' \| \
1384 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1385 $as_echo X"$as_myself" |
1386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 s//\1/
1390 /^X\(\/\/\)[^/].*/{
1391 s//\1/
1394 /^X\(\/\/\)$/{
1395 s//\1/
1398 /^X\(\/\).*/{
1399 s//\1/
1402 s/.*/./; q'`
1403 srcdir=$ac_confdir
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 srcdir=..
1407 else
1408 ac_srcdir_defaulted=no
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1411 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1412 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 ac_abs_confdir=`(
1416 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1417 pwd)`
1418 # When building in place, set srcdir=.
1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 srcdir=.
1422 # Remove unnecessary trailing slashes from srcdir.
1423 # Double slashes in file names in object file debugging info
1424 # mess up M-x gdb in Emacs.
1425 case $srcdir in
1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 esac
1428 for ac_var in $ac_precious_vars; do
1429 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1430 eval ac_env_${ac_var}_value=\$${ac_var}
1431 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1432 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1433 done
1436 # Report the --help message.
1438 if test "$ac_init_help" = "long"; then
1439 # Omit some internal or obsolete options to make the list less imposing.
1440 # This message is too long to be a string in the A/UX 3.1 sh.
1441 cat <<_ACEOF
1442 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1444 Usage: $0 [OPTION]... [VAR=VALUE]...
1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1447 VAR=VALUE. See below for descriptions of some of the useful variables.
1449 Defaults for the options are specified in brackets.
1451 Configuration:
1452 -h, --help display this help and exit
1453 --help=short display options specific to this package
1454 --help=recursive display the short help of all the included packages
1455 -V, --version display version information and exit
1456 -q, --quiet, --silent do not print \`checking...' messages
1457 --cache-file=FILE cache test results in FILE [disabled]
1458 -C, --config-cache alias for \`--cache-file=config.cache'
1459 -n, --no-create do not create output files
1460 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1462 Installation directories:
1463 --prefix=PREFIX install architecture-independent files in PREFIX
1464 [$ac_default_prefix]
1465 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 [PREFIX]
1468 By default, \`make install' will install all the files in
1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1471 for instance \`--prefix=\$HOME'.
1473 For better control, use the options below.
1475 Fine tuning of the installation directories:
1476 --bindir=DIR user executables [EPREFIX/bin]
1477 --sbindir=DIR system admin executables [EPREFIX/sbin]
1478 --libexecdir=DIR program executables [EPREFIX/libexec]
1479 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1480 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1481 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1482 --libdir=DIR object code libraries [EPREFIX/lib]
1483 --includedir=DIR C header files [PREFIX/include]
1484 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1485 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1486 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1487 --infodir=DIR info documentation [DATAROOTDIR/info]
1488 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1489 --mandir=DIR man documentation [DATAROOTDIR/man]
1490 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1491 --htmldir=DIR html documentation [DOCDIR]
1492 --dvidir=DIR dvi documentation [DOCDIR]
1493 --pdfdir=DIR pdf documentation [DOCDIR]
1494 --psdir=DIR ps documentation [DOCDIR]
1495 _ACEOF
1497 cat <<\_ACEOF
1499 Program names:
1500 --program-prefix=PREFIX prepend PREFIX to installed program names
1501 --program-suffix=SUFFIX append SUFFIX to installed program names
1502 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1504 System types:
1505 --build=BUILD configure for building on BUILD [guessed]
1506 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1507 --target=TARGET configure for building compilers for TARGET [HOST]
1508 _ACEOF
1511 if test -n "$ac_init_help"; then
1512 case $ac_init_help in
1513 short | recursive ) echo "Configuration of package-unused version-unused:";;
1514 esac
1515 cat <<\_ACEOF
1517 Optional Features:
1518 --disable-option-checking ignore unrecognized --enable/--with options
1519 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1520 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1521 --enable-multilib build many library versions (default)
1522 --enable-maintainer-mode enable make rules and dependencies not useful
1523 (and sometimes confusing) to the casual installer
1524 --enable-shared[=PKGS] build shared libraries [default=yes]
1525 --enable-static[=PKGS] build static libraries [default=yes]
1526 --enable-fast-install[=PKGS]
1527 optimize for fast installation [default=yes]
1528 --disable-libtool-lock avoid locking (might break parallel builds)
1529 --disable-hosted-libstdcxx
1530 only build freestanding C++ runtime support
1531 --disable-libstdcxx-verbose
1532 disable termination messages to standard error
1533 --enable-sjlj-exceptions
1534 force use of builtin_setjmp for exceptions
1535 [default=auto]
1536 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1537 [default=$is_hosted]
1538 --enable-cstdio[=PACKAGE]
1539 use target-specific I/O package [default=stdio]
1540 --enable-clocale[=MODEL]
1541 use MODEL for target locale package [default=auto]
1542 --enable-nls use Native Language Support (default)
1543 --enable-libstdcxx-allocator[=KIND]
1544 use KIND for target std::allocator base
1545 [default=auto]
1546 --enable-cheaders[=KIND]
1547 construct "C" headers for g++ [default=$c_model]
1548 --enable-long-long enable template specializations for 'long long'
1549 [default=yes]
1550 --enable-wchar_t enable template specializations for 'wchar_t'
1551 [default=yes]
1552 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1553 --enable-concept-checks use Boost-derived template checks [default=no]
1554 --enable-libstdcxx-debug-flags=FLAGS
1555 pass compiler FLAGS when building debug library
1556 [default="-gdwarf-4 -g3 -O0"]
1557 --enable-libstdcxx-debug
1558 build extra debug library [default=no]
1559 --enable-cxx-flags=FLAGS
1560 pass compiler FLAGS when building library [default=]
1561 --enable-fully-dynamic-string
1562 do not put empty strings in per-process static
1563 memory [default=no]
1564 --enable-extern-template
1565 enable extern template [default=yes]
1566 --enable-werror turns on -Werror [default=yes]
1567 --enable-vtable-verify enable vtable verify [default=no]
1568 --enable-libstdcxx-time[=KIND]
1569 use KIND for check type [default=auto]
1570 --enable-tls Use thread-local storage [default=yes]
1571 --disable-rpath do not hardcode runtime library paths
1572 --enable-linux-futex use the Linux futex system call [default=default]
1573 --enable-symvers[=STYLE]
1574 enables symbol versioning of the shared library
1575 [default=yes]
1576 --enable-libstdcxx-visibility
1577 enables visibility safe usage [default=yes]
1578 --enable-libstdcxx-threads
1579 enable C++11 threads support [default=auto]
1580 --enable-version-specific-runtime-libs
1581 Specify that runtime libraries should be installed
1582 in a compiler-specific directory
1584 Optional Packages:
1585 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1586 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1587 --with-target-subdir=SUBDIR
1588 configuring in a subdirectory
1589 --with-cross-host=HOST configuring with a cross compiler
1590 --with-newlib assume newlib as a system C library
1591 --with-pic try to use only PIC/non-PIC objects [default=use
1592 both]
1593 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1594 --with-python-dir the location to install Python modules. This path is
1595 relative starting from the prefix.
1596 --with-gnu-ld assume the C compiler uses GNU ld default=no
1597 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1598 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1599 --with-system-libunwind use installed libunwind
1600 --with-gxx-include-dir=DIR
1601 installation directory for include files
1603 Some influential environment variables:
1604 CC C compiler command
1605 CFLAGS C compiler flags
1606 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1607 nonstandard directory <lib dir>
1608 LIBS libraries to pass to the linker, e.g. -l<library>
1609 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1610 you have headers in a nonstandard directory <include dir>
1611 CXX C++ compiler command
1612 CXXFLAGS C++ compiler flags
1613 CPP C preprocessor
1614 CXXCPP C++ preprocessor
1615 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1616 `c++filt', `gc++filt' on PATH.
1618 Use these variables to override the choices made by `configure' or to help
1619 it to find libraries and programs with nonstandard names/locations.
1621 Report bugs to the package provider.
1622 _ACEOF
1623 ac_status=$?
1626 if test "$ac_init_help" = "recursive"; then
1627 # If there are subdirs, report their specific --help.
1628 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629 test -d "$ac_dir" ||
1630 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1631 continue
1632 ac_builddir=.
1634 case "$ac_dir" in
1635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1637 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638 # A ".." for each directory in $ac_dir_suffix.
1639 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640 case $ac_top_builddir_sub in
1641 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643 esac ;;
1644 esac
1645 ac_abs_top_builddir=$ac_pwd
1646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1647 # for backward compatibility:
1648 ac_top_builddir=$ac_top_build_prefix
1650 case $srcdir in
1651 .) # We are building in place.
1652 ac_srcdir=.
1653 ac_top_srcdir=$ac_top_builddir_sub
1654 ac_abs_top_srcdir=$ac_pwd ;;
1655 [\\/]* | ?:[\\/]* ) # Absolute name.
1656 ac_srcdir=$srcdir$ac_dir_suffix;
1657 ac_top_srcdir=$srcdir
1658 ac_abs_top_srcdir=$srcdir ;;
1659 *) # Relative name.
1660 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661 ac_top_srcdir=$ac_top_build_prefix$srcdir
1662 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663 esac
1664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1666 cd "$ac_dir" || { ac_status=$?; continue; }
1667 # Check for guested configure.
1668 if test -f "$ac_srcdir/configure.gnu"; then
1669 echo &&
1670 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671 elif test -f "$ac_srcdir/configure"; then
1672 echo &&
1673 $SHELL "$ac_srcdir/configure" --help=recursive
1674 else
1675 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676 fi || ac_status=$?
1677 cd "$ac_pwd" || { ac_status=$?; break; }
1678 done
1681 test -n "$ac_init_help" && exit $ac_status
1682 if $ac_init_version; then
1683 cat <<\_ACEOF
1684 package-unused configure version-unused
1685 generated by GNU Autoconf 2.64
1687 Copyright (C) 2009 Free Software Foundation, Inc.
1688 This configure script is free software; the Free Software Foundation
1689 gives unlimited permission to copy, distribute and modify it.
1690 _ACEOF
1691 exit
1694 ## ------------------------ ##
1695 ## Autoconf initialization. ##
1696 ## ------------------------ ##
1698 # ac_fn_c_try_compile LINENO
1699 # --------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_c_try_compile ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext
1705 if { { ac_try="$ac_compile"
1706 case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_compile") 2>conftest.err
1713 ac_status=$?
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest.$ac_objext; then :
1724 ac_retval=0
1725 else
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1729 ac_retval=1
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 return $ac_retval
1734 } # ac_fn_c_try_compile
1736 # ac_fn_cxx_try_compile LINENO
1737 # ----------------------------
1738 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_cxx_try_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rm -f conftest.$ac_objext
1743 if { { ac_try="$ac_compile"
1744 case "(($ac_try" in
1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1747 esac
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_compile") 2>conftest.err
1751 ac_status=$?
1752 if test -s conftest.err; then
1753 grep -v '^ *+' conftest.err >conftest.er1
1754 cat conftest.er1 >&5
1755 mv -f conftest.er1 conftest.err
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && {
1759 test -z "$ac_cxx_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest.$ac_objext; then :
1762 ac_retval=0
1763 else
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1767 ac_retval=1
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 return $ac_retval
1772 } # ac_fn_cxx_try_compile
1774 # ac_fn_c_try_cpp LINENO
1775 # ----------------------
1776 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_cpp ()
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 if { { ac_try="$ac_cpp conftest.$ac_ext"
1781 case "(($ac_try" in
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1788 ac_status=$?
1789 if test -s conftest.err; then
1790 grep -v '^ *+' conftest.err >conftest.er1
1791 cat conftest.er1 >&5
1792 mv -f conftest.er1 conftest.err
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } >/dev/null && {
1796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 }; then :
1799 ac_retval=0
1800 else
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1804 ac_retval=1
1806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807 return $ac_retval
1809 } # ac_fn_c_try_cpp
1811 # ac_fn_c_try_link LINENO
1812 # -----------------------
1813 # Try to link conftest.$ac_ext, and return whether this succeeded.
1814 ac_fn_c_try_link ()
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 rm -f conftest.$ac_objext conftest$ac_exeext
1818 if { { ac_try="$ac_link"
1819 case "(($ac_try" in
1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1822 esac
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_link") 2>conftest.err
1826 ac_status=$?
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && {
1834 test -z "$ac_c_werror_flag" ||
1835 test ! -s conftest.err
1836 } && test -s conftest$ac_exeext && {
1837 test "$cross_compiling" = yes ||
1838 $as_test_x conftest$ac_exeext
1839 }; then :
1840 ac_retval=0
1841 else
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1845 ac_retval=1
1847 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1848 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1849 # interfere with the next link command; also delete a directory that is
1850 # left behind by Apple's compiler. We do this before executing the actions.
1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1853 return $ac_retval
1855 } # ac_fn_c_try_link
1857 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1858 # -------------------------------------------------------
1859 # Tests whether HEADER exists and can be compiled using the include files in
1860 # INCLUDES, setting the cache variable VAR accordingly.
1861 ac_fn_c_check_header_compile ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1867 $as_echo_n "(cached) " >&6
1868 else
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1872 #include <$2>
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875 eval "$3=yes"
1876 else
1877 eval "$3=no"
1879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881 eval ac_res=\$$3
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883 $as_echo "$ac_res" >&6; }
1884 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886 } # ac_fn_c_check_header_compile
1888 # ac_fn_c_try_run LINENO
1889 # ----------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1891 # that executables *can* be run.
1892 ac_fn_c_try_run ()
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 if { { ac_try="$ac_link"
1896 case "(($ac_try" in
1897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1899 esac
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_link") 2>&5
1903 ac_status=$?
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1906 { { case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_try") 2>&5
1913 ac_status=$?
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; }; }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: program exited with status $ac_status" >&5
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1922 ac_retval=$ac_status
1924 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 return $ac_retval
1928 } # ac_fn_c_try_run
1930 # ac_fn_c_check_func LINENO FUNC VAR
1931 # ----------------------------------
1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1933 ac_fn_c_check_func ()
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1939 $as_echo_n "(cached) " >&6
1940 else
1941 if test x$gcc_no_link = xyes; then
1942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1948 #define $2 innocuous_$2
1950 /* System header to define __stub macros and hopefully few prototypes,
1951 which can conflict with char $2 (); below.
1952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1953 <limits.h> exists even on freestanding compilers. */
1955 #ifdef __STDC__
1956 # include <limits.h>
1957 #else
1958 # include <assert.h>
1959 #endif
1961 #undef $2
1963 /* Override any GCC internal prototype to avoid an error.
1964 Use char because int might match the return type of a GCC
1965 builtin and then its argument prototype would still apply. */
1966 #ifdef __cplusplus
1967 extern "C"
1968 #endif
1969 char $2 ();
1970 /* The GNU C library defines this for functions which it implements
1971 to always fail with ENOSYS. Some functions are actually named
1972 something starting with __ and the normal name is an alias. */
1973 #if defined __stub_$2 || defined __stub___$2
1974 choke me
1975 #endif
1978 main ()
1980 return $2 ();
1982 return 0;
1984 _ACEOF
1985 if ac_fn_c_try_link "$LINENO"; then :
1986 eval "$3=yes"
1987 else
1988 eval "$3=no"
1990 rm -f core conftest.err conftest.$ac_objext \
1991 conftest$ac_exeext conftest.$ac_ext
1993 eval ac_res=\$$3
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998 } # ac_fn_c_check_func
2000 # ac_fn_cxx_try_cpp LINENO
2001 # ------------------------
2002 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2003 ac_fn_cxx_try_cpp ()
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 if { { ac_try="$ac_cpp conftest.$ac_ext"
2007 case "(($ac_try" in
2008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2009 *) ac_try_echo=$ac_try;;
2010 esac
2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2014 ac_status=$?
2015 if test -s conftest.err; then
2016 grep -v '^ *+' conftest.err >conftest.er1
2017 cat conftest.er1 >&5
2018 mv -f conftest.er1 conftest.err
2020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2021 test $ac_status = 0; } >/dev/null && {
2022 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2023 test ! -s conftest.err
2024 }; then :
2025 ac_retval=0
2026 else
2027 $as_echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2030 ac_retval=1
2032 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033 return $ac_retval
2035 } # ac_fn_cxx_try_cpp
2037 # ac_fn_cxx_try_link LINENO
2038 # -------------------------
2039 # Try to link conftest.$ac_ext, and return whether this succeeded.
2040 ac_fn_cxx_try_link ()
2042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043 rm -f conftest.$ac_objext conftest$ac_exeext
2044 if { { ac_try="$ac_link"
2045 case "(($ac_try" in
2046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2047 *) ac_try_echo=$ac_try;;
2048 esac
2049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2050 $as_echo "$ac_try_echo"; } >&5
2051 (eval "$ac_link") 2>conftest.err
2052 ac_status=$?
2053 if test -s conftest.err; then
2054 grep -v '^ *+' conftest.err >conftest.er1
2055 cat conftest.er1 >&5
2056 mv -f conftest.er1 conftest.err
2058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2059 test $ac_status = 0; } && {
2060 test -z "$ac_cxx_werror_flag" ||
2061 test ! -s conftest.err
2062 } && test -s conftest$ac_exeext && {
2063 test "$cross_compiling" = yes ||
2064 $as_test_x conftest$ac_exeext
2065 }; then :
2066 ac_retval=0
2067 else
2068 $as_echo "$as_me: failed program was:" >&5
2069 sed 's/^/| /' conftest.$ac_ext >&5
2071 ac_retval=1
2073 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2074 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2075 # interfere with the next link command; also delete a directory that is
2076 # left behind by Apple's compiler. We do this before executing the actions.
2077 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2078 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2079 return $ac_retval
2081 } # ac_fn_cxx_try_link
2083 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2084 # -------------------------------------------------------
2085 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2086 # the include files in INCLUDES and setting the cache variable VAR
2087 # accordingly.
2088 ac_fn_c_check_header_mongrel ()
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093 $as_echo_n "checking for $2... " >&6; }
2094 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2095 $as_echo_n "(cached) " >&6
2097 eval ac_res=\$$3
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100 else
2101 # Is the header compilable?
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2103 $as_echo_n "checking $2 usability... " >&6; }
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2107 #include <$2>
2108 _ACEOF
2109 if ac_fn_c_try_compile "$LINENO"; then :
2110 ac_header_compiler=yes
2111 else
2112 ac_header_compiler=no
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2116 $as_echo "$ac_header_compiler" >&6; }
2118 # Is the header present?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2120 $as_echo_n "checking $2 presence... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_cpp "$LINENO"; then :
2126 ac_header_preproc=yes
2127 else
2128 ac_header_preproc=no
2130 rm -f conftest.err conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2132 $as_echo "$ac_header_preproc" >&6; }
2134 # So? What about this header?
2135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2136 yes:no: )
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2138 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2142 no:yes:* )
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2144 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2146 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2148 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2150 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2152 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2154 esac
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2159 else
2160 eval "$3=\$ac_header_compiler"
2162 eval ac_res=\$$3
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2168 } # ac_fn_c_check_header_mongrel
2170 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # ---------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_cxx_check_header_mongrel ()
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2182 $as_echo_n "(cached) " >&6
2184 eval ac_res=\$$3
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188 # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_cxx_try_compile "$LINENO"; then :
2197 ac_header_compiler=yes
2198 else
2199 ac_header_compiler=no
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_cpp "$LINENO"; then :
2213 ac_header_preproc=yes
2214 else
2215 ac_header_preproc=no
2217 rm -f conftest.err conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2221 # So? What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2223 yes:no: )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2229 no:yes:* )
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241 esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 eval "$3=\$ac_header_compiler"
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2253 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2255 } # ac_fn_cxx_check_header_mongrel
2257 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2258 # --------------------------------------------
2259 # Tries to find the compile-time value of EXPR in a program that includes
2260 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2261 # computed
2262 ac_fn_c_compute_int ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if test "$cross_compiling" = yes; then
2266 # Depending upon the size, compute the lo and hi bounds.
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2271 main ()
2273 static int test_array [1 - 2 * !(($2) >= 0)];
2274 test_array [0] = 0
2277 return 0;
2279 _ACEOF
2280 if ac_fn_c_try_compile "$LINENO"; then :
2281 ac_lo=0 ac_mid=0
2282 while :; do
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2287 main ()
2289 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2290 test_array [0] = 0
2293 return 0;
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_hi=$ac_mid; break
2298 else
2299 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2300 if test $ac_lo -le $ac_mid; then
2301 ac_lo= ac_hi=
2302 break
2304 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2307 done
2308 else
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2313 main ()
2315 static int test_array [1 - 2 * !(($2) < 0)];
2316 test_array [0] = 0
2319 return 0;
2321 _ACEOF
2322 if ac_fn_c_try_compile "$LINENO"; then :
2323 ac_hi=-1 ac_mid=-1
2324 while :; do
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 main ()
2331 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2332 test_array [0] = 0
2335 return 0;
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_lo=$ac_mid; break
2340 else
2341 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2342 if test $ac_mid -le $ac_hi; then
2343 ac_lo= ac_hi=
2344 break
2346 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 done
2350 else
2351 ac_lo= ac_hi=
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 # Binary search between lo and hi bounds.
2357 while test "x$ac_lo" != "x$ac_hi"; do
2358 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2363 main ()
2365 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2366 test_array [0] = 0
2369 return 0;
2371 _ACEOF
2372 if ac_fn_c_try_compile "$LINENO"; then :
2373 ac_hi=$ac_mid
2374 else
2375 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 done
2379 case $ac_lo in #((
2380 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2381 '') ac_retval=1 ;;
2382 esac
2383 else
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2387 static long int longval () { return $2; }
2388 static unsigned long int ulongval () { return $2; }
2389 #include <stdio.h>
2390 #include <stdlib.h>
2392 main ()
2395 FILE *f = fopen ("conftest.val", "w");
2396 if (! f)
2397 return 1;
2398 if (($2) < 0)
2400 long int i = longval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%ld", i);
2405 else
2407 unsigned long int i = ulongval ();
2408 if (i != ($2))
2409 return 1;
2410 fprintf (f, "%lu", i);
2412 /* Do not output a trailing newline, as this causes \r\n confusion
2413 on some platforms. */
2414 return ferror (f) || fclose (f) != 0;
2417 return 0;
2419 _ACEOF
2420 if ac_fn_c_try_run "$LINENO"; then :
2421 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2422 else
2423 ac_retval=1
2425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2426 conftest.$ac_objext conftest.beam conftest.$ac_ext
2427 rm -f conftest.val
2430 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2431 return $ac_retval
2433 } # ac_fn_c_compute_int
2435 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2436 # -------------------------------------------
2437 # Tests whether TYPE exists after having included INCLUDES, setting cache
2438 # variable VAR accordingly.
2439 ac_fn_c_check_type ()
2441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2445 $as_echo_n "(cached) " >&6
2446 else
2447 eval "$3=no"
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2452 main ()
2454 if (sizeof ($2))
2455 return 0;
2457 return 0;
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 main ()
2467 if (sizeof (($2)))
2468 return 0;
2470 return 0;
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2475 else
2476 eval "$3=yes"
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2482 eval ac_res=\$$3
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2484 $as_echo "$ac_res" >&6; }
2485 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2487 } # ac_fn_c_check_type
2488 cat >config.log <<_ACEOF
2489 This file contains any messages produced by compilers while
2490 running configure, to aid debugging if configure makes a mistake.
2492 It was created by package-unused $as_me version-unused, which was
2493 generated by GNU Autoconf 2.64. Invocation command line was
2495 $ $0 $@
2497 _ACEOF
2498 exec 5>>config.log
2500 cat <<_ASUNAME
2501 ## --------- ##
2502 ## Platform. ##
2503 ## --------- ##
2505 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2506 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2507 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2508 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2509 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2511 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2512 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2514 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2515 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2516 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2517 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2518 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2519 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2520 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2522 _ASUNAME
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2527 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=.
2529 $as_echo "PATH: $as_dir"
2530 done
2531 IFS=$as_save_IFS
2533 } >&5
2535 cat >&5 <<_ACEOF
2538 ## ----------- ##
2539 ## Core tests. ##
2540 ## ----------- ##
2542 _ACEOF
2545 # Keep a trace of the command line.
2546 # Strip out --no-create and --no-recursion so they do not pile up.
2547 # Strip out --silent because we don't want to record it for future runs.
2548 # Also quote any args containing shell meta-characters.
2549 # Make two passes to allow for proper duplicate-argument suppression.
2550 ac_configure_args=
2551 ac_configure_args0=
2552 ac_configure_args1=
2553 ac_must_keep_next=false
2554 for ac_pass in 1 2
2556 for ac_arg
2558 case $ac_arg in
2559 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2561 | -silent | --silent | --silen | --sile | --sil)
2562 continue ;;
2563 *\'*)
2564 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2565 esac
2566 case $ac_pass in
2567 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2569 as_fn_append ac_configure_args1 " '$ac_arg'"
2570 if test $ac_must_keep_next = true; then
2571 ac_must_keep_next=false # Got value, back to normal.
2572 else
2573 case $ac_arg in
2574 *=* | --config-cache | -C | -disable-* | --disable-* \
2575 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2576 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2577 | -with-* | --with-* | -without-* | --without-* | --x)
2578 case "$ac_configure_args0 " in
2579 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2580 esac
2582 -* ) ac_must_keep_next=true ;;
2583 esac
2585 as_fn_append ac_configure_args " '$ac_arg'"
2587 esac
2588 done
2589 done
2590 { ac_configure_args0=; unset ac_configure_args0;}
2591 { ac_configure_args1=; unset ac_configure_args1;}
2593 # When interrupted or exit'd, cleanup temporary files, and complete
2594 # config.log. We remove comments because anyway the quotes in there
2595 # would cause problems or look ugly.
2596 # WARNING: Use '\'' to represent an apostrophe within the trap.
2597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2598 trap 'exit_status=$?
2599 # Save into config.log some information that might help in debugging.
2601 echo
2603 cat <<\_ASBOX
2604 ## ---------------- ##
2605 ## Cache variables. ##
2606 ## ---------------- ##
2607 _ASBOX
2608 echo
2609 # The following way of writing the cache mishandles newlines in values,
2611 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2612 eval ac_val=\$$ac_var
2613 case $ac_val in #(
2614 *${as_nl}*)
2615 case $ac_var in #(
2616 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2618 esac
2619 case $ac_var in #(
2620 _ | IFS | as_nl) ;; #(
2621 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2622 *) { eval $ac_var=; unset $ac_var;} ;;
2623 esac ;;
2624 esac
2625 done
2626 (set) 2>&1 |
2627 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2628 *${as_nl}ac_space=\ *)
2629 sed -n \
2630 "s/'\''/'\''\\\\'\'''\''/g;
2631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2632 ;; #(
2634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2636 esac |
2637 sort
2639 echo
2641 cat <<\_ASBOX
2642 ## ----------------- ##
2643 ## Output variables. ##
2644 ## ----------------- ##
2645 _ASBOX
2646 echo
2647 for ac_var in $ac_subst_vars
2649 eval ac_val=\$$ac_var
2650 case $ac_val in
2651 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2652 esac
2653 $as_echo "$ac_var='\''$ac_val'\''"
2654 done | sort
2655 echo
2657 if test -n "$ac_subst_files"; then
2658 cat <<\_ASBOX
2659 ## ------------------- ##
2660 ## File substitutions. ##
2661 ## ------------------- ##
2662 _ASBOX
2663 echo
2664 for ac_var in $ac_subst_files
2666 eval ac_val=\$$ac_var
2667 case $ac_val in
2668 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2669 esac
2670 $as_echo "$ac_var='\''$ac_val'\''"
2671 done | sort
2672 echo
2675 if test -s confdefs.h; then
2676 cat <<\_ASBOX
2677 ## ----------- ##
2678 ## confdefs.h. ##
2679 ## ----------- ##
2680 _ASBOX
2681 echo
2682 cat confdefs.h
2683 echo
2685 test "$ac_signal" != 0 &&
2686 $as_echo "$as_me: caught signal $ac_signal"
2687 $as_echo "$as_me: exit $exit_status"
2688 } >&5
2689 rm -f core *.core core.conftest.* &&
2690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2691 exit $exit_status
2693 for ac_signal in 1 2 13 15; do
2694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2695 done
2696 ac_signal=0
2698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2699 rm -f -r conftest* confdefs.h
2701 $as_echo "/* confdefs.h */" > confdefs.h
2703 # Predefined preprocessor variables.
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_NAME "$PACKAGE_NAME"
2707 _ACEOF
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2711 _ACEOF
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2715 _ACEOF
2717 cat >>confdefs.h <<_ACEOF
2718 #define PACKAGE_STRING "$PACKAGE_STRING"
2719 _ACEOF
2721 cat >>confdefs.h <<_ACEOF
2722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2723 _ACEOF
2725 cat >>confdefs.h <<_ACEOF
2726 #define PACKAGE_URL "$PACKAGE_URL"
2727 _ACEOF
2730 # Let the site file select an alternate cache file if it wants to.
2731 # Prefer an explicitly selected file to automatically selected ones.
2732 ac_site_file1=NONE
2733 ac_site_file2=NONE
2734 if test -n "$CONFIG_SITE"; then
2735 ac_site_file1=$CONFIG_SITE
2736 elif test "x$prefix" != xNONE; then
2737 ac_site_file1=$prefix/share/config.site
2738 ac_site_file2=$prefix/etc/config.site
2739 else
2740 ac_site_file1=$ac_default_prefix/share/config.site
2741 ac_site_file2=$ac_default_prefix/etc/config.site
2743 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2745 test "x$ac_site_file" = xNONE && continue
2746 if test -r "$ac_site_file"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2748 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2749 sed 's/^/| /' "$ac_site_file" >&5
2750 . "$ac_site_file"
2752 done
2754 if test -r "$cache_file"; then
2755 # Some versions of bash will fail to source /dev/null (special
2756 # files actually), so we avoid doing that.
2757 if test -f "$cache_file"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2759 $as_echo "$as_me: loading cache $cache_file" >&6;}
2760 case $cache_file in
2761 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2762 *) . "./$cache_file";;
2763 esac
2765 else
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2767 $as_echo "$as_me: creating cache $cache_file" >&6;}
2768 >$cache_file
2771 # Check that the precious variables saved in the cache have kept the same
2772 # value.
2773 ac_cache_corrupted=false
2774 for ac_var in $ac_precious_vars; do
2775 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2776 eval ac_new_set=\$ac_env_${ac_var}_set
2777 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2778 eval ac_new_val=\$ac_env_${ac_var}_value
2779 case $ac_old_set,$ac_new_set in
2780 set,)
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2782 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2783 ac_cache_corrupted=: ;;
2784 ,set)
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2786 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2787 ac_cache_corrupted=: ;;
2788 ,);;
2790 if test "x$ac_old_val" != "x$ac_new_val"; then
2791 # differences in whitespace do not lead to failure.
2792 ac_old_val_w=`echo x $ac_old_val`
2793 ac_new_val_w=`echo x $ac_new_val`
2794 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2796 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2797 ac_cache_corrupted=:
2798 else
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2800 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2801 eval $ac_var=\$ac_old_val
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2804 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2806 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2807 fi;;
2808 esac
2809 # Pass precious variables to config.status.
2810 if test "$ac_new_set" = set; then
2811 case $ac_new_val in
2812 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2813 *) ac_arg=$ac_var=$ac_new_val ;;
2814 esac
2815 case " $ac_configure_args " in
2816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2817 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2818 esac
2820 done
2821 if $ac_cache_corrupted; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2825 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2826 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2828 ## -------------------- ##
2829 ## Main body of script. ##
2830 ## -------------------- ##
2832 ac_ext=c
2833 ac_cpp='$CPP $CPPFLAGS'
2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2843 ac_config_headers="$ac_config_headers config.h"
2846 # This works around the fact that libtool configuration may change LD
2847 # for this particular configuration, but some shells, instead of
2848 # keeping the changes in LD private, export them just because LD is
2849 # exported. Only used at the end of this file.
2850 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2852 # Find the rest of the source tree framework.
2853 # Default to --enable-multilib
2854 # Check whether --enable-multilib was given.
2855 if test "${enable_multilib+set}" = set; then :
2856 enableval=$enable_multilib; case "$enableval" in
2857 yes) multilib=yes ;;
2858 no) multilib=no ;;
2859 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2860 esac
2861 else
2862 multilib=yes
2866 # We may get other options which we leave undocumented:
2867 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2868 # See config-ml.in if you want the gory details.
2870 if test "$srcdir" = "."; then
2871 if test "$with_target_subdir" != "."; then
2872 multi_basedir="$srcdir/$with_multisrctop../.."
2873 else
2874 multi_basedir="$srcdir/$with_multisrctop.."
2876 else
2877 multi_basedir="$srcdir/.."
2881 # Even if the default multilib is not a cross compilation,
2882 # it may be that some of the other multilibs are.
2883 if test $cross_compiling = no && test $multilib = yes \
2884 && test "x${with_multisubdir}" != x ; then
2885 cross_compiling=maybe
2888 ac_config_commands="$ac_config_commands default-1"
2891 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2893 # You will slowly go insane if you do not grok the following fact: when
2894 # building v3 as part of the compiler, the top-level /target/ becomes the
2895 # library's /host/. configure then causes --target to default to --host,
2896 # exactly like any other package using autoconf. Therefore, 'target' and
2897 # 'host' will always be the same. This makes sense both for native and
2898 # cross compilers, just think about it for a little while. :-)
2900 # Also, if v3 is being configured as part of a cross compiler, the top-level
2901 # configure script will pass the "real" host as $with_cross_host.
2903 # Do not delete or change the following two lines. For why, see
2904 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2905 ac_aux_dir=
2906 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2907 for ac_t in install-sh install.sh shtool; do
2908 if test -f "$ac_dir/$ac_t"; then
2909 ac_aux_dir=$ac_dir
2910 ac_install_sh="$ac_aux_dir/$ac_t -c"
2911 break 2
2913 done
2914 done
2915 if test -z "$ac_aux_dir"; then
2916 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2919 # These three variables are undocumented and unsupported,
2920 # and are intended to be withdrawn in a future Autoconf release.
2921 # They can cause serious problems if a builder's source tree is in a directory
2922 # whose full name contains unusual characters.
2923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2925 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2928 # Make sure we can run config.sub.
2929 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2930 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2933 $as_echo_n "checking build system type... " >&6; }
2934 if test "${ac_cv_build+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2936 else
2937 ac_build_alias=$build_alias
2938 test "x$ac_build_alias" = x &&
2939 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2940 test "x$ac_build_alias" = x &&
2941 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2942 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2943 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2947 $as_echo "$ac_cv_build" >&6; }
2948 case $ac_cv_build in
2949 *-*-*) ;;
2950 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2951 esac
2952 build=$ac_cv_build
2953 ac_save_IFS=$IFS; IFS='-'
2954 set x $ac_cv_build
2955 shift
2956 build_cpu=$1
2957 build_vendor=$2
2958 shift; shift
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2961 build_os=$*
2962 IFS=$ac_save_IFS
2963 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2967 $as_echo_n "checking host system type... " >&6; }
2968 if test "${ac_cv_host+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2970 else
2971 if test "x$host_alias" = x; then
2972 ac_cv_host=$ac_cv_build
2973 else
2974 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2975 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2980 $as_echo "$ac_cv_host" >&6; }
2981 case $ac_cv_host in
2982 *-*-*) ;;
2983 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2984 esac
2985 host=$ac_cv_host
2986 ac_save_IFS=$IFS; IFS='-'
2987 set x $ac_cv_host
2988 shift
2989 host_cpu=$1
2990 host_vendor=$2
2991 shift; shift
2992 # Remember, the first character of IFS is used to create $*,
2993 # except with old shells:
2994 host_os=$*
2995 IFS=$ac_save_IFS
2996 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3000 $as_echo_n "checking target system type... " >&6; }
3001 if test "${ac_cv_target+set}" = set; then :
3002 $as_echo_n "(cached) " >&6
3003 else
3004 if test "x$target_alias" = x; then
3005 ac_cv_target=$ac_cv_host
3006 else
3007 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3008 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3013 $as_echo "$ac_cv_target" >&6; }
3014 case $ac_cv_target in
3015 *-*-*) ;;
3016 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3017 esac
3018 target=$ac_cv_target
3019 ac_save_IFS=$IFS; IFS='-'
3020 set x $ac_cv_target
3021 shift
3022 target_cpu=$1
3023 target_vendor=$2
3024 shift; shift
3025 # Remember, the first character of IFS is used to create $*,
3026 # except with old shells:
3027 target_os=$*
3028 IFS=$ac_save_IFS
3029 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3032 # The aliases save the names the user supplied, while $host etc.
3033 # will get canonicalized.
3034 test -n "$target_alias" &&
3035 test "$program_prefix$program_suffix$program_transform_name" = \
3036 NONENONEs,x,x, &&
3037 program_prefix=${target_alias}-
3039 target_alias=${target_alias-$host_alias}
3041 # Handy for debugging:
3042 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3044 if test "$build" != "$host"; then
3045 # We are being configured with some form of cross compiler.
3046 GLIBCXX_IS_NATIVE=false
3047 case "$host","$target" in
3048 # Darwin crosses can use the host system's libraries and headers,
3049 # because of the fat library support. Of course, it must be the
3050 # same version of Darwin on both sides. Allow the user to
3051 # just say --target=foo-darwin without a version number to mean
3052 # "the version on this system".
3053 *-*-darwin*,*-*-darwin*)
3054 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3055 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3056 if test $hostos = $targetos -o $targetos = darwin ; then
3057 GLIBCXX_IS_NATIVE=true
3064 esac
3065 else
3066 GLIBCXX_IS_NATIVE=true
3069 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3070 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3071 # 1.x: minimum required version
3072 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3073 # of other PACKAGE_* variables will, however, and there's nothing
3074 # we can do about that; they come from AC_INIT).
3075 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3076 # file in the top srcdir, etc, etc), so stop complaining.
3077 # no-dependencies: turns off auto dependency generation (just for now)
3078 # no-dist: we don't want 'dist' and related rules.
3079 # -Wall: turns on all automake warnings...
3080 # -Wno-portability: ...except this one, since GNU make is now required.
3081 am__api_version='1.11'
3083 # Find a good install program. We prefer a C program (faster),
3084 # so one script is as good as another. But avoid the broken or
3085 # incompatible versions:
3086 # SysV /etc/install, /usr/sbin/install
3087 # SunOS /usr/etc/install
3088 # IRIX /sbin/install
3089 # AIX /bin/install
3090 # AmigaOS /C/install, which installs bootblocks on floppy discs
3091 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3092 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3093 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3094 # OS/2's system install, which has a completely different semantic
3095 # ./install, which can be erroneously created by make from ./install.sh.
3096 # Reject install programs that cannot install multiple files.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3098 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3099 if test -z "$INSTALL"; then
3100 if test "${ac_cv_path_install+set}" = set; then :
3101 $as_echo_n "(cached) " >&6
3102 else
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 # Account for people who put trailing slashes in PATH elements.
3109 case $as_dir/ in #((
3110 ./ | .// | /[cC]/* | \
3111 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3112 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3113 /usr/ucb/* ) ;;
3115 # OSF1 and SCO ODT 3.0 have their own names for install.
3116 # Don't use installbsd from OSF since it installs stuff as root
3117 # by default.
3118 for ac_prog in ginstall scoinst install; do
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3121 if test $ac_prog = install &&
3122 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3123 # AIX install. It has an incompatible calling convention.
3125 elif test $ac_prog = install &&
3126 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3127 # program-specific install script used by HP pwplus--don't use.
3129 else
3130 rm -rf conftest.one conftest.two conftest.dir
3131 echo one > conftest.one
3132 echo two > conftest.two
3133 mkdir conftest.dir
3134 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3135 test -s conftest.one && test -s conftest.two &&
3136 test -s conftest.dir/conftest.one &&
3137 test -s conftest.dir/conftest.two
3138 then
3139 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3140 break 3
3144 done
3145 done
3147 esac
3149 done
3150 IFS=$as_save_IFS
3152 rm -rf conftest.one conftest.two conftest.dir
3155 if test "${ac_cv_path_install+set}" = set; then
3156 INSTALL=$ac_cv_path_install
3157 else
3158 # As a last resort, use the slow shell script. Don't cache a
3159 # value for INSTALL within a source directory, because that will
3160 # break other packages using the cache if that directory is
3161 # removed, or if the value is a relative name.
3162 INSTALL=$ac_install_sh
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3166 $as_echo "$INSTALL" >&6; }
3168 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3169 # It thinks the first close brace ends the variable substitution.
3170 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3172 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3174 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3177 $as_echo_n "checking whether build environment is sane... " >&6; }
3178 # Just in case
3179 sleep 1
3180 echo timestamp > conftest.file
3181 # Reject unsafe characters in $srcdir or the absolute working directory
3182 # name. Accept space and tab only in the latter.
3183 am_lf='
3185 case `pwd` in
3186 *[\\\"\#\$\&\'\`$am_lf]*)
3187 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3188 esac
3189 case $srcdir in
3190 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3191 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3192 esac
3194 # Do `set' in a subshell so we don't clobber the current shell's
3195 # arguments. Must try -L first in case configure is actually a
3196 # symlink; some systems play weird games with the mod time of symlinks
3197 # (eg FreeBSD returns the mod time of the symlink's containing
3198 # directory).
3199 if (
3200 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3201 if test "$*" = "X"; then
3202 # -L didn't work.
3203 set X `ls -t "$srcdir/configure" conftest.file`
3205 rm -f conftest.file
3206 if test "$*" != "X $srcdir/configure conftest.file" \
3207 && test "$*" != "X conftest.file $srcdir/configure"; then
3209 # If neither matched, then we have a broken ls. This can happen
3210 # if, for instance, CONFIG_SHELL is bash and it inherits a
3211 # broken ls alias from the environment. This has actually
3212 # happened. Such a system could not be considered "sane".
3213 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3214 alias in your environment" "$LINENO" 5
3217 test "$2" = conftest.file
3219 then
3220 # Ok.
3222 else
3223 as_fn_error "newly created file is older than distributed files!
3224 Check your system clock" "$LINENO" 5
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3228 test "$program_prefix" != NONE &&
3229 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3230 # Use a double $ so make ignores it.
3231 test "$program_suffix" != NONE &&
3232 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3233 # Double any \ or $.
3234 # By default was `s,x,x', remove it if useless.
3235 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3236 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3238 # expand $ac_aux_dir to an absolute path
3239 am_aux_dir=`cd $ac_aux_dir && pwd`
3241 if test x"${MISSING+set}" != xset; then
3242 case $am_aux_dir in
3243 *\ * | *\ *)
3244 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3246 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3247 esac
3249 # Use eval to expand $SHELL
3250 if eval "$MISSING --run true"; then
3251 am_missing_run="$MISSING --run "
3252 else
3253 am_missing_run=
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3255 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3258 if test x"${install_sh}" != xset; then
3259 case $am_aux_dir in
3260 *\ * | *\ *)
3261 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3263 install_sh="\${SHELL} $am_aux_dir/install-sh"
3264 esac
3267 # Installed binaries are usually stripped using `strip' when the user
3268 # run `make install-strip'. However `strip' might not be the right
3269 # tool to use in cross-compilation environments, therefore Automake
3270 # will honor the `STRIP' environment variable to overrule this program.
3271 if test "$cross_compiling" != no; then
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3274 set dummy ${ac_tool_prefix}strip; ac_word=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if test "${ac_cv_prog_STRIP+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3279 else
3280 if test -n "$STRIP"; then
3281 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3282 else
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 for as_dir in $PATH
3286 IFS=$as_save_IFS
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3294 done
3295 done
3296 IFS=$as_save_IFS
3300 STRIP=$ac_cv_prog_STRIP
3301 if test -n "$STRIP"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3303 $as_echo "$STRIP" >&6; }
3304 else
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3311 if test -z "$ac_cv_prog_STRIP"; then
3312 ac_ct_STRIP=$STRIP
3313 # Extract the first word of "strip", so it can be a program name with args.
3314 set dummy strip; ac_word=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3318 $as_echo_n "(cached) " >&6
3319 else
3320 if test -n "$ac_ct_STRIP"; then
3321 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3322 else
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 for as_dir in $PATH
3326 IFS=$as_save_IFS
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330 ac_cv_prog_ac_ct_STRIP="strip"
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 break 2
3334 done
3335 done
3336 IFS=$as_save_IFS
3340 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3341 if test -n "$ac_ct_STRIP"; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3343 $as_echo "$ac_ct_STRIP" >&6; }
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3349 if test "x$ac_ct_STRIP" = x; then
3350 STRIP=":"
3351 else
3352 case $cross_compiling:$ac_tool_warned in
3353 yes:)
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3356 ac_tool_warned=yes ;;
3357 esac
3358 STRIP=$ac_ct_STRIP
3360 else
3361 STRIP="$ac_cv_prog_STRIP"
3365 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3368 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3369 if test -z "$MKDIR_P"; then
3370 if test "${ac_cv_path_mkdir+set}" = set; then :
3371 $as_echo_n "(cached) " >&6
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_prog in mkdir gmkdir; do
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3381 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3382 'mkdir (GNU coreutils) '* | \
3383 'mkdir (coreutils) '* | \
3384 'mkdir (fileutils) '4.1*)
3385 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3386 break 3;;
3387 esac
3388 done
3389 done
3390 done
3391 IFS=$as_save_IFS
3395 if test "${ac_cv_path_mkdir+set}" = set; then
3396 MKDIR_P="$ac_cv_path_mkdir -p"
3397 else
3398 # As a last resort, use the slow shell script. Don't cache a
3399 # value for MKDIR_P within a source directory, because that will
3400 # break other packages using the cache if that directory is
3401 # removed, or if the value is a relative name.
3402 test -d ./--version && rmdir ./--version
3403 MKDIR_P="$ac_install_sh -d"
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3407 $as_echo "$MKDIR_P" >&6; }
3409 mkdir_p="$MKDIR_P"
3410 case $mkdir_p in
3411 [\\/$]* | ?:[\\/]*) ;;
3412 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3413 esac
3415 for ac_prog in gawk mawk nawk awk
3417 # Extract the first word of "$ac_prog", so it can be a program name with args.
3418 set dummy $ac_prog; ac_word=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if test "${ac_cv_prog_AWK+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3423 else
3424 if test -n "$AWK"; then
3425 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3430 IFS=$as_save_IFS
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434 ac_cv_prog_AWK="$ac_prog"
3435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 break 2
3438 done
3439 done
3440 IFS=$as_save_IFS
3444 AWK=$ac_cv_prog_AWK
3445 if test -n "$AWK"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3447 $as_echo "$AWK" >&6; }
3448 else
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3454 test -n "$AWK" && break
3455 done
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3458 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3459 set x ${MAKE-make}
3460 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3461 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3462 $as_echo_n "(cached) " >&6
3463 else
3464 cat >conftest.make <<\_ACEOF
3465 SHELL = /bin/sh
3466 all:
3467 @echo '@@@%%%=$(MAKE)=@@@%%%'
3468 _ACEOF
3469 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3470 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3471 *@@@%%%=?*=@@@%%%*)
3472 eval ac_cv_prog_make_${ac_make}_set=yes;;
3474 eval ac_cv_prog_make_${ac_make}_set=no;;
3475 esac
3476 rm -f conftest.make
3478 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3480 $as_echo "yes" >&6; }
3481 SET_MAKE=
3482 else
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3485 SET_MAKE="MAKE=${MAKE-make}"
3488 rm -rf .tst 2>/dev/null
3489 mkdir .tst 2>/dev/null
3490 if test -d .tst; then
3491 am__leading_dot=.
3492 else
3493 am__leading_dot=_
3495 rmdir .tst 2>/dev/null
3497 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3498 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3499 # is not polluted with repeated "-I."
3500 am__isrc=' -I$(srcdir)'
3501 # test to see if srcdir already configured
3502 if test -f $srcdir/config.status; then
3503 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3507 # test whether we have cygpath
3508 if test -z "$CYGPATH_W"; then
3509 if (cygpath --version) >/dev/null 2>/dev/null; then
3510 CYGPATH_W='cygpath -w'
3511 else
3512 CYGPATH_W=echo
3517 # Define the identity of the package.
3518 PACKAGE='libstdc++'
3519 VERSION='version-unused'
3522 # Some tools Automake needs.
3524 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3527 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3530 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3533 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3536 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3538 # We need awk for the "check" target. The system "awk" is bad on
3539 # some platforms.
3540 # Always define AMTAR for backward compatibility.
3542 AMTAR=${AMTAR-"${am_missing_run}tar"}
3544 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3553 # -fno-builtin must be present here so that a non-conflicting form of
3554 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3556 save_CXXFLAGS="$CXXFLAGS"
3557 CXXFLAGS="$CXXFLAGS -fno-builtin"
3558 ac_ext=c
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if test "${ac_cv_prog_CC+set}" = set; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC="$CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 break 2
3585 done
3586 done
3587 IFS=$as_save_IFS
3591 CC=$ac_cv_prog_CC
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3602 if test -z "$ac_cv_prog_CC"; then
3603 ac_ct_CC=$CC
3604 # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$ac_ct_CC"; then
3612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621 ac_cv_prog_ac_ct_CC="gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3625 done
3626 done
3627 IFS=$as_save_IFS
3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3640 if test "x$ac_ct_CC" = x; then
3641 CC=""
3642 else
3643 case $cross_compiling:$ac_tool_warned in
3644 yes:)
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3648 esac
3649 CC=$ac_ct_CC
3651 else
3652 CC="$ac_cv_prog_CC"
3655 if test -z "$CC"; then
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if test "${ac_cv_prog_CC+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 if test -n "$CC"; then
3665 ac_cv_prog_CC="$CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3670 IFS=$as_save_IFS
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674 ac_cv_prog_CC="${ac_tool_prefix}cc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3678 done
3679 done
3680 IFS=$as_save_IFS
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_CC+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 ac_prog_rejected=no
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3711 IFS=$as_save_IFS
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716 ac_prog_rejected=yes
3717 continue
3719 ac_cv_prog_CC="cc"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3727 if test $ac_prog_rejected = yes; then
3728 # We found a bogon in the path, so make sure we never use it.
3729 set dummy $ac_cv_prog_CC
3730 shift
3731 if test $# != 0; then
3732 # We chose a different compiler from the bogus one.
3733 # However, it has the same basename, so the bogon will be chosen
3734 # first if we set CC to just the basename; use the full file name.
3735 shift
3736 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3741 CC=$ac_cv_prog_CC
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3752 if test -z "$CC"; then
3753 if test -n "$ac_tool_prefix"; then
3754 for ac_prog in cl.exe
3756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if test "${ac_cv_prog_CC+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3769 IFS=$as_save_IFS
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 break 2
3777 done
3778 done
3779 IFS=$as_save_IFS
3783 CC=$ac_cv_prog_CC
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3787 else
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3793 test -n "$CC" && break
3794 done
3796 if test -z "$CC"; then
3797 ac_ct_CC=$CC
3798 for ac_prog in cl.exe
3800 # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$ac_ct_CC"; then
3808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3817 ac_cv_prog_ac_ct_CC="$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3821 done
3822 done
3823 IFS=$as_save_IFS
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$ac_ct_CC" && break
3838 done
3840 if test "x$ac_ct_CC" = x; then
3841 CC=""
3842 else
3843 case $cross_compiling:$ac_tool_warned in
3844 yes:)
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3848 esac
3849 CC=$ac_ct_CC
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details." "$LINENO" 5; }
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 set X $ac_compile
3864 ac_compiler=$2
3865 for ac_option in --version -v -V -qversion; do
3866 { { ac_try="$ac_compiler $ac_option >&5"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874 ac_status=$?
3875 if test -s conftest.err; then
3876 sed '10a\
3877 ... rest of stderr output deleted ...
3878 10q' conftest.err >conftest.er1
3879 cat conftest.er1 >&5
3880 rm -f conftest.er1 conftest.err
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }
3884 done
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3890 main ()
3894 return 0;
3896 _ACEOF
3897 # FIXME: Cleanup?
3898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3899 (eval $ac_link) 2>&5
3900 ac_status=$?
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }; then :
3903 gcc_no_link=no
3904 else
3905 gcc_no_link=yes
3907 if test x$gcc_no_link = xyes; then
3908 # Setting cross_compile will disable run tests; it will
3909 # also disable AC_CHECK_FILE but that's generally
3910 # correct if we can't link.
3911 cross_compiling=yes
3912 EXEEXT=
3913 else
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3918 main ()
3922 return 0;
3924 _ACEOF
3925 ac_clean_files_save=$ac_clean_files
3926 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3927 # Try to create an executable without -o first, disregard a.out.
3928 # It will help us diagnose broken compilers, and finding out an intuition
3929 # of exeext.
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3931 $as_echo_n "checking for C compiler default output file name... " >&6; }
3932 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3934 # The possible output files:
3935 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3937 ac_rmfiles=
3938 for ac_file in $ac_files
3940 case $ac_file in
3941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3942 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3943 esac
3944 done
3945 rm -f $ac_rmfiles
3947 if { { ac_try="$ac_link_default"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_link_default") 2>&5
3955 ac_status=$?
3956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 test $ac_status = 0; }; then :
3958 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3959 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3960 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3961 # so that the user can short-circuit this test for compilers unknown to
3962 # Autoconf.
3963 for ac_file in $ac_files ''
3965 test -f "$ac_file" || continue
3966 case $ac_file in
3967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3969 [ab].out )
3970 # We found the default executable, but exeext='' is most
3971 # certainly right.
3972 break;;
3973 *.* )
3974 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3975 then :; else
3976 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3978 # We set ac_cv_exeext here because the later test for it is not
3979 # safe: cross compilers may not add the suffix if given an `-o'
3980 # argument, so we may need to know it at that point already.
3981 # Even if this section looks crufty: it has the advantage of
3982 # actually working.
3983 break;;
3985 break;;
3986 esac
3987 done
3988 test "$ac_cv_exeext" = no && ac_cv_exeext=
3990 else
3991 ac_file=''
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3994 $as_echo "$ac_file" >&6; }
3995 if test -z "$ac_file"; then :
3996 $as_echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4001 { as_fn_set_status 77
4002 as_fn_error "C compiler cannot create executables
4003 See \`config.log' for more details." "$LINENO" 5; }; }
4005 ac_exeext=$ac_cv_exeext
4007 # Check that the compiler produces executables we can run. If not, either
4008 # the compiler is broken, or we cross compile.
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4010 $as_echo_n "checking whether the C compiler works... " >&6; }
4011 # If not cross compiling, check that we can run a simple program.
4012 if test "$cross_compiling" != yes; then
4013 if { ac_try='./$ac_file'
4014 { { case "(($ac_try" in
4015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4017 esac
4018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4019 $as_echo "$ac_try_echo"; } >&5
4020 (eval "$ac_try") 2>&5
4021 ac_status=$?
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }; }; then
4024 cross_compiling=no
4025 else
4026 if test "$cross_compiling" = maybe; then
4027 cross_compiling=yes
4028 else
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot run C compiled programs.
4032 If you meant to cross compile, use \`--host'.
4033 See \`config.log' for more details." "$LINENO" 5; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4038 $as_echo "yes" >&6; }
4040 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4041 ac_clean_files=$ac_clean_files_save
4042 # Check that the compiler produces executables we can run. If not, either
4043 # the compiler is broken, or we cross compile.
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4045 $as_echo_n "checking whether we are cross compiling... " >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4047 $as_echo "$cross_compiling" >&6; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4050 $as_echo_n "checking for suffix of executables... " >&6; }
4051 if { { ac_try="$ac_link"
4052 case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_link") 2>&5
4059 ac_status=$?
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; then :
4062 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4063 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4064 # work properly (i.e., refer to `conftest.exe'), while it won't with
4065 # `rm'.
4066 for ac_file in conftest.exe conftest conftest.*; do
4067 test -f "$ac_file" || continue
4068 case $ac_file in
4069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4070 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4071 break;;
4072 * ) break;;
4073 esac
4074 done
4075 else
4076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error "cannot compute suffix of executables: cannot compile and link
4079 See \`config.log' for more details." "$LINENO" 5; }
4081 rm -f conftest$ac_cv_exeext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4083 $as_echo "$ac_cv_exeext" >&6; }
4085 rm -f conftest.$ac_ext
4086 EXEEXT=$ac_cv_exeext
4087 ac_exeext=$EXEEXT
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4090 $as_echo_n "checking for suffix of object files... " >&6; }
4091 if test "${ac_cv_objext+set}" = set; then :
4092 $as_echo_n "(cached) " >&6
4093 else
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4098 main ()
4102 return 0;
4104 _ACEOF
4105 rm -f conftest.o conftest.obj
4106 if { { ac_try="$ac_compile"
4107 case "(($ac_try" in
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4110 esac
4111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112 $as_echo "$ac_try_echo"; } >&5
4113 (eval "$ac_compile") 2>&5
4114 ac_status=$?
4115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116 test $ac_status = 0; }; then :
4117 for ac_file in conftest.o conftest.obj conftest.*; do
4118 test -f "$ac_file" || continue;
4119 case $ac_file in
4120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4121 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4122 break;;
4123 esac
4124 done
4125 else
4126 $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error "cannot compute suffix of object files: cannot compile
4132 See \`config.log' for more details." "$LINENO" 5; }
4134 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4137 $as_echo "$ac_cv_objext" >&6; }
4138 OBJEXT=$ac_cv_objext
4139 ac_objext=$OBJEXT
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4141 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4142 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4144 else
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4149 main ()
4151 #ifndef __GNUC__
4152 choke me
4153 #endif
4156 return 0;
4158 _ACEOF
4159 if ac_fn_c_try_compile "$LINENO"; then :
4160 ac_compiler_gnu=yes
4161 else
4162 ac_compiler_gnu=no
4164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4169 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4170 if test $ac_compiler_gnu = yes; then
4171 GCC=yes
4172 else
4173 GCC=
4175 ac_test_CFLAGS=${CFLAGS+set}
4176 ac_save_CFLAGS=$CFLAGS
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4178 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4179 if test "${ac_cv_prog_cc_g+set}" = set; then :
4180 $as_echo_n "(cached) " >&6
4181 else
4182 ac_save_c_werror_flag=$ac_c_werror_flag
4183 ac_c_werror_flag=yes
4184 ac_cv_prog_cc_g=no
4185 CFLAGS="-g"
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4190 main ()
4194 return 0;
4196 _ACEOF
4197 if ac_fn_c_try_compile "$LINENO"; then :
4198 ac_cv_prog_cc_g=yes
4199 else
4200 CFLAGS=""
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4205 main ()
4209 return 0;
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4214 else
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4216 CFLAGS="-g"
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4221 main ()
4225 return 0;
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229 ac_cv_prog_cc_g=yes
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_c_werror_flag=$ac_save_c_werror_flag
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4239 $as_echo "$ac_cv_prog_cc_g" >&6; }
4240 if test "$ac_test_CFLAGS" = set; then
4241 CFLAGS=$ac_save_CFLAGS
4242 elif test $ac_cv_prog_cc_g = yes; then
4243 if test "$GCC" = yes; then
4244 CFLAGS="-g -O2"
4245 else
4246 CFLAGS="-g"
4248 else
4249 if test "$GCC" = yes; then
4250 CFLAGS="-O2"
4251 else
4252 CFLAGS=
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4256 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4257 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 ac_cv_prog_cc_c89=no
4261 ac_save_CC=$CC
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4264 #include <stdarg.h>
4265 #include <stdio.h>
4266 #include <sys/types.h>
4267 #include <sys/stat.h>
4268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4269 struct buf { int x; };
4270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4271 static char *e (p, i)
4272 char **p;
4273 int i;
4275 return p[i];
4277 static char *f (char * (*g) (char **, int), char **p, ...)
4279 char *s;
4280 va_list v;
4281 va_start (v,p);
4282 s = g (p, va_arg (v,int));
4283 va_end (v);
4284 return s;
4287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4288 function prototypes and stuff, but not '\xHH' hex character constants.
4289 These don't provoke an error unfortunately, instead are silently treated
4290 as 'x'. The following induces an error, until -std is added to get
4291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4292 array size at least. It's necessary to write '\x00'==0 to get something
4293 that's true only with -std. */
4294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4297 inside strings and character constants. */
4298 #define FOO(x) 'x'
4299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4301 int test (int i, double x);
4302 struct s1 {int (*f) (int a);};
4303 struct s2 {int (*f) (double a);};
4304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4305 int argc;
4306 char **argv;
4308 main ()
4310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4312 return 0;
4314 _ACEOF
4315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4318 CC="$ac_save_CC $ac_arg"
4319 if ac_fn_c_try_compile "$LINENO"; then :
4320 ac_cv_prog_cc_c89=$ac_arg
4322 rm -f core conftest.err conftest.$ac_objext
4323 test "x$ac_cv_prog_cc_c89" != "xno" && break
4324 done
4325 rm -f conftest.$ac_ext
4326 CC=$ac_save_CC
4329 # AC_CACHE_VAL
4330 case "x$ac_cv_prog_cc_c89" in
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4333 $as_echo "none needed" >&6; } ;;
4334 xno)
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4336 $as_echo "unsupported" >&6; } ;;
4338 CC="$CC $ac_cv_prog_cc_c89"
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4341 esac
4342 if test "x$ac_cv_prog_cc_c89" != xno; then :
4346 ac_ext=c
4347 ac_cpp='$CPP $CPPFLAGS'
4348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4352 ac_ext=cpp
4353 ac_cpp='$CXXCPP $CPPFLAGS'
4354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4357 if test -z "$CXX"; then
4358 if test -n "$CCC"; then
4359 CXX=$CCC
4360 else
4361 if test -n "$ac_tool_prefix"; then
4362 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if test "${ac_cv_prog_CXX+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 if test -n "$CXX"; then
4372 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4373 else
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH
4377 IFS=$as_save_IFS
4378 test -z "$as_dir" && as_dir=.
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4381 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 break 2
4385 done
4386 done
4387 IFS=$as_save_IFS
4391 CXX=$ac_cv_prog_CXX
4392 if test -n "$CXX"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4394 $as_echo "$CXX" >&6; }
4395 else
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4401 test -n "$CXX" && break
4402 done
4404 if test -z "$CXX"; then
4405 ac_ct_CXX=$CXX
4406 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4408 # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy $ac_prog; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4414 else
4415 if test -n "$ac_ct_CXX"; then
4416 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4417 else
4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 for as_dir in $PATH
4421 IFS=$as_save_IFS
4422 test -z "$as_dir" && as_dir=.
4423 for ac_exec_ext in '' $ac_executable_extensions; do
4424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425 ac_cv_prog_ac_ct_CXX="$ac_prog"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 break 2
4429 done
4430 done
4431 IFS=$as_save_IFS
4435 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4436 if test -n "$ac_ct_CXX"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4438 $as_echo "$ac_ct_CXX" >&6; }
4439 else
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4445 test -n "$ac_ct_CXX" && break
4446 done
4448 if test "x$ac_ct_CXX" = x; then
4449 CXX="g++"
4450 else
4451 case $cross_compiling:$ac_tool_warned in
4452 yes:)
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4455 ac_tool_warned=yes ;;
4456 esac
4457 CXX=$ac_ct_CXX
4463 # Provide some information about the compiler.
4464 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4465 set X $ac_compile
4466 ac_compiler=$2
4467 for ac_option in --version -v -V -qversion; do
4468 { { ac_try="$ac_compiler $ac_option >&5"
4469 case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4476 ac_status=$?
4477 if test -s conftest.err; then
4478 sed '10a\
4479 ... rest of stderr output deleted ...
4480 10q' conftest.err >conftest.er1
4481 cat conftest.er1 >&5
4482 rm -f conftest.er1 conftest.err
4484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4485 test $ac_status = 0; }
4486 done
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4489 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4490 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4491 $as_echo_n "(cached) " >&6
4492 else
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4497 main ()
4499 #ifndef __GNUC__
4500 choke me
4501 #endif
4504 return 0;
4506 _ACEOF
4507 if ac_fn_cxx_try_compile "$LINENO"; then :
4508 ac_compiler_gnu=yes
4509 else
4510 ac_compiler_gnu=no
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4517 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4518 if test $ac_compiler_gnu = yes; then
4519 GXX=yes
4520 else
4521 GXX=
4523 ac_test_CXXFLAGS=${CXXFLAGS+set}
4524 ac_save_CXXFLAGS=$CXXFLAGS
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4526 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4527 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4530 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4531 ac_cxx_werror_flag=yes
4532 ac_cv_prog_cxx_g=no
4533 CXXFLAGS="-g"
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4538 main ()
4542 return 0;
4544 _ACEOF
4545 if ac_fn_cxx_try_compile "$LINENO"; then :
4546 ac_cv_prog_cxx_g=yes
4547 else
4548 CXXFLAGS=""
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4553 main ()
4557 return 0;
4559 _ACEOF
4560 if ac_fn_cxx_try_compile "$LINENO"; then :
4562 else
4563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4564 CXXFLAGS="-g"
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4569 main ()
4573 return 0;
4575 _ACEOF
4576 if ac_fn_cxx_try_compile "$LINENO"; then :
4577 ac_cv_prog_cxx_g=yes
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4587 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4588 if test "$ac_test_CXXFLAGS" = set; then
4589 CXXFLAGS=$ac_save_CXXFLAGS
4590 elif test $ac_cv_prog_cxx_g = yes; then
4591 if test "$GXX" = yes; then
4592 CXXFLAGS="-g -O2"
4593 else
4594 CXXFLAGS="-g"
4596 else
4597 if test "$GXX" = yes; then
4598 CXXFLAGS="-O2"
4599 else
4600 CXXFLAGS=
4603 ac_ext=c
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4609 CXXFLAGS="$save_CXXFLAGS"
4611 # Runs configure.host, and assorted other critical bits. Sets
4612 # up critical shell variables.
4614 ac_ext=c
4615 ac_cpp='$CPP $CPPFLAGS'
4616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4620 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4621 # On Suns, sometimes $CPP names a directory.
4622 if test -n "$CPP" && test -d "$CPP"; then
4623 CPP=
4625 if test -z "$CPP"; then
4626 if test "${ac_cv_prog_CPP+set}" = set; then :
4627 $as_echo_n "(cached) " >&6
4628 else
4629 # Double quotes because CPP needs to be expanded
4630 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4632 ac_preproc_ok=false
4633 for ac_c_preproc_warn_flag in '' yes
4635 # Use a header file that comes with gcc, so configuring glibc
4636 # with a fresh cross-compiler works.
4637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 # <limits.h> exists even on freestanding compilers.
4639 # On the NeXT, cc -E runs the code through the compiler's parser,
4640 # not just through cpp. "Syntax error" is here to catch this case.
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4643 #ifdef __STDC__
4644 # include <limits.h>
4645 #else
4646 # include <assert.h>
4647 #endif
4648 Syntax error
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4652 else
4653 # Broken: fails on valid input.
4654 continue
4656 rm -f conftest.err conftest.$ac_ext
4658 # OK, works on sane cases. Now check whether nonexistent headers
4659 # can be detected and how.
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4662 #include <ac_nonexistent.h>
4663 _ACEOF
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4665 # Broken: success on invalid input.
4666 continue
4667 else
4668 # Passes both tests.
4669 ac_preproc_ok=:
4670 break
4672 rm -f conftest.err conftest.$ac_ext
4674 done
4675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4676 rm -f conftest.err conftest.$ac_ext
4677 if $ac_preproc_ok; then :
4678 break
4681 done
4682 ac_cv_prog_CPP=$CPP
4685 CPP=$ac_cv_prog_CPP
4686 else
4687 ac_cv_prog_CPP=$CPP
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4690 $as_echo "$CPP" >&6; }
4691 ac_preproc_ok=false
4692 for ac_c_preproc_warn_flag in '' yes
4694 # Use a header file that comes with gcc, so configuring glibc
4695 # with a fresh cross-compiler works.
4696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4697 # <limits.h> exists even on freestanding compilers.
4698 # On the NeXT, cc -E runs the code through the compiler's parser,
4699 # not just through cpp. "Syntax error" is here to catch this case.
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 #ifdef __STDC__
4703 # include <limits.h>
4704 #else
4705 # include <assert.h>
4706 #endif
4707 Syntax error
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4711 else
4712 # Broken: fails on valid input.
4713 continue
4715 rm -f conftest.err conftest.$ac_ext
4717 # OK, works on sane cases. Now check whether nonexistent headers
4718 # can be detected and how.
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #include <ac_nonexistent.h>
4722 _ACEOF
4723 if ac_fn_c_try_cpp "$LINENO"; then :
4724 # Broken: success on invalid input.
4725 continue
4726 else
4727 # Passes both tests.
4728 ac_preproc_ok=:
4729 break
4731 rm -f conftest.err conftest.$ac_ext
4733 done
4734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4735 rm -f conftest.err conftest.$ac_ext
4736 if $ac_preproc_ok; then :
4738 else
4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4741 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4742 See \`config.log' for more details." "$LINENO" 5; }
4745 ac_ext=c
4746 ac_cpp='$CPP $CPPFLAGS'
4747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4753 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4754 if test "${ac_cv_path_GREP+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 if test -z "$GREP"; then
4758 ac_path_GREP_found=false
4759 # Loop through the user's path and test for each of PROGNAME-LIST
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_prog in grep ggrep; do
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4768 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4769 # Check for GNU ac_path_GREP and select it if it is found.
4770 # Check for GNU $ac_path_GREP
4771 case `"$ac_path_GREP" --version 2>&1` in
4772 *GNU*)
4773 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4775 ac_count=0
4776 $as_echo_n 0123456789 >"conftest.in"
4777 while :
4779 cat "conftest.in" "conftest.in" >"conftest.tmp"
4780 mv "conftest.tmp" "conftest.in"
4781 cp "conftest.in" "conftest.nl"
4782 $as_echo 'GREP' >> "conftest.nl"
4783 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4784 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4785 as_fn_arith $ac_count + 1 && ac_count=$as_val
4786 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4787 # Best one so far, save it but keep looking for a better one
4788 ac_cv_path_GREP="$ac_path_GREP"
4789 ac_path_GREP_max=$ac_count
4791 # 10*(2^10) chars as input seems more than enough
4792 test $ac_count -gt 10 && break
4793 done
4794 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4795 esac
4797 $ac_path_GREP_found && break 3
4798 done
4799 done
4800 done
4801 IFS=$as_save_IFS
4802 if test -z "$ac_cv_path_GREP"; then
4803 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4805 else
4806 ac_cv_path_GREP=$GREP
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4811 $as_echo "$ac_cv_path_GREP" >&6; }
4812 GREP="$ac_cv_path_GREP"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4816 $as_echo_n "checking for egrep... " >&6; }
4817 if test "${ac_cv_path_EGREP+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4821 then ac_cv_path_EGREP="$GREP -E"
4822 else
4823 if test -z "$EGREP"; then
4824 ac_path_EGREP_found=false
4825 # Loop through the user's path and test for each of PROGNAME-LIST
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4829 IFS=$as_save_IFS
4830 test -z "$as_dir" && as_dir=.
4831 for ac_prog in egrep; do
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4834 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4835 # Check for GNU ac_path_EGREP and select it if it is found.
4836 # Check for GNU $ac_path_EGREP
4837 case `"$ac_path_EGREP" --version 2>&1` in
4838 *GNU*)
4839 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4841 ac_count=0
4842 $as_echo_n 0123456789 >"conftest.in"
4843 while :
4845 cat "conftest.in" "conftest.in" >"conftest.tmp"
4846 mv "conftest.tmp" "conftest.in"
4847 cp "conftest.in" "conftest.nl"
4848 $as_echo 'EGREP' >> "conftest.nl"
4849 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4850 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4851 as_fn_arith $ac_count + 1 && ac_count=$as_val
4852 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4853 # Best one so far, save it but keep looking for a better one
4854 ac_cv_path_EGREP="$ac_path_EGREP"
4855 ac_path_EGREP_max=$ac_count
4857 # 10*(2^10) chars as input seems more than enough
4858 test $ac_count -gt 10 && break
4859 done
4860 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4861 esac
4863 $ac_path_EGREP_found && break 3
4864 done
4865 done
4866 done
4867 IFS=$as_save_IFS
4868 if test -z "$ac_cv_path_EGREP"; then
4869 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4871 else
4872 ac_cv_path_EGREP=$EGREP
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4878 $as_echo "$ac_cv_path_EGREP" >&6; }
4879 EGREP="$ac_cv_path_EGREP"
4883 # Keep these sync'd with the list in Makefile.am. The first provides an
4884 # expandable list at autoconf time; the second provides an expandable list
4885 # (i.e., shell variable) at configure time.
4887 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4889 # These need to be absolute paths, yet at the same time need to
4890 # canonicalize only relative paths, because then amd will not unmount
4891 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4892 glibcxx_builddir=`${PWDCMD-pwd}`
4893 case $srcdir in
4894 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4895 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4896 esac
4897 toplevel_builddir=${glibcxx_builddir}/..
4898 toplevel_srcdir=${glibcxx_srcdir}/..
4904 # We use these options to decide which functions to include. They are
4905 # set from the top level.
4907 # Check whether --with-target-subdir was given.
4908 if test "${with_target_subdir+set}" = set; then :
4909 withval=$with_target_subdir;
4914 # Check whether --with-cross-host was given.
4915 if test "${with_cross_host+set}" = set; then :
4916 withval=$with_cross_host;
4921 # Check whether --with-newlib was given.
4922 if test "${with_newlib+set}" = set; then :
4923 withval=$with_newlib;
4927 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4928 # available). Uncomment the next line to force a particular method.
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4930 $as_echo_n "checking whether ln -s works... " >&6; }
4931 LN_S=$as_ln_s
4932 if test "$LN_S" = "ln -s"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4934 $as_echo "yes" >&6; }
4935 else
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4937 $as_echo "no, using $LN_S" >&6; }
4940 #LN_S='cp -p'
4942 if test -n "$ac_tool_prefix"; then
4943 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}as; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_AS+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 if test -n "$AS"; then
4951 ac_cv_prog_AS="$AS" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_AS="${ac_tool_prefix}as"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4964 done
4965 done
4966 IFS=$as_save_IFS
4970 AS=$ac_cv_prog_AS
4971 if test -n "$AS"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4973 $as_echo "$AS" >&6; }
4974 else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4981 if test -z "$ac_cv_prog_AS"; then
4982 ac_ct_AS=$AS
4983 # Extract the first word of "as", so it can be a program name with args.
4984 set dummy as; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 if test -n "$ac_ct_AS"; then
4991 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_ac_ct_AS="as"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5011 if test -n "$ac_ct_AS"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5013 $as_echo "$ac_ct_AS" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5019 if test "x$ac_ct_AS" = x; then
5020 AS=""
5021 else
5022 case $cross_compiling:$ac_tool_warned in
5023 yes:)
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5027 esac
5028 AS=$ac_ct_AS
5030 else
5031 AS="$ac_cv_prog_AS"
5034 if test -n "$ac_tool_prefix"; then
5035 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}ar; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if test "${ac_cv_prog_AR+set}" = set; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$AR"; then
5043 ac_cv_prog_AR="$AR" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052 ac_cv_prog_AR="${ac_tool_prefix}ar"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 AR=$ac_cv_prog_AR
5063 if test -n "$AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5065 $as_echo "$AR" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5073 if test -z "$ac_cv_prog_AR"; then
5074 ac_ct_AR=$AR
5075 # Extract the first word of "ar", so it can be a program name with args.
5076 set dummy ar; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$ac_ct_AR"; then
5083 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092 ac_cv_prog_ac_ct_AR="ar"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5096 done
5097 done
5098 IFS=$as_save_IFS
5102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5103 if test -n "$ac_ct_AR"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5105 $as_echo "$ac_ct_AR" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5111 if test "x$ac_ct_AR" = x; then
5112 AR=""
5113 else
5114 case $cross_compiling:$ac_tool_warned in
5115 yes:)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5119 esac
5120 AR=$ac_ct_AR
5122 else
5123 AR="$ac_cv_prog_AR"
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5150 IFS=$as_save_IFS
5154 RANLIB=$ac_cv_prog_RANLIB
5155 if test -n "$RANLIB"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5157 $as_echo "$RANLIB" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5165 if test -z "$ac_cv_prog_RANLIB"; then
5166 ac_ct_RANLIB=$RANLIB
5167 # Extract the first word of "ranlib", so it can be a program name with args.
5168 set dummy ranlib; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 if test -n "$ac_ct_RANLIB"; then
5175 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5180 IFS=$as_save_IFS
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_ac_ct_RANLIB="ranlib"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 break 2
5188 done
5189 done
5190 IFS=$as_save_IFS
5194 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5195 if test -n "$ac_ct_RANLIB"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5197 $as_echo "$ac_ct_RANLIB" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5203 if test "x$ac_ct_RANLIB" = x; then
5204 RANLIB="ranlib-not-found-in-path-error"
5205 else
5206 case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned=yes ;;
5211 esac
5212 RANLIB=$ac_ct_RANLIB
5214 else
5215 RANLIB="$ac_cv_prog_RANLIB"
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5221 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5222 # Check whether --enable-maintainer-mode was given.
5223 if test "${enable_maintainer_mode+set}" = set; then :
5224 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5225 else
5226 USE_MAINTAINER_MODE=no
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5230 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5231 if test $USE_MAINTAINER_MODE = yes; then
5232 MAINTAINER_MODE_TRUE=
5233 MAINTAINER_MODE_FALSE='#'
5234 else
5235 MAINTAINER_MODE_TRUE='#'
5236 MAINTAINER_MODE_FALSE=
5239 MAINT=$MAINTAINER_MODE_TRUE
5243 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5244 # which are themselves conditionally expanded.
5245 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5246 ## other macros from doing the same. This should be automated.) -pme
5248 # Check for C library flavor since GNU/Linux platforms use different
5249 # configuration directories depending on the C library in use.
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5253 #include <stdio.h>
5254 #if __UCLIBC__
5255 _using_uclibc
5256 #endif
5258 _ACEOF
5259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5260 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5261 uclibc=yes
5262 else
5263 uclibc=no
5265 rm -f conftest*
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5271 #include <stdio.h>
5272 #if __BIONIC__
5273 _using_bionic
5274 #endif
5276 _ACEOF
5277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5278 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5279 bionic=yes
5280 else
5281 bionic=no
5283 rm -f conftest*
5286 # Find platform-specific directories containing configuration info.
5287 # Also possibly modify flags used elsewhere, as needed by the platform.
5289 . $glibcxx_srcdir/configure.host
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5291 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5293 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5297 # Libtool setup.
5298 if test "x${with_newlib}" != "xyes"; then
5299 enable_dlopen=yes
5304 case `pwd` in
5305 *\ * | *\ *)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5307 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5308 esac
5312 macro_version='2.2.7a'
5313 macro_revision='1.3134'
5327 ltmain="$ac_aux_dir/ltmain.sh"
5329 # Backslashify metacharacters that are still active within
5330 # double-quoted strings.
5331 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5333 # Same as above, but do not quote variable references.
5334 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5336 # Sed substitution to delay expansion of an escaped shell variable in a
5337 # double_quote_subst'ed string.
5338 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5340 # Sed substitution to delay expansion of an escaped single quote.
5341 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5343 # Sed substitution to avoid accidental globbing in evaled expressions
5344 no_glob_subst='s/\*/\\\*/g'
5346 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5347 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5348 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5351 $as_echo_n "checking how to print strings... " >&6; }
5352 # Test print first, because it will be a builtin if present.
5353 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5354 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5355 ECHO='print -r --'
5356 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5357 ECHO='printf %s\n'
5358 else
5359 # Use this function as a fallback that always works.
5360 func_fallback_echo ()
5362 eval 'cat <<_LTECHO_EOF
5364 _LTECHO_EOF'
5366 ECHO='func_fallback_echo'
5369 # func_echo_all arg...
5370 # Invoke $ECHO with all args, space-separated.
5371 func_echo_all ()
5373 $ECHO ""
5376 case "$ECHO" in
5377 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5378 $as_echo "printf" >&6; } ;;
5379 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5380 $as_echo "print -r" >&6; } ;;
5381 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5382 $as_echo "cat" >&6; } ;;
5383 esac
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5399 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5400 if test "${ac_cv_path_SED+set}" = set; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5404 for ac_i in 1 2 3 4 5 6 7; do
5405 ac_script="$ac_script$as_nl$ac_script"
5406 done
5407 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5408 { ac_script=; unset ac_script;}
5409 if test -z "$SED"; then
5410 ac_path_SED_found=false
5411 # Loop through the user's path and test for each of PROGNAME-LIST
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_prog in sed gsed; do
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5420 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5421 # Check for GNU ac_path_SED and select it if it is found.
5422 # Check for GNU $ac_path_SED
5423 case `"$ac_path_SED" --version 2>&1` in
5424 *GNU*)
5425 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5427 ac_count=0
5428 $as_echo_n 0123456789 >"conftest.in"
5429 while :
5431 cat "conftest.in" "conftest.in" >"conftest.tmp"
5432 mv "conftest.tmp" "conftest.in"
5433 cp "conftest.in" "conftest.nl"
5434 $as_echo '' >> "conftest.nl"
5435 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437 as_fn_arith $ac_count + 1 && ac_count=$as_val
5438 if test $ac_count -gt ${ac_path_SED_max-0}; then
5439 # Best one so far, save it but keep looking for a better one
5440 ac_cv_path_SED="$ac_path_SED"
5441 ac_path_SED_max=$ac_count
5443 # 10*(2^10) chars as input seems more than enough
5444 test $ac_count -gt 10 && break
5445 done
5446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447 esac
5449 $ac_path_SED_found && break 3
5450 done
5451 done
5452 done
5453 IFS=$as_save_IFS
5454 if test -z "$ac_cv_path_SED"; then
5455 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5457 else
5458 ac_cv_path_SED=$SED
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5463 $as_echo "$ac_cv_path_SED" >&6; }
5464 SED="$ac_cv_path_SED"
5465 rm -f conftest.sed
5467 test -z "$SED" && SED=sed
5468 Xsed="$SED -e 1s/^X//"
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5481 $as_echo_n "checking for fgrep... " >&6; }
5482 if test "${ac_cv_path_FGREP+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5486 then ac_cv_path_FGREP="$GREP -F"
5487 else
5488 if test -z "$FGREP"; then
5489 ac_path_FGREP_found=false
5490 # Loop through the user's path and test for each of PROGNAME-LIST
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_prog in fgrep; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5499 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5500 # Check for GNU ac_path_FGREP and select it if it is found.
5501 # Check for GNU $ac_path_FGREP
5502 case `"$ac_path_FGREP" --version 2>&1` in
5503 *GNU*)
5504 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5506 ac_count=0
5507 $as_echo_n 0123456789 >"conftest.in"
5508 while :
5510 cat "conftest.in" "conftest.in" >"conftest.tmp"
5511 mv "conftest.tmp" "conftest.in"
5512 cp "conftest.in" "conftest.nl"
5513 $as_echo 'FGREP' >> "conftest.nl"
5514 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516 as_fn_arith $ac_count + 1 && ac_count=$as_val
5517 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5518 # Best one so far, save it but keep looking for a better one
5519 ac_cv_path_FGREP="$ac_path_FGREP"
5520 ac_path_FGREP_max=$ac_count
5522 # 10*(2^10) chars as input seems more than enough
5523 test $ac_count -gt 10 && break
5524 done
5525 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526 esac
5528 $ac_path_FGREP_found && break 3
5529 done
5530 done
5531 done
5532 IFS=$as_save_IFS
5533 if test -z "$ac_cv_path_FGREP"; then
5534 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5536 else
5537 ac_cv_path_FGREP=$FGREP
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5543 $as_echo "$ac_cv_path_FGREP" >&6; }
5544 FGREP="$ac_cv_path_FGREP"
5547 test -z "$GREP" && GREP=grep
5567 # Check whether --with-gnu-ld was given.
5568 if test "${with_gnu_ld+set}" = set; then :
5569 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5570 else
5571 with_gnu_ld=no
5574 ac_prog=ld
5575 if test "$GCC" = yes; then
5576 # Check if gcc -print-prog-name=ld gives a path.
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5578 $as_echo_n "checking for ld used by $CC... " >&6; }
5579 case $host in
5580 *-*-mingw*)
5581 # gcc leaves a trailing carriage return which upsets mingw
5582 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5584 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5585 esac
5586 case $ac_prog in
5587 # Accept absolute paths.
5588 [\\/]* | ?:[\\/]*)
5589 re_direlt='/[^/][^/]*/\.\./'
5590 # Canonicalize the pathname of ld
5591 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5592 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5593 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5594 done
5595 test -z "$LD" && LD="$ac_prog"
5598 # If it fails, then pretend we aren't using GCC.
5599 ac_prog=ld
5602 # If it is relative, then search for the first ld in PATH.
5603 with_gnu_ld=unknown
5605 esac
5606 elif test "$with_gnu_ld" = yes; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5608 $as_echo_n "checking for GNU ld... " >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5611 $as_echo_n "checking for non-GNU ld... " >&6; }
5613 if test "${lt_cv_path_LD+set}" = set; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if test -z "$LD"; then
5617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5618 for ac_dir in $PATH; do
5619 IFS="$lt_save_ifs"
5620 test -z "$ac_dir" && ac_dir=.
5621 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5622 lt_cv_path_LD="$ac_dir/$ac_prog"
5623 # Check to see if the program is GNU ld. I'd rather use --version,
5624 # but apparently some variants of GNU ld only accept -v.
5625 # Break only if it was the GNU/non-GNU ld that we prefer.
5626 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5627 *GNU* | *'with BFD'*)
5628 test "$with_gnu_ld" != no && break
5631 test "$with_gnu_ld" != yes && break
5633 esac
5635 done
5636 IFS="$lt_save_ifs"
5637 else
5638 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5642 LD="$lt_cv_path_LD"
5643 if test -n "$LD"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5645 $as_echo "$LD" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5650 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5652 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5653 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5657 case `$LD -v 2>&1 </dev/null` in
5658 *GNU* | *'with BFD'*)
5659 lt_cv_prog_gnu_ld=yes
5662 lt_cv_prog_gnu_ld=no
5664 esac
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5667 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5668 with_gnu_ld=$lt_cv_prog_gnu_ld
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5679 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5680 if test "${lt_cv_path_NM+set}" = set; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 if test -n "$NM"; then
5684 # Let the user override the test.
5685 lt_cv_path_NM="$NM"
5686 else
5687 lt_nm_to_check="${ac_tool_prefix}nm"
5688 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5689 lt_nm_to_check="$lt_nm_to_check nm"
5691 for lt_tmp_nm in $lt_nm_to_check; do
5692 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5693 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5694 IFS="$lt_save_ifs"
5695 test -z "$ac_dir" && ac_dir=.
5696 tmp_nm="$ac_dir/$lt_tmp_nm"
5697 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5698 # Check to see if the nm accepts a BSD-compat flag.
5699 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5700 # nm: unknown option "B" ignored
5701 # Tru64's nm complains that /dev/null is an invalid object file
5702 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5703 */dev/null* | *'Invalid file or object type'*)
5704 lt_cv_path_NM="$tmp_nm -B"
5705 break
5708 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5709 */dev/null*)
5710 lt_cv_path_NM="$tmp_nm -p"
5711 break
5714 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5715 continue # so that we can try to find one that supports BSD flags
5717 esac
5719 esac
5721 done
5722 IFS="$lt_save_ifs"
5723 done
5724 : ${lt_cv_path_NM=no}
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5728 $as_echo "$lt_cv_path_NM" >&6; }
5729 if test "$lt_cv_path_NM" != "no"; then
5730 NM="$lt_cv_path_NM"
5731 else
5732 # Didn't find any BSD compatible name lister, look for dumpbin.
5733 if test -n "$DUMPBIN"; then :
5734 # Let the user override the test.
5735 else
5736 if test -n "$ac_tool_prefix"; then
5737 for ac_prog in dumpbin "link -dump"
5739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 if test -n "$DUMPBIN"; then
5747 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5752 IFS=$as_save_IFS
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 break 2
5760 done
5761 done
5762 IFS=$as_save_IFS
5766 DUMPBIN=$ac_cv_prog_DUMPBIN
5767 if test -n "$DUMPBIN"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5769 $as_echo "$DUMPBIN" >&6; }
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5776 test -n "$DUMPBIN" && break
5777 done
5779 if test -z "$DUMPBIN"; then
5780 ac_ct_DUMPBIN=$DUMPBIN
5781 for ac_prog in dumpbin "link -dump"
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 if test -n "$ac_ct_DUMPBIN"; then
5791 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5804 done
5805 done
5806 IFS=$as_save_IFS
5810 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5811 if test -n "$ac_ct_DUMPBIN"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5813 $as_echo "$ac_ct_DUMPBIN" >&6; }
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5820 test -n "$ac_ct_DUMPBIN" && break
5821 done
5823 if test "x$ac_ct_DUMPBIN" = x; then
5824 DUMPBIN=":"
5825 else
5826 case $cross_compiling:$ac_tool_warned in
5827 yes:)
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5830 ac_tool_warned=yes ;;
5831 esac
5832 DUMPBIN=$ac_ct_DUMPBIN
5836 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5837 *COFF*)
5838 DUMPBIN="$DUMPBIN -symbols"
5841 DUMPBIN=:
5843 esac
5846 if test "$DUMPBIN" != ":"; then
5847 NM="$DUMPBIN"
5850 test -z "$NM" && NM=nm
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5858 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5859 if test "${lt_cv_nm_interface+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 lt_cv_nm_interface="BSD nm"
5863 echo "int some_variable = 0;" > conftest.$ac_ext
5864 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5865 (eval "$ac_compile" 2>conftest.err)
5866 cat conftest.err >&5
5867 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5868 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5869 cat conftest.err >&5
5870 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5871 cat conftest.out >&5
5872 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5873 lt_cv_nm_interface="MS dumpbin"
5875 rm -f conftest*
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5878 $as_echo "$lt_cv_nm_interface" >&6; }
5880 # find the maximum length of command line arguments
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5882 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5883 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5887 teststring="ABCD"
5889 case $build_os in
5890 msdosdjgpp*)
5891 # On DJGPP, this test can blow up pretty badly due to problems in libc
5892 # (any single argument exceeding 2000 bytes causes a buffer overrun
5893 # during glob expansion). Even if it were fixed, the result of this
5894 # check would be larger than it should be.
5895 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5898 gnu*)
5899 # Under GNU Hurd, this test is not required because there is
5900 # no limit to the length of command line arguments.
5901 # Libtool will interpret -1 as no limit whatsoever
5902 lt_cv_sys_max_cmd_len=-1;
5905 cygwin* | mingw* | cegcc*)
5906 # On Win9x/ME, this test blows up -- it succeeds, but takes
5907 # about 5 minutes as the teststring grows exponentially.
5908 # Worse, since 9x/ME are not pre-emptively multitasking,
5909 # you end up with a "frozen" computer, even though with patience
5910 # the test eventually succeeds (with a max line length of 256k).
5911 # Instead, let's just punt: use the minimum linelength reported by
5912 # all of the supported platforms: 8192 (on NT/2K/XP).
5913 lt_cv_sys_max_cmd_len=8192;
5916 mint*)
5917 # On MiNT this can take a long time and run out of memory.
5918 lt_cv_sys_max_cmd_len=8192;
5921 amigaos*)
5922 # On AmigaOS with pdksh, this test takes hours, literally.
5923 # So we just punt and use a minimum line length of 8192.
5924 lt_cv_sys_max_cmd_len=8192;
5927 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5928 # This has been around since 386BSD, at least. Likely further.
5929 if test -x /sbin/sysctl; then
5930 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5931 elif test -x /usr/sbin/sysctl; then
5932 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5933 else
5934 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5936 # And add a safety zone
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5941 interix*)
5942 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5943 lt_cv_sys_max_cmd_len=196608
5946 osf*)
5947 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5948 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5949 # nice to cause kernel panics so lets avoid the loop below.
5950 # First set a reasonable default.
5951 lt_cv_sys_max_cmd_len=16384
5953 if test -x /sbin/sysconfig; then
5954 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5955 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5956 esac
5959 sco3.2v5*)
5960 lt_cv_sys_max_cmd_len=102400
5962 sysv5* | sco5v6* | sysv4.2uw2*)
5963 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5964 if test -n "$kargmax"; then
5965 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5966 else
5967 lt_cv_sys_max_cmd_len=32768
5971 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5972 if test -n "$lt_cv_sys_max_cmd_len"; then
5973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5975 else
5976 # Make teststring a little bigger before we do anything with it.
5977 # a 1K string should be a reasonable start.
5978 for i in 1 2 3 4 5 6 7 8 ; do
5979 teststring=$teststring$teststring
5980 done
5981 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5982 # If test is not a shell built-in, we'll probably end up computing a
5983 # maximum length that is only half of the actual maximum length, but
5984 # we can't tell.
5985 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5986 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5987 test $i != 17 # 1/2 MB should be enough
5989 i=`expr $i + 1`
5990 teststring=$teststring$teststring
5991 done
5992 # Only check the string length outside the loop.
5993 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5994 teststring=
5995 # Add a significant safety factor because C++ compilers can tack on
5996 # massive amounts of additional arguments before passing them to the
5997 # linker. It appears as though 1/2 is a usable value.
5998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6001 esac
6005 if test -n $lt_cv_sys_max_cmd_len ; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6007 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6010 $as_echo "none" >&6; }
6012 max_cmd_len=$lt_cv_sys_max_cmd_len
6019 : ${CP="cp -f"}
6020 : ${MV="mv -f"}
6021 : ${RM="rm -f"}
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6024 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6025 # Try some XSI features
6026 xsi_shell=no
6027 ( _lt_dummy="a/b/c"
6028 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6029 = c,a/b,, \
6030 && eval 'test $(( 1 + 1 )) -eq 2 \
6031 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6032 && xsi_shell=yes
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6034 $as_echo "$xsi_shell" >&6; }
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6038 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6039 lt_shell_append=no
6040 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6041 >/dev/null 2>&1 \
6042 && lt_shell_append=yes
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6044 $as_echo "$lt_shell_append" >&6; }
6047 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6048 lt_unset=unset
6049 else
6050 lt_unset=false
6057 # test EBCDIC or ASCII
6058 case `echo X|tr X '\101'` in
6059 A) # ASCII based system
6060 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6061 lt_SP2NL='tr \040 \012'
6062 lt_NL2SP='tr \015\012 \040\040'
6064 *) # EBCDIC based system
6065 lt_SP2NL='tr \100 \n'
6066 lt_NL2SP='tr \r\n \100\100'
6068 esac
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6079 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6080 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6081 $as_echo_n "(cached) " >&6
6082 else
6083 lt_cv_ld_reload_flag='-r'
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6086 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6087 reload_flag=$lt_cv_ld_reload_flag
6088 case $reload_flag in
6089 "" | " "*) ;;
6090 *) reload_flag=" $reload_flag" ;;
6091 esac
6092 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6093 case $host_os in
6094 darwin*)
6095 if test "$GCC" = yes; then
6096 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6097 else
6098 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6101 esac
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$OBJDUMP"; then
6120 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 OBJDUMP=$ac_cv_prog_OBJDUMP
6140 if test -n "$OBJDUMP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6142 $as_echo "$OBJDUMP" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6150 if test -z "$ac_cv_prog_OBJDUMP"; then
6151 ac_ct_OBJDUMP=$OBJDUMP
6152 # Extract the first word of "objdump", so it can be a program name with args.
6153 set dummy objdump; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6157 $as_echo_n "(cached) " >&6
6158 else
6159 if test -n "$ac_ct_OBJDUMP"; then
6160 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6165 IFS=$as_save_IFS
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 break 2
6173 done
6174 done
6175 IFS=$as_save_IFS
6179 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6180 if test -n "$ac_ct_OBJDUMP"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6182 $as_echo "$ac_ct_OBJDUMP" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6188 if test "x$ac_ct_OBJDUMP" = x; then
6189 OBJDUMP="false"
6190 else
6191 case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197 OBJDUMP=$ac_ct_OBJDUMP
6199 else
6200 OBJDUMP="$ac_cv_prog_OBJDUMP"
6203 test -z "$OBJDUMP" && OBJDUMP=objdump
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6214 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6215 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 lt_cv_file_magic_cmd='$MAGIC_CMD'
6219 lt_cv_file_magic_test_file=
6220 lt_cv_deplibs_check_method='unknown'
6221 # Need to set the preceding variable on all platforms that support
6222 # interlibrary dependencies.
6223 # 'none' -- dependencies not supported.
6224 # `unknown' -- same as none, but documents that we really don't know.
6225 # 'pass_all' -- all dependencies passed with no checks.
6226 # 'test_compile' -- check by making test program.
6227 # 'file_magic [[regex]]' -- check by looking for files in library path
6228 # which responds to the $file_magic_cmd with a given extended regex.
6229 # If you have `file' or equivalent on your system and you're not sure
6230 # whether `pass_all' will *always* work, you probably want this one.
6232 case $host_os in
6233 aix[4-9]*)
6234 lt_cv_deplibs_check_method=pass_all
6237 beos*)
6238 lt_cv_deplibs_check_method=pass_all
6241 bsdi[45]*)
6242 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6243 lt_cv_file_magic_cmd='/usr/bin/file -L'
6244 lt_cv_file_magic_test_file=/shlib/libc.so
6247 cygwin*)
6248 # func_win32_libid is a shell function defined in ltmain.sh
6249 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6250 lt_cv_file_magic_cmd='func_win32_libid'
6253 mingw* | pw32*)
6254 # Base MSYS/MinGW do not provide the 'file' command needed by
6255 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6256 # unless we find 'file', for example because we are cross-compiling.
6257 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6258 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6259 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6260 lt_cv_file_magic_cmd='func_win32_libid'
6261 else
6262 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6267 cegcc*)
6268 # use the weaker test based on 'objdump'. See mingw*.
6269 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6270 lt_cv_file_magic_cmd='$OBJDUMP -f'
6273 darwin* | rhapsody*)
6274 lt_cv_deplibs_check_method=pass_all
6277 freebsd* | dragonfly*)
6278 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6279 case $host_cpu in
6280 i*86 )
6281 # Not sure whether the presence of OpenBSD here was a mistake.
6282 # Let's accept both of them until this is cleared up.
6283 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6284 lt_cv_file_magic_cmd=/usr/bin/file
6285 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6287 esac
6288 else
6289 lt_cv_deplibs_check_method=pass_all
6293 gnu*)
6294 lt_cv_deplibs_check_method=pass_all
6297 haiku*)
6298 lt_cv_deplibs_check_method=pass_all
6301 hpux10.20* | hpux11*)
6302 lt_cv_file_magic_cmd=/usr/bin/file
6303 case $host_cpu in
6304 ia64*)
6305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6306 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6308 hppa*64*)
6309 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]'
6310 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6313 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6314 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6316 esac
6319 interix[3-9]*)
6320 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6321 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6324 irix5* | irix6* | nonstopux*)
6325 case $LD in
6326 *-32|*"-32 ") libmagic=32-bit;;
6327 *-n32|*"-n32 ") libmagic=N32;;
6328 *-64|*"-64 ") libmagic=64-bit;;
6329 *) libmagic=never-match;;
6330 esac
6331 lt_cv_deplibs_check_method=pass_all
6334 # This must be Linux ELF.
6335 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6336 lt_cv_deplibs_check_method=pass_all
6339 netbsd*)
6340 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6342 else
6343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6347 newos6*)
6348 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6349 lt_cv_file_magic_cmd=/usr/bin/file
6350 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6353 *nto* | *qnx*)
6354 lt_cv_deplibs_check_method=pass_all
6357 openbsd*)
6358 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6359 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6360 else
6361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6365 osf3* | osf4* | osf5*)
6366 lt_cv_deplibs_check_method=pass_all
6369 rdos*)
6370 lt_cv_deplibs_check_method=pass_all
6373 solaris*)
6374 lt_cv_deplibs_check_method=pass_all
6377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6378 lt_cv_deplibs_check_method=pass_all
6381 sysv4 | sysv4.3*)
6382 case $host_vendor in
6383 motorola)
6384 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]'
6385 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6387 ncr)
6388 lt_cv_deplibs_check_method=pass_all
6390 sequent)
6391 lt_cv_file_magic_cmd='/bin/file'
6392 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6394 sni)
6395 lt_cv_file_magic_cmd='/bin/file'
6396 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6397 lt_cv_file_magic_test_file=/lib/libc.so
6399 siemens)
6400 lt_cv_deplibs_check_method=pass_all
6403 lt_cv_deplibs_check_method=pass_all
6405 esac
6408 tpf*)
6409 lt_cv_deplibs_check_method=pass_all
6411 esac
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6415 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6416 file_magic_cmd=$lt_cv_file_magic_cmd
6417 deplibs_check_method=$lt_cv_deplibs_check_method
6418 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}ar; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if test "${ac_cv_prog_AR+set}" = set; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if test -n "$AR"; then
6440 ac_cv_prog_AR="$AR" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_AR="${ac_tool_prefix}ar"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6453 done
6454 done
6455 IFS=$as_save_IFS
6459 AR=$ac_cv_prog_AR
6460 if test -n "$AR"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6462 $as_echo "$AR" >&6; }
6463 else
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6470 if test -z "$ac_cv_prog_AR"; then
6471 ac_ct_AR=$AR
6472 # Extract the first word of "ar", so it can be a program name with args.
6473 set dummy ar; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$ac_ct_AR"; then
6480 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489 ac_cv_prog_ac_ct_AR="ar"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6493 done
6494 done
6495 IFS=$as_save_IFS
6499 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6500 if test -n "$ac_ct_AR"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6502 $as_echo "$ac_ct_AR" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6508 if test "x$ac_ct_AR" = x; then
6509 AR="false"
6510 else
6511 case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517 AR=$ac_ct_AR
6519 else
6520 AR="$ac_cv_prog_AR"
6523 test -z "$AR" && AR=ar
6524 test -z "$AR_FLAGS" && AR_FLAGS=cru
6536 if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6538 set dummy ${ac_tool_prefix}strip; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if test "${ac_cv_prog_STRIP+set}" = set; then :
6542 $as_echo_n "(cached) " >&6
6543 else
6544 if test -n "$STRIP"; then
6545 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6550 IFS=$as_save_IFS
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 break 2
6558 done
6559 done
6560 IFS=$as_save_IFS
6564 STRIP=$ac_cv_prog_STRIP
6565 if test -n "$STRIP"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6567 $as_echo "$STRIP" >&6; }
6568 else
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6575 if test -z "$ac_cv_prog_STRIP"; then
6576 ac_ct_STRIP=$STRIP
6577 # Extract the first word of "strip", so it can be a program name with args.
6578 set dummy strip; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6582 $as_echo_n "(cached) " >&6
6583 else
6584 if test -n "$ac_ct_STRIP"; then
6585 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6590 IFS=$as_save_IFS
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594 ac_cv_prog_ac_ct_STRIP="strip"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 break 2
6598 done
6599 done
6600 IFS=$as_save_IFS
6604 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6605 if test -n "$ac_ct_STRIP"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6607 $as_echo "$ac_ct_STRIP" >&6; }
6608 else
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6613 if test "x$ac_ct_STRIP" = x; then
6614 STRIP=":"
6615 else
6616 case $cross_compiling:$ac_tool_warned in
6617 yes:)
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6620 ac_tool_warned=yes ;;
6621 esac
6622 STRIP=$ac_ct_STRIP
6624 else
6625 STRIP="$ac_cv_prog_STRIP"
6628 test -z "$STRIP" && STRIP=:
6635 if test -n "$ac_tool_prefix"; then
6636 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6641 $as_echo_n "(cached) " >&6
6642 else
6643 if test -n "$RANLIB"; then
6644 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6645 else
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 for as_dir in $PATH
6649 IFS=$as_save_IFS
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655 break 2
6657 done
6658 done
6659 IFS=$as_save_IFS
6663 RANLIB=$ac_cv_prog_RANLIB
6664 if test -n "$RANLIB"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6666 $as_echo "$RANLIB" >&6; }
6667 else
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669 $as_echo "no" >&6; }
6674 if test -z "$ac_cv_prog_RANLIB"; then
6675 ac_ct_RANLIB=$RANLIB
6676 # Extract the first word of "ranlib", so it can be a program name with args.
6677 set dummy ranlib; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6681 $as_echo_n "(cached) " >&6
6682 else
6683 if test -n "$ac_ct_RANLIB"; then
6684 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6689 IFS=$as_save_IFS
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_ac_ct_RANLIB="ranlib"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 break 2
6697 done
6698 done
6699 IFS=$as_save_IFS
6703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6704 if test -n "$ac_ct_RANLIB"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6706 $as_echo "$ac_ct_RANLIB" >&6; }
6707 else
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6712 if test "x$ac_ct_RANLIB" = x; then
6713 RANLIB=":"
6714 else
6715 case $cross_compiling:$ac_tool_warned in
6716 yes:)
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719 ac_tool_warned=yes ;;
6720 esac
6721 RANLIB=$ac_ct_RANLIB
6723 else
6724 RANLIB="$ac_cv_prog_RANLIB"
6727 test -z "$RANLIB" && RANLIB=:
6734 # Determine commands to create old-style static archives.
6735 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6736 old_postinstall_cmds='chmod 644 $oldlib'
6737 old_postuninstall_cmds=
6739 if test -n "$RANLIB"; then
6740 case $host_os in
6741 openbsd*)
6742 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6745 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6747 esac
6748 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6751 case $host_os in
6752 darwin*)
6753 lock_old_archive_extraction=yes ;;
6755 lock_old_archive_extraction=no ;;
6756 esac
6796 # If no C compiler was specified, use CC.
6797 LTCC=${LTCC-"$CC"}
6799 # If no C compiler flags were specified, use CFLAGS.
6800 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6802 # Allow CC to be a program name with arguments.
6803 compiler=$CC
6806 # Check for command to grab the raw symbol name followed by C symbol from nm.
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6808 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6809 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6813 # These are sane defaults that work on at least a few old systems.
6814 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6816 # Character class describing NM global symbol codes.
6817 symcode='[BCDEGRST]'
6819 # Regexp to match symbols that can be accessed directly from C.
6820 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6822 # Define system-specific variables.
6823 case $host_os in
6824 aix*)
6825 symcode='[BCDT]'
6827 cygwin* | mingw* | pw32* | cegcc*)
6828 symcode='[ABCDGISTW]'
6830 hpux*)
6831 if test "$host_cpu" = ia64; then
6832 symcode='[ABCDEGRST]'
6835 irix* | nonstopux*)
6836 symcode='[BCDEGRST]'
6838 osf*)
6839 symcode='[BCDEGQRST]'
6841 solaris*)
6842 symcode='[BDRT]'
6844 sco3.2v5*)
6845 symcode='[DT]'
6847 sysv4.2uw2*)
6848 symcode='[DT]'
6850 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6851 symcode='[ABDT]'
6853 sysv4)
6854 symcode='[DFNSTU]'
6856 esac
6858 # If we're using GNU nm, then use its standard symbol codes.
6859 case `$NM -V 2>&1` in
6860 *GNU* | *'with BFD'*)
6861 symcode='[ABCDGIRSTW]' ;;
6862 esac
6864 # Transform an extracted symbol line into a proper C declaration.
6865 # Some systems (esp. on ia64) link data and code symbols differently,
6866 # so use this general approach.
6867 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6869 # Transform an extracted symbol line into symbol name and symbol address
6870 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6871 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'"
6873 # Handle CRLF in mingw tool chain
6874 opt_cr=
6875 case $build_os in
6876 mingw*)
6877 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6879 esac
6881 # Try without a prefix underscore, then with it.
6882 for ac_symprfx in "" "_"; do
6884 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6885 symxfrm="\\1 $ac_symprfx\\2 \\2"
6887 # Write the raw and C identifiers.
6888 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6889 # Fake it for dumpbin and say T for any non-static function
6890 # and D for any global variable.
6891 # Also find C++ and __fastcall symbols from MSVC++,
6892 # which start with @ or ?.
6893 lt_cv_sys_global_symbol_pipe="$AWK '"\
6894 " {last_section=section; section=\$ 3};"\
6895 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6896 " \$ 0!~/External *\|/{next};"\
6897 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6898 " {if(hide[section]) next};"\
6899 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6900 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6901 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6902 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6903 " ' prfx=^$ac_symprfx"
6904 else
6905 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6908 # Check to see that the pipe works correctly.
6909 pipe_works=no
6911 rm -f conftest*
6912 cat > conftest.$ac_ext <<_LT_EOF
6913 #ifdef __cplusplus
6914 extern "C" {
6915 #endif
6916 char nm_test_var;
6917 void nm_test_func(void);
6918 void nm_test_func(void){}
6919 #ifdef __cplusplus
6921 #endif
6922 int main(){nm_test_var='a';nm_test_func();return(0);}
6923 _LT_EOF
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 # Now try to grab the symbols.
6931 nlist=conftest.nm
6932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6933 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6934 ac_status=$?
6935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936 test $ac_status = 0; } && test -s "$nlist"; then
6937 # Try sorting and uniquifying the output.
6938 if sort "$nlist" | uniq > "$nlist"T; then
6939 mv -f "$nlist"T "$nlist"
6940 else
6941 rm -f "$nlist"T
6944 # Make sure that we snagged all the symbols we need.
6945 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6946 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6947 cat <<_LT_EOF > conftest.$ac_ext
6948 #ifdef __cplusplus
6949 extern "C" {
6950 #endif
6952 _LT_EOF
6953 # Now generate the symbol file.
6954 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6956 cat <<_LT_EOF >> conftest.$ac_ext
6958 /* The mapping between symbol names and symbols. */
6959 const struct {
6960 const char *name;
6961 void *address;
6963 lt__PROGRAM__LTX_preloaded_symbols[] =
6965 { "@PROGRAM@", (void *) 0 },
6966 _LT_EOF
6967 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6968 cat <<\_LT_EOF >> conftest.$ac_ext
6969 {0, (void *) 0}
6972 /* This works around a problem in FreeBSD linker */
6973 #ifdef FREEBSD_WORKAROUND
6974 static const void *lt_preloaded_setup() {
6975 return lt__PROGRAM__LTX_preloaded_symbols;
6977 #endif
6979 #ifdef __cplusplus
6981 #endif
6982 _LT_EOF
6983 # Now try linking the two files.
6984 mv conftest.$ac_objext conftstm.$ac_objext
6985 lt_save_LIBS="$LIBS"
6986 lt_save_CFLAGS="$CFLAGS"
6987 LIBS="conftstm.$ac_objext"
6988 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6990 (eval $ac_link) 2>&5
6991 ac_status=$?
6992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6994 pipe_works=yes
6996 LIBS="$lt_save_LIBS"
6997 CFLAGS="$lt_save_CFLAGS"
6998 else
6999 echo "cannot find nm_test_func in $nlist" >&5
7001 else
7002 echo "cannot find nm_test_var in $nlist" >&5
7004 else
7005 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7007 else
7008 echo "$progname: failed program was:" >&5
7009 cat conftest.$ac_ext >&5
7011 rm -rf conftest* conftst*
7013 # Do not use the global_symbol_pipe unless it works.
7014 if test "$pipe_works" = yes; then
7015 break
7016 else
7017 lt_cv_sys_global_symbol_pipe=
7019 done
7023 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7024 lt_cv_sys_global_symbol_to_cdecl=
7026 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7028 $as_echo "failed" >&6; }
7029 else
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7031 $as_echo "ok" >&6; }
7055 # Check whether --enable-libtool-lock was given.
7056 if test "${enable_libtool_lock+set}" = set; then :
7057 enableval=$enable_libtool_lock;
7060 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7062 # Some flags need to be propagated to the compiler or linker for good
7063 # libtool support.
7064 case $host in
7065 ia64-*-hpux*)
7066 # Find out which ABI we are using.
7067 echo 'int i;' > conftest.$ac_ext
7068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7069 (eval $ac_compile) 2>&5
7070 ac_status=$?
7071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7072 test $ac_status = 0; }; then
7073 case `/usr/bin/file conftest.$ac_objext` in
7074 *ELF-32*)
7075 HPUX_IA64_MODE="32"
7077 *ELF-64*)
7078 HPUX_IA64_MODE="64"
7080 esac
7082 rm -rf conftest*
7084 *-*-irix6*)
7085 # Find out which ABI we are using.
7086 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088 (eval $ac_compile) 2>&5
7089 ac_status=$?
7090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091 test $ac_status = 0; }; then
7092 if test "$lt_cv_prog_gnu_ld" = yes; then
7093 case `/usr/bin/file conftest.$ac_objext` in
7094 *32-bit*)
7095 LD="${LD-ld} -melf32bsmip"
7097 *N32*)
7098 LD="${LD-ld} -melf32bmipn32"
7100 *64-bit*)
7101 LD="${LD-ld} -melf64bmip"
7103 esac
7104 else
7105 case `/usr/bin/file conftest.$ac_objext` in
7106 *32-bit*)
7107 LD="${LD-ld} -32"
7109 *N32*)
7110 LD="${LD-ld} -n32"
7112 *64-bit*)
7113 LD="${LD-ld} -64"
7115 esac
7118 rm -rf conftest*
7121 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7122 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7123 # Find out which ABI we are using.
7124 echo 'int i;' > conftest.$ac_ext
7125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7126 (eval $ac_compile) 2>&5
7127 ac_status=$?
7128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129 test $ac_status = 0; }; then
7130 case `/usr/bin/file conftest.o` in
7131 *32-bit*)
7132 case $host in
7133 x86_64-*kfreebsd*-gnu)
7134 LD="${LD-ld} -m elf_i386_fbsd"
7136 x86_64-*linux*)
7137 case `/usr/bin/file conftest.o` in
7138 *x86-64*)
7139 LD="${LD-ld} -m elf32_x86_64"
7142 LD="${LD-ld} -m elf_i386"
7144 esac
7146 powerpc64le-*linux*)
7147 LD="${LD-ld} -m elf32lppclinux"
7149 powerpc64-*linux*)
7150 LD="${LD-ld} -m elf32ppclinux"
7152 s390x-*linux*)
7153 LD="${LD-ld} -m elf_s390"
7155 sparc64-*linux*)
7156 LD="${LD-ld} -m elf32_sparc"
7158 esac
7160 *64-bit*)
7161 case $host in
7162 x86_64-*kfreebsd*-gnu)
7163 LD="${LD-ld} -m elf_x86_64_fbsd"
7165 x86_64-*linux*)
7166 LD="${LD-ld} -m elf_x86_64"
7168 powerpcle-*linux*)
7169 LD="${LD-ld} -m elf64lppc"
7171 powerpc-*linux*)
7172 LD="${LD-ld} -m elf64ppc"
7174 s390*-*linux*|s390*-*tpf*)
7175 LD="${LD-ld} -m elf64_s390"
7177 sparc*-*linux*)
7178 LD="${LD-ld} -m elf64_sparc"
7180 esac
7182 esac
7184 rm -rf conftest*
7187 *-*-sco3.2v5*)
7188 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7189 SAVE_CFLAGS="$CFLAGS"
7190 CFLAGS="$CFLAGS -belf"
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7192 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7193 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 ac_ext=c
7197 ac_cpp='$CPP $CPPFLAGS'
7198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7202 if test x$gcc_no_link = xyes; then
7203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7209 main ()
7213 return 0;
7215 _ACEOF
7216 if ac_fn_c_try_link "$LINENO"; then :
7217 lt_cv_cc_needs_belf=yes
7218 else
7219 lt_cv_cc_needs_belf=no
7221 rm -f core conftest.err conftest.$ac_objext \
7222 conftest$ac_exeext conftest.$ac_ext
7223 ac_ext=c
7224 ac_cpp='$CPP $CPPFLAGS'
7225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7231 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7232 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7233 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7234 CFLAGS="$SAVE_CFLAGS"
7237 sparc*-*solaris*)
7238 # Find out which ABI we are using.
7239 echo 'int i;' > conftest.$ac_ext
7240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7241 (eval $ac_compile) 2>&5
7242 ac_status=$?
7243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7244 test $ac_status = 0; }; then
7245 case `/usr/bin/file conftest.o` in
7246 *64-bit*)
7247 case $lt_cv_prog_gnu_ld in
7248 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7250 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7251 LD="${LD-ld} -64"
7254 esac
7256 esac
7258 rm -rf conftest*
7260 esac
7262 need_locks="$enable_libtool_lock"
7265 case $host_os in
7266 rhapsody* | darwin*)
7267 if test -n "$ac_tool_prefix"; then
7268 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 if test -n "$DSYMUTIL"; then
7276 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7281 IFS=$as_save_IFS
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 break 2
7289 done
7290 done
7291 IFS=$as_save_IFS
7295 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7296 if test -n "$DSYMUTIL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7298 $as_echo "$DSYMUTIL" >&6; }
7299 else
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7306 if test -z "$ac_cv_prog_DSYMUTIL"; then
7307 ac_ct_DSYMUTIL=$DSYMUTIL
7308 # Extract the first word of "dsymutil", so it can be a program name with args.
7309 set dummy dsymutil; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7313 $as_echo_n "(cached) " >&6
7314 else
7315 if test -n "$ac_ct_DSYMUTIL"; then
7316 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7321 IFS=$as_save_IFS
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 break 2
7329 done
7330 done
7331 IFS=$as_save_IFS
7335 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7336 if test -n "$ac_ct_DSYMUTIL"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7338 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7339 else
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7344 if test "x$ac_ct_DSYMUTIL" = x; then
7345 DSYMUTIL=":"
7346 else
7347 case $cross_compiling:$ac_tool_warned in
7348 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7352 esac
7353 DSYMUTIL=$ac_ct_DSYMUTIL
7355 else
7356 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7359 if test -n "$ac_tool_prefix"; then
7360 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7361 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7365 $as_echo_n "(cached) " >&6
7366 else
7367 if test -n "$NMEDIT"; then
7368 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7373 IFS=$as_save_IFS
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 break 2
7381 done
7382 done
7383 IFS=$as_save_IFS
7387 NMEDIT=$ac_cv_prog_NMEDIT
7388 if test -n "$NMEDIT"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7390 $as_echo "$NMEDIT" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7398 if test -z "$ac_cv_prog_NMEDIT"; then
7399 ac_ct_NMEDIT=$NMEDIT
7400 # Extract the first word of "nmedit", so it can be a program name with args.
7401 set dummy nmedit; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7405 $as_echo_n "(cached) " >&6
7406 else
7407 if test -n "$ac_ct_NMEDIT"; then
7408 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7413 IFS=$as_save_IFS
7414 test -z "$as_dir" && as_dir=.
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 break 2
7421 done
7422 done
7423 IFS=$as_save_IFS
7427 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7428 if test -n "$ac_ct_NMEDIT"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7430 $as_echo "$ac_ct_NMEDIT" >&6; }
7431 else
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7436 if test "x$ac_ct_NMEDIT" = x; then
7437 NMEDIT=":"
7438 else
7439 case $cross_compiling:$ac_tool_warned in
7440 yes:)
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7443 ac_tool_warned=yes ;;
7444 esac
7445 NMEDIT=$ac_ct_NMEDIT
7447 else
7448 NMEDIT="$ac_cv_prog_NMEDIT"
7451 if test -n "$ac_tool_prefix"; then
7452 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7453 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_LIPO+set}" = set; then :
7457 $as_echo_n "(cached) " >&6
7458 else
7459 if test -n "$LIPO"; then
7460 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7465 IFS=$as_save_IFS
7466 test -z "$as_dir" && as_dir=.
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 break 2
7473 done
7474 done
7475 IFS=$as_save_IFS
7479 LIPO=$ac_cv_prog_LIPO
7480 if test -n "$LIPO"; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7482 $as_echo "$LIPO" >&6; }
7483 else
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7490 if test -z "$ac_cv_prog_LIPO"; then
7491 ac_ct_LIPO=$LIPO
7492 # Extract the first word of "lipo", so it can be a program name with args.
7493 set dummy lipo; ac_word=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7497 $as_echo_n "(cached) " >&6
7498 else
7499 if test -n "$ac_ct_LIPO"; then
7500 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7501 else
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 for as_dir in $PATH
7505 IFS=$as_save_IFS
7506 test -z "$as_dir" && as_dir=.
7507 for ac_exec_ext in '' $ac_executable_extensions; do
7508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509 ac_cv_prog_ac_ct_LIPO="lipo"
7510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 break 2
7513 done
7514 done
7515 IFS=$as_save_IFS
7519 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7520 if test -n "$ac_ct_LIPO"; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7522 $as_echo "$ac_ct_LIPO" >&6; }
7523 else
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7528 if test "x$ac_ct_LIPO" = x; then
7529 LIPO=":"
7530 else
7531 case $cross_compiling:$ac_tool_warned in
7532 yes:)
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7535 ac_tool_warned=yes ;;
7536 esac
7537 LIPO=$ac_ct_LIPO
7539 else
7540 LIPO="$ac_cv_prog_LIPO"
7543 if test -n "$ac_tool_prefix"; then
7544 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}otool; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7549 $as_echo_n "(cached) " >&6
7550 else
7551 if test -n "$OTOOL"; then
7552 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7557 IFS=$as_save_IFS
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 break 2
7565 done
7566 done
7567 IFS=$as_save_IFS
7571 OTOOL=$ac_cv_prog_OTOOL
7572 if test -n "$OTOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7574 $as_echo "$OTOOL" >&6; }
7575 else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7582 if test -z "$ac_cv_prog_OTOOL"; then
7583 ac_ct_OTOOL=$OTOOL
7584 # Extract the first word of "otool", so it can be a program name with args.
7585 set dummy otool; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7589 $as_echo_n "(cached) " >&6
7590 else
7591 if test -n "$ac_ct_OTOOL"; then
7592 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7597 IFS=$as_save_IFS
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7601 ac_cv_prog_ac_ct_OTOOL="otool"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 break 2
7605 done
7606 done
7607 IFS=$as_save_IFS
7611 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7612 if test -n "$ac_ct_OTOOL"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7614 $as_echo "$ac_ct_OTOOL" >&6; }
7615 else
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7620 if test "x$ac_ct_OTOOL" = x; then
7621 OTOOL=":"
7622 else
7623 case $cross_compiling:$ac_tool_warned in
7624 yes:)
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7627 ac_tool_warned=yes ;;
7628 esac
7629 OTOOL=$ac_ct_OTOOL
7631 else
7632 OTOOL="$ac_cv_prog_OTOOL"
7635 if test -n "$ac_tool_prefix"; then
7636 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7637 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7641 $as_echo_n "(cached) " >&6
7642 else
7643 if test -n "$OTOOL64"; then
7644 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7645 else
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 for as_dir in $PATH
7649 IFS=$as_save_IFS
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 break 2
7657 done
7658 done
7659 IFS=$as_save_IFS
7663 OTOOL64=$ac_cv_prog_OTOOL64
7664 if test -n "$OTOOL64"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7666 $as_echo "$OTOOL64" >&6; }
7667 else
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7674 if test -z "$ac_cv_prog_OTOOL64"; then
7675 ac_ct_OTOOL64=$OTOOL64
7676 # Extract the first word of "otool64", so it can be a program name with args.
7677 set dummy otool64; ac_word=$2
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679 $as_echo_n "checking for $ac_word... " >&6; }
7680 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7681 $as_echo_n "(cached) " >&6
7682 else
7683 if test -n "$ac_ct_OTOOL64"; then
7684 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7685 else
7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 for as_dir in $PATH
7689 IFS=$as_save_IFS
7690 test -z "$as_dir" && as_dir=.
7691 for ac_exec_ext in '' $ac_executable_extensions; do
7692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693 ac_cv_prog_ac_ct_OTOOL64="otool64"
7694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7695 break 2
7697 done
7698 done
7699 IFS=$as_save_IFS
7703 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7704 if test -n "$ac_ct_OTOOL64"; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7706 $as_echo "$ac_ct_OTOOL64" >&6; }
7707 else
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709 $as_echo "no" >&6; }
7712 if test "x$ac_ct_OTOOL64" = x; then
7713 OTOOL64=":"
7714 else
7715 case $cross_compiling:$ac_tool_warned in
7716 yes:)
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7719 ac_tool_warned=yes ;;
7720 esac
7721 OTOOL64=$ac_ct_OTOOL64
7723 else
7724 OTOOL64="$ac_cv_prog_OTOOL64"
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7754 $as_echo_n "checking for -single_module linker flag... " >&6; }
7755 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7756 $as_echo_n "(cached) " >&6
7757 else
7758 lt_cv_apple_cc_single_mod=no
7759 if test -z "${LT_MULTI_MODULE}"; then
7760 # By default we will add the -single_module flag. You can override
7761 # by either setting the environment variable LT_MULTI_MODULE
7762 # non-empty at configure time, or by adding -multi_module to the
7763 # link flags.
7764 rm -rf libconftest.dylib*
7765 echo "int foo(void){return 1;}" > conftest.c
7766 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7767 -dynamiclib -Wl,-single_module conftest.c" >&5
7768 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7769 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7770 _lt_result=$?
7771 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7772 lt_cv_apple_cc_single_mod=yes
7773 else
7774 cat conftest.err >&5
7776 rm -rf libconftest.dylib*
7777 rm -f conftest.*
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7781 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7783 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7784 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7785 $as_echo_n "(cached) " >&6
7786 else
7787 lt_cv_ld_exported_symbols_list=no
7788 save_LDFLAGS=$LDFLAGS
7789 echo "_main" > conftest.sym
7790 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7791 if test x$gcc_no_link = xyes; then
7792 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7798 main ()
7802 return 0;
7804 _ACEOF
7805 if ac_fn_c_try_link "$LINENO"; then :
7806 lt_cv_ld_exported_symbols_list=yes
7807 else
7808 lt_cv_ld_exported_symbols_list=no
7810 rm -f core conftest.err conftest.$ac_objext \
7811 conftest$ac_exeext conftest.$ac_ext
7812 LDFLAGS="$save_LDFLAGS"
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7816 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7818 $as_echo_n "checking for -force_load linker flag... " >&6; }
7819 if test "${lt_cv_ld_force_load+set}" = set; then :
7820 $as_echo_n "(cached) " >&6
7821 else
7822 lt_cv_ld_force_load=no
7823 cat > conftest.c << _LT_EOF
7824 int forced_loaded() { return 2;}
7825 _LT_EOF
7826 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7827 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7828 echo "$AR cru libconftest.a conftest.o" >&5
7829 $AR cru libconftest.a conftest.o 2>&5
7830 cat > conftest.c << _LT_EOF
7831 int main() { return 0;}
7832 _LT_EOF
7833 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7834 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7835 _lt_result=$?
7836 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7837 lt_cv_ld_force_load=yes
7838 else
7839 cat conftest.err >&5
7841 rm -f conftest.err libconftest.a conftest conftest.c
7842 rm -rf conftest.dSYM
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7846 $as_echo "$lt_cv_ld_force_load" >&6; }
7847 case $host_os in
7848 rhapsody* | darwin1.[012])
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7850 darwin1.*)
7851 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7852 darwin*) # darwin 5.x on
7853 # if running on 10.5 or later, the deployment target defaults
7854 # to the OS version, if on x86, and 10.4, the deployment
7855 # target defaults to 10.4. Don't you love it?
7856 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7857 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7858 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7859 10.[012]*)
7860 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7861 10.*)
7862 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7863 esac
7865 esac
7866 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7867 _lt_dar_single_mod='$single_module'
7869 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7870 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7871 else
7872 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7874 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7875 _lt_dsymutil='~$DSYMUTIL $lib || :'
7876 else
7877 _lt_dsymutil=
7880 esac
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7883 $as_echo_n "checking for ANSI C header files... " >&6; }
7884 if test "${ac_cv_header_stdc+set}" = set; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7889 #include <stdlib.h>
7890 #include <stdarg.h>
7891 #include <string.h>
7892 #include <float.h>
7895 main ()
7899 return 0;
7901 _ACEOF
7902 if ac_fn_c_try_compile "$LINENO"; then :
7903 ac_cv_header_stdc=yes
7904 else
7905 ac_cv_header_stdc=no
7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7909 if test $ac_cv_header_stdc = yes; then
7910 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <string.h>
7915 _ACEOF
7916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7917 $EGREP "memchr" >/dev/null 2>&1; then :
7919 else
7920 ac_cv_header_stdc=no
7922 rm -f conftest*
7926 if test $ac_cv_header_stdc = yes; then
7927 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7930 #include <stdlib.h>
7932 _ACEOF
7933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7934 $EGREP "free" >/dev/null 2>&1; then :
7936 else
7937 ac_cv_header_stdc=no
7939 rm -f conftest*
7943 if test $ac_cv_header_stdc = yes; then
7944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7945 if test "$cross_compiling" = yes; then :
7947 else
7948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7950 #include <ctype.h>
7951 #include <stdlib.h>
7952 #if ((' ' & 0x0FF) == 0x020)
7953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7955 #else
7956 # define ISLOWER(c) \
7957 (('a' <= (c) && (c) <= 'i') \
7958 || ('j' <= (c) && (c) <= 'r') \
7959 || ('s' <= (c) && (c) <= 'z'))
7960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7961 #endif
7963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7965 main ()
7967 int i;
7968 for (i = 0; i < 256; i++)
7969 if (XOR (islower (i), ISLOWER (i))
7970 || toupper (i) != TOUPPER (i))
7971 return 2;
7972 return 0;
7974 _ACEOF
7975 if ac_fn_c_try_run "$LINENO"; then :
7977 else
7978 ac_cv_header_stdc=no
7980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7981 conftest.$ac_objext conftest.beam conftest.$ac_ext
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7987 $as_echo "$ac_cv_header_stdc" >&6; }
7988 if test $ac_cv_header_stdc = yes; then
7990 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7996 inttypes.h stdint.h unistd.h
7997 do :
7998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8001 eval as_val=\$$as_ac_Header
8002 if test "x$as_val" = x""yes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8005 _ACEOF
8009 done
8012 for ac_header in dlfcn.h
8013 do :
8014 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8016 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8017 cat >>confdefs.h <<_ACEOF
8018 #define HAVE_DLFCN_H 1
8019 _ACEOF
8023 done
8030 # Set options
8035 enable_win32_dll=no
8038 # Check whether --enable-shared was given.
8039 if test "${enable_shared+set}" = set; then :
8040 enableval=$enable_shared; p=${PACKAGE-default}
8041 case $enableval in
8042 yes) enable_shared=yes ;;
8043 no) enable_shared=no ;;
8045 enable_shared=no
8046 # Look at the argument we got. We use all the common list separators.
8047 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048 for pkg in $enableval; do
8049 IFS="$lt_save_ifs"
8050 if test "X$pkg" = "X$p"; then
8051 enable_shared=yes
8053 done
8054 IFS="$lt_save_ifs"
8056 esac
8057 else
8058 enable_shared=yes
8069 # Check whether --enable-static was given.
8070 if test "${enable_static+set}" = set; then :
8071 enableval=$enable_static; p=${PACKAGE-default}
8072 case $enableval in
8073 yes) enable_static=yes ;;
8074 no) enable_static=no ;;
8076 enable_static=no
8077 # Look at the argument we got. We use all the common list separators.
8078 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8079 for pkg in $enableval; do
8080 IFS="$lt_save_ifs"
8081 if test "X$pkg" = "X$p"; then
8082 enable_static=yes
8084 done
8085 IFS="$lt_save_ifs"
8087 esac
8088 else
8089 enable_static=yes
8101 # Check whether --with-pic was given.
8102 if test "${with_pic+set}" = set; then :
8103 withval=$with_pic; pic_mode="$withval"
8104 else
8105 pic_mode=default
8109 test -z "$pic_mode" && pic_mode=default
8117 # Check whether --enable-fast-install was given.
8118 if test "${enable_fast_install+set}" = set; then :
8119 enableval=$enable_fast_install; p=${PACKAGE-default}
8120 case $enableval in
8121 yes) enable_fast_install=yes ;;
8122 no) enable_fast_install=no ;;
8124 enable_fast_install=no
8125 # Look at the argument we got. We use all the common list separators.
8126 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8127 for pkg in $enableval; do
8128 IFS="$lt_save_ifs"
8129 if test "X$pkg" = "X$p"; then
8130 enable_fast_install=yes
8132 done
8133 IFS="$lt_save_ifs"
8135 esac
8136 else
8137 enable_fast_install=yes
8150 # This can be used to rebuild libtool when needed
8151 LIBTOOL_DEPS="$ltmain"
8153 # Always use our own libtool.
8154 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8181 test -z "$LN_S" && LN_S="ln -s"
8196 if test -n "${ZSH_VERSION+set}" ; then
8197 setopt NO_GLOB_SUBST
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8201 $as_echo_n "checking for objdir... " >&6; }
8202 if test "${lt_cv_objdir+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 rm -f .libs 2>/dev/null
8206 mkdir .libs 2>/dev/null
8207 if test -d .libs; then
8208 lt_cv_objdir=.libs
8209 else
8210 # MS-DOS does not allow filenames that begin with a dot.
8211 lt_cv_objdir=_libs
8213 rmdir .libs 2>/dev/null
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8216 $as_echo "$lt_cv_objdir" >&6; }
8217 objdir=$lt_cv_objdir
8223 cat >>confdefs.h <<_ACEOF
8224 #define LT_OBJDIR "$lt_cv_objdir/"
8225 _ACEOF
8230 case $host_os in
8231 aix3*)
8232 # AIX sometimes has problems with the GCC collect2 program. For some
8233 # reason, if we set the COLLECT_NAMES environment variable, the problems
8234 # vanish in a puff of smoke.
8235 if test "X${COLLECT_NAMES+set}" != Xset; then
8236 COLLECT_NAMES=
8237 export COLLECT_NAMES
8240 esac
8242 # Global variables:
8243 ofile=libtool
8244 can_build_shared=yes
8246 # All known linkers require a `.a' archive for static linking (except MSVC,
8247 # which needs '.lib').
8248 libext=a
8250 with_gnu_ld="$lt_cv_prog_gnu_ld"
8252 old_CC="$CC"
8253 old_CFLAGS="$CFLAGS"
8255 # Set sane defaults for various variables
8256 test -z "$CC" && CC=cc
8257 test -z "$LTCC" && LTCC=$CC
8258 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8259 test -z "$LD" && LD=ld
8260 test -z "$ac_objext" && ac_objext=o
8262 for cc_temp in $compiler""; do
8263 case $cc_temp in
8264 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8265 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8266 \-*) ;;
8267 *) break;;
8268 esac
8269 done
8270 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8273 # Only perform the check for file, if the check method requires it
8274 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8275 case $deplibs_check_method in
8276 file_magic*)
8277 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8279 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8280 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 case $MAGIC_CMD in
8284 [\\/*] | ?:[\\/]*)
8285 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8288 lt_save_MAGIC_CMD="$MAGIC_CMD"
8289 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8290 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8291 for ac_dir in $ac_dummy; do
8292 IFS="$lt_save_ifs"
8293 test -z "$ac_dir" && ac_dir=.
8294 if test -f $ac_dir/${ac_tool_prefix}file; then
8295 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8296 if test -n "$file_magic_test_file"; then
8297 case $deplibs_check_method in
8298 "file_magic "*)
8299 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8302 $EGREP "$file_magic_regex" > /dev/null; then
8304 else
8305 cat <<_LT_EOF 1>&2
8307 *** Warning: the command libtool uses to detect shared libraries,
8308 *** $file_magic_cmd, produces output that libtool cannot recognize.
8309 *** The result is that libtool may fail to recognize shared libraries
8310 *** as such. This will affect the creation of libtool libraries that
8311 *** depend on shared libraries, but programs linked with such libtool
8312 *** libraries will work regardless of this problem. Nevertheless, you
8313 *** may want to report the problem to your system manager and/or to
8314 *** bug-libtool@gnu.org
8316 _LT_EOF
8317 fi ;;
8318 esac
8320 break
8322 done
8323 IFS="$lt_save_ifs"
8324 MAGIC_CMD="$lt_save_MAGIC_CMD"
8326 esac
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if test -n "$MAGIC_CMD"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8332 $as_echo "$MAGIC_CMD" >&6; }
8333 else
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8342 if test -z "$lt_cv_path_MAGIC_CMD"; then
8343 if test -n "$ac_tool_prefix"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8345 $as_echo_n "checking for file... " >&6; }
8346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 case $MAGIC_CMD in
8350 [\\/*] | ?:[\\/]*)
8351 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8354 lt_save_MAGIC_CMD="$MAGIC_CMD"
8355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8356 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8357 for ac_dir in $ac_dummy; do
8358 IFS="$lt_save_ifs"
8359 test -z "$ac_dir" && ac_dir=.
8360 if test -f $ac_dir/file; then
8361 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8362 if test -n "$file_magic_test_file"; then
8363 case $deplibs_check_method in
8364 "file_magic "*)
8365 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8368 $EGREP "$file_magic_regex" > /dev/null; then
8370 else
8371 cat <<_LT_EOF 1>&2
8373 *** Warning: the command libtool uses to detect shared libraries,
8374 *** $file_magic_cmd, produces output that libtool cannot recognize.
8375 *** The result is that libtool may fail to recognize shared libraries
8376 *** as such. This will affect the creation of libtool libraries that
8377 *** depend on shared libraries, but programs linked with such libtool
8378 *** libraries will work regardless of this problem. Nevertheless, you
8379 *** may want to report the problem to your system manager and/or to
8380 *** bug-libtool@gnu.org
8382 _LT_EOF
8383 fi ;;
8384 esac
8386 break
8388 done
8389 IFS="$lt_save_ifs"
8390 MAGIC_CMD="$lt_save_MAGIC_CMD"
8392 esac
8395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8396 if test -n "$MAGIC_CMD"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8398 $as_echo "$MAGIC_CMD" >&6; }
8399 else
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8405 else
8406 MAGIC_CMD=:
8412 esac
8414 # Use C for the default configuration in the libtool script
8416 lt_save_CC="$CC"
8417 ac_ext=c
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8424 # Source file extension for C test sources.
8425 ac_ext=c
8427 # Object file extension for compiled C test sources.
8428 objext=o
8429 objext=$objext
8431 # Code to be used in simple compile tests
8432 lt_simple_compile_test_code="int some_variable = 0;"
8434 # Code to be used in simple link tests
8435 lt_simple_link_test_code='int main(){return(0);}'
8443 # If no C compiler was specified, use CC.
8444 LTCC=${LTCC-"$CC"}
8446 # If no C compiler flags were specified, use CFLAGS.
8447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8449 # Allow CC to be a program name with arguments.
8450 compiler=$CC
8452 # Save the default compiler, since it gets overwritten when the other
8453 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8454 compiler_DEFAULT=$CC
8456 # save warnings/boilerplate of simple test code
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8459 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8460 _lt_compiler_boilerplate=`cat conftest.err`
8461 $RM conftest*
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8465 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8466 _lt_linker_boilerplate=`cat conftest.err`
8467 $RM -r conftest*
8470 ## CAVEAT EMPTOR:
8471 ## There is no encapsulation within the following macros, do not change
8472 ## the running order or otherwise move them around unless you know exactly
8473 ## what you are doing...
8474 if test -n "$compiler"; then
8476 lt_prog_compiler_no_builtin_flag=
8478 if test "$GCC" = yes; then
8479 case $cc_basename in
8480 nvcc*)
8481 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8483 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8484 esac
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8487 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8488 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 lt_cv_prog_compiler_rtti_exceptions=no
8492 ac_outfile=conftest.$ac_objext
8493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8494 lt_compiler_flag="-fno-rtti -fno-exceptions"
8495 # Insert the option either (1) after the last *FLAGS variable, or
8496 # (2) before a word containing "conftest.", or (3) at the end.
8497 # Note that $ac_compile itself does not contain backslashes and begins
8498 # with a dollar sign (not a hyphen), so the echo should work correctly.
8499 # The option is referenced via a variable to avoid confusing sed.
8500 lt_compile=`echo "$ac_compile" | $SED \
8501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8503 -e 's:$: $lt_compiler_flag:'`
8504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8505 (eval "$lt_compile" 2>conftest.err)
8506 ac_status=$?
8507 cat conftest.err >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 if (exit $ac_status) && test -s "$ac_outfile"; then
8510 # The compiler can only warn and ignore the option if not recognized
8511 # So say no if there are warnings other than the usual output.
8512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8515 lt_cv_prog_compiler_rtti_exceptions=yes
8518 $RM conftest*
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8522 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8524 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8525 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8526 else
8537 lt_prog_compiler_wl=
8538 lt_prog_compiler_pic=
8539 lt_prog_compiler_static=
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8542 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8544 if test "$GCC" = yes; then
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_static='-static'
8548 case $host_os in
8549 aix*)
8550 # All AIX code is PIC.
8551 if test "$host_cpu" = ia64; then
8552 # AIX 5 now supports IA64 processor
8553 lt_prog_compiler_static='-Bstatic'
8555 lt_prog_compiler_pic='-fPIC'
8558 amigaos*)
8559 case $host_cpu in
8560 powerpc)
8561 # see comment about AmigaOS4 .so support
8562 lt_prog_compiler_pic='-fPIC'
8564 m68k)
8565 # FIXME: we need at least 68020 code to build shared libraries, but
8566 # adding the `-m68020' flag to GCC prevents building anything better,
8567 # like `-m68040'.
8568 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8570 esac
8573 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8574 # PIC is the default for these OSes.
8577 mingw* | cygwin* | pw32* | os2* | cegcc*)
8578 # This hack is so that the source file can tell whether it is being
8579 # built for inclusion in a dll (and should export symbols for example).
8580 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8581 # (--disable-auto-import) libraries
8582 lt_prog_compiler_pic='-DDLL_EXPORT'
8585 darwin* | rhapsody*)
8586 # PIC is the default on this platform
8587 # Common symbols not allowed in MH_DYLIB files
8588 lt_prog_compiler_pic='-fno-common'
8591 haiku*)
8592 # PIC is the default for Haiku.
8593 # The "-static" flag exists, but is broken.
8594 lt_prog_compiler_static=
8597 hpux*)
8598 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8599 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8600 # sets the default TLS model and affects inlining.
8601 case $host_cpu in
8602 hppa*64*)
8603 # +Z the default
8606 lt_prog_compiler_pic='-fPIC'
8608 esac
8611 interix[3-9]*)
8612 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8613 # Instead, we relocate shared libraries at runtime.
8616 msdosdjgpp*)
8617 # Just because we use GCC doesn't mean we suddenly get shared libraries
8618 # on systems that don't support them.
8619 lt_prog_compiler_can_build_shared=no
8620 enable_shared=no
8623 *nto* | *qnx*)
8624 # QNX uses GNU C++, but need to define -shared option too, otherwise
8625 # it will coredump.
8626 lt_prog_compiler_pic='-fPIC -shared'
8629 sysv4*MP*)
8630 if test -d /usr/nec; then
8631 lt_prog_compiler_pic=-Kconform_pic
8636 lt_prog_compiler_pic='-fPIC'
8638 esac
8640 case $cc_basename in
8641 nvcc*) # Cuda Compiler Driver 2.2
8642 lt_prog_compiler_wl='-Xlinker '
8643 lt_prog_compiler_pic='-Xcompiler -fPIC'
8645 esac
8646 else
8647 # PORTME Check for flag to pass linker flags through the system compiler.
8648 case $host_os in
8649 aix*)
8650 lt_prog_compiler_wl='-Wl,'
8651 if test "$host_cpu" = ia64; then
8652 # AIX 5 now supports IA64 processor
8653 lt_prog_compiler_static='-Bstatic'
8654 else
8655 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8659 mingw* | cygwin* | pw32* | os2* | cegcc*)
8660 # This hack is so that the source file can tell whether it is being
8661 # built for inclusion in a dll (and should export symbols for example).
8662 lt_prog_compiler_pic='-DDLL_EXPORT'
8665 hpux9* | hpux10* | hpux11*)
8666 lt_prog_compiler_wl='-Wl,'
8667 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8668 # not for PA HP-UX.
8669 case $host_cpu in
8670 hppa*64*|ia64*)
8671 # +Z the default
8674 lt_prog_compiler_pic='+Z'
8676 esac
8677 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8678 lt_prog_compiler_static='${wl}-a ${wl}archive'
8681 irix5* | irix6* | nonstopux*)
8682 lt_prog_compiler_wl='-Wl,'
8683 # PIC (with -KPIC) is the default.
8684 lt_prog_compiler_static='-non_shared'
8687 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8688 case $cc_basename in
8689 # old Intel for x86_64 which still supported -KPIC.
8690 ecc*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-static'
8695 # icc used to be incompatible with GCC.
8696 # ICC 10 doesn't accept -KPIC any more.
8697 icc* | ifort*)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fPIC'
8700 lt_prog_compiler_static='-static'
8702 # Lahey Fortran 8.1.
8703 lf95*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='--shared'
8706 lt_prog_compiler_static='--static'
8708 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8709 # Portland Group compilers (*not* the Pentium gcc compiler,
8710 # which looks to be a dead project)
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_pic='-fpic'
8713 lt_prog_compiler_static='-Bstatic'
8715 ccc*)
8716 lt_prog_compiler_wl='-Wl,'
8717 # All Alpha code is PIC.
8718 lt_prog_compiler_static='-non_shared'
8720 xl* | bgxl* | bgf* | mpixl*)
8721 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8722 lt_prog_compiler_wl='-Wl,'
8723 lt_prog_compiler_pic='-qpic'
8724 lt_prog_compiler_static='-qstaticlink'
8727 case `$CC -V 2>&1 | sed 5q` in
8728 *Sun\ F* | *Sun*Fortran*)
8729 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8730 lt_prog_compiler_pic='-KPIC'
8731 lt_prog_compiler_static='-Bstatic'
8732 lt_prog_compiler_wl=''
8734 *Sun\ C*)
8735 # Sun C 5.9
8736 lt_prog_compiler_pic='-KPIC'
8737 lt_prog_compiler_static='-Bstatic'
8738 lt_prog_compiler_wl='-Wl,'
8740 esac
8742 esac
8745 newsos6)
8746 lt_prog_compiler_pic='-KPIC'
8747 lt_prog_compiler_static='-Bstatic'
8750 *nto* | *qnx*)
8751 # QNX uses GNU C++, but need to define -shared option too, otherwise
8752 # it will coredump.
8753 lt_prog_compiler_pic='-fPIC -shared'
8756 osf3* | osf4* | osf5*)
8757 lt_prog_compiler_wl='-Wl,'
8758 # All OSF/1 code is PIC.
8759 lt_prog_compiler_static='-non_shared'
8762 rdos*)
8763 lt_prog_compiler_static='-non_shared'
8766 solaris*)
8767 lt_prog_compiler_pic='-KPIC'
8768 lt_prog_compiler_static='-Bstatic'
8769 case $cc_basename in
8770 f77* | f90* | f95*)
8771 lt_prog_compiler_wl='-Qoption ld ';;
8773 lt_prog_compiler_wl='-Wl,';;
8774 esac
8777 sunos4*)
8778 lt_prog_compiler_wl='-Qoption ld '
8779 lt_prog_compiler_pic='-PIC'
8780 lt_prog_compiler_static='-Bstatic'
8783 sysv4 | sysv4.2uw2* | sysv4.3*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8789 sysv4*MP*)
8790 if test -d /usr/nec ;then
8791 lt_prog_compiler_pic='-Kconform_pic'
8792 lt_prog_compiler_static='-Bstatic'
8796 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8802 unicos*)
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_can_build_shared=no
8807 uts4*)
8808 lt_prog_compiler_pic='-pic'
8809 lt_prog_compiler_static='-Bstatic'
8813 lt_prog_compiler_can_build_shared=no
8815 esac
8818 case $host_os in
8819 # For platforms which do not support PIC, -DPIC is meaningless:
8820 *djgpp*)
8821 lt_prog_compiler_pic=
8824 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8826 esac
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8828 $as_echo "$lt_prog_compiler_pic" >&6; }
8836 # Check to make sure the PIC flag actually works.
8838 if test -n "$lt_prog_compiler_pic"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8840 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8841 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8842 $as_echo_n "(cached) " >&6
8843 else
8844 lt_cv_prog_compiler_pic_works=no
8845 ac_outfile=conftest.$ac_objext
8846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8847 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8848 # Insert the option either (1) after the last *FLAGS variable, or
8849 # (2) before a word containing "conftest.", or (3) at the end.
8850 # Note that $ac_compile itself does not contain backslashes and begins
8851 # with a dollar sign (not a hyphen), so the echo should work correctly.
8852 # The option is referenced via a variable to avoid confusing sed.
8853 lt_compile=`echo "$ac_compile" | $SED \
8854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8856 -e 's:$: $lt_compiler_flag:'`
8857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8858 (eval "$lt_compile" 2>conftest.err)
8859 ac_status=$?
8860 cat conftest.err >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 if (exit $ac_status) && test -s "$ac_outfile"; then
8863 # The compiler can only warn and ignore the option if not recognized
8864 # So say no if there are warnings other than the usual output.
8865 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8866 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8867 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8868 lt_cv_prog_compiler_pic_works=yes
8871 $RM conftest*
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8875 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8877 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8878 case $lt_prog_compiler_pic in
8879 "" | " "*) ;;
8880 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8881 esac
8882 else
8883 lt_prog_compiler_pic=
8884 lt_prog_compiler_can_build_shared=no
8895 # Check to make sure the static flag actually works.
8897 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8899 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8900 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 lt_cv_prog_compiler_static_works=no
8904 save_LDFLAGS="$LDFLAGS"
8905 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8906 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8907 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8908 # The linker can only warn and ignore the option if not recognized
8909 # So say no if there are warnings
8910 if test -s conftest.err; then
8911 # Append any errors to the config.log.
8912 cat conftest.err 1>&5
8913 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8914 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8915 if diff conftest.exp conftest.er2 >/dev/null; then
8916 lt_cv_prog_compiler_static_works=yes
8918 else
8919 lt_cv_prog_compiler_static_works=yes
8922 $RM -r conftest*
8923 LDFLAGS="$save_LDFLAGS"
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8927 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8929 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8931 else
8932 lt_prog_compiler_static=
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8943 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8944 $as_echo_n "(cached) " >&6
8945 else
8946 lt_cv_prog_compiler_c_o=no
8947 $RM -r conftest 2>/dev/null
8948 mkdir conftest
8949 cd conftest
8950 mkdir out
8951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8953 lt_compiler_flag="-o out/conftest2.$ac_objext"
8954 # Insert the option either (1) after the last *FLAGS variable, or
8955 # (2) before a word containing "conftest.", or (3) at the end.
8956 # Note that $ac_compile itself does not contain backslashes and begins
8957 # with a dollar sign (not a hyphen), so the echo should work correctly.
8958 lt_compile=`echo "$ac_compile" | $SED \
8959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8961 -e 's:$: $lt_compiler_flag:'`
8962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8963 (eval "$lt_compile" 2>out/conftest.err)
8964 ac_status=$?
8965 cat out/conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8968 then
8969 # The compiler can only warn and ignore the option if not recognized
8970 # So say no if there are warnings
8971 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8972 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8973 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8974 lt_cv_prog_compiler_c_o=yes
8977 chmod u+w . 2>&5
8978 $RM conftest*
8979 # SGI C++ compiler will create directory out/ii_files/ for
8980 # template instantiation
8981 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8982 $RM out/* && rmdir out
8983 cd ..
8984 $RM -r conftest
8985 $RM conftest*
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8989 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8998 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 lt_cv_prog_compiler_c_o=no
9002 $RM -r conftest 2>/dev/null
9003 mkdir conftest
9004 cd conftest
9005 mkdir out
9006 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9008 lt_compiler_flag="-o out/conftest2.$ac_objext"
9009 # Insert the option either (1) after the last *FLAGS variable, or
9010 # (2) before a word containing "conftest.", or (3) at the end.
9011 # Note that $ac_compile itself does not contain backslashes and begins
9012 # with a dollar sign (not a hyphen), so the echo should work correctly.
9013 lt_compile=`echo "$ac_compile" | $SED \
9014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016 -e 's:$: $lt_compiler_flag:'`
9017 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018 (eval "$lt_compile" 2>out/conftest.err)
9019 ac_status=$?
9020 cat out/conftest.err >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9023 then
9024 # The compiler can only warn and ignore the option if not recognized
9025 # So say no if there are warnings
9026 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9027 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9028 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9029 lt_cv_prog_compiler_c_o=yes
9032 chmod u+w . 2>&5
9033 $RM conftest*
9034 # SGI C++ compiler will create directory out/ii_files/ for
9035 # template instantiation
9036 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9037 $RM out/* && rmdir out
9038 cd ..
9039 $RM -r conftest
9040 $RM conftest*
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9049 hard_links="nottested"
9050 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9051 # do not overwrite the value of need_locks provided by the user
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9053 $as_echo_n "checking if we can lock with hard links... " >&6; }
9054 hard_links=yes
9055 $RM conftest*
9056 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9057 touch conftest.a
9058 ln conftest.a conftest.b 2>&5 || hard_links=no
9059 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9061 $as_echo "$hard_links" >&6; }
9062 if test "$hard_links" = no; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9064 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9065 need_locks=warn
9067 else
9068 need_locks=no
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9079 runpath_var=
9080 allow_undefined_flag=
9081 always_export_symbols=no
9082 archive_cmds=
9083 archive_expsym_cmds=
9084 compiler_needs_object=no
9085 enable_shared_with_static_runtimes=no
9086 export_dynamic_flag_spec=
9087 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9088 hardcode_automatic=no
9089 hardcode_direct=no
9090 hardcode_direct_absolute=no
9091 hardcode_libdir_flag_spec=
9092 hardcode_libdir_flag_spec_ld=
9093 hardcode_libdir_separator=
9094 hardcode_minus_L=no
9095 hardcode_shlibpath_var=unsupported
9096 inherit_rpath=no
9097 link_all_deplibs=unknown
9098 module_cmds=
9099 module_expsym_cmds=
9100 old_archive_from_new_cmds=
9101 old_archive_from_expsyms_cmds=
9102 thread_safe_flag_spec=
9103 whole_archive_flag_spec=
9104 # include_expsyms should be a list of space-separated symbols to be *always*
9105 # included in the symbol list
9106 include_expsyms=
9107 # exclude_expsyms can be an extended regexp of symbols to exclude
9108 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9109 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9110 # as well as any symbol that contains `d'.
9111 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9112 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9113 # platforms (ab)use it in PIC code, but their linkers get confused if
9114 # the symbol is explicitly referenced. Since portable code cannot
9115 # rely on this symbol name, it's probably fine to never include it in
9116 # preloaded symbol tables.
9117 # Exclude shared library initialization/finalization symbols.
9118 extract_expsyms_cmds=
9120 case $host_os in
9121 cygwin* | mingw* | pw32* | cegcc*)
9122 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9123 # When not using gcc, we currently assume that we are using
9124 # Microsoft Visual C++.
9125 if test "$GCC" != yes; then
9126 with_gnu_ld=no
9129 interix*)
9130 # we just hope/assume this is gcc and not c89 (= MSVC++)
9131 with_gnu_ld=yes
9133 openbsd*)
9134 with_gnu_ld=no
9136 esac
9138 ld_shlibs=yes
9140 # On some targets, GNU ld is compatible enough with the native linker
9141 # that we're better off using the native interface for both.
9142 lt_use_gnu_ld_interface=no
9143 if test "$with_gnu_ld" = yes; then
9144 case $host_os in
9145 aix*)
9146 # The AIX port of GNU ld has always aspired to compatibility
9147 # with the native linker. However, as the warning in the GNU ld
9148 # block says, versions before 2.19.5* couldn't really create working
9149 # shared libraries, regardless of the interface used.
9150 case `$LD -v 2>&1` in
9151 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9152 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9153 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9155 lt_use_gnu_ld_interface=yes
9157 esac
9160 lt_use_gnu_ld_interface=yes
9162 esac
9165 if test "$lt_use_gnu_ld_interface" = yes; then
9166 # If archive_cmds runs LD, not CC, wlarc should be empty
9167 wlarc='${wl}'
9169 # Set some defaults for GNU ld with shared library support. These
9170 # are reset later if shared libraries are not supported. Putting them
9171 # here allows them to be overridden if necessary.
9172 runpath_var=LD_RUN_PATH
9173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9174 export_dynamic_flag_spec='${wl}--export-dynamic'
9175 # ancient GNU ld didn't support --whole-archive et. al.
9176 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9177 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9178 else
9179 whole_archive_flag_spec=
9181 supports_anon_versioning=no
9182 case `$LD -v 2>&1` in
9183 *GNU\ gold*) supports_anon_versioning=yes ;;
9184 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9185 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9186 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9187 *\ 2.11.*) ;; # other 2.11 versions
9188 *) supports_anon_versioning=yes ;;
9189 esac
9191 # See if GNU ld supports shared libraries.
9192 case $host_os in
9193 aix[3-9]*)
9194 # On AIX/PPC, the GNU linker is very broken
9195 if test "$host_cpu" != ia64; then
9196 ld_shlibs=no
9197 cat <<_LT_EOF 1>&2
9199 *** Warning: the GNU linker, at least up to release 2.19, is reported
9200 *** to be unable to reliably create shared libraries on AIX.
9201 *** Therefore, libtool is disabling shared libraries support. If you
9202 *** really care for shared libraries, you may want to install binutils
9203 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9204 *** You will then need to restart the configuration process.
9206 _LT_EOF
9210 amigaos*)
9211 case $host_cpu in
9212 powerpc)
9213 # see comment about AmigaOS4 .so support
9214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215 archive_expsym_cmds=''
9217 m68k)
9218 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)'
9219 hardcode_libdir_flag_spec='-L$libdir'
9220 hardcode_minus_L=yes
9222 esac
9225 beos*)
9226 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227 allow_undefined_flag=unsupported
9228 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9229 # support --undefined. This deserves some investigation. FIXME
9230 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231 else
9232 ld_shlibs=no
9236 cygwin* | mingw* | pw32* | cegcc*)
9237 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9238 # as there is no search path for DLLs.
9239 hardcode_libdir_flag_spec='-L$libdir'
9240 export_dynamic_flag_spec='${wl}--export-all-symbols'
9241 allow_undefined_flag=unsupported
9242 always_export_symbols=no
9243 enable_shared_with_static_runtimes=yes
9244 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9246 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9247 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9248 # If the export-symbols file already is a .def file (1st line
9249 # is EXPORTS), use it as is; otherwise, prepend...
9250 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9251 cp $export_symbols $output_objdir/$soname.def;
9252 else
9253 echo EXPORTS > $output_objdir/$soname.def;
9254 cat $export_symbols >> $output_objdir/$soname.def;
9256 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9257 else
9258 ld_shlibs=no
9262 haiku*)
9263 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264 link_all_deplibs=yes
9267 interix[3-9]*)
9268 hardcode_direct=no
9269 hardcode_shlibpath_var=no
9270 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9271 export_dynamic_flag_spec='${wl}-E'
9272 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9273 # Instead, shared libraries are loaded at an image base (0x10000000 by
9274 # default) and relocated if they conflict, which is a slow very memory
9275 # consuming and fragmenting process. To avoid this, we pick a random,
9276 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9277 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9278 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9279 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'
9282 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9283 tmp_diet=no
9284 if test "$host_os" = linux-dietlibc; then
9285 case $cc_basename in
9286 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9287 esac
9289 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9290 && test "$tmp_diet" = no
9291 then
9292 tmp_addflag=
9293 tmp_sharedflag='-shared'
9294 case $cc_basename,$host_cpu in
9295 pgcc*) # Portland Group C compiler
9296 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'
9297 tmp_addflag=' $pic_flag'
9299 pgf77* | pgf90* | pgf95* | pgfortran*)
9300 # Portland Group f77 and f90 compilers
9301 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9302 tmp_addflag=' $pic_flag -Mnomain' ;;
9303 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9304 tmp_addflag=' -i_dynamic' ;;
9305 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9306 tmp_addflag=' -i_dynamic -nofor_main' ;;
9307 ifc* | ifort*) # Intel Fortran compiler
9308 tmp_addflag=' -nofor_main' ;;
9309 lf95*) # Lahey Fortran 8.1
9310 whole_archive_flag_spec=
9311 tmp_sharedflag='--shared' ;;
9312 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9313 tmp_sharedflag='-qmkshrobj'
9314 tmp_addflag= ;;
9315 nvcc*) # Cuda Compiler Driver 2.2
9316 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'
9317 compiler_needs_object=yes
9319 esac
9320 case `$CC -V 2>&1 | sed 5q` in
9321 *Sun\ C*) # Sun C 5.9
9322 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'
9323 compiler_needs_object=yes
9324 tmp_sharedflag='-G' ;;
9325 *Sun\ F*) # Sun Fortran 8.3
9326 tmp_sharedflag='-G' ;;
9327 esac
9328 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$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 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9337 case $cc_basename in
9338 xlf* | bgf* | bgxlf* | mpixlf*)
9339 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9340 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9341 hardcode_libdir_flag_spec=
9342 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9343 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9344 if test "x$supports_anon_versioning" = xyes; then
9345 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9346 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9347 echo "local: *; };" >> $output_objdir/$libname.ver~
9348 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9351 esac
9352 else
9353 ld_shlibs=no
9357 netbsd*)
9358 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9359 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9360 wlarc=
9361 else
9362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9367 solaris*)
9368 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9369 ld_shlibs=no
9370 cat <<_LT_EOF 1>&2
9372 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9373 *** create shared libraries on Solaris systems. Therefore, libtool
9374 *** is disabling shared libraries support. We urge you to upgrade GNU
9375 *** binutils to release 2.9.1 or newer. Another option is to modify
9376 *** your PATH or compiler configuration so that the native linker is
9377 *** used, and then restart.
9379 _LT_EOF
9380 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383 else
9384 ld_shlibs=no
9388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9389 case `$LD -v 2>&1` in
9390 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9391 ld_shlibs=no
9392 cat <<_LT_EOF 1>&2
9394 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9395 *** reliably create shared libraries on SCO systems. Therefore, libtool
9396 *** is disabling shared libraries support. We urge you to upgrade GNU
9397 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9398 *** your PATH or compiler configuration so that the native linker is
9399 *** used, and then restart.
9401 _LT_EOF
9404 # For security reasons, it is highly recommended that you always
9405 # use absolute paths for naming shared libraries, and exclude the
9406 # DT_RUNPATH tag from executables and libraries. But doing so
9407 # requires that you compile everything twice, which is a pain.
9408 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9410 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9412 else
9413 ld_shlibs=no
9416 esac
9419 sunos4*)
9420 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9421 wlarc=
9422 hardcode_direct=yes
9423 hardcode_shlibpath_var=no
9427 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9428 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9429 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9430 else
9431 ld_shlibs=no
9434 esac
9436 if test "$ld_shlibs" = no; then
9437 runpath_var=
9438 hardcode_libdir_flag_spec=
9439 export_dynamic_flag_spec=
9440 whole_archive_flag_spec=
9442 else
9443 # PORTME fill in a description of your system's linker (not GNU ld)
9444 case $host_os in
9445 aix3*)
9446 allow_undefined_flag=unsupported
9447 always_export_symbols=yes
9448 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'
9449 # Note: this linker hardcodes the directories in LIBPATH if there
9450 # are no directories specified by -L.
9451 hardcode_minus_L=yes
9452 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9453 # Neither direct hardcoding nor static linking is supported with a
9454 # broken collect2.
9455 hardcode_direct=unsupported
9459 aix[4-9]*)
9460 if test "$host_cpu" = ia64; then
9461 # On IA64, the linker does run time linking by default, so we don't
9462 # have to do anything special.
9463 aix_use_runtimelinking=no
9464 exp_sym_flag='-Bexport'
9465 no_entry_flag=""
9466 else
9467 # If we're using GNU nm, then we don't want the "-C" option.
9468 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9469 # Also, AIX nm treats weak defined symbols like other global
9470 # defined symbols, whereas GNU nm marks them as "W".
9471 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9472 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'
9473 else
9474 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'
9476 aix_use_runtimelinking=no
9478 # Test if we are trying to use run time linking or normal
9479 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9480 # need to do runtime linking.
9481 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9482 for ld_flag in $LDFLAGS; do
9483 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9484 aix_use_runtimelinking=yes
9485 break
9487 done
9489 esac
9491 exp_sym_flag='-bexport'
9492 no_entry_flag='-bnoentry'
9495 # When large executables or shared objects are built, AIX ld can
9496 # have problems creating the table of contents. If linking a library
9497 # or program results in "error TOC overflow" add -mminimal-toc to
9498 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9499 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9501 archive_cmds=''
9502 hardcode_direct=yes
9503 hardcode_direct_absolute=yes
9504 hardcode_libdir_separator=':'
9505 link_all_deplibs=yes
9506 file_list_spec='${wl}-f,'
9508 if test "$GCC" = yes; then
9509 case $host_os in aix4.[012]|aix4.[012].*)
9510 # We only want to do this on AIX 4.2 and lower, the check
9511 # below for broken collect2 doesn't work under 4.3+
9512 collect2name=`${CC} -print-prog-name=collect2`
9513 if test -f "$collect2name" &&
9514 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9515 then
9516 # We have reworked collect2
9518 else
9519 # We have old collect2
9520 hardcode_direct=unsupported
9521 # It fails to find uninstalled libraries when the uninstalled
9522 # path is not listed in the libpath. Setting hardcode_minus_L
9523 # to unsupported forces relinking
9524 hardcode_minus_L=yes
9525 hardcode_libdir_flag_spec='-L$libdir'
9526 hardcode_libdir_separator=
9529 esac
9530 shared_flag='-shared'
9531 if test "$aix_use_runtimelinking" = yes; then
9532 shared_flag="$shared_flag "'${wl}-G'
9534 else
9535 # not using gcc
9536 if test "$host_cpu" = ia64; then
9537 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9538 # chokes on -Wl,-G. The following line is correct:
9539 shared_flag='-G'
9540 else
9541 if test "$aix_use_runtimelinking" = yes; then
9542 shared_flag='${wl}-G'
9543 else
9544 shared_flag='${wl}-bM:SRE'
9549 export_dynamic_flag_spec='${wl}-bexpall'
9550 # It seems that -bexpall does not export symbols beginning with
9551 # underscore (_), so it is better to generate a list of symbols to export.
9552 always_export_symbols=yes
9553 if test "$aix_use_runtimelinking" = yes; then
9554 # Warning - without using the other runtime loading flags (-brtl),
9555 # -berok will link without error, but may produce a broken library.
9556 allow_undefined_flag='-berok'
9557 # Determine the default libpath from the value encoded in an
9558 # empty executable.
9559 if test x$gcc_no_link = xyes; then
9560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9566 main ()
9570 return 0;
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9575 lt_aix_libpath_sed='
9576 /Import File Strings/,/^$/ {
9577 /^0/ {
9578 s/^0 *\(.*\)$/\1/
9582 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9583 # Check for a 64-bit object if we didn't find anything.
9584 if test -z "$aix_libpath"; then
9585 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 rm -f core conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9592 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9593 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"
9594 else
9595 if test "$host_cpu" = ia64; then
9596 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9597 allow_undefined_flag="-z nodefs"
9598 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"
9599 else
9600 # Determine the default libpath from the value encoded in an
9601 # empty executable.
9602 if test x$gcc_no_link = xyes; then
9603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9609 main ()
9613 return 0;
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9618 lt_aix_libpath_sed='
9619 /Import File Strings/,/^$/ {
9620 /^0/ {
9621 s/^0 *\(.*\)$/\1/
9625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626 # Check for a 64-bit object if we didn't find anything.
9627 if test -z "$aix_libpath"; then
9628 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9631 rm -f core conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9635 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9636 # Warning - without using the other run time loading flags,
9637 # -berok will link without error, but may produce a broken library.
9638 no_undefined_flag=' ${wl}-bernotok'
9639 allow_undefined_flag=' ${wl}-berok'
9640 if test "$with_gnu_ld" = yes; then
9641 # We only use this code for GNU lds that support --whole-archive.
9642 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9643 else
9644 # Exported symbols can be pulled into shared objects from archives
9645 whole_archive_flag_spec='$convenience'
9647 archive_cmds_need_lc=yes
9648 # This is similar to how AIX traditionally builds its shared libraries.
9649 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'
9654 amigaos*)
9655 case $host_cpu in
9656 powerpc)
9657 # see comment about AmigaOS4 .so support
9658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9659 archive_expsym_cmds=''
9661 m68k)
9662 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)'
9663 hardcode_libdir_flag_spec='-L$libdir'
9664 hardcode_minus_L=yes
9666 esac
9669 bsdi[45]*)
9670 export_dynamic_flag_spec=-rdynamic
9673 cygwin* | mingw* | pw32* | cegcc*)
9674 # When not using gcc, we currently assume that we are using
9675 # Microsoft Visual C++.
9676 # hardcode_libdir_flag_spec is actually meaningless, as there is
9677 # no search path for DLLs.
9678 hardcode_libdir_flag_spec=' '
9679 allow_undefined_flag=unsupported
9680 # Tell ltmain to make .lib files, not .a files.
9681 libext=lib
9682 # Tell ltmain to make .dll files, not .so files.
9683 shrext_cmds=".dll"
9684 # FIXME: Setting linknames here is a bad hack.
9685 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9686 # The linker will automatically build a .lib file if we build a DLL.
9687 old_archive_from_new_cmds='true'
9688 # FIXME: Should let the user specify the lib program.
9689 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9690 fix_srcfile_path='`cygpath -w "$srcfile"`'
9691 enable_shared_with_static_runtimes=yes
9694 darwin* | rhapsody*)
9697 archive_cmds_need_lc=no
9698 hardcode_direct=no
9699 hardcode_automatic=yes
9700 hardcode_shlibpath_var=unsupported
9701 if test "$lt_cv_ld_force_load" = "yes"; then
9702 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\"`'
9703 else
9704 whole_archive_flag_spec=''
9706 link_all_deplibs=yes
9707 allow_undefined_flag="$_lt_dar_allow_undefined"
9708 case $cc_basename in
9709 ifort*) _lt_dar_can_shared=yes ;;
9710 *) _lt_dar_can_shared=$GCC ;;
9711 esac
9712 if test "$_lt_dar_can_shared" = "yes"; then
9713 output_verbose_link_cmd=func_echo_all
9714 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9715 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9716 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}"
9717 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}"
9719 else
9720 ld_shlibs=no
9725 dgux*)
9726 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_libdir_flag_spec='-L$libdir'
9728 hardcode_shlibpath_var=no
9731 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9732 # support. Future versions do this automatically, but an explicit c++rt0.o
9733 # does not break anything, and helps significantly (at the cost of a little
9734 # extra space).
9735 freebsd2.2*)
9736 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9737 hardcode_libdir_flag_spec='-R$libdir'
9738 hardcode_direct=yes
9739 hardcode_shlibpath_var=no
9742 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9743 freebsd2.*)
9744 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9745 hardcode_direct=yes
9746 hardcode_minus_L=yes
9747 hardcode_shlibpath_var=no
9750 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9751 freebsd* | dragonfly*)
9752 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9753 hardcode_libdir_flag_spec='-R$libdir'
9754 hardcode_direct=yes
9755 hardcode_shlibpath_var=no
9758 hpux9*)
9759 if test "$GCC" = yes; then
9760 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'
9761 else
9762 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'
9764 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9765 hardcode_libdir_separator=:
9766 hardcode_direct=yes
9768 # hardcode_minus_L: Not really in the search PATH,
9769 # but as the default location of the library.
9770 hardcode_minus_L=yes
9771 export_dynamic_flag_spec='${wl}-E'
9774 hpux10*)
9775 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9776 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9777 else
9778 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9780 if test "$with_gnu_ld" = no; then
9781 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9782 hardcode_libdir_flag_spec_ld='+b $libdir'
9783 hardcode_libdir_separator=:
9784 hardcode_direct=yes
9785 hardcode_direct_absolute=yes
9786 export_dynamic_flag_spec='${wl}-E'
9787 # hardcode_minus_L: Not really in the search PATH,
9788 # but as the default location of the library.
9789 hardcode_minus_L=yes
9793 hpux11*)
9794 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9795 case $host_cpu in
9796 hppa*64*)
9797 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9799 ia64*)
9800 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9805 esac
9806 else
9807 case $host_cpu in
9808 hppa*64*)
9809 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9811 ia64*)
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816 # Older versions of the 11.00 compiler do not understand -b yet
9817 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9819 $as_echo_n "checking if $CC understands -b... " >&6; }
9820 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 lt_cv_prog_compiler__b=no
9824 save_LDFLAGS="$LDFLAGS"
9825 LDFLAGS="$LDFLAGS -b"
9826 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9827 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9828 # The linker can only warn and ignore the option if not recognized
9829 # So say no if there are warnings
9830 if test -s conftest.err; then
9831 # Append any errors to the config.log.
9832 cat conftest.err 1>&5
9833 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9834 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9835 if diff conftest.exp conftest.er2 >/dev/null; then
9836 lt_cv_prog_compiler__b=yes
9838 else
9839 lt_cv_prog_compiler__b=yes
9842 $RM -r conftest*
9843 LDFLAGS="$save_LDFLAGS"
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9847 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9849 if test x"$lt_cv_prog_compiler__b" = xyes; then
9850 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851 else
9852 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9856 esac
9858 if test "$with_gnu_ld" = no; then
9859 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9860 hardcode_libdir_separator=:
9862 case $host_cpu in
9863 hppa*64*|ia64*)
9864 hardcode_direct=no
9865 hardcode_shlibpath_var=no
9868 hardcode_direct=yes
9869 hardcode_direct_absolute=yes
9870 export_dynamic_flag_spec='${wl}-E'
9872 # hardcode_minus_L: Not really in the search PATH,
9873 # but as the default location of the library.
9874 hardcode_minus_L=yes
9876 esac
9880 irix5* | irix6* | nonstopux*)
9881 if test "$GCC" = yes; then
9882 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'
9883 # Try to use the -exported_symbol ld option, if it does not
9884 # work, assume that -exports_file does not work either and
9885 # implicitly export all symbols.
9886 save_LDFLAGS="$LDFLAGS"
9887 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9888 if test x$gcc_no_link = xyes; then
9889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int foo(void) {}
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 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'
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 LDFLAGS="$save_LDFLAGS"
9902 else
9903 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'
9904 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'
9906 archive_cmds_need_lc='no'
9907 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9908 hardcode_libdir_separator=:
9909 inherit_rpath=yes
9910 link_all_deplibs=yes
9913 netbsd*)
9914 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9915 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9916 else
9917 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9919 hardcode_libdir_flag_spec='-R$libdir'
9920 hardcode_direct=yes
9921 hardcode_shlibpath_var=no
9924 newsos6)
9925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_direct=yes
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928 hardcode_libdir_separator=:
9929 hardcode_shlibpath_var=no
9932 *nto* | *qnx*)
9935 openbsd*)
9936 if test -f /usr/libexec/ld.so; then
9937 hardcode_direct=yes
9938 hardcode_shlibpath_var=no
9939 hardcode_direct_absolute=yes
9940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9941 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9943 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9944 export_dynamic_flag_spec='${wl}-E'
9945 else
9946 case $host_os in
9947 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9948 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9949 hardcode_libdir_flag_spec='-R$libdir'
9952 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9955 esac
9957 else
9958 ld_shlibs=no
9962 os2*)
9963 hardcode_libdir_flag_spec='-L$libdir'
9964 hardcode_minus_L=yes
9965 allow_undefined_flag=unsupported
9966 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'
9967 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9970 osf3*)
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 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'
9974 else
9975 allow_undefined_flag=' -expect_unresolved \*'
9976 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'
9978 archive_cmds_need_lc='no'
9979 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9980 hardcode_libdir_separator=:
9983 osf4* | osf5*) # as osf3* with the addition of -msym flag
9984 if test "$GCC" = yes; then
9985 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9986 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'
9987 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988 else
9989 allow_undefined_flag=' -expect_unresolved \*'
9990 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'
9991 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~
9992 $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'
9994 # Both c and cxx compiler support -rpath directly
9995 hardcode_libdir_flag_spec='-rpath $libdir'
9997 archive_cmds_need_lc='no'
9998 hardcode_libdir_separator=:
10001 solaris*)
10002 no_undefined_flag=' -z defs'
10003 if test "$GCC" = yes; then
10004 wlarc='${wl}'
10005 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 else
10009 case `$CC -V 2>&1` in
10010 *"Compilers 5.0"*)
10011 wlarc=''
10012 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10013 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10017 wlarc='${wl}'
10018 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10022 esac
10024 hardcode_libdir_flag_spec='-R$libdir'
10025 hardcode_shlibpath_var=no
10026 case $host_os in
10027 solaris2.[0-5] | solaris2.[0-5].*) ;;
10029 # The compiler driver will combine and reorder linker options,
10030 # but understands `-z linker_flag'. GCC discards it without `$wl',
10031 # but is careful enough not to reorder.
10032 # Supported since Solaris 2.6 (maybe 2.5.1?)
10033 if test "$GCC" = yes; then
10034 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10035 else
10036 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10039 esac
10040 link_all_deplibs=yes
10043 sunos4*)
10044 if test "x$host_vendor" = xsequent; then
10045 # Use $CC to link under sequent, because it throws in some extra .o
10046 # files that make .init and .fini sections work.
10047 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10048 else
10049 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_libdir_flag_spec='-L$libdir'
10052 hardcode_direct=yes
10053 hardcode_minus_L=yes
10054 hardcode_shlibpath_var=no
10057 sysv4)
10058 case $host_vendor in
10059 sni)
10060 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10061 hardcode_direct=yes # is this really true???
10063 siemens)
10064 ## LD is ld it makes a PLAMLIB
10065 ## CC just makes a GrossModule.
10066 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10067 reload_cmds='$CC -r -o $output$reload_objs'
10068 hardcode_direct=no
10070 motorola)
10071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10074 esac
10075 runpath_var='LD_RUN_PATH'
10076 hardcode_shlibpath_var=no
10079 sysv4.3*)
10080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 hardcode_shlibpath_var=no
10082 export_dynamic_flag_spec='-Bexport'
10085 sysv4*MP*)
10086 if test -d /usr/nec; then
10087 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_shlibpath_var=no
10089 runpath_var=LD_RUN_PATH
10090 hardcode_runpath_var=yes
10091 ld_shlibs=yes
10095 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10096 no_undefined_flag='${wl}-z,text'
10097 archive_cmds_need_lc=no
10098 hardcode_shlibpath_var=no
10099 runpath_var='LD_RUN_PATH'
10101 if test "$GCC" = yes; then
10102 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 else
10105 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 sysv5* | sco3.2v5* | sco5v6*)
10111 # Note: We can NOT use -z defs as we might desire, because we do not
10112 # link with -lc, and that would cause any symbols used from libc to
10113 # always be unresolved, which means just about no library would
10114 # ever link correctly. If we're not using GNU ld we use -z text
10115 # though, which does catch some bad symbols but isn't as heavy-handed
10116 # as -z defs.
10117 no_undefined_flag='${wl}-z,text'
10118 allow_undefined_flag='${wl}-z,nodefs'
10119 archive_cmds_need_lc=no
10120 hardcode_shlibpath_var=no
10121 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10122 hardcode_libdir_separator=':'
10123 link_all_deplibs=yes
10124 export_dynamic_flag_spec='${wl}-Bexport'
10125 runpath_var='LD_RUN_PATH'
10127 if test "$GCC" = yes; then
10128 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 else
10131 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136 uts4*)
10137 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_libdir_flag_spec='-L$libdir'
10139 hardcode_shlibpath_var=no
10143 ld_shlibs=no
10145 esac
10147 if test x$host_vendor = xsni; then
10148 case $host in
10149 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10150 export_dynamic_flag_spec='${wl}-Blargedynsym'
10152 esac
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10157 $as_echo "$ld_shlibs" >&6; }
10158 test "$ld_shlibs" = no && can_build_shared=no
10160 with_gnu_ld=$with_gnu_ld
10177 # Do we need to explicitly link libc?
10179 case "x$archive_cmds_need_lc" in
10180 x|xyes)
10181 # Assume -lc should be added
10182 archive_cmds_need_lc=yes
10184 if test "$enable_shared" = yes && test "$GCC" = yes; then
10185 case $archive_cmds in
10186 *'~'*)
10187 # FIXME: we may have to deal with multi-command sequences.
10189 '$CC '*)
10190 # Test whether the compiler implicitly links with -lc since on some
10191 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10192 # to ld, don't add -lc before -lgcc.
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10194 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10195 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10196 $as_echo_n "(cached) " >&6
10197 else
10198 $RM conftest*
10199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10202 (eval $ac_compile) 2>&5
10203 ac_status=$?
10204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10205 test $ac_status = 0; } 2>conftest.err; then
10206 soname=conftest
10207 lib=conftest
10208 libobjs=conftest.$ac_objext
10209 deplibs=
10210 wl=$lt_prog_compiler_wl
10211 pic_flag=$lt_prog_compiler_pic
10212 compiler_flags=-v
10213 linker_flags=-v
10214 verstring=
10215 output_objdir=.
10216 libname=conftest
10217 lt_save_allow_undefined_flag=$allow_undefined_flag
10218 allow_undefined_flag=
10219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10220 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10221 ac_status=$?
10222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10223 test $ac_status = 0; }
10224 then
10225 lt_cv_archive_cmds_need_lc=no
10226 else
10227 lt_cv_archive_cmds_need_lc=yes
10229 allow_undefined_flag=$lt_save_allow_undefined_flag
10230 else
10231 cat conftest.err 1>&5
10233 $RM conftest*
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10237 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10238 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10240 esac
10243 esac
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10402 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10404 if test "$GCC" = yes; then
10405 case $host_os in
10406 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10407 *) lt_awk_arg="/^libraries:/" ;;
10408 esac
10409 case $host_os in
10410 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10411 *) lt_sed_strip_eq="s,=/,/,g" ;;
10412 esac
10413 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10414 case $lt_search_path_spec in
10415 *\;*)
10416 # if the path contains ";" then we assume it to be the separator
10417 # otherwise default to the standard path separator (i.e. ":") - it is
10418 # assumed that no part of a normal pathname contains ";" but that should
10419 # okay in the real world where ";" in dirpaths is itself problematic.
10420 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10423 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10425 esac
10426 # Ok, now we have the path, separated by spaces, we can step through it
10427 # and add multilib dir if necessary.
10428 lt_tmp_lt_search_path_spec=
10429 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10430 for lt_sys_path in $lt_search_path_spec; do
10431 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10432 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10433 else
10434 test -d "$lt_sys_path" && \
10435 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10437 done
10438 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10439 BEGIN {RS=" "; FS="/|\n";} {
10440 lt_foo="";
10441 lt_count=0;
10442 for (lt_i = NF; lt_i > 0; lt_i--) {
10443 if ($lt_i != "" && $lt_i != ".") {
10444 if ($lt_i == "..") {
10445 lt_count++;
10446 } else {
10447 if (lt_count == 0) {
10448 lt_foo="/" $lt_i lt_foo;
10449 } else {
10450 lt_count--;
10455 if (lt_foo != "") { lt_freq[lt_foo]++; }
10456 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10458 # AWK program above erroneously prepends '/' to C:/dos/paths
10459 # for these hosts.
10460 case $host_os in
10461 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10462 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10463 esac
10464 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10465 else
10466 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10468 library_names_spec=
10469 libname_spec='lib$name'
10470 soname_spec=
10471 shrext_cmds=".so"
10472 postinstall_cmds=
10473 postuninstall_cmds=
10474 finish_cmds=
10475 finish_eval=
10476 shlibpath_var=
10477 shlibpath_overrides_runpath=unknown
10478 version_type=none
10479 dynamic_linker="$host_os ld.so"
10480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10481 need_lib_prefix=unknown
10482 hardcode_into_libs=no
10484 # when you set need_version to no, make sure it does not cause -set_version
10485 # flags to be left without arguments
10486 need_version=unknown
10488 case $host_os in
10489 aix3*)
10490 version_type=linux
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10492 shlibpath_var=LIBPATH
10494 # AIX 3 has no versioning support, so we append a major version to the name.
10495 soname_spec='${libname}${release}${shared_ext}$major'
10498 aix[4-9]*)
10499 version_type=linux
10500 need_lib_prefix=no
10501 need_version=no
10502 hardcode_into_libs=yes
10503 if test "$host_cpu" = ia64; then
10504 # AIX 5 supports IA64
10505 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10506 shlibpath_var=LD_LIBRARY_PATH
10507 else
10508 # With GCC up to 2.95.x, collect2 would create an import file
10509 # for dependence libraries. The import file would start with
10510 # the line `#! .'. This would cause the generated library to
10511 # depend on `.', always an invalid library. This was fixed in
10512 # development snapshots of GCC prior to 3.0.
10513 case $host_os in
10514 aix4 | aix4.[01] | aix4.[01].*)
10515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10516 echo ' yes '
10517 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10519 else
10520 can_build_shared=no
10523 esac
10524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10525 # soname into executable. Probably we can add versioning support to
10526 # collect2, so additional links can be useful in future.
10527 if test "$aix_use_runtimelinking" = yes; then
10528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10529 # instead of lib<name>.a to let people know that these are not
10530 # typical AIX shared libraries.
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 else
10533 # We preserve .a as extension for shared libraries through AIX4.2
10534 # and later when we are not doing run time linking.
10535 library_names_spec='${libname}${release}.a $libname.a'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10538 shlibpath_var=LIBPATH
10542 amigaos*)
10543 case $host_cpu in
10544 powerpc)
10545 # Since July 2007 AmigaOS4 officially supports .so libraries.
10546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10549 m68k)
10550 library_names_spec='$libname.ixlibrary $libname.a'
10551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10552 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'
10554 esac
10557 beos*)
10558 library_names_spec='${libname}${shared_ext}'
10559 dynamic_linker="$host_os ld.so"
10560 shlibpath_var=LIBRARY_PATH
10563 bsdi[45]*)
10564 version_type=linux
10565 need_version=no
10566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec='${libname}${release}${shared_ext}$major'
10568 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10569 shlibpath_var=LD_LIBRARY_PATH
10570 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10571 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10572 # the default ld.so.conf also contains /usr/contrib/lib and
10573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10574 # libtool to hard-code these into programs
10577 cygwin* | mingw* | pw32* | cegcc*)
10578 version_type=windows
10579 shrext_cmds=".dll"
10580 need_version=no
10581 need_lib_prefix=no
10583 case $GCC,$host_os in
10584 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10585 library_names_spec='$libname.dll.a'
10586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10587 postinstall_cmds='base_file=`basename \${file}`~
10588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10589 dldir=$destdir/`dirname \$dlpath`~
10590 test -d \$dldir || mkdir -p \$dldir~
10591 $install_prog $dir/$dlname \$dldir/$dlname~
10592 chmod a+x \$dldir/$dlname~
10593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597 dlpath=$dir/\$dldll~
10598 $RM \$dlpath'
10599 shlibpath_overrides_runpath=yes
10601 case $host_os in
10602 cygwin*)
10603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10604 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10606 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10608 mingw* | cegcc*)
10609 # MinGW DLLs use traditional 'lib' prefix
10610 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10612 pw32*)
10613 # pw32 DLLs use 'pw' prefix rather than 'lib'
10614 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10616 esac
10620 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10622 esac
10623 dynamic_linker='Win32 ld.exe'
10624 # FIXME: first we should search . and the directory the executable is in
10625 shlibpath_var=PATH
10628 darwin* | rhapsody*)
10629 dynamic_linker="$host_os dyld"
10630 version_type=darwin
10631 need_lib_prefix=no
10632 need_version=no
10633 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10634 soname_spec='${libname}${release}${major}$shared_ext'
10635 shlibpath_overrides_runpath=yes
10636 shlibpath_var=DYLD_LIBRARY_PATH
10637 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10639 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10640 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10643 dgux*)
10644 version_type=linux
10645 need_lib_prefix=no
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 shlibpath_var=LD_LIBRARY_PATH
10652 freebsd* | dragonfly*)
10653 # DragonFly does not have aout. When/if they implement a new
10654 # versioning mechanism, adjust this.
10655 if test -x /usr/bin/objformat; then
10656 objformat=`/usr/bin/objformat`
10657 else
10658 case $host_os in
10659 freebsd[23].*) objformat=aout ;;
10660 *) objformat=elf ;;
10661 esac
10663 version_type=freebsd-$objformat
10664 case $version_type in
10665 freebsd-elf*)
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10667 need_version=no
10668 need_lib_prefix=no
10670 freebsd-*)
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10672 need_version=yes
10674 esac
10675 shlibpath_var=LD_LIBRARY_PATH
10676 case $host_os in
10677 freebsd2.*)
10678 shlibpath_overrides_runpath=yes
10680 freebsd3.[01]* | freebsdelf3.[01]*)
10681 shlibpath_overrides_runpath=yes
10682 hardcode_into_libs=yes
10684 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10685 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10686 shlibpath_overrides_runpath=no
10687 hardcode_into_libs=yes
10689 *) # from 4.6 on, and DragonFly
10690 shlibpath_overrides_runpath=yes
10691 hardcode_into_libs=yes
10693 esac
10696 gnu*)
10697 version_type=linux
10698 need_lib_prefix=no
10699 need_version=no
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10701 soname_spec='${libname}${release}${shared_ext}$major'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 hardcode_into_libs=yes
10706 haiku*)
10707 version_type=linux
10708 need_lib_prefix=no
10709 need_version=no
10710 dynamic_linker="$host_os runtime_loader"
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 shlibpath_var=LIBRARY_PATH
10714 shlibpath_overrides_runpath=yes
10715 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10716 hardcode_into_libs=yes
10719 hpux9* | hpux10* | hpux11*)
10720 # Give a soname corresponding to the major version so that dld.sl refuses to
10721 # link against other versions.
10722 version_type=sunos
10723 need_lib_prefix=no
10724 need_version=no
10725 case $host_cpu in
10726 ia64*)
10727 shrext_cmds='.so'
10728 hardcode_into_libs=yes
10729 dynamic_linker="$host_os dld.so"
10730 shlibpath_var=LD_LIBRARY_PATH
10731 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733 soname_spec='${libname}${release}${shared_ext}$major'
10734 if test "X$HPUX_IA64_MODE" = X32; then
10735 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10736 else
10737 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10741 hppa*64*)
10742 shrext_cmds='.sl'
10743 hardcode_into_libs=yes
10744 dynamic_linker="$host_os dld.sl"
10745 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10746 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 soname_spec='${libname}${release}${shared_ext}$major'
10749 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10753 shrext_cmds='.sl'
10754 dynamic_linker="$host_os dld.sl"
10755 shlibpath_var=SHLIB_PATH
10756 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
10760 esac
10761 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10762 postinstall_cmds='chmod 555 $lib'
10763 # or fails outright, so override atomically:
10764 install_override_mode=555
10767 interix[3-9]*)
10768 version_type=linux
10769 need_lib_prefix=no
10770 need_version=no
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=no
10776 hardcode_into_libs=yes
10779 irix5* | irix6* | nonstopux*)
10780 case $host_os in
10781 nonstopux*) version_type=nonstopux ;;
10783 if test "$lt_cv_prog_gnu_ld" = yes; then
10784 version_type=linux
10785 else
10786 version_type=irix
10787 fi ;;
10788 esac
10789 need_lib_prefix=no
10790 need_version=no
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10793 case $host_os in
10794 irix5* | nonstopux*)
10795 libsuff= shlibsuff=
10798 case $LD in # libtool.m4 will add one of these switches to LD
10799 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10800 libsuff= shlibsuff= libmagic=32-bit;;
10801 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10802 libsuff=32 shlibsuff=N32 libmagic=N32;;
10803 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10804 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10805 *) libsuff= shlibsuff= libmagic=never-match;;
10806 esac
10808 esac
10809 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10810 shlibpath_overrides_runpath=no
10811 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10812 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10813 hardcode_into_libs=yes
10816 # No shared lib support for Linux oldld, aout, or coff.
10817 linux*oldld* | linux*aout* | linux*coff*)
10818 dynamic_linker=no
10821 # This must be Linux ELF.
10822 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10823 version_type=linux
10824 need_lib_prefix=no
10825 need_version=no
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=no
10832 # Some binutils ld are patched to set DT_RUNPATH
10833 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10834 $as_echo_n "(cached) " >&6
10835 else
10836 lt_cv_shlibpath_overrides_runpath=no
10837 save_LDFLAGS=$LDFLAGS
10838 save_libdir=$libdir
10839 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10840 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10841 if test x$gcc_no_link = xyes; then
10842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10848 main ()
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10857 lt_cv_shlibpath_overrides_runpath=yes
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LDFLAGS=$save_LDFLAGS
10863 libdir=$save_libdir
10867 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10869 # This implies no fast_install, which is unacceptable.
10870 # Some rework will be needed to allow for fast_install
10871 # before this can be enabled.
10872 hardcode_into_libs=yes
10874 # Append ld.so.conf contents to the search path
10875 if test -f /etc/ld.so.conf; then
10876 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' ' '`
10877 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10880 # We used to test for /lib/ld.so.1 and disable shared libraries on
10881 # powerpc, because MkLinux only supported shared libraries with the
10882 # GNU dynamic linker. Since this was broken with cross compilers,
10883 # most powerpc-linux boxes support dynamic linking these days and
10884 # people can always --disable-shared, the test was removed, and we
10885 # assume the GNU/Linux dynamic linker is in use.
10886 dynamic_linker='GNU/Linux ld.so'
10889 netbsd*)
10890 version_type=sunos
10891 need_lib_prefix=no
10892 need_version=no
10893 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896 dynamic_linker='NetBSD (a.out) ld.so'
10897 else
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 dynamic_linker='NetBSD ld.elf_so'
10902 shlibpath_var=LD_LIBRARY_PATH
10903 shlibpath_overrides_runpath=yes
10904 hardcode_into_libs=yes
10907 newsos6)
10908 version_type=linux
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=yes
10914 *nto* | *qnx*)
10915 version_type=qnx
10916 need_lib_prefix=no
10917 need_version=no
10918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919 soname_spec='${libname}${release}${shared_ext}$major'
10920 shlibpath_var=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath=no
10922 hardcode_into_libs=yes
10923 dynamic_linker='ldqnx.so'
10926 openbsd*)
10927 version_type=sunos
10928 sys_lib_dlsearch_path_spec="/usr/lib"
10929 need_lib_prefix=no
10930 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10931 case $host_os in
10932 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10933 *) need_version=no ;;
10934 esac
10935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10937 shlibpath_var=LD_LIBRARY_PATH
10938 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10939 case $host_os in
10940 openbsd2.[89] | openbsd2.[89].*)
10941 shlibpath_overrides_runpath=no
10944 shlibpath_overrides_runpath=yes
10946 esac
10947 else
10948 shlibpath_overrides_runpath=yes
10952 os2*)
10953 libname_spec='$name'
10954 shrext_cmds=".dll"
10955 need_lib_prefix=no
10956 library_names_spec='$libname${shared_ext} $libname.a'
10957 dynamic_linker='OS/2 ld.exe'
10958 shlibpath_var=LIBPATH
10961 osf3* | osf4* | osf5*)
10962 version_type=osf
10963 need_lib_prefix=no
10964 need_version=no
10965 soname_spec='${libname}${release}${shared_ext}$major'
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10969 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10972 rdos*)
10973 dynamic_linker=no
10976 solaris*)
10977 version_type=linux
10978 need_lib_prefix=no
10979 need_version=no
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 shlibpath_var=LD_LIBRARY_PATH
10983 shlibpath_overrides_runpath=yes
10984 hardcode_into_libs=yes
10985 # ldd complains unless libraries are executable
10986 postinstall_cmds='chmod +x $lib'
10989 sunos4*)
10990 version_type=sunos
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10992 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=yes
10995 if test "$with_gnu_ld" = yes; then
10996 need_lib_prefix=no
10998 need_version=yes
11001 sysv4 | sysv4.3*)
11002 version_type=linux
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 case $host_vendor in
11007 sni)
11008 shlibpath_overrides_runpath=no
11009 need_lib_prefix=no
11010 runpath_var=LD_RUN_PATH
11012 siemens)
11013 need_lib_prefix=no
11015 motorola)
11016 need_lib_prefix=no
11017 need_version=no
11018 shlibpath_overrides_runpath=no
11019 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11021 esac
11024 sysv4*MP*)
11025 if test -d /usr/nec ;then
11026 version_type=linux
11027 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11028 soname_spec='$libname${shared_ext}.$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11034 version_type=freebsd-elf
11035 need_lib_prefix=no
11036 need_version=no
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11038 soname_spec='${libname}${release}${shared_ext}$major'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=yes
11041 hardcode_into_libs=yes
11042 if test "$with_gnu_ld" = yes; then
11043 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11044 else
11045 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11046 case $host_os in
11047 sco3.2v5*)
11048 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11050 esac
11052 sys_lib_dlsearch_path_spec='/usr/lib'
11055 tpf*)
11056 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11057 version_type=linux
11058 need_lib_prefix=no
11059 need_version=no
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=no
11063 hardcode_into_libs=yes
11066 uts4*)
11067 version_type=linux
11068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 soname_spec='${libname}${release}${shared_ext}$major'
11070 shlibpath_var=LD_LIBRARY_PATH
11074 dynamic_linker=no
11076 esac
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11078 $as_echo "$dynamic_linker" >&6; }
11079 test "$dynamic_linker" = no && can_build_shared=no
11081 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11082 if test "$GCC" = yes; then
11083 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11086 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11087 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11089 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11090 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11186 hardcode_action=
11187 if test -n "$hardcode_libdir_flag_spec" ||
11188 test -n "$runpath_var" ||
11189 test "X$hardcode_automatic" = "Xyes" ; then
11191 # We can hardcode non-existent directories.
11192 if test "$hardcode_direct" != no &&
11193 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11194 # have to relink, otherwise we might link with an installed library
11195 # when we should be linking with a yet-to-be-installed one
11196 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11197 test "$hardcode_minus_L" != no; then
11198 # Linking always hardcodes the temporary library directory.
11199 hardcode_action=relink
11200 else
11201 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11202 hardcode_action=immediate
11204 else
11205 # We cannot hardcode anything, or else we can only hardcode existing
11206 # directories.
11207 hardcode_action=unsupported
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11210 $as_echo "$hardcode_action" >&6; }
11212 if test "$hardcode_action" = relink ||
11213 test "$inherit_rpath" = yes; then
11214 # Fast installation is not supported
11215 enable_fast_install=no
11216 elif test "$shlibpath_overrides_runpath" = yes ||
11217 test "$enable_shared" = no; then
11218 # Fast installation is not necessary
11219 enable_fast_install=needless
11227 if test "x$enable_dlopen" != xyes; then
11228 enable_dlopen=unknown
11229 enable_dlopen_self=unknown
11230 enable_dlopen_self_static=unknown
11231 else
11232 lt_cv_dlopen=no
11233 lt_cv_dlopen_libs=
11235 case $host_os in
11236 beos*)
11237 lt_cv_dlopen="load_add_on"
11238 lt_cv_dlopen_libs=
11239 lt_cv_dlopen_self=yes
11242 mingw* | pw32* | cegcc*)
11243 lt_cv_dlopen="LoadLibrary"
11244 lt_cv_dlopen_libs=
11247 cygwin*)
11248 lt_cv_dlopen="dlopen"
11249 lt_cv_dlopen_libs=
11252 darwin*)
11253 # if libdl is installed we need to link against it
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11257 $as_echo_n "(cached) " >&6
11258 else
11259 ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldl $LIBS"
11261 if test x$gcc_no_link = xyes; then
11262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char dlopen ();
11275 main ()
11277 return dlopen ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_dl_dlopen=yes
11284 else
11285 ac_cv_lib_dl_dlopen=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11292 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11293 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11294 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11295 else
11297 lt_cv_dlopen="dyld"
11298 lt_cv_dlopen_libs=
11299 lt_cv_dlopen_self=yes
11306 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11307 if test "x$ac_cv_func_shl_load" = x""yes; then :
11308 lt_cv_dlopen="shl_load"
11309 else
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11311 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11312 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11313 $as_echo_n "(cached) " >&6
11314 else
11315 ac_check_lib_save_LIBS=$LIBS
11316 LIBS="-ldld $LIBS"
11317 if test x$gcc_no_link = xyes; then
11318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char shl_load ();
11331 main ()
11333 return shl_load ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_dld_shl_load=yes
11340 else
11341 ac_cv_lib_dld_shl_load=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11348 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11349 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11350 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11351 else
11352 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11353 if test "x$ac_cv_func_dlopen" = x""yes; then :
11354 lt_cv_dlopen="dlopen"
11355 else
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11357 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11359 $as_echo_n "(cached) " >&6
11360 else
11361 ac_check_lib_save_LIBS=$LIBS
11362 LIBS="-ldl $LIBS"
11363 if test x$gcc_no_link = xyes; then
11364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char dlopen ();
11377 main ()
11379 return dlopen ();
11381 return 0;
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_dl_dlopen=yes
11386 else
11387 ac_cv_lib_dl_dlopen=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11395 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11396 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11397 else
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11399 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11400 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11401 $as_echo_n "(cached) " >&6
11402 else
11403 ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lsvld $LIBS"
11405 if test x$gcc_no_link = xyes; then
11406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char dlopen ();
11419 main ()
11421 return dlopen ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 ac_cv_lib_svld_dlopen=yes
11428 else
11429 ac_cv_lib_svld_dlopen=no
11431 rm -f core conftest.err conftest.$ac_objext \
11432 conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_lib_save_LIBS
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11436 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11437 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11438 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11439 else
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11441 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11442 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-ldld $LIBS"
11447 if test x$gcc_no_link = xyes; then
11448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char dld_link ();
11461 main ()
11463 return dld_link ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 ac_cv_lib_dld_dld_link=yes
11470 else
11471 ac_cv_lib_dld_dld_link=no
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_lib_save_LIBS
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11478 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11479 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11480 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11499 esac
11501 if test "x$lt_cv_dlopen" != xno; then
11502 enable_dlopen=yes
11503 else
11504 enable_dlopen=no
11507 case $lt_cv_dlopen in
11508 dlopen)
11509 save_CPPFLAGS="$CPPFLAGS"
11510 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11512 save_LDFLAGS="$LDFLAGS"
11513 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11515 save_LIBS="$LIBS"
11516 LIBS="$lt_cv_dlopen_libs $LIBS"
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11519 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11520 if test "${lt_cv_dlopen_self+set}" = set; then :
11521 $as_echo_n "(cached) " >&6
11522 else
11523 if test "$cross_compiling" = yes; then :
11524 lt_cv_dlopen_self=cross
11525 else
11526 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11527 lt_status=$lt_dlunknown
11528 cat > conftest.$ac_ext <<_LT_EOF
11529 #line 11529 "configure"
11530 #include "confdefs.h"
11532 #if HAVE_DLFCN_H
11533 #include <dlfcn.h>
11534 #endif
11536 #include <stdio.h>
11538 #ifdef RTLD_GLOBAL
11539 # define LT_DLGLOBAL RTLD_GLOBAL
11540 #else
11541 # ifdef DL_GLOBAL
11542 # define LT_DLGLOBAL DL_GLOBAL
11543 # else
11544 # define LT_DLGLOBAL 0
11545 # endif
11546 #endif
11548 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11549 find out it does not work in some platform. */
11550 #ifndef LT_DLLAZY_OR_NOW
11551 # ifdef RTLD_LAZY
11552 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11553 # else
11554 # ifdef DL_LAZY
11555 # define LT_DLLAZY_OR_NOW DL_LAZY
11556 # else
11557 # ifdef RTLD_NOW
11558 # define LT_DLLAZY_OR_NOW RTLD_NOW
11559 # else
11560 # ifdef DL_NOW
11561 # define LT_DLLAZY_OR_NOW DL_NOW
11562 # else
11563 # define LT_DLLAZY_OR_NOW 0
11564 # endif
11565 # endif
11566 # endif
11567 # endif
11568 #endif
11570 /* When -fvisbility=hidden is used, assume the code has been annotated
11571 correspondingly for the symbols needed. */
11572 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11573 void fnord () __attribute__((visibility("default")));
11574 #endif
11576 void fnord () { int i=42; }
11577 int main ()
11579 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11580 int status = $lt_dlunknown;
11582 if (self)
11584 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11585 else
11587 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11588 else puts (dlerror ());
11590 /* dlclose (self); */
11592 else
11593 puts (dlerror ());
11595 return status;
11597 _LT_EOF
11598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11599 (eval $ac_link) 2>&5
11600 ac_status=$?
11601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11602 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11603 (./conftest; exit; ) >&5 2>/dev/null
11604 lt_status=$?
11605 case x$lt_status in
11606 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11607 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11608 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11609 esac
11610 else :
11611 # compilation failed
11612 lt_cv_dlopen_self=no
11615 rm -fr conftest*
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11620 $as_echo "$lt_cv_dlopen_self" >&6; }
11622 if test "x$lt_cv_dlopen_self" = xyes; then
11623 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11625 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11626 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11627 $as_echo_n "(cached) " >&6
11628 else
11629 if test "$cross_compiling" = yes; then :
11630 lt_cv_dlopen_self_static=cross
11631 else
11632 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11633 lt_status=$lt_dlunknown
11634 cat > conftest.$ac_ext <<_LT_EOF
11635 #line 11635 "configure"
11636 #include "confdefs.h"
11638 #if HAVE_DLFCN_H
11639 #include <dlfcn.h>
11640 #endif
11642 #include <stdio.h>
11644 #ifdef RTLD_GLOBAL
11645 # define LT_DLGLOBAL RTLD_GLOBAL
11646 #else
11647 # ifdef DL_GLOBAL
11648 # define LT_DLGLOBAL DL_GLOBAL
11649 # else
11650 # define LT_DLGLOBAL 0
11651 # endif
11652 #endif
11654 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11655 find out it does not work in some platform. */
11656 #ifndef LT_DLLAZY_OR_NOW
11657 # ifdef RTLD_LAZY
11658 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11659 # else
11660 # ifdef DL_LAZY
11661 # define LT_DLLAZY_OR_NOW DL_LAZY
11662 # else
11663 # ifdef RTLD_NOW
11664 # define LT_DLLAZY_OR_NOW RTLD_NOW
11665 # else
11666 # ifdef DL_NOW
11667 # define LT_DLLAZY_OR_NOW DL_NOW
11668 # else
11669 # define LT_DLLAZY_OR_NOW 0
11670 # endif
11671 # endif
11672 # endif
11673 # endif
11674 #endif
11676 /* When -fvisbility=hidden is used, assume the code has been annotated
11677 correspondingly for the symbols needed. */
11678 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11679 void fnord () __attribute__((visibility("default")));
11680 #endif
11682 void fnord () { int i=42; }
11683 int main ()
11685 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11686 int status = $lt_dlunknown;
11688 if (self)
11690 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11691 else
11693 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11694 else puts (dlerror ());
11696 /* dlclose (self); */
11698 else
11699 puts (dlerror ());
11701 return status;
11703 _LT_EOF
11704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11705 (eval $ac_link) 2>&5
11706 ac_status=$?
11707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11708 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11709 (./conftest; exit; ) >&5 2>/dev/null
11710 lt_status=$?
11711 case x$lt_status in
11712 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11713 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11714 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11715 esac
11716 else :
11717 # compilation failed
11718 lt_cv_dlopen_self_static=no
11721 rm -fr conftest*
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11726 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11729 CPPFLAGS="$save_CPPFLAGS"
11730 LDFLAGS="$save_LDFLAGS"
11731 LIBS="$save_LIBS"
11733 esac
11735 case $lt_cv_dlopen_self in
11736 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11737 *) enable_dlopen_self=unknown ;;
11738 esac
11740 case $lt_cv_dlopen_self_static in
11741 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11742 *) enable_dlopen_self_static=unknown ;;
11743 esac
11762 striplib=
11763 old_striplib=
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11765 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11766 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11767 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11768 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11770 $as_echo "yes" >&6; }
11771 else
11772 # FIXME - insert some real tests, host_os isn't really good enough
11773 case $host_os in
11774 darwin*)
11775 if test -n "$STRIP" ; then
11776 striplib="$STRIP -x"
11777 old_striplib="$STRIP -S"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11779 $as_echo "yes" >&6; }
11780 else
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11782 $as_echo "no" >&6; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11789 esac
11803 # Report which library types will actually be built
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11805 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11807 $as_echo "$can_build_shared" >&6; }
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11810 $as_echo_n "checking whether to build shared libraries... " >&6; }
11811 test "$can_build_shared" = "no" && enable_shared=no
11813 # On AIX, shared libraries and static libraries use the same namespace, and
11814 # are all built from PIC.
11815 case $host_os in
11816 aix3*)
11817 test "$enable_shared" = yes && enable_static=no
11818 if test -n "$RANLIB"; then
11819 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11820 postinstall_cmds='$RANLIB $lib'
11824 aix[4-9]*)
11825 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11826 test "$enable_shared" = yes && enable_static=no
11829 esac
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11831 $as_echo "$enable_shared" >&6; }
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11834 $as_echo_n "checking whether to build static libraries... " >&6; }
11835 # Make sure either enable_shared or enable_static is yes.
11836 test "$enable_shared" = yes || enable_static=yes
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11838 $as_echo "$enable_static" >&6; }
11844 ac_ext=c
11845 ac_cpp='$CPP $CPPFLAGS'
11846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11850 CC="$lt_save_CC"
11852 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11853 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11854 (test "X$CXX" != "Xg++"))) ; then
11855 ac_ext=cpp
11856 ac_cpp='$CXXCPP $CPPFLAGS'
11857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11861 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11862 if test -z "$CXXCPP"; then
11863 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11864 $as_echo_n "(cached) " >&6
11865 else
11866 # Double quotes because CXXCPP needs to be expanded
11867 for CXXCPP in "$CXX -E" "/lib/cpp"
11869 ac_preproc_ok=false
11870 for ac_cxx_preproc_warn_flag in '' yes
11872 # Use a header file that comes with gcc, so configuring glibc
11873 # with a fresh cross-compiler works.
11874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11875 # <limits.h> exists even on freestanding compilers.
11876 # On the NeXT, cc -E runs the code through the compiler's parser,
11877 # not just through cpp. "Syntax error" is here to catch this case.
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11880 #ifdef __STDC__
11881 # include <limits.h>
11882 #else
11883 # include <assert.h>
11884 #endif
11885 Syntax error
11886 _ACEOF
11887 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 else
11890 # Broken: fails on valid input.
11891 continue
11893 rm -f conftest.err conftest.$ac_ext
11895 # OK, works on sane cases. Now check whether nonexistent headers
11896 # can be detected and how.
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11899 #include <ac_nonexistent.h>
11900 _ACEOF
11901 if ac_fn_cxx_try_cpp "$LINENO"; then :
11902 # Broken: success on invalid input.
11903 continue
11904 else
11905 # Passes both tests.
11906 ac_preproc_ok=:
11907 break
11909 rm -f conftest.err conftest.$ac_ext
11911 done
11912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11913 rm -f conftest.err conftest.$ac_ext
11914 if $ac_preproc_ok; then :
11915 break
11918 done
11919 ac_cv_prog_CXXCPP=$CXXCPP
11922 CXXCPP=$ac_cv_prog_CXXCPP
11923 else
11924 ac_cv_prog_CXXCPP=$CXXCPP
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11927 $as_echo "$CXXCPP" >&6; }
11928 ac_preproc_ok=false
11929 for ac_cxx_preproc_warn_flag in '' yes
11931 # Use a header file that comes with gcc, so configuring glibc
11932 # with a fresh cross-compiler works.
11933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11934 # <limits.h> exists even on freestanding compilers.
11935 # On the NeXT, cc -E runs the code through the compiler's parser,
11936 # not just through cpp. "Syntax error" is here to catch this case.
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #ifdef __STDC__
11940 # include <limits.h>
11941 #else
11942 # include <assert.h>
11943 #endif
11944 Syntax error
11945 _ACEOF
11946 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 else
11949 # Broken: fails on valid input.
11950 continue
11952 rm -f conftest.err conftest.$ac_ext
11954 # OK, works on sane cases. Now check whether nonexistent headers
11955 # can be detected and how.
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11958 #include <ac_nonexistent.h>
11959 _ACEOF
11960 if ac_fn_cxx_try_cpp "$LINENO"; then :
11961 # Broken: success on invalid input.
11962 continue
11963 else
11964 # Passes both tests.
11965 ac_preproc_ok=:
11966 break
11968 rm -f conftest.err conftest.$ac_ext
11970 done
11971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11972 rm -f conftest.err conftest.$ac_ext
11973 if $ac_preproc_ok; then :
11975 else
11976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11978 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11979 See \`config.log' for more details." "$LINENO" 5; }
11982 ac_ext=c
11983 ac_cpp='$CPP $CPPFLAGS'
11984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11988 else
11989 _lt_caught_CXX_error=yes
11992 ac_ext=cpp
11993 ac_cpp='$CXXCPP $CPPFLAGS'
11994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11998 archive_cmds_need_lc_CXX=no
11999 allow_undefined_flag_CXX=
12000 always_export_symbols_CXX=no
12001 archive_expsym_cmds_CXX=
12002 compiler_needs_object_CXX=no
12003 export_dynamic_flag_spec_CXX=
12004 hardcode_direct_CXX=no
12005 hardcode_direct_absolute_CXX=no
12006 hardcode_libdir_flag_spec_CXX=
12007 hardcode_libdir_flag_spec_ld_CXX=
12008 hardcode_libdir_separator_CXX=
12009 hardcode_minus_L_CXX=no
12010 hardcode_shlibpath_var_CXX=unsupported
12011 hardcode_automatic_CXX=no
12012 inherit_rpath_CXX=no
12013 module_cmds_CXX=
12014 module_expsym_cmds_CXX=
12015 link_all_deplibs_CXX=unknown
12016 old_archive_cmds_CXX=$old_archive_cmds
12017 reload_flag_CXX=$reload_flag
12018 reload_cmds_CXX=$reload_cmds
12019 no_undefined_flag_CXX=
12020 whole_archive_flag_spec_CXX=
12021 enable_shared_with_static_runtimes_CXX=no
12023 # Source file extension for C++ test sources.
12024 ac_ext=cpp
12026 # Object file extension for compiled C++ test sources.
12027 objext=o
12028 objext_CXX=$objext
12030 # No sense in running all these tests if we already determined that
12031 # the CXX compiler isn't working. Some variables (like enable_shared)
12032 # are currently assumed to apply to all compilers on this platform,
12033 # and will be corrupted by setting them based on a non-working compiler.
12034 if test "$_lt_caught_CXX_error" != yes; then
12035 # Code to be used in simple compile tests
12036 lt_simple_compile_test_code="int some_variable = 0;"
12038 # Code to be used in simple link tests
12039 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12041 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12048 # If no C compiler was specified, use CC.
12049 LTCC=${LTCC-"$CC"}
12051 # If no C compiler flags were specified, use CFLAGS.
12052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12054 # Allow CC to be a program name with arguments.
12055 compiler=$CC
12058 # save warnings/boilerplate of simple test code
12059 ac_outfile=conftest.$ac_objext
12060 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12061 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12062 _lt_compiler_boilerplate=`cat conftest.err`
12063 $RM conftest*
12065 ac_outfile=conftest.$ac_objext
12066 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12067 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12068 _lt_linker_boilerplate=`cat conftest.err`
12069 $RM -r conftest*
12072 # Allow CC to be a program name with arguments.
12073 lt_save_CC=$CC
12074 lt_save_LD=$LD
12075 lt_save_GCC=$GCC
12076 GCC=$GXX
12077 lt_save_with_gnu_ld=$with_gnu_ld
12078 lt_save_path_LD=$lt_cv_path_LD
12079 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12080 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12081 else
12082 $as_unset lt_cv_prog_gnu_ld
12084 if test -n "${lt_cv_path_LDCXX+set}"; then
12085 lt_cv_path_LD=$lt_cv_path_LDCXX
12086 else
12087 $as_unset lt_cv_path_LD
12089 test -z "${LDCXX+set}" || LD=$LDCXX
12090 CC=${CXX-"c++"}
12091 compiler=$CC
12092 compiler_CXX=$CC
12093 for cc_temp in $compiler""; do
12094 case $cc_temp in
12095 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12096 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12097 \-*) ;;
12098 *) break;;
12099 esac
12100 done
12101 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12104 if test -n "$compiler"; then
12105 # We don't want -fno-exception when compiling C++ code, so set the
12106 # no_builtin_flag separately
12107 if test "$GXX" = yes; then
12108 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12109 else
12110 lt_prog_compiler_no_builtin_flag_CXX=
12113 if test "$GXX" = yes; then
12114 # Set up default GNU C++ configuration
12118 # Check whether --with-gnu-ld was given.
12119 if test "${with_gnu_ld+set}" = set; then :
12120 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12121 else
12122 with_gnu_ld=no
12125 ac_prog=ld
12126 if test "$GCC" = yes; then
12127 # Check if gcc -print-prog-name=ld gives a path.
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12129 $as_echo_n "checking for ld used by $CC... " >&6; }
12130 case $host in
12131 *-*-mingw*)
12132 # gcc leaves a trailing carriage return which upsets mingw
12133 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12135 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12136 esac
12137 case $ac_prog in
12138 # Accept absolute paths.
12139 [\\/]* | ?:[\\/]*)
12140 re_direlt='/[^/][^/]*/\.\./'
12141 # Canonicalize the pathname of ld
12142 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12143 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12144 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12145 done
12146 test -z "$LD" && LD="$ac_prog"
12149 # If it fails, then pretend we aren't using GCC.
12150 ac_prog=ld
12153 # If it is relative, then search for the first ld in PATH.
12154 with_gnu_ld=unknown
12156 esac
12157 elif test "$with_gnu_ld" = yes; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12159 $as_echo_n "checking for GNU ld... " >&6; }
12160 else
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12162 $as_echo_n "checking for non-GNU ld... " >&6; }
12164 if test "${lt_cv_path_LD+set}" = set; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 if test -z "$LD"; then
12168 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12169 for ac_dir in $PATH; do
12170 IFS="$lt_save_ifs"
12171 test -z "$ac_dir" && ac_dir=.
12172 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12173 lt_cv_path_LD="$ac_dir/$ac_prog"
12174 # Check to see if the program is GNU ld. I'd rather use --version,
12175 # but apparently some variants of GNU ld only accept -v.
12176 # Break only if it was the GNU/non-GNU ld that we prefer.
12177 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12178 *GNU* | *'with BFD'*)
12179 test "$with_gnu_ld" != no && break
12182 test "$with_gnu_ld" != yes && break
12184 esac
12186 done
12187 IFS="$lt_save_ifs"
12188 else
12189 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12193 LD="$lt_cv_path_LD"
12194 if test -n "$LD"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12196 $as_echo "$LD" >&6; }
12197 else
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12201 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12204 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12205 $as_echo_n "(cached) " >&6
12206 else
12207 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12208 case `$LD -v 2>&1 </dev/null` in
12209 *GNU* | *'with BFD'*)
12210 lt_cv_prog_gnu_ld=yes
12213 lt_cv_prog_gnu_ld=no
12215 esac
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12218 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12219 with_gnu_ld=$lt_cv_prog_gnu_ld
12227 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12228 # archiving commands below assume that GNU ld is being used.
12229 if test "$with_gnu_ld" = yes; then
12230 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12231 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'
12233 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12234 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12236 # If archive_cmds runs LD, not CC, wlarc should be empty
12237 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12238 # investigate it a little bit more. (MM)
12239 wlarc='${wl}'
12241 # ancient GNU ld didn't support --whole-archive et. al.
12242 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12243 $GREP 'no-whole-archive' > /dev/null; then
12244 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12245 else
12246 whole_archive_flag_spec_CXX=
12248 else
12249 with_gnu_ld=no
12250 wlarc=
12252 # A generic and very simple default shared library creation
12253 # command for GNU C++ for the case where it uses the native
12254 # linker, instead of GNU ld. If possible, this setting should
12255 # overridden to take advantage of the native linker features on
12256 # the platform it is being used on.
12257 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12260 # Commands to make compiler produce verbose output that lists
12261 # what "hidden" libraries, object files and flags are used when
12262 # linking a shared library.
12263 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12265 else
12266 GXX=no
12267 with_gnu_ld=no
12268 wlarc=
12271 # PORTME: fill in a description of your system's C++ link characteristics
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12274 ld_shlibs_CXX=yes
12275 case $host_os in
12276 aix3*)
12277 # FIXME: insert proper C++ library support
12278 ld_shlibs_CXX=no
12280 aix[4-9]*)
12281 if test "$host_cpu" = ia64; then
12282 # On IA64, the linker does run time linking by default, so we don't
12283 # have to do anything special.
12284 aix_use_runtimelinking=no
12285 exp_sym_flag='-Bexport'
12286 no_entry_flag=""
12287 else
12288 aix_use_runtimelinking=no
12290 # Test if we are trying to use run time linking or normal
12291 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12292 # need to do runtime linking.
12293 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12294 for ld_flag in $LDFLAGS; do
12295 case $ld_flag in
12296 *-brtl*)
12297 aix_use_runtimelinking=yes
12298 break
12300 esac
12301 done
12303 esac
12305 exp_sym_flag='-bexport'
12306 no_entry_flag='-bnoentry'
12309 # When large executables or shared objects are built, AIX ld can
12310 # have problems creating the table of contents. If linking a library
12311 # or program results in "error TOC overflow" add -mminimal-toc to
12312 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12313 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12315 archive_cmds_CXX=''
12316 hardcode_direct_CXX=yes
12317 hardcode_direct_absolute_CXX=yes
12318 hardcode_libdir_separator_CXX=':'
12319 link_all_deplibs_CXX=yes
12320 file_list_spec_CXX='${wl}-f,'
12322 if test "$GXX" = yes; then
12323 case $host_os in aix4.[012]|aix4.[012].*)
12324 # We only want to do this on AIX 4.2 and lower, the check
12325 # below for broken collect2 doesn't work under 4.3+
12326 collect2name=`${CC} -print-prog-name=collect2`
12327 if test -f "$collect2name" &&
12328 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12329 then
12330 # We have reworked collect2
12332 else
12333 # We have old collect2
12334 hardcode_direct_CXX=unsupported
12335 # It fails to find uninstalled libraries when the uninstalled
12336 # path is not listed in the libpath. Setting hardcode_minus_L
12337 # to unsupported forces relinking
12338 hardcode_minus_L_CXX=yes
12339 hardcode_libdir_flag_spec_CXX='-L$libdir'
12340 hardcode_libdir_separator_CXX=
12342 esac
12343 shared_flag='-shared'
12344 if test "$aix_use_runtimelinking" = yes; then
12345 shared_flag="$shared_flag "'${wl}-G'
12347 else
12348 # not using gcc
12349 if test "$host_cpu" = ia64; then
12350 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12351 # chokes on -Wl,-G. The following line is correct:
12352 shared_flag='-G'
12353 else
12354 if test "$aix_use_runtimelinking" = yes; then
12355 shared_flag='${wl}-G'
12356 else
12357 shared_flag='${wl}-bM:SRE'
12362 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12363 # It seems that -bexpall does not export symbols beginning with
12364 # underscore (_), so it is better to generate a list of symbols to
12365 # export.
12366 always_export_symbols_CXX=yes
12367 if test "$aix_use_runtimelinking" = yes; then
12368 # Warning - without using the other runtime loading flags (-brtl),
12369 # -berok will link without error, but may produce a broken library.
12370 allow_undefined_flag_CXX='-berok'
12371 # Determine the default libpath from the value encoded in an empty
12372 # executable.
12373 if test x$gcc_no_link = xyes; then
12374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12380 main ()
12384 return 0;
12386 _ACEOF
12387 if ac_fn_cxx_try_link "$LINENO"; then :
12389 lt_aix_libpath_sed='
12390 /Import File Strings/,/^$/ {
12391 /^0/ {
12392 s/^0 *\(.*\)$/\1/
12396 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12397 # Check for a 64-bit object if we didn't find anything.
12398 if test -z "$aix_libpath"; then
12399 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 rm -f core conftest.err conftest.$ac_objext \
12403 conftest$ac_exeext conftest.$ac_ext
12404 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12406 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12408 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"
12409 else
12410 if test "$host_cpu" = ia64; then
12411 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12412 allow_undefined_flag_CXX="-z nodefs"
12413 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"
12414 else
12415 # Determine the default libpath from the value encoded in an
12416 # empty executable.
12417 if test x$gcc_no_link = xyes; then
12418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12424 main ()
12428 return 0;
12430 _ACEOF
12431 if ac_fn_cxx_try_link "$LINENO"; then :
12433 lt_aix_libpath_sed='
12434 /Import File Strings/,/^$/ {
12435 /^0/ {
12436 s/^0 *\(.*\)$/\1/
12440 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12441 # Check for a 64-bit object if we didn't find anything.
12442 if test -z "$aix_libpath"; then
12443 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12450 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12451 # Warning - without using the other run time loading flags,
12452 # -berok will link without error, but may produce a broken library.
12453 no_undefined_flag_CXX=' ${wl}-bernotok'
12454 allow_undefined_flag_CXX=' ${wl}-berok'
12455 if test "$with_gnu_ld" = yes; then
12456 # We only use this code for GNU lds that support --whole-archive.
12457 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12458 else
12459 # Exported symbols can be pulled into shared objects from archives
12460 whole_archive_flag_spec_CXX='$convenience'
12462 archive_cmds_need_lc_CXX=yes
12463 # This is similar to how AIX traditionally builds its shared
12464 # libraries.
12465 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'
12470 beos*)
12471 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12472 allow_undefined_flag_CXX=unsupported
12473 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12474 # support --undefined. This deserves some investigation. FIXME
12475 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12476 else
12477 ld_shlibs_CXX=no
12481 chorus*)
12482 case $cc_basename in
12484 # FIXME: insert proper C++ library support
12485 ld_shlibs_CXX=no
12487 esac
12490 cygwin* | mingw* | pw32* | cegcc*)
12491 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12492 # as there is no search path for DLLs.
12493 hardcode_libdir_flag_spec_CXX='-L$libdir'
12494 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12495 allow_undefined_flag_CXX=unsupported
12496 always_export_symbols_CXX=no
12497 enable_shared_with_static_runtimes_CXX=yes
12499 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12500 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'
12501 # If the export-symbols file already is a .def file (1st line
12502 # is EXPORTS), use it as is; otherwise, prepend...
12503 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12504 cp $export_symbols $output_objdir/$soname.def;
12505 else
12506 echo EXPORTS > $output_objdir/$soname.def;
12507 cat $export_symbols >> $output_objdir/$soname.def;
12509 $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'
12510 else
12511 ld_shlibs_CXX=no
12514 darwin* | rhapsody*)
12517 archive_cmds_need_lc_CXX=no
12518 hardcode_direct_CXX=no
12519 hardcode_automatic_CXX=yes
12520 hardcode_shlibpath_var_CXX=unsupported
12521 if test "$lt_cv_ld_force_load" = "yes"; then
12522 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\"`'
12523 else
12524 whole_archive_flag_spec_CXX=''
12526 link_all_deplibs_CXX=yes
12527 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12528 case $cc_basename in
12529 ifort*) _lt_dar_can_shared=yes ;;
12530 *) _lt_dar_can_shared=$GCC ;;
12531 esac
12532 if test "$_lt_dar_can_shared" = "yes"; then
12533 output_verbose_link_cmd=func_echo_all
12534 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}"
12535 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12536 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}"
12537 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}"
12538 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12539 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}"
12540 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}"
12543 else
12544 ld_shlibs_CXX=no
12549 dgux*)
12550 case $cc_basename in
12551 ec++*)
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12555 ghcx*)
12556 # Green Hills C++ Compiler
12557 # FIXME: insert proper C++ library support
12558 ld_shlibs_CXX=no
12561 # FIXME: insert proper C++ library support
12562 ld_shlibs_CXX=no
12564 esac
12567 freebsd2.*)
12568 # C++ shared libraries reported to be fairly broken before
12569 # switch to ELF
12570 ld_shlibs_CXX=no
12573 freebsd-elf*)
12574 archive_cmds_need_lc_CXX=no
12577 freebsd* | dragonfly*)
12578 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12579 # conventions
12580 ld_shlibs_CXX=yes
12583 gnu*)
12586 haiku*)
12587 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12588 link_all_deplibs_CXX=yes
12591 hpux9*)
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12594 export_dynamic_flag_spec_CXX='${wl}-E'
12595 hardcode_direct_CXX=yes
12596 hardcode_minus_L_CXX=yes # Not in the search PATH,
12597 # but as the default
12598 # location of the library.
12600 case $cc_basename in
12601 CC*)
12602 # FIXME: insert proper C++ library support
12603 ld_shlibs_CXX=no
12605 aCC*)
12606 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'
12607 # Commands to make compiler produce verbose output that lists
12608 # what "hidden" libraries, object files and flags are used when
12609 # linking a shared library.
12611 # There doesn't appear to be a way to prevent this compiler from
12612 # explicitly linking system object files so we need to strip them
12613 # from the output so that they don't get included in the library
12614 # dependencies.
12615 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"'
12618 if test "$GXX" = yes; then
12619 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'
12620 else
12621 # FIXME: insert proper C++ library support
12622 ld_shlibs_CXX=no
12625 esac
12628 hpux10*|hpux11*)
12629 if test $with_gnu_ld = no; then
12630 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12631 hardcode_libdir_separator_CXX=:
12633 case $host_cpu in
12634 hppa*64*|ia64*)
12637 export_dynamic_flag_spec_CXX='${wl}-E'
12639 esac
12641 case $host_cpu in
12642 hppa*64*|ia64*)
12643 hardcode_direct_CXX=no
12644 hardcode_shlibpath_var_CXX=no
12647 hardcode_direct_CXX=yes
12648 hardcode_direct_absolute_CXX=yes
12649 hardcode_minus_L_CXX=yes # Not in the search PATH,
12650 # but as the default
12651 # location of the library.
12653 esac
12655 case $cc_basename in
12656 CC*)
12657 # FIXME: insert proper C++ library support
12658 ld_shlibs_CXX=no
12660 aCC*)
12661 case $host_cpu in
12662 hppa*64*)
12663 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12665 ia64*)
12666 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12671 esac
12672 # Commands to make compiler produce verbose output that lists
12673 # what "hidden" libraries, object files and flags are used when
12674 # linking a shared library.
12676 # There doesn't appear to be a way to prevent this compiler from
12677 # explicitly linking system object files so we need to strip them
12678 # from the output so that they don't get included in the library
12679 # dependencies.
12680 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"'
12683 if test "$GXX" = yes; then
12684 if test $with_gnu_ld = no; then
12685 case $host_cpu in
12686 hppa*64*)
12687 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12689 ia64*)
12690 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12693 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'
12695 esac
12697 else
12698 # FIXME: insert proper C++ library support
12699 ld_shlibs_CXX=no
12702 esac
12705 interix[3-9]*)
12706 hardcode_direct_CXX=no
12707 hardcode_shlibpath_var_CXX=no
12708 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12709 export_dynamic_flag_spec_CXX='${wl}-E'
12710 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12711 # Instead, shared libraries are loaded at an image base (0x10000000 by
12712 # default) and relocated if they conflict, which is a slow very memory
12713 # consuming and fragmenting process. To avoid this, we pick a random,
12714 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12715 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12716 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'
12717 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'
12719 irix5* | irix6*)
12720 case $cc_basename in
12721 CC*)
12722 # SGI C++
12723 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'
12725 # Archives containing C++ object files must be created using
12726 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12727 # necessary to make sure instantiated templates are included
12728 # in the archive.
12729 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12732 if test "$GXX" = yes; then
12733 if test "$with_gnu_ld" = no; then
12734 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'
12735 else
12736 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'
12739 link_all_deplibs_CXX=yes
12741 esac
12742 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12743 hardcode_libdir_separator_CXX=:
12744 inherit_rpath_CXX=yes
12747 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12748 case $cc_basename in
12749 KCC*)
12750 # Kuck and Associates, Inc. (KAI) C++ Compiler
12752 # KCC will only create a shared library if the output file
12753 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12754 # to its proper name (with version) after linking.
12755 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'
12756 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'
12757 # Commands to make compiler produce verbose output that lists
12758 # what "hidden" libraries, object files and flags are used when
12759 # linking a shared library.
12761 # There doesn't appear to be a way to prevent this compiler from
12762 # explicitly linking system object files so we need to strip them
12763 # from the output so that they don't get included in the library
12764 # dependencies.
12765 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"'
12767 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12768 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12770 # Archives containing C++ object files must be created using
12771 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12772 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12774 icpc* | ecpc* )
12775 # Intel C++
12776 with_gnu_ld=yes
12777 # version 8.0 and above of icpc choke on multiply defined symbols
12778 # if we add $predep_objects and $postdep_objects, however 7.1 and
12779 # earlier do not add the objects themselves.
12780 case `$CC -V 2>&1` in
12781 *"Version 7."*)
12782 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783 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'
12785 *) # Version 8.0 or newer
12786 tmp_idyn=
12787 case $host_cpu in
12788 ia64*) tmp_idyn=' -i_dynamic';;
12789 esac
12790 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12791 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'
12793 esac
12794 archive_cmds_need_lc_CXX=no
12795 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12796 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12797 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12799 pgCC* | pgcpp*)
12800 # Portland Group C++ compiler
12801 case `$CC -V` in
12802 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12803 prelink_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12806 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12807 old_archive_cmds_CXX='tpldir=Template.dir~
12808 rm -rf $tpldir~
12809 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12810 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12811 $RANLIB $oldlib'
12812 archive_cmds_CXX='tpldir=Template.dir~
12813 rm -rf $tpldir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12815 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12816 archive_expsym_cmds_CXX='tpldir=Template.dir~
12817 rm -rf $tpldir~
12818 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12819 $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'
12821 *) # Version 6 and above use weak symbols
12822 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12823 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'
12825 esac
12827 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12828 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12829 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'
12831 cxx*)
12832 # Compaq C++
12833 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834 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'
12836 runpath_var=LD_RUN_PATH
12837 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12838 hardcode_libdir_separator_CXX=:
12840 # Commands to make compiler produce verbose output that lists
12841 # what "hidden" libraries, object files and flags are used when
12842 # linking a shared library.
12844 # There doesn't appear to be a way to prevent this compiler from
12845 # explicitly linking system object files so we need to strip them
12846 # from the output so that they don't get included in the library
12847 # dependencies.
12848 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'
12850 xl* | mpixl* | bgxl*)
12851 # IBM XL 8.0 on PPC, with GNU ld
12852 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12853 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12854 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12855 if test "x$supports_anon_versioning" = xyes; then
12856 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12857 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12858 echo "local: *; };" >> $output_objdir/$libname.ver~
12859 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12863 case `$CC -V 2>&1 | sed 5q` in
12864 *Sun\ C*)
12865 # Sun C++ 5.9
12866 no_undefined_flag_CXX=' -zdefs'
12867 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12868 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'
12869 hardcode_libdir_flag_spec_CXX='-R$libdir'
12870 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'
12871 compiler_needs_object_CXX=yes
12873 # Not sure whether something based on
12874 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12875 # would be better.
12876 output_verbose_link_cmd='func_echo_all'
12878 # Archives containing C++ object files must be created using
12879 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12880 # necessary to make sure instantiated templates are included
12881 # in the archive.
12882 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12884 esac
12886 esac
12889 lynxos*)
12890 # FIXME: insert proper C++ library support
12891 ld_shlibs_CXX=no
12894 m88k*)
12895 # FIXME: insert proper C++ library support
12896 ld_shlibs_CXX=no
12899 mvs*)
12900 case $cc_basename in
12901 cxx*)
12902 # FIXME: insert proper C++ library support
12903 ld_shlibs_CXX=no
12906 # FIXME: insert proper C++ library support
12907 ld_shlibs_CXX=no
12909 esac
12912 netbsd*)
12913 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12914 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12915 wlarc=
12916 hardcode_libdir_flag_spec_CXX='-R$libdir'
12917 hardcode_direct_CXX=yes
12918 hardcode_shlibpath_var_CXX=no
12920 # Workaround some broken pre-1.5 toolchains
12921 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12924 *nto* | *qnx*)
12925 ld_shlibs_CXX=yes
12928 openbsd2*)
12929 # C++ shared libraries are fairly broken
12930 ld_shlibs_CXX=no
12933 openbsd*)
12934 if test -f /usr/libexec/ld.so; then
12935 hardcode_direct_CXX=yes
12936 hardcode_shlibpath_var_CXX=no
12937 hardcode_direct_absolute_CXX=yes
12938 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12939 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12940 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12941 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12942 export_dynamic_flag_spec_CXX='${wl}-E'
12943 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12945 output_verbose_link_cmd=func_echo_all
12946 else
12947 ld_shlibs_CXX=no
12951 osf3* | osf4* | osf5*)
12952 case $cc_basename in
12953 KCC*)
12954 # Kuck and Associates, Inc. (KAI) C++ Compiler
12956 # KCC will only create a shared library if the output file
12957 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12958 # to its proper name (with version) after linking.
12959 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'
12961 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12962 hardcode_libdir_separator_CXX=:
12964 # Archives containing C++ object files must be created using
12965 # the KAI C++ compiler.
12966 case $host in
12967 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12968 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12969 esac
12971 RCC*)
12972 # Rational C++ 2.4.1
12973 # FIXME: insert proper C++ library support
12974 ld_shlibs_CXX=no
12976 cxx*)
12977 case $host in
12978 osf3*)
12979 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12980 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'
12981 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12984 allow_undefined_flag_CXX=' -expect_unresolved \*'
12985 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'
12986 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12987 echo "-hidden">> $lib.exp~
12988 $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~
12989 $RM $lib.exp'
12990 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12992 esac
12994 hardcode_libdir_separator_CXX=:
12996 # Commands to make compiler produce verbose output that lists
12997 # what "hidden" libraries, object files and flags are used when
12998 # linking a shared library.
13000 # There doesn't appear to be a way to prevent this compiler from
13001 # explicitly linking system object files so we need to strip them
13002 # from the output so that they don't get included in the library
13003 # dependencies.
13004 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"'
13007 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13008 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13009 case $host in
13010 osf3*)
13011 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'
13014 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'
13016 esac
13018 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13019 hardcode_libdir_separator_CXX=:
13021 # Commands to make compiler produce verbose output that lists
13022 # what "hidden" libraries, object files and flags are used when
13023 # linking a shared library.
13024 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13026 else
13027 # FIXME: insert proper C++ library support
13028 ld_shlibs_CXX=no
13031 esac
13034 psos*)
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13039 sunos4*)
13040 case $cc_basename in
13041 CC*)
13042 # Sun C++ 4.x
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13046 lcc*)
13047 # Lucid
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13052 # FIXME: insert proper C++ library support
13053 ld_shlibs_CXX=no
13055 esac
13058 solaris*)
13059 case $cc_basename in
13060 CC*)
13061 # Sun C++ 4.2, 5.x and Centerline C++
13062 archive_cmds_need_lc_CXX=yes
13063 no_undefined_flag_CXX=' -zdefs'
13064 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13065 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13066 $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'
13068 hardcode_libdir_flag_spec_CXX='-R$libdir'
13069 hardcode_shlibpath_var_CXX=no
13070 case $host_os in
13071 solaris2.[0-5] | solaris2.[0-5].*) ;;
13073 # The compiler driver will combine and reorder linker options,
13074 # but understands `-z linker_flag'.
13075 # Supported since Solaris 2.6 (maybe 2.5.1?)
13076 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13078 esac
13079 link_all_deplibs_CXX=yes
13081 output_verbose_link_cmd='func_echo_all'
13083 # Archives containing C++ object files must be created using
13084 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13085 # necessary to make sure instantiated templates are included
13086 # in the archive.
13087 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13089 gcx*)
13090 # Green Hills C++ Compiler
13091 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13093 # The C++ compiler must be used to create the archive.
13094 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13097 # GNU C++ compiler with Solaris linker
13098 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13099 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13100 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13101 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13102 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13103 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13105 # Commands to make compiler produce verbose output that lists
13106 # what "hidden" libraries, object files and flags are used when
13107 # linking a shared library.
13108 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109 else
13110 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13111 # platform.
13112 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13113 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13114 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13116 # Commands to make compiler produce verbose output that lists
13117 # what "hidden" libraries, object files and flags are used when
13118 # linking a shared library.
13119 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13122 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13123 case $host_os in
13124 solaris2.[0-5] | solaris2.[0-5].*) ;;
13126 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13128 esac
13131 esac
13134 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13135 no_undefined_flag_CXX='${wl}-z,text'
13136 archive_cmds_need_lc_CXX=no
13137 hardcode_shlibpath_var_CXX=no
13138 runpath_var='LD_RUN_PATH'
13140 case $cc_basename in
13141 CC*)
13142 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13147 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13149 esac
13152 sysv5* | sco3.2v5* | sco5v6*)
13153 # Note: We can NOT use -z defs as we might desire, because we do not
13154 # link with -lc, and that would cause any symbols used from libc to
13155 # always be unresolved, which means just about no library would
13156 # ever link correctly. If we're not using GNU ld we use -z text
13157 # though, which does catch some bad symbols but isn't as heavy-handed
13158 # as -z defs.
13159 no_undefined_flag_CXX='${wl}-z,text'
13160 allow_undefined_flag_CXX='${wl}-z,nodefs'
13161 archive_cmds_need_lc_CXX=no
13162 hardcode_shlibpath_var_CXX=no
13163 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13164 hardcode_libdir_separator_CXX=':'
13165 link_all_deplibs_CXX=yes
13166 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13167 runpath_var='LD_RUN_PATH'
13169 case $cc_basename in
13170 CC*)
13171 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13172 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13173 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13174 '"$old_archive_cmds_CXX"
13175 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13176 '"$reload_cmds_CXX"
13179 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13180 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13182 esac
13185 tandem*)
13186 case $cc_basename in
13187 NCC*)
13188 # NonStop-UX NCC 3.20
13189 # FIXME: insert proper C++ library support
13190 ld_shlibs_CXX=no
13193 # FIXME: insert proper C++ library support
13194 ld_shlibs_CXX=no
13196 esac
13199 vxworks*)
13200 # FIXME: insert proper C++ library support
13201 ld_shlibs_CXX=no
13205 # FIXME: insert proper C++ library support
13206 ld_shlibs_CXX=no
13208 esac
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13211 $as_echo "$ld_shlibs_CXX" >&6; }
13212 test "$ld_shlibs_CXX" = no && can_build_shared=no
13214 GCC_CXX="$GXX"
13215 LD_CXX="$LD"
13217 ## CAVEAT EMPTOR:
13218 ## There is no encapsulation within the following macros, do not change
13219 ## the running order or otherwise move them around unless you know exactly
13220 ## what you are doing...
13221 # Dependencies to place before and after the object being linked:
13222 predep_objects_CXX=
13223 postdep_objects_CXX=
13224 predeps_CXX=
13225 postdeps_CXX=
13226 compiler_lib_search_path_CXX=
13228 cat > conftest.$ac_ext <<_LT_EOF
13229 class Foo
13231 public:
13232 Foo (void) { a = 0; }
13233 private:
13234 int a;
13236 _LT_EOF
13238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13239 (eval $ac_compile) 2>&5
13240 ac_status=$?
13241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13242 test $ac_status = 0; }; then
13243 # Parse the compiler output and extract the necessary
13244 # objects, libraries and library flags.
13246 # Sentinel used to keep track of whether or not we are before
13247 # the conftest object file.
13248 pre_test_object_deps_done=no
13250 for p in `eval "$output_verbose_link_cmd"`; do
13251 case $p in
13253 -L* | -R* | -l*)
13254 # Some compilers place space between "-{L,R}" and the path.
13255 # Remove the space.
13256 if test $p = "-L" ||
13257 test $p = "-R"; then
13258 prev=$p
13259 continue
13260 else
13261 prev=
13264 if test "$pre_test_object_deps_done" = no; then
13265 case $p in
13266 -L* | -R*)
13267 # Internal compiler library paths should come after those
13268 # provided the user. The postdeps already come after the
13269 # user supplied libs so there is no need to process them.
13270 if test -z "$compiler_lib_search_path_CXX"; then
13271 compiler_lib_search_path_CXX="${prev}${p}"
13272 else
13273 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13276 # The "-l" case would never come before the object being
13277 # linked, so don't bother handling this case.
13278 esac
13279 else
13280 if test -z "$postdeps_CXX"; then
13281 postdeps_CXX="${prev}${p}"
13282 else
13283 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13288 *.$objext)
13289 # This assumes that the test object file only shows up
13290 # once in the compiler output.
13291 if test "$p" = "conftest.$objext"; then
13292 pre_test_object_deps_done=yes
13293 continue
13296 if test "$pre_test_object_deps_done" = no; then
13297 if test -z "$predep_objects_CXX"; then
13298 predep_objects_CXX="$p"
13299 else
13300 predep_objects_CXX="$predep_objects_CXX $p"
13302 else
13303 if test -z "$postdep_objects_CXX"; then
13304 postdep_objects_CXX="$p"
13305 else
13306 postdep_objects_CXX="$postdep_objects_CXX $p"
13311 *) ;; # Ignore the rest.
13313 esac
13314 done
13316 # Clean up.
13317 rm -f a.out a.exe
13318 else
13319 echo "libtool.m4: error: problem compiling CXX test program"
13322 $RM -f confest.$objext
13324 # PORTME: override above test on systems where it is broken
13325 case $host_os in
13326 interix[3-9]*)
13327 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13328 # hack all around it, let's just trust "g++" to DTRT.
13329 predep_objects_CXX=
13330 postdep_objects_CXX=
13331 postdeps_CXX=
13334 linux*)
13335 case `$CC -V 2>&1 | sed 5q` in
13336 *Sun\ C*)
13337 # Sun C++ 5.9
13339 # The more standards-conforming stlport4 library is
13340 # incompatible with the Cstd library. Avoid specifying
13341 # it if it's in CXXFLAGS. Ignore libCrun as
13342 # -library=stlport4 depends on it.
13343 case " $CXX $CXXFLAGS " in
13344 *" -library=stlport4 "*)
13345 solaris_use_stlport4=yes
13347 esac
13349 if test "$solaris_use_stlport4" != yes; then
13350 postdeps_CXX='-library=Cstd -library=Crun'
13353 esac
13356 solaris*)
13357 case $cc_basename in
13358 CC*)
13359 # The more standards-conforming stlport4 library is
13360 # incompatible with the Cstd library. Avoid specifying
13361 # it if it's in CXXFLAGS. Ignore libCrun as
13362 # -library=stlport4 depends on it.
13363 case " $CXX $CXXFLAGS " in
13364 *" -library=stlport4 "*)
13365 solaris_use_stlport4=yes
13367 esac
13369 # Adding this requires a known-good setup of shared libraries for
13370 # Sun compiler versions before 5.6, else PIC objects from an old
13371 # archive will be linked into the output, leading to subtle bugs.
13372 if test "$solaris_use_stlport4" != yes; then
13373 postdeps_CXX='-library=Cstd -library=Crun'
13376 esac
13378 esac
13381 case " $postdeps_CXX " in
13382 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13383 esac
13384 compiler_lib_search_dirs_CXX=
13385 if test -n "${compiler_lib_search_path_CXX}"; then
13386 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13419 lt_prog_compiler_wl_CXX=
13420 lt_prog_compiler_pic_CXX=
13421 lt_prog_compiler_static_CXX=
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13424 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13426 # C++ specific cases for pic, static, wl, etc.
13427 if test "$GXX" = yes; then
13428 lt_prog_compiler_wl_CXX='-Wl,'
13429 lt_prog_compiler_static_CXX='-static'
13431 case $host_os in
13432 aix*)
13433 # All AIX code is PIC.
13434 if test "$host_cpu" = ia64; then
13435 # AIX 5 now supports IA64 processor
13436 lt_prog_compiler_static_CXX='-Bstatic'
13438 lt_prog_compiler_pic_CXX='-fPIC'
13441 amigaos*)
13442 case $host_cpu in
13443 powerpc)
13444 # see comment about AmigaOS4 .so support
13445 lt_prog_compiler_pic_CXX='-fPIC'
13447 m68k)
13448 # FIXME: we need at least 68020 code to build shared libraries, but
13449 # adding the `-m68020' flag to GCC prevents building anything better,
13450 # like `-m68040'.
13451 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13453 esac
13456 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13457 # PIC is the default for these OSes.
13459 mingw* | cygwin* | os2* | pw32* | cegcc*)
13460 # This hack is so that the source file can tell whether it is being
13461 # built for inclusion in a dll (and should export symbols for example).
13462 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13463 # (--disable-auto-import) libraries
13464 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13466 darwin* | rhapsody*)
13467 # PIC is the default on this platform
13468 # Common symbols not allowed in MH_DYLIB files
13469 lt_prog_compiler_pic_CXX='-fno-common'
13471 *djgpp*)
13472 # DJGPP does not support shared libraries at all
13473 lt_prog_compiler_pic_CXX=
13475 haiku*)
13476 # PIC is the default for Haiku.
13477 # The "-static" flag exists, but is broken.
13478 lt_prog_compiler_static_CXX=
13480 interix[3-9]*)
13481 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13482 # Instead, we relocate shared libraries at runtime.
13484 sysv4*MP*)
13485 if test -d /usr/nec; then
13486 lt_prog_compiler_pic_CXX=-Kconform_pic
13489 hpux*)
13490 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13491 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13492 # sets the default TLS model and affects inlining.
13493 case $host_cpu in
13494 hppa*64*)
13497 lt_prog_compiler_pic_CXX='-fPIC'
13499 esac
13501 *qnx* | *nto*)
13502 # QNX uses GNU C++, but need to define -shared option too, otherwise
13503 # it will coredump.
13504 lt_prog_compiler_pic_CXX='-fPIC -shared'
13507 lt_prog_compiler_pic_CXX='-fPIC'
13509 esac
13510 else
13511 case $host_os in
13512 aix[4-9]*)
13513 # All AIX code is PIC.
13514 if test "$host_cpu" = ia64; then
13515 # AIX 5 now supports IA64 processor
13516 lt_prog_compiler_static_CXX='-Bstatic'
13517 else
13518 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13521 chorus*)
13522 case $cc_basename in
13523 cxch68*)
13524 # Green Hills C++ Compiler
13525 # _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"
13527 esac
13529 dgux*)
13530 case $cc_basename in
13531 ec++*)
13532 lt_prog_compiler_pic_CXX='-KPIC'
13534 ghcx*)
13535 # Green Hills C++ Compiler
13536 lt_prog_compiler_pic_CXX='-pic'
13540 esac
13542 freebsd* | dragonfly*)
13543 # FreeBSD uses GNU C++
13545 hpux9* | hpux10* | hpux11*)
13546 case $cc_basename in
13547 CC*)
13548 lt_prog_compiler_wl_CXX='-Wl,'
13549 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13550 if test "$host_cpu" != ia64; then
13551 lt_prog_compiler_pic_CXX='+Z'
13554 aCC*)
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13557 case $host_cpu in
13558 hppa*64*|ia64*)
13559 # +Z the default
13562 lt_prog_compiler_pic_CXX='+Z'
13564 esac
13568 esac
13570 interix*)
13571 # This is c89, which is MS Visual C++ (no shared libs)
13572 # Anyone wants to do a port?
13574 irix5* | irix6* | nonstopux*)
13575 case $cc_basename in
13576 CC*)
13577 lt_prog_compiler_wl_CXX='-Wl,'
13578 lt_prog_compiler_static_CXX='-non_shared'
13579 # CC pic flag -KPIC is the default.
13583 esac
13585 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13586 case $cc_basename in
13587 KCC*)
13588 # KAI C++ Compiler
13589 lt_prog_compiler_wl_CXX='--backend -Wl,'
13590 lt_prog_compiler_pic_CXX='-fPIC'
13592 ecpc* )
13593 # old Intel C++ for x86_64 which still supported -KPIC.
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-KPIC'
13596 lt_prog_compiler_static_CXX='-static'
13598 icpc* )
13599 # Intel C++, used to be incompatible with GCC.
13600 # ICC 10 doesn't accept -KPIC any more.
13601 lt_prog_compiler_wl_CXX='-Wl,'
13602 lt_prog_compiler_pic_CXX='-fPIC'
13603 lt_prog_compiler_static_CXX='-static'
13605 pgCC* | pgcpp*)
13606 # Portland Group C++ compiler
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-fpic'
13609 lt_prog_compiler_static_CXX='-Bstatic'
13611 cxx*)
13612 # Compaq C++
13613 # Make sure the PIC flag is empty. It appears that all Alpha
13614 # Linux and Compaq Tru64 Unix objects are PIC.
13615 lt_prog_compiler_pic_CXX=
13616 lt_prog_compiler_static_CXX='-non_shared'
13618 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13619 # IBM XL 8.0, 9.0 on PPC and BlueGene
13620 lt_prog_compiler_wl_CXX='-Wl,'
13621 lt_prog_compiler_pic_CXX='-qpic'
13622 lt_prog_compiler_static_CXX='-qstaticlink'
13625 case `$CC -V 2>&1 | sed 5q` in
13626 *Sun\ C*)
13627 # Sun C++ 5.9
13628 lt_prog_compiler_pic_CXX='-KPIC'
13629 lt_prog_compiler_static_CXX='-Bstatic'
13630 lt_prog_compiler_wl_CXX='-Qoption ld '
13632 esac
13634 esac
13636 lynxos*)
13638 m88k*)
13640 mvs*)
13641 case $cc_basename in
13642 cxx*)
13643 lt_prog_compiler_pic_CXX='-W c,exportall'
13647 esac
13649 netbsd*)
13651 *qnx* | *nto*)
13652 # QNX uses GNU C++, but need to define -shared option too, otherwise
13653 # it will coredump.
13654 lt_prog_compiler_pic_CXX='-fPIC -shared'
13656 osf3* | osf4* | osf5*)
13657 case $cc_basename in
13658 KCC*)
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13661 RCC*)
13662 # Rational C++ 2.4.1
13663 lt_prog_compiler_pic_CXX='-pic'
13665 cxx*)
13666 # Digital/Compaq C++
13667 lt_prog_compiler_wl_CXX='-Wl,'
13668 # Make sure the PIC flag is empty. It appears that all Alpha
13669 # Linux and Compaq Tru64 Unix objects are PIC.
13670 lt_prog_compiler_pic_CXX=
13671 lt_prog_compiler_static_CXX='-non_shared'
13675 esac
13677 psos*)
13679 solaris*)
13680 case $cc_basename in
13681 CC*)
13682 # Sun C++ 4.2, 5.x and Centerline C++
13683 lt_prog_compiler_pic_CXX='-KPIC'
13684 lt_prog_compiler_static_CXX='-Bstatic'
13685 lt_prog_compiler_wl_CXX='-Qoption ld '
13687 gcx*)
13688 # Green Hills C++ Compiler
13689 lt_prog_compiler_pic_CXX='-PIC'
13693 esac
13695 sunos4*)
13696 case $cc_basename in
13697 CC*)
13698 # Sun C++ 4.x
13699 lt_prog_compiler_pic_CXX='-pic'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13702 lcc*)
13703 # Lucid
13704 lt_prog_compiler_pic_CXX='-pic'
13708 esac
13710 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13711 case $cc_basename in
13712 CC*)
13713 lt_prog_compiler_wl_CXX='-Wl,'
13714 lt_prog_compiler_pic_CXX='-KPIC'
13715 lt_prog_compiler_static_CXX='-Bstatic'
13717 esac
13719 tandem*)
13720 case $cc_basename in
13721 NCC*)
13722 # NonStop-UX NCC 3.20
13723 lt_prog_compiler_pic_CXX='-KPIC'
13727 esac
13729 vxworks*)
13732 lt_prog_compiler_can_build_shared_CXX=no
13734 esac
13737 case $host_os in
13738 # For platforms which do not support PIC, -DPIC is meaningless:
13739 *djgpp*)
13740 lt_prog_compiler_pic_CXX=
13743 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13745 esac
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13747 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13752 # Check to make sure the PIC flag actually works.
13754 if test -n "$lt_prog_compiler_pic_CXX"; then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13756 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13757 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 lt_cv_prog_compiler_pic_works_CXX=no
13761 ac_outfile=conftest.$ac_objext
13762 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13763 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13764 # Insert the option either (1) after the last *FLAGS variable, or
13765 # (2) before a word containing "conftest.", or (3) at the end.
13766 # Note that $ac_compile itself does not contain backslashes and begins
13767 # with a dollar sign (not a hyphen), so the echo should work correctly.
13768 # The option is referenced via a variable to avoid confusing sed.
13769 lt_compile=`echo "$ac_compile" | $SED \
13770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13772 -e 's:$: $lt_compiler_flag:'`
13773 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13774 (eval "$lt_compile" 2>conftest.err)
13775 ac_status=$?
13776 cat conftest.err >&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 if (exit $ac_status) && test -s "$ac_outfile"; then
13779 # The compiler can only warn and ignore the option if not recognized
13780 # So say no if there are warnings other than the usual output.
13781 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13782 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13783 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13784 lt_cv_prog_compiler_pic_works_CXX=yes
13787 $RM conftest*
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13791 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13793 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13794 case $lt_prog_compiler_pic_CXX in
13795 "" | " "*) ;;
13796 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13797 esac
13798 else
13799 lt_prog_compiler_pic_CXX=
13800 lt_prog_compiler_can_build_shared_CXX=no
13808 # Check to make sure the static flag actually works.
13810 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13812 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13813 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 lt_cv_prog_compiler_static_works_CXX=no
13817 save_LDFLAGS="$LDFLAGS"
13818 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13819 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13820 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13821 # The linker can only warn and ignore the option if not recognized
13822 # So say no if there are warnings
13823 if test -s conftest.err; then
13824 # Append any errors to the config.log.
13825 cat conftest.err 1>&5
13826 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13828 if diff conftest.exp conftest.er2 >/dev/null; then
13829 lt_cv_prog_compiler_static_works_CXX=yes
13831 else
13832 lt_cv_prog_compiler_static_works_CXX=yes
13835 $RM -r conftest*
13836 LDFLAGS="$save_LDFLAGS"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13840 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13842 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13844 else
13845 lt_prog_compiler_static_CXX=
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13852 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13853 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13854 $as_echo_n "(cached) " >&6
13855 else
13856 lt_cv_prog_compiler_c_o_CXX=no
13857 $RM -r conftest 2>/dev/null
13858 mkdir conftest
13859 cd conftest
13860 mkdir out
13861 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13863 lt_compiler_flag="-o out/conftest2.$ac_objext"
13864 # Insert the option either (1) after the last *FLAGS variable, or
13865 # (2) before a word containing "conftest.", or (3) at the end.
13866 # Note that $ac_compile itself does not contain backslashes and begins
13867 # with a dollar sign (not a hyphen), so the echo should work correctly.
13868 lt_compile=`echo "$ac_compile" | $SED \
13869 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13870 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13871 -e 's:$: $lt_compiler_flag:'`
13872 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13873 (eval "$lt_compile" 2>out/conftest.err)
13874 ac_status=$?
13875 cat out/conftest.err >&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13878 then
13879 # The compiler can only warn and ignore the option if not recognized
13880 # So say no if there are warnings
13881 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13882 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13883 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13884 lt_cv_prog_compiler_c_o_CXX=yes
13887 chmod u+w . 2>&5
13888 $RM conftest*
13889 # SGI C++ compiler will create directory out/ii_files/ for
13890 # template instantiation
13891 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13892 $RM out/* && rmdir out
13893 cd ..
13894 $RM -r conftest
13895 $RM conftest*
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13899 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13905 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 lt_cv_prog_compiler_c_o_CXX=no
13909 $RM -r conftest 2>/dev/null
13910 mkdir conftest
13911 cd conftest
13912 mkdir out
13913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13915 lt_compiler_flag="-o out/conftest2.$ac_objext"
13916 # Insert the option either (1) after the last *FLAGS variable, or
13917 # (2) before a word containing "conftest.", or (3) at the end.
13918 # Note that $ac_compile itself does not contain backslashes and begins
13919 # with a dollar sign (not a hyphen), so the echo should work correctly.
13920 lt_compile=`echo "$ac_compile" | $SED \
13921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13923 -e 's:$: $lt_compiler_flag:'`
13924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13925 (eval "$lt_compile" 2>out/conftest.err)
13926 ac_status=$?
13927 cat out/conftest.err >&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13930 then
13931 # The compiler can only warn and ignore the option if not recognized
13932 # So say no if there are warnings
13933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13936 lt_cv_prog_compiler_c_o_CXX=yes
13939 chmod u+w . 2>&5
13940 $RM conftest*
13941 # SGI C++ compiler will create directory out/ii_files/ for
13942 # template instantiation
13943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13944 $RM out/* && rmdir out
13945 cd ..
13946 $RM -r conftest
13947 $RM conftest*
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13951 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13956 hard_links="nottested"
13957 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13958 # do not overwrite the value of need_locks provided by the user
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13960 $as_echo_n "checking if we can lock with hard links... " >&6; }
13961 hard_links=yes
13962 $RM conftest*
13963 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13964 touch conftest.a
13965 ln conftest.a conftest.b 2>&5 || hard_links=no
13966 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13968 $as_echo "$hard_links" >&6; }
13969 if test "$hard_links" = no; then
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13971 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13972 need_locks=warn
13974 else
13975 need_locks=no
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13981 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13983 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13984 case $host_os in
13985 aix[4-9]*)
13986 # If we're using GNU nm, then we don't want the "-C" option.
13987 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13988 # Also, AIX nm treats weak defined symbols like other global defined
13989 # symbols, whereas GNU nm marks them as "W".
13990 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13991 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'
13992 else
13993 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'
13996 pw32*)
13997 export_symbols_cmds_CXX="$ltdll_cmds"
13999 cygwin* | mingw* | cegcc*)
14000 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'
14003 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14005 esac
14006 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14009 $as_echo "$ld_shlibs_CXX" >&6; }
14010 test "$ld_shlibs_CXX" = no && can_build_shared=no
14012 with_gnu_ld_CXX=$with_gnu_ld
14020 # Do we need to explicitly link libc?
14022 case "x$archive_cmds_need_lc_CXX" in
14023 x|xyes)
14024 # Assume -lc should be added
14025 archive_cmds_need_lc_CXX=yes
14027 if test "$enable_shared" = yes && test "$GCC" = yes; then
14028 case $archive_cmds_CXX in
14029 *'~'*)
14030 # FIXME: we may have to deal with multi-command sequences.
14032 '$CC '*)
14033 # Test whether the compiler implicitly links with -lc since on some
14034 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14035 # to ld, don't add -lc before -lgcc.
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14038 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 $RM conftest*
14042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14045 (eval $ac_compile) 2>&5
14046 ac_status=$?
14047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14048 test $ac_status = 0; } 2>conftest.err; then
14049 soname=conftest
14050 lib=conftest
14051 libobjs=conftest.$ac_objext
14052 deplibs=
14053 wl=$lt_prog_compiler_wl_CXX
14054 pic_flag=$lt_prog_compiler_pic_CXX
14055 compiler_flags=-v
14056 linker_flags=-v
14057 verstring=
14058 output_objdir=.
14059 libname=conftest
14060 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14061 allow_undefined_flag_CXX=
14062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14063 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14064 ac_status=$?
14065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066 test $ac_status = 0; }
14067 then
14068 lt_cv_archive_cmds_need_lc_CXX=no
14069 else
14070 lt_cv_archive_cmds_need_lc_CXX=yes
14072 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14073 else
14074 cat conftest.err 1>&5
14076 $RM conftest*
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14080 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14081 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14083 esac
14086 esac
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14152 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14154 library_names_spec=
14155 libname_spec='lib$name'
14156 soname_spec=
14157 shrext_cmds=".so"
14158 postinstall_cmds=
14159 postuninstall_cmds=
14160 finish_cmds=
14161 finish_eval=
14162 shlibpath_var=
14163 shlibpath_overrides_runpath=unknown
14164 version_type=none
14165 dynamic_linker="$host_os ld.so"
14166 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14167 need_lib_prefix=unknown
14168 hardcode_into_libs=no
14170 # when you set need_version to no, make sure it does not cause -set_version
14171 # flags to be left without arguments
14172 need_version=unknown
14174 case $host_os in
14175 aix3*)
14176 version_type=linux
14177 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14178 shlibpath_var=LIBPATH
14180 # AIX 3 has no versioning support, so we append a major version to the name.
14181 soname_spec='${libname}${release}${shared_ext}$major'
14184 aix[4-9]*)
14185 version_type=linux
14186 need_lib_prefix=no
14187 need_version=no
14188 hardcode_into_libs=yes
14189 if test "$host_cpu" = ia64; then
14190 # AIX 5 supports IA64
14191 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14192 shlibpath_var=LD_LIBRARY_PATH
14193 else
14194 # With GCC up to 2.95.x, collect2 would create an import file
14195 # for dependence libraries. The import file would start with
14196 # the line `#! .'. This would cause the generated library to
14197 # depend on `.', always an invalid library. This was fixed in
14198 # development snapshots of GCC prior to 3.0.
14199 case $host_os in
14200 aix4 | aix4.[01] | aix4.[01].*)
14201 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14202 echo ' yes '
14203 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14205 else
14206 can_build_shared=no
14209 esac
14210 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14211 # soname into executable. Probably we can add versioning support to
14212 # collect2, so additional links can be useful in future.
14213 if test "$aix_use_runtimelinking" = yes; then
14214 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14215 # instead of lib<name>.a to let people know that these are not
14216 # typical AIX shared libraries.
14217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14218 else
14219 # We preserve .a as extension for shared libraries through AIX4.2
14220 # and later when we are not doing run time linking.
14221 library_names_spec='${libname}${release}.a $libname.a'
14222 soname_spec='${libname}${release}${shared_ext}$major'
14224 shlibpath_var=LIBPATH
14228 amigaos*)
14229 case $host_cpu in
14230 powerpc)
14231 # Since July 2007 AmigaOS4 officially supports .so libraries.
14232 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14235 m68k)
14236 library_names_spec='$libname.ixlibrary $libname.a'
14237 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14238 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'
14240 esac
14243 beos*)
14244 library_names_spec='${libname}${shared_ext}'
14245 dynamic_linker="$host_os ld.so"
14246 shlibpath_var=LIBRARY_PATH
14249 bsdi[45]*)
14250 version_type=linux
14251 need_version=no
14252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14253 soname_spec='${libname}${release}${shared_ext}$major'
14254 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14255 shlibpath_var=LD_LIBRARY_PATH
14256 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14257 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14258 # the default ld.so.conf also contains /usr/contrib/lib and
14259 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14260 # libtool to hard-code these into programs
14263 cygwin* | mingw* | pw32* | cegcc*)
14264 version_type=windows
14265 shrext_cmds=".dll"
14266 need_version=no
14267 need_lib_prefix=no
14269 case $GCC,$host_os in
14270 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14271 library_names_spec='$libname.dll.a'
14272 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14273 postinstall_cmds='base_file=`basename \${file}`~
14274 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14275 dldir=$destdir/`dirname \$dlpath`~
14276 test -d \$dldir || mkdir -p \$dldir~
14277 $install_prog $dir/$dlname \$dldir/$dlname~
14278 chmod a+x \$dldir/$dlname~
14279 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14280 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14282 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14283 dlpath=$dir/\$dldll~
14284 $RM \$dlpath'
14285 shlibpath_overrides_runpath=yes
14287 case $host_os in
14288 cygwin*)
14289 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14290 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14293 mingw* | cegcc*)
14294 # MinGW DLLs use traditional 'lib' prefix
14295 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14297 pw32*)
14298 # pw32 DLLs use 'pw' prefix rather than 'lib'
14299 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14301 esac
14305 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14307 esac
14308 dynamic_linker='Win32 ld.exe'
14309 # FIXME: first we should search . and the directory the executable is in
14310 shlibpath_var=PATH
14313 darwin* | rhapsody*)
14314 dynamic_linker="$host_os dyld"
14315 version_type=darwin
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14319 soname_spec='${libname}${release}${major}$shared_ext'
14320 shlibpath_overrides_runpath=yes
14321 shlibpath_var=DYLD_LIBRARY_PATH
14322 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14324 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14327 dgux*)
14328 version_type=linux
14329 need_lib_prefix=no
14330 need_version=no
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14332 soname_spec='${libname}${release}${shared_ext}$major'
14333 shlibpath_var=LD_LIBRARY_PATH
14336 freebsd* | dragonfly*)
14337 # DragonFly does not have aout. When/if they implement a new
14338 # versioning mechanism, adjust this.
14339 if test -x /usr/bin/objformat; then
14340 objformat=`/usr/bin/objformat`
14341 else
14342 case $host_os in
14343 freebsd[23].*) objformat=aout ;;
14344 *) objformat=elf ;;
14345 esac
14347 version_type=freebsd-$objformat
14348 case $version_type in
14349 freebsd-elf*)
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14351 need_version=no
14352 need_lib_prefix=no
14354 freebsd-*)
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14356 need_version=yes
14358 esac
14359 shlibpath_var=LD_LIBRARY_PATH
14360 case $host_os in
14361 freebsd2.*)
14362 shlibpath_overrides_runpath=yes
14364 freebsd3.[01]* | freebsdelf3.[01]*)
14365 shlibpath_overrides_runpath=yes
14366 hardcode_into_libs=yes
14368 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14369 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14370 shlibpath_overrides_runpath=no
14371 hardcode_into_libs=yes
14373 *) # from 4.6 on, and DragonFly
14374 shlibpath_overrides_runpath=yes
14375 hardcode_into_libs=yes
14377 esac
14380 gnu*)
14381 version_type=linux
14382 need_lib_prefix=no
14383 need_version=no
14384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14385 soname_spec='${libname}${release}${shared_ext}$major'
14386 shlibpath_var=LD_LIBRARY_PATH
14387 hardcode_into_libs=yes
14390 haiku*)
14391 version_type=linux
14392 need_lib_prefix=no
14393 need_version=no
14394 dynamic_linker="$host_os runtime_loader"
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14396 soname_spec='${libname}${release}${shared_ext}$major'
14397 shlibpath_var=LIBRARY_PATH
14398 shlibpath_overrides_runpath=yes
14399 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14400 hardcode_into_libs=yes
14403 hpux9* | hpux10* | hpux11*)
14404 # Give a soname corresponding to the major version so that dld.sl refuses to
14405 # link against other versions.
14406 version_type=sunos
14407 need_lib_prefix=no
14408 need_version=no
14409 case $host_cpu in
14410 ia64*)
14411 shrext_cmds='.so'
14412 hardcode_into_libs=yes
14413 dynamic_linker="$host_os dld.so"
14414 shlibpath_var=LD_LIBRARY_PATH
14415 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 if test "X$HPUX_IA64_MODE" = X32; then
14419 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14420 else
14421 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14423 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14425 hppa*64*)
14426 shrext_cmds='.sl'
14427 hardcode_into_libs=yes
14428 dynamic_linker="$host_os dld.sl"
14429 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14430 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14432 soname_spec='${libname}${release}${shared_ext}$major'
14433 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14434 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14437 shrext_cmds='.sl'
14438 dynamic_linker="$host_os dld.sl"
14439 shlibpath_var=SHLIB_PATH
14440 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
14444 esac
14445 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14446 postinstall_cmds='chmod 555 $lib'
14447 # or fails outright, so override atomically:
14448 install_override_mode=555
14451 interix[3-9]*)
14452 version_type=linux
14453 need_lib_prefix=no
14454 need_version=no
14455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14456 soname_spec='${libname}${release}${shared_ext}$major'
14457 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14458 shlibpath_var=LD_LIBRARY_PATH
14459 shlibpath_overrides_runpath=no
14460 hardcode_into_libs=yes
14463 irix5* | irix6* | nonstopux*)
14464 case $host_os in
14465 nonstopux*) version_type=nonstopux ;;
14467 if test "$lt_cv_prog_gnu_ld" = yes; then
14468 version_type=linux
14469 else
14470 version_type=irix
14471 fi ;;
14472 esac
14473 need_lib_prefix=no
14474 need_version=no
14475 soname_spec='${libname}${release}${shared_ext}$major'
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14477 case $host_os in
14478 irix5* | nonstopux*)
14479 libsuff= shlibsuff=
14482 case $LD in # libtool.m4 will add one of these switches to LD
14483 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14484 libsuff= shlibsuff= libmagic=32-bit;;
14485 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14486 libsuff=32 shlibsuff=N32 libmagic=N32;;
14487 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14488 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14489 *) libsuff= shlibsuff= libmagic=never-match;;
14490 esac
14492 esac
14493 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14494 shlibpath_overrides_runpath=no
14495 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14496 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14497 hardcode_into_libs=yes
14500 # No shared lib support for Linux oldld, aout, or coff.
14501 linux*oldld* | linux*aout* | linux*coff*)
14502 dynamic_linker=no
14505 # This must be Linux ELF.
14506 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14507 version_type=linux
14508 need_lib_prefix=no
14509 need_version=no
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14513 shlibpath_var=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath=no
14516 # Some binutils ld are patched to set DT_RUNPATH
14517 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14518 $as_echo_n "(cached) " >&6
14519 else
14520 lt_cv_shlibpath_overrides_runpath=no
14521 save_LDFLAGS=$LDFLAGS
14522 save_libdir=$libdir
14523 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14524 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14525 if test x$gcc_no_link = xyes; then
14526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14532 main ()
14536 return 0;
14538 _ACEOF
14539 if ac_fn_cxx_try_link "$LINENO"; then :
14540 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14541 lt_cv_shlibpath_overrides_runpath=yes
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LDFLAGS=$save_LDFLAGS
14547 libdir=$save_libdir
14551 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14553 # This implies no fast_install, which is unacceptable.
14554 # Some rework will be needed to allow for fast_install
14555 # before this can be enabled.
14556 hardcode_into_libs=yes
14558 # Append ld.so.conf contents to the search path
14559 if test -f /etc/ld.so.conf; then
14560 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' ' '`
14561 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14564 # We used to test for /lib/ld.so.1 and disable shared libraries on
14565 # powerpc, because MkLinux only supported shared libraries with the
14566 # GNU dynamic linker. Since this was broken with cross compilers,
14567 # most powerpc-linux boxes support dynamic linking these days and
14568 # people can always --disable-shared, the test was removed, and we
14569 # assume the GNU/Linux dynamic linker is in use.
14570 dynamic_linker='GNU/Linux ld.so'
14573 netbsd*)
14574 version_type=sunos
14575 need_lib_prefix=no
14576 need_version=no
14577 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14579 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14580 dynamic_linker='NetBSD (a.out) ld.so'
14581 else
14582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14583 soname_spec='${libname}${release}${shared_ext}$major'
14584 dynamic_linker='NetBSD ld.elf_so'
14586 shlibpath_var=LD_LIBRARY_PATH
14587 shlibpath_overrides_runpath=yes
14588 hardcode_into_libs=yes
14591 newsos6)
14592 version_type=linux
14593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=yes
14598 *nto* | *qnx*)
14599 version_type=qnx
14600 need_lib_prefix=no
14601 need_version=no
14602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14603 soname_spec='${libname}${release}${shared_ext}$major'
14604 shlibpath_var=LD_LIBRARY_PATH
14605 shlibpath_overrides_runpath=no
14606 hardcode_into_libs=yes
14607 dynamic_linker='ldqnx.so'
14610 openbsd*)
14611 version_type=sunos
14612 sys_lib_dlsearch_path_spec="/usr/lib"
14613 need_lib_prefix=no
14614 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14615 case $host_os in
14616 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14617 *) need_version=no ;;
14618 esac
14619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14620 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14621 shlibpath_var=LD_LIBRARY_PATH
14622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14623 case $host_os in
14624 openbsd2.[89] | openbsd2.[89].*)
14625 shlibpath_overrides_runpath=no
14628 shlibpath_overrides_runpath=yes
14630 esac
14631 else
14632 shlibpath_overrides_runpath=yes
14636 os2*)
14637 libname_spec='$name'
14638 shrext_cmds=".dll"
14639 need_lib_prefix=no
14640 library_names_spec='$libname${shared_ext} $libname.a'
14641 dynamic_linker='OS/2 ld.exe'
14642 shlibpath_var=LIBPATH
14645 osf3* | osf4* | osf5*)
14646 version_type=osf
14647 need_lib_prefix=no
14648 need_version=no
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14651 shlibpath_var=LD_LIBRARY_PATH
14652 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14653 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14656 rdos*)
14657 dynamic_linker=no
14660 solaris*)
14661 version_type=linux
14662 need_lib_prefix=no
14663 need_version=no
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 soname_spec='${libname}${release}${shared_ext}$major'
14666 shlibpath_var=LD_LIBRARY_PATH
14667 shlibpath_overrides_runpath=yes
14668 hardcode_into_libs=yes
14669 # ldd complains unless libraries are executable
14670 postinstall_cmds='chmod +x $lib'
14673 sunos4*)
14674 version_type=sunos
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14676 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14677 shlibpath_var=LD_LIBRARY_PATH
14678 shlibpath_overrides_runpath=yes
14679 if test "$with_gnu_ld" = yes; then
14680 need_lib_prefix=no
14682 need_version=yes
14685 sysv4 | sysv4.3*)
14686 version_type=linux
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688 soname_spec='${libname}${release}${shared_ext}$major'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 case $host_vendor in
14691 sni)
14692 shlibpath_overrides_runpath=no
14693 need_lib_prefix=no
14694 runpath_var=LD_RUN_PATH
14696 siemens)
14697 need_lib_prefix=no
14699 motorola)
14700 need_lib_prefix=no
14701 need_version=no
14702 shlibpath_overrides_runpath=no
14703 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14705 esac
14708 sysv4*MP*)
14709 if test -d /usr/nec ;then
14710 version_type=linux
14711 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14712 soname_spec='$libname${shared_ext}.$major'
14713 shlibpath_var=LD_LIBRARY_PATH
14717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14718 version_type=freebsd-elf
14719 need_lib_prefix=no
14720 need_version=no
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14722 soname_spec='${libname}${release}${shared_ext}$major'
14723 shlibpath_var=LD_LIBRARY_PATH
14724 shlibpath_overrides_runpath=yes
14725 hardcode_into_libs=yes
14726 if test "$with_gnu_ld" = yes; then
14727 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14728 else
14729 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14730 case $host_os in
14731 sco3.2v5*)
14732 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14734 esac
14736 sys_lib_dlsearch_path_spec='/usr/lib'
14739 tpf*)
14740 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14741 version_type=linux
14742 need_lib_prefix=no
14743 need_version=no
14744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=no
14747 hardcode_into_libs=yes
14750 uts4*)
14751 version_type=linux
14752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753 soname_spec='${libname}${release}${shared_ext}$major'
14754 shlibpath_var=LD_LIBRARY_PATH
14758 dynamic_linker=no
14760 esac
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14762 $as_echo "$dynamic_linker" >&6; }
14763 test "$dynamic_linker" = no && can_build_shared=no
14765 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14766 if test "$GCC" = yes; then
14767 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14770 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14771 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14773 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14774 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14815 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14816 hardcode_action_CXX=
14817 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14818 test -n "$runpath_var_CXX" ||
14819 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14821 # We can hardcode non-existent directories.
14822 if test "$hardcode_direct_CXX" != no &&
14823 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14824 # have to relink, otherwise we might link with an installed library
14825 # when we should be linking with a yet-to-be-installed one
14826 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14827 test "$hardcode_minus_L_CXX" != no; then
14828 # Linking always hardcodes the temporary library directory.
14829 hardcode_action_CXX=relink
14830 else
14831 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14832 hardcode_action_CXX=immediate
14834 else
14835 # We cannot hardcode anything, or else we can only hardcode existing
14836 # directories.
14837 hardcode_action_CXX=unsupported
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14840 $as_echo "$hardcode_action_CXX" >&6; }
14842 if test "$hardcode_action_CXX" = relink ||
14843 test "$inherit_rpath_CXX" = yes; then
14844 # Fast installation is not supported
14845 enable_fast_install=no
14846 elif test "$shlibpath_overrides_runpath" = yes ||
14847 test "$enable_shared" = no; then
14848 # Fast installation is not necessary
14849 enable_fast_install=needless
14858 fi # test -n "$compiler"
14860 CC=$lt_save_CC
14861 LDCXX=$LD
14862 LD=$lt_save_LD
14863 GCC=$lt_save_GCC
14864 with_gnu_ld=$lt_save_with_gnu_ld
14865 lt_cv_path_LDCXX=$lt_cv_path_LD
14866 lt_cv_path_LD=$lt_save_path_LD
14867 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14868 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14869 fi # test "$_lt_caught_CXX_error" != yes
14871 ac_ext=c
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14889 ac_config_commands="$ac_config_commands libtool"
14894 # Only expand once:
14900 case $host in
14901 *-cygwin* | *-mingw*)
14902 # 'host' will be top-level target in the case of a target lib,
14903 # we must compare to with_cross_host to decide if this is a native
14904 # or cross-compiler and select where to install dlls appropriately.
14905 if test -n "$with_cross_host" &&
14906 test x"$with_cross_host" != x"no"; then
14907 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14908 else
14909 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14913 lt_host_flags=
14915 esac
14922 if test "$enable_vtable_verify" = yes; then
14923 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14924 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14928 # libtool variables for C++ shared and position-independent compiles.
14930 # Use glibcxx_lt_pic_flag to designate the automake variable
14931 # used to encapsulate the default libtool approach to creating objects
14932 # with position-independent code. Default: -prefer-pic.
14934 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14935 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14937 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14938 # creating position-independent objects. This varies with the target
14939 # hardware and operating system, but is often: -DPIC -fPIC.
14940 if test "$enable_shared" = yes; then
14941 glibcxx_lt_pic_flag="-prefer-pic"
14942 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14943 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14945 else
14946 glibcxx_lt_pic_flag=
14947 glibcxx_compiler_pic_flag=
14948 glibcxx_compiler_shared_flag=
14954 # Override the libtool's pic_flag and pic_mode.
14955 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14956 # NB: this impacts --with-pic and --without-pic.
14957 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14958 pic_mode='default'
14960 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14961 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14963 # Possibly disable most of the library.
14964 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14965 ## than just ignoring the results. Faster /and/ more correct, win win.
14967 # Check whether --enable-hosted-libstdcxx was given.
14968 if test "${enable_hosted_libstdcxx+set}" = set; then :
14969 enableval=$enable_hosted_libstdcxx;
14970 else
14971 case "$host" in
14972 arm*-*-symbianelf*)
14973 enable_hosted_libstdcxx=no
14976 enable_hosted_libstdcxx=yes
14978 esac
14981 if test "$enable_hosted_libstdcxx" = no; then
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14983 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14984 is_hosted=no
14985 hosted_define=0
14986 enable_abi_check=no
14987 enable_libstdcxx_pch=no
14988 else
14989 is_hosted=yes
14990 hosted_define=1
14994 cat >>confdefs.h <<_ACEOF
14995 #define _GLIBCXX_HOSTED $hosted_define
14996 _ACEOF
15000 # Enable descriptive messages to standard output on termination.
15002 # Check whether --enable-libstdcxx-verbose was given.
15003 if test "${enable_libstdcxx_verbose+set}" = set; then :
15004 enableval=$enable_libstdcxx_verbose;
15005 else
15006 enable_libstdcxx_verbose=yes
15009 if test x"$enable_libstdcxx_verbose" = xyes; then
15010 verbose_define=1
15011 else
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15013 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15014 verbose_define=0
15017 cat >>confdefs.h <<_ACEOF
15018 #define _GLIBCXX_VERBOSE $verbose_define
15019 _ACEOF
15023 # Enable compiler support that doesn't require linking.
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15026 $as_echo_n "checking for exception model to use... " >&6; }
15028 ac_ext=cpp
15029 ac_cpp='$CXXCPP $CPPFLAGS'
15030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15034 # Check whether --enable-sjlj-exceptions was given.
15035 if test "${enable_sjlj_exceptions+set}" = set; then :
15036 enableval=$enable_sjlj_exceptions;
15037 case "$enableval" in
15038 yes|no|auto) ;;
15039 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15040 esac
15042 else
15043 enable_sjlj_exceptions=auto
15048 if test $enable_sjlj_exceptions = auto; then
15049 # Botheration. Now we've got to detect the exception model. Link tests
15050 # against libgcc.a are problematic since we've not been given proper -L
15051 # bits for single-tree newlib and libgloss.
15053 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15054 cat > conftest.$ac_ext << EOF
15055 #line 15055 "configure"
15056 struct S { ~S(); };
15057 void bar();
15058 void foo()
15060 S s;
15061 bar();
15064 old_CXXFLAGS="$CXXFLAGS"
15065 CXXFLAGS=-S
15066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15067 (eval $ac_compile) 2>&5
15068 ac_status=$?
15069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15070 test $ac_status = 0; }; then
15071 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15072 enable_sjlj_exceptions=yes
15073 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15074 enable_sjlj_exceptions=no
15075 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15076 enable_sjlj_exceptions=no
15079 CXXFLAGS="$old_CXXFLAGS"
15080 rm -f conftest*
15083 # This is a tad weird, for hysterical raisins. We have to map
15084 # enable/disable to two different models.
15085 case $enable_sjlj_exceptions in
15086 yes)
15088 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15090 ac_exception_model_name=sjlj
15093 ac_exception_model_name="call frame"
15096 as_fn_error "unable to detect exception model" "$LINENO" 5
15098 esac
15099 ac_ext=c
15100 ac_cpp='$CPP $CPPFLAGS'
15101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15106 $as_echo "$ac_exception_model_name" >&6; }
15109 # Check whether --enable-libstdcxx-pch was given.
15110 if test "${enable_libstdcxx_pch+set}" = set; then :
15111 enableval=$enable_libstdcxx_pch;
15112 case "$enableval" in
15113 yes|no) ;;
15114 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15115 esac
15117 else
15118 enable_libstdcxx_pch=$is_hosted
15122 if test $enable_libstdcxx_pch = yes; then
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15124 $as_echo_n "checking for compiler with PCH support... " >&6; }
15125 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15126 $as_echo_n "(cached) " >&6
15127 else
15128 ac_save_CXXFLAGS="$CXXFLAGS"
15129 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15131 ac_ext=cpp
15132 ac_cpp='$CXXCPP $CPPFLAGS'
15133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15137 echo '#include <math.h>' > conftest.h
15138 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15139 -o conftest.h.gch 1>&5 2>&1 &&
15140 echo '#error "pch failed"' > conftest.h &&
15141 echo '#include "conftest.h"' > conftest.cc &&
15142 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15143 then
15144 glibcxx_cv_prog_CXX_pch=yes
15145 else
15146 glibcxx_cv_prog_CXX_pch=no
15148 rm -f conftest*
15149 CXXFLAGS=$ac_save_CXXFLAGS
15150 ac_ext=c
15151 ac_cpp='$CPP $CPPFLAGS'
15152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15159 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15160 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15164 $as_echo_n "checking for enabled PCH... " >&6; }
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15166 $as_echo "$enable_libstdcxx_pch" >&6; }
15169 if test $enable_libstdcxx_pch = yes; then
15170 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15171 else
15172 glibcxx_PCHFLAGS=""
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15178 $as_echo_n "checking for thread model used by GCC... " >&6; }
15179 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15181 $as_echo "$target_thread_file" >&6; }
15183 case $target_thread_file in
15184 aix) thread_header=config/rs6000/gthr-aix.h ;;
15185 dce) thread_header=config/pa/gthr-dce.h ;;
15186 lynx) thread_header=config/gthr-lynx.h ;;
15187 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15188 posix) thread_header=gthr-posix.h ;;
15189 rtems) thread_header=config/gthr-rtems.h ;;
15190 single) thread_header=gthr-single.h ;;
15191 tpf) thread_header=config/s390/gthr-tpf.h ;;
15192 vxworks) thread_header=config/gthr-vxworks.h ;;
15193 win32) thread_header=config/i386/gthr-win32.h ;;
15194 esac
15200 ac_ext=cpp
15201 ac_cpp='$CXXCPP $CPPFLAGS'
15202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15206 old_CXXFLAGS="$CXXFLAGS"
15208 # Do link tests if possible, instead asm tests, limited to some platforms
15209 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15210 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15211 atomic_builtins_link_tests=no
15212 if test x$gcc_no_link != xyes; then
15213 # Can do link tests. Limit to some tested platforms
15214 case "$host" in
15215 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15216 atomic_builtins_link_tests=yes
15218 esac
15221 if test x$atomic_builtins_link_tests = xyes; then
15223 # Do link tests.
15225 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15228 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15229 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15230 $as_echo_n "(cached) " >&6
15231 else
15233 if test x$gcc_no_link = xyes; then
15234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15240 main ()
15242 typedef bool atomic_type;
15243 atomic_type c1;
15244 atomic_type c2;
15245 atomic_type c3(0);
15246 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15247 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15248 __ATOMIC_RELAXED);
15249 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15250 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15253 return 0;
15255 _ACEOF
15256 if ac_fn_cxx_try_link "$LINENO"; then :
15257 glibcxx_cv_atomic_bool=yes
15258 else
15259 glibcxx_cv_atomic_bool=no
15261 rm -f core conftest.err conftest.$ac_objext \
15262 conftest$ac_exeext conftest.$ac_ext
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15267 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15270 $as_echo_n "checking for atomic builtins for short... " >&6; }
15271 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15272 $as_echo_n "(cached) " >&6
15273 else
15275 if test x$gcc_no_link = xyes; then
15276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15282 main ()
15284 typedef short atomic_type;
15285 atomic_type c1;
15286 atomic_type c2;
15287 atomic_type c3(0);
15288 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15289 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15290 __ATOMIC_RELAXED);
15291 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15292 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15295 return 0;
15297 _ACEOF
15298 if ac_fn_cxx_try_link "$LINENO"; then :
15299 glibcxx_cv_atomic_short=yes
15300 else
15301 glibcxx_cv_atomic_short=no
15303 rm -f core conftest.err conftest.$ac_objext \
15304 conftest$ac_exeext conftest.$ac_ext
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15309 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15312 $as_echo_n "checking for atomic builtins for int... " >&6; }
15313 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15314 $as_echo_n "(cached) " >&6
15315 else
15317 if test x$gcc_no_link = xyes; then
15318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15321 /* end confdefs.h. */
15324 main ()
15326 typedef int atomic_type;
15327 atomic_type c1;
15328 atomic_type c2;
15329 atomic_type c3(0);
15330 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15331 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15332 __ATOMIC_RELAXED);
15333 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15334 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15337 return 0;
15339 _ACEOF
15340 if ac_fn_cxx_try_link "$LINENO"; then :
15341 glibcxx_cv_atomic_int=yes
15342 else
15343 glibcxx_cv_atomic_int=no
15345 rm -f core conftest.err conftest.$ac_objext \
15346 conftest$ac_exeext conftest.$ac_ext
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15351 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15354 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15355 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15356 $as_echo_n "(cached) " >&6
15357 else
15359 if test x$gcc_no_link = xyes; then
15360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15363 /* end confdefs.h. */
15366 main ()
15368 typedef long long atomic_type;
15369 atomic_type c1;
15370 atomic_type c2;
15371 atomic_type c3(0);
15372 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15373 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15374 __ATOMIC_RELAXED);
15375 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15376 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15379 return 0;
15381 _ACEOF
15382 if ac_fn_cxx_try_link "$LINENO"; then :
15383 glibcxx_cv_atomic_long_long=yes
15384 else
15385 glibcxx_cv_atomic_long_long=no
15387 rm -f core conftest.err conftest.$ac_objext \
15388 conftest$ac_exeext conftest.$ac_ext
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15393 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15395 else
15397 # Do asm tests.
15399 # Compile unoptimized.
15400 CXXFLAGS='-O0 -S'
15402 # Fake what AC_TRY_COMPILE does.
15404 cat > conftest.$ac_ext << EOF
15405 #line 15405 "configure"
15406 int main()
15408 typedef bool 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 bool" >&5
15423 $as_echo_n "checking for atomic builtins for bool... " >&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_bool=no
15431 else
15432 glibcxx_cv_atomic_bool=yes
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15436 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15437 rm -f conftest*
15439 cat > conftest.$ac_ext << EOF
15440 #line 15440 "configure"
15441 int main()
15443 typedef short atomic_type;
15444 atomic_type c1;
15445 atomic_type c2;
15446 atomic_type c3(0);
15447 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15448 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15449 __ATOMIC_RELAXED);
15450 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15451 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15453 return 0;
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15458 $as_echo_n "checking for atomic builtins for short... " >&6; }
15459 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15460 (eval $ac_compile) 2>&5
15461 ac_status=$?
15462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15463 test $ac_status = 0; }; then
15464 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15465 glibcxx_cv_atomic_short=no
15466 else
15467 glibcxx_cv_atomic_short=yes
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15471 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15472 rm -f conftest*
15474 cat > conftest.$ac_ext << EOF
15475 #line 15475 "configure"
15476 int main()
15478 // NB: _Atomic_word not necessarily int.
15479 typedef int 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 int" >&5
15494 $as_echo_n "checking for atomic builtins for int... " >&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_int=no
15502 else
15503 glibcxx_cv_atomic_int=yes
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15507 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15508 rm -f conftest*
15510 cat > conftest.$ac_ext << EOF
15511 #line 15511 "configure"
15512 int main()
15514 typedef long long atomic_type;
15515 atomic_type c1;
15516 atomic_type c2;
15517 atomic_type c3(0);
15518 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15519 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15520 __ATOMIC_RELAXED);
15521 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15522 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15524 return 0;
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15529 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15530 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15531 (eval $ac_compile) 2>&5
15532 ac_status=$?
15533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15534 test $ac_status = 0; }; then
15535 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15536 glibcxx_cv_atomic_long_long=no
15537 else
15538 glibcxx_cv_atomic_long_long=yes
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15542 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15543 rm -f conftest*
15547 CXXFLAGS="$old_CXXFLAGS"
15548 ac_ext=c
15549 ac_cpp='$CPP $CPPFLAGS'
15550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15555 # Set atomicity_dir to builtins if all but the long long test above passes.
15556 if test $glibcxx_cv_atomic_bool = yes \
15557 && test $glibcxx_cv_atomic_short = yes \
15558 && test $glibcxx_cv_atomic_int = yes; then
15560 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15562 atomicity_dir=cpu/generic/atomicity_builtins
15565 # If still generic, set to mutex.
15566 if test $atomicity_dir = "cpu/generic" ; then
15567 atomicity_dir=cpu/generic/atomicity_mutex
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15569 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15570 if test "x$target_thread_file" = xsingle; then
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15572 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15574 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15575 else
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15577 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15579 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15586 # Fake what AC_TRY_COMPILE does, without linking as this is
15587 # unnecessary for this test.
15589 cat > conftest.$ac_ext << EOF
15590 #line 15590 "configure"
15591 int main()
15593 _Decimal32 d1;
15594 _Decimal64 d2;
15595 _Decimal128 d3;
15596 return 0;
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15601 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15602 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15603 (eval $ac_compile) 2>&5
15604 ac_status=$?
15605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15606 test $ac_status = 0; }; then
15608 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15610 enable_dfp=yes
15611 else
15612 enable_dfp=no
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15615 $as_echo "$enable_dfp" >&6; }
15616 rm -f conftest*
15621 ac_ext=cpp
15622 ac_cpp='$CXXCPP $CPPFLAGS'
15623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15628 # Fake what AC_TRY_COMPILE does, without linking as this is
15629 # unnecessary for this test.
15631 cat > conftest.$ac_ext << EOF
15632 #line 15632 "configure"
15633 template<typename T1, typename T2>
15634 struct same
15635 { typedef T2 type; };
15637 template<typename T>
15638 struct same<T, T>;
15640 int main()
15642 typename same<long, __int128>::type i1;
15643 typename same<long long, __int128>::type i2;
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15648 $as_echo_n "checking for __int128... " >&6; }
15649 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15650 (eval $ac_compile) 2>&5
15651 ac_status=$?
15652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15653 test $ac_status = 0; }; then
15655 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15657 enable_int128=yes
15658 else
15659 enable_int128=no
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15662 $as_echo "$enable_int128" >&6; }
15663 rm -f conftest*
15665 cat > conftest.$ac_ext << EOF
15666 #line 15666 "configure"
15667 template<typename T1, typename T2>
15668 struct same
15669 { typedef T2 type; };
15671 template<typename T>
15672 struct same<T, T>;
15674 int main()
15676 typename same<double, __float128>::type f1;
15677 typename same<long double, __float128>::type f2;
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15682 $as_echo_n "checking for __float128... " >&6; }
15683 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15684 (eval $ac_compile) 2>&5
15685 ac_status=$?
15686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15687 test $ac_status = 0; }; then
15689 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15691 enable_float128=yes
15692 else
15693 enable_float128=no
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15696 $as_echo "$enable_float128" >&6; }
15697 rm -f conftest*
15699 ac_ext=c
15700 ac_cpp='$CPP $CPPFLAGS'
15701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15707 # Checks for compiler support that doesn't require linking.
15709 # All these tests are for C++; save the language and the compiler flags.
15710 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15711 # found in GLIBCXX_CONFIGURE.
15713 ac_ext=cpp
15714 ac_cpp='$CXXCPP $CPPFLAGS'
15715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15719 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15720 ac_save_CXXFLAGS="$CXXFLAGS"
15722 # Check for maintainer-mode bits.
15723 if test x"$USE_MAINTAINER_MODE" = xno; then
15724 WERROR=''
15725 else
15726 WERROR='-Werror'
15729 # Check for -ffunction-sections -fdata-sections
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15731 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15732 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734 /* end confdefs.h. */
15735 int foo; void bar() { };
15737 main ()
15741 return 0;
15743 _ACEOF
15744 if ac_fn_cxx_try_compile "$LINENO"; then :
15745 ac_fdsections=yes
15746 else
15747 ac_fdsections=no
15749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15750 if test "$ac_test_CXXFLAGS" = set; then
15751 CXXFLAGS="$ac_save_CXXFLAGS"
15752 else
15753 # this is the suspicious part
15754 CXXFLAGS=''
15756 if test x"$ac_fdsections" = x"yes"; then
15757 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15760 $as_echo "$ac_fdsections" >&6; }
15762 ac_ext=c
15763 ac_cpp='$CPP $CPPFLAGS'
15764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15772 # Enable all the variable C++ runtime options that don't require linking.
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15775 $as_echo_n "checking for underlying I/O to use... " >&6; }
15776 # Check whether --enable-cstdio was given.
15777 if test "${enable_cstdio+set}" = set; then :
15778 enableval=$enable_cstdio;
15779 case "$enableval" in
15780 stdio) ;;
15781 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15782 esac
15784 else
15785 enable_cstdio=stdio
15790 # Now that libio has been removed, you can have any color you want as long
15791 # as it's black. This is one big no-op until other packages are added, but
15792 # showing the framework never hurts.
15793 case ${enable_cstdio} in
15794 stdio)
15795 CSTDIO_H=config/io/c_io_stdio.h
15796 BASIC_FILE_H=config/io/basic_file_stdio.h
15797 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15799 $as_echo "stdio" >&6; }
15801 esac
15808 # Check whether --enable-clocale was given.
15809 if test "${enable_clocale+set}" = set; then :
15810 enableval=$enable_clocale;
15811 case "$enableval" in
15812 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15813 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15814 esac
15816 else
15817 enable_clocale=auto
15822 # Deal with gettext issues. Default to not using it (=no) until we detect
15823 # support for it later. Let the user turn it off via --e/d, but let that
15824 # default to on for easier handling.
15825 USE_NLS=no
15826 # Check whether --enable-nls was given.
15827 if test "${enable_nls+set}" = set; then :
15828 enableval=$enable_nls;
15829 else
15830 enable_nls=yes
15834 # Either a known package, or "auto"
15835 if test $enable_clocale = no || test $enable_clocale = yes; then
15836 enable_clocale=auto
15838 enable_clocale_flag=$enable_clocale
15840 # Probe for locale model to use if none specified.
15841 # Default to "generic".
15842 if test $enable_clocale_flag = auto; then
15843 case ${target_os} in
15844 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15845 enable_clocale_flag=gnu
15847 darwin* | freebsd*)
15848 enable_clocale_flag=darwin
15850 openbsd*)
15851 enable_clocale_flag=newlib
15854 if test x"$with_newlib" = x"yes"; then
15855 enable_clocale_flag=newlib
15856 else
15857 enable_clocale_flag=generic
15860 esac
15863 # Sanity check model, and test for special functionality.
15864 if test $enable_clocale_flag = gnu; then
15865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15866 /* end confdefs.h. */
15868 #include <features.h>
15869 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15870 _GLIBCXX_ok
15871 #endif
15873 _ACEOF
15874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15875 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15876 enable_clocale_flag=gnu
15877 else
15878 enable_clocale_flag=generic
15880 rm -f conftest*
15883 # Set it to scream when it hurts.
15884 ac_save_CFLAGS="$CFLAGS"
15885 CFLAGS="-Wimplicit-function-declaration -Werror"
15887 # Use strxfrm_l if available.
15888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15889 /* end confdefs.h. */
15890 #define _GNU_SOURCE 1
15891 #include <string.h>
15892 #include <locale.h>
15894 main ()
15896 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15898 return 0;
15900 _ACEOF
15901 if ac_fn_c_try_compile "$LINENO"; then :
15903 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15908 # Use strerror_l if available.
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15911 #define _GNU_SOURCE 1
15912 #include <string.h>
15913 #include <locale.h>
15915 main ()
15917 __locale_t loc; strerror_l(5, loc);
15919 return 0;
15921 _ACEOF
15922 if ac_fn_c_try_compile "$LINENO"; then :
15924 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15929 CFLAGS="$ac_save_CFLAGS"
15932 # Perhaps use strerror_r if available, and strerror_l isn't.
15933 ac_save_CFLAGS="$CFLAGS"
15934 CFLAGS="-Wimplicit-function-declaration -Werror"
15935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15936 /* end confdefs.h. */
15937 #define _GNU_SOURCE 1
15938 #include <string.h>
15939 #include <locale.h>
15941 main ()
15943 char s[128]; strerror_r(5, s, 128);
15945 return 0;
15947 _ACEOF
15948 if ac_fn_c_try_compile "$LINENO"; then :
15950 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15954 CFLAGS="$ac_save_CFLAGS"
15956 # Set configure bits for specified locale package
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15958 $as_echo_n "checking for C locale to use... " >&6; }
15959 case ${enable_clocale_flag} in
15960 generic)
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15962 $as_echo "generic" >&6; }
15964 CLOCALE_H=config/locale/generic/c_locale.h
15965 CLOCALE_CC=config/locale/generic/c_locale.cc
15966 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15967 CCOLLATE_CC=config/locale/generic/collate_members.cc
15968 CCTYPE_CC=config/locale/generic/ctype_members.cc
15969 CMESSAGES_H=config/locale/generic/messages_members.h
15970 CMESSAGES_CC=config/locale/generic/messages_members.cc
15971 CMONEY_CC=config/locale/generic/monetary_members.cc
15972 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15973 CTIME_H=config/locale/generic/time_members.h
15974 CTIME_CC=config/locale/generic/time_members.cc
15975 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15977 darwin)
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15979 $as_echo "darwin or freebsd" >&6; }
15981 CLOCALE_H=config/locale/generic/c_locale.h
15982 CLOCALE_CC=config/locale/generic/c_locale.cc
15983 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15984 CCOLLATE_CC=config/locale/generic/collate_members.cc
15985 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15986 CMESSAGES_H=config/locale/generic/messages_members.h
15987 CMESSAGES_CC=config/locale/generic/messages_members.cc
15988 CMONEY_CC=config/locale/generic/monetary_members.cc
15989 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15990 CTIME_H=config/locale/generic/time_members.h
15991 CTIME_CC=config/locale/generic/time_members.cc
15992 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15995 gnu)
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15997 $as_echo "gnu" >&6; }
15999 # Declare intention to use gettext, and add support for specific
16000 # languages.
16001 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16002 ALL_LINGUAS="de fr"
16004 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16005 # Extract the first word of "msgfmt", so it can be a program name with args.
16006 set dummy msgfmt; ac_word=$2
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16008 $as_echo_n "checking for $ac_word... " >&6; }
16009 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16010 $as_echo_n "(cached) " >&6
16011 else
16012 if test -n "$check_msgfmt"; then
16013 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16014 else
16015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16016 for as_dir in $PATH
16018 IFS=$as_save_IFS
16019 test -z "$as_dir" && as_dir=.
16020 for ac_exec_ext in '' $ac_executable_extensions; do
16021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16022 ac_cv_prog_check_msgfmt="yes"
16023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16024 break 2
16026 done
16027 done
16028 IFS=$as_save_IFS
16030 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16033 check_msgfmt=$ac_cv_prog_check_msgfmt
16034 if test -n "$check_msgfmt"; then
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16036 $as_echo "$check_msgfmt" >&6; }
16037 else
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16039 $as_echo "no" >&6; }
16043 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16044 USE_NLS=yes
16046 # Export the build objects.
16047 for ling in $ALL_LINGUAS; do \
16048 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16049 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16050 done
16054 CLOCALE_H=config/locale/gnu/c_locale.h
16055 CLOCALE_CC=config/locale/gnu/c_locale.cc
16056 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16057 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16058 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16059 CMESSAGES_H=config/locale/gnu/messages_members.h
16060 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16061 CMONEY_CC=config/locale/gnu/monetary_members.cc
16062 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16063 CTIME_H=config/locale/gnu/time_members.h
16064 CTIME_CC=config/locale/gnu/time_members.cc
16065 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16067 ieee_1003.1-2001)
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16069 $as_echo "IEEE 1003.1" >&6; }
16071 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16072 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16073 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16074 CCOLLATE_CC=config/locale/generic/collate_members.cc
16075 CCTYPE_CC=config/locale/generic/ctype_members.cc
16076 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16077 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16078 CMONEY_CC=config/locale/generic/monetary_members.cc
16079 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16080 CTIME_H=config/locale/generic/time_members.h
16081 CTIME_CC=config/locale/generic/time_members.cc
16082 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16084 newlib)
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16086 $as_echo "newlib" >&6; }
16088 CLOCALE_H=config/locale/generic/c_locale.h
16089 CLOCALE_CC=config/locale/generic/c_locale.cc
16090 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16091 CCOLLATE_CC=config/locale/generic/collate_members.cc
16092 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16093 CMESSAGES_H=config/locale/generic/messages_members.h
16094 CMESSAGES_CC=config/locale/generic/messages_members.cc
16095 CMONEY_CC=config/locale/generic/monetary_members.cc
16096 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16097 CTIME_H=config/locale/generic/time_members.h
16098 CTIME_CC=config/locale/generic/time_members.cc
16099 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16101 esac
16103 # This is where the testsuite looks for locale catalogs, using the
16104 # -DLOCALEDIR define during testsuite compilation.
16105 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16108 # A standalone libintl (e.g., GNU libintl) may be in use.
16109 if test $USE_NLS = yes; then
16110 for ac_header in libintl.h
16111 do :
16112 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16113 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16114 cat >>confdefs.h <<_ACEOF
16115 #define HAVE_LIBINTL_H 1
16116 _ACEOF
16118 else
16119 USE_NLS=no
16122 done
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16125 $as_echo_n "checking for library containing gettext... " >&6; }
16126 if test "${ac_cv_search_gettext+set}" = set; then :
16127 $as_echo_n "(cached) " >&6
16128 else
16129 ac_func_search_save_LIBS=$LIBS
16130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h. */
16133 /* Override any GCC internal prototype to avoid an error.
16134 Use char because int might match the return type of a GCC
16135 builtin and then its argument prototype would still apply. */
16136 #ifdef __cplusplus
16137 extern "C"
16138 #endif
16139 char gettext ();
16141 main ()
16143 return gettext ();
16145 return 0;
16147 _ACEOF
16148 for ac_lib in '' intl; do
16149 if test -z "$ac_lib"; then
16150 ac_res="none required"
16151 else
16152 ac_res=-l$ac_lib
16153 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16155 if test x$gcc_no_link = xyes; then
16156 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16158 if ac_fn_c_try_link "$LINENO"; then :
16159 ac_cv_search_gettext=$ac_res
16161 rm -f core conftest.err conftest.$ac_objext \
16162 conftest$ac_exeext
16163 if test "${ac_cv_search_gettext+set}" = set; then :
16164 break
16166 done
16167 if test "${ac_cv_search_gettext+set}" = set; then :
16169 else
16170 ac_cv_search_gettext=no
16172 rm conftest.$ac_ext
16173 LIBS=$ac_func_search_save_LIBS
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16176 $as_echo "$ac_cv_search_gettext" >&6; }
16177 ac_res=$ac_cv_search_gettext
16178 if test "$ac_res" != no; then :
16179 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16181 else
16182 USE_NLS=no
16186 if test $USE_NLS = yes; then
16188 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16208 $as_echo_n "checking for std::allocator base class... " >&6; }
16209 # Check whether --enable-libstdcxx-allocator was given.
16210 if test "${enable_libstdcxx_allocator+set}" = set; then :
16211 enableval=$enable_libstdcxx_allocator;
16212 case "$enableval" in
16213 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16214 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16215 esac
16217 else
16218 enable_libstdcxx_allocator=auto
16223 # If they didn't use this option switch, or if they specified --enable
16224 # with no specific model, we'll have to look for one. If they
16225 # specified --disable (???), do likewise.
16226 if test $enable_libstdcxx_allocator = no ||
16227 test $enable_libstdcxx_allocator = yes;
16228 then
16229 enable_libstdcxx_allocator=auto
16232 # Either a known package, or "auto". Auto implies the default choice
16233 # for a particular platform.
16234 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16236 # Probe for host-specific support if no specific model is specified.
16237 # Default to "new".
16238 if test $enable_libstdcxx_allocator_flag = auto; then
16239 case ${target_os} in
16240 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16241 enable_libstdcxx_allocator_flag=new
16244 enable_libstdcxx_allocator_flag=new
16246 esac
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16249 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16252 # Set configure bits for specified locale package
16253 case ${enable_libstdcxx_allocator_flag} in
16254 bitmap)
16255 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16256 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16258 malloc)
16259 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16260 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16263 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16264 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16266 new)
16267 ALLOCATOR_H=config/allocator/new_allocator_base.h
16268 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16270 pool)
16271 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16272 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16274 esac
16280 # Check whether --enable-cheaders was given.
16281 if test "${enable_cheaders+set}" = set; then :
16282 enableval=$enable_cheaders;
16283 case "$enableval" in
16284 c|c_std|c_global) ;;
16285 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16286 esac
16288 else
16289 enable_cheaders=$c_model
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16294 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16296 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16298 # Allow overrides to configure.host here.
16299 if test $enable_cheaders = c_global; then
16300 c_compatibility=yes
16309 # Check whether --enable-long-long was given.
16310 if test "${enable_long_long+set}" = set; then :
16311 enableval=$enable_long_long;
16312 case "$enableval" in
16313 yes|no) ;;
16314 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16315 esac
16317 else
16318 enable_long_long=yes
16322 if test $enable_long_long = yes; then
16324 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16328 $as_echo_n "checking for enabled long long specializations... " >&6; }
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16330 $as_echo "$enable_long_long" >&6; }
16333 # Check whether --enable-wchar_t was given.
16334 if test "${enable_wchar_t+set}" = set; then :
16335 enableval=$enable_wchar_t;
16336 case "$enableval" in
16337 yes|no) ;;
16338 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16339 esac
16341 else
16342 enable_wchar_t=yes
16347 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16348 for ac_header in wchar.h
16349 do :
16350 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16351 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16352 cat >>confdefs.h <<_ACEOF
16353 #define HAVE_WCHAR_H 1
16354 _ACEOF
16355 ac_has_wchar_h=yes
16356 else
16357 ac_has_wchar_h=no
16360 done
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16363 $as_echo_n "checking for mbstate_t... " >&6; }
16364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16365 /* end confdefs.h. */
16366 #include <wchar.h>
16368 main ()
16370 mbstate_t teststate;
16372 return 0;
16374 _ACEOF
16375 if ac_fn_c_try_compile "$LINENO"; then :
16376 have_mbstate_t=yes
16377 else
16378 have_mbstate_t=no
16380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16382 $as_echo "$have_mbstate_t" >&6; }
16383 if test x"$have_mbstate_t" = xyes; then
16385 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16389 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16390 # ac_has_wchar_h.
16391 for ac_header in wctype.h
16392 do :
16393 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16394 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16395 cat >>confdefs.h <<_ACEOF
16396 #define HAVE_WCTYPE_H 1
16397 _ACEOF
16398 ac_has_wctype_h=yes
16399 else
16400 ac_has_wctype_h=no
16403 done
16406 if test x"$enable_wchar_t" = x"yes"; then
16409 ac_ext=cpp
16410 ac_cpp='$CXXCPP $CPPFLAGS'
16411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16416 if test x"$ac_has_wchar_h" = xyes &&
16417 test x"$ac_has_wctype_h" = xyes; then
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16420 #include <wchar.h>
16421 #include <stddef.h>
16422 wint_t i;
16423 long l = WEOF;
16424 long j = WCHAR_MIN;
16425 long k = WCHAR_MAX;
16426 namespace test
16428 using ::btowc;
16429 using ::fgetwc;
16430 using ::fgetws;
16431 using ::fputwc;
16432 using ::fputws;
16433 using ::fwide;
16434 using ::fwprintf;
16435 using ::fwscanf;
16436 using ::getwc;
16437 using ::getwchar;
16438 using ::mbrlen;
16439 using ::mbrtowc;
16440 using ::mbsinit;
16441 using ::mbsrtowcs;
16442 using ::putwc;
16443 using ::putwchar;
16444 using ::swprintf;
16445 using ::swscanf;
16446 using ::ungetwc;
16447 using ::vfwprintf;
16448 using ::vswprintf;
16449 using ::vwprintf;
16450 using ::wcrtomb;
16451 using ::wcscat;
16452 using ::wcschr;
16453 using ::wcscmp;
16454 using ::wcscoll;
16455 using ::wcscpy;
16456 using ::wcscspn;
16457 using ::wcsftime;
16458 using ::wcslen;
16459 using ::wcsncat;
16460 using ::wcsncmp;
16461 using ::wcsncpy;
16462 using ::wcspbrk;
16463 using ::wcsrchr;
16464 using ::wcsrtombs;
16465 using ::wcsspn;
16466 using ::wcsstr;
16467 using ::wcstod;
16468 using ::wcstok;
16469 using ::wcstol;
16470 using ::wcstoul;
16471 using ::wcsxfrm;
16472 using ::wctob;
16473 using ::wmemchr;
16474 using ::wmemcmp;
16475 using ::wmemcpy;
16476 using ::wmemmove;
16477 using ::wmemset;
16478 using ::wprintf;
16479 using ::wscanf;
16483 main ()
16487 return 0;
16489 _ACEOF
16490 if ac_fn_cxx_try_compile "$LINENO"; then :
16492 else
16493 enable_wchar_t=no
16495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16496 else
16497 enable_wchar_t=no
16500 ac_ext=c
16501 ac_cpp='$CPP $CPPFLAGS'
16502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16508 if test x"$enable_wchar_t" = x"yes"; then
16510 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16515 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16517 $as_echo "$enable_wchar_t" >&6; }
16521 # Check whether --enable-c99 was given.
16522 if test "${enable_c99+set}" = set; then :
16523 enableval=$enable_c99;
16524 case "$enableval" in
16525 yes|no) ;;
16526 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16527 esac
16529 else
16530 enable_c99=yes
16535 if test x"$enable_c99" = x"yes"; then
16538 ac_ext=cpp
16539 ac_cpp='$CXXCPP $CPPFLAGS'
16540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16545 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16546 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16547 # spuriously enabled.
16548 # Long term, -std=c++0x could be even better, could manage to explicitely
16549 # request C99 facilities to the underlying C headers.
16550 ac_save_CXXFLAGS="$CXXFLAGS"
16551 CXXFLAGS="$CXXFLAGS -std=c++98"
16552 ac_save_LIBS="$LIBS"
16553 ac_save_gcc_no_link="$gcc_no_link"
16555 if test x$gcc_no_link != xyes; then
16556 # Use -fno-exceptions to that the C driver can link these tests without
16557 # hitting undefined references to personality routines.
16558 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16560 $as_echo_n "checking for sin in -lm... " >&6; }
16561 if test "${ac_cv_lib_m_sin+set}" = set; then :
16562 $as_echo_n "(cached) " >&6
16563 else
16564 ac_check_lib_save_LIBS=$LIBS
16565 LIBS="-lm $LIBS"
16566 if test x$gcc_no_link = xyes; then
16567 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16572 /* Override any GCC internal prototype to avoid an error.
16573 Use char because int might match the return type of a GCC
16574 builtin and then its argument prototype would still apply. */
16575 #ifdef __cplusplus
16576 extern "C"
16577 #endif
16578 char sin ();
16580 main ()
16582 return sin ();
16584 return 0;
16586 _ACEOF
16587 if ac_fn_cxx_try_link "$LINENO"; then :
16588 ac_cv_lib_m_sin=yes
16589 else
16590 ac_cv_lib_m_sin=no
16592 rm -f core conftest.err conftest.$ac_objext \
16593 conftest$ac_exeext conftest.$ac_ext
16594 LIBS=$ac_check_lib_save_LIBS
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16597 $as_echo "$ac_cv_lib_m_sin" >&6; }
16598 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16600 LIBS="$LIBS -lm"
16602 else
16604 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16605 gcc_no_link=yes
16611 # Check for the existence of <math.h> functions used if C99 is enabled.
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16613 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16614 if test "${glibcxx_cv_c99_math+set}" = set; then :
16615 $as_echo_n "(cached) " >&6
16616 else
16618 if test x$gcc_no_link = xyes; then
16619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16621 #include <math.h>
16622 volatile double d1, d2;
16623 volatile int i;
16625 main ()
16627 i = fpclassify(d1);
16628 i = isfinite(d1);
16629 i = isinf(d1);
16630 i = isnan(d1);
16631 i = isnormal(d1);
16632 i = signbit(d1);
16633 i = isgreater(d1, d2);
16634 i = isgreaterequal(d1, d2);
16635 i = isless(d1, d2);
16636 i = islessequal(d1, d2);
16637 i = islessgreater(d1, d2);
16638 i = islessgreater(d1, d2);
16639 i = isunordered(d1, d2);
16642 return 0;
16644 _ACEOF
16645 if ac_fn_cxx_try_compile "$LINENO"; then :
16646 glibcxx_cv_c99_math=yes
16647 else
16648 glibcxx_cv_c99_math=no
16650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16651 else
16652 if test x$gcc_no_link = xyes; then
16653 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16656 /* end confdefs.h. */
16657 #include <math.h>
16658 volatile double d1, d2;
16659 volatile int i;
16661 main ()
16663 i = fpclassify(d1);
16664 i = isfinite(d1);
16665 i = isinf(d1);
16666 i = isnan(d1);
16667 i = isnormal(d1);
16668 i = signbit(d1);
16669 i = isgreater(d1, d2);
16670 i = isgreaterequal(d1, d2);
16671 i = isless(d1, d2);
16672 i = islessequal(d1, d2);
16673 i = islessgreater(d1, d2);
16674 i = islessgreater(d1, d2);
16675 i = isunordered(d1, d2);
16678 return 0;
16680 _ACEOF
16681 if ac_fn_cxx_try_link "$LINENO"; then :
16682 glibcxx_cv_c99_math=yes
16683 else
16684 glibcxx_cv_c99_math=no
16686 rm -f core conftest.err conftest.$ac_objext \
16687 conftest$ac_exeext conftest.$ac_ext
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16693 $as_echo "$glibcxx_cv_c99_math" >&6; }
16694 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16696 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16700 # Check for the existence of <complex.h> complex math functions.
16701 # This is necessary even though libstdc++ uses the builtin versions
16702 # of these functions, because if the builtin cannot be used, a reference
16703 # to the library function is emitted.
16704 for ac_header in tgmath.h
16705 do :
16706 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16707 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16708 cat >>confdefs.h <<_ACEOF
16709 #define HAVE_TGMATH_H 1
16710 _ACEOF
16711 ac_has_tgmath_h=yes
16712 else
16713 ac_has_tgmath_h=no
16716 done
16718 for ac_header in complex.h
16719 do :
16720 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16721 if test "x$ac_cv_header_complex_h" = x""yes; then :
16722 cat >>confdefs.h <<_ACEOF
16723 #define HAVE_COMPLEX_H 1
16724 _ACEOF
16725 ac_has_complex_h=yes
16726 else
16727 ac_has_complex_h=no
16730 done
16732 glibcxx_cv_c99_complex=no;
16733 if test x"$ac_has_complex_h" = x"yes"; then
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16735 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16736 if test x$gcc_no_link = xyes; then
16737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16739 #include <complex.h>
16740 typedef __complex__ float float_type;
16741 typedef __complex__ double double_type;
16742 typedef __complex__ long double ld_type;
16743 volatile float_type tmpf;
16744 volatile double_type tmpd;
16745 volatile ld_type tmpld;
16746 volatile float f;
16747 volatile double d;
16748 volatile long double ld;
16750 main ()
16752 f = cabsf(tmpf);
16753 f = cargf(tmpf);
16754 tmpf = ccosf(tmpf);
16755 tmpf = ccoshf(tmpf);
16756 tmpf = cexpf(tmpf);
16757 tmpf = clogf(tmpf);
16758 tmpf = csinf(tmpf);
16759 tmpf = csinhf(tmpf);
16760 tmpf = csqrtf(tmpf);
16761 tmpf = ctanf(tmpf);
16762 tmpf = ctanhf(tmpf);
16763 tmpf = cpowf(tmpf, tmpf);
16764 tmpf = cprojf(tmpf);
16765 d = cabs(tmpd);
16766 d = carg(tmpd);
16767 tmpd = ccos(tmpd);
16768 tmpd = ccosh(tmpd);
16769 tmpd = cexp(tmpd);
16770 tmpd = clog(tmpd);
16771 tmpd = csin(tmpd);
16772 tmpd = csinh(tmpd);
16773 tmpd = csqrt(tmpd);
16774 tmpd = ctan(tmpd);
16775 tmpd = ctanh(tmpd);
16776 tmpd = cpow(tmpd, tmpd);
16777 tmpd = cproj(tmpd);
16778 ld = cabsl(tmpld);
16779 ld = cargl(tmpld);
16780 tmpld = ccosl(tmpld);
16781 tmpld = ccoshl(tmpld);
16782 tmpld = cexpl(tmpld);
16783 tmpld = clogl(tmpld);
16784 tmpld = csinl(tmpld);
16785 tmpld = csinhl(tmpld);
16786 tmpld = csqrtl(tmpld);
16787 tmpld = ctanl(tmpld);
16788 tmpld = ctanhl(tmpld);
16789 tmpld = cpowl(tmpld, tmpld);
16790 tmpld = cprojl(tmpld);
16793 return 0;
16795 _ACEOF
16796 if ac_fn_cxx_try_compile "$LINENO"; then :
16797 glibcxx_cv_c99_complex=yes
16798 else
16799 glibcxx_cv_c99_complex=no
16801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16802 else
16803 if test x$gcc_no_link = xyes; then
16804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16808 #include <complex.h>
16809 typedef __complex__ float float_type;
16810 typedef __complex__ double double_type;
16811 typedef __complex__ long double ld_type;
16812 volatile float_type tmpf;
16813 volatile double_type tmpd;
16814 volatile ld_type tmpld;
16815 volatile float f;
16816 volatile double d;
16817 volatile long double ld;
16819 main ()
16821 f = cabsf(tmpf);
16822 f = cargf(tmpf);
16823 tmpf = ccosf(tmpf);
16824 tmpf = ccoshf(tmpf);
16825 tmpf = cexpf(tmpf);
16826 tmpf = clogf(tmpf);
16827 tmpf = csinf(tmpf);
16828 tmpf = csinhf(tmpf);
16829 tmpf = csqrtf(tmpf);
16830 tmpf = ctanf(tmpf);
16831 tmpf = ctanhf(tmpf);
16832 tmpf = cpowf(tmpf, tmpf);
16833 tmpf = cprojf(tmpf);
16834 d = cabs(tmpd);
16835 d = carg(tmpd);
16836 tmpd = ccos(tmpd);
16837 tmpd = ccosh(tmpd);
16838 tmpd = cexp(tmpd);
16839 tmpd = clog(tmpd);
16840 tmpd = csin(tmpd);
16841 tmpd = csinh(tmpd);
16842 tmpd = csqrt(tmpd);
16843 tmpd = ctan(tmpd);
16844 tmpd = ctanh(tmpd);
16845 tmpd = cpow(tmpd, tmpd);
16846 tmpd = cproj(tmpd);
16847 ld = cabsl(tmpld);
16848 ld = cargl(tmpld);
16849 tmpld = ccosl(tmpld);
16850 tmpld = ccoshl(tmpld);
16851 tmpld = cexpl(tmpld);
16852 tmpld = clogl(tmpld);
16853 tmpld = csinl(tmpld);
16854 tmpld = csinhl(tmpld);
16855 tmpld = csqrtl(tmpld);
16856 tmpld = ctanl(tmpld);
16857 tmpld = ctanhl(tmpld);
16858 tmpld = cpowl(tmpld, tmpld);
16859 tmpld = cprojl(tmpld);
16862 return 0;
16864 _ACEOF
16865 if ac_fn_cxx_try_link "$LINENO"; then :
16866 glibcxx_cv_c99_complex=yes
16867 else
16868 glibcxx_cv_c99_complex=no
16870 rm -f core conftest.err conftest.$ac_objext \
16871 conftest$ac_exeext conftest.$ac_ext
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16875 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16876 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16878 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16882 # Check for the existence in <stdio.h> of vscanf, et. al.
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16884 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16885 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16886 $as_echo_n "(cached) " >&6
16887 else
16889 if test x$gcc_no_link = xyes; then
16890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16891 /* end confdefs.h. */
16892 #include <stdio.h>
16893 #include <stdarg.h>
16894 void foo(char* fmt, ...)
16896 va_list args; va_start(args, fmt);
16897 vfscanf(stderr, "%i", args);
16898 vscanf("%i", args);
16899 vsnprintf(fmt, 0, "%i", args);
16900 vsscanf(fmt, "%i", args);
16903 main ()
16905 snprintf("12", 0, "%i");
16907 return 0;
16909 _ACEOF
16910 if ac_fn_cxx_try_compile "$LINENO"; then :
16911 glibcxx_cv_c99_stdio=yes
16912 else
16913 glibcxx_cv_c99_stdio=no
16915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16916 else
16917 if test x$gcc_no_link = xyes; then
16918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16922 #include <stdio.h>
16923 #include <stdarg.h>
16924 void foo(char* fmt, ...)
16926 va_list args; va_start(args, fmt);
16927 vfscanf(stderr, "%i", args);
16928 vscanf("%i", args);
16929 vsnprintf(fmt, 0, "%i", args);
16930 vsscanf(fmt, "%i", args);
16933 main ()
16935 snprintf("12", 0, "%i");
16937 return 0;
16939 _ACEOF
16940 if ac_fn_cxx_try_link "$LINENO"; then :
16941 glibcxx_cv_c99_stdio=yes
16942 else
16943 glibcxx_cv_c99_stdio=no
16945 rm -f core conftest.err conftest.$ac_objext \
16946 conftest$ac_exeext conftest.$ac_ext
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16952 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16954 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16956 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16957 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16958 $as_echo_n "(cached) " >&6
16959 else
16961 if test x$gcc_no_link = xyes; then
16962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963 /* end confdefs.h. */
16964 #include <stdlib.h>
16965 volatile float f;
16966 volatile long double ld;
16967 volatile unsigned long long ll;
16968 lldiv_t mydivt;
16970 main ()
16972 char* tmp;
16973 f = strtof("gnu", &tmp);
16974 ld = strtold("gnu", &tmp);
16975 ll = strtoll("gnu", &tmp, 10);
16976 ll = strtoull("gnu", &tmp, 10);
16977 ll = llabs(10);
16978 mydivt = lldiv(10,1);
16979 ll = mydivt.quot;
16980 ll = mydivt.rem;
16981 ll = atoll("10");
16982 _Exit(0);
16985 return 0;
16987 _ACEOF
16988 if ac_fn_cxx_try_compile "$LINENO"; then :
16989 glibcxx_cv_c99_stdlib=yes
16990 else
16991 glibcxx_cv_c99_stdlib=no
16993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16994 else
16995 if test x$gcc_no_link = xyes; then
16996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17000 #include <stdlib.h>
17001 volatile float f;
17002 volatile long double ld;
17003 volatile unsigned long long ll;
17004 lldiv_t mydivt;
17006 main ()
17008 char* tmp;
17009 f = strtof("gnu", &tmp);
17010 ld = strtold("gnu", &tmp);
17011 ll = strtoll("gnu", &tmp, 10);
17012 ll = strtoull("gnu", &tmp, 10);
17013 ll = llabs(10);
17014 mydivt = lldiv(10,1);
17015 ll = mydivt.quot;
17016 ll = mydivt.rem;
17017 ll = atoll("10");
17018 _Exit(0);
17021 return 0;
17023 _ACEOF
17024 if ac_fn_cxx_try_link "$LINENO"; then :
17025 glibcxx_cv_c99_stdlib=yes
17026 else
17027 glibcxx_cv_c99_stdlib=no
17029 rm -f core conftest.err conftest.$ac_objext \
17030 conftest$ac_exeext conftest.$ac_ext
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17036 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17038 # Check for the existence in <wchar.h> of wcstold, etc.
17039 glibcxx_cv_c99_wchar=no;
17040 if test x"$ac_has_wchar_h" = xyes &&
17041 test x"$ac_has_wctype_h" = xyes; then
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17043 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17046 #include <wchar.h>
17047 namespace test
17049 using ::wcstold;
17050 using ::wcstoll;
17051 using ::wcstoull;
17055 main ()
17059 return 0;
17061 _ACEOF
17062 if ac_fn_cxx_try_compile "$LINENO"; then :
17063 glibcxx_cv_c99_wchar=yes
17064 else
17065 glibcxx_cv_c99_wchar=no
17067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17069 # Checks for wide character functions that may not be present.
17070 # Injection of these is wrapped with guard macros.
17071 # NB: only put functions here, instead of immediately above, if
17072 # absolutely necessary.
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <wchar.h>
17076 namespace test { using ::vfwscanf; }
17078 main ()
17082 return 0;
17084 _ACEOF
17085 if ac_fn_cxx_try_compile "$LINENO"; then :
17087 $as_echo "#define HAVE_VFWSCANF 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 ::vswscanf; }
17097 main ()
17101 return 0;
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17106 $as_echo "#define HAVE_VSWSCANF 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 <wchar.h>
17114 namespace test { using ::vwscanf; }
17116 main ()
17120 return 0;
17122 _ACEOF
17123 if ac_fn_cxx_try_compile "$LINENO"; then :
17125 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wchar.h>
17133 namespace test { using ::wcstof; }
17135 main ()
17139 return 0;
17141 _ACEOF
17142 if ac_fn_cxx_try_compile "$LINENO"; then :
17144 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17150 /* end confdefs.h. */
17151 #include <wctype.h>
17153 main ()
17155 wint_t t; int i = iswblank(t);
17157 return 0;
17159 _ACEOF
17160 if ac_fn_cxx_try_compile "$LINENO"; then :
17162 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17168 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17171 # Option parsed, now set things appropriately.
17172 if test x"$glibcxx_cv_c99_math" = x"no" ||
17173 test x"$glibcxx_cv_c99_complex" = x"no" ||
17174 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17175 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17176 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17177 enable_c99=no;
17178 else
17180 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17184 gcc_no_link="$ac_save_gcc_no_link"
17185 LIBS="$ac_save_LIBS"
17186 CXXFLAGS="$ac_save_CXXFLAGS"
17187 ac_ext=c
17188 ac_cpp='$CPP $CPPFLAGS'
17189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17196 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17198 $as_echo "$enable_c99" >&6; }
17201 # Check whether --enable-concept-checks was given.
17202 if test "${enable_concept_checks+set}" = set; then :
17203 enableval=$enable_concept_checks;
17204 case "$enableval" in
17205 yes|no) ;;
17206 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17207 esac
17209 else
17210 enable_concept_checks=no
17214 if test $enable_concept_checks = yes; then
17216 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17221 # Check whether --enable-libstdcxx-debug-flags was given.
17222 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17223 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17224 xno | x) enable_libstdcxx_debug_flags= ;;
17225 x-*) ;;
17226 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17227 esac
17228 else
17229 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17234 # Option parsed, now set things appropriately
17235 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17239 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17243 $as_echo_n "checking for additional debug build... " >&6; }
17244 # Check whether --enable-libstdcxx-debug was given.
17245 if test "${enable_libstdcxx_debug+set}" = set; then :
17246 enableval=$enable_libstdcxx_debug;
17247 case "$enableval" in
17248 yes|no) ;;
17249 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17250 esac
17252 else
17253 enable_libstdcxx_debug=no
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17258 $as_echo "$enable_libstdcxx_debug" >&6; }
17263 enable_parallel=no;
17265 # See if configured libgomp/omp.h exists. (libgomp may be in
17266 # noconfigdirs but not explicitly disabled.)
17267 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17268 enable_parallel=yes;
17269 else
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17271 $as_echo "$as_me: target-libgomp not built" >&6;}
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17275 $as_echo_n "checking for parallel mode support... " >&6; }
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17277 $as_echo "$enable_parallel" >&6; }
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17280 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17281 # Check whether --enable-cxx-flags was given.
17282 if test "${enable_cxx_flags+set}" = set; then :
17283 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17284 xno | x) enable_cxx_flags= ;;
17285 x-*) ;;
17286 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17287 esac
17288 else
17289 enable_cxx_flags=
17294 # Run through flags (either default or command-line) and set anything
17295 # extra (e.g., #defines) that must accompany particular g++ options.
17296 if test -n "$enable_cxx_flags"; then
17297 for f in $enable_cxx_flags; do
17298 case "$f" in
17299 -fhonor-std) ;;
17300 -*) ;;
17301 *) # and we're trying to pass /what/ exactly?
17302 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17303 esac
17304 done
17307 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17309 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17313 # Check whether --enable-fully-dynamic-string was given.
17314 if test "${enable_fully_dynamic_string+set}" = set; then :
17315 enableval=$enable_fully_dynamic_string;
17316 case "$enableval" in
17317 yes|no) ;;
17318 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17319 esac
17321 else
17322 enable_fully_dynamic_string=no
17326 if test $enable_fully_dynamic_string = yes; then
17327 enable_fully_dynamic_string_def=1
17328 else
17329 enable_fully_dynamic_string_def=0
17332 cat >>confdefs.h <<_ACEOF
17333 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17334 _ACEOF
17339 # Check whether --enable-extern-template was given.
17340 if test "${enable_extern_template+set}" = set; then :
17341 enableval=$enable_extern_template;
17342 case "$enableval" in
17343 yes|no) ;;
17344 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17345 esac
17347 else
17348 enable_extern_template=yes
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17354 $as_echo_n "checking for extern template support... " >&6; }
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17356 $as_echo "$enable_extern_template" >&6; }
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17363 $as_echo_n "checking for custom python install directory... " >&6; }
17365 # Check whether --with-python-dir was given.
17366 if test "${with_python_dir+set}" = set; then :
17367 withval=$with_python_dir; with_python_dir=$withval
17368 else
17369 with_python_dir="no"
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17373 $as_echo "${with_python_dir}" >&6; }
17375 # Needed for installing Python modules during make install.
17376 python_mod_dir="${with_python_dir}"
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17382 $as_echo_n "checking for -Werror... " >&6; }
17383 # Check whether --enable-werror was given.
17384 if test "${enable_werror+set}" = set; then :
17385 enableval=$enable_werror;
17386 case "$enableval" in
17387 yes|no) ;;
17388 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17389 esac
17391 else
17392 enable_werror=yes
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17397 $as_echo "$enable_werror" >&6; }
17402 # Check whether --enable-vtable-verify was given.
17403 if test "${enable_vtable_verify+set}" = set; then :
17404 enableval=$enable_vtable_verify;
17405 case "$enableval" in
17406 yes|no) ;;
17407 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17408 esac
17410 else
17411 enable_vtable_verify=no
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17417 $as_echo_n "checking for vtable verify support... " >&6; }
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17419 $as_echo "$enable_vtable_verify" >&6; }
17421 if test $enable_vtable_verify = yes; then
17422 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17423 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17424 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17425 else
17426 VTV_CXXFLAGS=
17427 VTV_PCH_CXXFLAGS=
17428 VTV_CXXLINKFLAGS=
17437 # Checks for operating systems support that doesn't require linking.
17441 ac_ext=cpp
17442 ac_cpp='$CXXCPP $CPPFLAGS'
17443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17449 $as_echo_n "checking for gets declaration... " >&6; }
17450 if test "${glibcxx_cv_gets+set}" = set; then :
17451 $as_echo_n "(cached) " >&6
17452 else
17454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h. */
17456 #include <stdio.h>
17457 namespace test
17459 using ::gets;
17462 _ACEOF
17463 if ac_fn_cxx_try_compile "$LINENO"; then :
17464 glibcxx_cv_gets=yes
17465 else
17466 glibcxx_cv_gets=no
17469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17473 if test $glibcxx_cv_gets = yes; then
17475 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17479 $as_echo "$glibcxx_cv_gets" >&6; }
17481 ac_ext=c
17482 ac_cpp='$CPP $CPPFLAGS'
17483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17491 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17492 if test "${glibcxx_cv_system_error1+set}" = set; then :
17493 $as_echo_n "(cached) " >&6
17494 else
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17498 #include <errno.h>
17500 main ()
17502 int i = EOWNERDEAD;
17504 return 0;
17506 _ACEOF
17507 if ac_fn_c_try_compile "$LINENO"; then :
17508 glibcxx_cv_system_error1=yes
17509 else
17510 glibcxx_cv_system_error1=no
17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17517 $as_echo "$glibcxx_cv_system_error1" >&6; }
17518 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17520 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17524 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17525 if test "${glibcxx_cv_system_error2+set}" = set; then :
17526 $as_echo_n "(cached) " >&6
17527 else
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17531 #include <errno.h>
17533 main ()
17535 int i = ENOTRECOVERABLE;
17537 return 0;
17539 _ACEOF
17540 if ac_fn_c_try_compile "$LINENO"; then :
17541 glibcxx_cv_system_error2=yes
17542 else
17543 glibcxx_cv_system_error2=no
17545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17550 $as_echo "$glibcxx_cv_system_error2" >&6; }
17551 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17553 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17557 $as_echo_n "checking for ENOLINK... " >&6; }
17558 if test "${glibcxx_cv_system_error3+set}" = set; then :
17559 $as_echo_n "(cached) " >&6
17560 else
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 #include <errno.h>
17566 main ()
17568 int i = ENOLINK;
17570 return 0;
17572 _ACEOF
17573 if ac_fn_c_try_compile "$LINENO"; then :
17574 glibcxx_cv_system_error3=yes
17575 else
17576 glibcxx_cv_system_error3=no
17578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17583 $as_echo "$glibcxx_cv_system_error3" >&6; }
17584 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17586 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17590 $as_echo_n "checking for EPROTO... " >&6; }
17591 if test "${glibcxx_cv_system_error4+set}" = set; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17597 #include <errno.h>
17599 main ()
17601 int i = EPROTO;
17603 return 0;
17605 _ACEOF
17606 if ac_fn_c_try_compile "$LINENO"; then :
17607 glibcxx_cv_system_error4=yes
17608 else
17609 glibcxx_cv_system_error4=no
17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17616 $as_echo "$glibcxx_cv_system_error4" >&6; }
17617 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17619 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17623 $as_echo_n "checking for ENODATA... " >&6; }
17624 if test "${glibcxx_cv_system_error5+set}" = set; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #include <errno.h>
17632 main ()
17634 int i = ENODATA;
17636 return 0;
17638 _ACEOF
17639 if ac_fn_c_try_compile "$LINENO"; then :
17640 glibcxx_cv_system_error5=yes
17641 else
17642 glibcxx_cv_system_error5=no
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17649 $as_echo "$glibcxx_cv_system_error5" >&6; }
17650 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17652 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17656 $as_echo_n "checking for ENOSR... " >&6; }
17657 if test "${glibcxx_cv_system_error6+set}" = set; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17662 /* end confdefs.h. */
17663 #include <errno.h>
17665 main ()
17667 int i = ENOSR;
17669 return 0;
17671 _ACEOF
17672 if ac_fn_c_try_compile "$LINENO"; then :
17673 glibcxx_cv_system_error6=yes
17674 else
17675 glibcxx_cv_system_error6=no
17677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17682 $as_echo "$glibcxx_cv_system_error6" >&6; }
17683 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17685 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17689 $as_echo_n "checking for ENOSTR... " >&6; }
17690 if test "${glibcxx_cv_system_error7+set}" = set; then :
17691 $as_echo_n "(cached) " >&6
17692 else
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 #include <errno.h>
17698 main ()
17700 int i = ENOSTR;
17702 return 0;
17704 _ACEOF
17705 if ac_fn_c_try_compile "$LINENO"; then :
17706 glibcxx_cv_system_error7=yes
17707 else
17708 glibcxx_cv_system_error7=no
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17715 $as_echo "$glibcxx_cv_system_error7" >&6; }
17716 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17718 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17722 $as_echo_n "checking for ETIME... " >&6; }
17723 if test "${glibcxx_cv_system_error8+set}" = set; then :
17724 $as_echo_n "(cached) " >&6
17725 else
17727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17729 #include <errno.h>
17731 main ()
17733 int i = ETIME;
17735 return 0;
17737 _ACEOF
17738 if ac_fn_c_try_compile "$LINENO"; then :
17739 glibcxx_cv_system_error8=yes
17740 else
17741 glibcxx_cv_system_error8=no
17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17748 $as_echo "$glibcxx_cv_system_error8" >&6; }
17749 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17751 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17755 $as_echo_n "checking for EBADMSG... " >&6; }
17756 if test "${glibcxx_cv_system_error9+set}" = set; then :
17757 $as_echo_n "(cached) " >&6
17758 else
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17762 #include <errno.h>
17764 main ()
17766 int i = EBADMSG;
17768 return 0;
17770 _ACEOF
17771 if ac_fn_c_try_compile "$LINENO"; then :
17772 glibcxx_cv_system_error9=yes
17773 else
17774 glibcxx_cv_system_error9=no
17776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17781 $as_echo "$glibcxx_cv_system_error9" >&6; }
17782 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17784 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17788 $as_echo_n "checking for ECANCELED... " >&6; }
17789 if test "${glibcxx_cv_system_error10+set}" = set; then :
17790 $as_echo_n "(cached) " >&6
17791 else
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17795 #include <errno.h>
17797 main ()
17799 int i = ECANCELED;
17801 return 0;
17803 _ACEOF
17804 if ac_fn_c_try_compile "$LINENO"; then :
17805 glibcxx_cv_system_error10=yes
17806 else
17807 glibcxx_cv_system_error10=no
17809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17814 $as_echo "$glibcxx_cv_system_error10" >&6; }
17815 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17817 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17821 $as_echo_n "checking for EOVERFLOW... " >&6; }
17822 if test "${glibcxx_cv_system_error11+set}" = set; then :
17823 $as_echo_n "(cached) " >&6
17824 else
17826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17827 /* end confdefs.h. */
17828 #include <errno.h>
17830 main ()
17832 int i = EOVERFLOW;
17834 return 0;
17836 _ACEOF
17837 if ac_fn_c_try_compile "$LINENO"; then :
17838 glibcxx_cv_system_error11=yes
17839 else
17840 glibcxx_cv_system_error11=no
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17847 $as_echo "$glibcxx_cv_system_error11" >&6; }
17848 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17850 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17854 $as_echo_n "checking for ENOTSUP... " >&6; }
17855 if test "${glibcxx_cv_system_error12+set}" = set; then :
17856 $as_echo_n "(cached) " >&6
17857 else
17859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17860 /* end confdefs.h. */
17861 #include <errno.h>
17863 main ()
17865 int i = ENOTSUP;
17867 return 0;
17869 _ACEOF
17870 if ac_fn_c_try_compile "$LINENO"; then :
17871 glibcxx_cv_system_error12=yes
17872 else
17873 glibcxx_cv_system_error12=no
17875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17880 $as_echo "$glibcxx_cv_system_error12" >&6; }
17881 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17883 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17887 $as_echo_n "checking for EIDRM... " >&6; }
17888 if test "${glibcxx_cv_system_error13+set}" = set; then :
17889 $as_echo_n "(cached) " >&6
17890 else
17892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17894 #include <errno.h>
17896 main ()
17898 int i = EIDRM;
17900 return 0;
17902 _ACEOF
17903 if ac_fn_c_try_compile "$LINENO"; then :
17904 glibcxx_cv_system_error13=yes
17905 else
17906 glibcxx_cv_system_error13=no
17908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17913 $as_echo "$glibcxx_cv_system_error13" >&6; }
17914 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17916 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17920 $as_echo_n "checking for ETXTBSY... " >&6; }
17921 if test "${glibcxx_cv_system_error14+set}" = set; then :
17922 $as_echo_n "(cached) " >&6
17923 else
17925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17927 #include <errno.h>
17929 main ()
17931 int i = ETXTBSY;
17933 return 0;
17935 _ACEOF
17936 if ac_fn_c_try_compile "$LINENO"; then :
17937 glibcxx_cv_system_error14=yes
17938 else
17939 glibcxx_cv_system_error14=no
17941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17946 $as_echo "$glibcxx_cv_system_error14" >&6; }
17947 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17949 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17953 $as_echo_n "checking for ECHILD... " >&6; }
17954 if test "${glibcxx_cv_system_error15+set}" = set; then :
17955 $as_echo_n "(cached) " >&6
17956 else
17958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17959 /* end confdefs.h. */
17960 #include <errno.h>
17962 main ()
17964 int i = ECHILD;
17966 return 0;
17968 _ACEOF
17969 if ac_fn_c_try_compile "$LINENO"; then :
17970 glibcxx_cv_system_error15=yes
17971 else
17972 glibcxx_cv_system_error15=no
17974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17979 $as_echo "$glibcxx_cv_system_error15" >&6; }
17980 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17982 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17986 $as_echo_n "checking for ENOSPC... " >&6; }
17987 if test "${glibcxx_cv_system_error16+set}" = set; then :
17988 $as_echo_n "(cached) " >&6
17989 else
17991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17992 /* end confdefs.h. */
17993 #include <errno.h>
17995 main ()
17997 int i = ENOSPC;
17999 return 0;
18001 _ACEOF
18002 if ac_fn_c_try_compile "$LINENO"; then :
18003 glibcxx_cv_system_error16=yes
18004 else
18005 glibcxx_cv_system_error16=no
18007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18012 $as_echo "$glibcxx_cv_system_error16" >&6; }
18013 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18015 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18019 $as_echo_n "checking for EPERM... " >&6; }
18020 if test "${glibcxx_cv_system_error17+set}" = set; then :
18021 $as_echo_n "(cached) " >&6
18022 else
18024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18025 /* end confdefs.h. */
18026 #include <errno.h>
18028 main ()
18030 int i = EPERM;
18032 return 0;
18034 _ACEOF
18035 if ac_fn_c_try_compile "$LINENO"; then :
18036 glibcxx_cv_system_error17=yes
18037 else
18038 glibcxx_cv_system_error17=no
18040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18045 $as_echo "$glibcxx_cv_system_error17" >&6; }
18046 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18048 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18052 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18053 if test "${glibcxx_cv_system_error18+set}" = set; then :
18054 $as_echo_n "(cached) " >&6
18055 else
18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18059 #include <errno.h>
18061 main ()
18063 int i = ETIMEDOUT;
18065 return 0;
18067 _ACEOF
18068 if ac_fn_c_try_compile "$LINENO"; then :
18069 glibcxx_cv_system_error18=yes
18070 else
18071 glibcxx_cv_system_error18=no
18073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18078 $as_echo "$glibcxx_cv_system_error18" >&6; }
18079 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18081 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18085 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18086 if test "${glibcxx_cv_system_error19+set}" = set; then :
18087 $as_echo_n "(cached) " >&6
18088 else
18090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18092 #include <errno.h>
18094 main ()
18096 int i = EWOULDBLOCK;
18098 return 0;
18100 _ACEOF
18101 if ac_fn_c_try_compile "$LINENO"; then :
18102 glibcxx_cv_system_error19=yes
18103 else
18104 glibcxx_cv_system_error19=no
18106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18111 $as_echo "$glibcxx_cv_system_error19" >&6; }
18112 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18114 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18120 # For the streamoff typedef.
18124 ac_ext=cpp
18125 ac_cpp='$CXXCPP $CPPFLAGS'
18126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18132 $as_echo_n "checking for int64_t... " >&6; }
18133 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18134 $as_echo_n "(cached) " >&6
18135 else
18137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18138 /* end confdefs.h. */
18139 #include <stdint.h>
18141 main ()
18143 int64_t var;
18145 return 0;
18147 _ACEOF
18148 if ac_fn_cxx_try_compile "$LINENO"; then :
18149 glibcxx_cv_INT64_T=yes
18150 else
18151 glibcxx_cv_INT64_T=no
18153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18158 if test $glibcxx_cv_INT64_T = yes; then
18160 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18163 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18166 $as_echo_n "checking for int64_t as long... " >&6; }
18167 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18168 $as_echo_n "(cached) " >&6
18169 else
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18173 #include <stdint.h>
18174 template<typename, typename> struct same { enum { value = -1 }; };
18175 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18176 int array[same<int64_t, long>::value];
18178 main ()
18182 return 0;
18184 _ACEOF
18185 if ac_fn_cxx_try_compile "$LINENO"; then :
18186 glibcxx_cv_int64_t_long=yes
18187 else
18188 glibcxx_cv_int64_t_long=no
18190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18195 if test $glibcxx_cv_int64_t_long = yes; then
18197 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18200 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18204 $as_echo_n "checking for int64_t as long long... " >&6; }
18205 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18206 $as_echo_n "(cached) " >&6
18207 else
18209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18210 /* end confdefs.h. */
18211 #include <stdint.h>
18212 template<typename, typename> struct same { enum { value = -1 }; };
18213 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18214 int array[same<int64_t, long long>::value];
18216 main ()
18220 return 0;
18222 _ACEOF
18223 if ac_fn_cxx_try_compile "$LINENO"; then :
18224 glibcxx_cv_int64_t_long_long=yes
18225 else
18226 glibcxx_cv_int64_t_long_long=no
18228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18233 if test $glibcxx_cv_int64_t_long_long = yes; then
18235 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18238 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18242 ac_ext=c
18243 ac_cpp='$CPP $CPPFLAGS'
18244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18250 # For LFS support.
18253 ac_ext=cpp
18254 ac_cpp='$CXXCPP $CPPFLAGS'
18255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18259 ac_save_CXXFLAGS="$CXXFLAGS"
18260 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18262 $as_echo_n "checking for LFS support... " >&6; }
18263 if test "${glibcxx_cv_LFS+set}" = set; then :
18264 $as_echo_n "(cached) " >&6
18265 else
18267 if test x$gcc_no_link = xyes; then
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18270 #include <unistd.h>
18271 #include <stdio.h>
18272 #include <sys/stat.h>
18275 main ()
18277 FILE* fp;
18278 fopen64("t", "w");
18279 fseeko64(fp, 0, SEEK_CUR);
18280 ftello64(fp);
18281 lseek64(1, 0, SEEK_CUR);
18282 struct stat64 buf;
18283 fstat64(1, &buf);
18285 return 0;
18287 _ACEOF
18288 if ac_fn_cxx_try_compile "$LINENO"; then :
18289 glibcxx_cv_LFS=yes
18290 else
18291 glibcxx_cv_LFS=no
18293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18294 else
18295 if test x$gcc_no_link = xyes; then
18296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18300 #include <unistd.h>
18301 #include <stdio.h>
18302 #include <sys/stat.h>
18305 main ()
18307 FILE* fp;
18308 fopen64("t", "w");
18309 fseeko64(fp, 0, SEEK_CUR);
18310 ftello64(fp);
18311 lseek64(1, 0, SEEK_CUR);
18312 struct stat64 buf;
18313 fstat64(1, &buf);
18315 return 0;
18317 _ACEOF
18318 if ac_fn_cxx_try_link "$LINENO"; then :
18319 glibcxx_cv_LFS=yes
18320 else
18321 glibcxx_cv_LFS=no
18323 rm -f core conftest.err conftest.$ac_objext \
18324 conftest$ac_exeext conftest.$ac_ext
18329 if test $glibcxx_cv_LFS = yes; then
18331 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18335 $as_echo "$glibcxx_cv_LFS" >&6; }
18336 CXXFLAGS="$ac_save_CXXFLAGS"
18337 ac_ext=c
18338 ac_cpp='$CPP $CPPFLAGS'
18339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18345 # For showmanyc_helper().
18346 for ac_header in sys/ioctl.h sys/filio.h
18347 do :
18348 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18349 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18350 eval as_val=\$$as_ac_Header
18351 if test "x$as_val" = x""yes; then :
18352 cat >>confdefs.h <<_ACEOF
18353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18354 _ACEOF
18358 done
18363 ac_ext=cpp
18364 ac_cpp='$CXXCPP $CPPFLAGS'
18365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18369 ac_save_CXXFLAGS="$CXXFLAGS"
18370 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18373 $as_echo_n "checking for poll... " >&6; }
18374 if test "${glibcxx_cv_POLL+set}" = set; then :
18375 $as_echo_n "(cached) " >&6
18376 else
18378 if test x$gcc_no_link = xyes; then
18379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18380 /* end confdefs.h. */
18381 #include <poll.h>
18383 main ()
18385 struct pollfd pfd[1];
18386 pfd[0].events = POLLIN;
18387 poll(pfd, 1, 0);
18389 return 0;
18391 _ACEOF
18392 if ac_fn_cxx_try_compile "$LINENO"; then :
18393 glibcxx_cv_POLL=yes
18394 else
18395 glibcxx_cv_POLL=no
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18398 else
18399 if test x$gcc_no_link = xyes; then
18400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18403 /* end confdefs.h. */
18404 #include <poll.h>
18406 main ()
18408 struct pollfd pfd[1];
18409 pfd[0].events = POLLIN;
18410 poll(pfd, 1, 0);
18412 return 0;
18414 _ACEOF
18415 if ac_fn_cxx_try_link "$LINENO"; then :
18416 glibcxx_cv_POLL=yes
18417 else
18418 glibcxx_cv_POLL=no
18420 rm -f core conftest.err conftest.$ac_objext \
18421 conftest$ac_exeext conftest.$ac_ext
18426 if test $glibcxx_cv_POLL = yes; then
18428 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18432 $as_echo "$glibcxx_cv_POLL" >&6; }
18434 CXXFLAGS="$ac_save_CXXFLAGS"
18435 ac_ext=c
18436 ac_cpp='$CPP $CPPFLAGS'
18437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18445 ac_ext=cpp
18446 ac_cpp='$CXXCPP $CPPFLAGS'
18447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18451 ac_save_CXXFLAGS="$CXXFLAGS"
18452 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18455 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18456 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18457 $as_echo_n "(cached) " >&6
18458 else
18460 if test x$gcc_no_link = xyes; then
18461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18462 /* end confdefs.h. */
18463 #include <sys/stat.h>
18465 main ()
18467 struct stat buffer;
18468 fstat(0, &buffer);
18469 S_ISREG(buffer.st_mode);
18471 return 0;
18473 _ACEOF
18474 if ac_fn_cxx_try_compile "$LINENO"; then :
18475 glibcxx_cv_S_ISREG=yes
18476 else
18477 glibcxx_cv_S_ISREG=no
18479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18480 else
18481 if test x$gcc_no_link = xyes; then
18482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18485 /* end confdefs.h. */
18486 #include <sys/stat.h>
18488 main ()
18490 struct stat buffer;
18491 fstat(0, &buffer);
18492 S_ISREG(buffer.st_mode);
18494 return 0;
18496 _ACEOF
18497 if ac_fn_cxx_try_link "$LINENO"; then :
18498 glibcxx_cv_S_ISREG=yes
18499 else
18500 glibcxx_cv_S_ISREG=no
18502 rm -f core conftest.err conftest.$ac_objext \
18503 conftest$ac_exeext conftest.$ac_ext
18508 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18509 $as_echo_n "(cached) " >&6
18510 else
18512 if test x$gcc_no_link = xyes; then
18513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18515 #include <sys/stat.h>
18517 main ()
18519 struct stat buffer;
18520 fstat(0, &buffer);
18521 S_IFREG & buffer.st_mode;
18523 return 0;
18525 _ACEOF
18526 if ac_fn_cxx_try_compile "$LINENO"; then :
18527 glibcxx_cv_S_IFREG=yes
18528 else
18529 glibcxx_cv_S_IFREG=no
18531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532 else
18533 if test x$gcc_no_link = xyes; then
18534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18537 /* end confdefs.h. */
18538 #include <sys/stat.h>
18540 main ()
18542 struct stat buffer;
18543 fstat(0, &buffer);
18544 S_IFREG & buffer.st_mode;
18546 return 0;
18548 _ACEOF
18549 if ac_fn_cxx_try_link "$LINENO"; then :
18550 glibcxx_cv_S_IFREG=yes
18551 else
18552 glibcxx_cv_S_IFREG=no
18554 rm -f core conftest.err conftest.$ac_objext \
18555 conftest$ac_exeext conftest.$ac_ext
18560 res=no
18561 if test $glibcxx_cv_S_ISREG = yes; then
18563 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18565 res=S_ISREG
18566 elif test $glibcxx_cv_S_IFREG = yes; then
18568 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18570 res=S_IFREG
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18573 $as_echo "$res" >&6; }
18575 CXXFLAGS="$ac_save_CXXFLAGS"
18576 ac_ext=c
18577 ac_cpp='$CPP $CPPFLAGS'
18578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18584 # For xsputn_2().
18585 for ac_header in sys/uio.h
18586 do :
18587 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18588 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18589 cat >>confdefs.h <<_ACEOF
18590 #define HAVE_SYS_UIO_H 1
18591 _ACEOF
18595 done
18600 ac_ext=cpp
18601 ac_cpp='$CXXCPP $CPPFLAGS'
18602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18606 ac_save_CXXFLAGS="$CXXFLAGS"
18607 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18610 $as_echo_n "checking for writev... " >&6; }
18611 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18612 $as_echo_n "(cached) " >&6
18613 else
18615 if test x$gcc_no_link = xyes; then
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18618 #include <sys/uio.h>
18620 main ()
18622 struct iovec iov[2];
18623 writev(0, iov, 0);
18625 return 0;
18627 _ACEOF
18628 if ac_fn_cxx_try_compile "$LINENO"; then :
18629 glibcxx_cv_WRITEV=yes
18630 else
18631 glibcxx_cv_WRITEV=no
18633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18634 else
18635 if test x$gcc_no_link = xyes; then
18636 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18640 #include <sys/uio.h>
18642 main ()
18644 struct iovec iov[2];
18645 writev(0, iov, 0);
18647 return 0;
18649 _ACEOF
18650 if ac_fn_cxx_try_link "$LINENO"; then :
18651 glibcxx_cv_WRITEV=yes
18652 else
18653 glibcxx_cv_WRITEV=no
18655 rm -f core conftest.err conftest.$ac_objext \
18656 conftest$ac_exeext conftest.$ac_ext
18661 if test $glibcxx_cv_WRITEV = yes; then
18663 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18667 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18669 CXXFLAGS="$ac_save_CXXFLAGS"
18670 ac_ext=c
18671 ac_cpp='$CPP $CPPFLAGS'
18672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18678 # For C99 support to TR1.
18682 ac_ext=cpp
18683 ac_cpp='$CXXCPP $CPPFLAGS'
18684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18689 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18690 # undefined and fake C99 facilities may be spuriously enabled.
18691 ac_save_CXXFLAGS="$CXXFLAGS"
18692 CXXFLAGS="$CXXFLAGS -std=c++98"
18694 # Check for the existence of <complex.h> complex math functions used
18695 # by tr1/complex.
18696 for ac_header in complex.h
18697 do :
18698 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18699 if test "x$ac_cv_header_complex_h" = x""yes; then :
18700 cat >>confdefs.h <<_ACEOF
18701 #define HAVE_COMPLEX_H 1
18702 _ACEOF
18703 ac_has_complex_h=yes
18704 else
18705 ac_has_complex_h=no
18708 done
18710 ac_c99_complex_tr1=no;
18711 if test x"$ac_has_complex_h" = x"yes"; then
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18713 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18715 /* end confdefs.h. */
18716 #include <complex.h>
18718 main ()
18720 typedef __complex__ float float_type; float_type tmpf;
18721 cacosf(tmpf);
18722 casinf(tmpf);
18723 catanf(tmpf);
18724 cacoshf(tmpf);
18725 casinhf(tmpf);
18726 catanhf(tmpf);
18727 typedef __complex__ double double_type; double_type tmpd;
18728 cacos(tmpd);
18729 casin(tmpd);
18730 catan(tmpd);
18731 cacosh(tmpd);
18732 casinh(tmpd);
18733 catanh(tmpd);
18734 typedef __complex__ long double ld_type; ld_type tmpld;
18735 cacosl(tmpld);
18736 casinl(tmpld);
18737 catanl(tmpld);
18738 cacoshl(tmpld);
18739 casinhl(tmpld);
18740 catanhl(tmpld);
18743 return 0;
18745 _ACEOF
18746 if ac_fn_cxx_try_compile "$LINENO"; then :
18747 ac_c99_complex_tr1=yes
18748 else
18749 ac_c99_complex_tr1=no
18751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18754 $as_echo "$ac_c99_complex_tr1" >&6; }
18755 if test x"$ac_c99_complex_tr1" = x"yes"; then
18757 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18761 # Check for the existence of <ctype.h> functions.
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18763 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18764 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18765 $as_echo_n "(cached) " >&6
18766 else
18768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18769 /* end confdefs.h. */
18770 #include <ctype.h>
18772 main ()
18774 int ch;
18775 int ret;
18776 ret = isblank(ch);
18779 return 0;
18781 _ACEOF
18782 if ac_fn_cxx_try_compile "$LINENO"; then :
18783 glibcxx_cv_c99_ctype_tr1=yes
18784 else
18785 glibcxx_cv_c99_ctype_tr1=no
18787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18792 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18793 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18795 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18799 # Check for the existence of <fenv.h> functions.
18800 for ac_header in fenv.h
18801 do :
18802 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18803 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18804 cat >>confdefs.h <<_ACEOF
18805 #define HAVE_FENV_H 1
18806 _ACEOF
18807 ac_has_fenv_h=yes
18808 else
18809 ac_has_fenv_h=no
18812 done
18814 ac_c99_fenv_tr1=no;
18815 if test x"$ac_has_fenv_h" = x"yes"; then
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18817 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18819 /* end confdefs.h. */
18820 #include <fenv.h>
18822 main ()
18824 int except, mode;
18825 fexcept_t* pflag;
18826 fenv_t* penv;
18827 int ret;
18828 ret = feclearexcept(except);
18829 ret = fegetexceptflag(pflag, except);
18830 ret = feraiseexcept(except);
18831 ret = fesetexceptflag(pflag, except);
18832 ret = fetestexcept(except);
18833 ret = fegetround();
18834 ret = fesetround(mode);
18835 ret = fegetenv(penv);
18836 ret = feholdexcept(penv);
18837 ret = fesetenv(penv);
18838 ret = feupdateenv(penv);
18841 return 0;
18843 _ACEOF
18844 if ac_fn_cxx_try_compile "$LINENO"; then :
18845 ac_c99_fenv_tr1=yes
18846 else
18847 ac_c99_fenv_tr1=no
18849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18852 $as_echo "$ac_c99_fenv_tr1" >&6; }
18853 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18855 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18859 # Check for the existence of <stdint.h> types.
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18861 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18862 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18863 $as_echo_n "(cached) " >&6
18864 else
18866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18867 /* end confdefs.h. */
18868 #define __STDC_LIMIT_MACROS
18869 #define __STDC_CONSTANT_MACROS
18870 #include <stdint.h>
18872 main ()
18874 typedef int8_t my_int8_t;
18875 my_int8_t i8 = INT8_MIN;
18876 i8 = INT8_MAX;
18877 typedef int16_t my_int16_t;
18878 my_int16_t i16 = INT16_MIN;
18879 i16 = INT16_MAX;
18880 typedef int32_t my_int32_t;
18881 my_int32_t i32 = INT32_MIN;
18882 i32 = INT32_MAX;
18883 typedef int64_t my_int64_t;
18884 my_int64_t i64 = INT64_MIN;
18885 i64 = INT64_MAX;
18886 typedef int_fast8_t my_int_fast8_t;
18887 my_int_fast8_t if8 = INT_FAST8_MIN;
18888 if8 = INT_FAST8_MAX;
18889 typedef int_fast16_t my_int_fast16_t;
18890 my_int_fast16_t if16 = INT_FAST16_MIN;
18891 if16 = INT_FAST16_MAX;
18892 typedef int_fast32_t my_int_fast32_t;
18893 my_int_fast32_t if32 = INT_FAST32_MIN;
18894 if32 = INT_FAST32_MAX;
18895 typedef int_fast64_t my_int_fast64_t;
18896 my_int_fast64_t if64 = INT_FAST64_MIN;
18897 if64 = INT_FAST64_MAX;
18898 typedef int_least8_t my_int_least8_t;
18899 my_int_least8_t il8 = INT_LEAST8_MIN;
18900 il8 = INT_LEAST8_MAX;
18901 typedef int_least16_t my_int_least16_t;
18902 my_int_least16_t il16 = INT_LEAST16_MIN;
18903 il16 = INT_LEAST16_MAX;
18904 typedef int_least32_t my_int_least32_t;
18905 my_int_least32_t il32 = INT_LEAST32_MIN;
18906 il32 = INT_LEAST32_MAX;
18907 typedef int_least64_t my_int_least64_t;
18908 my_int_least64_t il64 = INT_LEAST64_MIN;
18909 il64 = INT_LEAST64_MAX;
18910 typedef intmax_t my_intmax_t;
18911 my_intmax_t im = INTMAX_MAX;
18912 im = INTMAX_MIN;
18913 typedef intptr_t my_intptr_t;
18914 my_intptr_t ip = INTPTR_MAX;
18915 ip = INTPTR_MIN;
18916 typedef uint8_t my_uint8_t;
18917 my_uint8_t ui8 = UINT8_MAX;
18918 ui8 = UINT8_MAX;
18919 typedef uint16_t my_uint16_t;
18920 my_uint16_t ui16 = UINT16_MAX;
18921 ui16 = UINT16_MAX;
18922 typedef uint32_t my_uint32_t;
18923 my_uint32_t ui32 = UINT32_MAX;
18924 ui32 = UINT32_MAX;
18925 typedef uint64_t my_uint64_t;
18926 my_uint64_t ui64 = UINT64_MAX;
18927 ui64 = UINT64_MAX;
18928 typedef uint_fast8_t my_uint_fast8_t;
18929 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18930 uif8 = UINT_FAST8_MAX;
18931 typedef uint_fast16_t my_uint_fast16_t;
18932 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18933 uif16 = UINT_FAST16_MAX;
18934 typedef uint_fast32_t my_uint_fast32_t;
18935 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18936 uif32 = UINT_FAST32_MAX;
18937 typedef uint_fast64_t my_uint_fast64_t;
18938 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18939 uif64 = UINT_FAST64_MAX;
18940 typedef uint_least8_t my_uint_least8_t;
18941 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18942 uil8 = UINT_LEAST8_MAX;
18943 typedef uint_least16_t my_uint_least16_t;
18944 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18945 uil16 = UINT_LEAST16_MAX;
18946 typedef uint_least32_t my_uint_least32_t;
18947 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18948 uil32 = UINT_LEAST32_MAX;
18949 typedef uint_least64_t my_uint_least64_t;
18950 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18951 uil64 = UINT_LEAST64_MAX;
18952 typedef uintmax_t my_uintmax_t;
18953 my_uintmax_t uim = UINTMAX_MAX;
18954 uim = UINTMAX_MAX;
18955 typedef uintptr_t my_uintptr_t;
18956 my_uintptr_t uip = UINTPTR_MAX;
18957 uip = UINTPTR_MAX;
18960 return 0;
18962 _ACEOF
18963 if ac_fn_cxx_try_compile "$LINENO"; then :
18964 glibcxx_cv_c99_stdint_tr1=yes
18965 else
18966 glibcxx_cv_c99_stdint_tr1=no
18968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18973 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18974 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18976 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18980 # Check for the existence of <math.h> functions.
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18982 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18983 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18984 $as_echo_n "(cached) " >&6
18985 else
18987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18988 /* end confdefs.h. */
18989 #include <math.h>
18991 main ()
18993 typedef double_t my_double_t;
18994 typedef float_t my_float_t;
18995 acosh(0.0);
18996 acoshf(0.0f);
18997 acoshl(0.0l);
18998 asinh(0.0);
18999 asinhf(0.0f);
19000 asinhl(0.0l);
19001 atanh(0.0);
19002 atanhf(0.0f);
19003 atanhl(0.0l);
19004 cbrt(0.0);
19005 cbrtf(0.0f);
19006 cbrtl(0.0l);
19007 copysign(0.0, 0.0);
19008 copysignf(0.0f, 0.0f);
19009 copysignl(0.0l, 0.0l);
19010 erf(0.0);
19011 erff(0.0f);
19012 erfl(0.0l);
19013 erfc(0.0);
19014 erfcf(0.0f);
19015 erfcl(0.0l);
19016 exp2(0.0);
19017 exp2f(0.0f);
19018 exp2l(0.0l);
19019 expm1(0.0);
19020 expm1f(0.0f);
19021 expm1l(0.0l);
19022 fdim(0.0, 0.0);
19023 fdimf(0.0f, 0.0f);
19024 fdiml(0.0l, 0.0l);
19025 fma(0.0, 0.0, 0.0);
19026 fmaf(0.0f, 0.0f, 0.0f);
19027 fmal(0.0l, 0.0l, 0.0l);
19028 fmax(0.0, 0.0);
19029 fmaxf(0.0f, 0.0f);
19030 fmaxl(0.0l, 0.0l);
19031 fmin(0.0, 0.0);
19032 fminf(0.0f, 0.0f);
19033 fminl(0.0l, 0.0l);
19034 hypot(0.0, 0.0);
19035 hypotf(0.0f, 0.0f);
19036 hypotl(0.0l, 0.0l);
19037 ilogb(0.0);
19038 ilogbf(0.0f);
19039 ilogbl(0.0l);
19040 lgamma(0.0);
19041 lgammaf(0.0f);
19042 lgammal(0.0l);
19043 llrint(0.0);
19044 llrintf(0.0f);
19045 llrintl(0.0l);
19046 llround(0.0);
19047 llroundf(0.0f);
19048 llroundl(0.0l);
19049 log1p(0.0);
19050 log1pf(0.0f);
19051 log1pl(0.0l);
19052 log2(0.0);
19053 log2f(0.0f);
19054 log2l(0.0l);
19055 logb(0.0);
19056 logbf(0.0f);
19057 logbl(0.0l);
19058 lrint(0.0);
19059 lrintf(0.0f);
19060 lrintl(0.0l);
19061 lround(0.0);
19062 lroundf(0.0f);
19063 lroundl(0.0l);
19064 nan(0);
19065 nanf(0);
19066 nanl(0);
19067 nearbyint(0.0);
19068 nearbyintf(0.0f);
19069 nearbyintl(0.0l);
19070 nextafter(0.0, 0.0);
19071 nextafterf(0.0f, 0.0f);
19072 nextafterl(0.0l, 0.0l);
19073 nexttoward(0.0, 0.0);
19074 nexttowardf(0.0f, 0.0f);
19075 nexttowardl(0.0l, 0.0l);
19076 remainder(0.0, 0.0);
19077 remainderf(0.0f, 0.0f);
19078 remainderl(0.0l, 0.0l);
19079 remquo(0.0, 0.0, 0);
19080 remquof(0.0f, 0.0f, 0);
19081 remquol(0.0l, 0.0l, 0);
19082 rint(0.0);
19083 rintf(0.0f);
19084 rintl(0.0l);
19085 round(0.0);
19086 roundf(0.0f);
19087 roundl(0.0l);
19088 scalbln(0.0, 0l);
19089 scalblnf(0.0f, 0l);
19090 scalblnl(0.0l, 0l);
19091 scalbn(0.0, 0);
19092 scalbnf(0.0f, 0);
19093 scalbnl(0.0l, 0);
19094 tgamma(0.0);
19095 tgammaf(0.0f);
19096 tgammal(0.0l);
19097 trunc(0.0);
19098 truncf(0.0f);
19099 truncl(0.0l);
19102 return 0;
19104 _ACEOF
19105 if ac_fn_cxx_try_compile "$LINENO"; then :
19106 glibcxx_cv_c99_math_tr1=yes
19107 else
19108 glibcxx_cv_c99_math_tr1=no
19110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19115 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19116 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19118 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19122 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19123 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19124 ac_c99_inttypes_tr1=no;
19125 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19127 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19129 /* end confdefs.h. */
19130 #include <inttypes.h>
19132 main ()
19134 intmax_t i, numer, denom, base;
19135 const char* s;
19136 char** endptr;
19137 intmax_t ret = imaxabs(i);
19138 imaxdiv_t dret = imaxdiv(numer, denom);
19139 ret = strtoimax(s, endptr, base);
19140 uintmax_t uret = strtoumax(s, endptr, base);
19143 return 0;
19145 _ACEOF
19146 if ac_fn_cxx_try_compile "$LINENO"; then :
19147 ac_c99_inttypes_tr1=yes
19148 else
19149 ac_c99_inttypes_tr1=no
19151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19154 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19155 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19157 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19161 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19162 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19163 ac_c99_inttypes_wchar_t_tr1=no;
19164 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19166 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19169 #include <inttypes.h>
19171 main ()
19173 intmax_t base;
19174 const wchar_t* s;
19175 wchar_t** endptr;
19176 intmax_t ret = wcstoimax(s, endptr, base);
19177 uintmax_t uret = wcstoumax(s, endptr, base);
19180 return 0;
19182 _ACEOF
19183 if ac_fn_cxx_try_compile "$LINENO"; then :
19184 ac_c99_inttypes_wchar_t_tr1=yes
19185 else
19186 ac_c99_inttypes_wchar_t_tr1=no
19188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19191 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19192 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19194 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19198 # Check for the existence of the <stdbool.h> header.
19199 for ac_header in stdbool.h
19200 do :
19201 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19202 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19203 cat >>confdefs.h <<_ACEOF
19204 #define HAVE_STDBOOL_H 1
19205 _ACEOF
19209 done
19212 # Check for the existence of the <stdalign.h> header.
19213 for ac_header in stdalign.h
19214 do :
19215 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19216 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19217 cat >>confdefs.h <<_ACEOF
19218 #define HAVE_STDALIGN_H 1
19219 _ACEOF
19223 done
19226 CXXFLAGS="$ac_save_CXXFLAGS"
19227 ac_ext=c
19228 ac_cpp='$CPP $CPPFLAGS'
19229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19235 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19239 $as_echo_n "checking for the value of EOF... " >&6; }
19240 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19241 $as_echo_n "(cached) " >&6
19242 else
19244 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19246 else
19247 as_fn_error "computing EOF failed" "$LINENO" 5
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19253 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19255 cat >>confdefs.h <<_ACEOF
19256 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19257 _ACEOF
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19261 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19262 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19263 $as_echo_n "(cached) " >&6
19264 else
19266 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19268 else
19269 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19275 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19277 cat >>confdefs.h <<_ACEOF
19278 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19279 _ACEOF
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19283 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19284 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19285 $as_echo_n "(cached) " >&6
19286 else
19288 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19290 else
19291 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19297 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19299 cat >>confdefs.h <<_ACEOF
19300 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19301 _ACEOF
19305 # For gettimeofday support.
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19309 $as_echo_n "checking for gettimeofday... " >&6; }
19312 ac_ext=cpp
19313 ac_cpp='$CXXCPP $CPPFLAGS'
19314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19318 ac_save_CXXFLAGS="$CXXFLAGS"
19319 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19321 ac_has_gettimeofday=no;
19322 for ac_header in sys/time.h
19323 do :
19324 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19325 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19326 cat >>confdefs.h <<_ACEOF
19327 #define HAVE_SYS_TIME_H 1
19328 _ACEOF
19329 ac_has_sys_time_h=yes
19330 else
19331 ac_has_sys_time_h=no
19334 done
19336 if test x"$ac_has_sys_time_h" = x"yes"; then
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19338 $as_echo_n "checking for gettimeofday... " >&6; }
19339 if test x$gcc_no_link = xyes; then
19340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19341 /* end confdefs.h. */
19342 #include <sys/time.h>
19344 main ()
19346 timeval tv; gettimeofday(&tv, 0);
19348 return 0;
19350 _ACEOF
19351 if ac_fn_cxx_try_compile "$LINENO"; then :
19352 ac_has_gettimeofday=yes
19353 else
19354 ac_has_gettimeofday=no
19356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19357 else
19358 if test x$gcc_no_link = xyes; then
19359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 #include <sys/time.h>
19365 main ()
19367 timeval tv; gettimeofday(&tv, 0);
19369 return 0;
19371 _ACEOF
19372 if ac_fn_cxx_try_link "$LINENO"; then :
19373 ac_has_gettimeofday=yes
19374 else
19375 ac_has_gettimeofday=no
19377 rm -f core conftest.err conftest.$ac_objext \
19378 conftest$ac_exeext conftest.$ac_ext
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19382 $as_echo "$ac_has_gettimeofday" >&6; }
19385 if test x"$ac_has_gettimeofday" = x"yes"; then
19387 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19391 CXXFLAGS="$ac_save_CXXFLAGS"
19392 ac_ext=c
19393 ac_cpp='$CPP $CPPFLAGS'
19394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19400 # For clock_gettime, nanosleep and sched_yield support.
19403 # Check whether --enable-libstdcxx-time was given.
19404 if test "${enable_libstdcxx_time+set}" = set; then :
19405 enableval=$enable_libstdcxx_time;
19406 case "$enableval" in
19407 yes|no|rt) ;;
19408 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19409 esac
19411 else
19412 enable_libstdcxx_time=auto
19418 ac_ext=cpp
19419 ac_cpp='$CXXCPP $CPPFLAGS'
19420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19424 ac_save_CXXFLAGS="$CXXFLAGS"
19425 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19426 ac_save_LIBS="$LIBS"
19428 ac_has_clock_monotonic=no
19429 ac_has_clock_realtime=no
19430 ac_has_nanosleep=no
19431 ac_has_sched_yield=no
19433 if test x"$enable_libstdcxx_time" = x"auto"; then
19435 case "${target_os}" in
19436 cygwin*)
19437 ac_has_nanosleep=yes
19439 darwin*)
19440 ac_has_nanosleep=yes
19441 ac_has_sched_yield=yes
19443 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19445 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19448 #include <features.h>
19450 main ()
19453 #if ! __GLIBC_PREREQ(2, 17)
19454 #error
19455 #endif
19458 return 0;
19460 _ACEOF
19461 if ac_fn_cxx_try_compile "$LINENO"; then :
19462 glibcxx_glibc217=yes
19463 else
19464 glibcxx_glibc217=no
19466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19468 $as_echo "$glibcxx_glibc217" >&6; }
19470 if test x"$glibcxx_glibc217" = x"yes"; then
19471 ac_has_clock_monotonic=yes
19472 ac_has_clock_realtime=yes
19474 ac_has_nanosleep=yes
19475 ac_has_sched_yield=yes
19477 freebsd*|netbsd*)
19478 ac_has_clock_monotonic=yes
19479 ac_has_clock_realtime=yes
19480 ac_has_nanosleep=yes
19481 ac_has_sched_yield=yes
19483 openbsd*)
19484 ac_has_clock_monotonic=yes
19485 ac_has_clock_realtime=yes
19486 ac_has_nanosleep=yes
19488 solaris*)
19489 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19490 ac_has_clock_monotonic=yes
19491 ac_has_clock_realtime=yes
19492 ac_has_nanosleep=yes
19493 ac_has_sched_yield=yes
19495 esac
19497 elif test x"$enable_libstdcxx_time" != x"no"; then
19499 if test x"$enable_libstdcxx_time" = x"rt"; then
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19501 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19502 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19503 $as_echo_n "(cached) " >&6
19504 else
19505 ac_func_search_save_LIBS=$LIBS
19506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19509 /* Override any GCC internal prototype to avoid an error.
19510 Use char because int might match the return type of a GCC
19511 builtin and then its argument prototype would still apply. */
19512 #ifdef __cplusplus
19513 extern "C"
19514 #endif
19515 char clock_gettime ();
19517 main ()
19519 return clock_gettime ();
19521 return 0;
19523 _ACEOF
19524 for ac_lib in '' rt posix4; do
19525 if test -z "$ac_lib"; then
19526 ac_res="none required"
19527 else
19528 ac_res=-l$ac_lib
19529 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19531 if test x$gcc_no_link = xyes; then
19532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19534 if ac_fn_cxx_try_link "$LINENO"; then :
19535 ac_cv_search_clock_gettime=$ac_res
19537 rm -f core conftest.err conftest.$ac_objext \
19538 conftest$ac_exeext
19539 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19540 break
19542 done
19543 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19545 else
19546 ac_cv_search_clock_gettime=no
19548 rm conftest.$ac_ext
19549 LIBS=$ac_func_search_save_LIBS
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19552 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19553 ac_res=$ac_cv_search_clock_gettime
19554 if test "$ac_res" != no; then :
19555 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19560 $as_echo_n "checking for library containing nanosleep... " >&6; }
19561 if test "${ac_cv_search_nanosleep+set}" = set; then :
19562 $as_echo_n "(cached) " >&6
19563 else
19564 ac_func_search_save_LIBS=$LIBS
19565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19566 /* end confdefs.h. */
19568 /* Override any GCC internal prototype to avoid an error.
19569 Use char because int might match the return type of a GCC
19570 builtin and then its argument prototype would still apply. */
19571 #ifdef __cplusplus
19572 extern "C"
19573 #endif
19574 char nanosleep ();
19576 main ()
19578 return nanosleep ();
19580 return 0;
19582 _ACEOF
19583 for ac_lib in '' rt posix4; do
19584 if test -z "$ac_lib"; then
19585 ac_res="none required"
19586 else
19587 ac_res=-l$ac_lib
19588 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19590 if test x$gcc_no_link = xyes; then
19591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19593 if ac_fn_cxx_try_link "$LINENO"; then :
19594 ac_cv_search_nanosleep=$ac_res
19596 rm -f core conftest.err conftest.$ac_objext \
19597 conftest$ac_exeext
19598 if test "${ac_cv_search_nanosleep+set}" = set; then :
19599 break
19601 done
19602 if test "${ac_cv_search_nanosleep+set}" = set; then :
19604 else
19605 ac_cv_search_nanosleep=no
19607 rm conftest.$ac_ext
19608 LIBS=$ac_func_search_save_LIBS
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19611 $as_echo "$ac_cv_search_nanosleep" >&6; }
19612 ac_res=$ac_cv_search_nanosleep
19613 if test "$ac_res" != no; then :
19614 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19618 else
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19620 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19621 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19622 $as_echo_n "(cached) " >&6
19623 else
19624 ac_func_search_save_LIBS=$LIBS
19625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19626 /* end confdefs.h. */
19628 /* Override any GCC internal prototype to avoid an error.
19629 Use char because int might match the return type of a GCC
19630 builtin and then its argument prototype would still apply. */
19631 #ifdef __cplusplus
19632 extern "C"
19633 #endif
19634 char clock_gettime ();
19636 main ()
19638 return clock_gettime ();
19640 return 0;
19642 _ACEOF
19643 for ac_lib in '' posix4; do
19644 if test -z "$ac_lib"; then
19645 ac_res="none required"
19646 else
19647 ac_res=-l$ac_lib
19648 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19650 if test x$gcc_no_link = xyes; then
19651 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19653 if ac_fn_cxx_try_link "$LINENO"; then :
19654 ac_cv_search_clock_gettime=$ac_res
19656 rm -f core conftest.err conftest.$ac_objext \
19657 conftest$ac_exeext
19658 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19659 break
19661 done
19662 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19664 else
19665 ac_cv_search_clock_gettime=no
19667 rm conftest.$ac_ext
19668 LIBS=$ac_func_search_save_LIBS
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19671 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19672 ac_res=$ac_cv_search_clock_gettime
19673 if test "$ac_res" != no; then :
19674 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19679 $as_echo_n "checking for library containing nanosleep... " >&6; }
19680 if test "${ac_cv_search_nanosleep+set}" = set; then :
19681 $as_echo_n "(cached) " >&6
19682 else
19683 ac_func_search_save_LIBS=$LIBS
19684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19685 /* end confdefs.h. */
19687 /* Override any GCC internal prototype to avoid an error.
19688 Use char because int might match the return type of a GCC
19689 builtin and then its argument prototype would still apply. */
19690 #ifdef __cplusplus
19691 extern "C"
19692 #endif
19693 char nanosleep ();
19695 main ()
19697 return nanosleep ();
19699 return 0;
19701 _ACEOF
19702 for ac_lib in '' posix4; do
19703 if test -z "$ac_lib"; then
19704 ac_res="none required"
19705 else
19706 ac_res=-l$ac_lib
19707 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19709 if test x$gcc_no_link = xyes; then
19710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19712 if ac_fn_cxx_try_link "$LINENO"; then :
19713 ac_cv_search_nanosleep=$ac_res
19715 rm -f core conftest.err conftest.$ac_objext \
19716 conftest$ac_exeext
19717 if test "${ac_cv_search_nanosleep+set}" = set; then :
19718 break
19720 done
19721 if test "${ac_cv_search_nanosleep+set}" = set; then :
19723 else
19724 ac_cv_search_nanosleep=no
19726 rm conftest.$ac_ext
19727 LIBS=$ac_func_search_save_LIBS
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19730 $as_echo "$ac_cv_search_nanosleep" >&6; }
19731 ac_res=$ac_cv_search_nanosleep
19732 if test "$ac_res" != no; then :
19733 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19739 case "$ac_cv_search_clock_gettime" in
19740 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19742 esac
19743 case "$ac_cv_search_nanosleep" in
19744 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19746 esac
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19749 $as_echo_n "checking for library containing sched_yield... " >&6; }
19750 if test "${ac_cv_search_sched_yield+set}" = set; then :
19751 $as_echo_n "(cached) " >&6
19752 else
19753 ac_func_search_save_LIBS=$LIBS
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19757 /* Override any GCC internal prototype to avoid an error.
19758 Use char because int might match the return type of a GCC
19759 builtin and then its argument prototype would still apply. */
19760 #ifdef __cplusplus
19761 extern "C"
19762 #endif
19763 char sched_yield ();
19765 main ()
19767 return sched_yield ();
19769 return 0;
19771 _ACEOF
19772 for ac_lib in '' rt posix4; do
19773 if test -z "$ac_lib"; then
19774 ac_res="none required"
19775 else
19776 ac_res=-l$ac_lib
19777 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
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 if ac_fn_cxx_try_link "$LINENO"; then :
19783 ac_cv_search_sched_yield=$ac_res
19785 rm -f core conftest.err conftest.$ac_objext \
19786 conftest$ac_exeext
19787 if test "${ac_cv_search_sched_yield+set}" = set; then :
19788 break
19790 done
19791 if test "${ac_cv_search_sched_yield+set}" = set; then :
19793 else
19794 ac_cv_search_sched_yield=no
19796 rm conftest.$ac_ext
19797 LIBS=$ac_func_search_save_LIBS
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19800 $as_echo "$ac_cv_search_sched_yield" >&6; }
19801 ac_res=$ac_cv_search_sched_yield
19802 if test "$ac_res" != no; then :
19803 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19808 case "$ac_cv_search_sched_yield" in
19809 -lposix4*)
19810 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19811 ac_has_sched_yield=yes
19813 -lrt*)
19814 if test x"$enable_libstdcxx_time" = x"rt"; then
19815 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19816 ac_has_sched_yield=yes
19820 ac_has_sched_yield=yes
19822 esac
19824 for ac_header in unistd.h
19825 do :
19826 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19827 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19828 cat >>confdefs.h <<_ACEOF
19829 #define HAVE_UNISTD_H 1
19830 _ACEOF
19831 ac_has_unistd_h=yes
19832 else
19833 ac_has_unistd_h=no
19836 done
19839 if test x"$ac_has_unistd_h" = x"yes"; then
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19841 $as_echo_n "checking for monotonic clock... " >&6; }
19842 if test x$gcc_no_link = xyes; then
19843 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19847 #include <unistd.h>
19848 #include <time.h>
19851 main ()
19853 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19854 timespec tp;
19855 #endif
19856 clock_gettime(CLOCK_MONOTONIC, &tp);
19859 return 0;
19861 _ACEOF
19862 if ac_fn_cxx_try_link "$LINENO"; then :
19863 ac_has_clock_monotonic=yes
19864 else
19865 ac_has_clock_monotonic=no
19867 rm -f core conftest.err conftest.$ac_objext \
19868 conftest$ac_exeext conftest.$ac_ext
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19871 $as_echo "$ac_has_clock_monotonic" >&6; }
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19874 $as_echo_n "checking for realtime clock... " >&6; }
19875 if test x$gcc_no_link = xyes; then
19876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19879 /* end confdefs.h. */
19880 #include <unistd.h>
19881 #include <time.h>
19884 main ()
19886 #if _POSIX_TIMERS > 0
19887 timespec tp;
19888 #endif
19889 clock_gettime(CLOCK_REALTIME, &tp);
19892 return 0;
19894 _ACEOF
19895 if ac_fn_cxx_try_link "$LINENO"; then :
19896 ac_has_clock_realtime=yes
19897 else
19898 ac_has_clock_realtime=no
19900 rm -f core conftest.err conftest.$ac_objext \
19901 conftest$ac_exeext conftest.$ac_ext
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19904 $as_echo "$ac_has_clock_realtime" >&6; }
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19907 $as_echo_n "checking for nanosleep... " >&6; }
19908 if test x$gcc_no_link = xyes; then
19909 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19912 /* end confdefs.h. */
19913 #include <unistd.h>
19914 #include <time.h>
19917 main ()
19919 #if _POSIX_TIMERS > 0
19920 timespec tp;
19921 #endif
19922 nanosleep(&tp, 0);
19925 return 0;
19927 _ACEOF
19928 if ac_fn_cxx_try_link "$LINENO"; then :
19929 ac_has_nanosleep=yes
19930 else
19931 ac_has_nanosleep=no
19933 rm -f core conftest.err conftest.$ac_objext \
19934 conftest$ac_exeext conftest.$ac_ext
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19937 $as_echo "$ac_has_nanosleep" >&6; }
19941 if test x"$ac_has_clock_monotonic" != x"yes"; then
19942 case ${target_os} in
19943 linux*)
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19945 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19948 #include <unistd.h>
19949 #include <time.h>
19950 #include <sys/syscall.h>
19953 main ()
19955 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19956 timespec tp;
19957 #endif
19958 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19959 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19962 return 0;
19964 _ACEOF
19965 if ac_fn_cxx_try_compile "$LINENO"; then :
19966 ac_has_clock_monotonic_syscall=yes
19967 else
19968 ac_has_clock_monotonic_syscall=no
19970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19972 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19973 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19975 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19977 ac_has_clock_monotonic=yes
19978 ac_has_clock_realtime=yes
19979 fi;;
19980 esac
19983 if test x"$ac_has_clock_monotonic" = x"yes"; then
19985 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19989 if test x"$ac_has_clock_realtime" = x"yes"; then
19991 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19995 if test x"$ac_has_sched_yield" = x"yes"; then
19997 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20001 if test x"$ac_has_nanosleep" = x"yes"; then
20003 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20005 else
20006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20007 $as_echo_n "checking for sleep... " >&6; }
20008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20009 /* end confdefs.h. */
20010 #include <unistd.h>
20012 main ()
20014 sleep(1)
20016 return 0;
20018 _ACEOF
20019 if ac_fn_cxx_try_compile "$LINENO"; then :
20020 ac_has_sleep=yes
20021 else
20022 ac_has_sleep=no
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20025 if test x"$ac_has_sleep" = x"yes"; then
20027 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20031 $as_echo "$ac_has_sleep" >&6; }
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20033 $as_echo_n "checking for usleep... " >&6; }
20034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20035 /* end confdefs.h. */
20036 #include <unistd.h>
20038 main ()
20040 sleep(1);
20041 usleep(100);
20043 return 0;
20045 _ACEOF
20046 if ac_fn_cxx_try_compile "$LINENO"; then :
20047 ac_has_usleep=yes
20048 else
20049 ac_has_usleep=no
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20052 if test x"$ac_has_usleep" = x"yes"; then
20054 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20058 $as_echo "$ac_has_usleep" >&6; }
20061 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20063 $as_echo_n "checking for Sleep... " >&6; }
20064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h. */
20066 #include <windows.h>
20068 main ()
20070 Sleep(1)
20072 return 0;
20074 _ACEOF
20075 if ac_fn_cxx_try_compile "$LINENO"; then :
20076 ac_has_win32_sleep=yes
20077 else
20078 ac_has_win32_sleep=no
20080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20081 if test x"$ac_has_win32_sleep" = x"yes"; then
20083 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20087 $as_echo "$ac_has_win32_sleep" >&6; }
20092 CXXFLAGS="$ac_save_CXXFLAGS"
20093 LIBS="$ac_save_LIBS"
20094 ac_ext=c
20095 ac_cpp='$CPP $CPPFLAGS'
20096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20103 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20104 if test "x$ac_cv_header_locale_h" = x""yes; then :
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20107 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20108 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20109 $as_echo_n "(cached) " >&6
20110 else
20111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20112 /* end confdefs.h. */
20113 #include <locale.h>
20115 main ()
20117 return LC_MESSAGES
20119 return 0;
20121 _ACEOF
20122 if ac_fn_c_try_compile "$LINENO"; then :
20123 ac_cv_val_LC_MESSAGES=yes
20124 else
20125 ac_cv_val_LC_MESSAGES=no
20127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20130 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20131 if test $ac_cv_val_LC_MESSAGES = yes; then
20133 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20142 # For hardware_concurrency
20143 for ac_header in sys/sysinfo.h
20144 do :
20145 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20146 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20147 cat >>confdefs.h <<_ACEOF
20148 #define HAVE_SYS_SYSINFO_H 1
20149 _ACEOF
20153 done
20158 ac_ext=cpp
20159 ac_cpp='$CXXCPP $CPPFLAGS'
20160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20164 ac_save_CXXFLAGS="$CXXFLAGS"
20165 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20168 $as_echo_n "checking for get_nprocs... " >&6; }
20169 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20170 $as_echo_n "(cached) " >&6
20171 else
20173 if test x$gcc_no_link = xyes; then
20174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20175 /* end confdefs.h. */
20176 #include <sys/sysinfo.h>
20178 main ()
20180 int n = get_nprocs();
20182 return 0;
20184 _ACEOF
20185 if ac_fn_cxx_try_compile "$LINENO"; then :
20186 glibcxx_cv_GET_NPROCS=yes
20187 else
20188 glibcxx_cv_GET_NPROCS=no
20190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20191 else
20192 if test x$gcc_no_link = xyes; then
20193 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20196 /* end confdefs.h. */
20197 #include <sys/sysinfo.h>
20199 main ()
20201 int n = get_nprocs();
20203 return 0;
20205 _ACEOF
20206 if ac_fn_cxx_try_link "$LINENO"; then :
20207 glibcxx_cv_GET_NPROCS=yes
20208 else
20209 glibcxx_cv_GET_NPROCS=no
20211 rm -f core conftest.err conftest.$ac_objext \
20212 conftest$ac_exeext conftest.$ac_ext
20217 if test $glibcxx_cv_GET_NPROCS = yes; then
20219 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20223 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20225 CXXFLAGS="$ac_save_CXXFLAGS"
20226 ac_ext=c
20227 ac_cpp='$CPP $CPPFLAGS'
20228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20233 for ac_header in unistd.h
20234 do :
20235 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20236 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20237 cat >>confdefs.h <<_ACEOF
20238 #define HAVE_UNISTD_H 1
20239 _ACEOF
20243 done
20248 ac_ext=cpp
20249 ac_cpp='$CXXCPP $CPPFLAGS'
20250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20254 ac_save_CXXFLAGS="$CXXFLAGS"
20255 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20258 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20259 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20260 $as_echo_n "(cached) " >&6
20261 else
20263 if test x$gcc_no_link = xyes; then
20264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h. */
20266 #include <unistd.h>
20268 main ()
20270 int n = sysconf(_SC_NPROCESSORS_ONLN);
20272 return 0;
20274 _ACEOF
20275 if ac_fn_cxx_try_compile "$LINENO"; then :
20276 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20277 else
20278 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20281 else
20282 if test x$gcc_no_link = xyes; then
20283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20286 /* end confdefs.h. */
20287 #include <unistd.h>
20289 main ()
20291 int n = sysconf(_SC_NPROCESSORS_ONLN);
20293 return 0;
20295 _ACEOF
20296 if ac_fn_cxx_try_link "$LINENO"; then :
20297 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20298 else
20299 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20301 rm -f core conftest.err conftest.$ac_objext \
20302 conftest$ac_exeext conftest.$ac_ext
20307 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20309 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20313 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20315 CXXFLAGS="$ac_save_CXXFLAGS"
20316 ac_ext=c
20317 ac_cpp='$CPP $CPPFLAGS'
20318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20326 ac_ext=cpp
20327 ac_cpp='$CXXCPP $CPPFLAGS'
20328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20332 ac_save_CXXFLAGS="$CXXFLAGS"
20333 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20336 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20337 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20338 $as_echo_n "(cached) " >&6
20339 else
20341 if test x$gcc_no_link = xyes; then
20342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20343 /* end confdefs.h. */
20344 #include <unistd.h>
20346 main ()
20348 int n = sysconf(_SC_NPROC_ONLN);
20350 return 0;
20352 _ACEOF
20353 if ac_fn_cxx_try_compile "$LINENO"; then :
20354 glibcxx_cv_SC_NPROC_ONLN=yes
20355 else
20356 glibcxx_cv_SC_NPROC_ONLN=no
20358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20359 else
20360 if test x$gcc_no_link = xyes; then
20361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20364 /* end confdefs.h. */
20365 #include <unistd.h>
20367 main ()
20369 int n = sysconf(_SC_NPROC_ONLN);
20371 return 0;
20373 _ACEOF
20374 if ac_fn_cxx_try_link "$LINENO"; then :
20375 glibcxx_cv_SC_NPROC_ONLN=yes
20376 else
20377 glibcxx_cv_SC_NPROC_ONLN=no
20379 rm -f core conftest.err conftest.$ac_objext \
20380 conftest$ac_exeext conftest.$ac_ext
20385 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20387 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20391 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20393 CXXFLAGS="$ac_save_CXXFLAGS"
20394 ac_ext=c
20395 ac_cpp='$CPP $CPPFLAGS'
20396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20404 ac_ext=cpp
20405 ac_cpp='$CXXCPP $CPPFLAGS'
20406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20410 ac_save_CXXFLAGS="$CXXFLAGS"
20411 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20414 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20415 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20416 $as_echo_n "(cached) " >&6
20417 else
20419 if test x$gcc_no_link = xyes; then
20420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20421 /* end confdefs.h. */
20422 #include <pthread.h>
20424 main ()
20426 int n = pthread_num_processors_np();
20428 return 0;
20430 _ACEOF
20431 if ac_fn_cxx_try_compile "$LINENO"; then :
20432 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20433 else
20434 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20437 else
20438 if test x$gcc_no_link = xyes; then
20439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20442 /* end confdefs.h. */
20443 #include <pthread.h>
20445 main ()
20447 int n = pthread_num_processors_np();
20449 return 0;
20451 _ACEOF
20452 if ac_fn_cxx_try_link "$LINENO"; then :
20453 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20454 else
20455 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20457 rm -f core conftest.err conftest.$ac_objext \
20458 conftest$ac_exeext conftest.$ac_ext
20463 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20465 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20469 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20471 CXXFLAGS="$ac_save_CXXFLAGS"
20472 ac_ext=c
20473 ac_cpp='$CPP $CPPFLAGS'
20474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20482 ac_ext=cpp
20483 ac_cpp='$CXXCPP $CPPFLAGS'
20484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20488 ac_save_CXXFLAGS="$CXXFLAGS"
20489 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20492 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20493 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20494 $as_echo_n "(cached) " >&6
20495 else
20497 if test x$gcc_no_link = xyes; then
20498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20499 /* end confdefs.h. */
20501 #include <stddef.h>
20502 #include <sys/sysctl.h>
20505 main ()
20508 int count;
20509 size_t size = sizeof(count);
20510 int mib[] = { CTL_HW, HW_NCPU };
20511 sysctl(mib, 2, &count, &size, NULL, 0);
20514 return 0;
20516 _ACEOF
20517 if ac_fn_cxx_try_compile "$LINENO"; then :
20518 glibcxx_cv_SYSCTL_HW_NCPU=yes
20519 else
20520 glibcxx_cv_SYSCTL_HW_NCPU=no
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20523 else
20524 if test x$gcc_no_link = xyes; then
20525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20528 /* end confdefs.h. */
20530 #include <stddef.h>
20531 #include <sys/sysctl.h>
20534 main ()
20537 int count;
20538 size_t size = sizeof(count);
20539 int mib[] = { CTL_HW, HW_NCPU };
20540 sysctl(mib, 2, &count, &size, NULL, 0);
20543 return 0;
20545 _ACEOF
20546 if ac_fn_cxx_try_link "$LINENO"; then :
20547 glibcxx_cv_SYSCTL_HW_NCPU=yes
20548 else
20549 glibcxx_cv_SYSCTL_HW_NCPU=no
20551 rm -f core conftest.err conftest.$ac_objext \
20552 conftest$ac_exeext conftest.$ac_ext
20557 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20559 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20563 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20565 CXXFLAGS="$ac_save_CXXFLAGS"
20566 ac_ext=c
20567 ac_cpp='$CPP $CPPFLAGS'
20568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20575 $as_echo "for suitable sys/sdt.h" >&6; }
20576 # Note that this test has to be run with the C language.
20577 # Otherwise, sdt.h will try to include some headers from
20578 # libstdc++ itself.
20580 ac_ext=c
20581 ac_cpp='$CPP $CPPFLAGS'
20582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20586 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20587 $as_echo_n "(cached) " >&6
20588 else
20590 # Because we have to run the test in C, we use grep rather
20591 # than the compiler to check for the bug. The bug is that
20592 # were strings without trailing whitespace, causing g++
20593 # to look for operator"". The pattern searches for the fixed
20594 # output.
20595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20596 /* end confdefs.h. */
20598 #include <sys/sdt.h>
20599 int f() { STAP_PROBE(hi, bob); }
20601 _ACEOF
20602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20603 $EGREP " \",\" " >/dev/null 2>&1; then :
20604 glibcxx_cv_sys_sdt_h=yes
20605 else
20606 glibcxx_cv_sys_sdt_h=no
20608 rm -f conftest*
20613 ac_ext=c
20614 ac_cpp='$CPP $CPPFLAGS'
20615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20619 if test $glibcxx_cv_sys_sdt_h = yes; then
20621 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20625 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20628 # Check for available headers.
20629 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20630 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20631 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20632 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20633 wchar.h wctype.h
20634 do :
20635 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20636 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20637 eval as_val=\$$as_ac_Header
20638 if test "x$as_val" = x""yes; then :
20639 cat >>confdefs.h <<_ACEOF
20640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20641 _ACEOF
20645 done
20648 # Only do link tests if native. Else, hardcode.
20649 if $GLIBCXX_IS_NATIVE; then
20651 # We can do more elaborate tests that assume a working linker.
20652 CANADIAN=no
20656 # Check whether --with-gnu-ld was given.
20657 if test "${with_gnu_ld+set}" = set; then :
20658 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20659 else
20660 with_gnu_ld=no
20663 ac_prog=ld
20664 if test "$GCC" = yes; then
20665 # Check if gcc -print-prog-name=ld gives a path.
20666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20667 $as_echo_n "checking for ld used by $CC... " >&6; }
20668 case $host in
20669 *-*-mingw*)
20670 # gcc leaves a trailing carriage return which upsets mingw
20671 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20673 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20674 esac
20675 case $ac_prog in
20676 # Accept absolute paths.
20677 [\\/]* | ?:[\\/]*)
20678 re_direlt='/[^/][^/]*/\.\./'
20679 # Canonicalize the pathname of ld
20680 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20681 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20682 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20683 done
20684 test -z "$LD" && LD="$ac_prog"
20687 # If it fails, then pretend we aren't using GCC.
20688 ac_prog=ld
20691 # If it is relative, then search for the first ld in PATH.
20692 with_gnu_ld=unknown
20694 esac
20695 elif test "$with_gnu_ld" = yes; then
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20697 $as_echo_n "checking for GNU ld... " >&6; }
20698 else
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20700 $as_echo_n "checking for non-GNU ld... " >&6; }
20702 if test "${lt_cv_path_LD+set}" = set; then :
20703 $as_echo_n "(cached) " >&6
20704 else
20705 if test -z "$LD"; then
20706 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20707 for ac_dir in $PATH; do
20708 IFS="$lt_save_ifs"
20709 test -z "$ac_dir" && ac_dir=.
20710 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20711 lt_cv_path_LD="$ac_dir/$ac_prog"
20712 # Check to see if the program is GNU ld. I'd rather use --version,
20713 # but apparently some variants of GNU ld only accept -v.
20714 # Break only if it was the GNU/non-GNU ld that we prefer.
20715 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20716 *GNU* | *'with BFD'*)
20717 test "$with_gnu_ld" != no && break
20720 test "$with_gnu_ld" != yes && break
20722 esac
20724 done
20725 IFS="$lt_save_ifs"
20726 else
20727 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20731 LD="$lt_cv_path_LD"
20732 if test -n "$LD"; then
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20734 $as_echo "$LD" >&6; }
20735 else
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20737 $as_echo "no" >&6; }
20739 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20741 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20742 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20743 $as_echo_n "(cached) " >&6
20744 else
20745 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20746 case `$LD -v 2>&1 </dev/null` in
20747 *GNU* | *'with BFD'*)
20748 lt_cv_prog_gnu_ld=yes
20751 lt_cv_prog_gnu_ld=no
20753 esac
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20756 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20757 with_gnu_ld=$lt_cv_prog_gnu_ld
20765 # If we're not using GNU ld, then there's no point in even trying these
20766 # tests. Check for that first. We should have already tested for gld
20767 # by now (in libtool), but require it now just to be safe...
20768 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20769 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20773 # The name set by libtool depends on the version of libtool. Shame on us
20774 # for depending on an impl detail, but c'est la vie. Older versions used
20775 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20776 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20777 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20778 # set (hence we're using an older libtool), then set it.
20779 if test x${with_gnu_ld+set} != xset; then
20780 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20781 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20782 with_gnu_ld=no
20783 else
20784 with_gnu_ld=$ac_cv_prog_gnu_ld
20788 # Start by getting the version number. I think the libtool test already
20789 # does some of this, but throws away the result.
20790 glibcxx_ld_is_gold=no
20791 if test x"$with_gnu_ld" = x"yes"; then
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20793 $as_echo_n "checking for ld version... " >&6; }
20795 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20796 glibcxx_ld_is_gold=yes
20798 ldver=`$LD --version 2>/dev/null |
20799 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'`
20801 glibcxx_gnu_ld_version=`echo $ldver | \
20802 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20804 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20807 # Set --gc-sections.
20808 glibcxx_have_gc_sections=no
20809 if test "$glibcxx_ld_is_gold" = "yes"; then
20810 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20811 glibcxx_have_gc_sections=yes
20813 else
20814 glibcxx_gcsections_min_ld=21602
20815 if test x"$with_gnu_ld" = x"yes" &&
20816 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20817 glibcxx_have_gc_sections=yes
20820 if test "$glibcxx_have_gc_sections" = "yes"; then
20821 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20822 # NB: This flag only works reliably after 2.16.1. Configure tests
20823 # for this are difficult, so hard wire a value that should work.
20825 ac_test_CFLAGS="${CFLAGS+set}"
20826 ac_save_CFLAGS="$CFLAGS"
20827 CFLAGS='-Wl,--gc-sections'
20829 # Check for -Wl,--gc-sections
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20831 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20832 if test x$gcc_no_link = xyes; then
20833 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20836 /* end confdefs.h. */
20837 int one(void) { return 1; }
20838 int two(void) { return 2; }
20841 main ()
20843 two();
20845 return 0;
20847 _ACEOF
20848 if ac_fn_c_try_link "$LINENO"; then :
20849 ac_gcsections=yes
20850 else
20851 ac_gcsections=no
20853 rm -f core conftest.err conftest.$ac_objext \
20854 conftest$ac_exeext conftest.$ac_ext
20855 if test "$ac_gcsections" = "yes"; then
20856 rm -f conftest.c
20857 touch conftest.c
20858 if $CC -c conftest.c; then
20859 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20860 grep "Warning: gc-sections option ignored" > /dev/null; then
20861 ac_gcsections=no
20864 rm -f conftest.c conftest.o conftest
20866 if test "$ac_gcsections" = "yes"; then
20867 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20870 $as_echo "$ac_gcsections" >&6; }
20872 if test "$ac_test_CFLAGS" = set; then
20873 CFLAGS="$ac_save_CFLAGS"
20874 else
20875 # this is the suspicious part
20876 CFLAGS=''
20880 # Set -z,relro.
20881 # Note this is only for shared objects.
20882 ac_ld_relro=no
20883 if test x"$with_gnu_ld" = x"yes"; then
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20885 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20886 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20887 if test -n "$cxx_z_relo"; then
20888 OPT_LDFLAGS="-Wl,-z,relro"
20889 ac_ld_relro=yes
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20892 $as_echo "$ac_ld_relro" >&6; }
20895 # Set linker optimization flags.
20896 if test x"$with_gnu_ld" = x"yes"; then
20897 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20904 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20905 ac_save_CXXFLAGS="$CXXFLAGS"
20906 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20909 $as_echo_n "checking for sin in -lm... " >&6; }
20910 if test "${ac_cv_lib_m_sin+set}" = set; then :
20911 $as_echo_n "(cached) " >&6
20912 else
20913 ac_check_lib_save_LIBS=$LIBS
20914 LIBS="-lm $LIBS"
20915 if test x$gcc_no_link = xyes; then
20916 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20919 /* end confdefs.h. */
20921 /* Override any GCC internal prototype to avoid an error.
20922 Use char because int might match the return type of a GCC
20923 builtin and then its argument prototype would still apply. */
20924 #ifdef __cplusplus
20925 extern "C"
20926 #endif
20927 char sin ();
20929 main ()
20931 return sin ();
20933 return 0;
20935 _ACEOF
20936 if ac_fn_c_try_link "$LINENO"; then :
20937 ac_cv_lib_m_sin=yes
20938 else
20939 ac_cv_lib_m_sin=no
20941 rm -f core conftest.err conftest.$ac_objext \
20942 conftest$ac_exeext conftest.$ac_ext
20943 LIBS=$ac_check_lib_save_LIBS
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20946 $as_echo "$ac_cv_lib_m_sin" >&6; }
20947 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20948 libm="-lm"
20951 ac_save_LIBS="$LIBS"
20952 LIBS="$LIBS $libm"
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20957 $as_echo_n "checking for isinf declaration... " >&6; }
20958 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20959 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20960 $as_echo_n "(cached) " >&6
20961 else
20964 ac_ext=cpp
20965 ac_cpp='$CXXCPP $CPPFLAGS'
20966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20971 /* end confdefs.h. */
20972 #include <math.h>
20973 #ifdef HAVE_IEEEFP_H
20974 #include <ieeefp.h>
20975 #endif
20978 main ()
20980 isinf(0);
20982 return 0;
20984 _ACEOF
20985 if ac_fn_cxx_try_compile "$LINENO"; then :
20986 glibcxx_cv_func_isinf_use=yes
20987 else
20988 glibcxx_cv_func_isinf_use=no
20990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20991 ac_ext=c
20992 ac_cpp='$CPP $CPPFLAGS'
20993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21002 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21004 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21005 for ac_func in isinf
21006 do :
21007 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21008 if test "x$ac_cv_func_isinf" = x""yes; then :
21009 cat >>confdefs.h <<_ACEOF
21010 #define HAVE_ISINF 1
21011 _ACEOF
21014 done
21016 else
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21019 $as_echo_n "checking for _isinf declaration... " >&6; }
21020 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21021 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21022 $as_echo_n "(cached) " >&6
21023 else
21026 ac_ext=cpp
21027 ac_cpp='$CXXCPP $CPPFLAGS'
21028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21034 #include <math.h>
21035 #ifdef HAVE_IEEEFP_H
21036 #include <ieeefp.h>
21037 #endif
21040 main ()
21042 _isinf(0);
21044 return 0;
21046 _ACEOF
21047 if ac_fn_cxx_try_compile "$LINENO"; then :
21048 glibcxx_cv_func__isinf_use=yes
21049 else
21050 glibcxx_cv_func__isinf_use=no
21052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21053 ac_ext=c
21054 ac_cpp='$CPP $CPPFLAGS'
21055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21064 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21066 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21067 for ac_func in _isinf
21068 do :
21069 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21070 if test "x$ac_cv_func__isinf" = x""yes; then :
21071 cat >>confdefs.h <<_ACEOF
21072 #define HAVE__ISINF 1
21073 _ACEOF
21076 done
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21086 $as_echo_n "checking for isnan declaration... " >&6; }
21087 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21088 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21089 $as_echo_n "(cached) " >&6
21090 else
21093 ac_ext=cpp
21094 ac_cpp='$CXXCPP $CPPFLAGS'
21095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21100 /* end confdefs.h. */
21101 #include <math.h>
21102 #ifdef HAVE_IEEEFP_H
21103 #include <ieeefp.h>
21104 #endif
21107 main ()
21109 isnan(0);
21111 return 0;
21113 _ACEOF
21114 if ac_fn_cxx_try_compile "$LINENO"; then :
21115 glibcxx_cv_func_isnan_use=yes
21116 else
21117 glibcxx_cv_func_isnan_use=no
21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21120 ac_ext=c
21121 ac_cpp='$CPP $CPPFLAGS'
21122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21131 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21133 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21134 for ac_func in isnan
21135 do :
21136 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21137 if test "x$ac_cv_func_isnan" = x""yes; then :
21138 cat >>confdefs.h <<_ACEOF
21139 #define HAVE_ISNAN 1
21140 _ACEOF
21143 done
21145 else
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21148 $as_echo_n "checking for _isnan declaration... " >&6; }
21149 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21150 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21151 $as_echo_n "(cached) " >&6
21152 else
21155 ac_ext=cpp
21156 ac_cpp='$CXXCPP $CPPFLAGS'
21157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21162 /* end confdefs.h. */
21163 #include <math.h>
21164 #ifdef HAVE_IEEEFP_H
21165 #include <ieeefp.h>
21166 #endif
21169 main ()
21171 _isnan(0);
21173 return 0;
21175 _ACEOF
21176 if ac_fn_cxx_try_compile "$LINENO"; then :
21177 glibcxx_cv_func__isnan_use=yes
21178 else
21179 glibcxx_cv_func__isnan_use=no
21181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21182 ac_ext=c
21183 ac_cpp='$CPP $CPPFLAGS'
21184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21193 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21195 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21196 for ac_func in _isnan
21197 do :
21198 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21199 if test "x$ac_cv_func__isnan" = x""yes; then :
21200 cat >>confdefs.h <<_ACEOF
21201 #define HAVE__ISNAN 1
21202 _ACEOF
21205 done
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21215 $as_echo_n "checking for finite declaration... " >&6; }
21216 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21217 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21218 $as_echo_n "(cached) " >&6
21219 else
21222 ac_ext=cpp
21223 ac_cpp='$CXXCPP $CPPFLAGS'
21224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21229 /* end confdefs.h. */
21230 #include <math.h>
21231 #ifdef HAVE_IEEEFP_H
21232 #include <ieeefp.h>
21233 #endif
21236 main ()
21238 finite(0);
21240 return 0;
21242 _ACEOF
21243 if ac_fn_cxx_try_compile "$LINENO"; then :
21244 glibcxx_cv_func_finite_use=yes
21245 else
21246 glibcxx_cv_func_finite_use=no
21248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21249 ac_ext=c
21250 ac_cpp='$CPP $CPPFLAGS'
21251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21260 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21262 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21263 for ac_func in finite
21264 do :
21265 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21266 if test "x$ac_cv_func_finite" = x""yes; then :
21267 cat >>confdefs.h <<_ACEOF
21268 #define HAVE_FINITE 1
21269 _ACEOF
21272 done
21274 else
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21277 $as_echo_n "checking for _finite declaration... " >&6; }
21278 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21279 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21280 $as_echo_n "(cached) " >&6
21281 else
21284 ac_ext=cpp
21285 ac_cpp='$CXXCPP $CPPFLAGS'
21286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21291 /* end confdefs.h. */
21292 #include <math.h>
21293 #ifdef HAVE_IEEEFP_H
21294 #include <ieeefp.h>
21295 #endif
21298 main ()
21300 _finite(0);
21302 return 0;
21304 _ACEOF
21305 if ac_fn_cxx_try_compile "$LINENO"; then :
21306 glibcxx_cv_func__finite_use=yes
21307 else
21308 glibcxx_cv_func__finite_use=no
21310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21311 ac_ext=c
21312 ac_cpp='$CPP $CPPFLAGS'
21313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21322 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21324 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21325 for ac_func in _finite
21326 do :
21327 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21328 if test "x$ac_cv_func__finite" = x""yes; then :
21329 cat >>confdefs.h <<_ACEOF
21330 #define HAVE__FINITE 1
21331 _ACEOF
21334 done
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21344 $as_echo_n "checking for sincos declaration... " >&6; }
21345 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21346 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21347 $as_echo_n "(cached) " >&6
21348 else
21351 ac_ext=cpp
21352 ac_cpp='$CXXCPP $CPPFLAGS'
21353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21358 /* end confdefs.h. */
21359 #include <math.h>
21361 main ()
21363 sincos(0, 0, 0);
21365 return 0;
21367 _ACEOF
21368 if ac_fn_cxx_try_compile "$LINENO"; then :
21369 glibcxx_cv_func_sincos_use=yes
21370 else
21371 glibcxx_cv_func_sincos_use=no
21373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21374 ac_ext=c
21375 ac_cpp='$CPP $CPPFLAGS'
21376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21385 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21387 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21388 for ac_func in sincos
21389 do :
21390 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21391 if test "x$ac_cv_func_sincos" = x""yes; then :
21392 cat >>confdefs.h <<_ACEOF
21393 #define HAVE_SINCOS 1
21394 _ACEOF
21397 done
21399 else
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21402 $as_echo_n "checking for _sincos declaration... " >&6; }
21403 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21404 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21405 $as_echo_n "(cached) " >&6
21406 else
21409 ac_ext=cpp
21410 ac_cpp='$CXXCPP $CPPFLAGS'
21411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21416 /* end confdefs.h. */
21417 #include <math.h>
21419 main ()
21421 _sincos(0, 0, 0);
21423 return 0;
21425 _ACEOF
21426 if ac_fn_cxx_try_compile "$LINENO"; then :
21427 glibcxx_cv_func__sincos_use=yes
21428 else
21429 glibcxx_cv_func__sincos_use=no
21431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21432 ac_ext=c
21433 ac_cpp='$CPP $CPPFLAGS'
21434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21443 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21445 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21446 for ac_func in _sincos
21447 do :
21448 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21449 if test "x$ac_cv_func__sincos" = x""yes; then :
21450 cat >>confdefs.h <<_ACEOF
21451 #define HAVE__SINCOS 1
21452 _ACEOF
21455 done
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21465 $as_echo_n "checking for fpclass declaration... " >&6; }
21466 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21467 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21468 $as_echo_n "(cached) " >&6
21469 else
21472 ac_ext=cpp
21473 ac_cpp='$CXXCPP $CPPFLAGS'
21474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21479 /* end confdefs.h. */
21480 #include <math.h>
21481 #ifdef HAVE_IEEEFP_H
21482 #include <ieeefp.h>
21483 #endif
21486 main ()
21488 fpclass(0);
21490 return 0;
21492 _ACEOF
21493 if ac_fn_cxx_try_compile "$LINENO"; then :
21494 glibcxx_cv_func_fpclass_use=yes
21495 else
21496 glibcxx_cv_func_fpclass_use=no
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499 ac_ext=c
21500 ac_cpp='$CPP $CPPFLAGS'
21501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21510 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21512 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21513 for ac_func in fpclass
21514 do :
21515 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21516 if test "x$ac_cv_func_fpclass" = x""yes; then :
21517 cat >>confdefs.h <<_ACEOF
21518 #define HAVE_FPCLASS 1
21519 _ACEOF
21522 done
21524 else
21526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21527 $as_echo_n "checking for _fpclass declaration... " >&6; }
21528 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21529 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21530 $as_echo_n "(cached) " >&6
21531 else
21534 ac_ext=cpp
21535 ac_cpp='$CXXCPP $CPPFLAGS'
21536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21541 /* end confdefs.h. */
21542 #include <math.h>
21543 #ifdef HAVE_IEEEFP_H
21544 #include <ieeefp.h>
21545 #endif
21548 main ()
21550 _fpclass(0);
21552 return 0;
21554 _ACEOF
21555 if ac_fn_cxx_try_compile "$LINENO"; then :
21556 glibcxx_cv_func__fpclass_use=yes
21557 else
21558 glibcxx_cv_func__fpclass_use=no
21560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21561 ac_ext=c
21562 ac_cpp='$CPP $CPPFLAGS'
21563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21572 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21574 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21575 for ac_func in _fpclass
21576 do :
21577 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21578 if test "x$ac_cv_func__fpclass" = x""yes; then :
21579 cat >>confdefs.h <<_ACEOF
21580 #define HAVE__FPCLASS 1
21581 _ACEOF
21584 done
21593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21594 $as_echo_n "checking for qfpclass declaration... " >&6; }
21595 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21596 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21597 $as_echo_n "(cached) " >&6
21598 else
21601 ac_ext=cpp
21602 ac_cpp='$CXXCPP $CPPFLAGS'
21603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21608 /* end confdefs.h. */
21609 #include <math.h>
21610 #ifdef HAVE_IEEEFP_H
21611 #include <ieeefp.h>
21612 #endif
21615 main ()
21617 qfpclass(0);
21619 return 0;
21621 _ACEOF
21622 if ac_fn_cxx_try_compile "$LINENO"; then :
21623 glibcxx_cv_func_qfpclass_use=yes
21624 else
21625 glibcxx_cv_func_qfpclass_use=no
21627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21628 ac_ext=c
21629 ac_cpp='$CPP $CPPFLAGS'
21630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21639 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21641 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21642 for ac_func in qfpclass
21643 do :
21644 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21645 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21646 cat >>confdefs.h <<_ACEOF
21647 #define HAVE_QFPCLASS 1
21648 _ACEOF
21651 done
21653 else
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21656 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21657 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21658 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21659 $as_echo_n "(cached) " >&6
21660 else
21663 ac_ext=cpp
21664 ac_cpp='$CXXCPP $CPPFLAGS'
21665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21670 /* end confdefs.h. */
21671 #include <math.h>
21672 #ifdef HAVE_IEEEFP_H
21673 #include <ieeefp.h>
21674 #endif
21677 main ()
21679 _qfpclass(0);
21681 return 0;
21683 _ACEOF
21684 if ac_fn_cxx_try_compile "$LINENO"; then :
21685 glibcxx_cv_func__qfpclass_use=yes
21686 else
21687 glibcxx_cv_func__qfpclass_use=no
21689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21690 ac_ext=c
21691 ac_cpp='$CPP $CPPFLAGS'
21692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21701 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21703 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21704 for ac_func in _qfpclass
21705 do :
21706 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21707 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21708 cat >>confdefs.h <<_ACEOF
21709 #define HAVE__QFPCLASS 1
21710 _ACEOF
21713 done
21722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21723 $as_echo_n "checking for hypot declaration... " >&6; }
21724 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21725 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21726 $as_echo_n "(cached) " >&6
21727 else
21730 ac_ext=cpp
21731 ac_cpp='$CXXCPP $CPPFLAGS'
21732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21737 /* end confdefs.h. */
21738 #include <math.h>
21740 main ()
21742 hypot(0, 0);
21744 return 0;
21746 _ACEOF
21747 if ac_fn_cxx_try_compile "$LINENO"; then :
21748 glibcxx_cv_func_hypot_use=yes
21749 else
21750 glibcxx_cv_func_hypot_use=no
21752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21753 ac_ext=c
21754 ac_cpp='$CPP $CPPFLAGS'
21755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21764 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21766 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21767 for ac_func in hypot
21768 do :
21769 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21770 if test "x$ac_cv_func_hypot" = x""yes; then :
21771 cat >>confdefs.h <<_ACEOF
21772 #define HAVE_HYPOT 1
21773 _ACEOF
21776 done
21778 else
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21781 $as_echo_n "checking for _hypot declaration... " >&6; }
21782 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21783 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21784 $as_echo_n "(cached) " >&6
21785 else
21788 ac_ext=cpp
21789 ac_cpp='$CXXCPP $CPPFLAGS'
21790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21795 /* end confdefs.h. */
21796 #include <math.h>
21798 main ()
21800 _hypot(0, 0);
21802 return 0;
21804 _ACEOF
21805 if ac_fn_cxx_try_compile "$LINENO"; then :
21806 glibcxx_cv_func__hypot_use=yes
21807 else
21808 glibcxx_cv_func__hypot_use=no
21810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21811 ac_ext=c
21812 ac_cpp='$CPP $CPPFLAGS'
21813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21822 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21824 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21825 for ac_func in _hypot
21826 do :
21827 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21828 if test "x$ac_cv_func__hypot" = x""yes; then :
21829 cat >>confdefs.h <<_ACEOF
21830 #define HAVE__HYPOT 1
21831 _ACEOF
21834 done
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21844 $as_echo_n "checking for float trig functions... " >&6; }
21845 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21846 $as_echo_n "(cached) " >&6
21847 else
21850 ac_ext=cpp
21851 ac_cpp='$CXXCPP $CPPFLAGS'
21852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21857 /* end confdefs.h. */
21858 #include <math.h>
21860 main ()
21862 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21864 return 0;
21866 _ACEOF
21867 if ac_fn_cxx_try_compile "$LINENO"; then :
21868 glibcxx_cv_func_float_trig_use=yes
21869 else
21870 glibcxx_cv_func_float_trig_use=no
21872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21873 ac_ext=c
21874 ac_cpp='$CPP $CPPFLAGS'
21875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21882 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21883 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21884 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21885 do :
21886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21888 eval as_val=\$$as_ac_var
21889 if test "x$as_val" = x""yes; then :
21890 cat >>confdefs.h <<_ACEOF
21891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21892 _ACEOF
21895 done
21897 else
21898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21899 $as_echo_n "checking for _float trig functions... " >&6; }
21900 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21901 $as_echo_n "(cached) " >&6
21902 else
21905 ac_ext=cpp
21906 ac_cpp='$CXXCPP $CPPFLAGS'
21907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21912 /* end confdefs.h. */
21913 #include <math.h>
21915 main ()
21917 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21919 return 0;
21921 _ACEOF
21922 if ac_fn_cxx_try_compile "$LINENO"; then :
21923 glibcxx_cv_func__float_trig_use=yes
21924 else
21925 glibcxx_cv_func__float_trig_use=no
21927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21928 ac_ext=c
21929 ac_cpp='$CPP $CPPFLAGS'
21930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21937 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21938 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21939 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21940 do :
21941 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21942 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21943 eval as_val=\$$as_ac_var
21944 if test "x$as_val" = x""yes; then :
21945 cat >>confdefs.h <<_ACEOF
21946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21947 _ACEOF
21950 done
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21960 $as_echo_n "checking for float round functions... " >&6; }
21961 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21962 $as_echo_n "(cached) " >&6
21963 else
21966 ac_ext=cpp
21967 ac_cpp='$CXXCPP $CPPFLAGS'
21968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21973 /* end confdefs.h. */
21974 #include <math.h>
21976 main ()
21978 ceilf (0); floorf (0);
21980 return 0;
21982 _ACEOF
21983 if ac_fn_cxx_try_compile "$LINENO"; then :
21984 glibcxx_cv_func_float_round_use=yes
21985 else
21986 glibcxx_cv_func_float_round_use=no
21988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21989 ac_ext=c
21990 ac_cpp='$CPP $CPPFLAGS'
21991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21998 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21999 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22000 for ac_func in ceilf floorf
22001 do :
22002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22004 eval as_val=\$$as_ac_var
22005 if test "x$as_val" = x""yes; then :
22006 cat >>confdefs.h <<_ACEOF
22007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22008 _ACEOF
22011 done
22013 else
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22015 $as_echo_n "checking for _float round functions... " >&6; }
22016 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22017 $as_echo_n "(cached) " >&6
22018 else
22021 ac_ext=cpp
22022 ac_cpp='$CXXCPP $CPPFLAGS'
22023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22028 /* end confdefs.h. */
22029 #include <math.h>
22031 main ()
22033 _ceilf (0); _floorf (0);
22035 return 0;
22037 _ACEOF
22038 if ac_fn_cxx_try_compile "$LINENO"; then :
22039 glibcxx_cv_func__float_round_use=yes
22040 else
22041 glibcxx_cv_func__float_round_use=no
22043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22044 ac_ext=c
22045 ac_cpp='$CPP $CPPFLAGS'
22046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22053 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22054 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22055 for ac_func in _ceilf _floorf
22056 do :
22057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22059 eval as_val=\$$as_ac_var
22060 if test "x$as_val" = x""yes; then :
22061 cat >>confdefs.h <<_ACEOF
22062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22063 _ACEOF
22066 done
22076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22077 $as_echo_n "checking for expf declaration... " >&6; }
22078 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22079 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22080 $as_echo_n "(cached) " >&6
22081 else
22084 ac_ext=cpp
22085 ac_cpp='$CXXCPP $CPPFLAGS'
22086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22091 /* end confdefs.h. */
22092 #include <math.h>
22093 #ifdef HAVE_IEEEFP_H
22094 #include <ieeefp.h>
22095 #endif
22098 main ()
22100 expf(0);
22102 return 0;
22104 _ACEOF
22105 if ac_fn_cxx_try_compile "$LINENO"; then :
22106 glibcxx_cv_func_expf_use=yes
22107 else
22108 glibcxx_cv_func_expf_use=no
22110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22111 ac_ext=c
22112 ac_cpp='$CPP $CPPFLAGS'
22113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22122 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22124 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22125 for ac_func in expf
22126 do :
22127 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22128 if test "x$ac_cv_func_expf" = x""yes; then :
22129 cat >>confdefs.h <<_ACEOF
22130 #define HAVE_EXPF 1
22131 _ACEOF
22134 done
22136 else
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22139 $as_echo_n "checking for _expf declaration... " >&6; }
22140 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22141 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22142 $as_echo_n "(cached) " >&6
22143 else
22146 ac_ext=cpp
22147 ac_cpp='$CXXCPP $CPPFLAGS'
22148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22153 /* end confdefs.h. */
22154 #include <math.h>
22155 #ifdef HAVE_IEEEFP_H
22156 #include <ieeefp.h>
22157 #endif
22160 main ()
22162 _expf(0);
22164 return 0;
22166 _ACEOF
22167 if ac_fn_cxx_try_compile "$LINENO"; then :
22168 glibcxx_cv_func__expf_use=yes
22169 else
22170 glibcxx_cv_func__expf_use=no
22172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22173 ac_ext=c
22174 ac_cpp='$CPP $CPPFLAGS'
22175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22184 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22186 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22187 for ac_func in _expf
22188 do :
22189 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22190 if test "x$ac_cv_func__expf" = x""yes; then :
22191 cat >>confdefs.h <<_ACEOF
22192 #define HAVE__EXPF 1
22193 _ACEOF
22196 done
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22206 $as_echo_n "checking for isnanf declaration... " >&6; }
22207 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22208 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22209 $as_echo_n "(cached) " >&6
22210 else
22213 ac_ext=cpp
22214 ac_cpp='$CXXCPP $CPPFLAGS'
22215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22220 /* end confdefs.h. */
22221 #include <math.h>
22222 #ifdef HAVE_IEEEFP_H
22223 #include <ieeefp.h>
22224 #endif
22227 main ()
22229 isnanf(0);
22231 return 0;
22233 _ACEOF
22234 if ac_fn_cxx_try_compile "$LINENO"; then :
22235 glibcxx_cv_func_isnanf_use=yes
22236 else
22237 glibcxx_cv_func_isnanf_use=no
22239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22240 ac_ext=c
22241 ac_cpp='$CPP $CPPFLAGS'
22242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22251 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22253 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22254 for ac_func in isnanf
22255 do :
22256 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22257 if test "x$ac_cv_func_isnanf" = x""yes; then :
22258 cat >>confdefs.h <<_ACEOF
22259 #define HAVE_ISNANF 1
22260 _ACEOF
22263 done
22265 else
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22268 $as_echo_n "checking for _isnanf declaration... " >&6; }
22269 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22270 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22271 $as_echo_n "(cached) " >&6
22272 else
22275 ac_ext=cpp
22276 ac_cpp='$CXXCPP $CPPFLAGS'
22277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22282 /* end confdefs.h. */
22283 #include <math.h>
22284 #ifdef HAVE_IEEEFP_H
22285 #include <ieeefp.h>
22286 #endif
22289 main ()
22291 _isnanf(0);
22293 return 0;
22295 _ACEOF
22296 if ac_fn_cxx_try_compile "$LINENO"; then :
22297 glibcxx_cv_func__isnanf_use=yes
22298 else
22299 glibcxx_cv_func__isnanf_use=no
22301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22302 ac_ext=c
22303 ac_cpp='$CPP $CPPFLAGS'
22304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22313 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22315 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22316 for ac_func in _isnanf
22317 do :
22318 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22319 if test "x$ac_cv_func__isnanf" = x""yes; then :
22320 cat >>confdefs.h <<_ACEOF
22321 #define HAVE__ISNANF 1
22322 _ACEOF
22325 done
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22335 $as_echo_n "checking for isinff declaration... " >&6; }
22336 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22337 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22338 $as_echo_n "(cached) " >&6
22339 else
22342 ac_ext=cpp
22343 ac_cpp='$CXXCPP $CPPFLAGS'
22344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22349 /* end confdefs.h. */
22350 #include <math.h>
22351 #ifdef HAVE_IEEEFP_H
22352 #include <ieeefp.h>
22353 #endif
22356 main ()
22358 isinff(0);
22360 return 0;
22362 _ACEOF
22363 if ac_fn_cxx_try_compile "$LINENO"; then :
22364 glibcxx_cv_func_isinff_use=yes
22365 else
22366 glibcxx_cv_func_isinff_use=no
22368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22369 ac_ext=c
22370 ac_cpp='$CPP $CPPFLAGS'
22371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22380 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22382 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22383 for ac_func in isinff
22384 do :
22385 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22386 if test "x$ac_cv_func_isinff" = x""yes; then :
22387 cat >>confdefs.h <<_ACEOF
22388 #define HAVE_ISINFF 1
22389 _ACEOF
22392 done
22394 else
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22397 $as_echo_n "checking for _isinff declaration... " >&6; }
22398 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22399 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22400 $as_echo_n "(cached) " >&6
22401 else
22404 ac_ext=cpp
22405 ac_cpp='$CXXCPP $CPPFLAGS'
22406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22411 /* end confdefs.h. */
22412 #include <math.h>
22413 #ifdef HAVE_IEEEFP_H
22414 #include <ieeefp.h>
22415 #endif
22418 main ()
22420 _isinff(0);
22422 return 0;
22424 _ACEOF
22425 if ac_fn_cxx_try_compile "$LINENO"; then :
22426 glibcxx_cv_func__isinff_use=yes
22427 else
22428 glibcxx_cv_func__isinff_use=no
22430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22431 ac_ext=c
22432 ac_cpp='$CPP $CPPFLAGS'
22433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22442 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22444 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22445 for ac_func in _isinff
22446 do :
22447 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22448 if test "x$ac_cv_func__isinff" = x""yes; then :
22449 cat >>confdefs.h <<_ACEOF
22450 #define HAVE__ISINFF 1
22451 _ACEOF
22454 done
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22464 $as_echo_n "checking for atan2f declaration... " >&6; }
22465 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22466 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22467 $as_echo_n "(cached) " >&6
22468 else
22471 ac_ext=cpp
22472 ac_cpp='$CXXCPP $CPPFLAGS'
22473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22478 /* end confdefs.h. */
22479 #include <math.h>
22481 main ()
22483 atan2f(0, 0);
22485 return 0;
22487 _ACEOF
22488 if ac_fn_cxx_try_compile "$LINENO"; then :
22489 glibcxx_cv_func_atan2f_use=yes
22490 else
22491 glibcxx_cv_func_atan2f_use=no
22493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22494 ac_ext=c
22495 ac_cpp='$CPP $CPPFLAGS'
22496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22505 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22507 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22508 for ac_func in atan2f
22509 do :
22510 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22511 if test "x$ac_cv_func_atan2f" = x""yes; then :
22512 cat >>confdefs.h <<_ACEOF
22513 #define HAVE_ATAN2F 1
22514 _ACEOF
22517 done
22519 else
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22522 $as_echo_n "checking for _atan2f declaration... " >&6; }
22523 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22524 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22525 $as_echo_n "(cached) " >&6
22526 else
22529 ac_ext=cpp
22530 ac_cpp='$CXXCPP $CPPFLAGS'
22531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22536 /* end confdefs.h. */
22537 #include <math.h>
22539 main ()
22541 _atan2f(0, 0);
22543 return 0;
22545 _ACEOF
22546 if ac_fn_cxx_try_compile "$LINENO"; then :
22547 glibcxx_cv_func__atan2f_use=yes
22548 else
22549 glibcxx_cv_func__atan2f_use=no
22551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22552 ac_ext=c
22553 ac_cpp='$CPP $CPPFLAGS'
22554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22563 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22565 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22566 for ac_func in _atan2f
22567 do :
22568 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22569 if test "x$ac_cv_func__atan2f" = x""yes; then :
22570 cat >>confdefs.h <<_ACEOF
22571 #define HAVE__ATAN2F 1
22572 _ACEOF
22575 done
22584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22585 $as_echo_n "checking for fabsf declaration... " >&6; }
22586 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22587 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22588 $as_echo_n "(cached) " >&6
22589 else
22592 ac_ext=cpp
22593 ac_cpp='$CXXCPP $CPPFLAGS'
22594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22599 /* end confdefs.h. */
22600 #include <math.h>
22601 #ifdef HAVE_IEEEFP_H
22602 #include <ieeefp.h>
22603 #endif
22606 main ()
22608 fabsf(0);
22610 return 0;
22612 _ACEOF
22613 if ac_fn_cxx_try_compile "$LINENO"; then :
22614 glibcxx_cv_func_fabsf_use=yes
22615 else
22616 glibcxx_cv_func_fabsf_use=no
22618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22619 ac_ext=c
22620 ac_cpp='$CPP $CPPFLAGS'
22621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22630 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22632 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22633 for ac_func in fabsf
22634 do :
22635 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22636 if test "x$ac_cv_func_fabsf" = x""yes; then :
22637 cat >>confdefs.h <<_ACEOF
22638 #define HAVE_FABSF 1
22639 _ACEOF
22642 done
22644 else
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22647 $as_echo_n "checking for _fabsf declaration... " >&6; }
22648 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22649 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22650 $as_echo_n "(cached) " >&6
22651 else
22654 ac_ext=cpp
22655 ac_cpp='$CXXCPP $CPPFLAGS'
22656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22661 /* end confdefs.h. */
22662 #include <math.h>
22663 #ifdef HAVE_IEEEFP_H
22664 #include <ieeefp.h>
22665 #endif
22668 main ()
22670 _fabsf(0);
22672 return 0;
22674 _ACEOF
22675 if ac_fn_cxx_try_compile "$LINENO"; then :
22676 glibcxx_cv_func__fabsf_use=yes
22677 else
22678 glibcxx_cv_func__fabsf_use=no
22680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681 ac_ext=c
22682 ac_cpp='$CPP $CPPFLAGS'
22683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22692 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22694 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22695 for ac_func in _fabsf
22696 do :
22697 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22698 if test "x$ac_cv_func__fabsf" = x""yes; then :
22699 cat >>confdefs.h <<_ACEOF
22700 #define HAVE__FABSF 1
22701 _ACEOF
22704 done
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22714 $as_echo_n "checking for fmodf declaration... " >&6; }
22715 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22716 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22717 $as_echo_n "(cached) " >&6
22718 else
22721 ac_ext=cpp
22722 ac_cpp='$CXXCPP $CPPFLAGS'
22723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22728 /* end confdefs.h. */
22729 #include <math.h>
22731 main ()
22733 fmodf(0, 0);
22735 return 0;
22737 _ACEOF
22738 if ac_fn_cxx_try_compile "$LINENO"; then :
22739 glibcxx_cv_func_fmodf_use=yes
22740 else
22741 glibcxx_cv_func_fmodf_use=no
22743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22744 ac_ext=c
22745 ac_cpp='$CPP $CPPFLAGS'
22746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22755 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22757 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22758 for ac_func in fmodf
22759 do :
22760 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22761 if test "x$ac_cv_func_fmodf" = x""yes; then :
22762 cat >>confdefs.h <<_ACEOF
22763 #define HAVE_FMODF 1
22764 _ACEOF
22767 done
22769 else
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22772 $as_echo_n "checking for _fmodf declaration... " >&6; }
22773 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22774 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22775 $as_echo_n "(cached) " >&6
22776 else
22779 ac_ext=cpp
22780 ac_cpp='$CXXCPP $CPPFLAGS'
22781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h. */
22787 #include <math.h>
22789 main ()
22791 _fmodf(0, 0);
22793 return 0;
22795 _ACEOF
22796 if ac_fn_cxx_try_compile "$LINENO"; then :
22797 glibcxx_cv_func__fmodf_use=yes
22798 else
22799 glibcxx_cv_func__fmodf_use=no
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22802 ac_ext=c
22803 ac_cpp='$CPP $CPPFLAGS'
22804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22813 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22815 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22816 for ac_func in _fmodf
22817 do :
22818 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22819 if test "x$ac_cv_func__fmodf" = x""yes; then :
22820 cat >>confdefs.h <<_ACEOF
22821 #define HAVE__FMODF 1
22822 _ACEOF
22825 done
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22835 $as_echo_n "checking for frexpf declaration... " >&6; }
22836 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22837 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22838 $as_echo_n "(cached) " >&6
22839 else
22842 ac_ext=cpp
22843 ac_cpp='$CXXCPP $CPPFLAGS'
22844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22849 /* end confdefs.h. */
22850 #include <math.h>
22852 main ()
22854 frexpf(0, 0);
22856 return 0;
22858 _ACEOF
22859 if ac_fn_cxx_try_compile "$LINENO"; then :
22860 glibcxx_cv_func_frexpf_use=yes
22861 else
22862 glibcxx_cv_func_frexpf_use=no
22864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22865 ac_ext=c
22866 ac_cpp='$CPP $CPPFLAGS'
22867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22876 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22878 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22879 for ac_func in frexpf
22880 do :
22881 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22882 if test "x$ac_cv_func_frexpf" = x""yes; then :
22883 cat >>confdefs.h <<_ACEOF
22884 #define HAVE_FREXPF 1
22885 _ACEOF
22888 done
22890 else
22892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22893 $as_echo_n "checking for _frexpf declaration... " >&6; }
22894 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22895 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22896 $as_echo_n "(cached) " >&6
22897 else
22900 ac_ext=cpp
22901 ac_cpp='$CXXCPP $CPPFLAGS'
22902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22907 /* end confdefs.h. */
22908 #include <math.h>
22910 main ()
22912 _frexpf(0, 0);
22914 return 0;
22916 _ACEOF
22917 if ac_fn_cxx_try_compile "$LINENO"; then :
22918 glibcxx_cv_func__frexpf_use=yes
22919 else
22920 glibcxx_cv_func__frexpf_use=no
22922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22923 ac_ext=c
22924 ac_cpp='$CPP $CPPFLAGS'
22925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22934 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22936 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22937 for ac_func in _frexpf
22938 do :
22939 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22940 if test "x$ac_cv_func__frexpf" = x""yes; then :
22941 cat >>confdefs.h <<_ACEOF
22942 #define HAVE__FREXPF 1
22943 _ACEOF
22946 done
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22956 $as_echo_n "checking for hypotf declaration... " >&6; }
22957 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22958 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22959 $as_echo_n "(cached) " >&6
22960 else
22963 ac_ext=cpp
22964 ac_cpp='$CXXCPP $CPPFLAGS'
22965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22970 /* end confdefs.h. */
22971 #include <math.h>
22973 main ()
22975 hypotf(0, 0);
22977 return 0;
22979 _ACEOF
22980 if ac_fn_cxx_try_compile "$LINENO"; then :
22981 glibcxx_cv_func_hypotf_use=yes
22982 else
22983 glibcxx_cv_func_hypotf_use=no
22985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22986 ac_ext=c
22987 ac_cpp='$CPP $CPPFLAGS'
22988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22997 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22999 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23000 for ac_func in hypotf
23001 do :
23002 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23003 if test "x$ac_cv_func_hypotf" = x""yes; then :
23004 cat >>confdefs.h <<_ACEOF
23005 #define HAVE_HYPOTF 1
23006 _ACEOF
23009 done
23011 else
23013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23014 $as_echo_n "checking for _hypotf declaration... " >&6; }
23015 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23016 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23017 $as_echo_n "(cached) " >&6
23018 else
23021 ac_ext=cpp
23022 ac_cpp='$CXXCPP $CPPFLAGS'
23023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23028 /* end confdefs.h. */
23029 #include <math.h>
23031 main ()
23033 _hypotf(0, 0);
23035 return 0;
23037 _ACEOF
23038 if ac_fn_cxx_try_compile "$LINENO"; then :
23039 glibcxx_cv_func__hypotf_use=yes
23040 else
23041 glibcxx_cv_func__hypotf_use=no
23043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23044 ac_ext=c
23045 ac_cpp='$CPP $CPPFLAGS'
23046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23055 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23057 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23058 for ac_func in _hypotf
23059 do :
23060 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23061 if test "x$ac_cv_func__hypotf" = x""yes; then :
23062 cat >>confdefs.h <<_ACEOF
23063 #define HAVE__HYPOTF 1
23064 _ACEOF
23067 done
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23077 $as_echo_n "checking for ldexpf declaration... " >&6; }
23078 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23079 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23080 $as_echo_n "(cached) " >&6
23081 else
23084 ac_ext=cpp
23085 ac_cpp='$CXXCPP $CPPFLAGS'
23086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23091 /* end confdefs.h. */
23092 #include <math.h>
23094 main ()
23096 ldexpf(0, 0);
23098 return 0;
23100 _ACEOF
23101 if ac_fn_cxx_try_compile "$LINENO"; then :
23102 glibcxx_cv_func_ldexpf_use=yes
23103 else
23104 glibcxx_cv_func_ldexpf_use=no
23106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23107 ac_ext=c
23108 ac_cpp='$CPP $CPPFLAGS'
23109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23118 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23120 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23121 for ac_func in ldexpf
23122 do :
23123 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23124 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23125 cat >>confdefs.h <<_ACEOF
23126 #define HAVE_LDEXPF 1
23127 _ACEOF
23130 done
23132 else
23134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23135 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23136 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23137 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23138 $as_echo_n "(cached) " >&6
23139 else
23142 ac_ext=cpp
23143 ac_cpp='$CXXCPP $CPPFLAGS'
23144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23149 /* end confdefs.h. */
23150 #include <math.h>
23152 main ()
23154 _ldexpf(0, 0);
23156 return 0;
23158 _ACEOF
23159 if ac_fn_cxx_try_compile "$LINENO"; then :
23160 glibcxx_cv_func__ldexpf_use=yes
23161 else
23162 glibcxx_cv_func__ldexpf_use=no
23164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23165 ac_ext=c
23166 ac_cpp='$CPP $CPPFLAGS'
23167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23176 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23178 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23179 for ac_func in _ldexpf
23180 do :
23181 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23182 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23183 cat >>confdefs.h <<_ACEOF
23184 #define HAVE__LDEXPF 1
23185 _ACEOF
23188 done
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23198 $as_echo_n "checking for logf declaration... " >&6; }
23199 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23200 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23201 $as_echo_n "(cached) " >&6
23202 else
23205 ac_ext=cpp
23206 ac_cpp='$CXXCPP $CPPFLAGS'
23207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23212 /* end confdefs.h. */
23213 #include <math.h>
23214 #ifdef HAVE_IEEEFP_H
23215 #include <ieeefp.h>
23216 #endif
23219 main ()
23221 logf(0);
23223 return 0;
23225 _ACEOF
23226 if ac_fn_cxx_try_compile "$LINENO"; then :
23227 glibcxx_cv_func_logf_use=yes
23228 else
23229 glibcxx_cv_func_logf_use=no
23231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23232 ac_ext=c
23233 ac_cpp='$CPP $CPPFLAGS'
23234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23243 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23245 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23246 for ac_func in logf
23247 do :
23248 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23249 if test "x$ac_cv_func_logf" = x""yes; then :
23250 cat >>confdefs.h <<_ACEOF
23251 #define HAVE_LOGF 1
23252 _ACEOF
23255 done
23257 else
23259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23260 $as_echo_n "checking for _logf declaration... " >&6; }
23261 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23262 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23263 $as_echo_n "(cached) " >&6
23264 else
23267 ac_ext=cpp
23268 ac_cpp='$CXXCPP $CPPFLAGS'
23269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23274 /* end confdefs.h. */
23275 #include <math.h>
23276 #ifdef HAVE_IEEEFP_H
23277 #include <ieeefp.h>
23278 #endif
23281 main ()
23283 _logf(0);
23285 return 0;
23287 _ACEOF
23288 if ac_fn_cxx_try_compile "$LINENO"; then :
23289 glibcxx_cv_func__logf_use=yes
23290 else
23291 glibcxx_cv_func__logf_use=no
23293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23294 ac_ext=c
23295 ac_cpp='$CPP $CPPFLAGS'
23296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23305 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23307 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23308 for ac_func in _logf
23309 do :
23310 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23311 if test "x$ac_cv_func__logf" = x""yes; then :
23312 cat >>confdefs.h <<_ACEOF
23313 #define HAVE__LOGF 1
23314 _ACEOF
23317 done
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23327 $as_echo_n "checking for log10f declaration... " >&6; }
23328 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23329 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23330 $as_echo_n "(cached) " >&6
23331 else
23334 ac_ext=cpp
23335 ac_cpp='$CXXCPP $CPPFLAGS'
23336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23341 /* end confdefs.h. */
23342 #include <math.h>
23343 #ifdef HAVE_IEEEFP_H
23344 #include <ieeefp.h>
23345 #endif
23348 main ()
23350 log10f(0);
23352 return 0;
23354 _ACEOF
23355 if ac_fn_cxx_try_compile "$LINENO"; then :
23356 glibcxx_cv_func_log10f_use=yes
23357 else
23358 glibcxx_cv_func_log10f_use=no
23360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23361 ac_ext=c
23362 ac_cpp='$CPP $CPPFLAGS'
23363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23372 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23374 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23375 for ac_func in log10f
23376 do :
23377 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23378 if test "x$ac_cv_func_log10f" = x""yes; then :
23379 cat >>confdefs.h <<_ACEOF
23380 #define HAVE_LOG10F 1
23381 _ACEOF
23384 done
23386 else
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23389 $as_echo_n "checking for _log10f declaration... " >&6; }
23390 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23391 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23392 $as_echo_n "(cached) " >&6
23393 else
23396 ac_ext=cpp
23397 ac_cpp='$CXXCPP $CPPFLAGS'
23398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23403 /* end confdefs.h. */
23404 #include <math.h>
23405 #ifdef HAVE_IEEEFP_H
23406 #include <ieeefp.h>
23407 #endif
23410 main ()
23412 _log10f(0);
23414 return 0;
23416 _ACEOF
23417 if ac_fn_cxx_try_compile "$LINENO"; then :
23418 glibcxx_cv_func__log10f_use=yes
23419 else
23420 glibcxx_cv_func__log10f_use=no
23422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23423 ac_ext=c
23424 ac_cpp='$CPP $CPPFLAGS'
23425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23434 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23436 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23437 for ac_func in _log10f
23438 do :
23439 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23440 if test "x$ac_cv_func__log10f" = x""yes; then :
23441 cat >>confdefs.h <<_ACEOF
23442 #define HAVE__LOG10F 1
23443 _ACEOF
23446 done
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23456 $as_echo_n "checking for modff declaration... " >&6; }
23457 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23458 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23460 else
23463 ac_ext=cpp
23464 ac_cpp='$CXXCPP $CPPFLAGS'
23465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23470 /* end confdefs.h. */
23471 #include <math.h>
23473 main ()
23475 modff(0, 0);
23477 return 0;
23479 _ACEOF
23480 if ac_fn_cxx_try_compile "$LINENO"; then :
23481 glibcxx_cv_func_modff_use=yes
23482 else
23483 glibcxx_cv_func_modff_use=no
23485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23486 ac_ext=c
23487 ac_cpp='$CPP $CPPFLAGS'
23488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23497 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23499 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23500 for ac_func in modff
23501 do :
23502 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23503 if test "x$ac_cv_func_modff" = x""yes; then :
23504 cat >>confdefs.h <<_ACEOF
23505 #define HAVE_MODFF 1
23506 _ACEOF
23509 done
23511 else
23513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23514 $as_echo_n "checking for _modff declaration... " >&6; }
23515 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23516 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23517 $as_echo_n "(cached) " >&6
23518 else
23521 ac_ext=cpp
23522 ac_cpp='$CXXCPP $CPPFLAGS'
23523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23528 /* end confdefs.h. */
23529 #include <math.h>
23531 main ()
23533 _modff(0, 0);
23535 return 0;
23537 _ACEOF
23538 if ac_fn_cxx_try_compile "$LINENO"; then :
23539 glibcxx_cv_func__modff_use=yes
23540 else
23541 glibcxx_cv_func__modff_use=no
23543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23544 ac_ext=c
23545 ac_cpp='$CPP $CPPFLAGS'
23546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23555 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23557 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23558 for ac_func in _modff
23559 do :
23560 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23561 if test "x$ac_cv_func__modff" = x""yes; then :
23562 cat >>confdefs.h <<_ACEOF
23563 #define HAVE__MODFF 1
23564 _ACEOF
23567 done
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23577 $as_echo_n "checking for modf declaration... " >&6; }
23578 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23579 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23580 $as_echo_n "(cached) " >&6
23581 else
23584 ac_ext=cpp
23585 ac_cpp='$CXXCPP $CPPFLAGS'
23586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23591 /* end confdefs.h. */
23592 #include <math.h>
23594 main ()
23596 modf(0, 0);
23598 return 0;
23600 _ACEOF
23601 if ac_fn_cxx_try_compile "$LINENO"; then :
23602 glibcxx_cv_func_modf_use=yes
23603 else
23604 glibcxx_cv_func_modf_use=no
23606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23607 ac_ext=c
23608 ac_cpp='$CPP $CPPFLAGS'
23609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23618 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23620 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23621 for ac_func in modf
23622 do :
23623 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23624 if test "x$ac_cv_func_modf" = x""yes; then :
23625 cat >>confdefs.h <<_ACEOF
23626 #define HAVE_MODF 1
23627 _ACEOF
23630 done
23632 else
23634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23635 $as_echo_n "checking for _modf declaration... " >&6; }
23636 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23637 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23638 $as_echo_n "(cached) " >&6
23639 else
23642 ac_ext=cpp
23643 ac_cpp='$CXXCPP $CPPFLAGS'
23644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23649 /* end confdefs.h. */
23650 #include <math.h>
23652 main ()
23654 _modf(0, 0);
23656 return 0;
23658 _ACEOF
23659 if ac_fn_cxx_try_compile "$LINENO"; then :
23660 glibcxx_cv_func__modf_use=yes
23661 else
23662 glibcxx_cv_func__modf_use=no
23664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23665 ac_ext=c
23666 ac_cpp='$CPP $CPPFLAGS'
23667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23676 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23678 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23679 for ac_func in _modf
23680 do :
23681 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23682 if test "x$ac_cv_func__modf" = x""yes; then :
23683 cat >>confdefs.h <<_ACEOF
23684 #define HAVE__MODF 1
23685 _ACEOF
23688 done
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23698 $as_echo_n "checking for powf declaration... " >&6; }
23699 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23700 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23701 $as_echo_n "(cached) " >&6
23702 else
23705 ac_ext=cpp
23706 ac_cpp='$CXXCPP $CPPFLAGS'
23707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23712 /* end confdefs.h. */
23713 #include <math.h>
23715 main ()
23717 powf(0, 0);
23719 return 0;
23721 _ACEOF
23722 if ac_fn_cxx_try_compile "$LINENO"; then :
23723 glibcxx_cv_func_powf_use=yes
23724 else
23725 glibcxx_cv_func_powf_use=no
23727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23728 ac_ext=c
23729 ac_cpp='$CPP $CPPFLAGS'
23730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23739 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23741 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23742 for ac_func in powf
23743 do :
23744 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23745 if test "x$ac_cv_func_powf" = x""yes; then :
23746 cat >>confdefs.h <<_ACEOF
23747 #define HAVE_POWF 1
23748 _ACEOF
23751 done
23753 else
23755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23756 $as_echo_n "checking for _powf declaration... " >&6; }
23757 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23758 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23759 $as_echo_n "(cached) " >&6
23760 else
23763 ac_ext=cpp
23764 ac_cpp='$CXXCPP $CPPFLAGS'
23765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23770 /* end confdefs.h. */
23771 #include <math.h>
23773 main ()
23775 _powf(0, 0);
23777 return 0;
23779 _ACEOF
23780 if ac_fn_cxx_try_compile "$LINENO"; then :
23781 glibcxx_cv_func__powf_use=yes
23782 else
23783 glibcxx_cv_func__powf_use=no
23785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23786 ac_ext=c
23787 ac_cpp='$CPP $CPPFLAGS'
23788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23797 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23799 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23800 for ac_func in _powf
23801 do :
23802 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23803 if test "x$ac_cv_func__powf" = x""yes; then :
23804 cat >>confdefs.h <<_ACEOF
23805 #define HAVE__POWF 1
23806 _ACEOF
23809 done
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23819 $as_echo_n "checking for sqrtf declaration... " >&6; }
23820 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23821 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23822 $as_echo_n "(cached) " >&6
23823 else
23826 ac_ext=cpp
23827 ac_cpp='$CXXCPP $CPPFLAGS'
23828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23833 /* end confdefs.h. */
23834 #include <math.h>
23835 #ifdef HAVE_IEEEFP_H
23836 #include <ieeefp.h>
23837 #endif
23840 main ()
23842 sqrtf(0);
23844 return 0;
23846 _ACEOF
23847 if ac_fn_cxx_try_compile "$LINENO"; then :
23848 glibcxx_cv_func_sqrtf_use=yes
23849 else
23850 glibcxx_cv_func_sqrtf_use=no
23852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23853 ac_ext=c
23854 ac_cpp='$CPP $CPPFLAGS'
23855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23864 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23866 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23867 for ac_func in sqrtf
23868 do :
23869 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23870 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23871 cat >>confdefs.h <<_ACEOF
23872 #define HAVE_SQRTF 1
23873 _ACEOF
23876 done
23878 else
23880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23881 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23882 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23883 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23884 $as_echo_n "(cached) " >&6
23885 else
23888 ac_ext=cpp
23889 ac_cpp='$CXXCPP $CPPFLAGS'
23890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23895 /* end confdefs.h. */
23896 #include <math.h>
23897 #ifdef HAVE_IEEEFP_H
23898 #include <ieeefp.h>
23899 #endif
23902 main ()
23904 _sqrtf(0);
23906 return 0;
23908 _ACEOF
23909 if ac_fn_cxx_try_compile "$LINENO"; then :
23910 glibcxx_cv_func__sqrtf_use=yes
23911 else
23912 glibcxx_cv_func__sqrtf_use=no
23914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23915 ac_ext=c
23916 ac_cpp='$CPP $CPPFLAGS'
23917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23926 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23928 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23929 for ac_func in _sqrtf
23930 do :
23931 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23932 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23933 cat >>confdefs.h <<_ACEOF
23934 #define HAVE__SQRTF 1
23935 _ACEOF
23938 done
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23948 $as_echo_n "checking for sincosf declaration... " >&6; }
23949 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23950 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23951 $as_echo_n "(cached) " >&6
23952 else
23955 ac_ext=cpp
23956 ac_cpp='$CXXCPP $CPPFLAGS'
23957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23962 /* end confdefs.h. */
23963 #include <math.h>
23965 main ()
23967 sincosf(0, 0, 0);
23969 return 0;
23971 _ACEOF
23972 if ac_fn_cxx_try_compile "$LINENO"; then :
23973 glibcxx_cv_func_sincosf_use=yes
23974 else
23975 glibcxx_cv_func_sincosf_use=no
23977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23978 ac_ext=c
23979 ac_cpp='$CPP $CPPFLAGS'
23980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23989 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23991 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23992 for ac_func in sincosf
23993 do :
23994 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23995 if test "x$ac_cv_func_sincosf" = x""yes; then :
23996 cat >>confdefs.h <<_ACEOF
23997 #define HAVE_SINCOSF 1
23998 _ACEOF
24001 done
24003 else
24005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24006 $as_echo_n "checking for _sincosf declaration... " >&6; }
24007 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24008 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24009 $as_echo_n "(cached) " >&6
24010 else
24013 ac_ext=cpp
24014 ac_cpp='$CXXCPP $CPPFLAGS'
24015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24020 /* end confdefs.h. */
24021 #include <math.h>
24023 main ()
24025 _sincosf(0, 0, 0);
24027 return 0;
24029 _ACEOF
24030 if ac_fn_cxx_try_compile "$LINENO"; then :
24031 glibcxx_cv_func__sincosf_use=yes
24032 else
24033 glibcxx_cv_func__sincosf_use=no
24035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24036 ac_ext=c
24037 ac_cpp='$CPP $CPPFLAGS'
24038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24047 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24049 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24050 for ac_func in _sincosf
24051 do :
24052 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24053 if test "x$ac_cv_func__sincosf" = x""yes; then :
24054 cat >>confdefs.h <<_ACEOF
24055 #define HAVE__SINCOSF 1
24056 _ACEOF
24059 done
24068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24069 $as_echo_n "checking for finitef declaration... " >&6; }
24070 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24071 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24072 $as_echo_n "(cached) " >&6
24073 else
24076 ac_ext=cpp
24077 ac_cpp='$CXXCPP $CPPFLAGS'
24078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24083 /* end confdefs.h. */
24084 #include <math.h>
24085 #ifdef HAVE_IEEEFP_H
24086 #include <ieeefp.h>
24087 #endif
24090 main ()
24092 finitef(0);
24094 return 0;
24096 _ACEOF
24097 if ac_fn_cxx_try_compile "$LINENO"; then :
24098 glibcxx_cv_func_finitef_use=yes
24099 else
24100 glibcxx_cv_func_finitef_use=no
24102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24103 ac_ext=c
24104 ac_cpp='$CPP $CPPFLAGS'
24105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24114 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24116 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24117 for ac_func in finitef
24118 do :
24119 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24120 if test "x$ac_cv_func_finitef" = x""yes; then :
24121 cat >>confdefs.h <<_ACEOF
24122 #define HAVE_FINITEF 1
24123 _ACEOF
24126 done
24128 else
24130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24131 $as_echo_n "checking for _finitef declaration... " >&6; }
24132 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24133 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24134 $as_echo_n "(cached) " >&6
24135 else
24138 ac_ext=cpp
24139 ac_cpp='$CXXCPP $CPPFLAGS'
24140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24145 /* end confdefs.h. */
24146 #include <math.h>
24147 #ifdef HAVE_IEEEFP_H
24148 #include <ieeefp.h>
24149 #endif
24152 main ()
24154 _finitef(0);
24156 return 0;
24158 _ACEOF
24159 if ac_fn_cxx_try_compile "$LINENO"; then :
24160 glibcxx_cv_func__finitef_use=yes
24161 else
24162 glibcxx_cv_func__finitef_use=no
24164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24165 ac_ext=c
24166 ac_cpp='$CPP $CPPFLAGS'
24167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24176 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24178 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24179 for ac_func in _finitef
24180 do :
24181 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24182 if test "x$ac_cv_func__finitef" = x""yes; then :
24183 cat >>confdefs.h <<_ACEOF
24184 #define HAVE__FINITEF 1
24185 _ACEOF
24188 done
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24198 $as_echo_n "checking for long double trig functions... " >&6; }
24199 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24200 $as_echo_n "(cached) " >&6
24201 else
24204 ac_ext=cpp
24205 ac_cpp='$CXXCPP $CPPFLAGS'
24206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24211 /* end confdefs.h. */
24212 #include <math.h>
24214 main ()
24216 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24218 return 0;
24220 _ACEOF
24221 if ac_fn_cxx_try_compile "$LINENO"; then :
24222 glibcxx_cv_func_long_double_trig_use=yes
24223 else
24224 glibcxx_cv_func_long_double_trig_use=no
24226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24227 ac_ext=c
24228 ac_cpp='$CPP $CPPFLAGS'
24229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24236 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24237 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24238 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24239 do :
24240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24242 eval as_val=\$$as_ac_var
24243 if test "x$as_val" = x""yes; then :
24244 cat >>confdefs.h <<_ACEOF
24245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24246 _ACEOF
24249 done
24251 else
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24253 $as_echo_n "checking for _long double trig functions... " >&6; }
24254 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24255 $as_echo_n "(cached) " >&6
24256 else
24259 ac_ext=cpp
24260 ac_cpp='$CXXCPP $CPPFLAGS'
24261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24266 /* end confdefs.h. */
24267 #include <math.h>
24269 main ()
24271 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24273 return 0;
24275 _ACEOF
24276 if ac_fn_cxx_try_compile "$LINENO"; then :
24277 glibcxx_cv_func__long_double_trig_use=yes
24278 else
24279 glibcxx_cv_func__long_double_trig_use=no
24281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24282 ac_ext=c
24283 ac_cpp='$CPP $CPPFLAGS'
24284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24291 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24292 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24293 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24294 do :
24295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24297 eval as_val=\$$as_ac_var
24298 if test "x$as_val" = x""yes; then :
24299 cat >>confdefs.h <<_ACEOF
24300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24301 _ACEOF
24304 done
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24314 $as_echo_n "checking for long double round functions... " >&6; }
24315 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24316 $as_echo_n "(cached) " >&6
24317 else
24320 ac_ext=cpp
24321 ac_cpp='$CXXCPP $CPPFLAGS'
24322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24327 /* end confdefs.h. */
24328 #include <math.h>
24330 main ()
24332 ceill (0); floorl (0);
24334 return 0;
24336 _ACEOF
24337 if ac_fn_cxx_try_compile "$LINENO"; then :
24338 glibcxx_cv_func_long_double_round_use=yes
24339 else
24340 glibcxx_cv_func_long_double_round_use=no
24342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24343 ac_ext=c
24344 ac_cpp='$CPP $CPPFLAGS'
24345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24352 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24353 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24354 for ac_func in ceill floorl
24355 do :
24356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24358 eval as_val=\$$as_ac_var
24359 if test "x$as_val" = x""yes; then :
24360 cat >>confdefs.h <<_ACEOF
24361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24362 _ACEOF
24365 done
24367 else
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24369 $as_echo_n "checking for _long double round functions... " >&6; }
24370 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24371 $as_echo_n "(cached) " >&6
24372 else
24375 ac_ext=cpp
24376 ac_cpp='$CXXCPP $CPPFLAGS'
24377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24382 /* end confdefs.h. */
24383 #include <math.h>
24385 main ()
24387 _ceill (0); _floorl (0);
24389 return 0;
24391 _ACEOF
24392 if ac_fn_cxx_try_compile "$LINENO"; then :
24393 glibcxx_cv_func__long_double_round_use=yes
24394 else
24395 glibcxx_cv_func__long_double_round_use=no
24397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24398 ac_ext=c
24399 ac_cpp='$CPP $CPPFLAGS'
24400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24407 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24408 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24409 for ac_func in _ceill _floorl
24410 do :
24411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24413 eval as_val=\$$as_ac_var
24414 if test "x$as_val" = x""yes; then :
24415 cat >>confdefs.h <<_ACEOF
24416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24417 _ACEOF
24420 done
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24431 $as_echo_n "checking for isnanl declaration... " >&6; }
24432 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24433 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24434 $as_echo_n "(cached) " >&6
24435 else
24438 ac_ext=cpp
24439 ac_cpp='$CXXCPP $CPPFLAGS'
24440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24445 /* end confdefs.h. */
24446 #include <math.h>
24447 #ifdef HAVE_IEEEFP_H
24448 #include <ieeefp.h>
24449 #endif
24452 main ()
24454 isnanl(0);
24456 return 0;
24458 _ACEOF
24459 if ac_fn_cxx_try_compile "$LINENO"; then :
24460 glibcxx_cv_func_isnanl_use=yes
24461 else
24462 glibcxx_cv_func_isnanl_use=no
24464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24465 ac_ext=c
24466 ac_cpp='$CPP $CPPFLAGS'
24467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24476 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24478 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24479 for ac_func in isnanl
24480 do :
24481 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24482 if test "x$ac_cv_func_isnanl" = x""yes; then :
24483 cat >>confdefs.h <<_ACEOF
24484 #define HAVE_ISNANL 1
24485 _ACEOF
24488 done
24490 else
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24493 $as_echo_n "checking for _isnanl declaration... " >&6; }
24494 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24495 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24496 $as_echo_n "(cached) " >&6
24497 else
24500 ac_ext=cpp
24501 ac_cpp='$CXXCPP $CPPFLAGS'
24502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24507 /* end confdefs.h. */
24508 #include <math.h>
24509 #ifdef HAVE_IEEEFP_H
24510 #include <ieeefp.h>
24511 #endif
24514 main ()
24516 _isnanl(0);
24518 return 0;
24520 _ACEOF
24521 if ac_fn_cxx_try_compile "$LINENO"; then :
24522 glibcxx_cv_func__isnanl_use=yes
24523 else
24524 glibcxx_cv_func__isnanl_use=no
24526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24527 ac_ext=c
24528 ac_cpp='$CPP $CPPFLAGS'
24529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24538 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24540 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24541 for ac_func in _isnanl
24542 do :
24543 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24544 if test "x$ac_cv_func__isnanl" = x""yes; then :
24545 cat >>confdefs.h <<_ACEOF
24546 #define HAVE__ISNANL 1
24547 _ACEOF
24550 done
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24560 $as_echo_n "checking for isinfl declaration... " >&6; }
24561 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24562 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24563 $as_echo_n "(cached) " >&6
24564 else
24567 ac_ext=cpp
24568 ac_cpp='$CXXCPP $CPPFLAGS'
24569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24574 /* end confdefs.h. */
24575 #include <math.h>
24576 #ifdef HAVE_IEEEFP_H
24577 #include <ieeefp.h>
24578 #endif
24581 main ()
24583 isinfl(0);
24585 return 0;
24587 _ACEOF
24588 if ac_fn_cxx_try_compile "$LINENO"; then :
24589 glibcxx_cv_func_isinfl_use=yes
24590 else
24591 glibcxx_cv_func_isinfl_use=no
24593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24594 ac_ext=c
24595 ac_cpp='$CPP $CPPFLAGS'
24596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24605 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24607 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24608 for ac_func in isinfl
24609 do :
24610 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24611 if test "x$ac_cv_func_isinfl" = x""yes; then :
24612 cat >>confdefs.h <<_ACEOF
24613 #define HAVE_ISINFL 1
24614 _ACEOF
24617 done
24619 else
24621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24622 $as_echo_n "checking for _isinfl declaration... " >&6; }
24623 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24624 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24625 $as_echo_n "(cached) " >&6
24626 else
24629 ac_ext=cpp
24630 ac_cpp='$CXXCPP $CPPFLAGS'
24631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24636 /* end confdefs.h. */
24637 #include <math.h>
24638 #ifdef HAVE_IEEEFP_H
24639 #include <ieeefp.h>
24640 #endif
24643 main ()
24645 _isinfl(0);
24647 return 0;
24649 _ACEOF
24650 if ac_fn_cxx_try_compile "$LINENO"; then :
24651 glibcxx_cv_func__isinfl_use=yes
24652 else
24653 glibcxx_cv_func__isinfl_use=no
24655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24656 ac_ext=c
24657 ac_cpp='$CPP $CPPFLAGS'
24658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24667 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24669 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24670 for ac_func in _isinfl
24671 do :
24672 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24673 if test "x$ac_cv_func__isinfl" = x""yes; then :
24674 cat >>confdefs.h <<_ACEOF
24675 #define HAVE__ISINFL 1
24676 _ACEOF
24679 done
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24689 $as_echo_n "checking for atan2l declaration... " >&6; }
24690 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24691 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24692 $as_echo_n "(cached) " >&6
24693 else
24696 ac_ext=cpp
24697 ac_cpp='$CXXCPP $CPPFLAGS'
24698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24703 /* end confdefs.h. */
24704 #include <math.h>
24706 main ()
24708 atan2l(0, 0);
24710 return 0;
24712 _ACEOF
24713 if ac_fn_cxx_try_compile "$LINENO"; then :
24714 glibcxx_cv_func_atan2l_use=yes
24715 else
24716 glibcxx_cv_func_atan2l_use=no
24718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24719 ac_ext=c
24720 ac_cpp='$CPP $CPPFLAGS'
24721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24730 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24732 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24733 for ac_func in atan2l
24734 do :
24735 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24736 if test "x$ac_cv_func_atan2l" = x""yes; then :
24737 cat >>confdefs.h <<_ACEOF
24738 #define HAVE_ATAN2L 1
24739 _ACEOF
24742 done
24744 else
24746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24747 $as_echo_n "checking for _atan2l declaration... " >&6; }
24748 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24749 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24750 $as_echo_n "(cached) " >&6
24751 else
24754 ac_ext=cpp
24755 ac_cpp='$CXXCPP $CPPFLAGS'
24756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24761 /* end confdefs.h. */
24762 #include <math.h>
24764 main ()
24766 _atan2l(0, 0);
24768 return 0;
24770 _ACEOF
24771 if ac_fn_cxx_try_compile "$LINENO"; then :
24772 glibcxx_cv_func__atan2l_use=yes
24773 else
24774 glibcxx_cv_func__atan2l_use=no
24776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24777 ac_ext=c
24778 ac_cpp='$CPP $CPPFLAGS'
24779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24788 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24790 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24791 for ac_func in _atan2l
24792 do :
24793 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24794 if test "x$ac_cv_func__atan2l" = x""yes; then :
24795 cat >>confdefs.h <<_ACEOF
24796 #define HAVE__ATAN2L 1
24797 _ACEOF
24800 done
24809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24810 $as_echo_n "checking for expl declaration... " >&6; }
24811 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24812 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24813 $as_echo_n "(cached) " >&6
24814 else
24817 ac_ext=cpp
24818 ac_cpp='$CXXCPP $CPPFLAGS'
24819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24824 /* end confdefs.h. */
24825 #include <math.h>
24826 #ifdef HAVE_IEEEFP_H
24827 #include <ieeefp.h>
24828 #endif
24831 main ()
24833 expl(0);
24835 return 0;
24837 _ACEOF
24838 if ac_fn_cxx_try_compile "$LINENO"; then :
24839 glibcxx_cv_func_expl_use=yes
24840 else
24841 glibcxx_cv_func_expl_use=no
24843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24844 ac_ext=c
24845 ac_cpp='$CPP $CPPFLAGS'
24846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24855 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24857 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24858 for ac_func in expl
24859 do :
24860 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24861 if test "x$ac_cv_func_expl" = x""yes; then :
24862 cat >>confdefs.h <<_ACEOF
24863 #define HAVE_EXPL 1
24864 _ACEOF
24867 done
24869 else
24871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24872 $as_echo_n "checking for _expl declaration... " >&6; }
24873 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24874 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24875 $as_echo_n "(cached) " >&6
24876 else
24879 ac_ext=cpp
24880 ac_cpp='$CXXCPP $CPPFLAGS'
24881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24886 /* end confdefs.h. */
24887 #include <math.h>
24888 #ifdef HAVE_IEEEFP_H
24889 #include <ieeefp.h>
24890 #endif
24893 main ()
24895 _expl(0);
24897 return 0;
24899 _ACEOF
24900 if ac_fn_cxx_try_compile "$LINENO"; then :
24901 glibcxx_cv_func__expl_use=yes
24902 else
24903 glibcxx_cv_func__expl_use=no
24905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24906 ac_ext=c
24907 ac_cpp='$CPP $CPPFLAGS'
24908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24917 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24919 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24920 for ac_func in _expl
24921 do :
24922 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24923 if test "x$ac_cv_func__expl" = x""yes; then :
24924 cat >>confdefs.h <<_ACEOF
24925 #define HAVE__EXPL 1
24926 _ACEOF
24929 done
24938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24939 $as_echo_n "checking for fabsl declaration... " >&6; }
24940 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24941 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24942 $as_echo_n "(cached) " >&6
24943 else
24946 ac_ext=cpp
24947 ac_cpp='$CXXCPP $CPPFLAGS'
24948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24953 /* end confdefs.h. */
24954 #include <math.h>
24955 #ifdef HAVE_IEEEFP_H
24956 #include <ieeefp.h>
24957 #endif
24960 main ()
24962 fabsl(0);
24964 return 0;
24966 _ACEOF
24967 if ac_fn_cxx_try_compile "$LINENO"; then :
24968 glibcxx_cv_func_fabsl_use=yes
24969 else
24970 glibcxx_cv_func_fabsl_use=no
24972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24973 ac_ext=c
24974 ac_cpp='$CPP $CPPFLAGS'
24975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24984 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24986 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24987 for ac_func in fabsl
24988 do :
24989 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24990 if test "x$ac_cv_func_fabsl" = x""yes; then :
24991 cat >>confdefs.h <<_ACEOF
24992 #define HAVE_FABSL 1
24993 _ACEOF
24996 done
24998 else
25000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25001 $as_echo_n "checking for _fabsl declaration... " >&6; }
25002 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25003 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25004 $as_echo_n "(cached) " >&6
25005 else
25008 ac_ext=cpp
25009 ac_cpp='$CXXCPP $CPPFLAGS'
25010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25015 /* end confdefs.h. */
25016 #include <math.h>
25017 #ifdef HAVE_IEEEFP_H
25018 #include <ieeefp.h>
25019 #endif
25022 main ()
25024 _fabsl(0);
25026 return 0;
25028 _ACEOF
25029 if ac_fn_cxx_try_compile "$LINENO"; then :
25030 glibcxx_cv_func__fabsl_use=yes
25031 else
25032 glibcxx_cv_func__fabsl_use=no
25034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25035 ac_ext=c
25036 ac_cpp='$CPP $CPPFLAGS'
25037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25046 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25048 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25049 for ac_func in _fabsl
25050 do :
25051 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25052 if test "x$ac_cv_func__fabsl" = x""yes; then :
25053 cat >>confdefs.h <<_ACEOF
25054 #define HAVE__FABSL 1
25055 _ACEOF
25058 done
25067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25068 $as_echo_n "checking for fmodl declaration... " >&6; }
25069 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25070 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25071 $as_echo_n "(cached) " >&6
25072 else
25075 ac_ext=cpp
25076 ac_cpp='$CXXCPP $CPPFLAGS'
25077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25082 /* end confdefs.h. */
25083 #include <math.h>
25085 main ()
25087 fmodl(0, 0);
25089 return 0;
25091 _ACEOF
25092 if ac_fn_cxx_try_compile "$LINENO"; then :
25093 glibcxx_cv_func_fmodl_use=yes
25094 else
25095 glibcxx_cv_func_fmodl_use=no
25097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25098 ac_ext=c
25099 ac_cpp='$CPP $CPPFLAGS'
25100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25109 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25111 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25112 for ac_func in fmodl
25113 do :
25114 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25115 if test "x$ac_cv_func_fmodl" = x""yes; then :
25116 cat >>confdefs.h <<_ACEOF
25117 #define HAVE_FMODL 1
25118 _ACEOF
25121 done
25123 else
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25126 $as_echo_n "checking for _fmodl declaration... " >&6; }
25127 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25128 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25129 $as_echo_n "(cached) " >&6
25130 else
25133 ac_ext=cpp
25134 ac_cpp='$CXXCPP $CPPFLAGS'
25135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25140 /* end confdefs.h. */
25141 #include <math.h>
25143 main ()
25145 _fmodl(0, 0);
25147 return 0;
25149 _ACEOF
25150 if ac_fn_cxx_try_compile "$LINENO"; then :
25151 glibcxx_cv_func__fmodl_use=yes
25152 else
25153 glibcxx_cv_func__fmodl_use=no
25155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25156 ac_ext=c
25157 ac_cpp='$CPP $CPPFLAGS'
25158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25167 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25169 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25170 for ac_func in _fmodl
25171 do :
25172 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25173 if test "x$ac_cv_func__fmodl" = x""yes; then :
25174 cat >>confdefs.h <<_ACEOF
25175 #define HAVE__FMODL 1
25176 _ACEOF
25179 done
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25189 $as_echo_n "checking for frexpl declaration... " >&6; }
25190 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25191 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25192 $as_echo_n "(cached) " >&6
25193 else
25196 ac_ext=cpp
25197 ac_cpp='$CXXCPP $CPPFLAGS'
25198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25203 /* end confdefs.h. */
25204 #include <math.h>
25206 main ()
25208 frexpl(0, 0);
25210 return 0;
25212 _ACEOF
25213 if ac_fn_cxx_try_compile "$LINENO"; then :
25214 glibcxx_cv_func_frexpl_use=yes
25215 else
25216 glibcxx_cv_func_frexpl_use=no
25218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25219 ac_ext=c
25220 ac_cpp='$CPP $CPPFLAGS'
25221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25230 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25232 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25233 for ac_func in frexpl
25234 do :
25235 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25236 if test "x$ac_cv_func_frexpl" = x""yes; then :
25237 cat >>confdefs.h <<_ACEOF
25238 #define HAVE_FREXPL 1
25239 _ACEOF
25242 done
25244 else
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25247 $as_echo_n "checking for _frexpl declaration... " >&6; }
25248 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25249 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25250 $as_echo_n "(cached) " >&6
25251 else
25254 ac_ext=cpp
25255 ac_cpp='$CXXCPP $CPPFLAGS'
25256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h. */
25262 #include <math.h>
25264 main ()
25266 _frexpl(0, 0);
25268 return 0;
25270 _ACEOF
25271 if ac_fn_cxx_try_compile "$LINENO"; then :
25272 glibcxx_cv_func__frexpl_use=yes
25273 else
25274 glibcxx_cv_func__frexpl_use=no
25276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25277 ac_ext=c
25278 ac_cpp='$CPP $CPPFLAGS'
25279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25288 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25290 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25291 for ac_func in _frexpl
25292 do :
25293 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25294 if test "x$ac_cv_func__frexpl" = x""yes; then :
25295 cat >>confdefs.h <<_ACEOF
25296 #define HAVE__FREXPL 1
25297 _ACEOF
25300 done
25309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25310 $as_echo_n "checking for hypotl declaration... " >&6; }
25311 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25312 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25313 $as_echo_n "(cached) " >&6
25314 else
25317 ac_ext=cpp
25318 ac_cpp='$CXXCPP $CPPFLAGS'
25319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25324 /* end confdefs.h. */
25325 #include <math.h>
25327 main ()
25329 hypotl(0, 0);
25331 return 0;
25333 _ACEOF
25334 if ac_fn_cxx_try_compile "$LINENO"; then :
25335 glibcxx_cv_func_hypotl_use=yes
25336 else
25337 glibcxx_cv_func_hypotl_use=no
25339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25340 ac_ext=c
25341 ac_cpp='$CPP $CPPFLAGS'
25342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25351 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25353 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25354 for ac_func in hypotl
25355 do :
25356 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25357 if test "x$ac_cv_func_hypotl" = x""yes; then :
25358 cat >>confdefs.h <<_ACEOF
25359 #define HAVE_HYPOTL 1
25360 _ACEOF
25363 done
25365 else
25367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25368 $as_echo_n "checking for _hypotl declaration... " >&6; }
25369 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25370 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25371 $as_echo_n "(cached) " >&6
25372 else
25375 ac_ext=cpp
25376 ac_cpp='$CXXCPP $CPPFLAGS'
25377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25382 /* end confdefs.h. */
25383 #include <math.h>
25385 main ()
25387 _hypotl(0, 0);
25389 return 0;
25391 _ACEOF
25392 if ac_fn_cxx_try_compile "$LINENO"; then :
25393 glibcxx_cv_func__hypotl_use=yes
25394 else
25395 glibcxx_cv_func__hypotl_use=no
25397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25398 ac_ext=c
25399 ac_cpp='$CPP $CPPFLAGS'
25400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25409 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25411 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25412 for ac_func in _hypotl
25413 do :
25414 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25415 if test "x$ac_cv_func__hypotl" = x""yes; then :
25416 cat >>confdefs.h <<_ACEOF
25417 #define HAVE__HYPOTL 1
25418 _ACEOF
25421 done
25430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25431 $as_echo_n "checking for ldexpl declaration... " >&6; }
25432 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25433 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25434 $as_echo_n "(cached) " >&6
25435 else
25438 ac_ext=cpp
25439 ac_cpp='$CXXCPP $CPPFLAGS'
25440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25445 /* end confdefs.h. */
25446 #include <math.h>
25448 main ()
25450 ldexpl(0, 0);
25452 return 0;
25454 _ACEOF
25455 if ac_fn_cxx_try_compile "$LINENO"; then :
25456 glibcxx_cv_func_ldexpl_use=yes
25457 else
25458 glibcxx_cv_func_ldexpl_use=no
25460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25461 ac_ext=c
25462 ac_cpp='$CPP $CPPFLAGS'
25463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25472 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25474 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25475 for ac_func in ldexpl
25476 do :
25477 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25478 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25479 cat >>confdefs.h <<_ACEOF
25480 #define HAVE_LDEXPL 1
25481 _ACEOF
25484 done
25486 else
25488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25489 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25490 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25491 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25492 $as_echo_n "(cached) " >&6
25493 else
25496 ac_ext=cpp
25497 ac_cpp='$CXXCPP $CPPFLAGS'
25498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25503 /* end confdefs.h. */
25504 #include <math.h>
25506 main ()
25508 _ldexpl(0, 0);
25510 return 0;
25512 _ACEOF
25513 if ac_fn_cxx_try_compile "$LINENO"; then :
25514 glibcxx_cv_func__ldexpl_use=yes
25515 else
25516 glibcxx_cv_func__ldexpl_use=no
25518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25519 ac_ext=c
25520 ac_cpp='$CPP $CPPFLAGS'
25521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25530 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25532 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25533 for ac_func in _ldexpl
25534 do :
25535 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25536 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25537 cat >>confdefs.h <<_ACEOF
25538 #define HAVE__LDEXPL 1
25539 _ACEOF
25542 done
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25552 $as_echo_n "checking for logl declaration... " >&6; }
25553 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25554 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25555 $as_echo_n "(cached) " >&6
25556 else
25559 ac_ext=cpp
25560 ac_cpp='$CXXCPP $CPPFLAGS'
25561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25566 /* end confdefs.h. */
25567 #include <math.h>
25568 #ifdef HAVE_IEEEFP_H
25569 #include <ieeefp.h>
25570 #endif
25573 main ()
25575 logl(0);
25577 return 0;
25579 _ACEOF
25580 if ac_fn_cxx_try_compile "$LINENO"; then :
25581 glibcxx_cv_func_logl_use=yes
25582 else
25583 glibcxx_cv_func_logl_use=no
25585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25586 ac_ext=c
25587 ac_cpp='$CPP $CPPFLAGS'
25588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25597 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25599 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25600 for ac_func in logl
25601 do :
25602 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25603 if test "x$ac_cv_func_logl" = x""yes; then :
25604 cat >>confdefs.h <<_ACEOF
25605 #define HAVE_LOGL 1
25606 _ACEOF
25609 done
25611 else
25613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25614 $as_echo_n "checking for _logl declaration... " >&6; }
25615 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25616 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25617 $as_echo_n "(cached) " >&6
25618 else
25621 ac_ext=cpp
25622 ac_cpp='$CXXCPP $CPPFLAGS'
25623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25628 /* end confdefs.h. */
25629 #include <math.h>
25630 #ifdef HAVE_IEEEFP_H
25631 #include <ieeefp.h>
25632 #endif
25635 main ()
25637 _logl(0);
25639 return 0;
25641 _ACEOF
25642 if ac_fn_cxx_try_compile "$LINENO"; then :
25643 glibcxx_cv_func__logl_use=yes
25644 else
25645 glibcxx_cv_func__logl_use=no
25647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25648 ac_ext=c
25649 ac_cpp='$CPP $CPPFLAGS'
25650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25659 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25661 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25662 for ac_func in _logl
25663 do :
25664 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25665 if test "x$ac_cv_func__logl" = x""yes; then :
25666 cat >>confdefs.h <<_ACEOF
25667 #define HAVE__LOGL 1
25668 _ACEOF
25671 done
25680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25681 $as_echo_n "checking for log10l declaration... " >&6; }
25682 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25683 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25684 $as_echo_n "(cached) " >&6
25685 else
25688 ac_ext=cpp
25689 ac_cpp='$CXXCPP $CPPFLAGS'
25690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25695 /* end confdefs.h. */
25696 #include <math.h>
25697 #ifdef HAVE_IEEEFP_H
25698 #include <ieeefp.h>
25699 #endif
25702 main ()
25704 log10l(0);
25706 return 0;
25708 _ACEOF
25709 if ac_fn_cxx_try_compile "$LINENO"; then :
25710 glibcxx_cv_func_log10l_use=yes
25711 else
25712 glibcxx_cv_func_log10l_use=no
25714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25715 ac_ext=c
25716 ac_cpp='$CPP $CPPFLAGS'
25717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25726 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25728 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25729 for ac_func in log10l
25730 do :
25731 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25732 if test "x$ac_cv_func_log10l" = x""yes; then :
25733 cat >>confdefs.h <<_ACEOF
25734 #define HAVE_LOG10L 1
25735 _ACEOF
25738 done
25740 else
25742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25743 $as_echo_n "checking for _log10l declaration... " >&6; }
25744 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25745 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25746 $as_echo_n "(cached) " >&6
25747 else
25750 ac_ext=cpp
25751 ac_cpp='$CXXCPP $CPPFLAGS'
25752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25757 /* end confdefs.h. */
25758 #include <math.h>
25759 #ifdef HAVE_IEEEFP_H
25760 #include <ieeefp.h>
25761 #endif
25764 main ()
25766 _log10l(0);
25768 return 0;
25770 _ACEOF
25771 if ac_fn_cxx_try_compile "$LINENO"; then :
25772 glibcxx_cv_func__log10l_use=yes
25773 else
25774 glibcxx_cv_func__log10l_use=no
25776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25777 ac_ext=c
25778 ac_cpp='$CPP $CPPFLAGS'
25779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25788 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25790 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25791 for ac_func in _log10l
25792 do :
25793 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25794 if test "x$ac_cv_func__log10l" = x""yes; then :
25795 cat >>confdefs.h <<_ACEOF
25796 #define HAVE__LOG10L 1
25797 _ACEOF
25800 done
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25810 $as_echo_n "checking for modfl declaration... " >&6; }
25811 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25812 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25813 $as_echo_n "(cached) " >&6
25814 else
25817 ac_ext=cpp
25818 ac_cpp='$CXXCPP $CPPFLAGS'
25819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25824 /* end confdefs.h. */
25825 #include <math.h>
25827 main ()
25829 modfl(0, 0);
25831 return 0;
25833 _ACEOF
25834 if ac_fn_cxx_try_compile "$LINENO"; then :
25835 glibcxx_cv_func_modfl_use=yes
25836 else
25837 glibcxx_cv_func_modfl_use=no
25839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25840 ac_ext=c
25841 ac_cpp='$CPP $CPPFLAGS'
25842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25851 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25853 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25854 for ac_func in modfl
25855 do :
25856 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25857 if test "x$ac_cv_func_modfl" = x""yes; then :
25858 cat >>confdefs.h <<_ACEOF
25859 #define HAVE_MODFL 1
25860 _ACEOF
25863 done
25865 else
25867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25868 $as_echo_n "checking for _modfl declaration... " >&6; }
25869 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25870 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25871 $as_echo_n "(cached) " >&6
25872 else
25875 ac_ext=cpp
25876 ac_cpp='$CXXCPP $CPPFLAGS'
25877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25882 /* end confdefs.h. */
25883 #include <math.h>
25885 main ()
25887 _modfl(0, 0);
25889 return 0;
25891 _ACEOF
25892 if ac_fn_cxx_try_compile "$LINENO"; then :
25893 glibcxx_cv_func__modfl_use=yes
25894 else
25895 glibcxx_cv_func__modfl_use=no
25897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25898 ac_ext=c
25899 ac_cpp='$CPP $CPPFLAGS'
25900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25909 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25911 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25912 for ac_func in _modfl
25913 do :
25914 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25915 if test "x$ac_cv_func__modfl" = x""yes; then :
25916 cat >>confdefs.h <<_ACEOF
25917 #define HAVE__MODFL 1
25918 _ACEOF
25921 done
25930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25931 $as_echo_n "checking for powl declaration... " >&6; }
25932 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25933 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25934 $as_echo_n "(cached) " >&6
25935 else
25938 ac_ext=cpp
25939 ac_cpp='$CXXCPP $CPPFLAGS'
25940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25945 /* end confdefs.h. */
25946 #include <math.h>
25948 main ()
25950 powl(0, 0);
25952 return 0;
25954 _ACEOF
25955 if ac_fn_cxx_try_compile "$LINENO"; then :
25956 glibcxx_cv_func_powl_use=yes
25957 else
25958 glibcxx_cv_func_powl_use=no
25960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25961 ac_ext=c
25962 ac_cpp='$CPP $CPPFLAGS'
25963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25972 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25974 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25975 for ac_func in powl
25976 do :
25977 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25978 if test "x$ac_cv_func_powl" = x""yes; then :
25979 cat >>confdefs.h <<_ACEOF
25980 #define HAVE_POWL 1
25981 _ACEOF
25984 done
25986 else
25988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25989 $as_echo_n "checking for _powl declaration... " >&6; }
25990 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25991 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25992 $as_echo_n "(cached) " >&6
25993 else
25996 ac_ext=cpp
25997 ac_cpp='$CXXCPP $CPPFLAGS'
25998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26003 /* end confdefs.h. */
26004 #include <math.h>
26006 main ()
26008 _powl(0, 0);
26010 return 0;
26012 _ACEOF
26013 if ac_fn_cxx_try_compile "$LINENO"; then :
26014 glibcxx_cv_func__powl_use=yes
26015 else
26016 glibcxx_cv_func__powl_use=no
26018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26019 ac_ext=c
26020 ac_cpp='$CPP $CPPFLAGS'
26021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26030 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26032 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26033 for ac_func in _powl
26034 do :
26035 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26036 if test "x$ac_cv_func__powl" = x""yes; then :
26037 cat >>confdefs.h <<_ACEOF
26038 #define HAVE__POWL 1
26039 _ACEOF
26042 done
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26052 $as_echo_n "checking for sqrtl declaration... " >&6; }
26053 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26054 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26055 $as_echo_n "(cached) " >&6
26056 else
26059 ac_ext=cpp
26060 ac_cpp='$CXXCPP $CPPFLAGS'
26061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26066 /* end confdefs.h. */
26067 #include <math.h>
26068 #ifdef HAVE_IEEEFP_H
26069 #include <ieeefp.h>
26070 #endif
26073 main ()
26075 sqrtl(0);
26077 return 0;
26079 _ACEOF
26080 if ac_fn_cxx_try_compile "$LINENO"; then :
26081 glibcxx_cv_func_sqrtl_use=yes
26082 else
26083 glibcxx_cv_func_sqrtl_use=no
26085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26086 ac_ext=c
26087 ac_cpp='$CPP $CPPFLAGS'
26088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26097 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26099 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26100 for ac_func in sqrtl
26101 do :
26102 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26103 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26104 cat >>confdefs.h <<_ACEOF
26105 #define HAVE_SQRTL 1
26106 _ACEOF
26109 done
26111 else
26113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26114 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26115 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26116 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26117 $as_echo_n "(cached) " >&6
26118 else
26121 ac_ext=cpp
26122 ac_cpp='$CXXCPP $CPPFLAGS'
26123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26128 /* end confdefs.h. */
26129 #include <math.h>
26130 #ifdef HAVE_IEEEFP_H
26131 #include <ieeefp.h>
26132 #endif
26135 main ()
26137 _sqrtl(0);
26139 return 0;
26141 _ACEOF
26142 if ac_fn_cxx_try_compile "$LINENO"; then :
26143 glibcxx_cv_func__sqrtl_use=yes
26144 else
26145 glibcxx_cv_func__sqrtl_use=no
26147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26148 ac_ext=c
26149 ac_cpp='$CPP $CPPFLAGS'
26150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26159 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26161 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26162 for ac_func in _sqrtl
26163 do :
26164 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26165 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26166 cat >>confdefs.h <<_ACEOF
26167 #define HAVE__SQRTL 1
26168 _ACEOF
26171 done
26180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26181 $as_echo_n "checking for sincosl declaration... " >&6; }
26182 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26183 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26184 $as_echo_n "(cached) " >&6
26185 else
26188 ac_ext=cpp
26189 ac_cpp='$CXXCPP $CPPFLAGS'
26190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26195 /* end confdefs.h. */
26196 #include <math.h>
26198 main ()
26200 sincosl(0, 0, 0);
26202 return 0;
26204 _ACEOF
26205 if ac_fn_cxx_try_compile "$LINENO"; then :
26206 glibcxx_cv_func_sincosl_use=yes
26207 else
26208 glibcxx_cv_func_sincosl_use=no
26210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26211 ac_ext=c
26212 ac_cpp='$CPP $CPPFLAGS'
26213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26222 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26224 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26225 for ac_func in sincosl
26226 do :
26227 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26228 if test "x$ac_cv_func_sincosl" = x""yes; then :
26229 cat >>confdefs.h <<_ACEOF
26230 #define HAVE_SINCOSL 1
26231 _ACEOF
26234 done
26236 else
26238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26239 $as_echo_n "checking for _sincosl declaration... " >&6; }
26240 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26241 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26242 $as_echo_n "(cached) " >&6
26243 else
26246 ac_ext=cpp
26247 ac_cpp='$CXXCPP $CPPFLAGS'
26248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26253 /* end confdefs.h. */
26254 #include <math.h>
26256 main ()
26258 _sincosl(0, 0, 0);
26260 return 0;
26262 _ACEOF
26263 if ac_fn_cxx_try_compile "$LINENO"; then :
26264 glibcxx_cv_func__sincosl_use=yes
26265 else
26266 glibcxx_cv_func__sincosl_use=no
26268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26269 ac_ext=c
26270 ac_cpp='$CPP $CPPFLAGS'
26271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26280 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26282 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26283 for ac_func in _sincosl
26284 do :
26285 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26286 if test "x$ac_cv_func__sincosl" = x""yes; then :
26287 cat >>confdefs.h <<_ACEOF
26288 #define HAVE__SINCOSL 1
26289 _ACEOF
26292 done
26301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26302 $as_echo_n "checking for finitel declaration... " >&6; }
26303 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26304 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26305 $as_echo_n "(cached) " >&6
26306 else
26309 ac_ext=cpp
26310 ac_cpp='$CXXCPP $CPPFLAGS'
26311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26316 /* end confdefs.h. */
26317 #include <math.h>
26318 #ifdef HAVE_IEEEFP_H
26319 #include <ieeefp.h>
26320 #endif
26323 main ()
26325 finitel(0);
26327 return 0;
26329 _ACEOF
26330 if ac_fn_cxx_try_compile "$LINENO"; then :
26331 glibcxx_cv_func_finitel_use=yes
26332 else
26333 glibcxx_cv_func_finitel_use=no
26335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26336 ac_ext=c
26337 ac_cpp='$CPP $CPPFLAGS'
26338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26347 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26349 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26350 for ac_func in finitel
26351 do :
26352 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26353 if test "x$ac_cv_func_finitel" = x""yes; then :
26354 cat >>confdefs.h <<_ACEOF
26355 #define HAVE_FINITEL 1
26356 _ACEOF
26359 done
26361 else
26363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26364 $as_echo_n "checking for _finitel declaration... " >&6; }
26365 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26366 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26367 $as_echo_n "(cached) " >&6
26368 else
26371 ac_ext=cpp
26372 ac_cpp='$CXXCPP $CPPFLAGS'
26373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26378 /* end confdefs.h. */
26379 #include <math.h>
26380 #ifdef HAVE_IEEEFP_H
26381 #include <ieeefp.h>
26382 #endif
26385 main ()
26387 _finitel(0);
26389 return 0;
26391 _ACEOF
26392 if ac_fn_cxx_try_compile "$LINENO"; then :
26393 glibcxx_cv_func__finitel_use=yes
26394 else
26395 glibcxx_cv_func__finitel_use=no
26397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26398 ac_ext=c
26399 ac_cpp='$CPP $CPPFLAGS'
26400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26409 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26411 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26412 for ac_func in _finitel
26413 do :
26414 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26415 if test "x$ac_cv_func__finitel" = x""yes; then :
26416 cat >>confdefs.h <<_ACEOF
26417 #define HAVE__FINITEL 1
26418 _ACEOF
26421 done
26429 LIBS="$ac_save_LIBS"
26430 CXXFLAGS="$ac_save_CXXFLAGS"
26433 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26434 ac_save_CXXFLAGS="$CXXFLAGS"
26435 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26439 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26440 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26441 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26442 $as_echo_n "(cached) " >&6
26443 else
26446 ac_ext=cpp
26447 ac_cpp='$CXXCPP $CPPFLAGS'
26448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26453 /* end confdefs.h. */
26454 #include <stdlib.h>
26456 main ()
26458 at_quick_exit(0);
26460 return 0;
26462 _ACEOF
26463 if ac_fn_cxx_try_compile "$LINENO"; then :
26464 glibcxx_cv_func_at_quick_exit_use=yes
26465 else
26466 glibcxx_cv_func_at_quick_exit_use=no
26468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26469 ac_ext=c
26470 ac_cpp='$CPP $CPPFLAGS'
26471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26480 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26481 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26482 for ac_func in at_quick_exit
26483 do :
26484 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26485 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26486 cat >>confdefs.h <<_ACEOF
26487 #define HAVE_AT_QUICK_EXIT 1
26488 _ACEOF
26491 done
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26497 $as_echo_n "checking for quick_exit declaration... " >&6; }
26498 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26499 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26500 $as_echo_n "(cached) " >&6
26501 else
26504 ac_ext=cpp
26505 ac_cpp='$CXXCPP $CPPFLAGS'
26506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26511 /* end confdefs.h. */
26512 #include <stdlib.h>
26514 main ()
26516 quick_exit(0);
26518 return 0;
26520 _ACEOF
26521 if ac_fn_cxx_try_compile "$LINENO"; then :
26522 glibcxx_cv_func_quick_exit_use=yes
26523 else
26524 glibcxx_cv_func_quick_exit_use=no
26526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26527 ac_ext=c
26528 ac_cpp='$CPP $CPPFLAGS'
26529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26538 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26539 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26540 for ac_func in quick_exit
26541 do :
26542 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26543 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26544 cat >>confdefs.h <<_ACEOF
26545 #define HAVE_QUICK_EXIT 1
26546 _ACEOF
26549 done
26554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26555 $as_echo_n "checking for strtold declaration... " >&6; }
26556 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26557 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26558 $as_echo_n "(cached) " >&6
26559 else
26562 ac_ext=cpp
26563 ac_cpp='$CXXCPP $CPPFLAGS'
26564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26569 /* end confdefs.h. */
26570 #include <stdlib.h>
26572 main ()
26574 strtold(0, 0);
26576 return 0;
26578 _ACEOF
26579 if ac_fn_cxx_try_compile "$LINENO"; then :
26580 glibcxx_cv_func_strtold_use=yes
26581 else
26582 glibcxx_cv_func_strtold_use=no
26584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26585 ac_ext=c
26586 ac_cpp='$CPP $CPPFLAGS'
26587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26596 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26597 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26598 for ac_func in strtold
26599 do :
26600 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26601 if test "x$ac_cv_func_strtold" = x""yes; then :
26602 cat >>confdefs.h <<_ACEOF
26603 #define HAVE_STRTOLD 1
26604 _ACEOF
26607 done
26614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26615 $as_echo_n "checking for strtof declaration... " >&6; }
26616 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26617 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26618 $as_echo_n "(cached) " >&6
26619 else
26622 ac_ext=cpp
26623 ac_cpp='$CXXCPP $CPPFLAGS'
26624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26629 /* end confdefs.h. */
26630 #include <stdlib.h>
26632 main ()
26634 strtof(0, 0);
26636 return 0;
26638 _ACEOF
26639 if ac_fn_cxx_try_compile "$LINENO"; then :
26640 glibcxx_cv_func_strtof_use=yes
26641 else
26642 glibcxx_cv_func_strtof_use=no
26644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26645 ac_ext=c
26646 ac_cpp='$CPP $CPPFLAGS'
26647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26656 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26657 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26658 for ac_func in strtof
26659 do :
26660 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26661 if test "x$ac_cv_func_strtof" = x""yes; then :
26662 cat >>confdefs.h <<_ACEOF
26663 #define HAVE_STRTOF 1
26664 _ACEOF
26667 done
26674 CXXFLAGS="$ac_save_CXXFLAGS"
26677 # For /dev/random and /dev/urandom for TR1.
26680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26681 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26682 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26683 $as_echo_n "(cached) " >&6
26684 else
26686 if test -r /dev/random && test -r /dev/urandom; then
26687 ## For MSys environment the test above is detect as false-positive
26688 ## on mingw-targets. So disable it explicit for them.
26689 case ${target_os} in
26690 *mingw*) glibcxx_cv_random_tr1=no ;;
26691 *) glibcxx_cv_random_tr1=yes ;;
26692 esac
26693 else
26694 glibcxx_cv_random_tr1=no;
26699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26700 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26702 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26704 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26710 # For TLS support.
26713 # Check whether --enable-tls was given.
26714 if test "${enable_tls+set}" = set; then :
26715 enableval=$enable_tls;
26716 case "$enableval" in
26717 yes|no) ;;
26718 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26719 esac
26721 else
26722 enable_tls=yes
26726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26727 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26728 if test "${gcc_cv_have_tls+set}" = set; then :
26729 $as_echo_n "(cached) " >&6
26730 else
26732 if test "$cross_compiling" = yes; then :
26733 if test x$gcc_no_link = xyes; then
26734 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26737 /* end confdefs.h. */
26738 __thread int a; int b; int main() { return a = b; }
26739 _ACEOF
26740 if ac_fn_c_try_link "$LINENO"; then :
26741 chktls_save_LDFLAGS="$LDFLAGS"
26742 case $host in
26743 *-*-linux*)
26744 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26746 esac
26747 chktls_save_CFLAGS="$CFLAGS"
26748 CFLAGS="-fPIC $CFLAGS"
26749 if test x$gcc_no_link = xyes; then
26750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26753 /* end confdefs.h. */
26754 int f() { return 0; }
26755 _ACEOF
26756 if ac_fn_c_try_link "$LINENO"; then :
26757 if test x$gcc_no_link = xyes; then
26758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26761 /* end confdefs.h. */
26762 __thread int a; int b; int f() { return a = b; }
26763 _ACEOF
26764 if ac_fn_c_try_link "$LINENO"; then :
26765 gcc_cv_have_tls=yes
26766 else
26767 gcc_cv_have_tls=no
26769 rm -f core conftest.err conftest.$ac_objext \
26770 conftest$ac_exeext conftest.$ac_ext
26771 else
26772 gcc_cv_have_tls=yes
26774 rm -f core conftest.err conftest.$ac_objext \
26775 conftest$ac_exeext conftest.$ac_ext
26776 CFLAGS="$chktls_save_CFLAGS"
26777 LDFLAGS="$chktls_save_LDFLAGS"
26778 else
26779 gcc_cv_have_tls=no
26781 rm -f core conftest.err conftest.$ac_objext \
26782 conftest$ac_exeext conftest.$ac_ext
26785 else
26786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26787 /* end confdefs.h. */
26788 __thread int a; int b; int main() { return a = b; }
26789 _ACEOF
26790 if ac_fn_c_try_run "$LINENO"; then :
26791 chktls_save_LDFLAGS="$LDFLAGS"
26792 LDFLAGS="-static $LDFLAGS"
26793 if test x$gcc_no_link = xyes; then
26794 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26797 /* end confdefs.h. */
26798 int main() { return 0; }
26799 _ACEOF
26800 if ac_fn_c_try_link "$LINENO"; then :
26801 if test "$cross_compiling" = yes; then :
26802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26804 as_fn_error "cannot run test program while cross compiling
26805 See \`config.log' for more details." "$LINENO" 5; }
26806 else
26807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26808 /* end confdefs.h. */
26809 __thread int a; int b; int main() { return a = b; }
26810 _ACEOF
26811 if ac_fn_c_try_run "$LINENO"; then :
26812 gcc_cv_have_tls=yes
26813 else
26814 gcc_cv_have_tls=no
26816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26817 conftest.$ac_objext conftest.beam conftest.$ac_ext
26820 else
26821 gcc_cv_have_tls=yes
26823 rm -f core conftest.err conftest.$ac_objext \
26824 conftest$ac_exeext conftest.$ac_ext
26825 LDFLAGS="$chktls_save_LDFLAGS"
26826 if test $gcc_cv_have_tls = yes; then
26827 chktls_save_CFLAGS="$CFLAGS"
26828 thread_CFLAGS=failed
26829 for flag in '' '-pthread' '-lpthread'; do
26830 CFLAGS="$flag $chktls_save_CFLAGS"
26831 if test x$gcc_no_link = xyes; then
26832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26835 /* end confdefs.h. */
26836 #include <pthread.h>
26837 void *g(void *d) { return NULL; }
26839 main ()
26841 pthread_t t; pthread_create(&t,NULL,g,NULL);
26843 return 0;
26845 _ACEOF
26846 if ac_fn_c_try_link "$LINENO"; then :
26847 thread_CFLAGS="$flag"
26849 rm -f core conftest.err conftest.$ac_objext \
26850 conftest$ac_exeext conftest.$ac_ext
26851 if test "X$thread_CFLAGS" != Xfailed; then
26852 break
26854 done
26855 CFLAGS="$chktls_save_CFLAGS"
26856 if test "X$thread_CFLAGS" != Xfailed; then
26857 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26858 if test "$cross_compiling" = yes; then :
26859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26861 as_fn_error "cannot run test program while cross compiling
26862 See \`config.log' for more details." "$LINENO" 5; }
26863 else
26864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26865 /* end confdefs.h. */
26866 #include <pthread.h>
26867 __thread int a;
26868 static int *volatile a_in_other_thread;
26869 static void *
26870 thread_func (void *arg)
26872 a_in_other_thread = &a;
26873 return (void *)0;
26876 main ()
26878 pthread_t thread;
26879 void *thread_retval;
26880 int *volatile a_in_main_thread;
26881 a_in_main_thread = &a;
26882 if (pthread_create (&thread, (pthread_attr_t *)0,
26883 thread_func, (void *)0))
26884 return 0;
26885 if (pthread_join (thread, &thread_retval))
26886 return 0;
26887 return (a_in_other_thread == a_in_main_thread);
26889 return 0;
26891 _ACEOF
26892 if ac_fn_c_try_run "$LINENO"; then :
26893 gcc_cv_have_tls=yes
26894 else
26895 gcc_cv_have_tls=no
26897 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26898 conftest.$ac_objext conftest.beam conftest.$ac_ext
26901 CFLAGS="$chktls_save_CFLAGS"
26904 else
26905 gcc_cv_have_tls=no
26907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26908 conftest.$ac_objext conftest.beam conftest.$ac_ext
26912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26913 $as_echo "$gcc_cv_have_tls" >&6; }
26914 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26916 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26920 for ac_func in __cxa_thread_atexit_impl
26921 do :
26922 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26923 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26924 cat >>confdefs.h <<_ACEOF
26925 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26926 _ACEOF
26929 done
26932 # For iconv support.
26934 if test "X$prefix" = "XNONE"; then
26935 acl_final_prefix="$ac_default_prefix"
26936 else
26937 acl_final_prefix="$prefix"
26939 if test "X$exec_prefix" = "XNONE"; then
26940 acl_final_exec_prefix='${prefix}'
26941 else
26942 acl_final_exec_prefix="$exec_prefix"
26944 acl_save_prefix="$prefix"
26945 prefix="$acl_final_prefix"
26946 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26947 prefix="$acl_save_prefix"
26950 # Check whether --with-gnu-ld was given.
26951 if test "${with_gnu_ld+set}" = set; then :
26952 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26953 else
26954 with_gnu_ld=no
26957 # Prepare PATH_SEPARATOR.
26958 # The user is always right.
26959 if test "${PATH_SEPARATOR+set}" != set; then
26960 echo "#! /bin/sh" >conf$$.sh
26961 echo "exit 0" >>conf$$.sh
26962 chmod +x conf$$.sh
26963 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26964 PATH_SEPARATOR=';'
26965 else
26966 PATH_SEPARATOR=:
26968 rm -f conf$$.sh
26970 ac_prog=ld
26971 if test "$GCC" = yes; then
26972 # Check if gcc -print-prog-name=ld gives a path.
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26974 $as_echo_n "checking for ld used by GCC... " >&6; }
26975 case $host in
26976 *-*-mingw*)
26977 # gcc leaves a trailing carriage return which upsets mingw
26978 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26980 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26981 esac
26982 case $ac_prog in
26983 # Accept absolute paths.
26984 [\\/]* | [A-Za-z]:[\\/]*)
26985 re_direlt='/[^/][^/]*/\.\./'
26986 # Canonicalize the path of ld
26987 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26988 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26989 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26990 done
26991 test -z "$LD" && LD="$ac_prog"
26994 # If it fails, then pretend we aren't using GCC.
26995 ac_prog=ld
26998 # If it is relative, then search for the first ld in PATH.
26999 with_gnu_ld=unknown
27001 esac
27002 elif test "$with_gnu_ld" = yes; then
27003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27004 $as_echo_n "checking for GNU ld... " >&6; }
27005 else
27006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27007 $as_echo_n "checking for non-GNU ld... " >&6; }
27009 if test "${acl_cv_path_LD+set}" = set; then :
27010 $as_echo_n "(cached) " >&6
27011 else
27012 if test -z "$LD"; then
27013 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27014 for ac_dir in $PATH; do
27015 test -z "$ac_dir" && ac_dir=.
27016 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27017 acl_cv_path_LD="$ac_dir/$ac_prog"
27018 # Check to see if the program is GNU ld. I'd rather use --version,
27019 # but apparently some GNU ld's only accept -v.
27020 # Break only if it was the GNU/non-GNU ld that we prefer.
27021 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27022 test "$with_gnu_ld" != no && break
27023 else
27024 test "$with_gnu_ld" != yes && break
27027 done
27028 IFS="$ac_save_ifs"
27029 else
27030 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27034 LD="$acl_cv_path_LD"
27035 if test -n "$LD"; then
27036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27037 $as_echo "$LD" >&6; }
27038 else
27039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27040 $as_echo "no" >&6; }
27042 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27044 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27045 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27046 $as_echo_n "(cached) " >&6
27047 else
27048 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27049 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27050 acl_cv_prog_gnu_ld=yes
27051 else
27052 acl_cv_prog_gnu_ld=no
27055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27056 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27057 with_gnu_ld=$acl_cv_prog_gnu_ld
27061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27062 $as_echo_n "checking for shared library run path origin... " >&6; }
27063 if test "${acl_cv_rpath+set}" = set; then :
27064 $as_echo_n "(cached) " >&6
27065 else
27067 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27068 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27069 . ./conftest.sh
27070 rm -f ./conftest.sh
27071 acl_cv_rpath=done
27074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27075 $as_echo "$acl_cv_rpath" >&6; }
27076 wl="$acl_cv_wl"
27077 libext="$acl_cv_libext"
27078 shlibext="$acl_cv_shlibext"
27079 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27080 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27081 hardcode_direct="$acl_cv_hardcode_direct"
27082 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27083 # Check whether --enable-rpath was given.
27084 if test "${enable_rpath+set}" = set; then :
27085 enableval=$enable_rpath; :
27086 else
27087 enable_rpath=yes
27097 use_additional=yes
27099 acl_save_prefix="$prefix"
27100 prefix="$acl_final_prefix"
27101 acl_save_exec_prefix="$exec_prefix"
27102 exec_prefix="$acl_final_exec_prefix"
27104 eval additional_includedir=\"$includedir\"
27105 eval additional_libdir=\"$libdir\"
27107 exec_prefix="$acl_save_exec_prefix"
27108 prefix="$acl_save_prefix"
27111 # Check whether --with-libiconv-prefix was given.
27112 if test "${with_libiconv_prefix+set}" = set; then :
27113 withval=$with_libiconv_prefix;
27114 if test "X$withval" = "Xno"; then
27115 use_additional=no
27116 else
27117 if test "X$withval" = "X"; then
27119 acl_save_prefix="$prefix"
27120 prefix="$acl_final_prefix"
27121 acl_save_exec_prefix="$exec_prefix"
27122 exec_prefix="$acl_final_exec_prefix"
27124 eval additional_includedir=\"$includedir\"
27125 eval additional_libdir=\"$libdir\"
27127 exec_prefix="$acl_save_exec_prefix"
27128 prefix="$acl_save_prefix"
27130 else
27131 additional_includedir="$withval/include"
27132 additional_libdir="$withval/lib"
27138 LIBICONV=
27139 LTLIBICONV=
27140 INCICONV=
27141 rpathdirs=
27142 ltrpathdirs=
27143 names_already_handled=
27144 names_next_round='iconv '
27145 while test -n "$names_next_round"; do
27146 names_this_round="$names_next_round"
27147 names_next_round=
27148 for name in $names_this_round; do
27149 already_handled=
27150 for n in $names_already_handled; do
27151 if test "$n" = "$name"; then
27152 already_handled=yes
27153 break
27155 done
27156 if test -z "$already_handled"; then
27157 names_already_handled="$names_already_handled $name"
27158 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27159 eval value=\"\$HAVE_LIB$uppername\"
27160 if test -n "$value"; then
27161 if test "$value" = yes; then
27162 eval value=\"\$LIB$uppername\"
27163 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27164 eval value=\"\$LTLIB$uppername\"
27165 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27166 else
27169 else
27170 found_dir=
27171 found_la=
27172 found_so=
27173 found_a=
27174 if test $use_additional = yes; then
27175 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27176 found_dir="$additional_libdir"
27177 found_so="$additional_libdir/lib$name.$shlibext"
27178 if test -f "$additional_libdir/lib$name.la"; then
27179 found_la="$additional_libdir/lib$name.la"
27181 else
27182 if test -f "$additional_libdir/lib$name.$libext"; then
27183 found_dir="$additional_libdir"
27184 found_a="$additional_libdir/lib$name.$libext"
27185 if test -f "$additional_libdir/lib$name.la"; then
27186 found_la="$additional_libdir/lib$name.la"
27191 if test "X$found_dir" = "X"; then
27192 for x in $LDFLAGS $LTLIBICONV; do
27194 acl_save_prefix="$prefix"
27195 prefix="$acl_final_prefix"
27196 acl_save_exec_prefix="$exec_prefix"
27197 exec_prefix="$acl_final_exec_prefix"
27198 eval x=\"$x\"
27199 exec_prefix="$acl_save_exec_prefix"
27200 prefix="$acl_save_prefix"
27202 case "$x" in
27203 -L*)
27204 dir=`echo "X$x" | sed -e 's/^X-L//'`
27205 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27206 found_dir="$dir"
27207 found_so="$dir/lib$name.$shlibext"
27208 if test -f "$dir/lib$name.la"; then
27209 found_la="$dir/lib$name.la"
27211 else
27212 if test -f "$dir/lib$name.$libext"; then
27213 found_dir="$dir"
27214 found_a="$dir/lib$name.$libext"
27215 if test -f "$dir/lib$name.la"; then
27216 found_la="$dir/lib$name.la"
27221 esac
27222 if test "X$found_dir" != "X"; then
27223 break
27225 done
27227 if test "X$found_dir" != "X"; then
27228 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27229 if test "X$found_so" != "X"; then
27230 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27231 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27232 else
27233 haveit=
27234 for x in $ltrpathdirs; do
27235 if test "X$x" = "X$found_dir"; then
27236 haveit=yes
27237 break
27239 done
27240 if test -z "$haveit"; then
27241 ltrpathdirs="$ltrpathdirs $found_dir"
27243 if test "$hardcode_direct" = yes; then
27244 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27245 else
27246 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27247 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27248 haveit=
27249 for x in $rpathdirs; do
27250 if test "X$x" = "X$found_dir"; then
27251 haveit=yes
27252 break
27254 done
27255 if test -z "$haveit"; then
27256 rpathdirs="$rpathdirs $found_dir"
27258 else
27259 haveit=
27260 for x in $LDFLAGS $LIBICONV; do
27262 acl_save_prefix="$prefix"
27263 prefix="$acl_final_prefix"
27264 acl_save_exec_prefix="$exec_prefix"
27265 exec_prefix="$acl_final_exec_prefix"
27266 eval x=\"$x\"
27267 exec_prefix="$acl_save_exec_prefix"
27268 prefix="$acl_save_prefix"
27270 if test "X$x" = "X-L$found_dir"; then
27271 haveit=yes
27272 break
27274 done
27275 if test -z "$haveit"; then
27276 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27278 if test "$hardcode_minus_L" != no; then
27279 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27280 else
27281 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27286 else
27287 if test "X$found_a" != "X"; then
27288 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27289 else
27290 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27293 additional_includedir=
27294 case "$found_dir" in
27295 */lib | */lib/)
27296 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27297 additional_includedir="$basedir/include"
27299 esac
27300 if test "X$additional_includedir" != "X"; then
27301 if test "X$additional_includedir" != "X/usr/include"; then
27302 haveit=
27303 if test "X$additional_includedir" = "X/usr/local/include"; then
27304 if test -n "$GCC"; then
27305 case $host_os in
27306 linux*) haveit=yes;;
27307 esac
27310 if test -z "$haveit"; then
27311 for x in $CPPFLAGS $INCICONV; do
27313 acl_save_prefix="$prefix"
27314 prefix="$acl_final_prefix"
27315 acl_save_exec_prefix="$exec_prefix"
27316 exec_prefix="$acl_final_exec_prefix"
27317 eval x=\"$x\"
27318 exec_prefix="$acl_save_exec_prefix"
27319 prefix="$acl_save_prefix"
27321 if test "X$x" = "X-I$additional_includedir"; then
27322 haveit=yes
27323 break
27325 done
27326 if test -z "$haveit"; then
27327 if test -d "$additional_includedir"; then
27328 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27334 if test -n "$found_la"; then
27335 save_libdir="$libdir"
27336 case "$found_la" in
27337 */* | *\\*) . "$found_la" ;;
27338 *) . "./$found_la" ;;
27339 esac
27340 libdir="$save_libdir"
27341 for dep in $dependency_libs; do
27342 case "$dep" in
27343 -L*)
27344 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27345 if test "X$additional_libdir" != "X/usr/lib"; then
27346 haveit=
27347 if test "X$additional_libdir" = "X/usr/local/lib"; then
27348 if test -n "$GCC"; then
27349 case $host_os in
27350 linux*) haveit=yes;;
27351 esac
27354 if test -z "$haveit"; then
27355 haveit=
27356 for x in $LDFLAGS $LIBICONV; do
27358 acl_save_prefix="$prefix"
27359 prefix="$acl_final_prefix"
27360 acl_save_exec_prefix="$exec_prefix"
27361 exec_prefix="$acl_final_exec_prefix"
27362 eval x=\"$x\"
27363 exec_prefix="$acl_save_exec_prefix"
27364 prefix="$acl_save_prefix"
27366 if test "X$x" = "X-L$additional_libdir"; then
27367 haveit=yes
27368 break
27370 done
27371 if test -z "$haveit"; then
27372 if test -d "$additional_libdir"; then
27373 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27376 haveit=
27377 for x in $LDFLAGS $LTLIBICONV; do
27379 acl_save_prefix="$prefix"
27380 prefix="$acl_final_prefix"
27381 acl_save_exec_prefix="$exec_prefix"
27382 exec_prefix="$acl_final_exec_prefix"
27383 eval x=\"$x\"
27384 exec_prefix="$acl_save_exec_prefix"
27385 prefix="$acl_save_prefix"
27387 if test "X$x" = "X-L$additional_libdir"; then
27388 haveit=yes
27389 break
27391 done
27392 if test -z "$haveit"; then
27393 if test -d "$additional_libdir"; then
27394 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27400 -R*)
27401 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27402 if test "$enable_rpath" != no; then
27403 haveit=
27404 for x in $rpathdirs; do
27405 if test "X$x" = "X$dir"; then
27406 haveit=yes
27407 break
27409 done
27410 if test -z "$haveit"; then
27411 rpathdirs="$rpathdirs $dir"
27413 haveit=
27414 for x in $ltrpathdirs; do
27415 if test "X$x" = "X$dir"; then
27416 haveit=yes
27417 break
27419 done
27420 if test -z "$haveit"; then
27421 ltrpathdirs="$ltrpathdirs $dir"
27425 -l*)
27426 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27428 *.la)
27429 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27432 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27433 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27435 esac
27436 done
27438 else
27439 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27440 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27444 done
27445 done
27446 if test "X$rpathdirs" != "X"; then
27447 if test -n "$hardcode_libdir_separator"; then
27448 alldirs=
27449 for found_dir in $rpathdirs; do
27450 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27451 done
27452 acl_save_libdir="$libdir"
27453 libdir="$alldirs"
27454 eval flag=\"$hardcode_libdir_flag_spec\"
27455 libdir="$acl_save_libdir"
27456 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27457 else
27458 for found_dir in $rpathdirs; do
27459 acl_save_libdir="$libdir"
27460 libdir="$found_dir"
27461 eval flag=\"$hardcode_libdir_flag_spec\"
27462 libdir="$acl_save_libdir"
27463 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27464 done
27467 if test "X$ltrpathdirs" != "X"; then
27468 for found_dir in $ltrpathdirs; do
27469 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27470 done
27479 am_save_CPPFLAGS="$CPPFLAGS"
27481 for element in $INCICONV; do
27482 haveit=
27483 for x in $CPPFLAGS; do
27485 acl_save_prefix="$prefix"
27486 prefix="$acl_final_prefix"
27487 acl_save_exec_prefix="$exec_prefix"
27488 exec_prefix="$acl_final_exec_prefix"
27489 eval x=\"$x\"
27490 exec_prefix="$acl_save_exec_prefix"
27491 prefix="$acl_save_prefix"
27493 if test "X$x" = "X$element"; then
27494 haveit=yes
27495 break
27497 done
27498 if test -z "$haveit"; then
27499 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27501 done
27504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27505 $as_echo_n "checking for iconv... " >&6; }
27506 if test "${am_cv_func_iconv+set}" = set; then :
27507 $as_echo_n "(cached) " >&6
27508 else
27510 am_cv_func_iconv="no, consider installing GNU libiconv"
27511 am_cv_lib_iconv=no
27512 if test x$gcc_no_link = xyes; then
27513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27516 /* end confdefs.h. */
27517 #include <stdlib.h>
27518 #include <iconv.h>
27520 main ()
27522 iconv_t cd = iconv_open("","");
27523 iconv(cd,NULL,NULL,NULL,NULL);
27524 iconv_close(cd);
27526 return 0;
27528 _ACEOF
27529 if ac_fn_c_try_link "$LINENO"; then :
27530 am_cv_func_iconv=yes
27532 rm -f core conftest.err conftest.$ac_objext \
27533 conftest$ac_exeext conftest.$ac_ext
27534 if test "$am_cv_func_iconv" != yes; then
27535 am_save_LIBS="$LIBS"
27536 LIBS="$LIBS $LIBICONV"
27537 if test x$gcc_no_link = xyes; then
27538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27541 /* end confdefs.h. */
27542 #include <stdlib.h>
27543 #include <iconv.h>
27545 main ()
27547 iconv_t cd = iconv_open("","");
27548 iconv(cd,NULL,NULL,NULL,NULL);
27549 iconv_close(cd);
27551 return 0;
27553 _ACEOF
27554 if ac_fn_c_try_link "$LINENO"; then :
27555 am_cv_lib_iconv=yes
27556 am_cv_func_iconv=yes
27558 rm -f core conftest.err conftest.$ac_objext \
27559 conftest$ac_exeext conftest.$ac_ext
27560 LIBS="$am_save_LIBS"
27564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27565 $as_echo "$am_cv_func_iconv" >&6; }
27566 if test "$am_cv_func_iconv" = yes; then
27568 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27571 if test "$am_cv_lib_iconv" = yes; then
27572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27573 $as_echo_n "checking how to link with libiconv... " >&6; }
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27575 $as_echo "$LIBICONV" >&6; }
27576 else
27577 CPPFLAGS="$am_save_CPPFLAGS"
27578 LIBICONV=
27579 LTLIBICONV=
27584 if test "$am_cv_func_iconv" = yes; then
27585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27586 $as_echo_n "checking for iconv declaration... " >&6; }
27587 if test "${am_cv_proto_iconv+set}" = set; then :
27588 $as_echo_n "(cached) " >&6
27589 else
27591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27592 /* end confdefs.h. */
27594 #include <stdlib.h>
27595 #include <iconv.h>
27596 extern
27597 #ifdef __cplusplus
27599 #endif
27600 #if defined(__STDC__) || defined(__cplusplus)
27601 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27602 #else
27603 size_t iconv();
27604 #endif
27607 main ()
27611 return 0;
27613 _ACEOF
27614 if ac_fn_c_try_compile "$LINENO"; then :
27615 am_cv_proto_iconv_arg1=""
27616 else
27617 am_cv_proto_iconv_arg1="const"
27619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27620 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);"
27623 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27625 }$am_cv_proto_iconv" >&5
27626 $as_echo "${ac_t:-
27627 }$am_cv_proto_iconv" >&6; }
27629 cat >>confdefs.h <<_ACEOF
27630 #define ICONV_CONST $am_cv_proto_iconv_arg1
27631 _ACEOF
27636 else
27638 # This lets us hard-code the functionality we know we'll have in the cross
27639 # target environment. "Let" is a sugar-coated word placed on an especially
27640 # dull and tedious hack, actually.
27642 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27643 # that involve linking, can't be used:
27644 # "cannot open sim-crt0.o"
27645 # "cannot open crt0.o"
27646 # etc. All this is because there currently exists no unified, consistent
27647 # way for top level CC information to be passed down to target directories:
27648 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27649 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27650 # crosses can be removed.
27652 # If Canadian cross, then don't pick up tools from the build directory.
27653 # Used only in GLIBCXX_EXPORT_INCLUDES.
27654 if test -n "$with_cross_host" &&
27655 test x"$build_alias" != x"$with_cross_host" &&
27656 test x"$build" != x"$target";
27657 then
27658 CANADIAN=yes
27659 else
27660 CANADIAN=no
27663 # Construct crosses by hand, eliminating bits that need ld...
27664 # GLIBCXX_CHECK_MATH_SUPPORT
27666 # First, test for "known" system libraries. We may be using newlib even
27667 # on a hosted environment.
27668 if test "x${with_newlib}" = "xyes"; then
27669 os_include_dir="os/newlib"
27670 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27673 # GLIBCXX_CHECK_STDLIB_SUPPORT
27674 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27677 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27679 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27681 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27683 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27685 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27687 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27689 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27691 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27693 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27695 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27697 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27699 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27701 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27703 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27705 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27707 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27709 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27711 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27713 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27715 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27717 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27719 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27722 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27724 else
27726 # Base decisions on target environment.
27727 case "${host}" in
27728 arm*-*-symbianelf*)
27729 # This is a freestanding configuration; there is nothing to do here.
27732 mips*-sde-elf*)
27733 # These definitions are for the SDE C library rather than newlib.
27734 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27737 # All these tests are for C++; save the language and the compiler flags.
27738 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27739 # found in GLIBCXX_CONFIGURE.
27741 ac_ext=cpp
27742 ac_cpp='$CXXCPP $CPPFLAGS'
27743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27747 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27748 ac_save_CXXFLAGS="$CXXFLAGS"
27750 # Check for maintainer-mode bits.
27751 if test x"$USE_MAINTAINER_MODE" = xno; then
27752 WERROR=''
27753 else
27754 WERROR='-Werror'
27757 # Check for -ffunction-sections -fdata-sections
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27759 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27760 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27762 /* end confdefs.h. */
27763 int foo; void bar() { };
27765 main ()
27769 return 0;
27771 _ACEOF
27772 if ac_fn_cxx_try_compile "$LINENO"; then :
27773 ac_fdsections=yes
27774 else
27775 ac_fdsections=no
27777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27778 if test "$ac_test_CXXFLAGS" = set; then
27779 CXXFLAGS="$ac_save_CXXFLAGS"
27780 else
27781 # this is the suspicious part
27782 CXXFLAGS=''
27784 if test x"$ac_fdsections" = x"yes"; then
27785 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27788 $as_echo "$ac_fdsections" >&6; }
27790 ac_ext=c
27791 ac_cpp='$CPP $CPPFLAGS'
27792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27800 # If we're not using GNU ld, then there's no point in even trying these
27801 # tests. Check for that first. We should have already tested for gld
27802 # by now (in libtool), but require it now just to be safe...
27803 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27804 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27808 # The name set by libtool depends on the version of libtool. Shame on us
27809 # for depending on an impl detail, but c'est la vie. Older versions used
27810 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27811 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27812 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27813 # set (hence we're using an older libtool), then set it.
27814 if test x${with_gnu_ld+set} != xset; then
27815 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27816 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27817 with_gnu_ld=no
27818 else
27819 with_gnu_ld=$ac_cv_prog_gnu_ld
27823 # Start by getting the version number. I think the libtool test already
27824 # does some of this, but throws away the result.
27825 glibcxx_ld_is_gold=no
27826 if test x"$with_gnu_ld" = x"yes"; then
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27828 $as_echo_n "checking for ld version... " >&6; }
27830 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27831 glibcxx_ld_is_gold=yes
27833 ldver=`$LD --version 2>/dev/null |
27834 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'`
27836 glibcxx_gnu_ld_version=`echo $ldver | \
27837 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27839 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27842 # Set --gc-sections.
27843 glibcxx_have_gc_sections=no
27844 if test "$glibcxx_ld_is_gold" = "yes"; then
27845 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27846 glibcxx_have_gc_sections=yes
27848 else
27849 glibcxx_gcsections_min_ld=21602
27850 if test x"$with_gnu_ld" = x"yes" &&
27851 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27852 glibcxx_have_gc_sections=yes
27855 if test "$glibcxx_have_gc_sections" = "yes"; then
27856 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27857 # NB: This flag only works reliably after 2.16.1. Configure tests
27858 # for this are difficult, so hard wire a value that should work.
27860 ac_test_CFLAGS="${CFLAGS+set}"
27861 ac_save_CFLAGS="$CFLAGS"
27862 CFLAGS='-Wl,--gc-sections'
27864 # Check for -Wl,--gc-sections
27865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27866 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27867 if test x$gcc_no_link = xyes; then
27868 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27871 /* end confdefs.h. */
27872 int one(void) { return 1; }
27873 int two(void) { return 2; }
27876 main ()
27878 two();
27880 return 0;
27882 _ACEOF
27883 if ac_fn_c_try_link "$LINENO"; then :
27884 ac_gcsections=yes
27885 else
27886 ac_gcsections=no
27888 rm -f core conftest.err conftest.$ac_objext \
27889 conftest$ac_exeext conftest.$ac_ext
27890 if test "$ac_gcsections" = "yes"; then
27891 rm -f conftest.c
27892 touch conftest.c
27893 if $CC -c conftest.c; then
27894 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27895 grep "Warning: gc-sections option ignored" > /dev/null; then
27896 ac_gcsections=no
27899 rm -f conftest.c conftest.o conftest
27901 if test "$ac_gcsections" = "yes"; then
27902 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27905 $as_echo "$ac_gcsections" >&6; }
27907 if test "$ac_test_CFLAGS" = set; then
27908 CFLAGS="$ac_save_CFLAGS"
27909 else
27910 # this is the suspicious part
27911 CFLAGS=''
27915 # Set -z,relro.
27916 # Note this is only for shared objects.
27917 ac_ld_relro=no
27918 if test x"$with_gnu_ld" = x"yes"; then
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27920 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27921 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27922 if test -n "$cxx_z_relo"; then
27923 OPT_LDFLAGS="-Wl,-z,relro"
27924 ac_ld_relro=yes
27926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27927 $as_echo "$ac_ld_relro" >&6; }
27930 # Set linker optimization flags.
27931 if test x"$with_gnu_ld" = x"yes"; then
27932 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27939 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27940 ac_save_CXXFLAGS="$CXXFLAGS"
27941 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27944 $as_echo_n "checking for sin in -lm... " >&6; }
27945 if test "${ac_cv_lib_m_sin+set}" = set; then :
27946 $as_echo_n "(cached) " >&6
27947 else
27948 ac_check_lib_save_LIBS=$LIBS
27949 LIBS="-lm $LIBS"
27950 if test x$gcc_no_link = xyes; then
27951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27954 /* end confdefs.h. */
27956 /* Override any GCC internal prototype to avoid an error.
27957 Use char because int might match the return type of a GCC
27958 builtin and then its argument prototype would still apply. */
27959 #ifdef __cplusplus
27960 extern "C"
27961 #endif
27962 char sin ();
27964 main ()
27966 return sin ();
27968 return 0;
27970 _ACEOF
27971 if ac_fn_c_try_link "$LINENO"; then :
27972 ac_cv_lib_m_sin=yes
27973 else
27974 ac_cv_lib_m_sin=no
27976 rm -f core conftest.err conftest.$ac_objext \
27977 conftest$ac_exeext conftest.$ac_ext
27978 LIBS=$ac_check_lib_save_LIBS
27980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27981 $as_echo "$ac_cv_lib_m_sin" >&6; }
27982 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27983 libm="-lm"
27986 ac_save_LIBS="$LIBS"
27987 LIBS="$LIBS $libm"
27991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27992 $as_echo_n "checking for isinf declaration... " >&6; }
27993 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27994 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27995 $as_echo_n "(cached) " >&6
27996 else
27999 ac_ext=cpp
28000 ac_cpp='$CXXCPP $CPPFLAGS'
28001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28006 /* end confdefs.h. */
28007 #include <math.h>
28008 #ifdef HAVE_IEEEFP_H
28009 #include <ieeefp.h>
28010 #endif
28013 main ()
28015 isinf(0);
28017 return 0;
28019 _ACEOF
28020 if ac_fn_cxx_try_compile "$LINENO"; then :
28021 glibcxx_cv_func_isinf_use=yes
28022 else
28023 glibcxx_cv_func_isinf_use=no
28025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28026 ac_ext=c
28027 ac_cpp='$CPP $CPPFLAGS'
28028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28037 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28039 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28040 for ac_func in isinf
28041 do :
28042 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28043 if test "x$ac_cv_func_isinf" = x""yes; then :
28044 cat >>confdefs.h <<_ACEOF
28045 #define HAVE_ISINF 1
28046 _ACEOF
28049 done
28051 else
28053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28054 $as_echo_n "checking for _isinf declaration... " >&6; }
28055 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28056 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28057 $as_echo_n "(cached) " >&6
28058 else
28061 ac_ext=cpp
28062 ac_cpp='$CXXCPP $CPPFLAGS'
28063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28068 /* end confdefs.h. */
28069 #include <math.h>
28070 #ifdef HAVE_IEEEFP_H
28071 #include <ieeefp.h>
28072 #endif
28075 main ()
28077 _isinf(0);
28079 return 0;
28081 _ACEOF
28082 if ac_fn_cxx_try_compile "$LINENO"; then :
28083 glibcxx_cv_func__isinf_use=yes
28084 else
28085 glibcxx_cv_func__isinf_use=no
28087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28088 ac_ext=c
28089 ac_cpp='$CPP $CPPFLAGS'
28090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28099 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28101 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28102 for ac_func in _isinf
28103 do :
28104 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28105 if test "x$ac_cv_func__isinf" = x""yes; then :
28106 cat >>confdefs.h <<_ACEOF
28107 #define HAVE__ISINF 1
28108 _ACEOF
28111 done
28120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28121 $as_echo_n "checking for isnan declaration... " >&6; }
28122 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28123 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28124 $as_echo_n "(cached) " >&6
28125 else
28128 ac_ext=cpp
28129 ac_cpp='$CXXCPP $CPPFLAGS'
28130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28135 /* end confdefs.h. */
28136 #include <math.h>
28137 #ifdef HAVE_IEEEFP_H
28138 #include <ieeefp.h>
28139 #endif
28142 main ()
28144 isnan(0);
28146 return 0;
28148 _ACEOF
28149 if ac_fn_cxx_try_compile "$LINENO"; then :
28150 glibcxx_cv_func_isnan_use=yes
28151 else
28152 glibcxx_cv_func_isnan_use=no
28154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28155 ac_ext=c
28156 ac_cpp='$CPP $CPPFLAGS'
28157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28166 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28168 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28169 for ac_func in isnan
28170 do :
28171 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28172 if test "x$ac_cv_func_isnan" = x""yes; then :
28173 cat >>confdefs.h <<_ACEOF
28174 #define HAVE_ISNAN 1
28175 _ACEOF
28178 done
28180 else
28182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28183 $as_echo_n "checking for _isnan declaration... " >&6; }
28184 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28185 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28186 $as_echo_n "(cached) " >&6
28187 else
28190 ac_ext=cpp
28191 ac_cpp='$CXXCPP $CPPFLAGS'
28192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28197 /* end confdefs.h. */
28198 #include <math.h>
28199 #ifdef HAVE_IEEEFP_H
28200 #include <ieeefp.h>
28201 #endif
28204 main ()
28206 _isnan(0);
28208 return 0;
28210 _ACEOF
28211 if ac_fn_cxx_try_compile "$LINENO"; then :
28212 glibcxx_cv_func__isnan_use=yes
28213 else
28214 glibcxx_cv_func__isnan_use=no
28216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28217 ac_ext=c
28218 ac_cpp='$CPP $CPPFLAGS'
28219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28228 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28230 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28231 for ac_func in _isnan
28232 do :
28233 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28234 if test "x$ac_cv_func__isnan" = x""yes; then :
28235 cat >>confdefs.h <<_ACEOF
28236 #define HAVE__ISNAN 1
28237 _ACEOF
28240 done
28249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28250 $as_echo_n "checking for finite declaration... " >&6; }
28251 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28252 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28253 $as_echo_n "(cached) " >&6
28254 else
28257 ac_ext=cpp
28258 ac_cpp='$CXXCPP $CPPFLAGS'
28259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28264 /* end confdefs.h. */
28265 #include <math.h>
28266 #ifdef HAVE_IEEEFP_H
28267 #include <ieeefp.h>
28268 #endif
28271 main ()
28273 finite(0);
28275 return 0;
28277 _ACEOF
28278 if ac_fn_cxx_try_compile "$LINENO"; then :
28279 glibcxx_cv_func_finite_use=yes
28280 else
28281 glibcxx_cv_func_finite_use=no
28283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28284 ac_ext=c
28285 ac_cpp='$CPP $CPPFLAGS'
28286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28295 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28297 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28298 for ac_func in finite
28299 do :
28300 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28301 if test "x$ac_cv_func_finite" = x""yes; then :
28302 cat >>confdefs.h <<_ACEOF
28303 #define HAVE_FINITE 1
28304 _ACEOF
28307 done
28309 else
28311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28312 $as_echo_n "checking for _finite declaration... " >&6; }
28313 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28314 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28315 $as_echo_n "(cached) " >&6
28316 else
28319 ac_ext=cpp
28320 ac_cpp='$CXXCPP $CPPFLAGS'
28321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28326 /* end confdefs.h. */
28327 #include <math.h>
28328 #ifdef HAVE_IEEEFP_H
28329 #include <ieeefp.h>
28330 #endif
28333 main ()
28335 _finite(0);
28337 return 0;
28339 _ACEOF
28340 if ac_fn_cxx_try_compile "$LINENO"; then :
28341 glibcxx_cv_func__finite_use=yes
28342 else
28343 glibcxx_cv_func__finite_use=no
28345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28346 ac_ext=c
28347 ac_cpp='$CPP $CPPFLAGS'
28348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28357 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28359 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28360 for ac_func in _finite
28361 do :
28362 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28363 if test "x$ac_cv_func__finite" = x""yes; then :
28364 cat >>confdefs.h <<_ACEOF
28365 #define HAVE__FINITE 1
28366 _ACEOF
28369 done
28378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28379 $as_echo_n "checking for sincos declaration... " >&6; }
28380 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28381 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28382 $as_echo_n "(cached) " >&6
28383 else
28386 ac_ext=cpp
28387 ac_cpp='$CXXCPP $CPPFLAGS'
28388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28393 /* end confdefs.h. */
28394 #include <math.h>
28396 main ()
28398 sincos(0, 0, 0);
28400 return 0;
28402 _ACEOF
28403 if ac_fn_cxx_try_compile "$LINENO"; then :
28404 glibcxx_cv_func_sincos_use=yes
28405 else
28406 glibcxx_cv_func_sincos_use=no
28408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28409 ac_ext=c
28410 ac_cpp='$CPP $CPPFLAGS'
28411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28420 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28422 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28423 for ac_func in sincos
28424 do :
28425 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28426 if test "x$ac_cv_func_sincos" = x""yes; then :
28427 cat >>confdefs.h <<_ACEOF
28428 #define HAVE_SINCOS 1
28429 _ACEOF
28432 done
28434 else
28436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28437 $as_echo_n "checking for _sincos declaration... " >&6; }
28438 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28439 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28440 $as_echo_n "(cached) " >&6
28441 else
28444 ac_ext=cpp
28445 ac_cpp='$CXXCPP $CPPFLAGS'
28446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28451 /* end confdefs.h. */
28452 #include <math.h>
28454 main ()
28456 _sincos(0, 0, 0);
28458 return 0;
28460 _ACEOF
28461 if ac_fn_cxx_try_compile "$LINENO"; then :
28462 glibcxx_cv_func__sincos_use=yes
28463 else
28464 glibcxx_cv_func__sincos_use=no
28466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28467 ac_ext=c
28468 ac_cpp='$CPP $CPPFLAGS'
28469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28478 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28480 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28481 for ac_func in _sincos
28482 do :
28483 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28484 if test "x$ac_cv_func__sincos" = x""yes; then :
28485 cat >>confdefs.h <<_ACEOF
28486 #define HAVE__SINCOS 1
28487 _ACEOF
28490 done
28499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28500 $as_echo_n "checking for fpclass declaration... " >&6; }
28501 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28502 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28503 $as_echo_n "(cached) " >&6
28504 else
28507 ac_ext=cpp
28508 ac_cpp='$CXXCPP $CPPFLAGS'
28509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28514 /* end confdefs.h. */
28515 #include <math.h>
28516 #ifdef HAVE_IEEEFP_H
28517 #include <ieeefp.h>
28518 #endif
28521 main ()
28523 fpclass(0);
28525 return 0;
28527 _ACEOF
28528 if ac_fn_cxx_try_compile "$LINENO"; then :
28529 glibcxx_cv_func_fpclass_use=yes
28530 else
28531 glibcxx_cv_func_fpclass_use=no
28533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28534 ac_ext=c
28535 ac_cpp='$CPP $CPPFLAGS'
28536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28545 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28547 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28548 for ac_func in fpclass
28549 do :
28550 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28551 if test "x$ac_cv_func_fpclass" = x""yes; then :
28552 cat >>confdefs.h <<_ACEOF
28553 #define HAVE_FPCLASS 1
28554 _ACEOF
28557 done
28559 else
28561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28562 $as_echo_n "checking for _fpclass declaration... " >&6; }
28563 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28564 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28565 $as_echo_n "(cached) " >&6
28566 else
28569 ac_ext=cpp
28570 ac_cpp='$CXXCPP $CPPFLAGS'
28571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28576 /* end confdefs.h. */
28577 #include <math.h>
28578 #ifdef HAVE_IEEEFP_H
28579 #include <ieeefp.h>
28580 #endif
28583 main ()
28585 _fpclass(0);
28587 return 0;
28589 _ACEOF
28590 if ac_fn_cxx_try_compile "$LINENO"; then :
28591 glibcxx_cv_func__fpclass_use=yes
28592 else
28593 glibcxx_cv_func__fpclass_use=no
28595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28596 ac_ext=c
28597 ac_cpp='$CPP $CPPFLAGS'
28598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28607 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28609 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28610 for ac_func in _fpclass
28611 do :
28612 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28613 if test "x$ac_cv_func__fpclass" = x""yes; then :
28614 cat >>confdefs.h <<_ACEOF
28615 #define HAVE__FPCLASS 1
28616 _ACEOF
28619 done
28628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28629 $as_echo_n "checking for qfpclass declaration... " >&6; }
28630 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28631 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28632 $as_echo_n "(cached) " >&6
28633 else
28636 ac_ext=cpp
28637 ac_cpp='$CXXCPP $CPPFLAGS'
28638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28643 /* end confdefs.h. */
28644 #include <math.h>
28645 #ifdef HAVE_IEEEFP_H
28646 #include <ieeefp.h>
28647 #endif
28650 main ()
28652 qfpclass(0);
28654 return 0;
28656 _ACEOF
28657 if ac_fn_cxx_try_compile "$LINENO"; then :
28658 glibcxx_cv_func_qfpclass_use=yes
28659 else
28660 glibcxx_cv_func_qfpclass_use=no
28662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28663 ac_ext=c
28664 ac_cpp='$CPP $CPPFLAGS'
28665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28674 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28676 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28677 for ac_func in qfpclass
28678 do :
28679 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28680 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28681 cat >>confdefs.h <<_ACEOF
28682 #define HAVE_QFPCLASS 1
28683 _ACEOF
28686 done
28688 else
28690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28691 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28692 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28693 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28694 $as_echo_n "(cached) " >&6
28695 else
28698 ac_ext=cpp
28699 ac_cpp='$CXXCPP $CPPFLAGS'
28700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28705 /* end confdefs.h. */
28706 #include <math.h>
28707 #ifdef HAVE_IEEEFP_H
28708 #include <ieeefp.h>
28709 #endif
28712 main ()
28714 _qfpclass(0);
28716 return 0;
28718 _ACEOF
28719 if ac_fn_cxx_try_compile "$LINENO"; then :
28720 glibcxx_cv_func__qfpclass_use=yes
28721 else
28722 glibcxx_cv_func__qfpclass_use=no
28724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28725 ac_ext=c
28726 ac_cpp='$CPP $CPPFLAGS'
28727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28736 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28738 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28739 for ac_func in _qfpclass
28740 do :
28741 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28742 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28743 cat >>confdefs.h <<_ACEOF
28744 #define HAVE__QFPCLASS 1
28745 _ACEOF
28748 done
28757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28758 $as_echo_n "checking for hypot declaration... " >&6; }
28759 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28760 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28761 $as_echo_n "(cached) " >&6
28762 else
28765 ac_ext=cpp
28766 ac_cpp='$CXXCPP $CPPFLAGS'
28767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28772 /* end confdefs.h. */
28773 #include <math.h>
28775 main ()
28777 hypot(0, 0);
28779 return 0;
28781 _ACEOF
28782 if ac_fn_cxx_try_compile "$LINENO"; then :
28783 glibcxx_cv_func_hypot_use=yes
28784 else
28785 glibcxx_cv_func_hypot_use=no
28787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28788 ac_ext=c
28789 ac_cpp='$CPP $CPPFLAGS'
28790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28799 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28801 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28802 for ac_func in hypot
28803 do :
28804 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28805 if test "x$ac_cv_func_hypot" = x""yes; then :
28806 cat >>confdefs.h <<_ACEOF
28807 #define HAVE_HYPOT 1
28808 _ACEOF
28811 done
28813 else
28815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28816 $as_echo_n "checking for _hypot declaration... " >&6; }
28817 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28818 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28819 $as_echo_n "(cached) " >&6
28820 else
28823 ac_ext=cpp
28824 ac_cpp='$CXXCPP $CPPFLAGS'
28825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28830 /* end confdefs.h. */
28831 #include <math.h>
28833 main ()
28835 _hypot(0, 0);
28837 return 0;
28839 _ACEOF
28840 if ac_fn_cxx_try_compile "$LINENO"; then :
28841 glibcxx_cv_func__hypot_use=yes
28842 else
28843 glibcxx_cv_func__hypot_use=no
28845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28846 ac_ext=c
28847 ac_cpp='$CPP $CPPFLAGS'
28848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28857 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28859 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28860 for ac_func in _hypot
28861 do :
28862 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28863 if test "x$ac_cv_func__hypot" = x""yes; then :
28864 cat >>confdefs.h <<_ACEOF
28865 #define HAVE__HYPOT 1
28866 _ACEOF
28869 done
28878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28879 $as_echo_n "checking for float trig functions... " >&6; }
28880 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28881 $as_echo_n "(cached) " >&6
28882 else
28885 ac_ext=cpp
28886 ac_cpp='$CXXCPP $CPPFLAGS'
28887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28892 /* end confdefs.h. */
28893 #include <math.h>
28895 main ()
28897 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28899 return 0;
28901 _ACEOF
28902 if ac_fn_cxx_try_compile "$LINENO"; then :
28903 glibcxx_cv_func_float_trig_use=yes
28904 else
28905 glibcxx_cv_func_float_trig_use=no
28907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28908 ac_ext=c
28909 ac_cpp='$CPP $CPPFLAGS'
28910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28917 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28918 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28919 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28920 do :
28921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28923 eval as_val=\$$as_ac_var
28924 if test "x$as_val" = x""yes; then :
28925 cat >>confdefs.h <<_ACEOF
28926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28927 _ACEOF
28930 done
28932 else
28933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28934 $as_echo_n "checking for _float trig functions... " >&6; }
28935 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28936 $as_echo_n "(cached) " >&6
28937 else
28940 ac_ext=cpp
28941 ac_cpp='$CXXCPP $CPPFLAGS'
28942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28947 /* end confdefs.h. */
28948 #include <math.h>
28950 main ()
28952 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28954 return 0;
28956 _ACEOF
28957 if ac_fn_cxx_try_compile "$LINENO"; then :
28958 glibcxx_cv_func__float_trig_use=yes
28959 else
28960 glibcxx_cv_func__float_trig_use=no
28962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28963 ac_ext=c
28964 ac_cpp='$CPP $CPPFLAGS'
28965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28972 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28973 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28974 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28975 do :
28976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28977 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28978 eval as_val=\$$as_ac_var
28979 if test "x$as_val" = x""yes; then :
28980 cat >>confdefs.h <<_ACEOF
28981 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28982 _ACEOF
28985 done
28994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28995 $as_echo_n "checking for float round functions... " >&6; }
28996 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28997 $as_echo_n "(cached) " >&6
28998 else
29001 ac_ext=cpp
29002 ac_cpp='$CXXCPP $CPPFLAGS'
29003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29008 /* end confdefs.h. */
29009 #include <math.h>
29011 main ()
29013 ceilf (0); floorf (0);
29015 return 0;
29017 _ACEOF
29018 if ac_fn_cxx_try_compile "$LINENO"; then :
29019 glibcxx_cv_func_float_round_use=yes
29020 else
29021 glibcxx_cv_func_float_round_use=no
29023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29024 ac_ext=c
29025 ac_cpp='$CPP $CPPFLAGS'
29026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29033 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29034 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29035 for ac_func in ceilf floorf
29036 do :
29037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29039 eval as_val=\$$as_ac_var
29040 if test "x$as_val" = x""yes; then :
29041 cat >>confdefs.h <<_ACEOF
29042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29043 _ACEOF
29046 done
29048 else
29049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29050 $as_echo_n "checking for _float round functions... " >&6; }
29051 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29052 $as_echo_n "(cached) " >&6
29053 else
29056 ac_ext=cpp
29057 ac_cpp='$CXXCPP $CPPFLAGS'
29058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29063 /* end confdefs.h. */
29064 #include <math.h>
29066 main ()
29068 _ceilf (0); _floorf (0);
29070 return 0;
29072 _ACEOF
29073 if ac_fn_cxx_try_compile "$LINENO"; then :
29074 glibcxx_cv_func__float_round_use=yes
29075 else
29076 glibcxx_cv_func__float_round_use=no
29078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29079 ac_ext=c
29080 ac_cpp='$CPP $CPPFLAGS'
29081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29088 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29089 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29090 for ac_func in _ceilf _floorf
29091 do :
29092 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29094 eval as_val=\$$as_ac_var
29095 if test "x$as_val" = x""yes; then :
29096 cat >>confdefs.h <<_ACEOF
29097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29098 _ACEOF
29101 done
29111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29112 $as_echo_n "checking for expf declaration... " >&6; }
29113 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29114 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29115 $as_echo_n "(cached) " >&6
29116 else
29119 ac_ext=cpp
29120 ac_cpp='$CXXCPP $CPPFLAGS'
29121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29126 /* end confdefs.h. */
29127 #include <math.h>
29128 #ifdef HAVE_IEEEFP_H
29129 #include <ieeefp.h>
29130 #endif
29133 main ()
29135 expf(0);
29137 return 0;
29139 _ACEOF
29140 if ac_fn_cxx_try_compile "$LINENO"; then :
29141 glibcxx_cv_func_expf_use=yes
29142 else
29143 glibcxx_cv_func_expf_use=no
29145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29146 ac_ext=c
29147 ac_cpp='$CPP $CPPFLAGS'
29148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29157 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29159 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29160 for ac_func in expf
29161 do :
29162 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29163 if test "x$ac_cv_func_expf" = x""yes; then :
29164 cat >>confdefs.h <<_ACEOF
29165 #define HAVE_EXPF 1
29166 _ACEOF
29169 done
29171 else
29173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29174 $as_echo_n "checking for _expf declaration... " >&6; }
29175 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29176 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29177 $as_echo_n "(cached) " >&6
29178 else
29181 ac_ext=cpp
29182 ac_cpp='$CXXCPP $CPPFLAGS'
29183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29188 /* end confdefs.h. */
29189 #include <math.h>
29190 #ifdef HAVE_IEEEFP_H
29191 #include <ieeefp.h>
29192 #endif
29195 main ()
29197 _expf(0);
29199 return 0;
29201 _ACEOF
29202 if ac_fn_cxx_try_compile "$LINENO"; then :
29203 glibcxx_cv_func__expf_use=yes
29204 else
29205 glibcxx_cv_func__expf_use=no
29207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29208 ac_ext=c
29209 ac_cpp='$CPP $CPPFLAGS'
29210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29219 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29221 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29222 for ac_func in _expf
29223 do :
29224 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29225 if test "x$ac_cv_func__expf" = x""yes; then :
29226 cat >>confdefs.h <<_ACEOF
29227 #define HAVE__EXPF 1
29228 _ACEOF
29231 done
29240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29241 $as_echo_n "checking for isnanf declaration... " >&6; }
29242 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29243 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29244 $as_echo_n "(cached) " >&6
29245 else
29248 ac_ext=cpp
29249 ac_cpp='$CXXCPP $CPPFLAGS'
29250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29255 /* end confdefs.h. */
29256 #include <math.h>
29257 #ifdef HAVE_IEEEFP_H
29258 #include <ieeefp.h>
29259 #endif
29262 main ()
29264 isnanf(0);
29266 return 0;
29268 _ACEOF
29269 if ac_fn_cxx_try_compile "$LINENO"; then :
29270 glibcxx_cv_func_isnanf_use=yes
29271 else
29272 glibcxx_cv_func_isnanf_use=no
29274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29275 ac_ext=c
29276 ac_cpp='$CPP $CPPFLAGS'
29277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29286 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29288 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29289 for ac_func in isnanf
29290 do :
29291 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29292 if test "x$ac_cv_func_isnanf" = x""yes; then :
29293 cat >>confdefs.h <<_ACEOF
29294 #define HAVE_ISNANF 1
29295 _ACEOF
29298 done
29300 else
29302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29303 $as_echo_n "checking for _isnanf declaration... " >&6; }
29304 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29305 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29306 $as_echo_n "(cached) " >&6
29307 else
29310 ac_ext=cpp
29311 ac_cpp='$CXXCPP $CPPFLAGS'
29312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29317 /* end confdefs.h. */
29318 #include <math.h>
29319 #ifdef HAVE_IEEEFP_H
29320 #include <ieeefp.h>
29321 #endif
29324 main ()
29326 _isnanf(0);
29328 return 0;
29330 _ACEOF
29331 if ac_fn_cxx_try_compile "$LINENO"; then :
29332 glibcxx_cv_func__isnanf_use=yes
29333 else
29334 glibcxx_cv_func__isnanf_use=no
29336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29337 ac_ext=c
29338 ac_cpp='$CPP $CPPFLAGS'
29339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29348 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29350 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29351 for ac_func in _isnanf
29352 do :
29353 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29354 if test "x$ac_cv_func__isnanf" = x""yes; then :
29355 cat >>confdefs.h <<_ACEOF
29356 #define HAVE__ISNANF 1
29357 _ACEOF
29360 done
29369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29370 $as_echo_n "checking for isinff declaration... " >&6; }
29371 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29372 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29373 $as_echo_n "(cached) " >&6
29374 else
29377 ac_ext=cpp
29378 ac_cpp='$CXXCPP $CPPFLAGS'
29379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29384 /* end confdefs.h. */
29385 #include <math.h>
29386 #ifdef HAVE_IEEEFP_H
29387 #include <ieeefp.h>
29388 #endif
29391 main ()
29393 isinff(0);
29395 return 0;
29397 _ACEOF
29398 if ac_fn_cxx_try_compile "$LINENO"; then :
29399 glibcxx_cv_func_isinff_use=yes
29400 else
29401 glibcxx_cv_func_isinff_use=no
29403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29404 ac_ext=c
29405 ac_cpp='$CPP $CPPFLAGS'
29406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29415 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29417 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29418 for ac_func in isinff
29419 do :
29420 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29421 if test "x$ac_cv_func_isinff" = x""yes; then :
29422 cat >>confdefs.h <<_ACEOF
29423 #define HAVE_ISINFF 1
29424 _ACEOF
29427 done
29429 else
29431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29432 $as_echo_n "checking for _isinff declaration... " >&6; }
29433 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29434 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29435 $as_echo_n "(cached) " >&6
29436 else
29439 ac_ext=cpp
29440 ac_cpp='$CXXCPP $CPPFLAGS'
29441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29446 /* end confdefs.h. */
29447 #include <math.h>
29448 #ifdef HAVE_IEEEFP_H
29449 #include <ieeefp.h>
29450 #endif
29453 main ()
29455 _isinff(0);
29457 return 0;
29459 _ACEOF
29460 if ac_fn_cxx_try_compile "$LINENO"; then :
29461 glibcxx_cv_func__isinff_use=yes
29462 else
29463 glibcxx_cv_func__isinff_use=no
29465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29466 ac_ext=c
29467 ac_cpp='$CPP $CPPFLAGS'
29468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29477 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29479 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29480 for ac_func in _isinff
29481 do :
29482 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29483 if test "x$ac_cv_func__isinff" = x""yes; then :
29484 cat >>confdefs.h <<_ACEOF
29485 #define HAVE__ISINFF 1
29486 _ACEOF
29489 done
29498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29499 $as_echo_n "checking for atan2f declaration... " >&6; }
29500 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29501 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29502 $as_echo_n "(cached) " >&6
29503 else
29506 ac_ext=cpp
29507 ac_cpp='$CXXCPP $CPPFLAGS'
29508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29513 /* end confdefs.h. */
29514 #include <math.h>
29516 main ()
29518 atan2f(0, 0);
29520 return 0;
29522 _ACEOF
29523 if ac_fn_cxx_try_compile "$LINENO"; then :
29524 glibcxx_cv_func_atan2f_use=yes
29525 else
29526 glibcxx_cv_func_atan2f_use=no
29528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29529 ac_ext=c
29530 ac_cpp='$CPP $CPPFLAGS'
29531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29540 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29542 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29543 for ac_func in atan2f
29544 do :
29545 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29546 if test "x$ac_cv_func_atan2f" = x""yes; then :
29547 cat >>confdefs.h <<_ACEOF
29548 #define HAVE_ATAN2F 1
29549 _ACEOF
29552 done
29554 else
29556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29557 $as_echo_n "checking for _atan2f declaration... " >&6; }
29558 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29559 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29560 $as_echo_n "(cached) " >&6
29561 else
29564 ac_ext=cpp
29565 ac_cpp='$CXXCPP $CPPFLAGS'
29566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29571 /* end confdefs.h. */
29572 #include <math.h>
29574 main ()
29576 _atan2f(0, 0);
29578 return 0;
29580 _ACEOF
29581 if ac_fn_cxx_try_compile "$LINENO"; then :
29582 glibcxx_cv_func__atan2f_use=yes
29583 else
29584 glibcxx_cv_func__atan2f_use=no
29586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29587 ac_ext=c
29588 ac_cpp='$CPP $CPPFLAGS'
29589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29598 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29600 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29601 for ac_func in _atan2f
29602 do :
29603 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29604 if test "x$ac_cv_func__atan2f" = x""yes; then :
29605 cat >>confdefs.h <<_ACEOF
29606 #define HAVE__ATAN2F 1
29607 _ACEOF
29610 done
29619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29620 $as_echo_n "checking for fabsf declaration... " >&6; }
29621 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29622 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29623 $as_echo_n "(cached) " >&6
29624 else
29627 ac_ext=cpp
29628 ac_cpp='$CXXCPP $CPPFLAGS'
29629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29634 /* end confdefs.h. */
29635 #include <math.h>
29636 #ifdef HAVE_IEEEFP_H
29637 #include <ieeefp.h>
29638 #endif
29641 main ()
29643 fabsf(0);
29645 return 0;
29647 _ACEOF
29648 if ac_fn_cxx_try_compile "$LINENO"; then :
29649 glibcxx_cv_func_fabsf_use=yes
29650 else
29651 glibcxx_cv_func_fabsf_use=no
29653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29654 ac_ext=c
29655 ac_cpp='$CPP $CPPFLAGS'
29656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29665 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29667 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29668 for ac_func in fabsf
29669 do :
29670 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29671 if test "x$ac_cv_func_fabsf" = x""yes; then :
29672 cat >>confdefs.h <<_ACEOF
29673 #define HAVE_FABSF 1
29674 _ACEOF
29677 done
29679 else
29681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29682 $as_echo_n "checking for _fabsf declaration... " >&6; }
29683 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29684 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29685 $as_echo_n "(cached) " >&6
29686 else
29689 ac_ext=cpp
29690 ac_cpp='$CXXCPP $CPPFLAGS'
29691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29696 /* end confdefs.h. */
29697 #include <math.h>
29698 #ifdef HAVE_IEEEFP_H
29699 #include <ieeefp.h>
29700 #endif
29703 main ()
29705 _fabsf(0);
29707 return 0;
29709 _ACEOF
29710 if ac_fn_cxx_try_compile "$LINENO"; then :
29711 glibcxx_cv_func__fabsf_use=yes
29712 else
29713 glibcxx_cv_func__fabsf_use=no
29715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29716 ac_ext=c
29717 ac_cpp='$CPP $CPPFLAGS'
29718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29727 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29729 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29730 for ac_func in _fabsf
29731 do :
29732 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29733 if test "x$ac_cv_func__fabsf" = x""yes; then :
29734 cat >>confdefs.h <<_ACEOF
29735 #define HAVE__FABSF 1
29736 _ACEOF
29739 done
29748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29749 $as_echo_n "checking for fmodf declaration... " >&6; }
29750 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29751 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29752 $as_echo_n "(cached) " >&6
29753 else
29756 ac_ext=cpp
29757 ac_cpp='$CXXCPP $CPPFLAGS'
29758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29763 /* end confdefs.h. */
29764 #include <math.h>
29766 main ()
29768 fmodf(0, 0);
29770 return 0;
29772 _ACEOF
29773 if ac_fn_cxx_try_compile "$LINENO"; then :
29774 glibcxx_cv_func_fmodf_use=yes
29775 else
29776 glibcxx_cv_func_fmodf_use=no
29778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29779 ac_ext=c
29780 ac_cpp='$CPP $CPPFLAGS'
29781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29790 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29792 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29793 for ac_func in fmodf
29794 do :
29795 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29796 if test "x$ac_cv_func_fmodf" = x""yes; then :
29797 cat >>confdefs.h <<_ACEOF
29798 #define HAVE_FMODF 1
29799 _ACEOF
29802 done
29804 else
29806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29807 $as_echo_n "checking for _fmodf declaration... " >&6; }
29808 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29809 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29810 $as_echo_n "(cached) " >&6
29811 else
29814 ac_ext=cpp
29815 ac_cpp='$CXXCPP $CPPFLAGS'
29816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29821 /* end confdefs.h. */
29822 #include <math.h>
29824 main ()
29826 _fmodf(0, 0);
29828 return 0;
29830 _ACEOF
29831 if ac_fn_cxx_try_compile "$LINENO"; then :
29832 glibcxx_cv_func__fmodf_use=yes
29833 else
29834 glibcxx_cv_func__fmodf_use=no
29836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29837 ac_ext=c
29838 ac_cpp='$CPP $CPPFLAGS'
29839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29848 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29850 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29851 for ac_func in _fmodf
29852 do :
29853 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29854 if test "x$ac_cv_func__fmodf" = x""yes; then :
29855 cat >>confdefs.h <<_ACEOF
29856 #define HAVE__FMODF 1
29857 _ACEOF
29860 done
29869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29870 $as_echo_n "checking for frexpf declaration... " >&6; }
29871 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29872 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29873 $as_echo_n "(cached) " >&6
29874 else
29877 ac_ext=cpp
29878 ac_cpp='$CXXCPP $CPPFLAGS'
29879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29884 /* end confdefs.h. */
29885 #include <math.h>
29887 main ()
29889 frexpf(0, 0);
29891 return 0;
29893 _ACEOF
29894 if ac_fn_cxx_try_compile "$LINENO"; then :
29895 glibcxx_cv_func_frexpf_use=yes
29896 else
29897 glibcxx_cv_func_frexpf_use=no
29899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29900 ac_ext=c
29901 ac_cpp='$CPP $CPPFLAGS'
29902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29911 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29913 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29914 for ac_func in frexpf
29915 do :
29916 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29917 if test "x$ac_cv_func_frexpf" = x""yes; then :
29918 cat >>confdefs.h <<_ACEOF
29919 #define HAVE_FREXPF 1
29920 _ACEOF
29923 done
29925 else
29927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29928 $as_echo_n "checking for _frexpf declaration... " >&6; }
29929 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29930 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29931 $as_echo_n "(cached) " >&6
29932 else
29935 ac_ext=cpp
29936 ac_cpp='$CXXCPP $CPPFLAGS'
29937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29942 /* end confdefs.h. */
29943 #include <math.h>
29945 main ()
29947 _frexpf(0, 0);
29949 return 0;
29951 _ACEOF
29952 if ac_fn_cxx_try_compile "$LINENO"; then :
29953 glibcxx_cv_func__frexpf_use=yes
29954 else
29955 glibcxx_cv_func__frexpf_use=no
29957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29958 ac_ext=c
29959 ac_cpp='$CPP $CPPFLAGS'
29960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29969 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29971 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29972 for ac_func in _frexpf
29973 do :
29974 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29975 if test "x$ac_cv_func__frexpf" = x""yes; then :
29976 cat >>confdefs.h <<_ACEOF
29977 #define HAVE__FREXPF 1
29978 _ACEOF
29981 done
29990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29991 $as_echo_n "checking for hypotf declaration... " >&6; }
29992 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29993 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29994 $as_echo_n "(cached) " >&6
29995 else
29998 ac_ext=cpp
29999 ac_cpp='$CXXCPP $CPPFLAGS'
30000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30005 /* end confdefs.h. */
30006 #include <math.h>
30008 main ()
30010 hypotf(0, 0);
30012 return 0;
30014 _ACEOF
30015 if ac_fn_cxx_try_compile "$LINENO"; then :
30016 glibcxx_cv_func_hypotf_use=yes
30017 else
30018 glibcxx_cv_func_hypotf_use=no
30020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30021 ac_ext=c
30022 ac_cpp='$CPP $CPPFLAGS'
30023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30032 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30034 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30035 for ac_func in hypotf
30036 do :
30037 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30038 if test "x$ac_cv_func_hypotf" = x""yes; then :
30039 cat >>confdefs.h <<_ACEOF
30040 #define HAVE_HYPOTF 1
30041 _ACEOF
30044 done
30046 else
30048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30049 $as_echo_n "checking for _hypotf declaration... " >&6; }
30050 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30051 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30052 $as_echo_n "(cached) " >&6
30053 else
30056 ac_ext=cpp
30057 ac_cpp='$CXXCPP $CPPFLAGS'
30058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30063 /* end confdefs.h. */
30064 #include <math.h>
30066 main ()
30068 _hypotf(0, 0);
30070 return 0;
30072 _ACEOF
30073 if ac_fn_cxx_try_compile "$LINENO"; then :
30074 glibcxx_cv_func__hypotf_use=yes
30075 else
30076 glibcxx_cv_func__hypotf_use=no
30078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30079 ac_ext=c
30080 ac_cpp='$CPP $CPPFLAGS'
30081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30090 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30092 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30093 for ac_func in _hypotf
30094 do :
30095 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30096 if test "x$ac_cv_func__hypotf" = x""yes; then :
30097 cat >>confdefs.h <<_ACEOF
30098 #define HAVE__HYPOTF 1
30099 _ACEOF
30102 done
30111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30112 $as_echo_n "checking for ldexpf declaration... " >&6; }
30113 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30114 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30115 $as_echo_n "(cached) " >&6
30116 else
30119 ac_ext=cpp
30120 ac_cpp='$CXXCPP $CPPFLAGS'
30121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30126 /* end confdefs.h. */
30127 #include <math.h>
30129 main ()
30131 ldexpf(0, 0);
30133 return 0;
30135 _ACEOF
30136 if ac_fn_cxx_try_compile "$LINENO"; then :
30137 glibcxx_cv_func_ldexpf_use=yes
30138 else
30139 glibcxx_cv_func_ldexpf_use=no
30141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30142 ac_ext=c
30143 ac_cpp='$CPP $CPPFLAGS'
30144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30153 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30155 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30156 for ac_func in ldexpf
30157 do :
30158 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30159 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30160 cat >>confdefs.h <<_ACEOF
30161 #define HAVE_LDEXPF 1
30162 _ACEOF
30165 done
30167 else
30169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30170 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30171 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30172 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30173 $as_echo_n "(cached) " >&6
30174 else
30177 ac_ext=cpp
30178 ac_cpp='$CXXCPP $CPPFLAGS'
30179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30184 /* end confdefs.h. */
30185 #include <math.h>
30187 main ()
30189 _ldexpf(0, 0);
30191 return 0;
30193 _ACEOF
30194 if ac_fn_cxx_try_compile "$LINENO"; then :
30195 glibcxx_cv_func__ldexpf_use=yes
30196 else
30197 glibcxx_cv_func__ldexpf_use=no
30199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30200 ac_ext=c
30201 ac_cpp='$CPP $CPPFLAGS'
30202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30211 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30213 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30214 for ac_func in _ldexpf
30215 do :
30216 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30217 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30218 cat >>confdefs.h <<_ACEOF
30219 #define HAVE__LDEXPF 1
30220 _ACEOF
30223 done
30232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30233 $as_echo_n "checking for logf declaration... " >&6; }
30234 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30235 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30236 $as_echo_n "(cached) " >&6
30237 else
30240 ac_ext=cpp
30241 ac_cpp='$CXXCPP $CPPFLAGS'
30242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30247 /* end confdefs.h. */
30248 #include <math.h>
30249 #ifdef HAVE_IEEEFP_H
30250 #include <ieeefp.h>
30251 #endif
30254 main ()
30256 logf(0);
30258 return 0;
30260 _ACEOF
30261 if ac_fn_cxx_try_compile "$LINENO"; then :
30262 glibcxx_cv_func_logf_use=yes
30263 else
30264 glibcxx_cv_func_logf_use=no
30266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30267 ac_ext=c
30268 ac_cpp='$CPP $CPPFLAGS'
30269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30278 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30280 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30281 for ac_func in logf
30282 do :
30283 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30284 if test "x$ac_cv_func_logf" = x""yes; then :
30285 cat >>confdefs.h <<_ACEOF
30286 #define HAVE_LOGF 1
30287 _ACEOF
30290 done
30292 else
30294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30295 $as_echo_n "checking for _logf declaration... " >&6; }
30296 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30297 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30298 $as_echo_n "(cached) " >&6
30299 else
30302 ac_ext=cpp
30303 ac_cpp='$CXXCPP $CPPFLAGS'
30304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30309 /* end confdefs.h. */
30310 #include <math.h>
30311 #ifdef HAVE_IEEEFP_H
30312 #include <ieeefp.h>
30313 #endif
30316 main ()
30318 _logf(0);
30320 return 0;
30322 _ACEOF
30323 if ac_fn_cxx_try_compile "$LINENO"; then :
30324 glibcxx_cv_func__logf_use=yes
30325 else
30326 glibcxx_cv_func__logf_use=no
30328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30329 ac_ext=c
30330 ac_cpp='$CPP $CPPFLAGS'
30331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30340 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30342 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30343 for ac_func in _logf
30344 do :
30345 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30346 if test "x$ac_cv_func__logf" = x""yes; then :
30347 cat >>confdefs.h <<_ACEOF
30348 #define HAVE__LOGF 1
30349 _ACEOF
30352 done
30361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30362 $as_echo_n "checking for log10f declaration... " >&6; }
30363 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30364 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30365 $as_echo_n "(cached) " >&6
30366 else
30369 ac_ext=cpp
30370 ac_cpp='$CXXCPP $CPPFLAGS'
30371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30376 /* end confdefs.h. */
30377 #include <math.h>
30378 #ifdef HAVE_IEEEFP_H
30379 #include <ieeefp.h>
30380 #endif
30383 main ()
30385 log10f(0);
30387 return 0;
30389 _ACEOF
30390 if ac_fn_cxx_try_compile "$LINENO"; then :
30391 glibcxx_cv_func_log10f_use=yes
30392 else
30393 glibcxx_cv_func_log10f_use=no
30395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30396 ac_ext=c
30397 ac_cpp='$CPP $CPPFLAGS'
30398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30407 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30409 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30410 for ac_func in log10f
30411 do :
30412 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30413 if test "x$ac_cv_func_log10f" = x""yes; then :
30414 cat >>confdefs.h <<_ACEOF
30415 #define HAVE_LOG10F 1
30416 _ACEOF
30419 done
30421 else
30423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30424 $as_echo_n "checking for _log10f declaration... " >&6; }
30425 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30426 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30427 $as_echo_n "(cached) " >&6
30428 else
30431 ac_ext=cpp
30432 ac_cpp='$CXXCPP $CPPFLAGS'
30433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30438 /* end confdefs.h. */
30439 #include <math.h>
30440 #ifdef HAVE_IEEEFP_H
30441 #include <ieeefp.h>
30442 #endif
30445 main ()
30447 _log10f(0);
30449 return 0;
30451 _ACEOF
30452 if ac_fn_cxx_try_compile "$LINENO"; then :
30453 glibcxx_cv_func__log10f_use=yes
30454 else
30455 glibcxx_cv_func__log10f_use=no
30457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30458 ac_ext=c
30459 ac_cpp='$CPP $CPPFLAGS'
30460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30469 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30471 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30472 for ac_func in _log10f
30473 do :
30474 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30475 if test "x$ac_cv_func__log10f" = x""yes; then :
30476 cat >>confdefs.h <<_ACEOF
30477 #define HAVE__LOG10F 1
30478 _ACEOF
30481 done
30490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30491 $as_echo_n "checking for modff declaration... " >&6; }
30492 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30493 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30494 $as_echo_n "(cached) " >&6
30495 else
30498 ac_ext=cpp
30499 ac_cpp='$CXXCPP $CPPFLAGS'
30500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30505 /* end confdefs.h. */
30506 #include <math.h>
30508 main ()
30510 modff(0, 0);
30512 return 0;
30514 _ACEOF
30515 if ac_fn_cxx_try_compile "$LINENO"; then :
30516 glibcxx_cv_func_modff_use=yes
30517 else
30518 glibcxx_cv_func_modff_use=no
30520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30521 ac_ext=c
30522 ac_cpp='$CPP $CPPFLAGS'
30523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30532 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30534 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30535 for ac_func in modff
30536 do :
30537 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30538 if test "x$ac_cv_func_modff" = x""yes; then :
30539 cat >>confdefs.h <<_ACEOF
30540 #define HAVE_MODFF 1
30541 _ACEOF
30544 done
30546 else
30548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30549 $as_echo_n "checking for _modff declaration... " >&6; }
30550 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30551 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30552 $as_echo_n "(cached) " >&6
30553 else
30556 ac_ext=cpp
30557 ac_cpp='$CXXCPP $CPPFLAGS'
30558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30563 /* end confdefs.h. */
30564 #include <math.h>
30566 main ()
30568 _modff(0, 0);
30570 return 0;
30572 _ACEOF
30573 if ac_fn_cxx_try_compile "$LINENO"; then :
30574 glibcxx_cv_func__modff_use=yes
30575 else
30576 glibcxx_cv_func__modff_use=no
30578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30579 ac_ext=c
30580 ac_cpp='$CPP $CPPFLAGS'
30581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30590 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30592 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30593 for ac_func in _modff
30594 do :
30595 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30596 if test "x$ac_cv_func__modff" = x""yes; then :
30597 cat >>confdefs.h <<_ACEOF
30598 #define HAVE__MODFF 1
30599 _ACEOF
30602 done
30611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30612 $as_echo_n "checking for modf declaration... " >&6; }
30613 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30614 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30615 $as_echo_n "(cached) " >&6
30616 else
30619 ac_ext=cpp
30620 ac_cpp='$CXXCPP $CPPFLAGS'
30621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30626 /* end confdefs.h. */
30627 #include <math.h>
30629 main ()
30631 modf(0, 0);
30633 return 0;
30635 _ACEOF
30636 if ac_fn_cxx_try_compile "$LINENO"; then :
30637 glibcxx_cv_func_modf_use=yes
30638 else
30639 glibcxx_cv_func_modf_use=no
30641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30642 ac_ext=c
30643 ac_cpp='$CPP $CPPFLAGS'
30644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30653 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30655 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30656 for ac_func in modf
30657 do :
30658 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30659 if test "x$ac_cv_func_modf" = x""yes; then :
30660 cat >>confdefs.h <<_ACEOF
30661 #define HAVE_MODF 1
30662 _ACEOF
30665 done
30667 else
30669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30670 $as_echo_n "checking for _modf declaration... " >&6; }
30671 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30672 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30673 $as_echo_n "(cached) " >&6
30674 else
30677 ac_ext=cpp
30678 ac_cpp='$CXXCPP $CPPFLAGS'
30679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30684 /* end confdefs.h. */
30685 #include <math.h>
30687 main ()
30689 _modf(0, 0);
30691 return 0;
30693 _ACEOF
30694 if ac_fn_cxx_try_compile "$LINENO"; then :
30695 glibcxx_cv_func__modf_use=yes
30696 else
30697 glibcxx_cv_func__modf_use=no
30699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30700 ac_ext=c
30701 ac_cpp='$CPP $CPPFLAGS'
30702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30711 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30713 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30714 for ac_func in _modf
30715 do :
30716 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30717 if test "x$ac_cv_func__modf" = x""yes; then :
30718 cat >>confdefs.h <<_ACEOF
30719 #define HAVE__MODF 1
30720 _ACEOF
30723 done
30732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30733 $as_echo_n "checking for powf declaration... " >&6; }
30734 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30735 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30736 $as_echo_n "(cached) " >&6
30737 else
30740 ac_ext=cpp
30741 ac_cpp='$CXXCPP $CPPFLAGS'
30742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30747 /* end confdefs.h. */
30748 #include <math.h>
30750 main ()
30752 powf(0, 0);
30754 return 0;
30756 _ACEOF
30757 if ac_fn_cxx_try_compile "$LINENO"; then :
30758 glibcxx_cv_func_powf_use=yes
30759 else
30760 glibcxx_cv_func_powf_use=no
30762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30763 ac_ext=c
30764 ac_cpp='$CPP $CPPFLAGS'
30765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30774 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30776 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30777 for ac_func in powf
30778 do :
30779 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30780 if test "x$ac_cv_func_powf" = x""yes; then :
30781 cat >>confdefs.h <<_ACEOF
30782 #define HAVE_POWF 1
30783 _ACEOF
30786 done
30788 else
30790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30791 $as_echo_n "checking for _powf declaration... " >&6; }
30792 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30793 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30794 $as_echo_n "(cached) " >&6
30795 else
30798 ac_ext=cpp
30799 ac_cpp='$CXXCPP $CPPFLAGS'
30800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30805 /* end confdefs.h. */
30806 #include <math.h>
30808 main ()
30810 _powf(0, 0);
30812 return 0;
30814 _ACEOF
30815 if ac_fn_cxx_try_compile "$LINENO"; then :
30816 glibcxx_cv_func__powf_use=yes
30817 else
30818 glibcxx_cv_func__powf_use=no
30820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30821 ac_ext=c
30822 ac_cpp='$CPP $CPPFLAGS'
30823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30832 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30834 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30835 for ac_func in _powf
30836 do :
30837 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30838 if test "x$ac_cv_func__powf" = x""yes; then :
30839 cat >>confdefs.h <<_ACEOF
30840 #define HAVE__POWF 1
30841 _ACEOF
30844 done
30853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30854 $as_echo_n "checking for sqrtf declaration... " >&6; }
30855 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30856 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30857 $as_echo_n "(cached) " >&6
30858 else
30861 ac_ext=cpp
30862 ac_cpp='$CXXCPP $CPPFLAGS'
30863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30868 /* end confdefs.h. */
30869 #include <math.h>
30870 #ifdef HAVE_IEEEFP_H
30871 #include <ieeefp.h>
30872 #endif
30875 main ()
30877 sqrtf(0);
30879 return 0;
30881 _ACEOF
30882 if ac_fn_cxx_try_compile "$LINENO"; then :
30883 glibcxx_cv_func_sqrtf_use=yes
30884 else
30885 glibcxx_cv_func_sqrtf_use=no
30887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30888 ac_ext=c
30889 ac_cpp='$CPP $CPPFLAGS'
30890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30899 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30901 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30902 for ac_func in sqrtf
30903 do :
30904 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30905 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30906 cat >>confdefs.h <<_ACEOF
30907 #define HAVE_SQRTF 1
30908 _ACEOF
30911 done
30913 else
30915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30916 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30917 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30918 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30919 $as_echo_n "(cached) " >&6
30920 else
30923 ac_ext=cpp
30924 ac_cpp='$CXXCPP $CPPFLAGS'
30925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30930 /* end confdefs.h. */
30931 #include <math.h>
30932 #ifdef HAVE_IEEEFP_H
30933 #include <ieeefp.h>
30934 #endif
30937 main ()
30939 _sqrtf(0);
30941 return 0;
30943 _ACEOF
30944 if ac_fn_cxx_try_compile "$LINENO"; then :
30945 glibcxx_cv_func__sqrtf_use=yes
30946 else
30947 glibcxx_cv_func__sqrtf_use=no
30949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30950 ac_ext=c
30951 ac_cpp='$CPP $CPPFLAGS'
30952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30961 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30963 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30964 for ac_func in _sqrtf
30965 do :
30966 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30967 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30968 cat >>confdefs.h <<_ACEOF
30969 #define HAVE__SQRTF 1
30970 _ACEOF
30973 done
30982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30983 $as_echo_n "checking for sincosf declaration... " >&6; }
30984 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30985 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30986 $as_echo_n "(cached) " >&6
30987 else
30990 ac_ext=cpp
30991 ac_cpp='$CXXCPP $CPPFLAGS'
30992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30997 /* end confdefs.h. */
30998 #include <math.h>
31000 main ()
31002 sincosf(0, 0, 0);
31004 return 0;
31006 _ACEOF
31007 if ac_fn_cxx_try_compile "$LINENO"; then :
31008 glibcxx_cv_func_sincosf_use=yes
31009 else
31010 glibcxx_cv_func_sincosf_use=no
31012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31013 ac_ext=c
31014 ac_cpp='$CPP $CPPFLAGS'
31015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31024 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31026 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31027 for ac_func in sincosf
31028 do :
31029 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31030 if test "x$ac_cv_func_sincosf" = x""yes; then :
31031 cat >>confdefs.h <<_ACEOF
31032 #define HAVE_SINCOSF 1
31033 _ACEOF
31036 done
31038 else
31040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31041 $as_echo_n "checking for _sincosf declaration... " >&6; }
31042 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31043 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31044 $as_echo_n "(cached) " >&6
31045 else
31048 ac_ext=cpp
31049 ac_cpp='$CXXCPP $CPPFLAGS'
31050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31055 /* end confdefs.h. */
31056 #include <math.h>
31058 main ()
31060 _sincosf(0, 0, 0);
31062 return 0;
31064 _ACEOF
31065 if ac_fn_cxx_try_compile "$LINENO"; then :
31066 glibcxx_cv_func__sincosf_use=yes
31067 else
31068 glibcxx_cv_func__sincosf_use=no
31070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31071 ac_ext=c
31072 ac_cpp='$CPP $CPPFLAGS'
31073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31082 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31084 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31085 for ac_func in _sincosf
31086 do :
31087 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31088 if test "x$ac_cv_func__sincosf" = x""yes; then :
31089 cat >>confdefs.h <<_ACEOF
31090 #define HAVE__SINCOSF 1
31091 _ACEOF
31094 done
31103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31104 $as_echo_n "checking for finitef declaration... " >&6; }
31105 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31106 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31107 $as_echo_n "(cached) " >&6
31108 else
31111 ac_ext=cpp
31112 ac_cpp='$CXXCPP $CPPFLAGS'
31113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31118 /* end confdefs.h. */
31119 #include <math.h>
31120 #ifdef HAVE_IEEEFP_H
31121 #include <ieeefp.h>
31122 #endif
31125 main ()
31127 finitef(0);
31129 return 0;
31131 _ACEOF
31132 if ac_fn_cxx_try_compile "$LINENO"; then :
31133 glibcxx_cv_func_finitef_use=yes
31134 else
31135 glibcxx_cv_func_finitef_use=no
31137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31138 ac_ext=c
31139 ac_cpp='$CPP $CPPFLAGS'
31140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31149 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31151 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31152 for ac_func in finitef
31153 do :
31154 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31155 if test "x$ac_cv_func_finitef" = x""yes; then :
31156 cat >>confdefs.h <<_ACEOF
31157 #define HAVE_FINITEF 1
31158 _ACEOF
31161 done
31163 else
31165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31166 $as_echo_n "checking for _finitef declaration... " >&6; }
31167 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31168 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31169 $as_echo_n "(cached) " >&6
31170 else
31173 ac_ext=cpp
31174 ac_cpp='$CXXCPP $CPPFLAGS'
31175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31180 /* end confdefs.h. */
31181 #include <math.h>
31182 #ifdef HAVE_IEEEFP_H
31183 #include <ieeefp.h>
31184 #endif
31187 main ()
31189 _finitef(0);
31191 return 0;
31193 _ACEOF
31194 if ac_fn_cxx_try_compile "$LINENO"; then :
31195 glibcxx_cv_func__finitef_use=yes
31196 else
31197 glibcxx_cv_func__finitef_use=no
31199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31200 ac_ext=c
31201 ac_cpp='$CPP $CPPFLAGS'
31202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31211 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31213 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31214 for ac_func in _finitef
31215 do :
31216 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31217 if test "x$ac_cv_func__finitef" = x""yes; then :
31218 cat >>confdefs.h <<_ACEOF
31219 #define HAVE__FINITEF 1
31220 _ACEOF
31223 done
31232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31233 $as_echo_n "checking for long double trig functions... " >&6; }
31234 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31235 $as_echo_n "(cached) " >&6
31236 else
31239 ac_ext=cpp
31240 ac_cpp='$CXXCPP $CPPFLAGS'
31241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31246 /* end confdefs.h. */
31247 #include <math.h>
31249 main ()
31251 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31253 return 0;
31255 _ACEOF
31256 if ac_fn_cxx_try_compile "$LINENO"; then :
31257 glibcxx_cv_func_long_double_trig_use=yes
31258 else
31259 glibcxx_cv_func_long_double_trig_use=no
31261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31262 ac_ext=c
31263 ac_cpp='$CPP $CPPFLAGS'
31264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31271 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31272 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31273 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31274 do :
31275 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31276 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31277 eval as_val=\$$as_ac_var
31278 if test "x$as_val" = x""yes; then :
31279 cat >>confdefs.h <<_ACEOF
31280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31281 _ACEOF
31284 done
31286 else
31287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31288 $as_echo_n "checking for _long double trig functions... " >&6; }
31289 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31290 $as_echo_n "(cached) " >&6
31291 else
31294 ac_ext=cpp
31295 ac_cpp='$CXXCPP $CPPFLAGS'
31296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31301 /* end confdefs.h. */
31302 #include <math.h>
31304 main ()
31306 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31308 return 0;
31310 _ACEOF
31311 if ac_fn_cxx_try_compile "$LINENO"; then :
31312 glibcxx_cv_func__long_double_trig_use=yes
31313 else
31314 glibcxx_cv_func__long_double_trig_use=no
31316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31317 ac_ext=c
31318 ac_cpp='$CPP $CPPFLAGS'
31319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31326 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31327 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31328 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31329 do :
31330 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31331 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31332 eval as_val=\$$as_ac_var
31333 if test "x$as_val" = x""yes; then :
31334 cat >>confdefs.h <<_ACEOF
31335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31336 _ACEOF
31339 done
31348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31349 $as_echo_n "checking for long double round functions... " >&6; }
31350 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31351 $as_echo_n "(cached) " >&6
31352 else
31355 ac_ext=cpp
31356 ac_cpp='$CXXCPP $CPPFLAGS'
31357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h. */
31363 #include <math.h>
31365 main ()
31367 ceill (0); floorl (0);
31369 return 0;
31371 _ACEOF
31372 if ac_fn_cxx_try_compile "$LINENO"; then :
31373 glibcxx_cv_func_long_double_round_use=yes
31374 else
31375 glibcxx_cv_func_long_double_round_use=no
31377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31378 ac_ext=c
31379 ac_cpp='$CPP $CPPFLAGS'
31380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31387 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31388 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31389 for ac_func in ceill floorl
31390 do :
31391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31393 eval as_val=\$$as_ac_var
31394 if test "x$as_val" = x""yes; then :
31395 cat >>confdefs.h <<_ACEOF
31396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31397 _ACEOF
31400 done
31402 else
31403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31404 $as_echo_n "checking for _long double round functions... " >&6; }
31405 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31406 $as_echo_n "(cached) " >&6
31407 else
31410 ac_ext=cpp
31411 ac_cpp='$CXXCPP $CPPFLAGS'
31412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31417 /* end confdefs.h. */
31418 #include <math.h>
31420 main ()
31422 _ceill (0); _floorl (0);
31424 return 0;
31426 _ACEOF
31427 if ac_fn_cxx_try_compile "$LINENO"; then :
31428 glibcxx_cv_func__long_double_round_use=yes
31429 else
31430 glibcxx_cv_func__long_double_round_use=no
31432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31433 ac_ext=c
31434 ac_cpp='$CPP $CPPFLAGS'
31435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31442 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31443 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31444 for ac_func in _ceill _floorl
31445 do :
31446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31447 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31448 eval as_val=\$$as_ac_var
31449 if test "x$as_val" = x""yes; then :
31450 cat >>confdefs.h <<_ACEOF
31451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31452 _ACEOF
31455 done
31465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31466 $as_echo_n "checking for isnanl declaration... " >&6; }
31467 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31468 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31469 $as_echo_n "(cached) " >&6
31470 else
31473 ac_ext=cpp
31474 ac_cpp='$CXXCPP $CPPFLAGS'
31475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31480 /* end confdefs.h. */
31481 #include <math.h>
31482 #ifdef HAVE_IEEEFP_H
31483 #include <ieeefp.h>
31484 #endif
31487 main ()
31489 isnanl(0);
31491 return 0;
31493 _ACEOF
31494 if ac_fn_cxx_try_compile "$LINENO"; then :
31495 glibcxx_cv_func_isnanl_use=yes
31496 else
31497 glibcxx_cv_func_isnanl_use=no
31499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31500 ac_ext=c
31501 ac_cpp='$CPP $CPPFLAGS'
31502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31511 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31513 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31514 for ac_func in isnanl
31515 do :
31516 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31517 if test "x$ac_cv_func_isnanl" = x""yes; then :
31518 cat >>confdefs.h <<_ACEOF
31519 #define HAVE_ISNANL 1
31520 _ACEOF
31523 done
31525 else
31527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31528 $as_echo_n "checking for _isnanl declaration... " >&6; }
31529 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31530 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31531 $as_echo_n "(cached) " >&6
31532 else
31535 ac_ext=cpp
31536 ac_cpp='$CXXCPP $CPPFLAGS'
31537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31542 /* end confdefs.h. */
31543 #include <math.h>
31544 #ifdef HAVE_IEEEFP_H
31545 #include <ieeefp.h>
31546 #endif
31549 main ()
31551 _isnanl(0);
31553 return 0;
31555 _ACEOF
31556 if ac_fn_cxx_try_compile "$LINENO"; then :
31557 glibcxx_cv_func__isnanl_use=yes
31558 else
31559 glibcxx_cv_func__isnanl_use=no
31561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31562 ac_ext=c
31563 ac_cpp='$CPP $CPPFLAGS'
31564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31573 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31575 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31576 for ac_func in _isnanl
31577 do :
31578 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31579 if test "x$ac_cv_func__isnanl" = x""yes; then :
31580 cat >>confdefs.h <<_ACEOF
31581 #define HAVE__ISNANL 1
31582 _ACEOF
31585 done
31594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31595 $as_echo_n "checking for isinfl declaration... " >&6; }
31596 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31597 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31598 $as_echo_n "(cached) " >&6
31599 else
31602 ac_ext=cpp
31603 ac_cpp='$CXXCPP $CPPFLAGS'
31604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31609 /* end confdefs.h. */
31610 #include <math.h>
31611 #ifdef HAVE_IEEEFP_H
31612 #include <ieeefp.h>
31613 #endif
31616 main ()
31618 isinfl(0);
31620 return 0;
31622 _ACEOF
31623 if ac_fn_cxx_try_compile "$LINENO"; then :
31624 glibcxx_cv_func_isinfl_use=yes
31625 else
31626 glibcxx_cv_func_isinfl_use=no
31628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31629 ac_ext=c
31630 ac_cpp='$CPP $CPPFLAGS'
31631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31640 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31642 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31643 for ac_func in isinfl
31644 do :
31645 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31646 if test "x$ac_cv_func_isinfl" = x""yes; then :
31647 cat >>confdefs.h <<_ACEOF
31648 #define HAVE_ISINFL 1
31649 _ACEOF
31652 done
31654 else
31656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31657 $as_echo_n "checking for _isinfl declaration... " >&6; }
31658 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31659 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31660 $as_echo_n "(cached) " >&6
31661 else
31664 ac_ext=cpp
31665 ac_cpp='$CXXCPP $CPPFLAGS'
31666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31671 /* end confdefs.h. */
31672 #include <math.h>
31673 #ifdef HAVE_IEEEFP_H
31674 #include <ieeefp.h>
31675 #endif
31678 main ()
31680 _isinfl(0);
31682 return 0;
31684 _ACEOF
31685 if ac_fn_cxx_try_compile "$LINENO"; then :
31686 glibcxx_cv_func__isinfl_use=yes
31687 else
31688 glibcxx_cv_func__isinfl_use=no
31690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31691 ac_ext=c
31692 ac_cpp='$CPP $CPPFLAGS'
31693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31702 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31704 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31705 for ac_func in _isinfl
31706 do :
31707 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31708 if test "x$ac_cv_func__isinfl" = x""yes; then :
31709 cat >>confdefs.h <<_ACEOF
31710 #define HAVE__ISINFL 1
31711 _ACEOF
31714 done
31723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31724 $as_echo_n "checking for atan2l declaration... " >&6; }
31725 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31726 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31727 $as_echo_n "(cached) " >&6
31728 else
31731 ac_ext=cpp
31732 ac_cpp='$CXXCPP $CPPFLAGS'
31733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31738 /* end confdefs.h. */
31739 #include <math.h>
31741 main ()
31743 atan2l(0, 0);
31745 return 0;
31747 _ACEOF
31748 if ac_fn_cxx_try_compile "$LINENO"; then :
31749 glibcxx_cv_func_atan2l_use=yes
31750 else
31751 glibcxx_cv_func_atan2l_use=no
31753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31754 ac_ext=c
31755 ac_cpp='$CPP $CPPFLAGS'
31756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31765 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31767 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31768 for ac_func in atan2l
31769 do :
31770 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31771 if test "x$ac_cv_func_atan2l" = x""yes; then :
31772 cat >>confdefs.h <<_ACEOF
31773 #define HAVE_ATAN2L 1
31774 _ACEOF
31777 done
31779 else
31781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31782 $as_echo_n "checking for _atan2l declaration... " >&6; }
31783 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31784 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31785 $as_echo_n "(cached) " >&6
31786 else
31789 ac_ext=cpp
31790 ac_cpp='$CXXCPP $CPPFLAGS'
31791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31796 /* end confdefs.h. */
31797 #include <math.h>
31799 main ()
31801 _atan2l(0, 0);
31803 return 0;
31805 _ACEOF
31806 if ac_fn_cxx_try_compile "$LINENO"; then :
31807 glibcxx_cv_func__atan2l_use=yes
31808 else
31809 glibcxx_cv_func__atan2l_use=no
31811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31812 ac_ext=c
31813 ac_cpp='$CPP $CPPFLAGS'
31814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31823 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31825 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31826 for ac_func in _atan2l
31827 do :
31828 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31829 if test "x$ac_cv_func__atan2l" = x""yes; then :
31830 cat >>confdefs.h <<_ACEOF
31831 #define HAVE__ATAN2L 1
31832 _ACEOF
31835 done
31844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31845 $as_echo_n "checking for expl declaration... " >&6; }
31846 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31847 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31848 $as_echo_n "(cached) " >&6
31849 else
31852 ac_ext=cpp
31853 ac_cpp='$CXXCPP $CPPFLAGS'
31854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31859 /* end confdefs.h. */
31860 #include <math.h>
31861 #ifdef HAVE_IEEEFP_H
31862 #include <ieeefp.h>
31863 #endif
31866 main ()
31868 expl(0);
31870 return 0;
31872 _ACEOF
31873 if ac_fn_cxx_try_compile "$LINENO"; then :
31874 glibcxx_cv_func_expl_use=yes
31875 else
31876 glibcxx_cv_func_expl_use=no
31878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31879 ac_ext=c
31880 ac_cpp='$CPP $CPPFLAGS'
31881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31890 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31892 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31893 for ac_func in expl
31894 do :
31895 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31896 if test "x$ac_cv_func_expl" = x""yes; then :
31897 cat >>confdefs.h <<_ACEOF
31898 #define HAVE_EXPL 1
31899 _ACEOF
31902 done
31904 else
31906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31907 $as_echo_n "checking for _expl declaration... " >&6; }
31908 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31909 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31910 $as_echo_n "(cached) " >&6
31911 else
31914 ac_ext=cpp
31915 ac_cpp='$CXXCPP $CPPFLAGS'
31916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31921 /* end confdefs.h. */
31922 #include <math.h>
31923 #ifdef HAVE_IEEEFP_H
31924 #include <ieeefp.h>
31925 #endif
31928 main ()
31930 _expl(0);
31932 return 0;
31934 _ACEOF
31935 if ac_fn_cxx_try_compile "$LINENO"; then :
31936 glibcxx_cv_func__expl_use=yes
31937 else
31938 glibcxx_cv_func__expl_use=no
31940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31941 ac_ext=c
31942 ac_cpp='$CPP $CPPFLAGS'
31943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31952 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31954 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31955 for ac_func in _expl
31956 do :
31957 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31958 if test "x$ac_cv_func__expl" = x""yes; then :
31959 cat >>confdefs.h <<_ACEOF
31960 #define HAVE__EXPL 1
31961 _ACEOF
31964 done
31973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31974 $as_echo_n "checking for fabsl declaration... " >&6; }
31975 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31976 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31977 $as_echo_n "(cached) " >&6
31978 else
31981 ac_ext=cpp
31982 ac_cpp='$CXXCPP $CPPFLAGS'
31983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31988 /* end confdefs.h. */
31989 #include <math.h>
31990 #ifdef HAVE_IEEEFP_H
31991 #include <ieeefp.h>
31992 #endif
31995 main ()
31997 fabsl(0);
31999 return 0;
32001 _ACEOF
32002 if ac_fn_cxx_try_compile "$LINENO"; then :
32003 glibcxx_cv_func_fabsl_use=yes
32004 else
32005 glibcxx_cv_func_fabsl_use=no
32007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32008 ac_ext=c
32009 ac_cpp='$CPP $CPPFLAGS'
32010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32019 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32021 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32022 for ac_func in fabsl
32023 do :
32024 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32025 if test "x$ac_cv_func_fabsl" = x""yes; then :
32026 cat >>confdefs.h <<_ACEOF
32027 #define HAVE_FABSL 1
32028 _ACEOF
32031 done
32033 else
32035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32036 $as_echo_n "checking for _fabsl declaration... " >&6; }
32037 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32038 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32039 $as_echo_n "(cached) " >&6
32040 else
32043 ac_ext=cpp
32044 ac_cpp='$CXXCPP $CPPFLAGS'
32045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32050 /* end confdefs.h. */
32051 #include <math.h>
32052 #ifdef HAVE_IEEEFP_H
32053 #include <ieeefp.h>
32054 #endif
32057 main ()
32059 _fabsl(0);
32061 return 0;
32063 _ACEOF
32064 if ac_fn_cxx_try_compile "$LINENO"; then :
32065 glibcxx_cv_func__fabsl_use=yes
32066 else
32067 glibcxx_cv_func__fabsl_use=no
32069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32070 ac_ext=c
32071 ac_cpp='$CPP $CPPFLAGS'
32072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32081 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32083 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32084 for ac_func in _fabsl
32085 do :
32086 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32087 if test "x$ac_cv_func__fabsl" = x""yes; then :
32088 cat >>confdefs.h <<_ACEOF
32089 #define HAVE__FABSL 1
32090 _ACEOF
32093 done
32102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32103 $as_echo_n "checking for fmodl declaration... " >&6; }
32104 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32105 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32106 $as_echo_n "(cached) " >&6
32107 else
32110 ac_ext=cpp
32111 ac_cpp='$CXXCPP $CPPFLAGS'
32112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32117 /* end confdefs.h. */
32118 #include <math.h>
32120 main ()
32122 fmodl(0, 0);
32124 return 0;
32126 _ACEOF
32127 if ac_fn_cxx_try_compile "$LINENO"; then :
32128 glibcxx_cv_func_fmodl_use=yes
32129 else
32130 glibcxx_cv_func_fmodl_use=no
32132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32133 ac_ext=c
32134 ac_cpp='$CPP $CPPFLAGS'
32135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32144 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32146 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32147 for ac_func in fmodl
32148 do :
32149 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32150 if test "x$ac_cv_func_fmodl" = x""yes; then :
32151 cat >>confdefs.h <<_ACEOF
32152 #define HAVE_FMODL 1
32153 _ACEOF
32156 done
32158 else
32160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32161 $as_echo_n "checking for _fmodl declaration... " >&6; }
32162 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32163 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32164 $as_echo_n "(cached) " >&6
32165 else
32168 ac_ext=cpp
32169 ac_cpp='$CXXCPP $CPPFLAGS'
32170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32175 /* end confdefs.h. */
32176 #include <math.h>
32178 main ()
32180 _fmodl(0, 0);
32182 return 0;
32184 _ACEOF
32185 if ac_fn_cxx_try_compile "$LINENO"; then :
32186 glibcxx_cv_func__fmodl_use=yes
32187 else
32188 glibcxx_cv_func__fmodl_use=no
32190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32191 ac_ext=c
32192 ac_cpp='$CPP $CPPFLAGS'
32193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32202 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32204 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32205 for ac_func in _fmodl
32206 do :
32207 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32208 if test "x$ac_cv_func__fmodl" = x""yes; then :
32209 cat >>confdefs.h <<_ACEOF
32210 #define HAVE__FMODL 1
32211 _ACEOF
32214 done
32223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32224 $as_echo_n "checking for frexpl declaration... " >&6; }
32225 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32226 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32227 $as_echo_n "(cached) " >&6
32228 else
32231 ac_ext=cpp
32232 ac_cpp='$CXXCPP $CPPFLAGS'
32233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32238 /* end confdefs.h. */
32239 #include <math.h>
32241 main ()
32243 frexpl(0, 0);
32245 return 0;
32247 _ACEOF
32248 if ac_fn_cxx_try_compile "$LINENO"; then :
32249 glibcxx_cv_func_frexpl_use=yes
32250 else
32251 glibcxx_cv_func_frexpl_use=no
32253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32254 ac_ext=c
32255 ac_cpp='$CPP $CPPFLAGS'
32256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32265 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32267 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32268 for ac_func in frexpl
32269 do :
32270 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32271 if test "x$ac_cv_func_frexpl" = x""yes; then :
32272 cat >>confdefs.h <<_ACEOF
32273 #define HAVE_FREXPL 1
32274 _ACEOF
32277 done
32279 else
32281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32282 $as_echo_n "checking for _frexpl declaration... " >&6; }
32283 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32284 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32285 $as_echo_n "(cached) " >&6
32286 else
32289 ac_ext=cpp
32290 ac_cpp='$CXXCPP $CPPFLAGS'
32291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32296 /* end confdefs.h. */
32297 #include <math.h>
32299 main ()
32301 _frexpl(0, 0);
32303 return 0;
32305 _ACEOF
32306 if ac_fn_cxx_try_compile "$LINENO"; then :
32307 glibcxx_cv_func__frexpl_use=yes
32308 else
32309 glibcxx_cv_func__frexpl_use=no
32311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32312 ac_ext=c
32313 ac_cpp='$CPP $CPPFLAGS'
32314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32323 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32325 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32326 for ac_func in _frexpl
32327 do :
32328 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32329 if test "x$ac_cv_func__frexpl" = x""yes; then :
32330 cat >>confdefs.h <<_ACEOF
32331 #define HAVE__FREXPL 1
32332 _ACEOF
32335 done
32344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32345 $as_echo_n "checking for hypotl declaration... " >&6; }
32346 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32347 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32348 $as_echo_n "(cached) " >&6
32349 else
32352 ac_ext=cpp
32353 ac_cpp='$CXXCPP $CPPFLAGS'
32354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32359 /* end confdefs.h. */
32360 #include <math.h>
32362 main ()
32364 hypotl(0, 0);
32366 return 0;
32368 _ACEOF
32369 if ac_fn_cxx_try_compile "$LINENO"; then :
32370 glibcxx_cv_func_hypotl_use=yes
32371 else
32372 glibcxx_cv_func_hypotl_use=no
32374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32375 ac_ext=c
32376 ac_cpp='$CPP $CPPFLAGS'
32377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32386 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32388 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32389 for ac_func in hypotl
32390 do :
32391 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32392 if test "x$ac_cv_func_hypotl" = x""yes; then :
32393 cat >>confdefs.h <<_ACEOF
32394 #define HAVE_HYPOTL 1
32395 _ACEOF
32398 done
32400 else
32402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32403 $as_echo_n "checking for _hypotl declaration... " >&6; }
32404 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32405 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32406 $as_echo_n "(cached) " >&6
32407 else
32410 ac_ext=cpp
32411 ac_cpp='$CXXCPP $CPPFLAGS'
32412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32417 /* end confdefs.h. */
32418 #include <math.h>
32420 main ()
32422 _hypotl(0, 0);
32424 return 0;
32426 _ACEOF
32427 if ac_fn_cxx_try_compile "$LINENO"; then :
32428 glibcxx_cv_func__hypotl_use=yes
32429 else
32430 glibcxx_cv_func__hypotl_use=no
32432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32433 ac_ext=c
32434 ac_cpp='$CPP $CPPFLAGS'
32435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32444 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32446 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32447 for ac_func in _hypotl
32448 do :
32449 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32450 if test "x$ac_cv_func__hypotl" = x""yes; then :
32451 cat >>confdefs.h <<_ACEOF
32452 #define HAVE__HYPOTL 1
32453 _ACEOF
32456 done
32465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32466 $as_echo_n "checking for ldexpl declaration... " >&6; }
32467 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32468 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32469 $as_echo_n "(cached) " >&6
32470 else
32473 ac_ext=cpp
32474 ac_cpp='$CXXCPP $CPPFLAGS'
32475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32480 /* end confdefs.h. */
32481 #include <math.h>
32483 main ()
32485 ldexpl(0, 0);
32487 return 0;
32489 _ACEOF
32490 if ac_fn_cxx_try_compile "$LINENO"; then :
32491 glibcxx_cv_func_ldexpl_use=yes
32492 else
32493 glibcxx_cv_func_ldexpl_use=no
32495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32496 ac_ext=c
32497 ac_cpp='$CPP $CPPFLAGS'
32498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32507 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32509 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32510 for ac_func in ldexpl
32511 do :
32512 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32513 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32514 cat >>confdefs.h <<_ACEOF
32515 #define HAVE_LDEXPL 1
32516 _ACEOF
32519 done
32521 else
32523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32524 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32525 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32526 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32527 $as_echo_n "(cached) " >&6
32528 else
32531 ac_ext=cpp
32532 ac_cpp='$CXXCPP $CPPFLAGS'
32533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32538 /* end confdefs.h. */
32539 #include <math.h>
32541 main ()
32543 _ldexpl(0, 0);
32545 return 0;
32547 _ACEOF
32548 if ac_fn_cxx_try_compile "$LINENO"; then :
32549 glibcxx_cv_func__ldexpl_use=yes
32550 else
32551 glibcxx_cv_func__ldexpl_use=no
32553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32554 ac_ext=c
32555 ac_cpp='$CPP $CPPFLAGS'
32556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32565 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32567 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32568 for ac_func in _ldexpl
32569 do :
32570 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32571 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32572 cat >>confdefs.h <<_ACEOF
32573 #define HAVE__LDEXPL 1
32574 _ACEOF
32577 done
32586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32587 $as_echo_n "checking for logl declaration... " >&6; }
32588 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32589 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32590 $as_echo_n "(cached) " >&6
32591 else
32594 ac_ext=cpp
32595 ac_cpp='$CXXCPP $CPPFLAGS'
32596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32601 /* end confdefs.h. */
32602 #include <math.h>
32603 #ifdef HAVE_IEEEFP_H
32604 #include <ieeefp.h>
32605 #endif
32608 main ()
32610 logl(0);
32612 return 0;
32614 _ACEOF
32615 if ac_fn_cxx_try_compile "$LINENO"; then :
32616 glibcxx_cv_func_logl_use=yes
32617 else
32618 glibcxx_cv_func_logl_use=no
32620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32621 ac_ext=c
32622 ac_cpp='$CPP $CPPFLAGS'
32623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32632 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32634 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32635 for ac_func in logl
32636 do :
32637 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32638 if test "x$ac_cv_func_logl" = x""yes; then :
32639 cat >>confdefs.h <<_ACEOF
32640 #define HAVE_LOGL 1
32641 _ACEOF
32644 done
32646 else
32648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32649 $as_echo_n "checking for _logl declaration... " >&6; }
32650 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32651 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32652 $as_echo_n "(cached) " >&6
32653 else
32656 ac_ext=cpp
32657 ac_cpp='$CXXCPP $CPPFLAGS'
32658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32663 /* end confdefs.h. */
32664 #include <math.h>
32665 #ifdef HAVE_IEEEFP_H
32666 #include <ieeefp.h>
32667 #endif
32670 main ()
32672 _logl(0);
32674 return 0;
32676 _ACEOF
32677 if ac_fn_cxx_try_compile "$LINENO"; then :
32678 glibcxx_cv_func__logl_use=yes
32679 else
32680 glibcxx_cv_func__logl_use=no
32682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32683 ac_ext=c
32684 ac_cpp='$CPP $CPPFLAGS'
32685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32694 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32696 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32697 for ac_func in _logl
32698 do :
32699 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32700 if test "x$ac_cv_func__logl" = x""yes; then :
32701 cat >>confdefs.h <<_ACEOF
32702 #define HAVE__LOGL 1
32703 _ACEOF
32706 done
32715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32716 $as_echo_n "checking for log10l declaration... " >&6; }
32717 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32718 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32719 $as_echo_n "(cached) " >&6
32720 else
32723 ac_ext=cpp
32724 ac_cpp='$CXXCPP $CPPFLAGS'
32725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32730 /* end confdefs.h. */
32731 #include <math.h>
32732 #ifdef HAVE_IEEEFP_H
32733 #include <ieeefp.h>
32734 #endif
32737 main ()
32739 log10l(0);
32741 return 0;
32743 _ACEOF
32744 if ac_fn_cxx_try_compile "$LINENO"; then :
32745 glibcxx_cv_func_log10l_use=yes
32746 else
32747 glibcxx_cv_func_log10l_use=no
32749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32750 ac_ext=c
32751 ac_cpp='$CPP $CPPFLAGS'
32752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32761 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32763 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32764 for ac_func in log10l
32765 do :
32766 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32767 if test "x$ac_cv_func_log10l" = x""yes; then :
32768 cat >>confdefs.h <<_ACEOF
32769 #define HAVE_LOG10L 1
32770 _ACEOF
32773 done
32775 else
32777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32778 $as_echo_n "checking for _log10l declaration... " >&6; }
32779 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32780 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32781 $as_echo_n "(cached) " >&6
32782 else
32785 ac_ext=cpp
32786 ac_cpp='$CXXCPP $CPPFLAGS'
32787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32792 /* end confdefs.h. */
32793 #include <math.h>
32794 #ifdef HAVE_IEEEFP_H
32795 #include <ieeefp.h>
32796 #endif
32799 main ()
32801 _log10l(0);
32803 return 0;
32805 _ACEOF
32806 if ac_fn_cxx_try_compile "$LINENO"; then :
32807 glibcxx_cv_func__log10l_use=yes
32808 else
32809 glibcxx_cv_func__log10l_use=no
32811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32812 ac_ext=c
32813 ac_cpp='$CPP $CPPFLAGS'
32814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32823 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32825 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32826 for ac_func in _log10l
32827 do :
32828 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32829 if test "x$ac_cv_func__log10l" = x""yes; then :
32830 cat >>confdefs.h <<_ACEOF
32831 #define HAVE__LOG10L 1
32832 _ACEOF
32835 done
32844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32845 $as_echo_n "checking for modfl declaration... " >&6; }
32846 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32847 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32848 $as_echo_n "(cached) " >&6
32849 else
32852 ac_ext=cpp
32853 ac_cpp='$CXXCPP $CPPFLAGS'
32854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32859 /* end confdefs.h. */
32860 #include <math.h>
32862 main ()
32864 modfl(0, 0);
32866 return 0;
32868 _ACEOF
32869 if ac_fn_cxx_try_compile "$LINENO"; then :
32870 glibcxx_cv_func_modfl_use=yes
32871 else
32872 glibcxx_cv_func_modfl_use=no
32874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32875 ac_ext=c
32876 ac_cpp='$CPP $CPPFLAGS'
32877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32886 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32888 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32889 for ac_func in modfl
32890 do :
32891 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32892 if test "x$ac_cv_func_modfl" = x""yes; then :
32893 cat >>confdefs.h <<_ACEOF
32894 #define HAVE_MODFL 1
32895 _ACEOF
32898 done
32900 else
32902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32903 $as_echo_n "checking for _modfl declaration... " >&6; }
32904 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32905 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32906 $as_echo_n "(cached) " >&6
32907 else
32910 ac_ext=cpp
32911 ac_cpp='$CXXCPP $CPPFLAGS'
32912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32917 /* end confdefs.h. */
32918 #include <math.h>
32920 main ()
32922 _modfl(0, 0);
32924 return 0;
32926 _ACEOF
32927 if ac_fn_cxx_try_compile "$LINENO"; then :
32928 glibcxx_cv_func__modfl_use=yes
32929 else
32930 glibcxx_cv_func__modfl_use=no
32932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32933 ac_ext=c
32934 ac_cpp='$CPP $CPPFLAGS'
32935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32944 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32946 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32947 for ac_func in _modfl
32948 do :
32949 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32950 if test "x$ac_cv_func__modfl" = x""yes; then :
32951 cat >>confdefs.h <<_ACEOF
32952 #define HAVE__MODFL 1
32953 _ACEOF
32956 done
32965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32966 $as_echo_n "checking for powl declaration... " >&6; }
32967 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32968 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32969 $as_echo_n "(cached) " >&6
32970 else
32973 ac_ext=cpp
32974 ac_cpp='$CXXCPP $CPPFLAGS'
32975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32980 /* end confdefs.h. */
32981 #include <math.h>
32983 main ()
32985 powl(0, 0);
32987 return 0;
32989 _ACEOF
32990 if ac_fn_cxx_try_compile "$LINENO"; then :
32991 glibcxx_cv_func_powl_use=yes
32992 else
32993 glibcxx_cv_func_powl_use=no
32995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32996 ac_ext=c
32997 ac_cpp='$CPP $CPPFLAGS'
32998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33007 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33009 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33010 for ac_func in powl
33011 do :
33012 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33013 if test "x$ac_cv_func_powl" = x""yes; then :
33014 cat >>confdefs.h <<_ACEOF
33015 #define HAVE_POWL 1
33016 _ACEOF
33019 done
33021 else
33023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33024 $as_echo_n "checking for _powl declaration... " >&6; }
33025 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33026 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33027 $as_echo_n "(cached) " >&6
33028 else
33031 ac_ext=cpp
33032 ac_cpp='$CXXCPP $CPPFLAGS'
33033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33038 /* end confdefs.h. */
33039 #include <math.h>
33041 main ()
33043 _powl(0, 0);
33045 return 0;
33047 _ACEOF
33048 if ac_fn_cxx_try_compile "$LINENO"; then :
33049 glibcxx_cv_func__powl_use=yes
33050 else
33051 glibcxx_cv_func__powl_use=no
33053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33054 ac_ext=c
33055 ac_cpp='$CPP $CPPFLAGS'
33056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33065 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33067 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33068 for ac_func in _powl
33069 do :
33070 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33071 if test "x$ac_cv_func__powl" = x""yes; then :
33072 cat >>confdefs.h <<_ACEOF
33073 #define HAVE__POWL 1
33074 _ACEOF
33077 done
33086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33087 $as_echo_n "checking for sqrtl declaration... " >&6; }
33088 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33089 if test "${glibcxx_cv_func_sqrtl_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 <math.h>
33103 #ifdef HAVE_IEEEFP_H
33104 #include <ieeefp.h>
33105 #endif
33108 main ()
33110 sqrtl(0);
33112 return 0;
33114 _ACEOF
33115 if ac_fn_cxx_try_compile "$LINENO"; then :
33116 glibcxx_cv_func_sqrtl_use=yes
33117 else
33118 glibcxx_cv_func_sqrtl_use=no
33120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33121 ac_ext=c
33122 ac_cpp='$CPP $CPPFLAGS'
33123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33132 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33134 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33135 for ac_func in sqrtl
33136 do :
33137 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33138 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33139 cat >>confdefs.h <<_ACEOF
33140 #define HAVE_SQRTL 1
33141 _ACEOF
33144 done
33146 else
33148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33149 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33150 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33151 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33152 $as_echo_n "(cached) " >&6
33153 else
33156 ac_ext=cpp
33157 ac_cpp='$CXXCPP $CPPFLAGS'
33158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33163 /* end confdefs.h. */
33164 #include <math.h>
33165 #ifdef HAVE_IEEEFP_H
33166 #include <ieeefp.h>
33167 #endif
33170 main ()
33172 _sqrtl(0);
33174 return 0;
33176 _ACEOF
33177 if ac_fn_cxx_try_compile "$LINENO"; then :
33178 glibcxx_cv_func__sqrtl_use=yes
33179 else
33180 glibcxx_cv_func__sqrtl_use=no
33182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33183 ac_ext=c
33184 ac_cpp='$CPP $CPPFLAGS'
33185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33194 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33196 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33197 for ac_func in _sqrtl
33198 do :
33199 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33200 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33201 cat >>confdefs.h <<_ACEOF
33202 #define HAVE__SQRTL 1
33203 _ACEOF
33206 done
33215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33216 $as_echo_n "checking for sincosl declaration... " >&6; }
33217 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33218 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33219 $as_echo_n "(cached) " >&6
33220 else
33223 ac_ext=cpp
33224 ac_cpp='$CXXCPP $CPPFLAGS'
33225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33230 /* end confdefs.h. */
33231 #include <math.h>
33233 main ()
33235 sincosl(0, 0, 0);
33237 return 0;
33239 _ACEOF
33240 if ac_fn_cxx_try_compile "$LINENO"; then :
33241 glibcxx_cv_func_sincosl_use=yes
33242 else
33243 glibcxx_cv_func_sincosl_use=no
33245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33246 ac_ext=c
33247 ac_cpp='$CPP $CPPFLAGS'
33248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33257 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33259 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33260 for ac_func in sincosl
33261 do :
33262 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33263 if test "x$ac_cv_func_sincosl" = x""yes; then :
33264 cat >>confdefs.h <<_ACEOF
33265 #define HAVE_SINCOSL 1
33266 _ACEOF
33269 done
33271 else
33273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33274 $as_echo_n "checking for _sincosl declaration... " >&6; }
33275 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33276 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33277 $as_echo_n "(cached) " >&6
33278 else
33281 ac_ext=cpp
33282 ac_cpp='$CXXCPP $CPPFLAGS'
33283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33288 /* end confdefs.h. */
33289 #include <math.h>
33291 main ()
33293 _sincosl(0, 0, 0);
33295 return 0;
33297 _ACEOF
33298 if ac_fn_cxx_try_compile "$LINENO"; then :
33299 glibcxx_cv_func__sincosl_use=yes
33300 else
33301 glibcxx_cv_func__sincosl_use=no
33303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33304 ac_ext=c
33305 ac_cpp='$CPP $CPPFLAGS'
33306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33315 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33317 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33318 for ac_func in _sincosl
33319 do :
33320 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33321 if test "x$ac_cv_func__sincosl" = x""yes; then :
33322 cat >>confdefs.h <<_ACEOF
33323 #define HAVE__SINCOSL 1
33324 _ACEOF
33327 done
33336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33337 $as_echo_n "checking for finitel declaration... " >&6; }
33338 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33339 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33340 $as_echo_n "(cached) " >&6
33341 else
33344 ac_ext=cpp
33345 ac_cpp='$CXXCPP $CPPFLAGS'
33346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33351 /* end confdefs.h. */
33352 #include <math.h>
33353 #ifdef HAVE_IEEEFP_H
33354 #include <ieeefp.h>
33355 #endif
33358 main ()
33360 finitel(0);
33362 return 0;
33364 _ACEOF
33365 if ac_fn_cxx_try_compile "$LINENO"; then :
33366 glibcxx_cv_func_finitel_use=yes
33367 else
33368 glibcxx_cv_func_finitel_use=no
33370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33371 ac_ext=c
33372 ac_cpp='$CPP $CPPFLAGS'
33373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33382 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33384 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33385 for ac_func in finitel
33386 do :
33387 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33388 if test "x$ac_cv_func_finitel" = x""yes; then :
33389 cat >>confdefs.h <<_ACEOF
33390 #define HAVE_FINITEL 1
33391 _ACEOF
33394 done
33396 else
33398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33399 $as_echo_n "checking for _finitel declaration... " >&6; }
33400 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33401 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33402 $as_echo_n "(cached) " >&6
33403 else
33406 ac_ext=cpp
33407 ac_cpp='$CXXCPP $CPPFLAGS'
33408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33413 /* end confdefs.h. */
33414 #include <math.h>
33415 #ifdef HAVE_IEEEFP_H
33416 #include <ieeefp.h>
33417 #endif
33420 main ()
33422 _finitel(0);
33424 return 0;
33426 _ACEOF
33427 if ac_fn_cxx_try_compile "$LINENO"; then :
33428 glibcxx_cv_func__finitel_use=yes
33429 else
33430 glibcxx_cv_func__finitel_use=no
33432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33433 ac_ext=c
33434 ac_cpp='$CPP $CPPFLAGS'
33435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33444 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33446 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33447 for ac_func in _finitel
33448 do :
33449 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33450 if test "x$ac_cv_func__finitel" = x""yes; then :
33451 cat >>confdefs.h <<_ACEOF
33452 #define HAVE__FINITEL 1
33453 _ACEOF
33456 done
33464 LIBS="$ac_save_LIBS"
33465 CXXFLAGS="$ac_save_CXXFLAGS"
33468 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33469 ac_save_CXXFLAGS="$CXXFLAGS"
33470 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33474 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33475 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33476 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33477 $as_echo_n "(cached) " >&6
33478 else
33481 ac_ext=cpp
33482 ac_cpp='$CXXCPP $CPPFLAGS'
33483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33488 /* end confdefs.h. */
33489 #include <stdlib.h>
33491 main ()
33493 at_quick_exit(0);
33495 return 0;
33497 _ACEOF
33498 if ac_fn_cxx_try_compile "$LINENO"; then :
33499 glibcxx_cv_func_at_quick_exit_use=yes
33500 else
33501 glibcxx_cv_func_at_quick_exit_use=no
33503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33504 ac_ext=c
33505 ac_cpp='$CPP $CPPFLAGS'
33506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33515 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33516 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33517 for ac_func in at_quick_exit
33518 do :
33519 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33520 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33521 cat >>confdefs.h <<_ACEOF
33522 #define HAVE_AT_QUICK_EXIT 1
33523 _ACEOF
33526 done
33531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33532 $as_echo_n "checking for quick_exit declaration... " >&6; }
33533 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33534 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33535 $as_echo_n "(cached) " >&6
33536 else
33539 ac_ext=cpp
33540 ac_cpp='$CXXCPP $CPPFLAGS'
33541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33546 /* end confdefs.h. */
33547 #include <stdlib.h>
33549 main ()
33551 quick_exit(0);
33553 return 0;
33555 _ACEOF
33556 if ac_fn_cxx_try_compile "$LINENO"; then :
33557 glibcxx_cv_func_quick_exit_use=yes
33558 else
33559 glibcxx_cv_func_quick_exit_use=no
33561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33562 ac_ext=c
33563 ac_cpp='$CPP $CPPFLAGS'
33564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33573 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33574 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33575 for ac_func in quick_exit
33576 do :
33577 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33578 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33579 cat >>confdefs.h <<_ACEOF
33580 #define HAVE_QUICK_EXIT 1
33581 _ACEOF
33584 done
33589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33590 $as_echo_n "checking for strtold declaration... " >&6; }
33591 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33592 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33593 $as_echo_n "(cached) " >&6
33594 else
33597 ac_ext=cpp
33598 ac_cpp='$CXXCPP $CPPFLAGS'
33599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33604 /* end confdefs.h. */
33605 #include <stdlib.h>
33607 main ()
33609 strtold(0, 0);
33611 return 0;
33613 _ACEOF
33614 if ac_fn_cxx_try_compile "$LINENO"; then :
33615 glibcxx_cv_func_strtold_use=yes
33616 else
33617 glibcxx_cv_func_strtold_use=no
33619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33620 ac_ext=c
33621 ac_cpp='$CPP $CPPFLAGS'
33622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33631 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33632 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33633 for ac_func in strtold
33634 do :
33635 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33636 if test "x$ac_cv_func_strtold" = x""yes; then :
33637 cat >>confdefs.h <<_ACEOF
33638 #define HAVE_STRTOLD 1
33639 _ACEOF
33642 done
33649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33650 $as_echo_n "checking for strtof declaration... " >&6; }
33651 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33652 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33653 $as_echo_n "(cached) " >&6
33654 else
33657 ac_ext=cpp
33658 ac_cpp='$CXXCPP $CPPFLAGS'
33659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33664 /* end confdefs.h. */
33665 #include <stdlib.h>
33667 main ()
33669 strtof(0, 0);
33671 return 0;
33673 _ACEOF
33674 if ac_fn_cxx_try_compile "$LINENO"; then :
33675 glibcxx_cv_func_strtof_use=yes
33676 else
33677 glibcxx_cv_func_strtof_use=no
33679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33680 ac_ext=c
33681 ac_cpp='$CPP $CPPFLAGS'
33682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33691 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33692 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33693 for ac_func in strtof
33694 do :
33695 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33696 if test "x$ac_cv_func_strtof" = x""yes; then :
33697 cat >>confdefs.h <<_ACEOF
33698 #define HAVE_STRTOF 1
33699 _ACEOF
33702 done
33709 CXXFLAGS="$ac_save_CXXFLAGS"
33712 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33714 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33716 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33718 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33721 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33723 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33725 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33729 *-aix*)
33731 # If we're not using GNU ld, then there's no point in even trying these
33732 # tests. Check for that first. We should have already tested for gld
33733 # by now (in libtool), but require it now just to be safe...
33734 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33735 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33739 # The name set by libtool depends on the version of libtool. Shame on us
33740 # for depending on an impl detail, but c'est la vie. Older versions used
33741 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33742 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33743 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33744 # set (hence we're using an older libtool), then set it.
33745 if test x${with_gnu_ld+set} != xset; then
33746 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33747 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33748 with_gnu_ld=no
33749 else
33750 with_gnu_ld=$ac_cv_prog_gnu_ld
33754 # Start by getting the version number. I think the libtool test already
33755 # does some of this, but throws away the result.
33756 glibcxx_ld_is_gold=no
33757 if test x"$with_gnu_ld" = x"yes"; then
33758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33759 $as_echo_n "checking for ld version... " >&6; }
33761 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33762 glibcxx_ld_is_gold=yes
33764 ldver=`$LD --version 2>/dev/null |
33765 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'`
33767 glibcxx_gnu_ld_version=`echo $ldver | \
33768 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33770 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33773 # Set --gc-sections.
33774 glibcxx_have_gc_sections=no
33775 if test "$glibcxx_ld_is_gold" = "yes"; then
33776 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33777 glibcxx_have_gc_sections=yes
33779 else
33780 glibcxx_gcsections_min_ld=21602
33781 if test x"$with_gnu_ld" = x"yes" &&
33782 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33783 glibcxx_have_gc_sections=yes
33786 if test "$glibcxx_have_gc_sections" = "yes"; then
33787 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33788 # NB: This flag only works reliably after 2.16.1. Configure tests
33789 # for this are difficult, so hard wire a value that should work.
33791 ac_test_CFLAGS="${CFLAGS+set}"
33792 ac_save_CFLAGS="$CFLAGS"
33793 CFLAGS='-Wl,--gc-sections'
33795 # Check for -Wl,--gc-sections
33796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33797 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33798 if test x$gcc_no_link = xyes; then
33799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33802 /* end confdefs.h. */
33803 int one(void) { return 1; }
33804 int two(void) { return 2; }
33807 main ()
33809 two();
33811 return 0;
33813 _ACEOF
33814 if ac_fn_c_try_link "$LINENO"; then :
33815 ac_gcsections=yes
33816 else
33817 ac_gcsections=no
33819 rm -f core conftest.err conftest.$ac_objext \
33820 conftest$ac_exeext conftest.$ac_ext
33821 if test "$ac_gcsections" = "yes"; then
33822 rm -f conftest.c
33823 touch conftest.c
33824 if $CC -c conftest.c; then
33825 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33826 grep "Warning: gc-sections option ignored" > /dev/null; then
33827 ac_gcsections=no
33830 rm -f conftest.c conftest.o conftest
33832 if test "$ac_gcsections" = "yes"; then
33833 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33836 $as_echo "$ac_gcsections" >&6; }
33838 if test "$ac_test_CFLAGS" = set; then
33839 CFLAGS="$ac_save_CFLAGS"
33840 else
33841 # this is the suspicious part
33842 CFLAGS=''
33846 # Set -z,relro.
33847 # Note this is only for shared objects.
33848 ac_ld_relro=no
33849 if test x"$with_gnu_ld" = x"yes"; then
33850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33851 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33852 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33853 if test -n "$cxx_z_relo"; then
33854 OPT_LDFLAGS="-Wl,-z,relro"
33855 ac_ld_relro=yes
33857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33858 $as_echo "$ac_ld_relro" >&6; }
33861 # Set linker optimization flags.
33862 if test x"$with_gnu_ld" = x"yes"; then
33863 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33870 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33871 ac_save_CXXFLAGS="$CXXFLAGS"
33872 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33875 $as_echo_n "checking for sin in -lm... " >&6; }
33876 if test "${ac_cv_lib_m_sin+set}" = set; then :
33877 $as_echo_n "(cached) " >&6
33878 else
33879 ac_check_lib_save_LIBS=$LIBS
33880 LIBS="-lm $LIBS"
33881 if test x$gcc_no_link = xyes; then
33882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33885 /* end confdefs.h. */
33887 /* Override any GCC internal prototype to avoid an error.
33888 Use char because int might match the return type of a GCC
33889 builtin and then its argument prototype would still apply. */
33890 #ifdef __cplusplus
33891 extern "C"
33892 #endif
33893 char sin ();
33895 main ()
33897 return sin ();
33899 return 0;
33901 _ACEOF
33902 if ac_fn_c_try_link "$LINENO"; then :
33903 ac_cv_lib_m_sin=yes
33904 else
33905 ac_cv_lib_m_sin=no
33907 rm -f core conftest.err conftest.$ac_objext \
33908 conftest$ac_exeext conftest.$ac_ext
33909 LIBS=$ac_check_lib_save_LIBS
33911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33912 $as_echo "$ac_cv_lib_m_sin" >&6; }
33913 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33914 libm="-lm"
33917 ac_save_LIBS="$LIBS"
33918 LIBS="$LIBS $libm"
33922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33923 $as_echo_n "checking for isinf declaration... " >&6; }
33924 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33925 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33926 $as_echo_n "(cached) " >&6
33927 else
33930 ac_ext=cpp
33931 ac_cpp='$CXXCPP $CPPFLAGS'
33932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33937 /* end confdefs.h. */
33938 #include <math.h>
33939 #ifdef HAVE_IEEEFP_H
33940 #include <ieeefp.h>
33941 #endif
33944 main ()
33946 isinf(0);
33948 return 0;
33950 _ACEOF
33951 if ac_fn_cxx_try_compile "$LINENO"; then :
33952 glibcxx_cv_func_isinf_use=yes
33953 else
33954 glibcxx_cv_func_isinf_use=no
33956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33957 ac_ext=c
33958 ac_cpp='$CPP $CPPFLAGS'
33959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33968 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33970 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33971 for ac_func in isinf
33972 do :
33973 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33974 if test "x$ac_cv_func_isinf" = x""yes; then :
33975 cat >>confdefs.h <<_ACEOF
33976 #define HAVE_ISINF 1
33977 _ACEOF
33980 done
33982 else
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33985 $as_echo_n "checking for _isinf declaration... " >&6; }
33986 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33987 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33988 $as_echo_n "(cached) " >&6
33989 else
33992 ac_ext=cpp
33993 ac_cpp='$CXXCPP $CPPFLAGS'
33994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33999 /* end confdefs.h. */
34000 #include <math.h>
34001 #ifdef HAVE_IEEEFP_H
34002 #include <ieeefp.h>
34003 #endif
34006 main ()
34008 _isinf(0);
34010 return 0;
34012 _ACEOF
34013 if ac_fn_cxx_try_compile "$LINENO"; then :
34014 glibcxx_cv_func__isinf_use=yes
34015 else
34016 glibcxx_cv_func__isinf_use=no
34018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34019 ac_ext=c
34020 ac_cpp='$CPP $CPPFLAGS'
34021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34030 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34032 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34033 for ac_func in _isinf
34034 do :
34035 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34036 if test "x$ac_cv_func__isinf" = x""yes; then :
34037 cat >>confdefs.h <<_ACEOF
34038 #define HAVE__ISINF 1
34039 _ACEOF
34042 done
34051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34052 $as_echo_n "checking for isnan declaration... " >&6; }
34053 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34054 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34055 $as_echo_n "(cached) " >&6
34056 else
34059 ac_ext=cpp
34060 ac_cpp='$CXXCPP $CPPFLAGS'
34061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34066 /* end confdefs.h. */
34067 #include <math.h>
34068 #ifdef HAVE_IEEEFP_H
34069 #include <ieeefp.h>
34070 #endif
34073 main ()
34075 isnan(0);
34077 return 0;
34079 _ACEOF
34080 if ac_fn_cxx_try_compile "$LINENO"; then :
34081 glibcxx_cv_func_isnan_use=yes
34082 else
34083 glibcxx_cv_func_isnan_use=no
34085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34086 ac_ext=c
34087 ac_cpp='$CPP $CPPFLAGS'
34088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34097 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34099 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34100 for ac_func in isnan
34101 do :
34102 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34103 if test "x$ac_cv_func_isnan" = x""yes; then :
34104 cat >>confdefs.h <<_ACEOF
34105 #define HAVE_ISNAN 1
34106 _ACEOF
34109 done
34111 else
34113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34114 $as_echo_n "checking for _isnan declaration... " >&6; }
34115 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34116 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34117 $as_echo_n "(cached) " >&6
34118 else
34121 ac_ext=cpp
34122 ac_cpp='$CXXCPP $CPPFLAGS'
34123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34128 /* end confdefs.h. */
34129 #include <math.h>
34130 #ifdef HAVE_IEEEFP_H
34131 #include <ieeefp.h>
34132 #endif
34135 main ()
34137 _isnan(0);
34139 return 0;
34141 _ACEOF
34142 if ac_fn_cxx_try_compile "$LINENO"; then :
34143 glibcxx_cv_func__isnan_use=yes
34144 else
34145 glibcxx_cv_func__isnan_use=no
34147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34148 ac_ext=c
34149 ac_cpp='$CPP $CPPFLAGS'
34150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34159 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34161 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34162 for ac_func in _isnan
34163 do :
34164 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34165 if test "x$ac_cv_func__isnan" = x""yes; then :
34166 cat >>confdefs.h <<_ACEOF
34167 #define HAVE__ISNAN 1
34168 _ACEOF
34171 done
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34181 $as_echo_n "checking for finite declaration... " >&6; }
34182 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34183 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34184 $as_echo_n "(cached) " >&6
34185 else
34188 ac_ext=cpp
34189 ac_cpp='$CXXCPP $CPPFLAGS'
34190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34195 /* end confdefs.h. */
34196 #include <math.h>
34197 #ifdef HAVE_IEEEFP_H
34198 #include <ieeefp.h>
34199 #endif
34202 main ()
34204 finite(0);
34206 return 0;
34208 _ACEOF
34209 if ac_fn_cxx_try_compile "$LINENO"; then :
34210 glibcxx_cv_func_finite_use=yes
34211 else
34212 glibcxx_cv_func_finite_use=no
34214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34215 ac_ext=c
34216 ac_cpp='$CPP $CPPFLAGS'
34217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34226 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34228 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34229 for ac_func in finite
34230 do :
34231 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34232 if test "x$ac_cv_func_finite" = x""yes; then :
34233 cat >>confdefs.h <<_ACEOF
34234 #define HAVE_FINITE 1
34235 _ACEOF
34238 done
34240 else
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34243 $as_echo_n "checking for _finite declaration... " >&6; }
34244 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34245 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34246 $as_echo_n "(cached) " >&6
34247 else
34250 ac_ext=cpp
34251 ac_cpp='$CXXCPP $CPPFLAGS'
34252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34257 /* end confdefs.h. */
34258 #include <math.h>
34259 #ifdef HAVE_IEEEFP_H
34260 #include <ieeefp.h>
34261 #endif
34264 main ()
34266 _finite(0);
34268 return 0;
34270 _ACEOF
34271 if ac_fn_cxx_try_compile "$LINENO"; then :
34272 glibcxx_cv_func__finite_use=yes
34273 else
34274 glibcxx_cv_func__finite_use=no
34276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34277 ac_ext=c
34278 ac_cpp='$CPP $CPPFLAGS'
34279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34288 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34290 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34291 for ac_func in _finite
34292 do :
34293 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34294 if test "x$ac_cv_func__finite" = x""yes; then :
34295 cat >>confdefs.h <<_ACEOF
34296 #define HAVE__FINITE 1
34297 _ACEOF
34300 done
34309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34310 $as_echo_n "checking for sincos declaration... " >&6; }
34311 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34312 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34313 $as_echo_n "(cached) " >&6
34314 else
34317 ac_ext=cpp
34318 ac_cpp='$CXXCPP $CPPFLAGS'
34319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34324 /* end confdefs.h. */
34325 #include <math.h>
34327 main ()
34329 sincos(0, 0, 0);
34331 return 0;
34333 _ACEOF
34334 if ac_fn_cxx_try_compile "$LINENO"; then :
34335 glibcxx_cv_func_sincos_use=yes
34336 else
34337 glibcxx_cv_func_sincos_use=no
34339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34340 ac_ext=c
34341 ac_cpp='$CPP $CPPFLAGS'
34342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34351 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34353 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34354 for ac_func in sincos
34355 do :
34356 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34357 if test "x$ac_cv_func_sincos" = x""yes; then :
34358 cat >>confdefs.h <<_ACEOF
34359 #define HAVE_SINCOS 1
34360 _ACEOF
34363 done
34365 else
34367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34368 $as_echo_n "checking for _sincos declaration... " >&6; }
34369 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34370 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34371 $as_echo_n "(cached) " >&6
34372 else
34375 ac_ext=cpp
34376 ac_cpp='$CXXCPP $CPPFLAGS'
34377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34382 /* end confdefs.h. */
34383 #include <math.h>
34385 main ()
34387 _sincos(0, 0, 0);
34389 return 0;
34391 _ACEOF
34392 if ac_fn_cxx_try_compile "$LINENO"; then :
34393 glibcxx_cv_func__sincos_use=yes
34394 else
34395 glibcxx_cv_func__sincos_use=no
34397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34398 ac_ext=c
34399 ac_cpp='$CPP $CPPFLAGS'
34400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34409 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34411 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34412 for ac_func in _sincos
34413 do :
34414 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34415 if test "x$ac_cv_func__sincos" = x""yes; then :
34416 cat >>confdefs.h <<_ACEOF
34417 #define HAVE__SINCOS 1
34418 _ACEOF
34421 done
34430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34431 $as_echo_n "checking for fpclass declaration... " >&6; }
34432 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34433 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34434 $as_echo_n "(cached) " >&6
34435 else
34438 ac_ext=cpp
34439 ac_cpp='$CXXCPP $CPPFLAGS'
34440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34445 /* end confdefs.h. */
34446 #include <math.h>
34447 #ifdef HAVE_IEEEFP_H
34448 #include <ieeefp.h>
34449 #endif
34452 main ()
34454 fpclass(0);
34456 return 0;
34458 _ACEOF
34459 if ac_fn_cxx_try_compile "$LINENO"; then :
34460 glibcxx_cv_func_fpclass_use=yes
34461 else
34462 glibcxx_cv_func_fpclass_use=no
34464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34465 ac_ext=c
34466 ac_cpp='$CPP $CPPFLAGS'
34467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34476 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34478 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34479 for ac_func in fpclass
34480 do :
34481 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34482 if test "x$ac_cv_func_fpclass" = x""yes; then :
34483 cat >>confdefs.h <<_ACEOF
34484 #define HAVE_FPCLASS 1
34485 _ACEOF
34488 done
34490 else
34492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34493 $as_echo_n "checking for _fpclass declaration... " >&6; }
34494 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34495 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34496 $as_echo_n "(cached) " >&6
34497 else
34500 ac_ext=cpp
34501 ac_cpp='$CXXCPP $CPPFLAGS'
34502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34507 /* end confdefs.h. */
34508 #include <math.h>
34509 #ifdef HAVE_IEEEFP_H
34510 #include <ieeefp.h>
34511 #endif
34514 main ()
34516 _fpclass(0);
34518 return 0;
34520 _ACEOF
34521 if ac_fn_cxx_try_compile "$LINENO"; then :
34522 glibcxx_cv_func__fpclass_use=yes
34523 else
34524 glibcxx_cv_func__fpclass_use=no
34526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34527 ac_ext=c
34528 ac_cpp='$CPP $CPPFLAGS'
34529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34538 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34540 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34541 for ac_func in _fpclass
34542 do :
34543 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34544 if test "x$ac_cv_func__fpclass" = x""yes; then :
34545 cat >>confdefs.h <<_ACEOF
34546 #define HAVE__FPCLASS 1
34547 _ACEOF
34550 done
34559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34560 $as_echo_n "checking for qfpclass declaration... " >&6; }
34561 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34562 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34563 $as_echo_n "(cached) " >&6
34564 else
34567 ac_ext=cpp
34568 ac_cpp='$CXXCPP $CPPFLAGS'
34569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34574 /* end confdefs.h. */
34575 #include <math.h>
34576 #ifdef HAVE_IEEEFP_H
34577 #include <ieeefp.h>
34578 #endif
34581 main ()
34583 qfpclass(0);
34585 return 0;
34587 _ACEOF
34588 if ac_fn_cxx_try_compile "$LINENO"; then :
34589 glibcxx_cv_func_qfpclass_use=yes
34590 else
34591 glibcxx_cv_func_qfpclass_use=no
34593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34594 ac_ext=c
34595 ac_cpp='$CPP $CPPFLAGS'
34596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34605 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34607 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34608 for ac_func in qfpclass
34609 do :
34610 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34611 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34612 cat >>confdefs.h <<_ACEOF
34613 #define HAVE_QFPCLASS 1
34614 _ACEOF
34617 done
34619 else
34621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34622 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34623 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34624 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34625 $as_echo_n "(cached) " >&6
34626 else
34629 ac_ext=cpp
34630 ac_cpp='$CXXCPP $CPPFLAGS'
34631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34636 /* end confdefs.h. */
34637 #include <math.h>
34638 #ifdef HAVE_IEEEFP_H
34639 #include <ieeefp.h>
34640 #endif
34643 main ()
34645 _qfpclass(0);
34647 return 0;
34649 _ACEOF
34650 if ac_fn_cxx_try_compile "$LINENO"; then :
34651 glibcxx_cv_func__qfpclass_use=yes
34652 else
34653 glibcxx_cv_func__qfpclass_use=no
34655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34656 ac_ext=c
34657 ac_cpp='$CPP $CPPFLAGS'
34658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34667 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34669 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34670 for ac_func in _qfpclass
34671 do :
34672 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34673 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34674 cat >>confdefs.h <<_ACEOF
34675 #define HAVE__QFPCLASS 1
34676 _ACEOF
34679 done
34688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34689 $as_echo_n "checking for hypot declaration... " >&6; }
34690 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34691 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34692 $as_echo_n "(cached) " >&6
34693 else
34696 ac_ext=cpp
34697 ac_cpp='$CXXCPP $CPPFLAGS'
34698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34703 /* end confdefs.h. */
34704 #include <math.h>
34706 main ()
34708 hypot(0, 0);
34710 return 0;
34712 _ACEOF
34713 if ac_fn_cxx_try_compile "$LINENO"; then :
34714 glibcxx_cv_func_hypot_use=yes
34715 else
34716 glibcxx_cv_func_hypot_use=no
34718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34719 ac_ext=c
34720 ac_cpp='$CPP $CPPFLAGS'
34721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34730 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34732 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34733 for ac_func in hypot
34734 do :
34735 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34736 if test "x$ac_cv_func_hypot" = x""yes; then :
34737 cat >>confdefs.h <<_ACEOF
34738 #define HAVE_HYPOT 1
34739 _ACEOF
34742 done
34744 else
34746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34747 $as_echo_n "checking for _hypot declaration... " >&6; }
34748 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34749 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34750 $as_echo_n "(cached) " >&6
34751 else
34754 ac_ext=cpp
34755 ac_cpp='$CXXCPP $CPPFLAGS'
34756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34761 /* end confdefs.h. */
34762 #include <math.h>
34764 main ()
34766 _hypot(0, 0);
34768 return 0;
34770 _ACEOF
34771 if ac_fn_cxx_try_compile "$LINENO"; then :
34772 glibcxx_cv_func__hypot_use=yes
34773 else
34774 glibcxx_cv_func__hypot_use=no
34776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34777 ac_ext=c
34778 ac_cpp='$CPP $CPPFLAGS'
34779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34788 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34790 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34791 for ac_func in _hypot
34792 do :
34793 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34794 if test "x$ac_cv_func__hypot" = x""yes; then :
34795 cat >>confdefs.h <<_ACEOF
34796 #define HAVE__HYPOT 1
34797 _ACEOF
34800 done
34809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34810 $as_echo_n "checking for float trig functions... " >&6; }
34811 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34812 $as_echo_n "(cached) " >&6
34813 else
34816 ac_ext=cpp
34817 ac_cpp='$CXXCPP $CPPFLAGS'
34818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34823 /* end confdefs.h. */
34824 #include <math.h>
34826 main ()
34828 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34830 return 0;
34832 _ACEOF
34833 if ac_fn_cxx_try_compile "$LINENO"; then :
34834 glibcxx_cv_func_float_trig_use=yes
34835 else
34836 glibcxx_cv_func_float_trig_use=no
34838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34839 ac_ext=c
34840 ac_cpp='$CPP $CPPFLAGS'
34841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34848 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34849 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34850 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34851 do :
34852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34854 eval as_val=\$$as_ac_var
34855 if test "x$as_val" = x""yes; then :
34856 cat >>confdefs.h <<_ACEOF
34857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34858 _ACEOF
34861 done
34863 else
34864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34865 $as_echo_n "checking for _float trig functions... " >&6; }
34866 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34867 $as_echo_n "(cached) " >&6
34868 else
34871 ac_ext=cpp
34872 ac_cpp='$CXXCPP $CPPFLAGS'
34873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34878 /* end confdefs.h. */
34879 #include <math.h>
34881 main ()
34883 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34885 return 0;
34887 _ACEOF
34888 if ac_fn_cxx_try_compile "$LINENO"; then :
34889 glibcxx_cv_func__float_trig_use=yes
34890 else
34891 glibcxx_cv_func__float_trig_use=no
34893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34894 ac_ext=c
34895 ac_cpp='$CPP $CPPFLAGS'
34896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34903 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34904 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34905 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34906 do :
34907 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34908 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34909 eval as_val=\$$as_ac_var
34910 if test "x$as_val" = x""yes; then :
34911 cat >>confdefs.h <<_ACEOF
34912 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34913 _ACEOF
34916 done
34925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34926 $as_echo_n "checking for float round functions... " >&6; }
34927 if test "${glibcxx_cv_func_float_round_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 ceilf (0); floorf (0);
34946 return 0;
34948 _ACEOF
34949 if ac_fn_cxx_try_compile "$LINENO"; then :
34950 glibcxx_cv_func_float_round_use=yes
34951 else
34952 glibcxx_cv_func_float_round_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
34963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34964 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34965 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34966 for ac_func in ceilf floorf
34967 do :
34968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34970 eval as_val=\$$as_ac_var
34971 if test "x$as_val" = x""yes; then :
34972 cat >>confdefs.h <<_ACEOF
34973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34974 _ACEOF
34977 done
34979 else
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34981 $as_echo_n "checking for _float round functions... " >&6; }
34982 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34983 $as_echo_n "(cached) " >&6
34984 else
34987 ac_ext=cpp
34988 ac_cpp='$CXXCPP $CPPFLAGS'
34989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34994 /* end confdefs.h. */
34995 #include <math.h>
34997 main ()
34999 _ceilf (0); _floorf (0);
35001 return 0;
35003 _ACEOF
35004 if ac_fn_cxx_try_compile "$LINENO"; then :
35005 glibcxx_cv_func__float_round_use=yes
35006 else
35007 glibcxx_cv_func__float_round_use=no
35009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35010 ac_ext=c
35011 ac_cpp='$CPP $CPPFLAGS'
35012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35019 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35020 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35021 for ac_func in _ceilf _floorf
35022 do :
35023 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35024 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35025 eval as_val=\$$as_ac_var
35026 if test "x$as_val" = x""yes; then :
35027 cat >>confdefs.h <<_ACEOF
35028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35029 _ACEOF
35032 done
35042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35043 $as_echo_n "checking for expf declaration... " >&6; }
35044 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35045 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35046 $as_echo_n "(cached) " >&6
35047 else
35050 ac_ext=cpp
35051 ac_cpp='$CXXCPP $CPPFLAGS'
35052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35057 /* end confdefs.h. */
35058 #include <math.h>
35059 #ifdef HAVE_IEEEFP_H
35060 #include <ieeefp.h>
35061 #endif
35064 main ()
35066 expf(0);
35068 return 0;
35070 _ACEOF
35071 if ac_fn_cxx_try_compile "$LINENO"; then :
35072 glibcxx_cv_func_expf_use=yes
35073 else
35074 glibcxx_cv_func_expf_use=no
35076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35077 ac_ext=c
35078 ac_cpp='$CPP $CPPFLAGS'
35079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35088 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35090 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35091 for ac_func in expf
35092 do :
35093 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35094 if test "x$ac_cv_func_expf" = x""yes; then :
35095 cat >>confdefs.h <<_ACEOF
35096 #define HAVE_EXPF 1
35097 _ACEOF
35100 done
35102 else
35104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35105 $as_echo_n "checking for _expf declaration... " >&6; }
35106 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35107 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35108 $as_echo_n "(cached) " >&6
35109 else
35112 ac_ext=cpp
35113 ac_cpp='$CXXCPP $CPPFLAGS'
35114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35119 /* end confdefs.h. */
35120 #include <math.h>
35121 #ifdef HAVE_IEEEFP_H
35122 #include <ieeefp.h>
35123 #endif
35126 main ()
35128 _expf(0);
35130 return 0;
35132 _ACEOF
35133 if ac_fn_cxx_try_compile "$LINENO"; then :
35134 glibcxx_cv_func__expf_use=yes
35135 else
35136 glibcxx_cv_func__expf_use=no
35138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35139 ac_ext=c
35140 ac_cpp='$CPP $CPPFLAGS'
35141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35150 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35152 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35153 for ac_func in _expf
35154 do :
35155 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35156 if test "x$ac_cv_func__expf" = x""yes; then :
35157 cat >>confdefs.h <<_ACEOF
35158 #define HAVE__EXPF 1
35159 _ACEOF
35162 done
35171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35172 $as_echo_n "checking for isnanf declaration... " >&6; }
35173 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35174 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35175 $as_echo_n "(cached) " >&6
35176 else
35179 ac_ext=cpp
35180 ac_cpp='$CXXCPP $CPPFLAGS'
35181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35186 /* end confdefs.h. */
35187 #include <math.h>
35188 #ifdef HAVE_IEEEFP_H
35189 #include <ieeefp.h>
35190 #endif
35193 main ()
35195 isnanf(0);
35197 return 0;
35199 _ACEOF
35200 if ac_fn_cxx_try_compile "$LINENO"; then :
35201 glibcxx_cv_func_isnanf_use=yes
35202 else
35203 glibcxx_cv_func_isnanf_use=no
35205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35206 ac_ext=c
35207 ac_cpp='$CPP $CPPFLAGS'
35208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35217 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35219 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35220 for ac_func in isnanf
35221 do :
35222 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35223 if test "x$ac_cv_func_isnanf" = x""yes; then :
35224 cat >>confdefs.h <<_ACEOF
35225 #define HAVE_ISNANF 1
35226 _ACEOF
35229 done
35231 else
35233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35234 $as_echo_n "checking for _isnanf declaration... " >&6; }
35235 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35236 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35237 $as_echo_n "(cached) " >&6
35238 else
35241 ac_ext=cpp
35242 ac_cpp='$CXXCPP $CPPFLAGS'
35243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35248 /* end confdefs.h. */
35249 #include <math.h>
35250 #ifdef HAVE_IEEEFP_H
35251 #include <ieeefp.h>
35252 #endif
35255 main ()
35257 _isnanf(0);
35259 return 0;
35261 _ACEOF
35262 if ac_fn_cxx_try_compile "$LINENO"; then :
35263 glibcxx_cv_func__isnanf_use=yes
35264 else
35265 glibcxx_cv_func__isnanf_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__isnanf_use" >&5
35279 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35281 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35282 for ac_func in _isnanf
35283 do :
35284 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35285 if test "x$ac_cv_func__isnanf" = x""yes; then :
35286 cat >>confdefs.h <<_ACEOF
35287 #define HAVE__ISNANF 1
35288 _ACEOF
35291 done
35300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35301 $as_echo_n "checking for isinff declaration... " >&6; }
35302 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35303 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35304 $as_echo_n "(cached) " >&6
35305 else
35308 ac_ext=cpp
35309 ac_cpp='$CXXCPP $CPPFLAGS'
35310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35315 /* end confdefs.h. */
35316 #include <math.h>
35317 #ifdef HAVE_IEEEFP_H
35318 #include <ieeefp.h>
35319 #endif
35322 main ()
35324 isinff(0);
35326 return 0;
35328 _ACEOF
35329 if ac_fn_cxx_try_compile "$LINENO"; then :
35330 glibcxx_cv_func_isinff_use=yes
35331 else
35332 glibcxx_cv_func_isinff_use=no
35334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35335 ac_ext=c
35336 ac_cpp='$CPP $CPPFLAGS'
35337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35346 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35348 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35349 for ac_func in isinff
35350 do :
35351 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35352 if test "x$ac_cv_func_isinff" = x""yes; then :
35353 cat >>confdefs.h <<_ACEOF
35354 #define HAVE_ISINFF 1
35355 _ACEOF
35358 done
35360 else
35362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35363 $as_echo_n "checking for _isinff declaration... " >&6; }
35364 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35365 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35366 $as_echo_n "(cached) " >&6
35367 else
35370 ac_ext=cpp
35371 ac_cpp='$CXXCPP $CPPFLAGS'
35372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35377 /* end confdefs.h. */
35378 #include <math.h>
35379 #ifdef HAVE_IEEEFP_H
35380 #include <ieeefp.h>
35381 #endif
35384 main ()
35386 _isinff(0);
35388 return 0;
35390 _ACEOF
35391 if ac_fn_cxx_try_compile "$LINENO"; then :
35392 glibcxx_cv_func__isinff_use=yes
35393 else
35394 glibcxx_cv_func__isinff_use=no
35396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35397 ac_ext=c
35398 ac_cpp='$CPP $CPPFLAGS'
35399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35408 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35410 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35411 for ac_func in _isinff
35412 do :
35413 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35414 if test "x$ac_cv_func__isinff" = x""yes; then :
35415 cat >>confdefs.h <<_ACEOF
35416 #define HAVE__ISINFF 1
35417 _ACEOF
35420 done
35429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35430 $as_echo_n "checking for atan2f declaration... " >&6; }
35431 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35432 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35433 $as_echo_n "(cached) " >&6
35434 else
35437 ac_ext=cpp
35438 ac_cpp='$CXXCPP $CPPFLAGS'
35439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35444 /* end confdefs.h. */
35445 #include <math.h>
35447 main ()
35449 atan2f(0, 0);
35451 return 0;
35453 _ACEOF
35454 if ac_fn_cxx_try_compile "$LINENO"; then :
35455 glibcxx_cv_func_atan2f_use=yes
35456 else
35457 glibcxx_cv_func_atan2f_use=no
35459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35460 ac_ext=c
35461 ac_cpp='$CPP $CPPFLAGS'
35462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35471 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35473 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35474 for ac_func in atan2f
35475 do :
35476 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35477 if test "x$ac_cv_func_atan2f" = x""yes; then :
35478 cat >>confdefs.h <<_ACEOF
35479 #define HAVE_ATAN2F 1
35480 _ACEOF
35483 done
35485 else
35487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35488 $as_echo_n "checking for _atan2f declaration... " >&6; }
35489 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35490 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35491 $as_echo_n "(cached) " >&6
35492 else
35495 ac_ext=cpp
35496 ac_cpp='$CXXCPP $CPPFLAGS'
35497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35502 /* end confdefs.h. */
35503 #include <math.h>
35505 main ()
35507 _atan2f(0, 0);
35509 return 0;
35511 _ACEOF
35512 if ac_fn_cxx_try_compile "$LINENO"; then :
35513 glibcxx_cv_func__atan2f_use=yes
35514 else
35515 glibcxx_cv_func__atan2f_use=no
35517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35518 ac_ext=c
35519 ac_cpp='$CPP $CPPFLAGS'
35520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35529 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35531 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35532 for ac_func in _atan2f
35533 do :
35534 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35535 if test "x$ac_cv_func__atan2f" = x""yes; then :
35536 cat >>confdefs.h <<_ACEOF
35537 #define HAVE__ATAN2F 1
35538 _ACEOF
35541 done
35550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35551 $as_echo_n "checking for fabsf declaration... " >&6; }
35552 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35553 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35554 $as_echo_n "(cached) " >&6
35555 else
35558 ac_ext=cpp
35559 ac_cpp='$CXXCPP $CPPFLAGS'
35560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35565 /* end confdefs.h. */
35566 #include <math.h>
35567 #ifdef HAVE_IEEEFP_H
35568 #include <ieeefp.h>
35569 #endif
35572 main ()
35574 fabsf(0);
35576 return 0;
35578 _ACEOF
35579 if ac_fn_cxx_try_compile "$LINENO"; then :
35580 glibcxx_cv_func_fabsf_use=yes
35581 else
35582 glibcxx_cv_func_fabsf_use=no
35584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35585 ac_ext=c
35586 ac_cpp='$CPP $CPPFLAGS'
35587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35596 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35598 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35599 for ac_func in fabsf
35600 do :
35601 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35602 if test "x$ac_cv_func_fabsf" = x""yes; then :
35603 cat >>confdefs.h <<_ACEOF
35604 #define HAVE_FABSF 1
35605 _ACEOF
35608 done
35610 else
35612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35613 $as_echo_n "checking for _fabsf declaration... " >&6; }
35614 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35615 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35616 $as_echo_n "(cached) " >&6
35617 else
35620 ac_ext=cpp
35621 ac_cpp='$CXXCPP $CPPFLAGS'
35622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35627 /* end confdefs.h. */
35628 #include <math.h>
35629 #ifdef HAVE_IEEEFP_H
35630 #include <ieeefp.h>
35631 #endif
35634 main ()
35636 _fabsf(0);
35638 return 0;
35640 _ACEOF
35641 if ac_fn_cxx_try_compile "$LINENO"; then :
35642 glibcxx_cv_func__fabsf_use=yes
35643 else
35644 glibcxx_cv_func__fabsf_use=no
35646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35647 ac_ext=c
35648 ac_cpp='$CPP $CPPFLAGS'
35649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35658 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35660 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35661 for ac_func in _fabsf
35662 do :
35663 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35664 if test "x$ac_cv_func__fabsf" = x""yes; then :
35665 cat >>confdefs.h <<_ACEOF
35666 #define HAVE__FABSF 1
35667 _ACEOF
35670 done
35679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35680 $as_echo_n "checking for fmodf declaration... " >&6; }
35681 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35682 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35683 $as_echo_n "(cached) " >&6
35684 else
35687 ac_ext=cpp
35688 ac_cpp='$CXXCPP $CPPFLAGS'
35689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35694 /* end confdefs.h. */
35695 #include <math.h>
35697 main ()
35699 fmodf(0, 0);
35701 return 0;
35703 _ACEOF
35704 if ac_fn_cxx_try_compile "$LINENO"; then :
35705 glibcxx_cv_func_fmodf_use=yes
35706 else
35707 glibcxx_cv_func_fmodf_use=no
35709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35710 ac_ext=c
35711 ac_cpp='$CPP $CPPFLAGS'
35712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35721 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35723 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35724 for ac_func in fmodf
35725 do :
35726 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35727 if test "x$ac_cv_func_fmodf" = x""yes; then :
35728 cat >>confdefs.h <<_ACEOF
35729 #define HAVE_FMODF 1
35730 _ACEOF
35733 done
35735 else
35737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35738 $as_echo_n "checking for _fmodf declaration... " >&6; }
35739 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35740 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35741 $as_echo_n "(cached) " >&6
35742 else
35745 ac_ext=cpp
35746 ac_cpp='$CXXCPP $CPPFLAGS'
35747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35752 /* end confdefs.h. */
35753 #include <math.h>
35755 main ()
35757 _fmodf(0, 0);
35759 return 0;
35761 _ACEOF
35762 if ac_fn_cxx_try_compile "$LINENO"; then :
35763 glibcxx_cv_func__fmodf_use=yes
35764 else
35765 glibcxx_cv_func__fmodf_use=no
35767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35768 ac_ext=c
35769 ac_cpp='$CPP $CPPFLAGS'
35770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35779 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35781 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35782 for ac_func in _fmodf
35783 do :
35784 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35785 if test "x$ac_cv_func__fmodf" = x""yes; then :
35786 cat >>confdefs.h <<_ACEOF
35787 #define HAVE__FMODF 1
35788 _ACEOF
35791 done
35800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35801 $as_echo_n "checking for frexpf declaration... " >&6; }
35802 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35803 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35804 $as_echo_n "(cached) " >&6
35805 else
35808 ac_ext=cpp
35809 ac_cpp='$CXXCPP $CPPFLAGS'
35810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35815 /* end confdefs.h. */
35816 #include <math.h>
35818 main ()
35820 frexpf(0, 0);
35822 return 0;
35824 _ACEOF
35825 if ac_fn_cxx_try_compile "$LINENO"; then :
35826 glibcxx_cv_func_frexpf_use=yes
35827 else
35828 glibcxx_cv_func_frexpf_use=no
35830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35831 ac_ext=c
35832 ac_cpp='$CPP $CPPFLAGS'
35833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35842 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35844 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35845 for ac_func in frexpf
35846 do :
35847 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35848 if test "x$ac_cv_func_frexpf" = x""yes; then :
35849 cat >>confdefs.h <<_ACEOF
35850 #define HAVE_FREXPF 1
35851 _ACEOF
35854 done
35856 else
35858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35859 $as_echo_n "checking for _frexpf declaration... " >&6; }
35860 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35861 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
35880 return 0;
35882 _ACEOF
35883 if ac_fn_cxx_try_compile "$LINENO"; then :
35884 glibcxx_cv_func__frexpf_use=yes
35885 else
35886 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
35900 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35902 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35903 for ac_func in _frexpf
35904 do :
35905 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35906 if test "x$ac_cv_func__frexpf" = x""yes; then :
35907 cat >>confdefs.h <<_ACEOF
35908 #define HAVE__FREXPF 1
35909 _ACEOF
35912 done
35921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35922 $as_echo_n "checking for hypotf declaration... " >&6; }
35923 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35924 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35925 $as_echo_n "(cached) " >&6
35926 else
35929 ac_ext=cpp
35930 ac_cpp='$CXXCPP $CPPFLAGS'
35931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35936 /* end confdefs.h. */
35937 #include <math.h>
35939 main ()
35941 hypotf(0, 0);
35943 return 0;
35945 _ACEOF
35946 if ac_fn_cxx_try_compile "$LINENO"; then :
35947 glibcxx_cv_func_hypotf_use=yes
35948 else
35949 glibcxx_cv_func_hypotf_use=no
35951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35952 ac_ext=c
35953 ac_cpp='$CPP $CPPFLAGS'
35954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35963 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35965 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35966 for ac_func in hypotf
35967 do :
35968 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35969 if test "x$ac_cv_func_hypotf" = x""yes; then :
35970 cat >>confdefs.h <<_ACEOF
35971 #define HAVE_HYPOTF 1
35972 _ACEOF
35975 done
35977 else
35979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35980 $as_echo_n "checking for _hypotf declaration... " >&6; }
35981 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35982 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
36001 return 0;
36003 _ACEOF
36004 if ac_fn_cxx_try_compile "$LINENO"; then :
36005 glibcxx_cv_func__hypotf_use=yes
36006 else
36007 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
36021 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36023 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36024 for ac_func in _hypotf
36025 do :
36026 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36027 if test "x$ac_cv_func__hypotf" = x""yes; then :
36028 cat >>confdefs.h <<_ACEOF
36029 #define HAVE__HYPOTF 1
36030 _ACEOF
36033 done
36042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36043 $as_echo_n "checking for ldexpf declaration... " >&6; }
36044 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36045 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36046 $as_echo_n "(cached) " >&6
36047 else
36050 ac_ext=cpp
36051 ac_cpp='$CXXCPP $CPPFLAGS'
36052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36057 /* end confdefs.h. */
36058 #include <math.h>
36060 main ()
36062 ldexpf(0, 0);
36064 return 0;
36066 _ACEOF
36067 if ac_fn_cxx_try_compile "$LINENO"; then :
36068 glibcxx_cv_func_ldexpf_use=yes
36069 else
36070 glibcxx_cv_func_ldexpf_use=no
36072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36073 ac_ext=c
36074 ac_cpp='$CPP $CPPFLAGS'
36075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36084 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36086 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36087 for ac_func in ldexpf
36088 do :
36089 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36090 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36091 cat >>confdefs.h <<_ACEOF
36092 #define HAVE_LDEXPF 1
36093 _ACEOF
36096 done
36098 else
36100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36101 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36102 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36103 if test "${glibcxx_cv_func__ldexpf_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 _ldexpf(0, 0);
36122 return 0;
36124 _ACEOF
36125 if ac_fn_cxx_try_compile "$LINENO"; then :
36126 glibcxx_cv_func__ldexpf_use=yes
36127 else
36128 glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
36142 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36144 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36145 for ac_func in _ldexpf
36146 do :
36147 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36148 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36149 cat >>confdefs.h <<_ACEOF
36150 #define HAVE__LDEXPF 1
36151 _ACEOF
36154 done
36163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36164 $as_echo_n "checking for logf declaration... " >&6; }
36165 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36166 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36167 $as_echo_n "(cached) " >&6
36168 else
36171 ac_ext=cpp
36172 ac_cpp='$CXXCPP $CPPFLAGS'
36173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36178 /* end confdefs.h. */
36179 #include <math.h>
36180 #ifdef HAVE_IEEEFP_H
36181 #include <ieeefp.h>
36182 #endif
36185 main ()
36187 logf(0);
36189 return 0;
36191 _ACEOF
36192 if ac_fn_cxx_try_compile "$LINENO"; then :
36193 glibcxx_cv_func_logf_use=yes
36194 else
36195 glibcxx_cv_func_logf_use=no
36197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36198 ac_ext=c
36199 ac_cpp='$CPP $CPPFLAGS'
36200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36209 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36211 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36212 for ac_func in logf
36213 do :
36214 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36215 if test "x$ac_cv_func_logf" = x""yes; then :
36216 cat >>confdefs.h <<_ACEOF
36217 #define HAVE_LOGF 1
36218 _ACEOF
36221 done
36223 else
36225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36226 $as_echo_n "checking for _logf declaration... " >&6; }
36227 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36228 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36229 $as_echo_n "(cached) " >&6
36230 else
36233 ac_ext=cpp
36234 ac_cpp='$CXXCPP $CPPFLAGS'
36235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36240 /* end confdefs.h. */
36241 #include <math.h>
36242 #ifdef HAVE_IEEEFP_H
36243 #include <ieeefp.h>
36244 #endif
36247 main ()
36249 _logf(0);
36251 return 0;
36253 _ACEOF
36254 if ac_fn_cxx_try_compile "$LINENO"; then :
36255 glibcxx_cv_func__logf_use=yes
36256 else
36257 glibcxx_cv_func__logf_use=no
36259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36260 ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36271 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36273 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36274 for ac_func in _logf
36275 do :
36276 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36277 if test "x$ac_cv_func__logf" = x""yes; then :
36278 cat >>confdefs.h <<_ACEOF
36279 #define HAVE__LOGF 1
36280 _ACEOF
36283 done
36292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36293 $as_echo_n "checking for log10f declaration... " >&6; }
36294 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36295 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36296 $as_echo_n "(cached) " >&6
36297 else
36300 ac_ext=cpp
36301 ac_cpp='$CXXCPP $CPPFLAGS'
36302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36307 /* end confdefs.h. */
36308 #include <math.h>
36309 #ifdef HAVE_IEEEFP_H
36310 #include <ieeefp.h>
36311 #endif
36314 main ()
36316 log10f(0);
36318 return 0;
36320 _ACEOF
36321 if ac_fn_cxx_try_compile "$LINENO"; then :
36322 glibcxx_cv_func_log10f_use=yes
36323 else
36324 glibcxx_cv_func_log10f_use=no
36326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36327 ac_ext=c
36328 ac_cpp='$CPP $CPPFLAGS'
36329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36338 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36340 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36341 for ac_func in log10f
36342 do :
36343 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36344 if test "x$ac_cv_func_log10f" = x""yes; then :
36345 cat >>confdefs.h <<_ACEOF
36346 #define HAVE_LOG10F 1
36347 _ACEOF
36350 done
36352 else
36354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36355 $as_echo_n "checking for _log10f declaration... " >&6; }
36356 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36357 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36358 $as_echo_n "(cached) " >&6
36359 else
36362 ac_ext=cpp
36363 ac_cpp='$CXXCPP $CPPFLAGS'
36364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36369 /* end confdefs.h. */
36370 #include <math.h>
36371 #ifdef HAVE_IEEEFP_H
36372 #include <ieeefp.h>
36373 #endif
36376 main ()
36378 _log10f(0);
36380 return 0;
36382 _ACEOF
36383 if ac_fn_cxx_try_compile "$LINENO"; then :
36384 glibcxx_cv_func__log10f_use=yes
36385 else
36386 glibcxx_cv_func__log10f_use=no
36388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36389 ac_ext=c
36390 ac_cpp='$CPP $CPPFLAGS'
36391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36400 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36402 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36403 for ac_func in _log10f
36404 do :
36405 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36406 if test "x$ac_cv_func__log10f" = x""yes; then :
36407 cat >>confdefs.h <<_ACEOF
36408 #define HAVE__LOG10F 1
36409 _ACEOF
36412 done
36421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36422 $as_echo_n "checking for modff declaration... " >&6; }
36423 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36424 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36425 $as_echo_n "(cached) " >&6
36426 else
36429 ac_ext=cpp
36430 ac_cpp='$CXXCPP $CPPFLAGS'
36431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36436 /* end confdefs.h. */
36437 #include <math.h>
36439 main ()
36441 modff(0, 0);
36443 return 0;
36445 _ACEOF
36446 if ac_fn_cxx_try_compile "$LINENO"; then :
36447 glibcxx_cv_func_modff_use=yes
36448 else
36449 glibcxx_cv_func_modff_use=no
36451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36452 ac_ext=c
36453 ac_cpp='$CPP $CPPFLAGS'
36454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36463 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36465 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36466 for ac_func in modff
36467 do :
36468 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36469 if test "x$ac_cv_func_modff" = x""yes; then :
36470 cat >>confdefs.h <<_ACEOF
36471 #define HAVE_MODFF 1
36472 _ACEOF
36475 done
36477 else
36479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36480 $as_echo_n "checking for _modff declaration... " >&6; }
36481 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36482 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36483 $as_echo_n "(cached) " >&6
36484 else
36487 ac_ext=cpp
36488 ac_cpp='$CXXCPP $CPPFLAGS'
36489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36494 /* end confdefs.h. */
36495 #include <math.h>
36497 main ()
36499 _modff(0, 0);
36501 return 0;
36503 _ACEOF
36504 if ac_fn_cxx_try_compile "$LINENO"; then :
36505 glibcxx_cv_func__modff_use=yes
36506 else
36507 glibcxx_cv_func__modff_use=no
36509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36510 ac_ext=c
36511 ac_cpp='$CPP $CPPFLAGS'
36512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36521 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36523 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36524 for ac_func in _modff
36525 do :
36526 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36527 if test "x$ac_cv_func__modff" = x""yes; then :
36528 cat >>confdefs.h <<_ACEOF
36529 #define HAVE__MODFF 1
36530 _ACEOF
36533 done
36542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36543 $as_echo_n "checking for modf declaration... " >&6; }
36544 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36545 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36546 $as_echo_n "(cached) " >&6
36547 else
36550 ac_ext=cpp
36551 ac_cpp='$CXXCPP $CPPFLAGS'
36552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36557 /* end confdefs.h. */
36558 #include <math.h>
36560 main ()
36562 modf(0, 0);
36564 return 0;
36566 _ACEOF
36567 if ac_fn_cxx_try_compile "$LINENO"; then :
36568 glibcxx_cv_func_modf_use=yes
36569 else
36570 glibcxx_cv_func_modf_use=no
36572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36573 ac_ext=c
36574 ac_cpp='$CPP $CPPFLAGS'
36575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36584 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36586 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36587 for ac_func in modf
36588 do :
36589 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36590 if test "x$ac_cv_func_modf" = x""yes; then :
36591 cat >>confdefs.h <<_ACEOF
36592 #define HAVE_MODF 1
36593 _ACEOF
36596 done
36598 else
36600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36601 $as_echo_n "checking for _modf declaration... " >&6; }
36602 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36603 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36604 $as_echo_n "(cached) " >&6
36605 else
36608 ac_ext=cpp
36609 ac_cpp='$CXXCPP $CPPFLAGS'
36610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36615 /* end confdefs.h. */
36616 #include <math.h>
36618 main ()
36620 _modf(0, 0);
36622 return 0;
36624 _ACEOF
36625 if ac_fn_cxx_try_compile "$LINENO"; then :
36626 glibcxx_cv_func__modf_use=yes
36627 else
36628 glibcxx_cv_func__modf_use=no
36630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36631 ac_ext=c
36632 ac_cpp='$CPP $CPPFLAGS'
36633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36642 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36644 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36645 for ac_func in _modf
36646 do :
36647 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36648 if test "x$ac_cv_func__modf" = x""yes; then :
36649 cat >>confdefs.h <<_ACEOF
36650 #define HAVE__MODF 1
36651 _ACEOF
36654 done
36663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36664 $as_echo_n "checking for powf declaration... " >&6; }
36665 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36666 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36667 $as_echo_n "(cached) " >&6
36668 else
36671 ac_ext=cpp
36672 ac_cpp='$CXXCPP $CPPFLAGS'
36673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36678 /* end confdefs.h. */
36679 #include <math.h>
36681 main ()
36683 powf(0, 0);
36685 return 0;
36687 _ACEOF
36688 if ac_fn_cxx_try_compile "$LINENO"; then :
36689 glibcxx_cv_func_powf_use=yes
36690 else
36691 glibcxx_cv_func_powf_use=no
36693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36694 ac_ext=c
36695 ac_cpp='$CPP $CPPFLAGS'
36696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36705 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36707 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36708 for ac_func in powf
36709 do :
36710 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36711 if test "x$ac_cv_func_powf" = x""yes; then :
36712 cat >>confdefs.h <<_ACEOF
36713 #define HAVE_POWF 1
36714 _ACEOF
36717 done
36719 else
36721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36722 $as_echo_n "checking for _powf declaration... " >&6; }
36723 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36724 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36725 $as_echo_n "(cached) " >&6
36726 else
36729 ac_ext=cpp
36730 ac_cpp='$CXXCPP $CPPFLAGS'
36731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36736 /* end confdefs.h. */
36737 #include <math.h>
36739 main ()
36741 _powf(0, 0);
36743 return 0;
36745 _ACEOF
36746 if ac_fn_cxx_try_compile "$LINENO"; then :
36747 glibcxx_cv_func__powf_use=yes
36748 else
36749 glibcxx_cv_func__powf_use=no
36751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36752 ac_ext=c
36753 ac_cpp='$CPP $CPPFLAGS'
36754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36763 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36765 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36766 for ac_func in _powf
36767 do :
36768 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36769 if test "x$ac_cv_func__powf" = x""yes; then :
36770 cat >>confdefs.h <<_ACEOF
36771 #define HAVE__POWF 1
36772 _ACEOF
36775 done
36784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36785 $as_echo_n "checking for sqrtf declaration... " >&6; }
36786 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36787 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36788 $as_echo_n "(cached) " >&6
36789 else
36792 ac_ext=cpp
36793 ac_cpp='$CXXCPP $CPPFLAGS'
36794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36799 /* end confdefs.h. */
36800 #include <math.h>
36801 #ifdef HAVE_IEEEFP_H
36802 #include <ieeefp.h>
36803 #endif
36806 main ()
36808 sqrtf(0);
36810 return 0;
36812 _ACEOF
36813 if ac_fn_cxx_try_compile "$LINENO"; then :
36814 glibcxx_cv_func_sqrtf_use=yes
36815 else
36816 glibcxx_cv_func_sqrtf_use=no
36818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36819 ac_ext=c
36820 ac_cpp='$CPP $CPPFLAGS'
36821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36830 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36832 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36833 for ac_func in sqrtf
36834 do :
36835 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36836 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36837 cat >>confdefs.h <<_ACEOF
36838 #define HAVE_SQRTF 1
36839 _ACEOF
36842 done
36844 else
36846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36847 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36848 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36849 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36850 $as_echo_n "(cached) " >&6
36851 else
36854 ac_ext=cpp
36855 ac_cpp='$CXXCPP $CPPFLAGS'
36856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36861 /* end confdefs.h. */
36862 #include <math.h>
36863 #ifdef HAVE_IEEEFP_H
36864 #include <ieeefp.h>
36865 #endif
36868 main ()
36870 _sqrtf(0);
36872 return 0;
36874 _ACEOF
36875 if ac_fn_cxx_try_compile "$LINENO"; then :
36876 glibcxx_cv_func__sqrtf_use=yes
36877 else
36878 glibcxx_cv_func__sqrtf_use=no
36880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36881 ac_ext=c
36882 ac_cpp='$CPP $CPPFLAGS'
36883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36892 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36894 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36895 for ac_func in _sqrtf
36896 do :
36897 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36898 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36899 cat >>confdefs.h <<_ACEOF
36900 #define HAVE__SQRTF 1
36901 _ACEOF
36904 done
36913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36914 $as_echo_n "checking for sincosf declaration... " >&6; }
36915 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36916 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36917 $as_echo_n "(cached) " >&6
36918 else
36921 ac_ext=cpp
36922 ac_cpp='$CXXCPP $CPPFLAGS'
36923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36928 /* end confdefs.h. */
36929 #include <math.h>
36931 main ()
36933 sincosf(0, 0, 0);
36935 return 0;
36937 _ACEOF
36938 if ac_fn_cxx_try_compile "$LINENO"; then :
36939 glibcxx_cv_func_sincosf_use=yes
36940 else
36941 glibcxx_cv_func_sincosf_use=no
36943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36944 ac_ext=c
36945 ac_cpp='$CPP $CPPFLAGS'
36946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36955 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36957 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36958 for ac_func in sincosf
36959 do :
36960 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36961 if test "x$ac_cv_func_sincosf" = x""yes; then :
36962 cat >>confdefs.h <<_ACEOF
36963 #define HAVE_SINCOSF 1
36964 _ACEOF
36967 done
36969 else
36971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36972 $as_echo_n "checking for _sincosf declaration... " >&6; }
36973 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36974 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36975 $as_echo_n "(cached) " >&6
36976 else
36979 ac_ext=cpp
36980 ac_cpp='$CXXCPP $CPPFLAGS'
36981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36986 /* end confdefs.h. */
36987 #include <math.h>
36989 main ()
36991 _sincosf(0, 0, 0);
36993 return 0;
36995 _ACEOF
36996 if ac_fn_cxx_try_compile "$LINENO"; then :
36997 glibcxx_cv_func__sincosf_use=yes
36998 else
36999 glibcxx_cv_func__sincosf_use=no
37001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37002 ac_ext=c
37003 ac_cpp='$CPP $CPPFLAGS'
37004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37013 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37015 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37016 for ac_func in _sincosf
37017 do :
37018 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37019 if test "x$ac_cv_func__sincosf" = x""yes; then :
37020 cat >>confdefs.h <<_ACEOF
37021 #define HAVE__SINCOSF 1
37022 _ACEOF
37025 done
37034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37035 $as_echo_n "checking for finitef declaration... " >&6; }
37036 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37037 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37038 $as_echo_n "(cached) " >&6
37039 else
37042 ac_ext=cpp
37043 ac_cpp='$CXXCPP $CPPFLAGS'
37044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37049 /* end confdefs.h. */
37050 #include <math.h>
37051 #ifdef HAVE_IEEEFP_H
37052 #include <ieeefp.h>
37053 #endif
37056 main ()
37058 finitef(0);
37060 return 0;
37062 _ACEOF
37063 if ac_fn_cxx_try_compile "$LINENO"; then :
37064 glibcxx_cv_func_finitef_use=yes
37065 else
37066 glibcxx_cv_func_finitef_use=no
37068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37069 ac_ext=c
37070 ac_cpp='$CPP $CPPFLAGS'
37071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37080 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37082 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37083 for ac_func in finitef
37084 do :
37085 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37086 if test "x$ac_cv_func_finitef" = x""yes; then :
37087 cat >>confdefs.h <<_ACEOF
37088 #define HAVE_FINITEF 1
37089 _ACEOF
37092 done
37094 else
37096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37097 $as_echo_n "checking for _finitef declaration... " >&6; }
37098 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37099 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37100 $as_echo_n "(cached) " >&6
37101 else
37104 ac_ext=cpp
37105 ac_cpp='$CXXCPP $CPPFLAGS'
37106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37111 /* end confdefs.h. */
37112 #include <math.h>
37113 #ifdef HAVE_IEEEFP_H
37114 #include <ieeefp.h>
37115 #endif
37118 main ()
37120 _finitef(0);
37122 return 0;
37124 _ACEOF
37125 if ac_fn_cxx_try_compile "$LINENO"; then :
37126 glibcxx_cv_func__finitef_use=yes
37127 else
37128 glibcxx_cv_func__finitef_use=no
37130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37131 ac_ext=c
37132 ac_cpp='$CPP $CPPFLAGS'
37133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37142 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37144 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37145 for ac_func in _finitef
37146 do :
37147 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37148 if test "x$ac_cv_func__finitef" = x""yes; then :
37149 cat >>confdefs.h <<_ACEOF
37150 #define HAVE__FINITEF 1
37151 _ACEOF
37154 done
37163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37164 $as_echo_n "checking for long double trig functions... " >&6; }
37165 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37166 $as_echo_n "(cached) " >&6
37167 else
37170 ac_ext=cpp
37171 ac_cpp='$CXXCPP $CPPFLAGS'
37172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37177 /* end confdefs.h. */
37178 #include <math.h>
37180 main ()
37182 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37184 return 0;
37186 _ACEOF
37187 if ac_fn_cxx_try_compile "$LINENO"; then :
37188 glibcxx_cv_func_long_double_trig_use=yes
37189 else
37190 glibcxx_cv_func_long_double_trig_use=no
37192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37193 ac_ext=c
37194 ac_cpp='$CPP $CPPFLAGS'
37195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37202 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37203 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37204 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37205 do :
37206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37208 eval as_val=\$$as_ac_var
37209 if test "x$as_val" = x""yes; then :
37210 cat >>confdefs.h <<_ACEOF
37211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37212 _ACEOF
37215 done
37217 else
37218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37219 $as_echo_n "checking for _long double trig functions... " >&6; }
37220 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37221 $as_echo_n "(cached) " >&6
37222 else
37225 ac_ext=cpp
37226 ac_cpp='$CXXCPP $CPPFLAGS'
37227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37232 /* end confdefs.h. */
37233 #include <math.h>
37235 main ()
37237 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37239 return 0;
37241 _ACEOF
37242 if ac_fn_cxx_try_compile "$LINENO"; then :
37243 glibcxx_cv_func__long_double_trig_use=yes
37244 else
37245 glibcxx_cv_func__long_double_trig_use=no
37247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37248 ac_ext=c
37249 ac_cpp='$CPP $CPPFLAGS'
37250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37257 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37258 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37259 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37260 do :
37261 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37263 eval as_val=\$$as_ac_var
37264 if test "x$as_val" = x""yes; then :
37265 cat >>confdefs.h <<_ACEOF
37266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37267 _ACEOF
37270 done
37279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37280 $as_echo_n "checking for long double round functions... " >&6; }
37281 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37282 $as_echo_n "(cached) " >&6
37283 else
37286 ac_ext=cpp
37287 ac_cpp='$CXXCPP $CPPFLAGS'
37288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37293 /* end confdefs.h. */
37294 #include <math.h>
37296 main ()
37298 ceill (0); floorl (0);
37300 return 0;
37302 _ACEOF
37303 if ac_fn_cxx_try_compile "$LINENO"; then :
37304 glibcxx_cv_func_long_double_round_use=yes
37305 else
37306 glibcxx_cv_func_long_double_round_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
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37318 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37319 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37320 for ac_func in ceill floorl
37321 do :
37322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37324 eval as_val=\$$as_ac_var
37325 if test "x$as_val" = x""yes; then :
37326 cat >>confdefs.h <<_ACEOF
37327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37328 _ACEOF
37331 done
37333 else
37334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37335 $as_echo_n "checking for _long double round functions... " >&6; }
37336 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37337 $as_echo_n "(cached) " >&6
37338 else
37341 ac_ext=cpp
37342 ac_cpp='$CXXCPP $CPPFLAGS'
37343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37348 /* end confdefs.h. */
37349 #include <math.h>
37351 main ()
37353 _ceill (0); _floorl (0);
37355 return 0;
37357 _ACEOF
37358 if ac_fn_cxx_try_compile "$LINENO"; then :
37359 glibcxx_cv_func__long_double_round_use=yes
37360 else
37361 glibcxx_cv_func__long_double_round_use=no
37363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37364 ac_ext=c
37365 ac_cpp='$CPP $CPPFLAGS'
37366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37373 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37374 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37375 for ac_func in _ceill _floorl
37376 do :
37377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37379 eval as_val=\$$as_ac_var
37380 if test "x$as_val" = x""yes; then :
37381 cat >>confdefs.h <<_ACEOF
37382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37383 _ACEOF
37386 done
37396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37397 $as_echo_n "checking for isnanl declaration... " >&6; }
37398 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37399 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37400 $as_echo_n "(cached) " >&6
37401 else
37404 ac_ext=cpp
37405 ac_cpp='$CXXCPP $CPPFLAGS'
37406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37411 /* end confdefs.h. */
37412 #include <math.h>
37413 #ifdef HAVE_IEEEFP_H
37414 #include <ieeefp.h>
37415 #endif
37418 main ()
37420 isnanl(0);
37422 return 0;
37424 _ACEOF
37425 if ac_fn_cxx_try_compile "$LINENO"; then :
37426 glibcxx_cv_func_isnanl_use=yes
37427 else
37428 glibcxx_cv_func_isnanl_use=no
37430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37431 ac_ext=c
37432 ac_cpp='$CPP $CPPFLAGS'
37433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37442 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37444 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37445 for ac_func in isnanl
37446 do :
37447 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37448 if test "x$ac_cv_func_isnanl" = x""yes; then :
37449 cat >>confdefs.h <<_ACEOF
37450 #define HAVE_ISNANL 1
37451 _ACEOF
37454 done
37456 else
37458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37459 $as_echo_n "checking for _isnanl declaration... " >&6; }
37460 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37461 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37462 $as_echo_n "(cached) " >&6
37463 else
37466 ac_ext=cpp
37467 ac_cpp='$CXXCPP $CPPFLAGS'
37468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37473 /* end confdefs.h. */
37474 #include <math.h>
37475 #ifdef HAVE_IEEEFP_H
37476 #include <ieeefp.h>
37477 #endif
37480 main ()
37482 _isnanl(0);
37484 return 0;
37486 _ACEOF
37487 if ac_fn_cxx_try_compile "$LINENO"; then :
37488 glibcxx_cv_func__isnanl_use=yes
37489 else
37490 glibcxx_cv_func__isnanl_use=no
37492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37493 ac_ext=c
37494 ac_cpp='$CPP $CPPFLAGS'
37495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37504 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37506 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37507 for ac_func in _isnanl
37508 do :
37509 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37510 if test "x$ac_cv_func__isnanl" = x""yes; then :
37511 cat >>confdefs.h <<_ACEOF
37512 #define HAVE__ISNANL 1
37513 _ACEOF
37516 done
37525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37526 $as_echo_n "checking for isinfl declaration... " >&6; }
37527 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37528 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37529 $as_echo_n "(cached) " >&6
37530 else
37533 ac_ext=cpp
37534 ac_cpp='$CXXCPP $CPPFLAGS'
37535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37540 /* end confdefs.h. */
37541 #include <math.h>
37542 #ifdef HAVE_IEEEFP_H
37543 #include <ieeefp.h>
37544 #endif
37547 main ()
37549 isinfl(0);
37551 return 0;
37553 _ACEOF
37554 if ac_fn_cxx_try_compile "$LINENO"; then :
37555 glibcxx_cv_func_isinfl_use=yes
37556 else
37557 glibcxx_cv_func_isinfl_use=no
37559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37560 ac_ext=c
37561 ac_cpp='$CPP $CPPFLAGS'
37562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37571 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37573 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37574 for ac_func in isinfl
37575 do :
37576 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37577 if test "x$ac_cv_func_isinfl" = x""yes; then :
37578 cat >>confdefs.h <<_ACEOF
37579 #define HAVE_ISINFL 1
37580 _ACEOF
37583 done
37585 else
37587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37588 $as_echo_n "checking for _isinfl declaration... " >&6; }
37589 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37590 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37591 $as_echo_n "(cached) " >&6
37592 else
37595 ac_ext=cpp
37596 ac_cpp='$CXXCPP $CPPFLAGS'
37597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37602 /* end confdefs.h. */
37603 #include <math.h>
37604 #ifdef HAVE_IEEEFP_H
37605 #include <ieeefp.h>
37606 #endif
37609 main ()
37611 _isinfl(0);
37613 return 0;
37615 _ACEOF
37616 if ac_fn_cxx_try_compile "$LINENO"; then :
37617 glibcxx_cv_func__isinfl_use=yes
37618 else
37619 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
37633 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37635 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37636 for ac_func in _isinfl
37637 do :
37638 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37639 if test "x$ac_cv_func__isinfl" = x""yes; then :
37640 cat >>confdefs.h <<_ACEOF
37641 #define HAVE__ISINFL 1
37642 _ACEOF
37645 done
37654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37655 $as_echo_n "checking for atan2l declaration... " >&6; }
37656 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37657 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37658 $as_echo_n "(cached) " >&6
37659 else
37662 ac_ext=cpp
37663 ac_cpp='$CXXCPP $CPPFLAGS'
37664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37669 /* end confdefs.h. */
37670 #include <math.h>
37672 main ()
37674 atan2l(0, 0);
37676 return 0;
37678 _ACEOF
37679 if ac_fn_cxx_try_compile "$LINENO"; then :
37680 glibcxx_cv_func_atan2l_use=yes
37681 else
37682 glibcxx_cv_func_atan2l_use=no
37684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37685 ac_ext=c
37686 ac_cpp='$CPP $CPPFLAGS'
37687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37696 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37698 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37699 for ac_func in atan2l
37700 do :
37701 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37702 if test "x$ac_cv_func_atan2l" = x""yes; then :
37703 cat >>confdefs.h <<_ACEOF
37704 #define HAVE_ATAN2L 1
37705 _ACEOF
37708 done
37710 else
37712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37713 $as_echo_n "checking for _atan2l declaration... " >&6; }
37714 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37715 if test "${glibcxx_cv_func__atan2l_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 _atan2l(0, 0);
37734 return 0;
37736 _ACEOF
37737 if ac_fn_cxx_try_compile "$LINENO"; then :
37738 glibcxx_cv_func__atan2l_use=yes
37739 else
37740 glibcxx_cv_func__atan2l_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__atan2l_use" >&5
37754 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37756 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37757 for ac_func in _atan2l
37758 do :
37759 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37760 if test "x$ac_cv_func__atan2l" = x""yes; then :
37761 cat >>confdefs.h <<_ACEOF
37762 #define HAVE__ATAN2L 1
37763 _ACEOF
37766 done
37775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37776 $as_echo_n "checking for expl declaration... " >&6; }
37777 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37778 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37779 $as_echo_n "(cached) " >&6
37780 else
37783 ac_ext=cpp
37784 ac_cpp='$CXXCPP $CPPFLAGS'
37785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37790 /* end confdefs.h. */
37791 #include <math.h>
37792 #ifdef HAVE_IEEEFP_H
37793 #include <ieeefp.h>
37794 #endif
37797 main ()
37799 expl(0);
37801 return 0;
37803 _ACEOF
37804 if ac_fn_cxx_try_compile "$LINENO"; then :
37805 glibcxx_cv_func_expl_use=yes
37806 else
37807 glibcxx_cv_func_expl_use=no
37809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37810 ac_ext=c
37811 ac_cpp='$CPP $CPPFLAGS'
37812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37821 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37823 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37824 for ac_func in expl
37825 do :
37826 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37827 if test "x$ac_cv_func_expl" = x""yes; then :
37828 cat >>confdefs.h <<_ACEOF
37829 #define HAVE_EXPL 1
37830 _ACEOF
37833 done
37835 else
37837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37838 $as_echo_n "checking for _expl declaration... " >&6; }
37839 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37840 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37841 $as_echo_n "(cached) " >&6
37842 else
37845 ac_ext=cpp
37846 ac_cpp='$CXXCPP $CPPFLAGS'
37847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37852 /* end confdefs.h. */
37853 #include <math.h>
37854 #ifdef HAVE_IEEEFP_H
37855 #include <ieeefp.h>
37856 #endif
37859 main ()
37861 _expl(0);
37863 return 0;
37865 _ACEOF
37866 if ac_fn_cxx_try_compile "$LINENO"; then :
37867 glibcxx_cv_func__expl_use=yes
37868 else
37869 glibcxx_cv_func__expl_use=no
37871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37872 ac_ext=c
37873 ac_cpp='$CPP $CPPFLAGS'
37874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37883 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37885 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37886 for ac_func in _expl
37887 do :
37888 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37889 if test "x$ac_cv_func__expl" = x""yes; then :
37890 cat >>confdefs.h <<_ACEOF
37891 #define HAVE__EXPL 1
37892 _ACEOF
37895 done
37904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37905 $as_echo_n "checking for fabsl declaration... " >&6; }
37906 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37907 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37908 $as_echo_n "(cached) " >&6
37909 else
37912 ac_ext=cpp
37913 ac_cpp='$CXXCPP $CPPFLAGS'
37914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37919 /* end confdefs.h. */
37920 #include <math.h>
37921 #ifdef HAVE_IEEEFP_H
37922 #include <ieeefp.h>
37923 #endif
37926 main ()
37928 fabsl(0);
37930 return 0;
37932 _ACEOF
37933 if ac_fn_cxx_try_compile "$LINENO"; then :
37934 glibcxx_cv_func_fabsl_use=yes
37935 else
37936 glibcxx_cv_func_fabsl_use=no
37938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37939 ac_ext=c
37940 ac_cpp='$CPP $CPPFLAGS'
37941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37950 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37952 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37953 for ac_func in fabsl
37954 do :
37955 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37956 if test "x$ac_cv_func_fabsl" = x""yes; then :
37957 cat >>confdefs.h <<_ACEOF
37958 #define HAVE_FABSL 1
37959 _ACEOF
37962 done
37964 else
37966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37967 $as_echo_n "checking for _fabsl declaration... " >&6; }
37968 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37969 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37970 $as_echo_n "(cached) " >&6
37971 else
37974 ac_ext=cpp
37975 ac_cpp='$CXXCPP $CPPFLAGS'
37976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37981 /* end confdefs.h. */
37982 #include <math.h>
37983 #ifdef HAVE_IEEEFP_H
37984 #include <ieeefp.h>
37985 #endif
37988 main ()
37990 _fabsl(0);
37992 return 0;
37994 _ACEOF
37995 if ac_fn_cxx_try_compile "$LINENO"; then :
37996 glibcxx_cv_func__fabsl_use=yes
37997 else
37998 glibcxx_cv_func__fabsl_use=no
38000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38001 ac_ext=c
38002 ac_cpp='$CPP $CPPFLAGS'
38003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38012 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38014 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38015 for ac_func in _fabsl
38016 do :
38017 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38018 if test "x$ac_cv_func__fabsl" = x""yes; then :
38019 cat >>confdefs.h <<_ACEOF
38020 #define HAVE__FABSL 1
38021 _ACEOF
38024 done
38033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38034 $as_echo_n "checking for fmodl declaration... " >&6; }
38035 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38036 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38037 $as_echo_n "(cached) " >&6
38038 else
38041 ac_ext=cpp
38042 ac_cpp='$CXXCPP $CPPFLAGS'
38043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38048 /* end confdefs.h. */
38049 #include <math.h>
38051 main ()
38053 fmodl(0, 0);
38055 return 0;
38057 _ACEOF
38058 if ac_fn_cxx_try_compile "$LINENO"; then :
38059 glibcxx_cv_func_fmodl_use=yes
38060 else
38061 glibcxx_cv_func_fmodl_use=no
38063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38064 ac_ext=c
38065 ac_cpp='$CPP $CPPFLAGS'
38066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38075 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38077 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38078 for ac_func in fmodl
38079 do :
38080 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38081 if test "x$ac_cv_func_fmodl" = x""yes; then :
38082 cat >>confdefs.h <<_ACEOF
38083 #define HAVE_FMODL 1
38084 _ACEOF
38087 done
38089 else
38091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38092 $as_echo_n "checking for _fmodl declaration... " >&6; }
38093 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38094 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38095 $as_echo_n "(cached) " >&6
38096 else
38099 ac_ext=cpp
38100 ac_cpp='$CXXCPP $CPPFLAGS'
38101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38106 /* end confdefs.h. */
38107 #include <math.h>
38109 main ()
38111 _fmodl(0, 0);
38113 return 0;
38115 _ACEOF
38116 if ac_fn_cxx_try_compile "$LINENO"; then :
38117 glibcxx_cv_func__fmodl_use=yes
38118 else
38119 glibcxx_cv_func__fmodl_use=no
38121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38122 ac_ext=c
38123 ac_cpp='$CPP $CPPFLAGS'
38124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38133 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38135 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38136 for ac_func in _fmodl
38137 do :
38138 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38139 if test "x$ac_cv_func__fmodl" = x""yes; then :
38140 cat >>confdefs.h <<_ACEOF
38141 #define HAVE__FMODL 1
38142 _ACEOF
38145 done
38154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38155 $as_echo_n "checking for frexpl declaration... " >&6; }
38156 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38157 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38158 $as_echo_n "(cached) " >&6
38159 else
38162 ac_ext=cpp
38163 ac_cpp='$CXXCPP $CPPFLAGS'
38164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38169 /* end confdefs.h. */
38170 #include <math.h>
38172 main ()
38174 frexpl(0, 0);
38176 return 0;
38178 _ACEOF
38179 if ac_fn_cxx_try_compile "$LINENO"; then :
38180 glibcxx_cv_func_frexpl_use=yes
38181 else
38182 glibcxx_cv_func_frexpl_use=no
38184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38185 ac_ext=c
38186 ac_cpp='$CPP $CPPFLAGS'
38187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38196 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38198 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38199 for ac_func in frexpl
38200 do :
38201 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38202 if test "x$ac_cv_func_frexpl" = x""yes; then :
38203 cat >>confdefs.h <<_ACEOF
38204 #define HAVE_FREXPL 1
38205 _ACEOF
38208 done
38210 else
38212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38213 $as_echo_n "checking for _frexpl declaration... " >&6; }
38214 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38215 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
38234 return 0;
38236 _ACEOF
38237 if ac_fn_cxx_try_compile "$LINENO"; then :
38238 glibcxx_cv_func__frexpl_use=yes
38239 else
38240 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
38254 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38256 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38257 for ac_func in _frexpl
38258 do :
38259 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38260 if test "x$ac_cv_func__frexpl" = x""yes; then :
38261 cat >>confdefs.h <<_ACEOF
38262 #define HAVE__FREXPL 1
38263 _ACEOF
38266 done
38275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38276 $as_echo_n "checking for hypotl declaration... " >&6; }
38277 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38278 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38279 $as_echo_n "(cached) " >&6
38280 else
38283 ac_ext=cpp
38284 ac_cpp='$CXXCPP $CPPFLAGS'
38285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38290 /* end confdefs.h. */
38291 #include <math.h>
38293 main ()
38295 hypotl(0, 0);
38297 return 0;
38299 _ACEOF
38300 if ac_fn_cxx_try_compile "$LINENO"; then :
38301 glibcxx_cv_func_hypotl_use=yes
38302 else
38303 glibcxx_cv_func_hypotl_use=no
38305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38306 ac_ext=c
38307 ac_cpp='$CPP $CPPFLAGS'
38308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38317 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38319 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38320 for ac_func in hypotl
38321 do :
38322 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38323 if test "x$ac_cv_func_hypotl" = x""yes; then :
38324 cat >>confdefs.h <<_ACEOF
38325 #define HAVE_HYPOTL 1
38326 _ACEOF
38329 done
38331 else
38333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38334 $as_echo_n "checking for _hypotl declaration... " >&6; }
38335 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38336 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
38355 return 0;
38357 _ACEOF
38358 if ac_fn_cxx_try_compile "$LINENO"; then :
38359 glibcxx_cv_func__hypotl_use=yes
38360 else
38361 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
38375 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38377 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38378 for ac_func in _hypotl
38379 do :
38380 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38381 if test "x$ac_cv_func__hypotl" = x""yes; then :
38382 cat >>confdefs.h <<_ACEOF
38383 #define HAVE__HYPOTL 1
38384 _ACEOF
38387 done
38396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38397 $as_echo_n "checking for ldexpl declaration... " >&6; }
38398 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38399 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38400 $as_echo_n "(cached) " >&6
38401 else
38404 ac_ext=cpp
38405 ac_cpp='$CXXCPP $CPPFLAGS'
38406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38411 /* end confdefs.h. */
38412 #include <math.h>
38414 main ()
38416 ldexpl(0, 0);
38418 return 0;
38420 _ACEOF
38421 if ac_fn_cxx_try_compile "$LINENO"; then :
38422 glibcxx_cv_func_ldexpl_use=yes
38423 else
38424 glibcxx_cv_func_ldexpl_use=no
38426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38427 ac_ext=c
38428 ac_cpp='$CPP $CPPFLAGS'
38429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38438 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38440 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38441 for ac_func in ldexpl
38442 do :
38443 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38444 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38445 cat >>confdefs.h <<_ACEOF
38446 #define HAVE_LDEXPL 1
38447 _ACEOF
38450 done
38452 else
38454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38455 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38456 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38457 if test "${glibcxx_cv_func__ldexpl_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>
38472 main ()
38474 _ldexpl(0, 0);
38476 return 0;
38478 _ACEOF
38479 if ac_fn_cxx_try_compile "$LINENO"; then :
38480 glibcxx_cv_func__ldexpl_use=yes
38481 else
38482 glibcxx_cv_func__ldexpl_use=no
38484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38485 ac_ext=c
38486 ac_cpp='$CPP $CPPFLAGS'
38487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38496 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38498 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38499 for ac_func in _ldexpl
38500 do :
38501 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38502 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38503 cat >>confdefs.h <<_ACEOF
38504 #define HAVE__LDEXPL 1
38505 _ACEOF
38508 done
38517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38518 $as_echo_n "checking for logl declaration... " >&6; }
38519 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38520 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38521 $as_echo_n "(cached) " >&6
38522 else
38525 ac_ext=cpp
38526 ac_cpp='$CXXCPP $CPPFLAGS'
38527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38532 /* end confdefs.h. */
38533 #include <math.h>
38534 #ifdef HAVE_IEEEFP_H
38535 #include <ieeefp.h>
38536 #endif
38539 main ()
38541 logl(0);
38543 return 0;
38545 _ACEOF
38546 if ac_fn_cxx_try_compile "$LINENO"; then :
38547 glibcxx_cv_func_logl_use=yes
38548 else
38549 glibcxx_cv_func_logl_use=no
38551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38552 ac_ext=c
38553 ac_cpp='$CPP $CPPFLAGS'
38554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38563 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38565 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38566 for ac_func in logl
38567 do :
38568 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38569 if test "x$ac_cv_func_logl" = x""yes; then :
38570 cat >>confdefs.h <<_ACEOF
38571 #define HAVE_LOGL 1
38572 _ACEOF
38575 done
38577 else
38579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38580 $as_echo_n "checking for _logl declaration... " >&6; }
38581 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38582 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38583 $as_echo_n "(cached) " >&6
38584 else
38587 ac_ext=cpp
38588 ac_cpp='$CXXCPP $CPPFLAGS'
38589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38594 /* end confdefs.h. */
38595 #include <math.h>
38596 #ifdef HAVE_IEEEFP_H
38597 #include <ieeefp.h>
38598 #endif
38601 main ()
38603 _logl(0);
38605 return 0;
38607 _ACEOF
38608 if ac_fn_cxx_try_compile "$LINENO"; then :
38609 glibcxx_cv_func__logl_use=yes
38610 else
38611 glibcxx_cv_func__logl_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__logl_use" >&5
38625 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38627 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38628 for ac_func in _logl
38629 do :
38630 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38631 if test "x$ac_cv_func__logl" = x""yes; then :
38632 cat >>confdefs.h <<_ACEOF
38633 #define HAVE__LOGL 1
38634 _ACEOF
38637 done
38646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38647 $as_echo_n "checking for log10l declaration... " >&6; }
38648 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38649 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38650 $as_echo_n "(cached) " >&6
38651 else
38654 ac_ext=cpp
38655 ac_cpp='$CXXCPP $CPPFLAGS'
38656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38661 /* end confdefs.h. */
38662 #include <math.h>
38663 #ifdef HAVE_IEEEFP_H
38664 #include <ieeefp.h>
38665 #endif
38668 main ()
38670 log10l(0);
38672 return 0;
38674 _ACEOF
38675 if ac_fn_cxx_try_compile "$LINENO"; then :
38676 glibcxx_cv_func_log10l_use=yes
38677 else
38678 glibcxx_cv_func_log10l_use=no
38680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38681 ac_ext=c
38682 ac_cpp='$CPP $CPPFLAGS'
38683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38692 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38694 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38695 for ac_func in log10l
38696 do :
38697 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38698 if test "x$ac_cv_func_log10l" = x""yes; then :
38699 cat >>confdefs.h <<_ACEOF
38700 #define HAVE_LOG10L 1
38701 _ACEOF
38704 done
38706 else
38708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38709 $as_echo_n "checking for _log10l declaration... " >&6; }
38710 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38711 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38712 $as_echo_n "(cached) " >&6
38713 else
38716 ac_ext=cpp
38717 ac_cpp='$CXXCPP $CPPFLAGS'
38718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38723 /* end confdefs.h. */
38724 #include <math.h>
38725 #ifdef HAVE_IEEEFP_H
38726 #include <ieeefp.h>
38727 #endif
38730 main ()
38732 _log10l(0);
38734 return 0;
38736 _ACEOF
38737 if ac_fn_cxx_try_compile "$LINENO"; then :
38738 glibcxx_cv_func__log10l_use=yes
38739 else
38740 glibcxx_cv_func__log10l_use=no
38742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38743 ac_ext=c
38744 ac_cpp='$CPP $CPPFLAGS'
38745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38754 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38756 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38757 for ac_func in _log10l
38758 do :
38759 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38760 if test "x$ac_cv_func__log10l" = x""yes; then :
38761 cat >>confdefs.h <<_ACEOF
38762 #define HAVE__LOG10L 1
38763 _ACEOF
38766 done
38775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38776 $as_echo_n "checking for modfl declaration... " >&6; }
38777 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38778 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38779 $as_echo_n "(cached) " >&6
38780 else
38783 ac_ext=cpp
38784 ac_cpp='$CXXCPP $CPPFLAGS'
38785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38790 /* end confdefs.h. */
38791 #include <math.h>
38793 main ()
38795 modfl(0, 0);
38797 return 0;
38799 _ACEOF
38800 if ac_fn_cxx_try_compile "$LINENO"; then :
38801 glibcxx_cv_func_modfl_use=yes
38802 else
38803 glibcxx_cv_func_modfl_use=no
38805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38806 ac_ext=c
38807 ac_cpp='$CPP $CPPFLAGS'
38808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38817 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38819 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38820 for ac_func in modfl
38821 do :
38822 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38823 if test "x$ac_cv_func_modfl" = x""yes; then :
38824 cat >>confdefs.h <<_ACEOF
38825 #define HAVE_MODFL 1
38826 _ACEOF
38829 done
38831 else
38833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38834 $as_echo_n "checking for _modfl declaration... " >&6; }
38835 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38836 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38837 $as_echo_n "(cached) " >&6
38838 else
38841 ac_ext=cpp
38842 ac_cpp='$CXXCPP $CPPFLAGS'
38843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38848 /* end confdefs.h. */
38849 #include <math.h>
38851 main ()
38853 _modfl(0, 0);
38855 return 0;
38857 _ACEOF
38858 if ac_fn_cxx_try_compile "$LINENO"; then :
38859 glibcxx_cv_func__modfl_use=yes
38860 else
38861 glibcxx_cv_func__modfl_use=no
38863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38864 ac_ext=c
38865 ac_cpp='$CPP $CPPFLAGS'
38866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38875 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38877 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38878 for ac_func in _modfl
38879 do :
38880 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38881 if test "x$ac_cv_func__modfl" = x""yes; then :
38882 cat >>confdefs.h <<_ACEOF
38883 #define HAVE__MODFL 1
38884 _ACEOF
38887 done
38896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38897 $as_echo_n "checking for powl declaration... " >&6; }
38898 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38899 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38900 $as_echo_n "(cached) " >&6
38901 else
38904 ac_ext=cpp
38905 ac_cpp='$CXXCPP $CPPFLAGS'
38906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38911 /* end confdefs.h. */
38912 #include <math.h>
38914 main ()
38916 powl(0, 0);
38918 return 0;
38920 _ACEOF
38921 if ac_fn_cxx_try_compile "$LINENO"; then :
38922 glibcxx_cv_func_powl_use=yes
38923 else
38924 glibcxx_cv_func_powl_use=no
38926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38927 ac_ext=c
38928 ac_cpp='$CPP $CPPFLAGS'
38929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38938 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38940 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38941 for ac_func in powl
38942 do :
38943 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38944 if test "x$ac_cv_func_powl" = x""yes; then :
38945 cat >>confdefs.h <<_ACEOF
38946 #define HAVE_POWL 1
38947 _ACEOF
38950 done
38952 else
38954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38955 $as_echo_n "checking for _powl declaration... " >&6; }
38956 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38957 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38958 $as_echo_n "(cached) " >&6
38959 else
38962 ac_ext=cpp
38963 ac_cpp='$CXXCPP $CPPFLAGS'
38964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38969 /* end confdefs.h. */
38970 #include <math.h>
38972 main ()
38974 _powl(0, 0);
38976 return 0;
38978 _ACEOF
38979 if ac_fn_cxx_try_compile "$LINENO"; then :
38980 glibcxx_cv_func__powl_use=yes
38981 else
38982 glibcxx_cv_func__powl_use=no
38984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38985 ac_ext=c
38986 ac_cpp='$CPP $CPPFLAGS'
38987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38996 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38998 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38999 for ac_func in _powl
39000 do :
39001 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39002 if test "x$ac_cv_func__powl" = x""yes; then :
39003 cat >>confdefs.h <<_ACEOF
39004 #define HAVE__POWL 1
39005 _ACEOF
39008 done
39017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39018 $as_echo_n "checking for sqrtl declaration... " >&6; }
39019 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39020 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39021 $as_echo_n "(cached) " >&6
39022 else
39025 ac_ext=cpp
39026 ac_cpp='$CXXCPP $CPPFLAGS'
39027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39032 /* end confdefs.h. */
39033 #include <math.h>
39034 #ifdef HAVE_IEEEFP_H
39035 #include <ieeefp.h>
39036 #endif
39039 main ()
39041 sqrtl(0);
39043 return 0;
39045 _ACEOF
39046 if ac_fn_cxx_try_compile "$LINENO"; then :
39047 glibcxx_cv_func_sqrtl_use=yes
39048 else
39049 glibcxx_cv_func_sqrtl_use=no
39051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39052 ac_ext=c
39053 ac_cpp='$CPP $CPPFLAGS'
39054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39063 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39065 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39066 for ac_func in sqrtl
39067 do :
39068 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39069 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39070 cat >>confdefs.h <<_ACEOF
39071 #define HAVE_SQRTL 1
39072 _ACEOF
39075 done
39077 else
39079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39080 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39081 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39082 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39083 $as_echo_n "(cached) " >&6
39084 else
39087 ac_ext=cpp
39088 ac_cpp='$CXXCPP $CPPFLAGS'
39089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39094 /* end confdefs.h. */
39095 #include <math.h>
39096 #ifdef HAVE_IEEEFP_H
39097 #include <ieeefp.h>
39098 #endif
39101 main ()
39103 _sqrtl(0);
39105 return 0;
39107 _ACEOF
39108 if ac_fn_cxx_try_compile "$LINENO"; then :
39109 glibcxx_cv_func__sqrtl_use=yes
39110 else
39111 glibcxx_cv_func__sqrtl_use=no
39113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39114 ac_ext=c
39115 ac_cpp='$CPP $CPPFLAGS'
39116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39125 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39127 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39128 for ac_func in _sqrtl
39129 do :
39130 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39131 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39132 cat >>confdefs.h <<_ACEOF
39133 #define HAVE__SQRTL 1
39134 _ACEOF
39137 done
39146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39147 $as_echo_n "checking for sincosl declaration... " >&6; }
39148 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39149 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39150 $as_echo_n "(cached) " >&6
39151 else
39154 ac_ext=cpp
39155 ac_cpp='$CXXCPP $CPPFLAGS'
39156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39161 /* end confdefs.h. */
39162 #include <math.h>
39164 main ()
39166 sincosl(0, 0, 0);
39168 return 0;
39170 _ACEOF
39171 if ac_fn_cxx_try_compile "$LINENO"; then :
39172 glibcxx_cv_func_sincosl_use=yes
39173 else
39174 glibcxx_cv_func_sincosl_use=no
39176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39177 ac_ext=c
39178 ac_cpp='$CPP $CPPFLAGS'
39179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39188 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39190 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39191 for ac_func in sincosl
39192 do :
39193 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39194 if test "x$ac_cv_func_sincosl" = x""yes; then :
39195 cat >>confdefs.h <<_ACEOF
39196 #define HAVE_SINCOSL 1
39197 _ACEOF
39200 done
39202 else
39204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39205 $as_echo_n "checking for _sincosl declaration... " >&6; }
39206 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39207 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39208 $as_echo_n "(cached) " >&6
39209 else
39212 ac_ext=cpp
39213 ac_cpp='$CXXCPP $CPPFLAGS'
39214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39219 /* end confdefs.h. */
39220 #include <math.h>
39222 main ()
39224 _sincosl(0, 0, 0);
39226 return 0;
39228 _ACEOF
39229 if ac_fn_cxx_try_compile "$LINENO"; then :
39230 glibcxx_cv_func__sincosl_use=yes
39231 else
39232 glibcxx_cv_func__sincosl_use=no
39234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39235 ac_ext=c
39236 ac_cpp='$CPP $CPPFLAGS'
39237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39246 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39248 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39249 for ac_func in _sincosl
39250 do :
39251 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39252 if test "x$ac_cv_func__sincosl" = x""yes; then :
39253 cat >>confdefs.h <<_ACEOF
39254 #define HAVE__SINCOSL 1
39255 _ACEOF
39258 done
39267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39268 $as_echo_n "checking for finitel declaration... " >&6; }
39269 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39270 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39271 $as_echo_n "(cached) " >&6
39272 else
39275 ac_ext=cpp
39276 ac_cpp='$CXXCPP $CPPFLAGS'
39277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39282 /* end confdefs.h. */
39283 #include <math.h>
39284 #ifdef HAVE_IEEEFP_H
39285 #include <ieeefp.h>
39286 #endif
39289 main ()
39291 finitel(0);
39293 return 0;
39295 _ACEOF
39296 if ac_fn_cxx_try_compile "$LINENO"; then :
39297 glibcxx_cv_func_finitel_use=yes
39298 else
39299 glibcxx_cv_func_finitel_use=no
39301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39302 ac_ext=c
39303 ac_cpp='$CPP $CPPFLAGS'
39304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39313 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39315 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39316 for ac_func in finitel
39317 do :
39318 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39319 if test "x$ac_cv_func_finitel" = x""yes; then :
39320 cat >>confdefs.h <<_ACEOF
39321 #define HAVE_FINITEL 1
39322 _ACEOF
39325 done
39327 else
39329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39330 $as_echo_n "checking for _finitel declaration... " >&6; }
39331 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39332 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39333 $as_echo_n "(cached) " >&6
39334 else
39337 ac_ext=cpp
39338 ac_cpp='$CXXCPP $CPPFLAGS'
39339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39344 /* end confdefs.h. */
39345 #include <math.h>
39346 #ifdef HAVE_IEEEFP_H
39347 #include <ieeefp.h>
39348 #endif
39351 main ()
39353 _finitel(0);
39355 return 0;
39357 _ACEOF
39358 if ac_fn_cxx_try_compile "$LINENO"; then :
39359 glibcxx_cv_func__finitel_use=yes
39360 else
39361 glibcxx_cv_func__finitel_use=no
39363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39364 ac_ext=c
39365 ac_cpp='$CPP $CPPFLAGS'
39366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39375 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39377 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39378 for ac_func in _finitel
39379 do :
39380 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39381 if test "x$ac_cv_func__finitel" = x""yes; then :
39382 cat >>confdefs.h <<_ACEOF
39383 #define HAVE__FINITEL 1
39384 _ACEOF
39387 done
39395 LIBS="$ac_save_LIBS"
39396 CXXFLAGS="$ac_save_CXXFLAGS"
39399 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39400 ac_save_CXXFLAGS="$CXXFLAGS"
39401 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39405 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39406 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39407 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39408 $as_echo_n "(cached) " >&6
39409 else
39412 ac_ext=cpp
39413 ac_cpp='$CXXCPP $CPPFLAGS'
39414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39419 /* end confdefs.h. */
39420 #include <stdlib.h>
39422 main ()
39424 at_quick_exit(0);
39426 return 0;
39428 _ACEOF
39429 if ac_fn_cxx_try_compile "$LINENO"; then :
39430 glibcxx_cv_func_at_quick_exit_use=yes
39431 else
39432 glibcxx_cv_func_at_quick_exit_use=no
39434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39435 ac_ext=c
39436 ac_cpp='$CPP $CPPFLAGS'
39437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39446 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39447 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39448 for ac_func in at_quick_exit
39449 do :
39450 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39451 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39452 cat >>confdefs.h <<_ACEOF
39453 #define HAVE_AT_QUICK_EXIT 1
39454 _ACEOF
39457 done
39462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39463 $as_echo_n "checking for quick_exit declaration... " >&6; }
39464 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39465 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39466 $as_echo_n "(cached) " >&6
39467 else
39470 ac_ext=cpp
39471 ac_cpp='$CXXCPP $CPPFLAGS'
39472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39477 /* end confdefs.h. */
39478 #include <stdlib.h>
39480 main ()
39482 quick_exit(0);
39484 return 0;
39486 _ACEOF
39487 if ac_fn_cxx_try_compile "$LINENO"; then :
39488 glibcxx_cv_func_quick_exit_use=yes
39489 else
39490 glibcxx_cv_func_quick_exit_use=no
39492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39493 ac_ext=c
39494 ac_cpp='$CPP $CPPFLAGS'
39495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39504 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39505 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39506 for ac_func in quick_exit
39507 do :
39508 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39509 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39510 cat >>confdefs.h <<_ACEOF
39511 #define HAVE_QUICK_EXIT 1
39512 _ACEOF
39515 done
39520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39521 $as_echo_n "checking for strtold declaration... " >&6; }
39522 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39523 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39524 $as_echo_n "(cached) " >&6
39525 else
39528 ac_ext=cpp
39529 ac_cpp='$CXXCPP $CPPFLAGS'
39530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39535 /* end confdefs.h. */
39536 #include <stdlib.h>
39538 main ()
39540 strtold(0, 0);
39542 return 0;
39544 _ACEOF
39545 if ac_fn_cxx_try_compile "$LINENO"; then :
39546 glibcxx_cv_func_strtold_use=yes
39547 else
39548 glibcxx_cv_func_strtold_use=no
39550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39551 ac_ext=c
39552 ac_cpp='$CPP $CPPFLAGS'
39553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39562 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39563 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39564 for ac_func in strtold
39565 do :
39566 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39567 if test "x$ac_cv_func_strtold" = x""yes; then :
39568 cat >>confdefs.h <<_ACEOF
39569 #define HAVE_STRTOLD 1
39570 _ACEOF
39573 done
39580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39581 $as_echo_n "checking for strtof declaration... " >&6; }
39582 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39583 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39584 $as_echo_n "(cached) " >&6
39585 else
39588 ac_ext=cpp
39589 ac_cpp='$CXXCPP $CPPFLAGS'
39590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39595 /* end confdefs.h. */
39596 #include <stdlib.h>
39598 main ()
39600 strtof(0, 0);
39602 return 0;
39604 _ACEOF
39605 if ac_fn_cxx_try_compile "$LINENO"; then :
39606 glibcxx_cv_func_strtof_use=yes
39607 else
39608 glibcxx_cv_func_strtof_use=no
39610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39611 ac_ext=c
39612 ac_cpp='$CPP $CPPFLAGS'
39613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39622 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39623 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39624 for ac_func in strtof
39625 do :
39626 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39627 if test "x$ac_cv_func_strtof" = x""yes; then :
39628 cat >>confdefs.h <<_ACEOF
39629 #define HAVE_STRTOF 1
39630 _ACEOF
39633 done
39640 CXXFLAGS="$ac_save_CXXFLAGS"
39642 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39644 # We don't yet support AIX's TLS ABI.
39645 #GCC_CHECK_TLS
39651 am_save_CPPFLAGS="$CPPFLAGS"
39653 for element in $INCICONV; do
39654 haveit=
39655 for x in $CPPFLAGS; do
39657 acl_save_prefix="$prefix"
39658 prefix="$acl_final_prefix"
39659 acl_save_exec_prefix="$exec_prefix"
39660 exec_prefix="$acl_final_exec_prefix"
39661 eval x=\"$x\"
39662 exec_prefix="$acl_save_exec_prefix"
39663 prefix="$acl_save_prefix"
39665 if test "X$x" = "X$element"; then
39666 haveit=yes
39667 break
39669 done
39670 if test -z "$haveit"; then
39671 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39673 done
39676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39677 $as_echo_n "checking for iconv... " >&6; }
39678 if test "${am_cv_func_iconv+set}" = set; then :
39679 $as_echo_n "(cached) " >&6
39680 else
39682 am_cv_func_iconv="no, consider installing GNU libiconv"
39683 am_cv_lib_iconv=no
39684 if test x$gcc_no_link = xyes; then
39685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39688 /* end confdefs.h. */
39689 #include <stdlib.h>
39690 #include <iconv.h>
39692 main ()
39694 iconv_t cd = iconv_open("","");
39695 iconv(cd,NULL,NULL,NULL,NULL);
39696 iconv_close(cd);
39698 return 0;
39700 _ACEOF
39701 if ac_fn_c_try_link "$LINENO"; then :
39702 am_cv_func_iconv=yes
39704 rm -f core conftest.err conftest.$ac_objext \
39705 conftest$ac_exeext conftest.$ac_ext
39706 if test "$am_cv_func_iconv" != yes; then
39707 am_save_LIBS="$LIBS"
39708 LIBS="$LIBS $LIBICONV"
39709 if test x$gcc_no_link = xyes; then
39710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39713 /* end confdefs.h. */
39714 #include <stdlib.h>
39715 #include <iconv.h>
39717 main ()
39719 iconv_t cd = iconv_open("","");
39720 iconv(cd,NULL,NULL,NULL,NULL);
39721 iconv_close(cd);
39723 return 0;
39725 _ACEOF
39726 if ac_fn_c_try_link "$LINENO"; then :
39727 am_cv_lib_iconv=yes
39728 am_cv_func_iconv=yes
39730 rm -f core conftest.err conftest.$ac_objext \
39731 conftest$ac_exeext conftest.$ac_ext
39732 LIBS="$am_save_LIBS"
39736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39737 $as_echo "$am_cv_func_iconv" >&6; }
39738 if test "$am_cv_func_iconv" = yes; then
39740 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39743 if test "$am_cv_lib_iconv" = yes; then
39744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39745 $as_echo_n "checking how to link with libiconv... " >&6; }
39746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39747 $as_echo "$LIBICONV" >&6; }
39748 else
39749 CPPFLAGS="$am_save_CPPFLAGS"
39750 LIBICONV=
39751 LTLIBICONV=
39756 if test "$am_cv_func_iconv" = yes; then
39757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39758 $as_echo_n "checking for iconv declaration... " >&6; }
39759 if test "${am_cv_proto_iconv+set}" = set; then :
39760 $as_echo_n "(cached) " >&6
39761 else
39763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39764 /* end confdefs.h. */
39766 #include <stdlib.h>
39767 #include <iconv.h>
39768 extern
39769 #ifdef __cplusplus
39771 #endif
39772 #if defined(__STDC__) || defined(__cplusplus)
39773 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39774 #else
39775 size_t iconv();
39776 #endif
39779 main ()
39783 return 0;
39785 _ACEOF
39786 if ac_fn_c_try_compile "$LINENO"; then :
39787 am_cv_proto_iconv_arg1=""
39788 else
39789 am_cv_proto_iconv_arg1="const"
39791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39792 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);"
39795 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39797 }$am_cv_proto_iconv" >&5
39798 $as_echo "${ac_t:-
39799 }$am_cv_proto_iconv" >&6; }
39801 cat >>confdefs.h <<_ACEOF
39802 #define ICONV_CONST $am_cv_proto_iconv_arg1
39803 _ACEOF
39809 *-darwin*)
39810 # Darwin versions vary, but the linker should work in a cross environment,
39811 # so we just check for all the features here.
39812 # Check for available headers.
39814 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39816 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39817 ac_save_CXXFLAGS="$CXXFLAGS"
39818 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39821 $as_echo_n "checking for sin in -lm... " >&6; }
39822 if test "${ac_cv_lib_m_sin+set}" = set; then :
39823 $as_echo_n "(cached) " >&6
39824 else
39825 ac_check_lib_save_LIBS=$LIBS
39826 LIBS="-lm $LIBS"
39827 if test x$gcc_no_link = xyes; then
39828 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39831 /* end confdefs.h. */
39833 /* Override any GCC internal prototype to avoid an error.
39834 Use char because int might match the return type of a GCC
39835 builtin and then its argument prototype would still apply. */
39836 #ifdef __cplusplus
39837 extern "C"
39838 #endif
39839 char sin ();
39841 main ()
39843 return sin ();
39845 return 0;
39847 _ACEOF
39848 if ac_fn_c_try_link "$LINENO"; then :
39849 ac_cv_lib_m_sin=yes
39850 else
39851 ac_cv_lib_m_sin=no
39853 rm -f core conftest.err conftest.$ac_objext \
39854 conftest$ac_exeext conftest.$ac_ext
39855 LIBS=$ac_check_lib_save_LIBS
39857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39858 $as_echo "$ac_cv_lib_m_sin" >&6; }
39859 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39860 libm="-lm"
39863 ac_save_LIBS="$LIBS"
39864 LIBS="$LIBS $libm"
39868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39869 $as_echo_n "checking for isinf declaration... " >&6; }
39870 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39871 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39872 $as_echo_n "(cached) " >&6
39873 else
39876 ac_ext=cpp
39877 ac_cpp='$CXXCPP $CPPFLAGS'
39878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39883 /* end confdefs.h. */
39884 #include <math.h>
39885 #ifdef HAVE_IEEEFP_H
39886 #include <ieeefp.h>
39887 #endif
39890 main ()
39892 isinf(0);
39894 return 0;
39896 _ACEOF
39897 if ac_fn_cxx_try_compile "$LINENO"; then :
39898 glibcxx_cv_func_isinf_use=yes
39899 else
39900 glibcxx_cv_func_isinf_use=no
39902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39903 ac_ext=c
39904 ac_cpp='$CPP $CPPFLAGS'
39905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39914 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39916 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39917 for ac_func in isinf
39918 do :
39919 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39920 if test "x$ac_cv_func_isinf" = x""yes; then :
39921 cat >>confdefs.h <<_ACEOF
39922 #define HAVE_ISINF 1
39923 _ACEOF
39926 done
39928 else
39930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39931 $as_echo_n "checking for _isinf declaration... " >&6; }
39932 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39933 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39934 $as_echo_n "(cached) " >&6
39935 else
39938 ac_ext=cpp
39939 ac_cpp='$CXXCPP $CPPFLAGS'
39940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39945 /* end confdefs.h. */
39946 #include <math.h>
39947 #ifdef HAVE_IEEEFP_H
39948 #include <ieeefp.h>
39949 #endif
39952 main ()
39954 _isinf(0);
39956 return 0;
39958 _ACEOF
39959 if ac_fn_cxx_try_compile "$LINENO"; then :
39960 glibcxx_cv_func__isinf_use=yes
39961 else
39962 glibcxx_cv_func__isinf_use=no
39964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39965 ac_ext=c
39966 ac_cpp='$CPP $CPPFLAGS'
39967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39976 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39978 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39979 for ac_func in _isinf
39980 do :
39981 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39982 if test "x$ac_cv_func__isinf" = x""yes; then :
39983 cat >>confdefs.h <<_ACEOF
39984 #define HAVE__ISINF 1
39985 _ACEOF
39988 done
39997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39998 $as_echo_n "checking for isnan declaration... " >&6; }
39999 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40000 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40001 $as_echo_n "(cached) " >&6
40002 else
40005 ac_ext=cpp
40006 ac_cpp='$CXXCPP $CPPFLAGS'
40007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40012 /* end confdefs.h. */
40013 #include <math.h>
40014 #ifdef HAVE_IEEEFP_H
40015 #include <ieeefp.h>
40016 #endif
40019 main ()
40021 isnan(0);
40023 return 0;
40025 _ACEOF
40026 if ac_fn_cxx_try_compile "$LINENO"; then :
40027 glibcxx_cv_func_isnan_use=yes
40028 else
40029 glibcxx_cv_func_isnan_use=no
40031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40032 ac_ext=c
40033 ac_cpp='$CPP $CPPFLAGS'
40034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40043 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40045 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40046 for ac_func in isnan
40047 do :
40048 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40049 if test "x$ac_cv_func_isnan" = x""yes; then :
40050 cat >>confdefs.h <<_ACEOF
40051 #define HAVE_ISNAN 1
40052 _ACEOF
40055 done
40057 else
40059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40060 $as_echo_n "checking for _isnan declaration... " >&6; }
40061 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40062 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40063 $as_echo_n "(cached) " >&6
40064 else
40067 ac_ext=cpp
40068 ac_cpp='$CXXCPP $CPPFLAGS'
40069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40074 /* end confdefs.h. */
40075 #include <math.h>
40076 #ifdef HAVE_IEEEFP_H
40077 #include <ieeefp.h>
40078 #endif
40081 main ()
40083 _isnan(0);
40085 return 0;
40087 _ACEOF
40088 if ac_fn_cxx_try_compile "$LINENO"; then :
40089 glibcxx_cv_func__isnan_use=yes
40090 else
40091 glibcxx_cv_func__isnan_use=no
40093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40094 ac_ext=c
40095 ac_cpp='$CPP $CPPFLAGS'
40096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40105 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40107 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40108 for ac_func in _isnan
40109 do :
40110 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40111 if test "x$ac_cv_func__isnan" = x""yes; then :
40112 cat >>confdefs.h <<_ACEOF
40113 #define HAVE__ISNAN 1
40114 _ACEOF
40117 done
40126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40127 $as_echo_n "checking for finite declaration... " >&6; }
40128 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40129 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40130 $as_echo_n "(cached) " >&6
40131 else
40134 ac_ext=cpp
40135 ac_cpp='$CXXCPP $CPPFLAGS'
40136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40141 /* end confdefs.h. */
40142 #include <math.h>
40143 #ifdef HAVE_IEEEFP_H
40144 #include <ieeefp.h>
40145 #endif
40148 main ()
40150 finite(0);
40152 return 0;
40154 _ACEOF
40155 if ac_fn_cxx_try_compile "$LINENO"; then :
40156 glibcxx_cv_func_finite_use=yes
40157 else
40158 glibcxx_cv_func_finite_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
40171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40172 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40174 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40175 for ac_func in finite
40176 do :
40177 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40178 if test "x$ac_cv_func_finite" = x""yes; then :
40179 cat >>confdefs.h <<_ACEOF
40180 #define HAVE_FINITE 1
40181 _ACEOF
40184 done
40186 else
40188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40189 $as_echo_n "checking for _finite declaration... " >&6; }
40190 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40191 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40192 $as_echo_n "(cached) " >&6
40193 else
40196 ac_ext=cpp
40197 ac_cpp='$CXXCPP $CPPFLAGS'
40198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40203 /* end confdefs.h. */
40204 #include <math.h>
40205 #ifdef HAVE_IEEEFP_H
40206 #include <ieeefp.h>
40207 #endif
40210 main ()
40212 _finite(0);
40214 return 0;
40216 _ACEOF
40217 if ac_fn_cxx_try_compile "$LINENO"; then :
40218 glibcxx_cv_func__finite_use=yes
40219 else
40220 glibcxx_cv_func__finite_use=no
40222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40223 ac_ext=c
40224 ac_cpp='$CPP $CPPFLAGS'
40225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40234 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40236 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40237 for ac_func in _finite
40238 do :
40239 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40240 if test "x$ac_cv_func__finite" = x""yes; then :
40241 cat >>confdefs.h <<_ACEOF
40242 #define HAVE__FINITE 1
40243 _ACEOF
40246 done
40255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40256 $as_echo_n "checking for sincos declaration... " >&6; }
40257 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40258 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40259 $as_echo_n "(cached) " >&6
40260 else
40263 ac_ext=cpp
40264 ac_cpp='$CXXCPP $CPPFLAGS'
40265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40270 /* end confdefs.h. */
40271 #include <math.h>
40273 main ()
40275 sincos(0, 0, 0);
40277 return 0;
40279 _ACEOF
40280 if ac_fn_cxx_try_compile "$LINENO"; then :
40281 glibcxx_cv_func_sincos_use=yes
40282 else
40283 glibcxx_cv_func_sincos_use=no
40285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40286 ac_ext=c
40287 ac_cpp='$CPP $CPPFLAGS'
40288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40297 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40299 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40300 for ac_func in sincos
40301 do :
40302 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40303 if test "x$ac_cv_func_sincos" = x""yes; then :
40304 cat >>confdefs.h <<_ACEOF
40305 #define HAVE_SINCOS 1
40306 _ACEOF
40309 done
40311 else
40313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40314 $as_echo_n "checking for _sincos declaration... " >&6; }
40315 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40316 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40317 $as_echo_n "(cached) " >&6
40318 else
40321 ac_ext=cpp
40322 ac_cpp='$CXXCPP $CPPFLAGS'
40323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40328 /* end confdefs.h. */
40329 #include <math.h>
40331 main ()
40333 _sincos(0, 0, 0);
40335 return 0;
40337 _ACEOF
40338 if ac_fn_cxx_try_compile "$LINENO"; then :
40339 glibcxx_cv_func__sincos_use=yes
40340 else
40341 glibcxx_cv_func__sincos_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__sincos_use" >&5
40355 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40357 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40358 for ac_func in _sincos
40359 do :
40360 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40361 if test "x$ac_cv_func__sincos" = x""yes; then :
40362 cat >>confdefs.h <<_ACEOF
40363 #define HAVE__SINCOS 1
40364 _ACEOF
40367 done
40376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40377 $as_echo_n "checking for fpclass declaration... " >&6; }
40378 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40379 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40380 $as_echo_n "(cached) " >&6
40381 else
40384 ac_ext=cpp
40385 ac_cpp='$CXXCPP $CPPFLAGS'
40386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40391 /* end confdefs.h. */
40392 #include <math.h>
40393 #ifdef HAVE_IEEEFP_H
40394 #include <ieeefp.h>
40395 #endif
40398 main ()
40400 fpclass(0);
40402 return 0;
40404 _ACEOF
40405 if ac_fn_cxx_try_compile "$LINENO"; then :
40406 glibcxx_cv_func_fpclass_use=yes
40407 else
40408 glibcxx_cv_func_fpclass_use=no
40410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40411 ac_ext=c
40412 ac_cpp='$CPP $CPPFLAGS'
40413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40422 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40424 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40425 for ac_func in fpclass
40426 do :
40427 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40428 if test "x$ac_cv_func_fpclass" = x""yes; then :
40429 cat >>confdefs.h <<_ACEOF
40430 #define HAVE_FPCLASS 1
40431 _ACEOF
40434 done
40436 else
40438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40439 $as_echo_n "checking for _fpclass declaration... " >&6; }
40440 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40441 if test "${glibcxx_cv_func__fpclass_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 _fpclass(0);
40464 return 0;
40466 _ACEOF
40467 if ac_fn_cxx_try_compile "$LINENO"; then :
40468 glibcxx_cv_func__fpclass_use=yes
40469 else
40470 glibcxx_cv_func__fpclass_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__fpclass_use" >&5
40484 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40486 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40487 for ac_func in _fpclass
40488 do :
40489 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40490 if test "x$ac_cv_func__fpclass" = x""yes; then :
40491 cat >>confdefs.h <<_ACEOF
40492 #define HAVE__FPCLASS 1
40493 _ACEOF
40496 done
40505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40506 $as_echo_n "checking for qfpclass declaration... " >&6; }
40507 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40508 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40509 $as_echo_n "(cached) " >&6
40510 else
40513 ac_ext=cpp
40514 ac_cpp='$CXXCPP $CPPFLAGS'
40515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40520 /* end confdefs.h. */
40521 #include <math.h>
40522 #ifdef HAVE_IEEEFP_H
40523 #include <ieeefp.h>
40524 #endif
40527 main ()
40529 qfpclass(0);
40531 return 0;
40533 _ACEOF
40534 if ac_fn_cxx_try_compile "$LINENO"; then :
40535 glibcxx_cv_func_qfpclass_use=yes
40536 else
40537 glibcxx_cv_func_qfpclass_use=no
40539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40540 ac_ext=c
40541 ac_cpp='$CPP $CPPFLAGS'
40542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40551 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40553 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40554 for ac_func in qfpclass
40555 do :
40556 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40557 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40558 cat >>confdefs.h <<_ACEOF
40559 #define HAVE_QFPCLASS 1
40560 _ACEOF
40563 done
40565 else
40567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40568 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40569 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40570 if test "${glibcxx_cv_func__qfpclass_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 _qfpclass(0);
40593 return 0;
40595 _ACEOF
40596 if ac_fn_cxx_try_compile "$LINENO"; then :
40597 glibcxx_cv_func__qfpclass_use=yes
40598 else
40599 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
40613 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40615 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40616 for ac_func in _qfpclass
40617 do :
40618 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40619 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40620 cat >>confdefs.h <<_ACEOF
40621 #define HAVE__QFPCLASS 1
40622 _ACEOF
40625 done
40634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40635 $as_echo_n "checking for hypot declaration... " >&6; }
40636 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40637 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40638 $as_echo_n "(cached) " >&6
40639 else
40642 ac_ext=cpp
40643 ac_cpp='$CXXCPP $CPPFLAGS'
40644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40649 /* end confdefs.h. */
40650 #include <math.h>
40652 main ()
40654 hypot(0, 0);
40656 return 0;
40658 _ACEOF
40659 if ac_fn_cxx_try_compile "$LINENO"; then :
40660 glibcxx_cv_func_hypot_use=yes
40661 else
40662 glibcxx_cv_func_hypot_use=no
40664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40665 ac_ext=c
40666 ac_cpp='$CPP $CPPFLAGS'
40667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40676 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40678 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40679 for ac_func in hypot
40680 do :
40681 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40682 if test "x$ac_cv_func_hypot" = x""yes; then :
40683 cat >>confdefs.h <<_ACEOF
40684 #define HAVE_HYPOT 1
40685 _ACEOF
40688 done
40690 else
40692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40693 $as_echo_n "checking for _hypot declaration... " >&6; }
40694 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40695 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40696 $as_echo_n "(cached) " >&6
40697 else
40700 ac_ext=cpp
40701 ac_cpp='$CXXCPP $CPPFLAGS'
40702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40707 /* end confdefs.h. */
40708 #include <math.h>
40710 main ()
40712 _hypot(0, 0);
40714 return 0;
40716 _ACEOF
40717 if ac_fn_cxx_try_compile "$LINENO"; then :
40718 glibcxx_cv_func__hypot_use=yes
40719 else
40720 glibcxx_cv_func__hypot_use=no
40722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40723 ac_ext=c
40724 ac_cpp='$CPP $CPPFLAGS'
40725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40734 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40736 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40737 for ac_func in _hypot
40738 do :
40739 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40740 if test "x$ac_cv_func__hypot" = x""yes; then :
40741 cat >>confdefs.h <<_ACEOF
40742 #define HAVE__HYPOT 1
40743 _ACEOF
40746 done
40755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40756 $as_echo_n "checking for float trig functions... " >&6; }
40757 if test "${glibcxx_cv_func_float_trig_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 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40776 return 0;
40778 _ACEOF
40779 if ac_fn_cxx_try_compile "$LINENO"; then :
40780 glibcxx_cv_func_float_trig_use=yes
40781 else
40782 glibcxx_cv_func_float_trig_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
40793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40794 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40795 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40796 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40797 do :
40798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40800 eval as_val=\$$as_ac_var
40801 if test "x$as_val" = x""yes; then :
40802 cat >>confdefs.h <<_ACEOF
40803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40804 _ACEOF
40807 done
40809 else
40810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40811 $as_echo_n "checking for _float trig functions... " >&6; }
40812 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40813 $as_echo_n "(cached) " >&6
40814 else
40817 ac_ext=cpp
40818 ac_cpp='$CXXCPP $CPPFLAGS'
40819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40824 /* end confdefs.h. */
40825 #include <math.h>
40827 main ()
40829 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40831 return 0;
40833 _ACEOF
40834 if ac_fn_cxx_try_compile "$LINENO"; then :
40835 glibcxx_cv_func__float_trig_use=yes
40836 else
40837 glibcxx_cv_func__float_trig_use=no
40839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40840 ac_ext=c
40841 ac_cpp='$CPP $CPPFLAGS'
40842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40849 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40850 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40851 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40852 do :
40853 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40854 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40855 eval as_val=\$$as_ac_var
40856 if test "x$as_val" = x""yes; then :
40857 cat >>confdefs.h <<_ACEOF
40858 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40859 _ACEOF
40862 done
40871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40872 $as_echo_n "checking for float round functions... " >&6; }
40873 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40874 $as_echo_n "(cached) " >&6
40875 else
40878 ac_ext=cpp
40879 ac_cpp='$CXXCPP $CPPFLAGS'
40880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40885 /* end confdefs.h. */
40886 #include <math.h>
40888 main ()
40890 ceilf (0); floorf (0);
40892 return 0;
40894 _ACEOF
40895 if ac_fn_cxx_try_compile "$LINENO"; then :
40896 glibcxx_cv_func_float_round_use=yes
40897 else
40898 glibcxx_cv_func_float_round_use=no
40900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40901 ac_ext=c
40902 ac_cpp='$CPP $CPPFLAGS'
40903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40910 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40911 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40912 for ac_func in ceilf floorf
40913 do :
40914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40916 eval as_val=\$$as_ac_var
40917 if test "x$as_val" = x""yes; then :
40918 cat >>confdefs.h <<_ACEOF
40919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40920 _ACEOF
40923 done
40925 else
40926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40927 $as_echo_n "checking for _float round functions... " >&6; }
40928 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40929 $as_echo_n "(cached) " >&6
40930 else
40933 ac_ext=cpp
40934 ac_cpp='$CXXCPP $CPPFLAGS'
40935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40940 /* end confdefs.h. */
40941 #include <math.h>
40943 main ()
40945 _ceilf (0); _floorf (0);
40947 return 0;
40949 _ACEOF
40950 if ac_fn_cxx_try_compile "$LINENO"; then :
40951 glibcxx_cv_func__float_round_use=yes
40952 else
40953 glibcxx_cv_func__float_round_use=no
40955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40956 ac_ext=c
40957 ac_cpp='$CPP $CPPFLAGS'
40958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40965 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40966 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40967 for ac_func in _ceilf _floorf
40968 do :
40969 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40971 eval as_val=\$$as_ac_var
40972 if test "x$as_val" = x""yes; then :
40973 cat >>confdefs.h <<_ACEOF
40974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40975 _ACEOF
40978 done
40988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40989 $as_echo_n "checking for expf declaration... " >&6; }
40990 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40991 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40992 $as_echo_n "(cached) " >&6
40993 else
40996 ac_ext=cpp
40997 ac_cpp='$CXXCPP $CPPFLAGS'
40998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41003 /* end confdefs.h. */
41004 #include <math.h>
41005 #ifdef HAVE_IEEEFP_H
41006 #include <ieeefp.h>
41007 #endif
41010 main ()
41012 expf(0);
41014 return 0;
41016 _ACEOF
41017 if ac_fn_cxx_try_compile "$LINENO"; then :
41018 glibcxx_cv_func_expf_use=yes
41019 else
41020 glibcxx_cv_func_expf_use=no
41022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41023 ac_ext=c
41024 ac_cpp='$CPP $CPPFLAGS'
41025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41034 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41036 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41037 for ac_func in expf
41038 do :
41039 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41040 if test "x$ac_cv_func_expf" = x""yes; then :
41041 cat >>confdefs.h <<_ACEOF
41042 #define HAVE_EXPF 1
41043 _ACEOF
41046 done
41048 else
41050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41051 $as_echo_n "checking for _expf declaration... " >&6; }
41052 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41053 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41054 $as_echo_n "(cached) " >&6
41055 else
41058 ac_ext=cpp
41059 ac_cpp='$CXXCPP $CPPFLAGS'
41060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41065 /* end confdefs.h. */
41066 #include <math.h>
41067 #ifdef HAVE_IEEEFP_H
41068 #include <ieeefp.h>
41069 #endif
41072 main ()
41074 _expf(0);
41076 return 0;
41078 _ACEOF
41079 if ac_fn_cxx_try_compile "$LINENO"; then :
41080 glibcxx_cv_func__expf_use=yes
41081 else
41082 glibcxx_cv_func__expf_use=no
41084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41085 ac_ext=c
41086 ac_cpp='$CPP $CPPFLAGS'
41087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41096 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41098 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41099 for ac_func in _expf
41100 do :
41101 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41102 if test "x$ac_cv_func__expf" = x""yes; then :
41103 cat >>confdefs.h <<_ACEOF
41104 #define HAVE__EXPF 1
41105 _ACEOF
41108 done
41117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41118 $as_echo_n "checking for isnanf declaration... " >&6; }
41119 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41120 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41121 $as_echo_n "(cached) " >&6
41122 else
41125 ac_ext=cpp
41126 ac_cpp='$CXXCPP $CPPFLAGS'
41127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41132 /* end confdefs.h. */
41133 #include <math.h>
41134 #ifdef HAVE_IEEEFP_H
41135 #include <ieeefp.h>
41136 #endif
41139 main ()
41141 isnanf(0);
41143 return 0;
41145 _ACEOF
41146 if ac_fn_cxx_try_compile "$LINENO"; then :
41147 glibcxx_cv_func_isnanf_use=yes
41148 else
41149 glibcxx_cv_func_isnanf_use=no
41151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41152 ac_ext=c
41153 ac_cpp='$CPP $CPPFLAGS'
41154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41163 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41165 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41166 for ac_func in isnanf
41167 do :
41168 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41169 if test "x$ac_cv_func_isnanf" = x""yes; then :
41170 cat >>confdefs.h <<_ACEOF
41171 #define HAVE_ISNANF 1
41172 _ACEOF
41175 done
41177 else
41179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41180 $as_echo_n "checking for _isnanf declaration... " >&6; }
41181 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41182 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41183 $as_echo_n "(cached) " >&6
41184 else
41187 ac_ext=cpp
41188 ac_cpp='$CXXCPP $CPPFLAGS'
41189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41194 /* end confdefs.h. */
41195 #include <math.h>
41196 #ifdef HAVE_IEEEFP_H
41197 #include <ieeefp.h>
41198 #endif
41201 main ()
41203 _isnanf(0);
41205 return 0;
41207 _ACEOF
41208 if ac_fn_cxx_try_compile "$LINENO"; then :
41209 glibcxx_cv_func__isnanf_use=yes
41210 else
41211 glibcxx_cv_func__isnanf_use=no
41213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41214 ac_ext=c
41215 ac_cpp='$CPP $CPPFLAGS'
41216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41225 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41227 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41228 for ac_func in _isnanf
41229 do :
41230 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41231 if test "x$ac_cv_func__isnanf" = x""yes; then :
41232 cat >>confdefs.h <<_ACEOF
41233 #define HAVE__ISNANF 1
41234 _ACEOF
41237 done
41246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41247 $as_echo_n "checking for isinff declaration... " >&6; }
41248 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41249 if test "${glibcxx_cv_func_isinff_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>
41263 #ifdef HAVE_IEEEFP_H
41264 #include <ieeefp.h>
41265 #endif
41268 main ()
41270 isinff(0);
41272 return 0;
41274 _ACEOF
41275 if ac_fn_cxx_try_compile "$LINENO"; then :
41276 glibcxx_cv_func_isinff_use=yes
41277 else
41278 glibcxx_cv_func_isinff_use=no
41280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41281 ac_ext=c
41282 ac_cpp='$CPP $CPPFLAGS'
41283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41292 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41294 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41295 for ac_func in isinff
41296 do :
41297 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41298 if test "x$ac_cv_func_isinff" = x""yes; then :
41299 cat >>confdefs.h <<_ACEOF
41300 #define HAVE_ISINFF 1
41301 _ACEOF
41304 done
41306 else
41308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41309 $as_echo_n "checking for _isinff declaration... " >&6; }
41310 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41311 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41312 $as_echo_n "(cached) " >&6
41313 else
41316 ac_ext=cpp
41317 ac_cpp='$CXXCPP $CPPFLAGS'
41318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41323 /* end confdefs.h. */
41324 #include <math.h>
41325 #ifdef HAVE_IEEEFP_H
41326 #include <ieeefp.h>
41327 #endif
41330 main ()
41332 _isinff(0);
41334 return 0;
41336 _ACEOF
41337 if ac_fn_cxx_try_compile "$LINENO"; then :
41338 glibcxx_cv_func__isinff_use=yes
41339 else
41340 glibcxx_cv_func__isinff_use=no
41342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41343 ac_ext=c
41344 ac_cpp='$CPP $CPPFLAGS'
41345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41354 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41356 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41357 for ac_func in _isinff
41358 do :
41359 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41360 if test "x$ac_cv_func__isinff" = x""yes; then :
41361 cat >>confdefs.h <<_ACEOF
41362 #define HAVE__ISINFF 1
41363 _ACEOF
41366 done
41375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41376 $as_echo_n "checking for atan2f declaration... " >&6; }
41377 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41378 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41379 $as_echo_n "(cached) " >&6
41380 else
41383 ac_ext=cpp
41384 ac_cpp='$CXXCPP $CPPFLAGS'
41385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41390 /* end confdefs.h. */
41391 #include <math.h>
41393 main ()
41395 atan2f(0, 0);
41397 return 0;
41399 _ACEOF
41400 if ac_fn_cxx_try_compile "$LINENO"; then :
41401 glibcxx_cv_func_atan2f_use=yes
41402 else
41403 glibcxx_cv_func_atan2f_use=no
41405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41406 ac_ext=c
41407 ac_cpp='$CPP $CPPFLAGS'
41408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41417 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41419 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41420 for ac_func in atan2f
41421 do :
41422 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41423 if test "x$ac_cv_func_atan2f" = x""yes; then :
41424 cat >>confdefs.h <<_ACEOF
41425 #define HAVE_ATAN2F 1
41426 _ACEOF
41429 done
41431 else
41433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41434 $as_echo_n "checking for _atan2f declaration... " >&6; }
41435 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41436 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41437 $as_echo_n "(cached) " >&6
41438 else
41441 ac_ext=cpp
41442 ac_cpp='$CXXCPP $CPPFLAGS'
41443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41448 /* end confdefs.h. */
41449 #include <math.h>
41451 main ()
41453 _atan2f(0, 0);
41455 return 0;
41457 _ACEOF
41458 if ac_fn_cxx_try_compile "$LINENO"; then :
41459 glibcxx_cv_func__atan2f_use=yes
41460 else
41461 glibcxx_cv_func__atan2f_use=no
41463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41464 ac_ext=c
41465 ac_cpp='$CPP $CPPFLAGS'
41466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41475 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41477 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41478 for ac_func in _atan2f
41479 do :
41480 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41481 if test "x$ac_cv_func__atan2f" = x""yes; then :
41482 cat >>confdefs.h <<_ACEOF
41483 #define HAVE__ATAN2F 1
41484 _ACEOF
41487 done
41496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41497 $as_echo_n "checking for fabsf declaration... " >&6; }
41498 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41499 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41500 $as_echo_n "(cached) " >&6
41501 else
41504 ac_ext=cpp
41505 ac_cpp='$CXXCPP $CPPFLAGS'
41506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41511 /* end confdefs.h. */
41512 #include <math.h>
41513 #ifdef HAVE_IEEEFP_H
41514 #include <ieeefp.h>
41515 #endif
41518 main ()
41520 fabsf(0);
41522 return 0;
41524 _ACEOF
41525 if ac_fn_cxx_try_compile "$LINENO"; then :
41526 glibcxx_cv_func_fabsf_use=yes
41527 else
41528 glibcxx_cv_func_fabsf_use=no
41530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41531 ac_ext=c
41532 ac_cpp='$CPP $CPPFLAGS'
41533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41542 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41544 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41545 for ac_func in fabsf
41546 do :
41547 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41548 if test "x$ac_cv_func_fabsf" = x""yes; then :
41549 cat >>confdefs.h <<_ACEOF
41550 #define HAVE_FABSF 1
41551 _ACEOF
41554 done
41556 else
41558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41559 $as_echo_n "checking for _fabsf declaration... " >&6; }
41560 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41561 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41562 $as_echo_n "(cached) " >&6
41563 else
41566 ac_ext=cpp
41567 ac_cpp='$CXXCPP $CPPFLAGS'
41568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41573 /* end confdefs.h. */
41574 #include <math.h>
41575 #ifdef HAVE_IEEEFP_H
41576 #include <ieeefp.h>
41577 #endif
41580 main ()
41582 _fabsf(0);
41584 return 0;
41586 _ACEOF
41587 if ac_fn_cxx_try_compile "$LINENO"; then :
41588 glibcxx_cv_func__fabsf_use=yes
41589 else
41590 glibcxx_cv_func__fabsf_use=no
41592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41593 ac_ext=c
41594 ac_cpp='$CPP $CPPFLAGS'
41595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41604 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41606 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41607 for ac_func in _fabsf
41608 do :
41609 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41610 if test "x$ac_cv_func__fabsf" = x""yes; then :
41611 cat >>confdefs.h <<_ACEOF
41612 #define HAVE__FABSF 1
41613 _ACEOF
41616 done
41625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41626 $as_echo_n "checking for fmodf declaration... " >&6; }
41627 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41628 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41629 $as_echo_n "(cached) " >&6
41630 else
41633 ac_ext=cpp
41634 ac_cpp='$CXXCPP $CPPFLAGS'
41635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41640 /* end confdefs.h. */
41641 #include <math.h>
41643 main ()
41645 fmodf(0, 0);
41647 return 0;
41649 _ACEOF
41650 if ac_fn_cxx_try_compile "$LINENO"; then :
41651 glibcxx_cv_func_fmodf_use=yes
41652 else
41653 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
41667 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41669 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41670 for ac_func in fmodf
41671 do :
41672 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41673 if test "x$ac_cv_func_fmodf" = x""yes; then :
41674 cat >>confdefs.h <<_ACEOF
41675 #define HAVE_FMODF 1
41676 _ACEOF
41679 done
41681 else
41683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41684 $as_echo_n "checking for _fmodf declaration... " >&6; }
41685 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41686 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41687 $as_echo_n "(cached) " >&6
41688 else
41691 ac_ext=cpp
41692 ac_cpp='$CXXCPP $CPPFLAGS'
41693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41698 /* end confdefs.h. */
41699 #include <math.h>
41701 main ()
41703 _fmodf(0, 0);
41705 return 0;
41707 _ACEOF
41708 if ac_fn_cxx_try_compile "$LINENO"; then :
41709 glibcxx_cv_func__fmodf_use=yes
41710 else
41711 glibcxx_cv_func__fmodf_use=no
41713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41714 ac_ext=c
41715 ac_cpp='$CPP $CPPFLAGS'
41716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41725 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41727 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41728 for ac_func in _fmodf
41729 do :
41730 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41731 if test "x$ac_cv_func__fmodf" = x""yes; then :
41732 cat >>confdefs.h <<_ACEOF
41733 #define HAVE__FMODF 1
41734 _ACEOF
41737 done
41746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41747 $as_echo_n "checking for frexpf declaration... " >&6; }
41748 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41749 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
41768 return 0;
41770 _ACEOF
41771 if ac_fn_cxx_try_compile "$LINENO"; then :
41772 glibcxx_cv_func_frexpf_use=yes
41773 else
41774 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
41788 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41790 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41791 for ac_func in frexpf
41792 do :
41793 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41794 if test "x$ac_cv_func_frexpf" = x""yes; then :
41795 cat >>confdefs.h <<_ACEOF
41796 #define HAVE_FREXPF 1
41797 _ACEOF
41800 done
41802 else
41804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41805 $as_echo_n "checking for _frexpf declaration... " >&6; }
41806 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41807 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41808 $as_echo_n "(cached) " >&6
41809 else
41812 ac_ext=cpp
41813 ac_cpp='$CXXCPP $CPPFLAGS'
41814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41819 /* end confdefs.h. */
41820 #include <math.h>
41822 main ()
41824 _frexpf(0, 0);
41826 return 0;
41828 _ACEOF
41829 if ac_fn_cxx_try_compile "$LINENO"; then :
41830 glibcxx_cv_func__frexpf_use=yes
41831 else
41832 glibcxx_cv_func__frexpf_use=no
41834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41835 ac_ext=c
41836 ac_cpp='$CPP $CPPFLAGS'
41837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41846 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41848 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41849 for ac_func in _frexpf
41850 do :
41851 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41852 if test "x$ac_cv_func__frexpf" = x""yes; then :
41853 cat >>confdefs.h <<_ACEOF
41854 #define HAVE__FREXPF 1
41855 _ACEOF
41858 done
41867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41868 $as_echo_n "checking for hypotf declaration... " >&6; }
41869 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41870 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
41889 return 0;
41891 _ACEOF
41892 if ac_fn_cxx_try_compile "$LINENO"; then :
41893 glibcxx_cv_func_hypotf_use=yes
41894 else
41895 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
41909 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41911 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41912 for ac_func in hypotf
41913 do :
41914 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41915 if test "x$ac_cv_func_hypotf" = x""yes; then :
41916 cat >>confdefs.h <<_ACEOF
41917 #define HAVE_HYPOTF 1
41918 _ACEOF
41921 done
41923 else
41925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41926 $as_echo_n "checking for _hypotf declaration... " >&6; }
41927 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41928 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41929 $as_echo_n "(cached) " >&6
41930 else
41933 ac_ext=cpp
41934 ac_cpp='$CXXCPP $CPPFLAGS'
41935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41940 /* end confdefs.h. */
41941 #include <math.h>
41943 main ()
41945 _hypotf(0, 0);
41947 return 0;
41949 _ACEOF
41950 if ac_fn_cxx_try_compile "$LINENO"; then :
41951 glibcxx_cv_func__hypotf_use=yes
41952 else
41953 glibcxx_cv_func__hypotf_use=no
41955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41956 ac_ext=c
41957 ac_cpp='$CPP $CPPFLAGS'
41958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41967 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41969 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41970 for ac_func in _hypotf
41971 do :
41972 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41973 if test "x$ac_cv_func__hypotf" = x""yes; then :
41974 cat >>confdefs.h <<_ACEOF
41975 #define HAVE__HYPOTF 1
41976 _ACEOF
41979 done
41988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41989 $as_echo_n "checking for ldexpf declaration... " >&6; }
41990 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41991 if test "${glibcxx_cv_func_ldexpf_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 ldexpf(0, 0);
42010 return 0;
42012 _ACEOF
42013 if ac_fn_cxx_try_compile "$LINENO"; then :
42014 glibcxx_cv_func_ldexpf_use=yes
42015 else
42016 glibcxx_cv_func_ldexpf_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_ldexpf_use" >&5
42030 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42032 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42033 for ac_func in ldexpf
42034 do :
42035 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42036 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42037 cat >>confdefs.h <<_ACEOF
42038 #define HAVE_LDEXPF 1
42039 _ACEOF
42042 done
42044 else
42046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42047 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42048 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42049 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42050 $as_echo_n "(cached) " >&6
42051 else
42054 ac_ext=cpp
42055 ac_cpp='$CXXCPP $CPPFLAGS'
42056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42061 /* end confdefs.h. */
42062 #include <math.h>
42064 main ()
42066 _ldexpf(0, 0);
42068 return 0;
42070 _ACEOF
42071 if ac_fn_cxx_try_compile "$LINENO"; then :
42072 glibcxx_cv_func__ldexpf_use=yes
42073 else
42074 glibcxx_cv_func__ldexpf_use=no
42076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42077 ac_ext=c
42078 ac_cpp='$CPP $CPPFLAGS'
42079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42088 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42090 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42091 for ac_func in _ldexpf
42092 do :
42093 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42094 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42095 cat >>confdefs.h <<_ACEOF
42096 #define HAVE__LDEXPF 1
42097 _ACEOF
42100 done
42109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42110 $as_echo_n "checking for logf declaration... " >&6; }
42111 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42112 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42113 $as_echo_n "(cached) " >&6
42114 else
42117 ac_ext=cpp
42118 ac_cpp='$CXXCPP $CPPFLAGS'
42119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42124 /* end confdefs.h. */
42125 #include <math.h>
42126 #ifdef HAVE_IEEEFP_H
42127 #include <ieeefp.h>
42128 #endif
42131 main ()
42133 logf(0);
42135 return 0;
42137 _ACEOF
42138 if ac_fn_cxx_try_compile "$LINENO"; then :
42139 glibcxx_cv_func_logf_use=yes
42140 else
42141 glibcxx_cv_func_logf_use=no
42143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42144 ac_ext=c
42145 ac_cpp='$CPP $CPPFLAGS'
42146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42155 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42157 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42158 for ac_func in logf
42159 do :
42160 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42161 if test "x$ac_cv_func_logf" = x""yes; then :
42162 cat >>confdefs.h <<_ACEOF
42163 #define HAVE_LOGF 1
42164 _ACEOF
42167 done
42169 else
42171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42172 $as_echo_n "checking for _logf declaration... " >&6; }
42173 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42174 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42175 $as_echo_n "(cached) " >&6
42176 else
42179 ac_ext=cpp
42180 ac_cpp='$CXXCPP $CPPFLAGS'
42181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42186 /* end confdefs.h. */
42187 #include <math.h>
42188 #ifdef HAVE_IEEEFP_H
42189 #include <ieeefp.h>
42190 #endif
42193 main ()
42195 _logf(0);
42197 return 0;
42199 _ACEOF
42200 if ac_fn_cxx_try_compile "$LINENO"; then :
42201 glibcxx_cv_func__logf_use=yes
42202 else
42203 glibcxx_cv_func__logf_use=no
42205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42206 ac_ext=c
42207 ac_cpp='$CPP $CPPFLAGS'
42208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42217 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42219 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42220 for ac_func in _logf
42221 do :
42222 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42223 if test "x$ac_cv_func__logf" = x""yes; then :
42224 cat >>confdefs.h <<_ACEOF
42225 #define HAVE__LOGF 1
42226 _ACEOF
42229 done
42238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42239 $as_echo_n "checking for log10f declaration... " >&6; }
42240 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42241 if test "${glibcxx_cv_func_log10f_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>
42255 #ifdef HAVE_IEEEFP_H
42256 #include <ieeefp.h>
42257 #endif
42260 main ()
42262 log10f(0);
42264 return 0;
42266 _ACEOF
42267 if ac_fn_cxx_try_compile "$LINENO"; then :
42268 glibcxx_cv_func_log10f_use=yes
42269 else
42270 glibcxx_cv_func_log10f_use=no
42272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42273 ac_ext=c
42274 ac_cpp='$CPP $CPPFLAGS'
42275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42284 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42286 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42287 for ac_func in log10f
42288 do :
42289 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42290 if test "x$ac_cv_func_log10f" = x""yes; then :
42291 cat >>confdefs.h <<_ACEOF
42292 #define HAVE_LOG10F 1
42293 _ACEOF
42296 done
42298 else
42300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42301 $as_echo_n "checking for _log10f declaration... " >&6; }
42302 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42303 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42304 $as_echo_n "(cached) " >&6
42305 else
42308 ac_ext=cpp
42309 ac_cpp='$CXXCPP $CPPFLAGS'
42310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42315 /* end confdefs.h. */
42316 #include <math.h>
42317 #ifdef HAVE_IEEEFP_H
42318 #include <ieeefp.h>
42319 #endif
42322 main ()
42324 _log10f(0);
42326 return 0;
42328 _ACEOF
42329 if ac_fn_cxx_try_compile "$LINENO"; then :
42330 glibcxx_cv_func__log10f_use=yes
42331 else
42332 glibcxx_cv_func__log10f_use=no
42334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42335 ac_ext=c
42336 ac_cpp='$CPP $CPPFLAGS'
42337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42346 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42348 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42349 for ac_func in _log10f
42350 do :
42351 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42352 if test "x$ac_cv_func__log10f" = x""yes; then :
42353 cat >>confdefs.h <<_ACEOF
42354 #define HAVE__LOG10F 1
42355 _ACEOF
42358 done
42367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42368 $as_echo_n "checking for modff declaration... " >&6; }
42369 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42370 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42371 $as_echo_n "(cached) " >&6
42372 else
42375 ac_ext=cpp
42376 ac_cpp='$CXXCPP $CPPFLAGS'
42377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42382 /* end confdefs.h. */
42383 #include <math.h>
42385 main ()
42387 modff(0, 0);
42389 return 0;
42391 _ACEOF
42392 if ac_fn_cxx_try_compile "$LINENO"; then :
42393 glibcxx_cv_func_modff_use=yes
42394 else
42395 glibcxx_cv_func_modff_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_modff_use" >&5
42409 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42411 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42412 for ac_func in modff
42413 do :
42414 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42415 if test "x$ac_cv_func_modff" = x""yes; then :
42416 cat >>confdefs.h <<_ACEOF
42417 #define HAVE_MODFF 1
42418 _ACEOF
42421 done
42423 else
42425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42426 $as_echo_n "checking for _modff declaration... " >&6; }
42427 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42428 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42429 $as_echo_n "(cached) " >&6
42430 else
42433 ac_ext=cpp
42434 ac_cpp='$CXXCPP $CPPFLAGS'
42435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42440 /* end confdefs.h. */
42441 #include <math.h>
42443 main ()
42445 _modff(0, 0);
42447 return 0;
42449 _ACEOF
42450 if ac_fn_cxx_try_compile "$LINENO"; then :
42451 glibcxx_cv_func__modff_use=yes
42452 else
42453 glibcxx_cv_func__modff_use=no
42455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42456 ac_ext=c
42457 ac_cpp='$CPP $CPPFLAGS'
42458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42467 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42469 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42470 for ac_func in _modff
42471 do :
42472 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42473 if test "x$ac_cv_func__modff" = x""yes; then :
42474 cat >>confdefs.h <<_ACEOF
42475 #define HAVE__MODFF 1
42476 _ACEOF
42479 done
42488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42489 $as_echo_n "checking for modf declaration... " >&6; }
42490 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42491 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42492 $as_echo_n "(cached) " >&6
42493 else
42496 ac_ext=cpp
42497 ac_cpp='$CXXCPP $CPPFLAGS'
42498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42503 /* end confdefs.h. */
42504 #include <math.h>
42506 main ()
42508 modf(0, 0);
42510 return 0;
42512 _ACEOF
42513 if ac_fn_cxx_try_compile "$LINENO"; then :
42514 glibcxx_cv_func_modf_use=yes
42515 else
42516 glibcxx_cv_func_modf_use=no
42518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42519 ac_ext=c
42520 ac_cpp='$CPP $CPPFLAGS'
42521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42530 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42532 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42533 for ac_func in modf
42534 do :
42535 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42536 if test "x$ac_cv_func_modf" = x""yes; then :
42537 cat >>confdefs.h <<_ACEOF
42538 #define HAVE_MODF 1
42539 _ACEOF
42542 done
42544 else
42546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42547 $as_echo_n "checking for _modf declaration... " >&6; }
42548 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42549 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42550 $as_echo_n "(cached) " >&6
42551 else
42554 ac_ext=cpp
42555 ac_cpp='$CXXCPP $CPPFLAGS'
42556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42561 /* end confdefs.h. */
42562 #include <math.h>
42564 main ()
42566 _modf(0, 0);
42568 return 0;
42570 _ACEOF
42571 if ac_fn_cxx_try_compile "$LINENO"; then :
42572 glibcxx_cv_func__modf_use=yes
42573 else
42574 glibcxx_cv_func__modf_use=no
42576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42577 ac_ext=c
42578 ac_cpp='$CPP $CPPFLAGS'
42579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42588 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42590 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42591 for ac_func in _modf
42592 do :
42593 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42594 if test "x$ac_cv_func__modf" = x""yes; then :
42595 cat >>confdefs.h <<_ACEOF
42596 #define HAVE__MODF 1
42597 _ACEOF
42600 done
42609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42610 $as_echo_n "checking for powf declaration... " >&6; }
42611 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42612 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42613 $as_echo_n "(cached) " >&6
42614 else
42617 ac_ext=cpp
42618 ac_cpp='$CXXCPP $CPPFLAGS'
42619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42624 /* end confdefs.h. */
42625 #include <math.h>
42627 main ()
42629 powf(0, 0);
42631 return 0;
42633 _ACEOF
42634 if ac_fn_cxx_try_compile "$LINENO"; then :
42635 glibcxx_cv_func_powf_use=yes
42636 else
42637 glibcxx_cv_func_powf_use=no
42639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42640 ac_ext=c
42641 ac_cpp='$CPP $CPPFLAGS'
42642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42651 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42653 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42654 for ac_func in powf
42655 do :
42656 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42657 if test "x$ac_cv_func_powf" = x""yes; then :
42658 cat >>confdefs.h <<_ACEOF
42659 #define HAVE_POWF 1
42660 _ACEOF
42663 done
42665 else
42667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42668 $as_echo_n "checking for _powf declaration... " >&6; }
42669 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42670 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42671 $as_echo_n "(cached) " >&6
42672 else
42675 ac_ext=cpp
42676 ac_cpp='$CXXCPP $CPPFLAGS'
42677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42682 /* end confdefs.h. */
42683 #include <math.h>
42685 main ()
42687 _powf(0, 0);
42689 return 0;
42691 _ACEOF
42692 if ac_fn_cxx_try_compile "$LINENO"; then :
42693 glibcxx_cv_func__powf_use=yes
42694 else
42695 glibcxx_cv_func__powf_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__powf_use" >&5
42709 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42711 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42712 for ac_func in _powf
42713 do :
42714 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42715 if test "x$ac_cv_func__powf" = x""yes; then :
42716 cat >>confdefs.h <<_ACEOF
42717 #define HAVE__POWF 1
42718 _ACEOF
42721 done
42730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42731 $as_echo_n "checking for sqrtf declaration... " >&6; }
42732 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42733 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42734 $as_echo_n "(cached) " >&6
42735 else
42738 ac_ext=cpp
42739 ac_cpp='$CXXCPP $CPPFLAGS'
42740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42745 /* end confdefs.h. */
42746 #include <math.h>
42747 #ifdef HAVE_IEEEFP_H
42748 #include <ieeefp.h>
42749 #endif
42752 main ()
42754 sqrtf(0);
42756 return 0;
42758 _ACEOF
42759 if ac_fn_cxx_try_compile "$LINENO"; then :
42760 glibcxx_cv_func_sqrtf_use=yes
42761 else
42762 glibcxx_cv_func_sqrtf_use=no
42764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42765 ac_ext=c
42766 ac_cpp='$CPP $CPPFLAGS'
42767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42776 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42778 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42779 for ac_func in sqrtf
42780 do :
42781 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42782 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42783 cat >>confdefs.h <<_ACEOF
42784 #define HAVE_SQRTF 1
42785 _ACEOF
42788 done
42790 else
42792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42793 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42794 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42795 if test "${glibcxx_cv_func__sqrtf_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 _sqrtf(0);
42818 return 0;
42820 _ACEOF
42821 if ac_fn_cxx_try_compile "$LINENO"; then :
42822 glibcxx_cv_func__sqrtf_use=yes
42823 else
42824 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
42838 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42840 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42841 for ac_func in _sqrtf
42842 do :
42843 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42844 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42845 cat >>confdefs.h <<_ACEOF
42846 #define HAVE__SQRTF 1
42847 _ACEOF
42850 done
42859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42860 $as_echo_n "checking for sincosf declaration... " >&6; }
42861 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42862 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42863 $as_echo_n "(cached) " >&6
42864 else
42867 ac_ext=cpp
42868 ac_cpp='$CXXCPP $CPPFLAGS'
42869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42874 /* end confdefs.h. */
42875 #include <math.h>
42877 main ()
42879 sincosf(0, 0, 0);
42881 return 0;
42883 _ACEOF
42884 if ac_fn_cxx_try_compile "$LINENO"; then :
42885 glibcxx_cv_func_sincosf_use=yes
42886 else
42887 glibcxx_cv_func_sincosf_use=no
42889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42890 ac_ext=c
42891 ac_cpp='$CPP $CPPFLAGS'
42892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42901 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42903 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42904 for ac_func in sincosf
42905 do :
42906 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42907 if test "x$ac_cv_func_sincosf" = x""yes; then :
42908 cat >>confdefs.h <<_ACEOF
42909 #define HAVE_SINCOSF 1
42910 _ACEOF
42913 done
42915 else
42917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42918 $as_echo_n "checking for _sincosf declaration... " >&6; }
42919 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42920 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42921 $as_echo_n "(cached) " >&6
42922 else
42925 ac_ext=cpp
42926 ac_cpp='$CXXCPP $CPPFLAGS'
42927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42932 /* end confdefs.h. */
42933 #include <math.h>
42935 main ()
42937 _sincosf(0, 0, 0);
42939 return 0;
42941 _ACEOF
42942 if ac_fn_cxx_try_compile "$LINENO"; then :
42943 glibcxx_cv_func__sincosf_use=yes
42944 else
42945 glibcxx_cv_func__sincosf_use=no
42947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42948 ac_ext=c
42949 ac_cpp='$CPP $CPPFLAGS'
42950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42959 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42961 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42962 for ac_func in _sincosf
42963 do :
42964 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42965 if test "x$ac_cv_func__sincosf" = x""yes; then :
42966 cat >>confdefs.h <<_ACEOF
42967 #define HAVE__SINCOSF 1
42968 _ACEOF
42971 done
42980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42981 $as_echo_n "checking for finitef declaration... " >&6; }
42982 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42983 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42984 $as_echo_n "(cached) " >&6
42985 else
42988 ac_ext=cpp
42989 ac_cpp='$CXXCPP $CPPFLAGS'
42990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42995 /* end confdefs.h. */
42996 #include <math.h>
42997 #ifdef HAVE_IEEEFP_H
42998 #include <ieeefp.h>
42999 #endif
43002 main ()
43004 finitef(0);
43006 return 0;
43008 _ACEOF
43009 if ac_fn_cxx_try_compile "$LINENO"; then :
43010 glibcxx_cv_func_finitef_use=yes
43011 else
43012 glibcxx_cv_func_finitef_use=no
43014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43015 ac_ext=c
43016 ac_cpp='$CPP $CPPFLAGS'
43017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43026 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43028 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43029 for ac_func in finitef
43030 do :
43031 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43032 if test "x$ac_cv_func_finitef" = x""yes; then :
43033 cat >>confdefs.h <<_ACEOF
43034 #define HAVE_FINITEF 1
43035 _ACEOF
43038 done
43040 else
43042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43043 $as_echo_n "checking for _finitef declaration... " >&6; }
43044 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43045 if test "${glibcxx_cv_func__finitef_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 _finitef(0);
43068 return 0;
43070 _ACEOF
43071 if ac_fn_cxx_try_compile "$LINENO"; then :
43072 glibcxx_cv_func__finitef_use=yes
43073 else
43074 glibcxx_cv_func__finitef_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__finitef_use" >&5
43088 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43090 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43091 for ac_func in _finitef
43092 do :
43093 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43094 if test "x$ac_cv_func__finitef" = x""yes; then :
43095 cat >>confdefs.h <<_ACEOF
43096 #define HAVE__FINITEF 1
43097 _ACEOF
43100 done
43109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43110 $as_echo_n "checking for long double trig functions... " >&6; }
43111 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43112 $as_echo_n "(cached) " >&6
43113 else
43116 ac_ext=cpp
43117 ac_cpp='$CXXCPP $CPPFLAGS'
43118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43123 /* end confdefs.h. */
43124 #include <math.h>
43126 main ()
43128 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43130 return 0;
43132 _ACEOF
43133 if ac_fn_cxx_try_compile "$LINENO"; then :
43134 glibcxx_cv_func_long_double_trig_use=yes
43135 else
43136 glibcxx_cv_func_long_double_trig_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
43147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43148 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43149 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43150 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43151 do :
43152 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43154 eval as_val=\$$as_ac_var
43155 if test "x$as_val" = x""yes; then :
43156 cat >>confdefs.h <<_ACEOF
43157 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43158 _ACEOF
43161 done
43163 else
43164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43165 $as_echo_n "checking for _long double trig functions... " >&6; }
43166 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43167 $as_echo_n "(cached) " >&6
43168 else
43171 ac_ext=cpp
43172 ac_cpp='$CXXCPP $CPPFLAGS'
43173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43178 /* end confdefs.h. */
43179 #include <math.h>
43181 main ()
43183 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43185 return 0;
43187 _ACEOF
43188 if ac_fn_cxx_try_compile "$LINENO"; then :
43189 glibcxx_cv_func__long_double_trig_use=yes
43190 else
43191 glibcxx_cv_func__long_double_trig_use=no
43193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43194 ac_ext=c
43195 ac_cpp='$CPP $CPPFLAGS'
43196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43203 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43204 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43205 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43206 do :
43207 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43208 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43209 eval as_val=\$$as_ac_var
43210 if test "x$as_val" = x""yes; then :
43211 cat >>confdefs.h <<_ACEOF
43212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43213 _ACEOF
43216 done
43225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43226 $as_echo_n "checking for long double round functions... " >&6; }
43227 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43228 $as_echo_n "(cached) " >&6
43229 else
43232 ac_ext=cpp
43233 ac_cpp='$CXXCPP $CPPFLAGS'
43234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43239 /* end confdefs.h. */
43240 #include <math.h>
43242 main ()
43244 ceill (0); floorl (0);
43246 return 0;
43248 _ACEOF
43249 if ac_fn_cxx_try_compile "$LINENO"; then :
43250 glibcxx_cv_func_long_double_round_use=yes
43251 else
43252 glibcxx_cv_func_long_double_round_use=no
43254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43255 ac_ext=c
43256 ac_cpp='$CPP $CPPFLAGS'
43257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43264 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43265 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43266 for ac_func in ceill floorl
43267 do :
43268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43270 eval as_val=\$$as_ac_var
43271 if test "x$as_val" = x""yes; then :
43272 cat >>confdefs.h <<_ACEOF
43273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43274 _ACEOF
43277 done
43279 else
43280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43281 $as_echo_n "checking for _long double round functions... " >&6; }
43282 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43283 $as_echo_n "(cached) " >&6
43284 else
43287 ac_ext=cpp
43288 ac_cpp='$CXXCPP $CPPFLAGS'
43289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43294 /* end confdefs.h. */
43295 #include <math.h>
43297 main ()
43299 _ceill (0); _floorl (0);
43301 return 0;
43303 _ACEOF
43304 if ac_fn_cxx_try_compile "$LINENO"; then :
43305 glibcxx_cv_func__long_double_round_use=yes
43306 else
43307 glibcxx_cv_func__long_double_round_use=no
43309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43310 ac_ext=c
43311 ac_cpp='$CPP $CPPFLAGS'
43312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43319 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43320 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43321 for ac_func in _ceill _floorl
43322 do :
43323 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43324 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43325 eval as_val=\$$as_ac_var
43326 if test "x$as_val" = x""yes; then :
43327 cat >>confdefs.h <<_ACEOF
43328 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43329 _ACEOF
43332 done
43342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43343 $as_echo_n "checking for isnanl declaration... " >&6; }
43344 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43345 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43346 $as_echo_n "(cached) " >&6
43347 else
43350 ac_ext=cpp
43351 ac_cpp='$CXXCPP $CPPFLAGS'
43352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43357 /* end confdefs.h. */
43358 #include <math.h>
43359 #ifdef HAVE_IEEEFP_H
43360 #include <ieeefp.h>
43361 #endif
43364 main ()
43366 isnanl(0);
43368 return 0;
43370 _ACEOF
43371 if ac_fn_cxx_try_compile "$LINENO"; then :
43372 glibcxx_cv_func_isnanl_use=yes
43373 else
43374 glibcxx_cv_func_isnanl_use=no
43376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43377 ac_ext=c
43378 ac_cpp='$CPP $CPPFLAGS'
43379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43388 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43390 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43391 for ac_func in isnanl
43392 do :
43393 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43394 if test "x$ac_cv_func_isnanl" = x""yes; then :
43395 cat >>confdefs.h <<_ACEOF
43396 #define HAVE_ISNANL 1
43397 _ACEOF
43400 done
43402 else
43404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43405 $as_echo_n "checking for _isnanl declaration... " >&6; }
43406 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43407 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43408 $as_echo_n "(cached) " >&6
43409 else
43412 ac_ext=cpp
43413 ac_cpp='$CXXCPP $CPPFLAGS'
43414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43419 /* end confdefs.h. */
43420 #include <math.h>
43421 #ifdef HAVE_IEEEFP_H
43422 #include <ieeefp.h>
43423 #endif
43426 main ()
43428 _isnanl(0);
43430 return 0;
43432 _ACEOF
43433 if ac_fn_cxx_try_compile "$LINENO"; then :
43434 glibcxx_cv_func__isnanl_use=yes
43435 else
43436 glibcxx_cv_func__isnanl_use=no
43438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43439 ac_ext=c
43440 ac_cpp='$CPP $CPPFLAGS'
43441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43450 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43452 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43453 for ac_func in _isnanl
43454 do :
43455 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43456 if test "x$ac_cv_func__isnanl" = x""yes; then :
43457 cat >>confdefs.h <<_ACEOF
43458 #define HAVE__ISNANL 1
43459 _ACEOF
43462 done
43471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43472 $as_echo_n "checking for isinfl declaration... " >&6; }
43473 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43474 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43475 $as_echo_n "(cached) " >&6
43476 else
43479 ac_ext=cpp
43480 ac_cpp='$CXXCPP $CPPFLAGS'
43481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43486 /* end confdefs.h. */
43487 #include <math.h>
43488 #ifdef HAVE_IEEEFP_H
43489 #include <ieeefp.h>
43490 #endif
43493 main ()
43495 isinfl(0);
43497 return 0;
43499 _ACEOF
43500 if ac_fn_cxx_try_compile "$LINENO"; then :
43501 glibcxx_cv_func_isinfl_use=yes
43502 else
43503 glibcxx_cv_func_isinfl_use=no
43505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43506 ac_ext=c
43507 ac_cpp='$CPP $CPPFLAGS'
43508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43517 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43519 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43520 for ac_func in isinfl
43521 do :
43522 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43523 if test "x$ac_cv_func_isinfl" = x""yes; then :
43524 cat >>confdefs.h <<_ACEOF
43525 #define HAVE_ISINFL 1
43526 _ACEOF
43529 done
43531 else
43533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43534 $as_echo_n "checking for _isinfl declaration... " >&6; }
43535 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43536 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43537 $as_echo_n "(cached) " >&6
43538 else
43541 ac_ext=cpp
43542 ac_cpp='$CXXCPP $CPPFLAGS'
43543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43548 /* end confdefs.h. */
43549 #include <math.h>
43550 #ifdef HAVE_IEEEFP_H
43551 #include <ieeefp.h>
43552 #endif
43555 main ()
43557 _isinfl(0);
43559 return 0;
43561 _ACEOF
43562 if ac_fn_cxx_try_compile "$LINENO"; then :
43563 glibcxx_cv_func__isinfl_use=yes
43564 else
43565 glibcxx_cv_func__isinfl_use=no
43567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43568 ac_ext=c
43569 ac_cpp='$CPP $CPPFLAGS'
43570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43579 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43581 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43582 for ac_func in _isinfl
43583 do :
43584 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43585 if test "x$ac_cv_func__isinfl" = x""yes; then :
43586 cat >>confdefs.h <<_ACEOF
43587 #define HAVE__ISINFL 1
43588 _ACEOF
43591 done
43600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43601 $as_echo_n "checking for atan2l declaration... " >&6; }
43602 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43603 if test "${glibcxx_cv_func_atan2l_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 atan2l(0, 0);
43622 return 0;
43624 _ACEOF
43625 if ac_fn_cxx_try_compile "$LINENO"; then :
43626 glibcxx_cv_func_atan2l_use=yes
43627 else
43628 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
43642 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43644 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43645 for ac_func in atan2l
43646 do :
43647 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43648 if test "x$ac_cv_func_atan2l" = x""yes; then :
43649 cat >>confdefs.h <<_ACEOF
43650 #define HAVE_ATAN2L 1
43651 _ACEOF
43654 done
43656 else
43658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43659 $as_echo_n "checking for _atan2l declaration... " >&6; }
43660 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43661 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43662 $as_echo_n "(cached) " >&6
43663 else
43666 ac_ext=cpp
43667 ac_cpp='$CXXCPP $CPPFLAGS'
43668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43673 /* end confdefs.h. */
43674 #include <math.h>
43676 main ()
43678 _atan2l(0, 0);
43680 return 0;
43682 _ACEOF
43683 if ac_fn_cxx_try_compile "$LINENO"; then :
43684 glibcxx_cv_func__atan2l_use=yes
43685 else
43686 glibcxx_cv_func__atan2l_use=no
43688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43689 ac_ext=c
43690 ac_cpp='$CPP $CPPFLAGS'
43691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43700 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43702 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43703 for ac_func in _atan2l
43704 do :
43705 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43706 if test "x$ac_cv_func__atan2l" = x""yes; then :
43707 cat >>confdefs.h <<_ACEOF
43708 #define HAVE__ATAN2L 1
43709 _ACEOF
43712 done
43721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43722 $as_echo_n "checking for expl declaration... " >&6; }
43723 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43724 if test "${glibcxx_cv_func_expl_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>
43738 #ifdef HAVE_IEEEFP_H
43739 #include <ieeefp.h>
43740 #endif
43743 main ()
43745 expl(0);
43747 return 0;
43749 _ACEOF
43750 if ac_fn_cxx_try_compile "$LINENO"; then :
43751 glibcxx_cv_func_expl_use=yes
43752 else
43753 glibcxx_cv_func_expl_use=no
43755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43756 ac_ext=c
43757 ac_cpp='$CPP $CPPFLAGS'
43758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43767 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43769 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43770 for ac_func in expl
43771 do :
43772 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43773 if test "x$ac_cv_func_expl" = x""yes; then :
43774 cat >>confdefs.h <<_ACEOF
43775 #define HAVE_EXPL 1
43776 _ACEOF
43779 done
43781 else
43783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43784 $as_echo_n "checking for _expl declaration... " >&6; }
43785 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43786 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43787 $as_echo_n "(cached) " >&6
43788 else
43791 ac_ext=cpp
43792 ac_cpp='$CXXCPP $CPPFLAGS'
43793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43798 /* end confdefs.h. */
43799 #include <math.h>
43800 #ifdef HAVE_IEEEFP_H
43801 #include <ieeefp.h>
43802 #endif
43805 main ()
43807 _expl(0);
43809 return 0;
43811 _ACEOF
43812 if ac_fn_cxx_try_compile "$LINENO"; then :
43813 glibcxx_cv_func__expl_use=yes
43814 else
43815 glibcxx_cv_func__expl_use=no
43817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43818 ac_ext=c
43819 ac_cpp='$CPP $CPPFLAGS'
43820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43829 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43831 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43832 for ac_func in _expl
43833 do :
43834 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43835 if test "x$ac_cv_func__expl" = x""yes; then :
43836 cat >>confdefs.h <<_ACEOF
43837 #define HAVE__EXPL 1
43838 _ACEOF
43841 done
43850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43851 $as_echo_n "checking for fabsl declaration... " >&6; }
43852 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43853 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43854 $as_echo_n "(cached) " >&6
43855 else
43858 ac_ext=cpp
43859 ac_cpp='$CXXCPP $CPPFLAGS'
43860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43865 /* end confdefs.h. */
43866 #include <math.h>
43867 #ifdef HAVE_IEEEFP_H
43868 #include <ieeefp.h>
43869 #endif
43872 main ()
43874 fabsl(0);
43876 return 0;
43878 _ACEOF
43879 if ac_fn_cxx_try_compile "$LINENO"; then :
43880 glibcxx_cv_func_fabsl_use=yes
43881 else
43882 glibcxx_cv_func_fabsl_use=no
43884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43885 ac_ext=c
43886 ac_cpp='$CPP $CPPFLAGS'
43887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43896 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43898 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43899 for ac_func in fabsl
43900 do :
43901 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43902 if test "x$ac_cv_func_fabsl" = x""yes; then :
43903 cat >>confdefs.h <<_ACEOF
43904 #define HAVE_FABSL 1
43905 _ACEOF
43908 done
43910 else
43912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43913 $as_echo_n "checking for _fabsl declaration... " >&6; }
43914 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43915 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43916 $as_echo_n "(cached) " >&6
43917 else
43920 ac_ext=cpp
43921 ac_cpp='$CXXCPP $CPPFLAGS'
43922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43927 /* end confdefs.h. */
43928 #include <math.h>
43929 #ifdef HAVE_IEEEFP_H
43930 #include <ieeefp.h>
43931 #endif
43934 main ()
43936 _fabsl(0);
43938 return 0;
43940 _ACEOF
43941 if ac_fn_cxx_try_compile "$LINENO"; then :
43942 glibcxx_cv_func__fabsl_use=yes
43943 else
43944 glibcxx_cv_func__fabsl_use=no
43946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43947 ac_ext=c
43948 ac_cpp='$CPP $CPPFLAGS'
43949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43958 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43960 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43961 for ac_func in _fabsl
43962 do :
43963 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43964 if test "x$ac_cv_func__fabsl" = x""yes; then :
43965 cat >>confdefs.h <<_ACEOF
43966 #define HAVE__FABSL 1
43967 _ACEOF
43970 done
43979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43980 $as_echo_n "checking for fmodl declaration... " >&6; }
43981 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43982 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43983 $as_echo_n "(cached) " >&6
43984 else
43987 ac_ext=cpp
43988 ac_cpp='$CXXCPP $CPPFLAGS'
43989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43994 /* end confdefs.h. */
43995 #include <math.h>
43997 main ()
43999 fmodl(0, 0);
44001 return 0;
44003 _ACEOF
44004 if ac_fn_cxx_try_compile "$LINENO"; then :
44005 glibcxx_cv_func_fmodl_use=yes
44006 else
44007 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
44021 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44023 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44024 for ac_func in fmodl
44025 do :
44026 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44027 if test "x$ac_cv_func_fmodl" = x""yes; then :
44028 cat >>confdefs.h <<_ACEOF
44029 #define HAVE_FMODL 1
44030 _ACEOF
44033 done
44035 else
44037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44038 $as_echo_n "checking for _fmodl declaration... " >&6; }
44039 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44040 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44041 $as_echo_n "(cached) " >&6
44042 else
44045 ac_ext=cpp
44046 ac_cpp='$CXXCPP $CPPFLAGS'
44047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44052 /* end confdefs.h. */
44053 #include <math.h>
44055 main ()
44057 _fmodl(0, 0);
44059 return 0;
44061 _ACEOF
44062 if ac_fn_cxx_try_compile "$LINENO"; then :
44063 glibcxx_cv_func__fmodl_use=yes
44064 else
44065 glibcxx_cv_func__fmodl_use=no
44067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44068 ac_ext=c
44069 ac_cpp='$CPP $CPPFLAGS'
44070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44079 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44081 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44082 for ac_func in _fmodl
44083 do :
44084 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44085 if test "x$ac_cv_func__fmodl" = x""yes; then :
44086 cat >>confdefs.h <<_ACEOF
44087 #define HAVE__FMODL 1
44088 _ACEOF
44091 done
44100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44101 $as_echo_n "checking for frexpl declaration... " >&6; }
44102 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44103 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 0);
44122 return 0;
44124 _ACEOF
44125 if ac_fn_cxx_try_compile "$LINENO"; then :
44126 glibcxx_cv_func_frexpl_use=yes
44127 else
44128 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
44142 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44144 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44145 for ac_func in frexpl
44146 do :
44147 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44148 if test "x$ac_cv_func_frexpl" = x""yes; then :
44149 cat >>confdefs.h <<_ACEOF
44150 #define HAVE_FREXPL 1
44151 _ACEOF
44154 done
44156 else
44158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44159 $as_echo_n "checking for _frexpl declaration... " >&6; }
44160 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44161 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44162 $as_echo_n "(cached) " >&6
44163 else
44166 ac_ext=cpp
44167 ac_cpp='$CXXCPP $CPPFLAGS'
44168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44173 /* end confdefs.h. */
44174 #include <math.h>
44176 main ()
44178 _frexpl(0, 0);
44180 return 0;
44182 _ACEOF
44183 if ac_fn_cxx_try_compile "$LINENO"; then :
44184 glibcxx_cv_func__frexpl_use=yes
44185 else
44186 glibcxx_cv_func__frexpl_use=no
44188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44189 ac_ext=c
44190 ac_cpp='$CPP $CPPFLAGS'
44191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44200 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44202 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44203 for ac_func in _frexpl
44204 do :
44205 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44206 if test "x$ac_cv_func__frexpl" = x""yes; then :
44207 cat >>confdefs.h <<_ACEOF
44208 #define HAVE__FREXPL 1
44209 _ACEOF
44212 done
44221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44222 $as_echo_n "checking for hypotl declaration... " >&6; }
44223 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44224 if test "${glibcxx_cv_func_hypotl_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 hypotl(0, 0);
44243 return 0;
44245 _ACEOF
44246 if ac_fn_cxx_try_compile "$LINENO"; then :
44247 glibcxx_cv_func_hypotl_use=yes
44248 else
44249 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
44263 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44265 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44266 for ac_func in hypotl
44267 do :
44268 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44269 if test "x$ac_cv_func_hypotl" = x""yes; then :
44270 cat >>confdefs.h <<_ACEOF
44271 #define HAVE_HYPOTL 1
44272 _ACEOF
44275 done
44277 else
44279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44280 $as_echo_n "checking for _hypotl declaration... " >&6; }
44281 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44282 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44283 $as_echo_n "(cached) " >&6
44284 else
44287 ac_ext=cpp
44288 ac_cpp='$CXXCPP $CPPFLAGS'
44289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44294 /* end confdefs.h. */
44295 #include <math.h>
44297 main ()
44299 _hypotl(0, 0);
44301 return 0;
44303 _ACEOF
44304 if ac_fn_cxx_try_compile "$LINENO"; then :
44305 glibcxx_cv_func__hypotl_use=yes
44306 else
44307 glibcxx_cv_func__hypotl_use=no
44309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44310 ac_ext=c
44311 ac_cpp='$CPP $CPPFLAGS'
44312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44321 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44323 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44324 for ac_func in _hypotl
44325 do :
44326 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44327 if test "x$ac_cv_func__hypotl" = x""yes; then :
44328 cat >>confdefs.h <<_ACEOF
44329 #define HAVE__HYPOTL 1
44330 _ACEOF
44333 done
44342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44343 $as_echo_n "checking for ldexpl declaration... " >&6; }
44344 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44345 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44346 $as_echo_n "(cached) " >&6
44347 else
44350 ac_ext=cpp
44351 ac_cpp='$CXXCPP $CPPFLAGS'
44352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44357 /* end confdefs.h. */
44358 #include <math.h>
44360 main ()
44362 ldexpl(0, 0);
44364 return 0;
44366 _ACEOF
44367 if ac_fn_cxx_try_compile "$LINENO"; then :
44368 glibcxx_cv_func_ldexpl_use=yes
44369 else
44370 glibcxx_cv_func_ldexpl_use=no
44372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44373 ac_ext=c
44374 ac_cpp='$CPP $CPPFLAGS'
44375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44384 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44386 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44387 for ac_func in ldexpl
44388 do :
44389 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44390 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44391 cat >>confdefs.h <<_ACEOF
44392 #define HAVE_LDEXPL 1
44393 _ACEOF
44396 done
44398 else
44400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44401 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44402 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44403 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44404 $as_echo_n "(cached) " >&6
44405 else
44408 ac_ext=cpp
44409 ac_cpp='$CXXCPP $CPPFLAGS'
44410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44415 /* end confdefs.h. */
44416 #include <math.h>
44418 main ()
44420 _ldexpl(0, 0);
44422 return 0;
44424 _ACEOF
44425 if ac_fn_cxx_try_compile "$LINENO"; then :
44426 glibcxx_cv_func__ldexpl_use=yes
44427 else
44428 glibcxx_cv_func__ldexpl_use=no
44430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44431 ac_ext=c
44432 ac_cpp='$CPP $CPPFLAGS'
44433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44442 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44444 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44445 for ac_func in _ldexpl
44446 do :
44447 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44448 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44449 cat >>confdefs.h <<_ACEOF
44450 #define HAVE__LDEXPL 1
44451 _ACEOF
44454 done
44463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44464 $as_echo_n "checking for logl declaration... " >&6; }
44465 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44466 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44467 $as_echo_n "(cached) " >&6
44468 else
44471 ac_ext=cpp
44472 ac_cpp='$CXXCPP $CPPFLAGS'
44473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44478 /* end confdefs.h. */
44479 #include <math.h>
44480 #ifdef HAVE_IEEEFP_H
44481 #include <ieeefp.h>
44482 #endif
44485 main ()
44487 logl(0);
44489 return 0;
44491 _ACEOF
44492 if ac_fn_cxx_try_compile "$LINENO"; then :
44493 glibcxx_cv_func_logl_use=yes
44494 else
44495 glibcxx_cv_func_logl_use=no
44497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44498 ac_ext=c
44499 ac_cpp='$CPP $CPPFLAGS'
44500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44509 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44511 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44512 for ac_func in logl
44513 do :
44514 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44515 if test "x$ac_cv_func_logl" = x""yes; then :
44516 cat >>confdefs.h <<_ACEOF
44517 #define HAVE_LOGL 1
44518 _ACEOF
44521 done
44523 else
44525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44526 $as_echo_n "checking for _logl declaration... " >&6; }
44527 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44528 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44529 $as_echo_n "(cached) " >&6
44530 else
44533 ac_ext=cpp
44534 ac_cpp='$CXXCPP $CPPFLAGS'
44535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44540 /* end confdefs.h. */
44541 #include <math.h>
44542 #ifdef HAVE_IEEEFP_H
44543 #include <ieeefp.h>
44544 #endif
44547 main ()
44549 _logl(0);
44551 return 0;
44553 _ACEOF
44554 if ac_fn_cxx_try_compile "$LINENO"; then :
44555 glibcxx_cv_func__logl_use=yes
44556 else
44557 glibcxx_cv_func__logl_use=no
44559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44560 ac_ext=c
44561 ac_cpp='$CPP $CPPFLAGS'
44562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44571 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44573 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44574 for ac_func in _logl
44575 do :
44576 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44577 if test "x$ac_cv_func__logl" = x""yes; then :
44578 cat >>confdefs.h <<_ACEOF
44579 #define HAVE__LOGL 1
44580 _ACEOF
44583 done
44592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44593 $as_echo_n "checking for log10l declaration... " >&6; }
44594 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44595 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44596 $as_echo_n "(cached) " >&6
44597 else
44600 ac_ext=cpp
44601 ac_cpp='$CXXCPP $CPPFLAGS'
44602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44607 /* end confdefs.h. */
44608 #include <math.h>
44609 #ifdef HAVE_IEEEFP_H
44610 #include <ieeefp.h>
44611 #endif
44614 main ()
44616 log10l(0);
44618 return 0;
44620 _ACEOF
44621 if ac_fn_cxx_try_compile "$LINENO"; then :
44622 glibcxx_cv_func_log10l_use=yes
44623 else
44624 glibcxx_cv_func_log10l_use=no
44626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44627 ac_ext=c
44628 ac_cpp='$CPP $CPPFLAGS'
44629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44638 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44640 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44641 for ac_func in log10l
44642 do :
44643 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44644 if test "x$ac_cv_func_log10l" = x""yes; then :
44645 cat >>confdefs.h <<_ACEOF
44646 #define HAVE_LOG10L 1
44647 _ACEOF
44650 done
44652 else
44654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44655 $as_echo_n "checking for _log10l declaration... " >&6; }
44656 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44657 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44658 $as_echo_n "(cached) " >&6
44659 else
44662 ac_ext=cpp
44663 ac_cpp='$CXXCPP $CPPFLAGS'
44664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44669 /* end confdefs.h. */
44670 #include <math.h>
44671 #ifdef HAVE_IEEEFP_H
44672 #include <ieeefp.h>
44673 #endif
44676 main ()
44678 _log10l(0);
44680 return 0;
44682 _ACEOF
44683 if ac_fn_cxx_try_compile "$LINENO"; then :
44684 glibcxx_cv_func__log10l_use=yes
44685 else
44686 glibcxx_cv_func__log10l_use=no
44688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44689 ac_ext=c
44690 ac_cpp='$CPP $CPPFLAGS'
44691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44700 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44702 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44703 for ac_func in _log10l
44704 do :
44705 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44706 if test "x$ac_cv_func__log10l" = x""yes; then :
44707 cat >>confdefs.h <<_ACEOF
44708 #define HAVE__LOG10L 1
44709 _ACEOF
44712 done
44721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44722 $as_echo_n "checking for modfl declaration... " >&6; }
44723 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44724 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44725 $as_echo_n "(cached) " >&6
44726 else
44729 ac_ext=cpp
44730 ac_cpp='$CXXCPP $CPPFLAGS'
44731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44736 /* end confdefs.h. */
44737 #include <math.h>
44739 main ()
44741 modfl(0, 0);
44743 return 0;
44745 _ACEOF
44746 if ac_fn_cxx_try_compile "$LINENO"; then :
44747 glibcxx_cv_func_modfl_use=yes
44748 else
44749 glibcxx_cv_func_modfl_use=no
44751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44752 ac_ext=c
44753 ac_cpp='$CPP $CPPFLAGS'
44754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44763 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44765 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44766 for ac_func in modfl
44767 do :
44768 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44769 if test "x$ac_cv_func_modfl" = x""yes; then :
44770 cat >>confdefs.h <<_ACEOF
44771 #define HAVE_MODFL 1
44772 _ACEOF
44775 done
44777 else
44779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44780 $as_echo_n "checking for _modfl declaration... " >&6; }
44781 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44782 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44783 $as_echo_n "(cached) " >&6
44784 else
44787 ac_ext=cpp
44788 ac_cpp='$CXXCPP $CPPFLAGS'
44789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44794 /* end confdefs.h. */
44795 #include <math.h>
44797 main ()
44799 _modfl(0, 0);
44801 return 0;
44803 _ACEOF
44804 if ac_fn_cxx_try_compile "$LINENO"; then :
44805 glibcxx_cv_func__modfl_use=yes
44806 else
44807 glibcxx_cv_func__modfl_use=no
44809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44810 ac_ext=c
44811 ac_cpp='$CPP $CPPFLAGS'
44812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44821 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44823 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44824 for ac_func in _modfl
44825 do :
44826 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44827 if test "x$ac_cv_func__modfl" = x""yes; then :
44828 cat >>confdefs.h <<_ACEOF
44829 #define HAVE__MODFL 1
44830 _ACEOF
44833 done
44842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44843 $as_echo_n "checking for powl declaration... " >&6; }
44844 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44845 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44846 $as_echo_n "(cached) " >&6
44847 else
44850 ac_ext=cpp
44851 ac_cpp='$CXXCPP $CPPFLAGS'
44852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44857 /* end confdefs.h. */
44858 #include <math.h>
44860 main ()
44862 powl(0, 0);
44864 return 0;
44866 _ACEOF
44867 if ac_fn_cxx_try_compile "$LINENO"; then :
44868 glibcxx_cv_func_powl_use=yes
44869 else
44870 glibcxx_cv_func_powl_use=no
44872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44873 ac_ext=c
44874 ac_cpp='$CPP $CPPFLAGS'
44875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44884 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44886 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44887 for ac_func in powl
44888 do :
44889 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44890 if test "x$ac_cv_func_powl" = x""yes; then :
44891 cat >>confdefs.h <<_ACEOF
44892 #define HAVE_POWL 1
44893 _ACEOF
44896 done
44898 else
44900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44901 $as_echo_n "checking for _powl declaration... " >&6; }
44902 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44903 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44904 $as_echo_n "(cached) " >&6
44905 else
44908 ac_ext=cpp
44909 ac_cpp='$CXXCPP $CPPFLAGS'
44910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44915 /* end confdefs.h. */
44916 #include <math.h>
44918 main ()
44920 _powl(0, 0);
44922 return 0;
44924 _ACEOF
44925 if ac_fn_cxx_try_compile "$LINENO"; then :
44926 glibcxx_cv_func__powl_use=yes
44927 else
44928 glibcxx_cv_func__powl_use=no
44930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44931 ac_ext=c
44932 ac_cpp='$CPP $CPPFLAGS'
44933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44942 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44944 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44945 for ac_func in _powl
44946 do :
44947 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44948 if test "x$ac_cv_func__powl" = x""yes; then :
44949 cat >>confdefs.h <<_ACEOF
44950 #define HAVE__POWL 1
44951 _ACEOF
44954 done
44963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44964 $as_echo_n "checking for sqrtl declaration... " >&6; }
44965 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44966 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44967 $as_echo_n "(cached) " >&6
44968 else
44971 ac_ext=cpp
44972 ac_cpp='$CXXCPP $CPPFLAGS'
44973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44978 /* end confdefs.h. */
44979 #include <math.h>
44980 #ifdef HAVE_IEEEFP_H
44981 #include <ieeefp.h>
44982 #endif
44985 main ()
44987 sqrtl(0);
44989 return 0;
44991 _ACEOF
44992 if ac_fn_cxx_try_compile "$LINENO"; then :
44993 glibcxx_cv_func_sqrtl_use=yes
44994 else
44995 glibcxx_cv_func_sqrtl_use=no
44997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44998 ac_ext=c
44999 ac_cpp='$CPP $CPPFLAGS'
45000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45009 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45011 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45012 for ac_func in sqrtl
45013 do :
45014 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45015 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45016 cat >>confdefs.h <<_ACEOF
45017 #define HAVE_SQRTL 1
45018 _ACEOF
45021 done
45023 else
45025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45026 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45027 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45028 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45029 $as_echo_n "(cached) " >&6
45030 else
45033 ac_ext=cpp
45034 ac_cpp='$CXXCPP $CPPFLAGS'
45035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45040 /* end confdefs.h. */
45041 #include <math.h>
45042 #ifdef HAVE_IEEEFP_H
45043 #include <ieeefp.h>
45044 #endif
45047 main ()
45049 _sqrtl(0);
45051 return 0;
45053 _ACEOF
45054 if ac_fn_cxx_try_compile "$LINENO"; then :
45055 glibcxx_cv_func__sqrtl_use=yes
45056 else
45057 glibcxx_cv_func__sqrtl_use=no
45059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45060 ac_ext=c
45061 ac_cpp='$CPP $CPPFLAGS'
45062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45071 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45073 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45074 for ac_func in _sqrtl
45075 do :
45076 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45077 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45078 cat >>confdefs.h <<_ACEOF
45079 #define HAVE__SQRTL 1
45080 _ACEOF
45083 done
45092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45093 $as_echo_n "checking for sincosl declaration... " >&6; }
45094 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45095 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45096 $as_echo_n "(cached) " >&6
45097 else
45100 ac_ext=cpp
45101 ac_cpp='$CXXCPP $CPPFLAGS'
45102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45107 /* end confdefs.h. */
45108 #include <math.h>
45110 main ()
45112 sincosl(0, 0, 0);
45114 return 0;
45116 _ACEOF
45117 if ac_fn_cxx_try_compile "$LINENO"; then :
45118 glibcxx_cv_func_sincosl_use=yes
45119 else
45120 glibcxx_cv_func_sincosl_use=no
45122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45123 ac_ext=c
45124 ac_cpp='$CPP $CPPFLAGS'
45125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45134 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45136 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45137 for ac_func in sincosl
45138 do :
45139 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45140 if test "x$ac_cv_func_sincosl" = x""yes; then :
45141 cat >>confdefs.h <<_ACEOF
45142 #define HAVE_SINCOSL 1
45143 _ACEOF
45146 done
45148 else
45150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45151 $as_echo_n "checking for _sincosl declaration... " >&6; }
45152 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45153 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45154 $as_echo_n "(cached) " >&6
45155 else
45158 ac_ext=cpp
45159 ac_cpp='$CXXCPP $CPPFLAGS'
45160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45165 /* end confdefs.h. */
45166 #include <math.h>
45168 main ()
45170 _sincosl(0, 0, 0);
45172 return 0;
45174 _ACEOF
45175 if ac_fn_cxx_try_compile "$LINENO"; then :
45176 glibcxx_cv_func__sincosl_use=yes
45177 else
45178 glibcxx_cv_func__sincosl_use=no
45180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45181 ac_ext=c
45182 ac_cpp='$CPP $CPPFLAGS'
45183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45192 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45194 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45195 for ac_func in _sincosl
45196 do :
45197 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45198 if test "x$ac_cv_func__sincosl" = x""yes; then :
45199 cat >>confdefs.h <<_ACEOF
45200 #define HAVE__SINCOSL 1
45201 _ACEOF
45204 done
45213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45214 $as_echo_n "checking for finitel declaration... " >&6; }
45215 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45216 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45217 $as_echo_n "(cached) " >&6
45218 else
45221 ac_ext=cpp
45222 ac_cpp='$CXXCPP $CPPFLAGS'
45223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45228 /* end confdefs.h. */
45229 #include <math.h>
45230 #ifdef HAVE_IEEEFP_H
45231 #include <ieeefp.h>
45232 #endif
45235 main ()
45237 finitel(0);
45239 return 0;
45241 _ACEOF
45242 if ac_fn_cxx_try_compile "$LINENO"; then :
45243 glibcxx_cv_func_finitel_use=yes
45244 else
45245 glibcxx_cv_func_finitel_use=no
45247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45248 ac_ext=c
45249 ac_cpp='$CPP $CPPFLAGS'
45250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45259 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45261 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45262 for ac_func in finitel
45263 do :
45264 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45265 if test "x$ac_cv_func_finitel" = x""yes; then :
45266 cat >>confdefs.h <<_ACEOF
45267 #define HAVE_FINITEL 1
45268 _ACEOF
45271 done
45273 else
45275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45276 $as_echo_n "checking for _finitel declaration... " >&6; }
45277 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45278 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45279 $as_echo_n "(cached) " >&6
45280 else
45283 ac_ext=cpp
45284 ac_cpp='$CXXCPP $CPPFLAGS'
45285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45290 /* end confdefs.h. */
45291 #include <math.h>
45292 #ifdef HAVE_IEEEFP_H
45293 #include <ieeefp.h>
45294 #endif
45297 main ()
45299 _finitel(0);
45301 return 0;
45303 _ACEOF
45304 if ac_fn_cxx_try_compile "$LINENO"; then :
45305 glibcxx_cv_func__finitel_use=yes
45306 else
45307 glibcxx_cv_func__finitel_use=no
45309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45310 ac_ext=c
45311 ac_cpp='$CPP $CPPFLAGS'
45312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45321 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45323 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45324 for ac_func in _finitel
45325 do :
45326 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45327 if test "x$ac_cv_func__finitel" = x""yes; then :
45328 cat >>confdefs.h <<_ACEOF
45329 #define HAVE__FINITEL 1
45330 _ACEOF
45333 done
45341 LIBS="$ac_save_LIBS"
45342 CXXFLAGS="$ac_save_CXXFLAGS"
45345 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45346 ac_save_CXXFLAGS="$CXXFLAGS"
45347 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45351 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45352 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45353 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45354 $as_echo_n "(cached) " >&6
45355 else
45358 ac_ext=cpp
45359 ac_cpp='$CXXCPP $CPPFLAGS'
45360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45365 /* end confdefs.h. */
45366 #include <stdlib.h>
45368 main ()
45370 at_quick_exit(0);
45372 return 0;
45374 _ACEOF
45375 if ac_fn_cxx_try_compile "$LINENO"; then :
45376 glibcxx_cv_func_at_quick_exit_use=yes
45377 else
45378 glibcxx_cv_func_at_quick_exit_use=no
45380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45381 ac_ext=c
45382 ac_cpp='$CPP $CPPFLAGS'
45383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45392 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45393 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45394 for ac_func in at_quick_exit
45395 do :
45396 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45397 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45398 cat >>confdefs.h <<_ACEOF
45399 #define HAVE_AT_QUICK_EXIT 1
45400 _ACEOF
45403 done
45408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45409 $as_echo_n "checking for quick_exit declaration... " >&6; }
45410 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45411 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45412 $as_echo_n "(cached) " >&6
45413 else
45416 ac_ext=cpp
45417 ac_cpp='$CXXCPP $CPPFLAGS'
45418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45423 /* end confdefs.h. */
45424 #include <stdlib.h>
45426 main ()
45428 quick_exit(0);
45430 return 0;
45432 _ACEOF
45433 if ac_fn_cxx_try_compile "$LINENO"; then :
45434 glibcxx_cv_func_quick_exit_use=yes
45435 else
45436 glibcxx_cv_func_quick_exit_use=no
45438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45439 ac_ext=c
45440 ac_cpp='$CPP $CPPFLAGS'
45441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45450 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45451 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45452 for ac_func in quick_exit
45453 do :
45454 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45455 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45456 cat >>confdefs.h <<_ACEOF
45457 #define HAVE_QUICK_EXIT 1
45458 _ACEOF
45461 done
45466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45467 $as_echo_n "checking for strtold declaration... " >&6; }
45468 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45469 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45470 $as_echo_n "(cached) " >&6
45471 else
45474 ac_ext=cpp
45475 ac_cpp='$CXXCPP $CPPFLAGS'
45476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45481 /* end confdefs.h. */
45482 #include <stdlib.h>
45484 main ()
45486 strtold(0, 0);
45488 return 0;
45490 _ACEOF
45491 if ac_fn_cxx_try_compile "$LINENO"; then :
45492 glibcxx_cv_func_strtold_use=yes
45493 else
45494 glibcxx_cv_func_strtold_use=no
45496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45497 ac_ext=c
45498 ac_cpp='$CPP $CPPFLAGS'
45499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45508 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45509 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45510 for ac_func in strtold
45511 do :
45512 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45513 if test "x$ac_cv_func_strtold" = x""yes; then :
45514 cat >>confdefs.h <<_ACEOF
45515 #define HAVE_STRTOLD 1
45516 _ACEOF
45519 done
45526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45527 $as_echo_n "checking for strtof declaration... " >&6; }
45528 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45529 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45530 $as_echo_n "(cached) " >&6
45531 else
45534 ac_ext=cpp
45535 ac_cpp='$CXXCPP $CPPFLAGS'
45536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45541 /* end confdefs.h. */
45542 #include <stdlib.h>
45544 main ()
45546 strtof(0, 0);
45548 return 0;
45550 _ACEOF
45551 if ac_fn_cxx_try_compile "$LINENO"; then :
45552 glibcxx_cv_func_strtof_use=yes
45553 else
45554 glibcxx_cv_func_strtof_use=no
45556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45557 ac_ext=c
45558 ac_cpp='$CPP $CPPFLAGS'
45559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45568 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45569 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45570 for ac_func in strtof
45571 do :
45572 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45573 if test "x$ac_cv_func_strtof" = x""yes; then :
45574 cat >>confdefs.h <<_ACEOF
45575 #define HAVE_STRTOF 1
45576 _ACEOF
45579 done
45586 CXXFLAGS="$ac_save_CXXFLAGS"
45590 *djgpp)
45591 # GLIBCXX_CHECK_MATH_SUPPORT
45592 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45594 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45596 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45598 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45600 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45604 *-freebsd*)
45605 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45608 # If we're not using GNU ld, then there's no point in even trying these
45609 # tests. Check for that first. We should have already tested for gld
45610 # by now (in libtool), but require it now just to be safe...
45611 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45612 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45616 # The name set by libtool depends on the version of libtool. Shame on us
45617 # for depending on an impl detail, but c'est la vie. Older versions used
45618 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45619 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45620 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45621 # set (hence we're using an older libtool), then set it.
45622 if test x${with_gnu_ld+set} != xset; then
45623 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45624 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45625 with_gnu_ld=no
45626 else
45627 with_gnu_ld=$ac_cv_prog_gnu_ld
45631 # Start by getting the version number. I think the libtool test already
45632 # does some of this, but throws away the result.
45633 glibcxx_ld_is_gold=no
45634 if test x"$with_gnu_ld" = x"yes"; then
45635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45636 $as_echo_n "checking for ld version... " >&6; }
45638 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45639 glibcxx_ld_is_gold=yes
45641 ldver=`$LD --version 2>/dev/null |
45642 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'`
45644 glibcxx_gnu_ld_version=`echo $ldver | \
45645 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45647 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45650 # Set --gc-sections.
45651 glibcxx_have_gc_sections=no
45652 if test "$glibcxx_ld_is_gold" = "yes"; then
45653 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45654 glibcxx_have_gc_sections=yes
45656 else
45657 glibcxx_gcsections_min_ld=21602
45658 if test x"$with_gnu_ld" = x"yes" &&
45659 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45660 glibcxx_have_gc_sections=yes
45663 if test "$glibcxx_have_gc_sections" = "yes"; then
45664 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45665 # NB: This flag only works reliably after 2.16.1. Configure tests
45666 # for this are difficult, so hard wire a value that should work.
45668 ac_test_CFLAGS="${CFLAGS+set}"
45669 ac_save_CFLAGS="$CFLAGS"
45670 CFLAGS='-Wl,--gc-sections'
45672 # Check for -Wl,--gc-sections
45673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45674 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45675 if test x$gcc_no_link = xyes; then
45676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45679 /* end confdefs.h. */
45680 int one(void) { return 1; }
45681 int two(void) { return 2; }
45684 main ()
45686 two();
45688 return 0;
45690 _ACEOF
45691 if ac_fn_c_try_link "$LINENO"; then :
45692 ac_gcsections=yes
45693 else
45694 ac_gcsections=no
45696 rm -f core conftest.err conftest.$ac_objext \
45697 conftest$ac_exeext conftest.$ac_ext
45698 if test "$ac_gcsections" = "yes"; then
45699 rm -f conftest.c
45700 touch conftest.c
45701 if $CC -c conftest.c; then
45702 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45703 grep "Warning: gc-sections option ignored" > /dev/null; then
45704 ac_gcsections=no
45707 rm -f conftest.c conftest.o conftest
45709 if test "$ac_gcsections" = "yes"; then
45710 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45713 $as_echo "$ac_gcsections" >&6; }
45715 if test "$ac_test_CFLAGS" = set; then
45716 CFLAGS="$ac_save_CFLAGS"
45717 else
45718 # this is the suspicious part
45719 CFLAGS=''
45723 # Set -z,relro.
45724 # Note this is only for shared objects.
45725 ac_ld_relro=no
45726 if test x"$with_gnu_ld" = x"yes"; then
45727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45728 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45729 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45730 if test -n "$cxx_z_relo"; then
45731 OPT_LDFLAGS="-Wl,-z,relro"
45732 ac_ld_relro=yes
45734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45735 $as_echo "$ac_ld_relro" >&6; }
45738 # Set linker optimization flags.
45739 if test x"$with_gnu_ld" = x"yes"; then
45740 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45746 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45748 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45750 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45752 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45754 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45756 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45758 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45760 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45762 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45765 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45767 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45769 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45771 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45773 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45775 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45777 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45779 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45781 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45783 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45785 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45787 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45789 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45791 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45793 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45795 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45797 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45799 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45801 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45803 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45805 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45807 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45809 if test x"long_double_math_on_this_cpu" = x"yes"; then
45810 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45812 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45814 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45818 *-hpux*)
45819 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45822 # If we're not using GNU ld, then there's no point in even trying these
45823 # tests. Check for that first. We should have already tested for gld
45824 # by now (in libtool), but require it now just to be safe...
45825 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45826 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45830 # The name set by libtool depends on the version of libtool. Shame on us
45831 # for depending on an impl detail, but c'est la vie. Older versions used
45832 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45833 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45834 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45835 # set (hence we're using an older libtool), then set it.
45836 if test x${with_gnu_ld+set} != xset; then
45837 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45838 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45839 with_gnu_ld=no
45840 else
45841 with_gnu_ld=$ac_cv_prog_gnu_ld
45845 # Start by getting the version number. I think the libtool test already
45846 # does some of this, but throws away the result.
45847 glibcxx_ld_is_gold=no
45848 if test x"$with_gnu_ld" = x"yes"; then
45849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45850 $as_echo_n "checking for ld version... " >&6; }
45852 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45853 glibcxx_ld_is_gold=yes
45855 ldver=`$LD --version 2>/dev/null |
45856 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'`
45858 glibcxx_gnu_ld_version=`echo $ldver | \
45859 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45861 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45864 # Set --gc-sections.
45865 glibcxx_have_gc_sections=no
45866 if test "$glibcxx_ld_is_gold" = "yes"; then
45867 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45868 glibcxx_have_gc_sections=yes
45870 else
45871 glibcxx_gcsections_min_ld=21602
45872 if test x"$with_gnu_ld" = x"yes" &&
45873 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45874 glibcxx_have_gc_sections=yes
45877 if test "$glibcxx_have_gc_sections" = "yes"; then
45878 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45879 # NB: This flag only works reliably after 2.16.1. Configure tests
45880 # for this are difficult, so hard wire a value that should work.
45882 ac_test_CFLAGS="${CFLAGS+set}"
45883 ac_save_CFLAGS="$CFLAGS"
45884 CFLAGS='-Wl,--gc-sections'
45886 # Check for -Wl,--gc-sections
45887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45888 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45889 if test x$gcc_no_link = xyes; then
45890 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45893 /* end confdefs.h. */
45894 int one(void) { return 1; }
45895 int two(void) { return 2; }
45898 main ()
45900 two();
45902 return 0;
45904 _ACEOF
45905 if ac_fn_c_try_link "$LINENO"; then :
45906 ac_gcsections=yes
45907 else
45908 ac_gcsections=no
45910 rm -f core conftest.err conftest.$ac_objext \
45911 conftest$ac_exeext conftest.$ac_ext
45912 if test "$ac_gcsections" = "yes"; then
45913 rm -f conftest.c
45914 touch conftest.c
45915 if $CC -c conftest.c; then
45916 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45917 grep "Warning: gc-sections option ignored" > /dev/null; then
45918 ac_gcsections=no
45921 rm -f conftest.c conftest.o conftest
45923 if test "$ac_gcsections" = "yes"; then
45924 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45927 $as_echo "$ac_gcsections" >&6; }
45929 if test "$ac_test_CFLAGS" = set; then
45930 CFLAGS="$ac_save_CFLAGS"
45931 else
45932 # this is the suspicious part
45933 CFLAGS=''
45937 # Set -z,relro.
45938 # Note this is only for shared objects.
45939 ac_ld_relro=no
45940 if test x"$with_gnu_ld" = x"yes"; then
45941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45942 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45943 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45944 if test -n "$cxx_z_relo"; then
45945 OPT_LDFLAGS="-Wl,-z,relro"
45946 ac_ld_relro=yes
45948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45949 $as_echo "$ac_ld_relro" >&6; }
45952 # Set linker optimization flags.
45953 if test x"$with_gnu_ld" = x"yes"; then
45954 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45961 # GLIBCXX_CHECK_MATH_SUPPORT
45962 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45964 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45966 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45968 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45970 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45972 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45974 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45976 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45978 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45980 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45982 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45984 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45986 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45988 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45990 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45992 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45994 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45996 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45998 $as_echo "#define HAVE_MODF 1" >>confdefs.h
46000 $as_echo "#define HAVE_POWF 1" >>confdefs.h
46002 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
46005 # GLIBCXX_CHECK_STDLIB_SUPPORT
46006 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
46011 # Check whether --enable-tls was given.
46012 if test "${enable_tls+set}" = set; then :
46013 enableval=$enable_tls;
46014 case "$enableval" in
46015 yes|no) ;;
46016 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
46017 esac
46019 else
46020 enable_tls=yes
46024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
46025 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
46026 if test "${gcc_cv_have_tls+set}" = set; then :
46027 $as_echo_n "(cached) " >&6
46028 else
46030 if test "$cross_compiling" = yes; then :
46031 if test x$gcc_no_link = xyes; then
46032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46035 /* end confdefs.h. */
46036 __thread int a; int b; int main() { return a = b; }
46037 _ACEOF
46038 if ac_fn_c_try_link "$LINENO"; then :
46039 chktls_save_LDFLAGS="$LDFLAGS"
46040 case $host in
46041 *-*-linux*)
46042 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
46044 esac
46045 chktls_save_CFLAGS="$CFLAGS"
46046 CFLAGS="-fPIC $CFLAGS"
46047 if test x$gcc_no_link = xyes; then
46048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46051 /* end confdefs.h. */
46052 int f() { return 0; }
46053 _ACEOF
46054 if ac_fn_c_try_link "$LINENO"; then :
46055 if test x$gcc_no_link = xyes; then
46056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46059 /* end confdefs.h. */
46060 __thread int a; int b; int f() { return a = b; }
46061 _ACEOF
46062 if ac_fn_c_try_link "$LINENO"; then :
46063 gcc_cv_have_tls=yes
46064 else
46065 gcc_cv_have_tls=no
46067 rm -f core conftest.err conftest.$ac_objext \
46068 conftest$ac_exeext conftest.$ac_ext
46069 else
46070 gcc_cv_have_tls=yes
46072 rm -f core conftest.err conftest.$ac_objext \
46073 conftest$ac_exeext conftest.$ac_ext
46074 CFLAGS="$chktls_save_CFLAGS"
46075 LDFLAGS="$chktls_save_LDFLAGS"
46076 else
46077 gcc_cv_have_tls=no
46079 rm -f core conftest.err conftest.$ac_objext \
46080 conftest$ac_exeext conftest.$ac_ext
46083 else
46084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46085 /* end confdefs.h. */
46086 __thread int a; int b; int main() { return a = b; }
46087 _ACEOF
46088 if ac_fn_c_try_run "$LINENO"; then :
46089 chktls_save_LDFLAGS="$LDFLAGS"
46090 LDFLAGS="-static $LDFLAGS"
46091 if test x$gcc_no_link = xyes; then
46092 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46095 /* end confdefs.h. */
46096 int main() { return 0; }
46097 _ACEOF
46098 if ac_fn_c_try_link "$LINENO"; then :
46099 if test "$cross_compiling" = yes; then :
46100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46102 as_fn_error "cannot run test program while cross compiling
46103 See \`config.log' for more details." "$LINENO" 5; }
46104 else
46105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46106 /* end confdefs.h. */
46107 __thread int a; int b; int main() { return a = b; }
46108 _ACEOF
46109 if ac_fn_c_try_run "$LINENO"; then :
46110 gcc_cv_have_tls=yes
46111 else
46112 gcc_cv_have_tls=no
46114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46115 conftest.$ac_objext conftest.beam conftest.$ac_ext
46118 else
46119 gcc_cv_have_tls=yes
46121 rm -f core conftest.err conftest.$ac_objext \
46122 conftest$ac_exeext conftest.$ac_ext
46123 LDFLAGS="$chktls_save_LDFLAGS"
46124 if test $gcc_cv_have_tls = yes; then
46125 chktls_save_CFLAGS="$CFLAGS"
46126 thread_CFLAGS=failed
46127 for flag in '' '-pthread' '-lpthread'; do
46128 CFLAGS="$flag $chktls_save_CFLAGS"
46129 if test x$gcc_no_link = xyes; then
46130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46133 /* end confdefs.h. */
46134 #include <pthread.h>
46135 void *g(void *d) { return NULL; }
46137 main ()
46139 pthread_t t; pthread_create(&t,NULL,g,NULL);
46141 return 0;
46143 _ACEOF
46144 if ac_fn_c_try_link "$LINENO"; then :
46145 thread_CFLAGS="$flag"
46147 rm -f core conftest.err conftest.$ac_objext \
46148 conftest$ac_exeext conftest.$ac_ext
46149 if test "X$thread_CFLAGS" != Xfailed; then
46150 break
46152 done
46153 CFLAGS="$chktls_save_CFLAGS"
46154 if test "X$thread_CFLAGS" != Xfailed; then
46155 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46156 if test "$cross_compiling" = yes; then :
46157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46159 as_fn_error "cannot run test program while cross compiling
46160 See \`config.log' for more details." "$LINENO" 5; }
46161 else
46162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46163 /* end confdefs.h. */
46164 #include <pthread.h>
46165 __thread int a;
46166 static int *volatile a_in_other_thread;
46167 static void *
46168 thread_func (void *arg)
46170 a_in_other_thread = &a;
46171 return (void *)0;
46174 main ()
46176 pthread_t thread;
46177 void *thread_retval;
46178 int *volatile a_in_main_thread;
46179 a_in_main_thread = &a;
46180 if (pthread_create (&thread, (pthread_attr_t *)0,
46181 thread_func, (void *)0))
46182 return 0;
46183 if (pthread_join (thread, &thread_retval))
46184 return 0;
46185 return (a_in_other_thread == a_in_main_thread);
46187 return 0;
46189 _ACEOF
46190 if ac_fn_c_try_run "$LINENO"; then :
46191 gcc_cv_have_tls=yes
46192 else
46193 gcc_cv_have_tls=no
46195 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46196 conftest.$ac_objext conftest.beam conftest.$ac_ext
46199 CFLAGS="$chktls_save_CFLAGS"
46202 else
46203 gcc_cv_have_tls=no
46205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46206 conftest.$ac_objext conftest.beam conftest.$ac_ext
46210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46211 $as_echo "$gcc_cv_have_tls" >&6; }
46212 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46214 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46217 case "$target" in
46218 *-hpux10*)
46219 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46221 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46223 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46225 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46227 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46230 esac
46232 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
46234 # All these tests are for C++; save the language and the compiler flags.
46235 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46236 # found in GLIBCXX_CONFIGURE.
46238 ac_ext=cpp
46239 ac_cpp='$CXXCPP $CPPFLAGS'
46240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46244 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46245 ac_save_CXXFLAGS="$CXXFLAGS"
46247 # Check for maintainer-mode bits.
46248 if test x"$USE_MAINTAINER_MODE" = xno; then
46249 WERROR=''
46250 else
46251 WERROR='-Werror'
46254 # Check for -ffunction-sections -fdata-sections
46255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46256 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46257 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46259 /* end confdefs.h. */
46260 int foo; void bar() { };
46262 main ()
46266 return 0;
46268 _ACEOF
46269 if ac_fn_cxx_try_compile "$LINENO"; then :
46270 ac_fdsections=yes
46271 else
46272 ac_fdsections=no
46274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46275 if test "$ac_test_CXXFLAGS" = set; then
46276 CXXFLAGS="$ac_save_CXXFLAGS"
46277 else
46278 # this is the suspicious part
46279 CXXFLAGS=''
46281 if test x"$ac_fdsections" = x"yes"; then
46282 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46285 $as_echo "$ac_fdsections" >&6; }
46287 ac_ext=c
46288 ac_cpp='$CPP $CPPFLAGS'
46289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46297 # If we're not using GNU ld, then there's no point in even trying these
46298 # tests. Check for that first. We should have already tested for gld
46299 # by now (in libtool), but require it now just to be safe...
46300 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46301 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46305 # The name set by libtool depends on the version of libtool. Shame on us
46306 # for depending on an impl detail, but c'est la vie. Older versions used
46307 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46308 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46309 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46310 # set (hence we're using an older libtool), then set it.
46311 if test x${with_gnu_ld+set} != xset; then
46312 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46313 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46314 with_gnu_ld=no
46315 else
46316 with_gnu_ld=$ac_cv_prog_gnu_ld
46320 # Start by getting the version number. I think the libtool test already
46321 # does some of this, but throws away the result.
46322 glibcxx_ld_is_gold=no
46323 if test x"$with_gnu_ld" = x"yes"; then
46324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46325 $as_echo_n "checking for ld version... " >&6; }
46327 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46328 glibcxx_ld_is_gold=yes
46330 ldver=`$LD --version 2>/dev/null |
46331 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'`
46333 glibcxx_gnu_ld_version=`echo $ldver | \
46334 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46336 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46339 # Set --gc-sections.
46340 glibcxx_have_gc_sections=no
46341 if test "$glibcxx_ld_is_gold" = "yes"; then
46342 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46343 glibcxx_have_gc_sections=yes
46345 else
46346 glibcxx_gcsections_min_ld=21602
46347 if test x"$with_gnu_ld" = x"yes" &&
46348 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46349 glibcxx_have_gc_sections=yes
46352 if test "$glibcxx_have_gc_sections" = "yes"; then
46353 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
46354 # NB: This flag only works reliably after 2.16.1. Configure tests
46355 # for this are difficult, so hard wire a value that should work.
46357 ac_test_CFLAGS="${CFLAGS+set}"
46358 ac_save_CFLAGS="$CFLAGS"
46359 CFLAGS='-Wl,--gc-sections'
46361 # Check for -Wl,--gc-sections
46362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46363 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46364 if test x$gcc_no_link = xyes; then
46365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46368 /* end confdefs.h. */
46369 int one(void) { return 1; }
46370 int two(void) { return 2; }
46373 main ()
46375 two();
46377 return 0;
46379 _ACEOF
46380 if ac_fn_c_try_link "$LINENO"; then :
46381 ac_gcsections=yes
46382 else
46383 ac_gcsections=no
46385 rm -f core conftest.err conftest.$ac_objext \
46386 conftest$ac_exeext conftest.$ac_ext
46387 if test "$ac_gcsections" = "yes"; then
46388 rm -f conftest.c
46389 touch conftest.c
46390 if $CC -c conftest.c; then
46391 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46392 grep "Warning: gc-sections option ignored" > /dev/null; then
46393 ac_gcsections=no
46396 rm -f conftest.c conftest.o conftest
46398 if test "$ac_gcsections" = "yes"; then
46399 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46402 $as_echo "$ac_gcsections" >&6; }
46404 if test "$ac_test_CFLAGS" = set; then
46405 CFLAGS="$ac_save_CFLAGS"
46406 else
46407 # this is the suspicious part
46408 CFLAGS=''
46412 # Set -z,relro.
46413 # Note this is only for shared objects.
46414 ac_ld_relro=no
46415 if test x"$with_gnu_ld" = x"yes"; then
46416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46417 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46418 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46419 if test -n "$cxx_z_relo"; then
46420 OPT_LDFLAGS="-Wl,-z,relro"
46421 ac_ld_relro=yes
46423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46424 $as_echo "$ac_ld_relro" >&6; }
46427 # Set linker optimization flags.
46428 if test x"$with_gnu_ld" = x"yes"; then
46429 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46436 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46437 ac_save_CXXFLAGS="$CXXFLAGS"
46438 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46441 $as_echo_n "checking for sin in -lm... " >&6; }
46442 if test "${ac_cv_lib_m_sin+set}" = set; then :
46443 $as_echo_n "(cached) " >&6
46444 else
46445 ac_check_lib_save_LIBS=$LIBS
46446 LIBS="-lm $LIBS"
46447 if test x$gcc_no_link = xyes; then
46448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46451 /* end confdefs.h. */
46453 /* Override any GCC internal prototype to avoid an error.
46454 Use char because int might match the return type of a GCC
46455 builtin and then its argument prototype would still apply. */
46456 #ifdef __cplusplus
46457 extern "C"
46458 #endif
46459 char sin ();
46461 main ()
46463 return sin ();
46465 return 0;
46467 _ACEOF
46468 if ac_fn_c_try_link "$LINENO"; then :
46469 ac_cv_lib_m_sin=yes
46470 else
46471 ac_cv_lib_m_sin=no
46473 rm -f core conftest.err conftest.$ac_objext \
46474 conftest$ac_exeext conftest.$ac_ext
46475 LIBS=$ac_check_lib_save_LIBS
46477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46478 $as_echo "$ac_cv_lib_m_sin" >&6; }
46479 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46480 libm="-lm"
46483 ac_save_LIBS="$LIBS"
46484 LIBS="$LIBS $libm"
46488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46489 $as_echo_n "checking for isinf declaration... " >&6; }
46490 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46491 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46492 $as_echo_n "(cached) " >&6
46493 else
46496 ac_ext=cpp
46497 ac_cpp='$CXXCPP $CPPFLAGS'
46498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46503 /* end confdefs.h. */
46504 #include <math.h>
46505 #ifdef HAVE_IEEEFP_H
46506 #include <ieeefp.h>
46507 #endif
46510 main ()
46512 isinf(0);
46514 return 0;
46516 _ACEOF
46517 if ac_fn_cxx_try_compile "$LINENO"; then :
46518 glibcxx_cv_func_isinf_use=yes
46519 else
46520 glibcxx_cv_func_isinf_use=no
46522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46523 ac_ext=c
46524 ac_cpp='$CPP $CPPFLAGS'
46525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46534 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46536 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46537 for ac_func in isinf
46538 do :
46539 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46540 if test "x$ac_cv_func_isinf" = x""yes; then :
46541 cat >>confdefs.h <<_ACEOF
46542 #define HAVE_ISINF 1
46543 _ACEOF
46546 done
46548 else
46550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46551 $as_echo_n "checking for _isinf declaration... " >&6; }
46552 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46553 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46554 $as_echo_n "(cached) " >&6
46555 else
46558 ac_ext=cpp
46559 ac_cpp='$CXXCPP $CPPFLAGS'
46560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46565 /* end confdefs.h. */
46566 #include <math.h>
46567 #ifdef HAVE_IEEEFP_H
46568 #include <ieeefp.h>
46569 #endif
46572 main ()
46574 _isinf(0);
46576 return 0;
46578 _ACEOF
46579 if ac_fn_cxx_try_compile "$LINENO"; then :
46580 glibcxx_cv_func__isinf_use=yes
46581 else
46582 glibcxx_cv_func__isinf_use=no
46584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46585 ac_ext=c
46586 ac_cpp='$CPP $CPPFLAGS'
46587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46596 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46598 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46599 for ac_func in _isinf
46600 do :
46601 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46602 if test "x$ac_cv_func__isinf" = x""yes; then :
46603 cat >>confdefs.h <<_ACEOF
46604 #define HAVE__ISINF 1
46605 _ACEOF
46608 done
46617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46618 $as_echo_n "checking for isnan declaration... " >&6; }
46619 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46620 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46621 $as_echo_n "(cached) " >&6
46622 else
46625 ac_ext=cpp
46626 ac_cpp='$CXXCPP $CPPFLAGS'
46627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46632 /* end confdefs.h. */
46633 #include <math.h>
46634 #ifdef HAVE_IEEEFP_H
46635 #include <ieeefp.h>
46636 #endif
46639 main ()
46641 isnan(0);
46643 return 0;
46645 _ACEOF
46646 if ac_fn_cxx_try_compile "$LINENO"; then :
46647 glibcxx_cv_func_isnan_use=yes
46648 else
46649 glibcxx_cv_func_isnan_use=no
46651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46652 ac_ext=c
46653 ac_cpp='$CPP $CPPFLAGS'
46654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46663 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46665 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46666 for ac_func in isnan
46667 do :
46668 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46669 if test "x$ac_cv_func_isnan" = x""yes; then :
46670 cat >>confdefs.h <<_ACEOF
46671 #define HAVE_ISNAN 1
46672 _ACEOF
46675 done
46677 else
46679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46680 $as_echo_n "checking for _isnan declaration... " >&6; }
46681 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46682 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46683 $as_echo_n "(cached) " >&6
46684 else
46687 ac_ext=cpp
46688 ac_cpp='$CXXCPP $CPPFLAGS'
46689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46694 /* end confdefs.h. */
46695 #include <math.h>
46696 #ifdef HAVE_IEEEFP_H
46697 #include <ieeefp.h>
46698 #endif
46701 main ()
46703 _isnan(0);
46705 return 0;
46707 _ACEOF
46708 if ac_fn_cxx_try_compile "$LINENO"; then :
46709 glibcxx_cv_func__isnan_use=yes
46710 else
46711 glibcxx_cv_func__isnan_use=no
46713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46714 ac_ext=c
46715 ac_cpp='$CPP $CPPFLAGS'
46716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46725 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46727 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46728 for ac_func in _isnan
46729 do :
46730 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46731 if test "x$ac_cv_func__isnan" = x""yes; then :
46732 cat >>confdefs.h <<_ACEOF
46733 #define HAVE__ISNAN 1
46734 _ACEOF
46737 done
46746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46747 $as_echo_n "checking for finite declaration... " >&6; }
46748 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46749 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46750 $as_echo_n "(cached) " >&6
46751 else
46754 ac_ext=cpp
46755 ac_cpp='$CXXCPP $CPPFLAGS'
46756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46761 /* end confdefs.h. */
46762 #include <math.h>
46763 #ifdef HAVE_IEEEFP_H
46764 #include <ieeefp.h>
46765 #endif
46768 main ()
46770 finite(0);
46772 return 0;
46774 _ACEOF
46775 if ac_fn_cxx_try_compile "$LINENO"; then :
46776 glibcxx_cv_func_finite_use=yes
46777 else
46778 glibcxx_cv_func_finite_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
46791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46792 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46794 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46795 for ac_func in finite
46796 do :
46797 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46798 if test "x$ac_cv_func_finite" = x""yes; then :
46799 cat >>confdefs.h <<_ACEOF
46800 #define HAVE_FINITE 1
46801 _ACEOF
46804 done
46806 else
46808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46809 $as_echo_n "checking for _finite declaration... " >&6; }
46810 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46811 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46812 $as_echo_n "(cached) " >&6
46813 else
46816 ac_ext=cpp
46817 ac_cpp='$CXXCPP $CPPFLAGS'
46818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46823 /* end confdefs.h. */
46824 #include <math.h>
46825 #ifdef HAVE_IEEEFP_H
46826 #include <ieeefp.h>
46827 #endif
46830 main ()
46832 _finite(0);
46834 return 0;
46836 _ACEOF
46837 if ac_fn_cxx_try_compile "$LINENO"; then :
46838 glibcxx_cv_func__finite_use=yes
46839 else
46840 glibcxx_cv_func__finite_use=no
46842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46843 ac_ext=c
46844 ac_cpp='$CPP $CPPFLAGS'
46845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46854 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46856 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46857 for ac_func in _finite
46858 do :
46859 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46860 if test "x$ac_cv_func__finite" = x""yes; then :
46861 cat >>confdefs.h <<_ACEOF
46862 #define HAVE__FINITE 1
46863 _ACEOF
46866 done
46875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46876 $as_echo_n "checking for sincos declaration... " >&6; }
46877 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46878 if test "${glibcxx_cv_func_sincos_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>
46893 main ()
46895 sincos(0, 0, 0);
46897 return 0;
46899 _ACEOF
46900 if ac_fn_cxx_try_compile "$LINENO"; then :
46901 glibcxx_cv_func_sincos_use=yes
46902 else
46903 glibcxx_cv_func_sincos_use=no
46905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46906 ac_ext=c
46907 ac_cpp='$CPP $CPPFLAGS'
46908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46917 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46919 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46920 for ac_func in sincos
46921 do :
46922 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46923 if test "x$ac_cv_func_sincos" = x""yes; then :
46924 cat >>confdefs.h <<_ACEOF
46925 #define HAVE_SINCOS 1
46926 _ACEOF
46929 done
46931 else
46933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46934 $as_echo_n "checking for _sincos declaration... " >&6; }
46935 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46936 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46937 $as_echo_n "(cached) " >&6
46938 else
46941 ac_ext=cpp
46942 ac_cpp='$CXXCPP $CPPFLAGS'
46943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46948 /* end confdefs.h. */
46949 #include <math.h>
46951 main ()
46953 _sincos(0, 0, 0);
46955 return 0;
46957 _ACEOF
46958 if ac_fn_cxx_try_compile "$LINENO"; then :
46959 glibcxx_cv_func__sincos_use=yes
46960 else
46961 glibcxx_cv_func__sincos_use=no
46963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46964 ac_ext=c
46965 ac_cpp='$CPP $CPPFLAGS'
46966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46975 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46977 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46978 for ac_func in _sincos
46979 do :
46980 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46981 if test "x$ac_cv_func__sincos" = x""yes; then :
46982 cat >>confdefs.h <<_ACEOF
46983 #define HAVE__SINCOS 1
46984 _ACEOF
46987 done
46996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46997 $as_echo_n "checking for fpclass declaration... " >&6; }
46998 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46999 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47000 $as_echo_n "(cached) " >&6
47001 else
47004 ac_ext=cpp
47005 ac_cpp='$CXXCPP $CPPFLAGS'
47006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47011 /* end confdefs.h. */
47012 #include <math.h>
47013 #ifdef HAVE_IEEEFP_H
47014 #include <ieeefp.h>
47015 #endif
47018 main ()
47020 fpclass(0);
47022 return 0;
47024 _ACEOF
47025 if ac_fn_cxx_try_compile "$LINENO"; then :
47026 glibcxx_cv_func_fpclass_use=yes
47027 else
47028 glibcxx_cv_func_fpclass_use=no
47030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47031 ac_ext=c
47032 ac_cpp='$CPP $CPPFLAGS'
47033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47042 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47044 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47045 for ac_func in fpclass
47046 do :
47047 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47048 if test "x$ac_cv_func_fpclass" = x""yes; then :
47049 cat >>confdefs.h <<_ACEOF
47050 #define HAVE_FPCLASS 1
47051 _ACEOF
47054 done
47056 else
47058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47059 $as_echo_n "checking for _fpclass declaration... " >&6; }
47060 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47061 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47062 $as_echo_n "(cached) " >&6
47063 else
47066 ac_ext=cpp
47067 ac_cpp='$CXXCPP $CPPFLAGS'
47068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47073 /* end confdefs.h. */
47074 #include <math.h>
47075 #ifdef HAVE_IEEEFP_H
47076 #include <ieeefp.h>
47077 #endif
47080 main ()
47082 _fpclass(0);
47084 return 0;
47086 _ACEOF
47087 if ac_fn_cxx_try_compile "$LINENO"; then :
47088 glibcxx_cv_func__fpclass_use=yes
47089 else
47090 glibcxx_cv_func__fpclass_use=no
47092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47093 ac_ext=c
47094 ac_cpp='$CPP $CPPFLAGS'
47095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47104 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47106 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47107 for ac_func in _fpclass
47108 do :
47109 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47110 if test "x$ac_cv_func__fpclass" = x""yes; then :
47111 cat >>confdefs.h <<_ACEOF
47112 #define HAVE__FPCLASS 1
47113 _ACEOF
47116 done
47125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47126 $as_echo_n "checking for qfpclass declaration... " >&6; }
47127 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47128 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47129 $as_echo_n "(cached) " >&6
47130 else
47133 ac_ext=cpp
47134 ac_cpp='$CXXCPP $CPPFLAGS'
47135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47140 /* end confdefs.h. */
47141 #include <math.h>
47142 #ifdef HAVE_IEEEFP_H
47143 #include <ieeefp.h>
47144 #endif
47147 main ()
47149 qfpclass(0);
47151 return 0;
47153 _ACEOF
47154 if ac_fn_cxx_try_compile "$LINENO"; then :
47155 glibcxx_cv_func_qfpclass_use=yes
47156 else
47157 glibcxx_cv_func_qfpclass_use=no
47159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47160 ac_ext=c
47161 ac_cpp='$CPP $CPPFLAGS'
47162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47171 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47173 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47174 for ac_func in qfpclass
47175 do :
47176 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47177 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47178 cat >>confdefs.h <<_ACEOF
47179 #define HAVE_QFPCLASS 1
47180 _ACEOF
47183 done
47185 else
47187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47188 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47189 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47190 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47191 $as_echo_n "(cached) " >&6
47192 else
47195 ac_ext=cpp
47196 ac_cpp='$CXXCPP $CPPFLAGS'
47197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47202 /* end confdefs.h. */
47203 #include <math.h>
47204 #ifdef HAVE_IEEEFP_H
47205 #include <ieeefp.h>
47206 #endif
47209 main ()
47211 _qfpclass(0);
47213 return 0;
47215 _ACEOF
47216 if ac_fn_cxx_try_compile "$LINENO"; then :
47217 glibcxx_cv_func__qfpclass_use=yes
47218 else
47219 glibcxx_cv_func__qfpclass_use=no
47221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47222 ac_ext=c
47223 ac_cpp='$CPP $CPPFLAGS'
47224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47233 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47235 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47236 for ac_func in _qfpclass
47237 do :
47238 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47239 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47240 cat >>confdefs.h <<_ACEOF
47241 #define HAVE__QFPCLASS 1
47242 _ACEOF
47245 done
47254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47255 $as_echo_n "checking for hypot declaration... " >&6; }
47256 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47257 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47258 $as_echo_n "(cached) " >&6
47259 else
47262 ac_ext=cpp
47263 ac_cpp='$CXXCPP $CPPFLAGS'
47264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47269 /* end confdefs.h. */
47270 #include <math.h>
47272 main ()
47274 hypot(0, 0);
47276 return 0;
47278 _ACEOF
47279 if ac_fn_cxx_try_compile "$LINENO"; then :
47280 glibcxx_cv_func_hypot_use=yes
47281 else
47282 glibcxx_cv_func_hypot_use=no
47284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47285 ac_ext=c
47286 ac_cpp='$CPP $CPPFLAGS'
47287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47296 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47298 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47299 for ac_func in hypot
47300 do :
47301 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47302 if test "x$ac_cv_func_hypot" = x""yes; then :
47303 cat >>confdefs.h <<_ACEOF
47304 #define HAVE_HYPOT 1
47305 _ACEOF
47308 done
47310 else
47312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47313 $as_echo_n "checking for _hypot declaration... " >&6; }
47314 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47315 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47316 $as_echo_n "(cached) " >&6
47317 else
47320 ac_ext=cpp
47321 ac_cpp='$CXXCPP $CPPFLAGS'
47322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47327 /* end confdefs.h. */
47328 #include <math.h>
47330 main ()
47332 _hypot(0, 0);
47334 return 0;
47336 _ACEOF
47337 if ac_fn_cxx_try_compile "$LINENO"; then :
47338 glibcxx_cv_func__hypot_use=yes
47339 else
47340 glibcxx_cv_func__hypot_use=no
47342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47343 ac_ext=c
47344 ac_cpp='$CPP $CPPFLAGS'
47345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47354 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47356 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47357 for ac_func in _hypot
47358 do :
47359 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47360 if test "x$ac_cv_func__hypot" = x""yes; then :
47361 cat >>confdefs.h <<_ACEOF
47362 #define HAVE__HYPOT 1
47363 _ACEOF
47366 done
47375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47376 $as_echo_n "checking for float trig functions... " >&6; }
47377 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47378 $as_echo_n "(cached) " >&6
47379 else
47382 ac_ext=cpp
47383 ac_cpp='$CXXCPP $CPPFLAGS'
47384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47389 /* end confdefs.h. */
47390 #include <math.h>
47392 main ()
47394 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47396 return 0;
47398 _ACEOF
47399 if ac_fn_cxx_try_compile "$LINENO"; then :
47400 glibcxx_cv_func_float_trig_use=yes
47401 else
47402 glibcxx_cv_func_float_trig_use=no
47404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47405 ac_ext=c
47406 ac_cpp='$CPP $CPPFLAGS'
47407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47414 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47415 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47416 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47417 do :
47418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47420 eval as_val=\$$as_ac_var
47421 if test "x$as_val" = x""yes; then :
47422 cat >>confdefs.h <<_ACEOF
47423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47424 _ACEOF
47427 done
47429 else
47430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47431 $as_echo_n "checking for _float trig functions... " >&6; }
47432 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47433 $as_echo_n "(cached) " >&6
47434 else
47437 ac_ext=cpp
47438 ac_cpp='$CXXCPP $CPPFLAGS'
47439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47444 /* end confdefs.h. */
47445 #include <math.h>
47447 main ()
47449 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47451 return 0;
47453 _ACEOF
47454 if ac_fn_cxx_try_compile "$LINENO"; then :
47455 glibcxx_cv_func__float_trig_use=yes
47456 else
47457 glibcxx_cv_func__float_trig_use=no
47459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47460 ac_ext=c
47461 ac_cpp='$CPP $CPPFLAGS'
47462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47469 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47470 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47471 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47472 do :
47473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47475 eval as_val=\$$as_ac_var
47476 if test "x$as_val" = x""yes; then :
47477 cat >>confdefs.h <<_ACEOF
47478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47479 _ACEOF
47482 done
47491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47492 $as_echo_n "checking for float round functions... " >&6; }
47493 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47494 $as_echo_n "(cached) " >&6
47495 else
47498 ac_ext=cpp
47499 ac_cpp='$CXXCPP $CPPFLAGS'
47500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47505 /* end confdefs.h. */
47506 #include <math.h>
47508 main ()
47510 ceilf (0); floorf (0);
47512 return 0;
47514 _ACEOF
47515 if ac_fn_cxx_try_compile "$LINENO"; then :
47516 glibcxx_cv_func_float_round_use=yes
47517 else
47518 glibcxx_cv_func_float_round_use=no
47520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47521 ac_ext=c
47522 ac_cpp='$CPP $CPPFLAGS'
47523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47530 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47531 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47532 for ac_func in ceilf floorf
47533 do :
47534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47536 eval as_val=\$$as_ac_var
47537 if test "x$as_val" = x""yes; then :
47538 cat >>confdefs.h <<_ACEOF
47539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47540 _ACEOF
47543 done
47545 else
47546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47547 $as_echo_n "checking for _float round functions... " >&6; }
47548 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47549 $as_echo_n "(cached) " >&6
47550 else
47553 ac_ext=cpp
47554 ac_cpp='$CXXCPP $CPPFLAGS'
47555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47560 /* end confdefs.h. */
47561 #include <math.h>
47563 main ()
47565 _ceilf (0); _floorf (0);
47567 return 0;
47569 _ACEOF
47570 if ac_fn_cxx_try_compile "$LINENO"; then :
47571 glibcxx_cv_func__float_round_use=yes
47572 else
47573 glibcxx_cv_func__float_round_use=no
47575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47576 ac_ext=c
47577 ac_cpp='$CPP $CPPFLAGS'
47578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47585 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47586 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47587 for ac_func in _ceilf _floorf
47588 do :
47589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47591 eval as_val=\$$as_ac_var
47592 if test "x$as_val" = x""yes; then :
47593 cat >>confdefs.h <<_ACEOF
47594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47595 _ACEOF
47598 done
47608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47609 $as_echo_n "checking for expf declaration... " >&6; }
47610 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47611 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47612 $as_echo_n "(cached) " >&6
47613 else
47616 ac_ext=cpp
47617 ac_cpp='$CXXCPP $CPPFLAGS'
47618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47623 /* end confdefs.h. */
47624 #include <math.h>
47625 #ifdef HAVE_IEEEFP_H
47626 #include <ieeefp.h>
47627 #endif
47630 main ()
47632 expf(0);
47634 return 0;
47636 _ACEOF
47637 if ac_fn_cxx_try_compile "$LINENO"; then :
47638 glibcxx_cv_func_expf_use=yes
47639 else
47640 glibcxx_cv_func_expf_use=no
47642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47643 ac_ext=c
47644 ac_cpp='$CPP $CPPFLAGS'
47645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47654 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47656 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47657 for ac_func in expf
47658 do :
47659 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47660 if test "x$ac_cv_func_expf" = x""yes; then :
47661 cat >>confdefs.h <<_ACEOF
47662 #define HAVE_EXPF 1
47663 _ACEOF
47666 done
47668 else
47670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47671 $as_echo_n "checking for _expf declaration... " >&6; }
47672 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47673 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47674 $as_echo_n "(cached) " >&6
47675 else
47678 ac_ext=cpp
47679 ac_cpp='$CXXCPP $CPPFLAGS'
47680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47685 /* end confdefs.h. */
47686 #include <math.h>
47687 #ifdef HAVE_IEEEFP_H
47688 #include <ieeefp.h>
47689 #endif
47692 main ()
47694 _expf(0);
47696 return 0;
47698 _ACEOF
47699 if ac_fn_cxx_try_compile "$LINENO"; then :
47700 glibcxx_cv_func__expf_use=yes
47701 else
47702 glibcxx_cv_func__expf_use=no
47704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47705 ac_ext=c
47706 ac_cpp='$CPP $CPPFLAGS'
47707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47716 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47718 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47719 for ac_func in _expf
47720 do :
47721 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47722 if test "x$ac_cv_func__expf" = x""yes; then :
47723 cat >>confdefs.h <<_ACEOF
47724 #define HAVE__EXPF 1
47725 _ACEOF
47728 done
47737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47738 $as_echo_n "checking for isnanf declaration... " >&6; }
47739 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47740 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47741 $as_echo_n "(cached) " >&6
47742 else
47745 ac_ext=cpp
47746 ac_cpp='$CXXCPP $CPPFLAGS'
47747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47752 /* end confdefs.h. */
47753 #include <math.h>
47754 #ifdef HAVE_IEEEFP_H
47755 #include <ieeefp.h>
47756 #endif
47759 main ()
47761 isnanf(0);
47763 return 0;
47765 _ACEOF
47766 if ac_fn_cxx_try_compile "$LINENO"; then :
47767 glibcxx_cv_func_isnanf_use=yes
47768 else
47769 glibcxx_cv_func_isnanf_use=no
47771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47772 ac_ext=c
47773 ac_cpp='$CPP $CPPFLAGS'
47774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47783 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47785 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47786 for ac_func in isnanf
47787 do :
47788 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47789 if test "x$ac_cv_func_isnanf" = x""yes; then :
47790 cat >>confdefs.h <<_ACEOF
47791 #define HAVE_ISNANF 1
47792 _ACEOF
47795 done
47797 else
47799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47800 $as_echo_n "checking for _isnanf declaration... " >&6; }
47801 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47802 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47803 $as_echo_n "(cached) " >&6
47804 else
47807 ac_ext=cpp
47808 ac_cpp='$CXXCPP $CPPFLAGS'
47809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47814 /* end confdefs.h. */
47815 #include <math.h>
47816 #ifdef HAVE_IEEEFP_H
47817 #include <ieeefp.h>
47818 #endif
47821 main ()
47823 _isnanf(0);
47825 return 0;
47827 _ACEOF
47828 if ac_fn_cxx_try_compile "$LINENO"; then :
47829 glibcxx_cv_func__isnanf_use=yes
47830 else
47831 glibcxx_cv_func__isnanf_use=no
47833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47834 ac_ext=c
47835 ac_cpp='$CPP $CPPFLAGS'
47836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47845 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47847 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47848 for ac_func in _isnanf
47849 do :
47850 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47851 if test "x$ac_cv_func__isnanf" = x""yes; then :
47852 cat >>confdefs.h <<_ACEOF
47853 #define HAVE__ISNANF 1
47854 _ACEOF
47857 done
47866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47867 $as_echo_n "checking for isinff declaration... " >&6; }
47868 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47869 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47870 $as_echo_n "(cached) " >&6
47871 else
47874 ac_ext=cpp
47875 ac_cpp='$CXXCPP $CPPFLAGS'
47876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47881 /* end confdefs.h. */
47882 #include <math.h>
47883 #ifdef HAVE_IEEEFP_H
47884 #include <ieeefp.h>
47885 #endif
47888 main ()
47890 isinff(0);
47892 return 0;
47894 _ACEOF
47895 if ac_fn_cxx_try_compile "$LINENO"; then :
47896 glibcxx_cv_func_isinff_use=yes
47897 else
47898 glibcxx_cv_func_isinff_use=no
47900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47901 ac_ext=c
47902 ac_cpp='$CPP $CPPFLAGS'
47903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47912 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47914 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47915 for ac_func in isinff
47916 do :
47917 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47918 if test "x$ac_cv_func_isinff" = x""yes; then :
47919 cat >>confdefs.h <<_ACEOF
47920 #define HAVE_ISINFF 1
47921 _ACEOF
47924 done
47926 else
47928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47929 $as_echo_n "checking for _isinff declaration... " >&6; }
47930 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47931 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47932 $as_echo_n "(cached) " >&6
47933 else
47936 ac_ext=cpp
47937 ac_cpp='$CXXCPP $CPPFLAGS'
47938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47943 /* end confdefs.h. */
47944 #include <math.h>
47945 #ifdef HAVE_IEEEFP_H
47946 #include <ieeefp.h>
47947 #endif
47950 main ()
47952 _isinff(0);
47954 return 0;
47956 _ACEOF
47957 if ac_fn_cxx_try_compile "$LINENO"; then :
47958 glibcxx_cv_func__isinff_use=yes
47959 else
47960 glibcxx_cv_func__isinff_use=no
47962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47963 ac_ext=c
47964 ac_cpp='$CPP $CPPFLAGS'
47965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47974 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47976 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47977 for ac_func in _isinff
47978 do :
47979 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47980 if test "x$ac_cv_func__isinff" = x""yes; then :
47981 cat >>confdefs.h <<_ACEOF
47982 #define HAVE__ISINFF 1
47983 _ACEOF
47986 done
47995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47996 $as_echo_n "checking for atan2f declaration... " >&6; }
47997 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47998 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47999 $as_echo_n "(cached) " >&6
48000 else
48003 ac_ext=cpp
48004 ac_cpp='$CXXCPP $CPPFLAGS'
48005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48010 /* end confdefs.h. */
48011 #include <math.h>
48013 main ()
48015 atan2f(0, 0);
48017 return 0;
48019 _ACEOF
48020 if ac_fn_cxx_try_compile "$LINENO"; then :
48021 glibcxx_cv_func_atan2f_use=yes
48022 else
48023 glibcxx_cv_func_atan2f_use=no
48025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48026 ac_ext=c
48027 ac_cpp='$CPP $CPPFLAGS'
48028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48037 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48039 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48040 for ac_func in atan2f
48041 do :
48042 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48043 if test "x$ac_cv_func_atan2f" = x""yes; then :
48044 cat >>confdefs.h <<_ACEOF
48045 #define HAVE_ATAN2F 1
48046 _ACEOF
48049 done
48051 else
48053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48054 $as_echo_n "checking for _atan2f declaration... " >&6; }
48055 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48056 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48057 $as_echo_n "(cached) " >&6
48058 else
48061 ac_ext=cpp
48062 ac_cpp='$CXXCPP $CPPFLAGS'
48063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48068 /* end confdefs.h. */
48069 #include <math.h>
48071 main ()
48073 _atan2f(0, 0);
48075 return 0;
48077 _ACEOF
48078 if ac_fn_cxx_try_compile "$LINENO"; then :
48079 glibcxx_cv_func__atan2f_use=yes
48080 else
48081 glibcxx_cv_func__atan2f_use=no
48083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48084 ac_ext=c
48085 ac_cpp='$CPP $CPPFLAGS'
48086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48095 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48097 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48098 for ac_func in _atan2f
48099 do :
48100 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48101 if test "x$ac_cv_func__atan2f" = x""yes; then :
48102 cat >>confdefs.h <<_ACEOF
48103 #define HAVE__ATAN2F 1
48104 _ACEOF
48107 done
48116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48117 $as_echo_n "checking for fabsf declaration... " >&6; }
48118 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48119 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48120 $as_echo_n "(cached) " >&6
48121 else
48124 ac_ext=cpp
48125 ac_cpp='$CXXCPP $CPPFLAGS'
48126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48131 /* end confdefs.h. */
48132 #include <math.h>
48133 #ifdef HAVE_IEEEFP_H
48134 #include <ieeefp.h>
48135 #endif
48138 main ()
48140 fabsf(0);
48142 return 0;
48144 _ACEOF
48145 if ac_fn_cxx_try_compile "$LINENO"; then :
48146 glibcxx_cv_func_fabsf_use=yes
48147 else
48148 glibcxx_cv_func_fabsf_use=no
48150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48151 ac_ext=c
48152 ac_cpp='$CPP $CPPFLAGS'
48153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48162 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48164 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48165 for ac_func in fabsf
48166 do :
48167 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48168 if test "x$ac_cv_func_fabsf" = x""yes; then :
48169 cat >>confdefs.h <<_ACEOF
48170 #define HAVE_FABSF 1
48171 _ACEOF
48174 done
48176 else
48178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48179 $as_echo_n "checking for _fabsf declaration... " >&6; }
48180 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48181 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48182 $as_echo_n "(cached) " >&6
48183 else
48186 ac_ext=cpp
48187 ac_cpp='$CXXCPP $CPPFLAGS'
48188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48193 /* end confdefs.h. */
48194 #include <math.h>
48195 #ifdef HAVE_IEEEFP_H
48196 #include <ieeefp.h>
48197 #endif
48200 main ()
48202 _fabsf(0);
48204 return 0;
48206 _ACEOF
48207 if ac_fn_cxx_try_compile "$LINENO"; then :
48208 glibcxx_cv_func__fabsf_use=yes
48209 else
48210 glibcxx_cv_func__fabsf_use=no
48212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48213 ac_ext=c
48214 ac_cpp='$CPP $CPPFLAGS'
48215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48224 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48226 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48227 for ac_func in _fabsf
48228 do :
48229 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48230 if test "x$ac_cv_func__fabsf" = x""yes; then :
48231 cat >>confdefs.h <<_ACEOF
48232 #define HAVE__FABSF 1
48233 _ACEOF
48236 done
48245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48246 $as_echo_n "checking for fmodf declaration... " >&6; }
48247 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48248 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48249 $as_echo_n "(cached) " >&6
48250 else
48253 ac_ext=cpp
48254 ac_cpp='$CXXCPP $CPPFLAGS'
48255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48260 /* end confdefs.h. */
48261 #include <math.h>
48263 main ()
48265 fmodf(0, 0);
48267 return 0;
48269 _ACEOF
48270 if ac_fn_cxx_try_compile "$LINENO"; then :
48271 glibcxx_cv_func_fmodf_use=yes
48272 else
48273 glibcxx_cv_func_fmodf_use=no
48275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48276 ac_ext=c
48277 ac_cpp='$CPP $CPPFLAGS'
48278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48287 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48289 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48290 for ac_func in fmodf
48291 do :
48292 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48293 if test "x$ac_cv_func_fmodf" = x""yes; then :
48294 cat >>confdefs.h <<_ACEOF
48295 #define HAVE_FMODF 1
48296 _ACEOF
48299 done
48301 else
48303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48304 $as_echo_n "checking for _fmodf declaration... " >&6; }
48305 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48306 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48307 $as_echo_n "(cached) " >&6
48308 else
48311 ac_ext=cpp
48312 ac_cpp='$CXXCPP $CPPFLAGS'
48313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48318 /* end confdefs.h. */
48319 #include <math.h>
48321 main ()
48323 _fmodf(0, 0);
48325 return 0;
48327 _ACEOF
48328 if ac_fn_cxx_try_compile "$LINENO"; then :
48329 glibcxx_cv_func__fmodf_use=yes
48330 else
48331 glibcxx_cv_func__fmodf_use=no
48333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48334 ac_ext=c
48335 ac_cpp='$CPP $CPPFLAGS'
48336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48345 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48347 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48348 for ac_func in _fmodf
48349 do :
48350 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48351 if test "x$ac_cv_func__fmodf" = x""yes; then :
48352 cat >>confdefs.h <<_ACEOF
48353 #define HAVE__FMODF 1
48354 _ACEOF
48357 done
48366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48367 $as_echo_n "checking for frexpf declaration... " >&6; }
48368 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48369 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48370 $as_echo_n "(cached) " >&6
48371 else
48374 ac_ext=cpp
48375 ac_cpp='$CXXCPP $CPPFLAGS'
48376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48381 /* end confdefs.h. */
48382 #include <math.h>
48384 main ()
48386 frexpf(0, 0);
48388 return 0;
48390 _ACEOF
48391 if ac_fn_cxx_try_compile "$LINENO"; then :
48392 glibcxx_cv_func_frexpf_use=yes
48393 else
48394 glibcxx_cv_func_frexpf_use=no
48396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48397 ac_ext=c
48398 ac_cpp='$CPP $CPPFLAGS'
48399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48408 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48410 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48411 for ac_func in frexpf
48412 do :
48413 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48414 if test "x$ac_cv_func_frexpf" = x""yes; then :
48415 cat >>confdefs.h <<_ACEOF
48416 #define HAVE_FREXPF 1
48417 _ACEOF
48420 done
48422 else
48424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48425 $as_echo_n "checking for _frexpf declaration... " >&6; }
48426 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48427 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48428 $as_echo_n "(cached) " >&6
48429 else
48432 ac_ext=cpp
48433 ac_cpp='$CXXCPP $CPPFLAGS'
48434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48439 /* end confdefs.h. */
48440 #include <math.h>
48442 main ()
48444 _frexpf(0, 0);
48446 return 0;
48448 _ACEOF
48449 if ac_fn_cxx_try_compile "$LINENO"; then :
48450 glibcxx_cv_func__frexpf_use=yes
48451 else
48452 glibcxx_cv_func__frexpf_use=no
48454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48455 ac_ext=c
48456 ac_cpp='$CPP $CPPFLAGS'
48457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48466 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48468 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48469 for ac_func in _frexpf
48470 do :
48471 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48472 if test "x$ac_cv_func__frexpf" = x""yes; then :
48473 cat >>confdefs.h <<_ACEOF
48474 #define HAVE__FREXPF 1
48475 _ACEOF
48478 done
48487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48488 $as_echo_n "checking for hypotf declaration... " >&6; }
48489 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48490 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48491 $as_echo_n "(cached) " >&6
48492 else
48495 ac_ext=cpp
48496 ac_cpp='$CXXCPP $CPPFLAGS'
48497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48502 /* end confdefs.h. */
48503 #include <math.h>
48505 main ()
48507 hypotf(0, 0);
48509 return 0;
48511 _ACEOF
48512 if ac_fn_cxx_try_compile "$LINENO"; then :
48513 glibcxx_cv_func_hypotf_use=yes
48514 else
48515 glibcxx_cv_func_hypotf_use=no
48517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48518 ac_ext=c
48519 ac_cpp='$CPP $CPPFLAGS'
48520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48529 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48531 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48532 for ac_func in hypotf
48533 do :
48534 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48535 if test "x$ac_cv_func_hypotf" = x""yes; then :
48536 cat >>confdefs.h <<_ACEOF
48537 #define HAVE_HYPOTF 1
48538 _ACEOF
48541 done
48543 else
48545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48546 $as_echo_n "checking for _hypotf declaration... " >&6; }
48547 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48548 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48549 $as_echo_n "(cached) " >&6
48550 else
48553 ac_ext=cpp
48554 ac_cpp='$CXXCPP $CPPFLAGS'
48555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48560 /* end confdefs.h. */
48561 #include <math.h>
48563 main ()
48565 _hypotf(0, 0);
48567 return 0;
48569 _ACEOF
48570 if ac_fn_cxx_try_compile "$LINENO"; then :
48571 glibcxx_cv_func__hypotf_use=yes
48572 else
48573 glibcxx_cv_func__hypotf_use=no
48575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48576 ac_ext=c
48577 ac_cpp='$CPP $CPPFLAGS'
48578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48587 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48589 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48590 for ac_func in _hypotf
48591 do :
48592 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48593 if test "x$ac_cv_func__hypotf" = x""yes; then :
48594 cat >>confdefs.h <<_ACEOF
48595 #define HAVE__HYPOTF 1
48596 _ACEOF
48599 done
48608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48609 $as_echo_n "checking for ldexpf declaration... " >&6; }
48610 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48611 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48612 $as_echo_n "(cached) " >&6
48613 else
48616 ac_ext=cpp
48617 ac_cpp='$CXXCPP $CPPFLAGS'
48618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48623 /* end confdefs.h. */
48624 #include <math.h>
48626 main ()
48628 ldexpf(0, 0);
48630 return 0;
48632 _ACEOF
48633 if ac_fn_cxx_try_compile "$LINENO"; then :
48634 glibcxx_cv_func_ldexpf_use=yes
48635 else
48636 glibcxx_cv_func_ldexpf_use=no
48638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48639 ac_ext=c
48640 ac_cpp='$CPP $CPPFLAGS'
48641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48650 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48652 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48653 for ac_func in ldexpf
48654 do :
48655 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48656 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48657 cat >>confdefs.h <<_ACEOF
48658 #define HAVE_LDEXPF 1
48659 _ACEOF
48662 done
48664 else
48666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48667 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48668 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48669 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48670 $as_echo_n "(cached) " >&6
48671 else
48674 ac_ext=cpp
48675 ac_cpp='$CXXCPP $CPPFLAGS'
48676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48681 /* end confdefs.h. */
48682 #include <math.h>
48684 main ()
48686 _ldexpf(0, 0);
48688 return 0;
48690 _ACEOF
48691 if ac_fn_cxx_try_compile "$LINENO"; then :
48692 glibcxx_cv_func__ldexpf_use=yes
48693 else
48694 glibcxx_cv_func__ldexpf_use=no
48696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48697 ac_ext=c
48698 ac_cpp='$CPP $CPPFLAGS'
48699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48708 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48710 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48711 for ac_func in _ldexpf
48712 do :
48713 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48714 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48715 cat >>confdefs.h <<_ACEOF
48716 #define HAVE__LDEXPF 1
48717 _ACEOF
48720 done
48729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48730 $as_echo_n "checking for logf declaration... " >&6; }
48731 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48732 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48733 $as_echo_n "(cached) " >&6
48734 else
48737 ac_ext=cpp
48738 ac_cpp='$CXXCPP $CPPFLAGS'
48739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48744 /* end confdefs.h. */
48745 #include <math.h>
48746 #ifdef HAVE_IEEEFP_H
48747 #include <ieeefp.h>
48748 #endif
48751 main ()
48753 logf(0);
48755 return 0;
48757 _ACEOF
48758 if ac_fn_cxx_try_compile "$LINENO"; then :
48759 glibcxx_cv_func_logf_use=yes
48760 else
48761 glibcxx_cv_func_logf_use=no
48763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48764 ac_ext=c
48765 ac_cpp='$CPP $CPPFLAGS'
48766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48775 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48777 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48778 for ac_func in logf
48779 do :
48780 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48781 if test "x$ac_cv_func_logf" = x""yes; then :
48782 cat >>confdefs.h <<_ACEOF
48783 #define HAVE_LOGF 1
48784 _ACEOF
48787 done
48789 else
48791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48792 $as_echo_n "checking for _logf declaration... " >&6; }
48793 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48794 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48795 $as_echo_n "(cached) " >&6
48796 else
48799 ac_ext=cpp
48800 ac_cpp='$CXXCPP $CPPFLAGS'
48801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48806 /* end confdefs.h. */
48807 #include <math.h>
48808 #ifdef HAVE_IEEEFP_H
48809 #include <ieeefp.h>
48810 #endif
48813 main ()
48815 _logf(0);
48817 return 0;
48819 _ACEOF
48820 if ac_fn_cxx_try_compile "$LINENO"; then :
48821 glibcxx_cv_func__logf_use=yes
48822 else
48823 glibcxx_cv_func__logf_use=no
48825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48826 ac_ext=c
48827 ac_cpp='$CPP $CPPFLAGS'
48828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48837 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48839 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48840 for ac_func in _logf
48841 do :
48842 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48843 if test "x$ac_cv_func__logf" = x""yes; then :
48844 cat >>confdefs.h <<_ACEOF
48845 #define HAVE__LOGF 1
48846 _ACEOF
48849 done
48858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48859 $as_echo_n "checking for log10f declaration... " >&6; }
48860 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48861 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48862 $as_echo_n "(cached) " >&6
48863 else
48866 ac_ext=cpp
48867 ac_cpp='$CXXCPP $CPPFLAGS'
48868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48873 /* end confdefs.h. */
48874 #include <math.h>
48875 #ifdef HAVE_IEEEFP_H
48876 #include <ieeefp.h>
48877 #endif
48880 main ()
48882 log10f(0);
48884 return 0;
48886 _ACEOF
48887 if ac_fn_cxx_try_compile "$LINENO"; then :
48888 glibcxx_cv_func_log10f_use=yes
48889 else
48890 glibcxx_cv_func_log10f_use=no
48892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48893 ac_ext=c
48894 ac_cpp='$CPP $CPPFLAGS'
48895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48904 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48906 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48907 for ac_func in log10f
48908 do :
48909 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48910 if test "x$ac_cv_func_log10f" = x""yes; then :
48911 cat >>confdefs.h <<_ACEOF
48912 #define HAVE_LOG10F 1
48913 _ACEOF
48916 done
48918 else
48920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48921 $as_echo_n "checking for _log10f declaration... " >&6; }
48922 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48923 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48924 $as_echo_n "(cached) " >&6
48925 else
48928 ac_ext=cpp
48929 ac_cpp='$CXXCPP $CPPFLAGS'
48930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48935 /* end confdefs.h. */
48936 #include <math.h>
48937 #ifdef HAVE_IEEEFP_H
48938 #include <ieeefp.h>
48939 #endif
48942 main ()
48944 _log10f(0);
48946 return 0;
48948 _ACEOF
48949 if ac_fn_cxx_try_compile "$LINENO"; then :
48950 glibcxx_cv_func__log10f_use=yes
48951 else
48952 glibcxx_cv_func__log10f_use=no
48954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48955 ac_ext=c
48956 ac_cpp='$CPP $CPPFLAGS'
48957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48966 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48968 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48969 for ac_func in _log10f
48970 do :
48971 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48972 if test "x$ac_cv_func__log10f" = x""yes; then :
48973 cat >>confdefs.h <<_ACEOF
48974 #define HAVE__LOG10F 1
48975 _ACEOF
48978 done
48987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48988 $as_echo_n "checking for modff declaration... " >&6; }
48989 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48990 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48991 $as_echo_n "(cached) " >&6
48992 else
48995 ac_ext=cpp
48996 ac_cpp='$CXXCPP $CPPFLAGS'
48997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49002 /* end confdefs.h. */
49003 #include <math.h>
49005 main ()
49007 modff(0, 0);
49009 return 0;
49011 _ACEOF
49012 if ac_fn_cxx_try_compile "$LINENO"; then :
49013 glibcxx_cv_func_modff_use=yes
49014 else
49015 glibcxx_cv_func_modff_use=no
49017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49018 ac_ext=c
49019 ac_cpp='$CPP $CPPFLAGS'
49020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49029 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49031 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49032 for ac_func in modff
49033 do :
49034 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49035 if test "x$ac_cv_func_modff" = x""yes; then :
49036 cat >>confdefs.h <<_ACEOF
49037 #define HAVE_MODFF 1
49038 _ACEOF
49041 done
49043 else
49045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49046 $as_echo_n "checking for _modff declaration... " >&6; }
49047 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49048 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49049 $as_echo_n "(cached) " >&6
49050 else
49053 ac_ext=cpp
49054 ac_cpp='$CXXCPP $CPPFLAGS'
49055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49060 /* end confdefs.h. */
49061 #include <math.h>
49063 main ()
49065 _modff(0, 0);
49067 return 0;
49069 _ACEOF
49070 if ac_fn_cxx_try_compile "$LINENO"; then :
49071 glibcxx_cv_func__modff_use=yes
49072 else
49073 glibcxx_cv_func__modff_use=no
49075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49076 ac_ext=c
49077 ac_cpp='$CPP $CPPFLAGS'
49078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49087 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49089 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49090 for ac_func in _modff
49091 do :
49092 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49093 if test "x$ac_cv_func__modff" = x""yes; then :
49094 cat >>confdefs.h <<_ACEOF
49095 #define HAVE__MODFF 1
49096 _ACEOF
49099 done
49108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49109 $as_echo_n "checking for modf declaration... " >&6; }
49110 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49111 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49112 $as_echo_n "(cached) " >&6
49113 else
49116 ac_ext=cpp
49117 ac_cpp='$CXXCPP $CPPFLAGS'
49118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49123 /* end confdefs.h. */
49124 #include <math.h>
49126 main ()
49128 modf(0, 0);
49130 return 0;
49132 _ACEOF
49133 if ac_fn_cxx_try_compile "$LINENO"; then :
49134 glibcxx_cv_func_modf_use=yes
49135 else
49136 glibcxx_cv_func_modf_use=no
49138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49139 ac_ext=c
49140 ac_cpp='$CPP $CPPFLAGS'
49141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49150 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49152 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49153 for ac_func in modf
49154 do :
49155 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49156 if test "x$ac_cv_func_modf" = x""yes; then :
49157 cat >>confdefs.h <<_ACEOF
49158 #define HAVE_MODF 1
49159 _ACEOF
49162 done
49164 else
49166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49167 $as_echo_n "checking for _modf declaration... " >&6; }
49168 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49169 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49170 $as_echo_n "(cached) " >&6
49171 else
49174 ac_ext=cpp
49175 ac_cpp='$CXXCPP $CPPFLAGS'
49176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49181 /* end confdefs.h. */
49182 #include <math.h>
49184 main ()
49186 _modf(0, 0);
49188 return 0;
49190 _ACEOF
49191 if ac_fn_cxx_try_compile "$LINENO"; then :
49192 glibcxx_cv_func__modf_use=yes
49193 else
49194 glibcxx_cv_func__modf_use=no
49196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49197 ac_ext=c
49198 ac_cpp='$CPP $CPPFLAGS'
49199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49208 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49210 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49211 for ac_func in _modf
49212 do :
49213 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49214 if test "x$ac_cv_func__modf" = x""yes; then :
49215 cat >>confdefs.h <<_ACEOF
49216 #define HAVE__MODF 1
49217 _ACEOF
49220 done
49229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49230 $as_echo_n "checking for powf declaration... " >&6; }
49231 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49232 if test "${glibcxx_cv_func_powf_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>
49247 main ()
49249 powf(0, 0);
49251 return 0;
49253 _ACEOF
49254 if ac_fn_cxx_try_compile "$LINENO"; then :
49255 glibcxx_cv_func_powf_use=yes
49256 else
49257 glibcxx_cv_func_powf_use=no
49259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49260 ac_ext=c
49261 ac_cpp='$CPP $CPPFLAGS'
49262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49271 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49273 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49274 for ac_func in powf
49275 do :
49276 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49277 if test "x$ac_cv_func_powf" = x""yes; then :
49278 cat >>confdefs.h <<_ACEOF
49279 #define HAVE_POWF 1
49280 _ACEOF
49283 done
49285 else
49287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49288 $as_echo_n "checking for _powf declaration... " >&6; }
49289 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49290 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49291 $as_echo_n "(cached) " >&6
49292 else
49295 ac_ext=cpp
49296 ac_cpp='$CXXCPP $CPPFLAGS'
49297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49302 /* end confdefs.h. */
49303 #include <math.h>
49305 main ()
49307 _powf(0, 0);
49309 return 0;
49311 _ACEOF
49312 if ac_fn_cxx_try_compile "$LINENO"; then :
49313 glibcxx_cv_func__powf_use=yes
49314 else
49315 glibcxx_cv_func__powf_use=no
49317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49318 ac_ext=c
49319 ac_cpp='$CPP $CPPFLAGS'
49320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49329 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49331 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49332 for ac_func in _powf
49333 do :
49334 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49335 if test "x$ac_cv_func__powf" = x""yes; then :
49336 cat >>confdefs.h <<_ACEOF
49337 #define HAVE__POWF 1
49338 _ACEOF
49341 done
49350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49351 $as_echo_n "checking for sqrtf declaration... " >&6; }
49352 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49353 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49354 $as_echo_n "(cached) " >&6
49355 else
49358 ac_ext=cpp
49359 ac_cpp='$CXXCPP $CPPFLAGS'
49360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49365 /* end confdefs.h. */
49366 #include <math.h>
49367 #ifdef HAVE_IEEEFP_H
49368 #include <ieeefp.h>
49369 #endif
49372 main ()
49374 sqrtf(0);
49376 return 0;
49378 _ACEOF
49379 if ac_fn_cxx_try_compile "$LINENO"; then :
49380 glibcxx_cv_func_sqrtf_use=yes
49381 else
49382 glibcxx_cv_func_sqrtf_use=no
49384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49385 ac_ext=c
49386 ac_cpp='$CPP $CPPFLAGS'
49387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49396 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49398 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49399 for ac_func in sqrtf
49400 do :
49401 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49402 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49403 cat >>confdefs.h <<_ACEOF
49404 #define HAVE_SQRTF 1
49405 _ACEOF
49408 done
49410 else
49412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49413 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49414 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49415 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49416 $as_echo_n "(cached) " >&6
49417 else
49420 ac_ext=cpp
49421 ac_cpp='$CXXCPP $CPPFLAGS'
49422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49427 /* end confdefs.h. */
49428 #include <math.h>
49429 #ifdef HAVE_IEEEFP_H
49430 #include <ieeefp.h>
49431 #endif
49434 main ()
49436 _sqrtf(0);
49438 return 0;
49440 _ACEOF
49441 if ac_fn_cxx_try_compile "$LINENO"; then :
49442 glibcxx_cv_func__sqrtf_use=yes
49443 else
49444 glibcxx_cv_func__sqrtf_use=no
49446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49447 ac_ext=c
49448 ac_cpp='$CPP $CPPFLAGS'
49449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49458 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49460 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49461 for ac_func in _sqrtf
49462 do :
49463 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49464 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49465 cat >>confdefs.h <<_ACEOF
49466 #define HAVE__SQRTF 1
49467 _ACEOF
49470 done
49479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49480 $as_echo_n "checking for sincosf declaration... " >&6; }
49481 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49482 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49483 $as_echo_n "(cached) " >&6
49484 else
49487 ac_ext=cpp
49488 ac_cpp='$CXXCPP $CPPFLAGS'
49489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49494 /* end confdefs.h. */
49495 #include <math.h>
49497 main ()
49499 sincosf(0, 0, 0);
49501 return 0;
49503 _ACEOF
49504 if ac_fn_cxx_try_compile "$LINENO"; then :
49505 glibcxx_cv_func_sincosf_use=yes
49506 else
49507 glibcxx_cv_func_sincosf_use=no
49509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49510 ac_ext=c
49511 ac_cpp='$CPP $CPPFLAGS'
49512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49521 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49523 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49524 for ac_func in sincosf
49525 do :
49526 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49527 if test "x$ac_cv_func_sincosf" = x""yes; then :
49528 cat >>confdefs.h <<_ACEOF
49529 #define HAVE_SINCOSF 1
49530 _ACEOF
49533 done
49535 else
49537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49538 $as_echo_n "checking for _sincosf declaration... " >&6; }
49539 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49540 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49541 $as_echo_n "(cached) " >&6
49542 else
49545 ac_ext=cpp
49546 ac_cpp='$CXXCPP $CPPFLAGS'
49547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49552 /* end confdefs.h. */
49553 #include <math.h>
49555 main ()
49557 _sincosf(0, 0, 0);
49559 return 0;
49561 _ACEOF
49562 if ac_fn_cxx_try_compile "$LINENO"; then :
49563 glibcxx_cv_func__sincosf_use=yes
49564 else
49565 glibcxx_cv_func__sincosf_use=no
49567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49568 ac_ext=c
49569 ac_cpp='$CPP $CPPFLAGS'
49570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49579 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49581 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49582 for ac_func in _sincosf
49583 do :
49584 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49585 if test "x$ac_cv_func__sincosf" = x""yes; then :
49586 cat >>confdefs.h <<_ACEOF
49587 #define HAVE__SINCOSF 1
49588 _ACEOF
49591 done
49600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49601 $as_echo_n "checking for finitef declaration... " >&6; }
49602 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49603 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49604 $as_echo_n "(cached) " >&6
49605 else
49608 ac_ext=cpp
49609 ac_cpp='$CXXCPP $CPPFLAGS'
49610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49615 /* end confdefs.h. */
49616 #include <math.h>
49617 #ifdef HAVE_IEEEFP_H
49618 #include <ieeefp.h>
49619 #endif
49622 main ()
49624 finitef(0);
49626 return 0;
49628 _ACEOF
49629 if ac_fn_cxx_try_compile "$LINENO"; then :
49630 glibcxx_cv_func_finitef_use=yes
49631 else
49632 glibcxx_cv_func_finitef_use=no
49634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49635 ac_ext=c
49636 ac_cpp='$CPP $CPPFLAGS'
49637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49646 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49648 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49649 for ac_func in finitef
49650 do :
49651 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49652 if test "x$ac_cv_func_finitef" = x""yes; then :
49653 cat >>confdefs.h <<_ACEOF
49654 #define HAVE_FINITEF 1
49655 _ACEOF
49658 done
49660 else
49662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49663 $as_echo_n "checking for _finitef declaration... " >&6; }
49664 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49665 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49666 $as_echo_n "(cached) " >&6
49667 else
49670 ac_ext=cpp
49671 ac_cpp='$CXXCPP $CPPFLAGS'
49672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49677 /* end confdefs.h. */
49678 #include <math.h>
49679 #ifdef HAVE_IEEEFP_H
49680 #include <ieeefp.h>
49681 #endif
49684 main ()
49686 _finitef(0);
49688 return 0;
49690 _ACEOF
49691 if ac_fn_cxx_try_compile "$LINENO"; then :
49692 glibcxx_cv_func__finitef_use=yes
49693 else
49694 glibcxx_cv_func__finitef_use=no
49696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49697 ac_ext=c
49698 ac_cpp='$CPP $CPPFLAGS'
49699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49708 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49710 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49711 for ac_func in _finitef
49712 do :
49713 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49714 if test "x$ac_cv_func__finitef" = x""yes; then :
49715 cat >>confdefs.h <<_ACEOF
49716 #define HAVE__FINITEF 1
49717 _ACEOF
49720 done
49729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49730 $as_echo_n "checking for long double trig functions... " >&6; }
49731 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49732 $as_echo_n "(cached) " >&6
49733 else
49736 ac_ext=cpp
49737 ac_cpp='$CXXCPP $CPPFLAGS'
49738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49743 /* end confdefs.h. */
49744 #include <math.h>
49746 main ()
49748 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49750 return 0;
49752 _ACEOF
49753 if ac_fn_cxx_try_compile "$LINENO"; then :
49754 glibcxx_cv_func_long_double_trig_use=yes
49755 else
49756 glibcxx_cv_func_long_double_trig_use=no
49758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49759 ac_ext=c
49760 ac_cpp='$CPP $CPPFLAGS'
49761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49768 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49769 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49770 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49771 do :
49772 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49773 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49774 eval as_val=\$$as_ac_var
49775 if test "x$as_val" = x""yes; then :
49776 cat >>confdefs.h <<_ACEOF
49777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49778 _ACEOF
49781 done
49783 else
49784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49785 $as_echo_n "checking for _long double trig functions... " >&6; }
49786 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49787 $as_echo_n "(cached) " >&6
49788 else
49791 ac_ext=cpp
49792 ac_cpp='$CXXCPP $CPPFLAGS'
49793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49798 /* end confdefs.h. */
49799 #include <math.h>
49801 main ()
49803 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49805 return 0;
49807 _ACEOF
49808 if ac_fn_cxx_try_compile "$LINENO"; then :
49809 glibcxx_cv_func__long_double_trig_use=yes
49810 else
49811 glibcxx_cv_func__long_double_trig_use=no
49813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49814 ac_ext=c
49815 ac_cpp='$CPP $CPPFLAGS'
49816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49823 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49824 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49825 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49826 do :
49827 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49828 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49829 eval as_val=\$$as_ac_var
49830 if test "x$as_val" = x""yes; then :
49831 cat >>confdefs.h <<_ACEOF
49832 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49833 _ACEOF
49836 done
49845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49846 $as_echo_n "checking for long double round functions... " >&6; }
49847 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49848 $as_echo_n "(cached) " >&6
49849 else
49852 ac_ext=cpp
49853 ac_cpp='$CXXCPP $CPPFLAGS'
49854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49859 /* end confdefs.h. */
49860 #include <math.h>
49862 main ()
49864 ceill (0); floorl (0);
49866 return 0;
49868 _ACEOF
49869 if ac_fn_cxx_try_compile "$LINENO"; then :
49870 glibcxx_cv_func_long_double_round_use=yes
49871 else
49872 glibcxx_cv_func_long_double_round_use=no
49874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49875 ac_ext=c
49876 ac_cpp='$CPP $CPPFLAGS'
49877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49884 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49885 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49886 for ac_func in ceill floorl
49887 do :
49888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49890 eval as_val=\$$as_ac_var
49891 if test "x$as_val" = x""yes; then :
49892 cat >>confdefs.h <<_ACEOF
49893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49894 _ACEOF
49897 done
49899 else
49900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49901 $as_echo_n "checking for _long double round functions... " >&6; }
49902 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49903 $as_echo_n "(cached) " >&6
49904 else
49907 ac_ext=cpp
49908 ac_cpp='$CXXCPP $CPPFLAGS'
49909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49914 /* end confdefs.h. */
49915 #include <math.h>
49917 main ()
49919 _ceill (0); _floorl (0);
49921 return 0;
49923 _ACEOF
49924 if ac_fn_cxx_try_compile "$LINENO"; then :
49925 glibcxx_cv_func__long_double_round_use=yes
49926 else
49927 glibcxx_cv_func__long_double_round_use=no
49929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49930 ac_ext=c
49931 ac_cpp='$CPP $CPPFLAGS'
49932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49939 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49940 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49941 for ac_func in _ceill _floorl
49942 do :
49943 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49944 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49945 eval as_val=\$$as_ac_var
49946 if test "x$as_val" = x""yes; then :
49947 cat >>confdefs.h <<_ACEOF
49948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49949 _ACEOF
49952 done
49962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49963 $as_echo_n "checking for isnanl declaration... " >&6; }
49964 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49965 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49966 $as_echo_n "(cached) " >&6
49967 else
49970 ac_ext=cpp
49971 ac_cpp='$CXXCPP $CPPFLAGS'
49972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49977 /* end confdefs.h. */
49978 #include <math.h>
49979 #ifdef HAVE_IEEEFP_H
49980 #include <ieeefp.h>
49981 #endif
49984 main ()
49986 isnanl(0);
49988 return 0;
49990 _ACEOF
49991 if ac_fn_cxx_try_compile "$LINENO"; then :
49992 glibcxx_cv_func_isnanl_use=yes
49993 else
49994 glibcxx_cv_func_isnanl_use=no
49996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49997 ac_ext=c
49998 ac_cpp='$CPP $CPPFLAGS'
49999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50008 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50010 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50011 for ac_func in isnanl
50012 do :
50013 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50014 if test "x$ac_cv_func_isnanl" = x""yes; then :
50015 cat >>confdefs.h <<_ACEOF
50016 #define HAVE_ISNANL 1
50017 _ACEOF
50020 done
50022 else
50024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50025 $as_echo_n "checking for _isnanl declaration... " >&6; }
50026 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50027 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50028 $as_echo_n "(cached) " >&6
50029 else
50032 ac_ext=cpp
50033 ac_cpp='$CXXCPP $CPPFLAGS'
50034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50039 /* end confdefs.h. */
50040 #include <math.h>
50041 #ifdef HAVE_IEEEFP_H
50042 #include <ieeefp.h>
50043 #endif
50046 main ()
50048 _isnanl(0);
50050 return 0;
50052 _ACEOF
50053 if ac_fn_cxx_try_compile "$LINENO"; then :
50054 glibcxx_cv_func__isnanl_use=yes
50055 else
50056 glibcxx_cv_func__isnanl_use=no
50058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50059 ac_ext=c
50060 ac_cpp='$CPP $CPPFLAGS'
50061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50070 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50072 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50073 for ac_func in _isnanl
50074 do :
50075 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50076 if test "x$ac_cv_func__isnanl" = x""yes; then :
50077 cat >>confdefs.h <<_ACEOF
50078 #define HAVE__ISNANL 1
50079 _ACEOF
50082 done
50091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50092 $as_echo_n "checking for isinfl declaration... " >&6; }
50093 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50094 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50095 $as_echo_n "(cached) " >&6
50096 else
50099 ac_ext=cpp
50100 ac_cpp='$CXXCPP $CPPFLAGS'
50101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50106 /* end confdefs.h. */
50107 #include <math.h>
50108 #ifdef HAVE_IEEEFP_H
50109 #include <ieeefp.h>
50110 #endif
50113 main ()
50115 isinfl(0);
50117 return 0;
50119 _ACEOF
50120 if ac_fn_cxx_try_compile "$LINENO"; then :
50121 glibcxx_cv_func_isinfl_use=yes
50122 else
50123 glibcxx_cv_func_isinfl_use=no
50125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50126 ac_ext=c
50127 ac_cpp='$CPP $CPPFLAGS'
50128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50137 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50139 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50140 for ac_func in isinfl
50141 do :
50142 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50143 if test "x$ac_cv_func_isinfl" = x""yes; then :
50144 cat >>confdefs.h <<_ACEOF
50145 #define HAVE_ISINFL 1
50146 _ACEOF
50149 done
50151 else
50153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50154 $as_echo_n "checking for _isinfl declaration... " >&6; }
50155 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50156 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50157 $as_echo_n "(cached) " >&6
50158 else
50161 ac_ext=cpp
50162 ac_cpp='$CXXCPP $CPPFLAGS'
50163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50168 /* end confdefs.h. */
50169 #include <math.h>
50170 #ifdef HAVE_IEEEFP_H
50171 #include <ieeefp.h>
50172 #endif
50175 main ()
50177 _isinfl(0);
50179 return 0;
50181 _ACEOF
50182 if ac_fn_cxx_try_compile "$LINENO"; then :
50183 glibcxx_cv_func__isinfl_use=yes
50184 else
50185 glibcxx_cv_func__isinfl_use=no
50187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50188 ac_ext=c
50189 ac_cpp='$CPP $CPPFLAGS'
50190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50199 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50201 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50202 for ac_func in _isinfl
50203 do :
50204 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50205 if test "x$ac_cv_func__isinfl" = x""yes; then :
50206 cat >>confdefs.h <<_ACEOF
50207 #define HAVE__ISINFL 1
50208 _ACEOF
50211 done
50220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50221 $as_echo_n "checking for atan2l declaration... " >&6; }
50222 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50223 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50224 $as_echo_n "(cached) " >&6
50225 else
50228 ac_ext=cpp
50229 ac_cpp='$CXXCPP $CPPFLAGS'
50230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50235 /* end confdefs.h. */
50236 #include <math.h>
50238 main ()
50240 atan2l(0, 0);
50242 return 0;
50244 _ACEOF
50245 if ac_fn_cxx_try_compile "$LINENO"; then :
50246 glibcxx_cv_func_atan2l_use=yes
50247 else
50248 glibcxx_cv_func_atan2l_use=no
50250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50251 ac_ext=c
50252 ac_cpp='$CPP $CPPFLAGS'
50253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50262 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50264 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50265 for ac_func in atan2l
50266 do :
50267 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50268 if test "x$ac_cv_func_atan2l" = x""yes; then :
50269 cat >>confdefs.h <<_ACEOF
50270 #define HAVE_ATAN2L 1
50271 _ACEOF
50274 done
50276 else
50278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50279 $as_echo_n "checking for _atan2l declaration... " >&6; }
50280 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50281 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50282 $as_echo_n "(cached) " >&6
50283 else
50286 ac_ext=cpp
50287 ac_cpp='$CXXCPP $CPPFLAGS'
50288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50293 /* end confdefs.h. */
50294 #include <math.h>
50296 main ()
50298 _atan2l(0, 0);
50300 return 0;
50302 _ACEOF
50303 if ac_fn_cxx_try_compile "$LINENO"; then :
50304 glibcxx_cv_func__atan2l_use=yes
50305 else
50306 glibcxx_cv_func__atan2l_use=no
50308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50309 ac_ext=c
50310 ac_cpp='$CPP $CPPFLAGS'
50311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50320 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50322 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50323 for ac_func in _atan2l
50324 do :
50325 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50326 if test "x$ac_cv_func__atan2l" = x""yes; then :
50327 cat >>confdefs.h <<_ACEOF
50328 #define HAVE__ATAN2L 1
50329 _ACEOF
50332 done
50341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50342 $as_echo_n "checking for expl declaration... " >&6; }
50343 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50344 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50345 $as_echo_n "(cached) " >&6
50346 else
50349 ac_ext=cpp
50350 ac_cpp='$CXXCPP $CPPFLAGS'
50351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50356 /* end confdefs.h. */
50357 #include <math.h>
50358 #ifdef HAVE_IEEEFP_H
50359 #include <ieeefp.h>
50360 #endif
50363 main ()
50365 expl(0);
50367 return 0;
50369 _ACEOF
50370 if ac_fn_cxx_try_compile "$LINENO"; then :
50371 glibcxx_cv_func_expl_use=yes
50372 else
50373 glibcxx_cv_func_expl_use=no
50375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50376 ac_ext=c
50377 ac_cpp='$CPP $CPPFLAGS'
50378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50387 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50389 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50390 for ac_func in expl
50391 do :
50392 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50393 if test "x$ac_cv_func_expl" = x""yes; then :
50394 cat >>confdefs.h <<_ACEOF
50395 #define HAVE_EXPL 1
50396 _ACEOF
50399 done
50401 else
50403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50404 $as_echo_n "checking for _expl declaration... " >&6; }
50405 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50406 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50407 $as_echo_n "(cached) " >&6
50408 else
50411 ac_ext=cpp
50412 ac_cpp='$CXXCPP $CPPFLAGS'
50413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50418 /* end confdefs.h. */
50419 #include <math.h>
50420 #ifdef HAVE_IEEEFP_H
50421 #include <ieeefp.h>
50422 #endif
50425 main ()
50427 _expl(0);
50429 return 0;
50431 _ACEOF
50432 if ac_fn_cxx_try_compile "$LINENO"; then :
50433 glibcxx_cv_func__expl_use=yes
50434 else
50435 glibcxx_cv_func__expl_use=no
50437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50438 ac_ext=c
50439 ac_cpp='$CPP $CPPFLAGS'
50440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50449 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50451 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50452 for ac_func in _expl
50453 do :
50454 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50455 if test "x$ac_cv_func__expl" = x""yes; then :
50456 cat >>confdefs.h <<_ACEOF
50457 #define HAVE__EXPL 1
50458 _ACEOF
50461 done
50470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50471 $as_echo_n "checking for fabsl declaration... " >&6; }
50472 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50473 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50474 $as_echo_n "(cached) " >&6
50475 else
50478 ac_ext=cpp
50479 ac_cpp='$CXXCPP $CPPFLAGS'
50480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50485 /* end confdefs.h. */
50486 #include <math.h>
50487 #ifdef HAVE_IEEEFP_H
50488 #include <ieeefp.h>
50489 #endif
50492 main ()
50494 fabsl(0);
50496 return 0;
50498 _ACEOF
50499 if ac_fn_cxx_try_compile "$LINENO"; then :
50500 glibcxx_cv_func_fabsl_use=yes
50501 else
50502 glibcxx_cv_func_fabsl_use=no
50504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50505 ac_ext=c
50506 ac_cpp='$CPP $CPPFLAGS'
50507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50516 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50518 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50519 for ac_func in fabsl
50520 do :
50521 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50522 if test "x$ac_cv_func_fabsl" = x""yes; then :
50523 cat >>confdefs.h <<_ACEOF
50524 #define HAVE_FABSL 1
50525 _ACEOF
50528 done
50530 else
50532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50533 $as_echo_n "checking for _fabsl declaration... " >&6; }
50534 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50535 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50536 $as_echo_n "(cached) " >&6
50537 else
50540 ac_ext=cpp
50541 ac_cpp='$CXXCPP $CPPFLAGS'
50542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50547 /* end confdefs.h. */
50548 #include <math.h>
50549 #ifdef HAVE_IEEEFP_H
50550 #include <ieeefp.h>
50551 #endif
50554 main ()
50556 _fabsl(0);
50558 return 0;
50560 _ACEOF
50561 if ac_fn_cxx_try_compile "$LINENO"; then :
50562 glibcxx_cv_func__fabsl_use=yes
50563 else
50564 glibcxx_cv_func__fabsl_use=no
50566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50567 ac_ext=c
50568 ac_cpp='$CPP $CPPFLAGS'
50569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50578 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50580 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50581 for ac_func in _fabsl
50582 do :
50583 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50584 if test "x$ac_cv_func__fabsl" = x""yes; then :
50585 cat >>confdefs.h <<_ACEOF
50586 #define HAVE__FABSL 1
50587 _ACEOF
50590 done
50599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50600 $as_echo_n "checking for fmodl declaration... " >&6; }
50601 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50602 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50603 $as_echo_n "(cached) " >&6
50604 else
50607 ac_ext=cpp
50608 ac_cpp='$CXXCPP $CPPFLAGS'
50609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50614 /* end confdefs.h. */
50615 #include <math.h>
50617 main ()
50619 fmodl(0, 0);
50621 return 0;
50623 _ACEOF
50624 if ac_fn_cxx_try_compile "$LINENO"; then :
50625 glibcxx_cv_func_fmodl_use=yes
50626 else
50627 glibcxx_cv_func_fmodl_use=no
50629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50630 ac_ext=c
50631 ac_cpp='$CPP $CPPFLAGS'
50632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50641 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50643 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50644 for ac_func in fmodl
50645 do :
50646 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50647 if test "x$ac_cv_func_fmodl" = x""yes; then :
50648 cat >>confdefs.h <<_ACEOF
50649 #define HAVE_FMODL 1
50650 _ACEOF
50653 done
50655 else
50657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50658 $as_echo_n "checking for _fmodl declaration... " >&6; }
50659 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50660 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50661 $as_echo_n "(cached) " >&6
50662 else
50665 ac_ext=cpp
50666 ac_cpp='$CXXCPP $CPPFLAGS'
50667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50672 /* end confdefs.h. */
50673 #include <math.h>
50675 main ()
50677 _fmodl(0, 0);
50679 return 0;
50681 _ACEOF
50682 if ac_fn_cxx_try_compile "$LINENO"; then :
50683 glibcxx_cv_func__fmodl_use=yes
50684 else
50685 glibcxx_cv_func__fmodl_use=no
50687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50688 ac_ext=c
50689 ac_cpp='$CPP $CPPFLAGS'
50690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50699 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50701 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50702 for ac_func in _fmodl
50703 do :
50704 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50705 if test "x$ac_cv_func__fmodl" = x""yes; then :
50706 cat >>confdefs.h <<_ACEOF
50707 #define HAVE__FMODL 1
50708 _ACEOF
50711 done
50720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50721 $as_echo_n "checking for frexpl declaration... " >&6; }
50722 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50723 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50724 $as_echo_n "(cached) " >&6
50725 else
50728 ac_ext=cpp
50729 ac_cpp='$CXXCPP $CPPFLAGS'
50730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50735 /* end confdefs.h. */
50736 #include <math.h>
50738 main ()
50740 frexpl(0, 0);
50742 return 0;
50744 _ACEOF
50745 if ac_fn_cxx_try_compile "$LINENO"; then :
50746 glibcxx_cv_func_frexpl_use=yes
50747 else
50748 glibcxx_cv_func_frexpl_use=no
50750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50751 ac_ext=c
50752 ac_cpp='$CPP $CPPFLAGS'
50753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50762 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50764 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50765 for ac_func in frexpl
50766 do :
50767 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50768 if test "x$ac_cv_func_frexpl" = x""yes; then :
50769 cat >>confdefs.h <<_ACEOF
50770 #define HAVE_FREXPL 1
50771 _ACEOF
50774 done
50776 else
50778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50779 $as_echo_n "checking for _frexpl declaration... " >&6; }
50780 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50781 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50782 $as_echo_n "(cached) " >&6
50783 else
50786 ac_ext=cpp
50787 ac_cpp='$CXXCPP $CPPFLAGS'
50788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50793 /* end confdefs.h. */
50794 #include <math.h>
50796 main ()
50798 _frexpl(0, 0);
50800 return 0;
50802 _ACEOF
50803 if ac_fn_cxx_try_compile "$LINENO"; then :
50804 glibcxx_cv_func__frexpl_use=yes
50805 else
50806 glibcxx_cv_func__frexpl_use=no
50808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50809 ac_ext=c
50810 ac_cpp='$CPP $CPPFLAGS'
50811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50820 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50822 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50823 for ac_func in _frexpl
50824 do :
50825 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50826 if test "x$ac_cv_func__frexpl" = x""yes; then :
50827 cat >>confdefs.h <<_ACEOF
50828 #define HAVE__FREXPL 1
50829 _ACEOF
50832 done
50841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50842 $as_echo_n "checking for hypotl declaration... " >&6; }
50843 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50844 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50845 $as_echo_n "(cached) " >&6
50846 else
50849 ac_ext=cpp
50850 ac_cpp='$CXXCPP $CPPFLAGS'
50851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50856 /* end confdefs.h. */
50857 #include <math.h>
50859 main ()
50861 hypotl(0, 0);
50863 return 0;
50865 _ACEOF
50866 if ac_fn_cxx_try_compile "$LINENO"; then :
50867 glibcxx_cv_func_hypotl_use=yes
50868 else
50869 glibcxx_cv_func_hypotl_use=no
50871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50872 ac_ext=c
50873 ac_cpp='$CPP $CPPFLAGS'
50874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50883 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50885 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50886 for ac_func in hypotl
50887 do :
50888 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50889 if test "x$ac_cv_func_hypotl" = x""yes; then :
50890 cat >>confdefs.h <<_ACEOF
50891 #define HAVE_HYPOTL 1
50892 _ACEOF
50895 done
50897 else
50899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50900 $as_echo_n "checking for _hypotl declaration... " >&6; }
50901 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50902 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50903 $as_echo_n "(cached) " >&6
50904 else
50907 ac_ext=cpp
50908 ac_cpp='$CXXCPP $CPPFLAGS'
50909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50914 /* end confdefs.h. */
50915 #include <math.h>
50917 main ()
50919 _hypotl(0, 0);
50921 return 0;
50923 _ACEOF
50924 if ac_fn_cxx_try_compile "$LINENO"; then :
50925 glibcxx_cv_func__hypotl_use=yes
50926 else
50927 glibcxx_cv_func__hypotl_use=no
50929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50930 ac_ext=c
50931 ac_cpp='$CPP $CPPFLAGS'
50932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50941 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50943 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50944 for ac_func in _hypotl
50945 do :
50946 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50947 if test "x$ac_cv_func__hypotl" = x""yes; then :
50948 cat >>confdefs.h <<_ACEOF
50949 #define HAVE__HYPOTL 1
50950 _ACEOF
50953 done
50962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50963 $as_echo_n "checking for ldexpl declaration... " >&6; }
50964 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50965 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50966 $as_echo_n "(cached) " >&6
50967 else
50970 ac_ext=cpp
50971 ac_cpp='$CXXCPP $CPPFLAGS'
50972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50977 /* end confdefs.h. */
50978 #include <math.h>
50980 main ()
50982 ldexpl(0, 0);
50984 return 0;
50986 _ACEOF
50987 if ac_fn_cxx_try_compile "$LINENO"; then :
50988 glibcxx_cv_func_ldexpl_use=yes
50989 else
50990 glibcxx_cv_func_ldexpl_use=no
50992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50993 ac_ext=c
50994 ac_cpp='$CPP $CPPFLAGS'
50995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51004 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51006 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51007 for ac_func in ldexpl
51008 do :
51009 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51010 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51011 cat >>confdefs.h <<_ACEOF
51012 #define HAVE_LDEXPL 1
51013 _ACEOF
51016 done
51018 else
51020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51021 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51022 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51023 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51024 $as_echo_n "(cached) " >&6
51025 else
51028 ac_ext=cpp
51029 ac_cpp='$CXXCPP $CPPFLAGS'
51030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51035 /* end confdefs.h. */
51036 #include <math.h>
51038 main ()
51040 _ldexpl(0, 0);
51042 return 0;
51044 _ACEOF
51045 if ac_fn_cxx_try_compile "$LINENO"; then :
51046 glibcxx_cv_func__ldexpl_use=yes
51047 else
51048 glibcxx_cv_func__ldexpl_use=no
51050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51051 ac_ext=c
51052 ac_cpp='$CPP $CPPFLAGS'
51053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51062 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51064 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51065 for ac_func in _ldexpl
51066 do :
51067 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51068 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51069 cat >>confdefs.h <<_ACEOF
51070 #define HAVE__LDEXPL 1
51071 _ACEOF
51074 done
51083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51084 $as_echo_n "checking for logl declaration... " >&6; }
51085 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51086 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51087 $as_echo_n "(cached) " >&6
51088 else
51091 ac_ext=cpp
51092 ac_cpp='$CXXCPP $CPPFLAGS'
51093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51098 /* end confdefs.h. */
51099 #include <math.h>
51100 #ifdef HAVE_IEEEFP_H
51101 #include <ieeefp.h>
51102 #endif
51105 main ()
51107 logl(0);
51109 return 0;
51111 _ACEOF
51112 if ac_fn_cxx_try_compile "$LINENO"; then :
51113 glibcxx_cv_func_logl_use=yes
51114 else
51115 glibcxx_cv_func_logl_use=no
51117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51118 ac_ext=c
51119 ac_cpp='$CPP $CPPFLAGS'
51120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51129 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51131 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51132 for ac_func in logl
51133 do :
51134 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51135 if test "x$ac_cv_func_logl" = x""yes; then :
51136 cat >>confdefs.h <<_ACEOF
51137 #define HAVE_LOGL 1
51138 _ACEOF
51141 done
51143 else
51145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51146 $as_echo_n "checking for _logl declaration... " >&6; }
51147 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51148 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51149 $as_echo_n "(cached) " >&6
51150 else
51153 ac_ext=cpp
51154 ac_cpp='$CXXCPP $CPPFLAGS'
51155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51160 /* end confdefs.h. */
51161 #include <math.h>
51162 #ifdef HAVE_IEEEFP_H
51163 #include <ieeefp.h>
51164 #endif
51167 main ()
51169 _logl(0);
51171 return 0;
51173 _ACEOF
51174 if ac_fn_cxx_try_compile "$LINENO"; then :
51175 glibcxx_cv_func__logl_use=yes
51176 else
51177 glibcxx_cv_func__logl_use=no
51179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51180 ac_ext=c
51181 ac_cpp='$CPP $CPPFLAGS'
51182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51191 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51193 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51194 for ac_func in _logl
51195 do :
51196 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51197 if test "x$ac_cv_func__logl" = x""yes; then :
51198 cat >>confdefs.h <<_ACEOF
51199 #define HAVE__LOGL 1
51200 _ACEOF
51203 done
51212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51213 $as_echo_n "checking for log10l declaration... " >&6; }
51214 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51215 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51216 $as_echo_n "(cached) " >&6
51217 else
51220 ac_ext=cpp
51221 ac_cpp='$CXXCPP $CPPFLAGS'
51222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51227 /* end confdefs.h. */
51228 #include <math.h>
51229 #ifdef HAVE_IEEEFP_H
51230 #include <ieeefp.h>
51231 #endif
51234 main ()
51236 log10l(0);
51238 return 0;
51240 _ACEOF
51241 if ac_fn_cxx_try_compile "$LINENO"; then :
51242 glibcxx_cv_func_log10l_use=yes
51243 else
51244 glibcxx_cv_func_log10l_use=no
51246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51247 ac_ext=c
51248 ac_cpp='$CPP $CPPFLAGS'
51249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51258 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51260 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51261 for ac_func in log10l
51262 do :
51263 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51264 if test "x$ac_cv_func_log10l" = x""yes; then :
51265 cat >>confdefs.h <<_ACEOF
51266 #define HAVE_LOG10L 1
51267 _ACEOF
51270 done
51272 else
51274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51275 $as_echo_n "checking for _log10l declaration... " >&6; }
51276 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51277 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51278 $as_echo_n "(cached) " >&6
51279 else
51282 ac_ext=cpp
51283 ac_cpp='$CXXCPP $CPPFLAGS'
51284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51289 /* end confdefs.h. */
51290 #include <math.h>
51291 #ifdef HAVE_IEEEFP_H
51292 #include <ieeefp.h>
51293 #endif
51296 main ()
51298 _log10l(0);
51300 return 0;
51302 _ACEOF
51303 if ac_fn_cxx_try_compile "$LINENO"; then :
51304 glibcxx_cv_func__log10l_use=yes
51305 else
51306 glibcxx_cv_func__log10l_use=no
51308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51309 ac_ext=c
51310 ac_cpp='$CPP $CPPFLAGS'
51311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51320 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51322 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51323 for ac_func in _log10l
51324 do :
51325 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51326 if test "x$ac_cv_func__log10l" = x""yes; then :
51327 cat >>confdefs.h <<_ACEOF
51328 #define HAVE__LOG10L 1
51329 _ACEOF
51332 done
51341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51342 $as_echo_n "checking for modfl declaration... " >&6; }
51343 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51344 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51345 $as_echo_n "(cached) " >&6
51346 else
51349 ac_ext=cpp
51350 ac_cpp='$CXXCPP $CPPFLAGS'
51351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51356 /* end confdefs.h. */
51357 #include <math.h>
51359 main ()
51361 modfl(0, 0);
51363 return 0;
51365 _ACEOF
51366 if ac_fn_cxx_try_compile "$LINENO"; then :
51367 glibcxx_cv_func_modfl_use=yes
51368 else
51369 glibcxx_cv_func_modfl_use=no
51371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51372 ac_ext=c
51373 ac_cpp='$CPP $CPPFLAGS'
51374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51383 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51385 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51386 for ac_func in modfl
51387 do :
51388 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51389 if test "x$ac_cv_func_modfl" = x""yes; then :
51390 cat >>confdefs.h <<_ACEOF
51391 #define HAVE_MODFL 1
51392 _ACEOF
51395 done
51397 else
51399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51400 $as_echo_n "checking for _modfl declaration... " >&6; }
51401 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51402 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51403 $as_echo_n "(cached) " >&6
51404 else
51407 ac_ext=cpp
51408 ac_cpp='$CXXCPP $CPPFLAGS'
51409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51414 /* end confdefs.h. */
51415 #include <math.h>
51417 main ()
51419 _modfl(0, 0);
51421 return 0;
51423 _ACEOF
51424 if ac_fn_cxx_try_compile "$LINENO"; then :
51425 glibcxx_cv_func__modfl_use=yes
51426 else
51427 glibcxx_cv_func__modfl_use=no
51429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51430 ac_ext=c
51431 ac_cpp='$CPP $CPPFLAGS'
51432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51441 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51443 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51444 for ac_func in _modfl
51445 do :
51446 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51447 if test "x$ac_cv_func__modfl" = x""yes; then :
51448 cat >>confdefs.h <<_ACEOF
51449 #define HAVE__MODFL 1
51450 _ACEOF
51453 done
51462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51463 $as_echo_n "checking for powl declaration... " >&6; }
51464 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51465 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51466 $as_echo_n "(cached) " >&6
51467 else
51470 ac_ext=cpp
51471 ac_cpp='$CXXCPP $CPPFLAGS'
51472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51477 /* end confdefs.h. */
51478 #include <math.h>
51480 main ()
51482 powl(0, 0);
51484 return 0;
51486 _ACEOF
51487 if ac_fn_cxx_try_compile "$LINENO"; then :
51488 glibcxx_cv_func_powl_use=yes
51489 else
51490 glibcxx_cv_func_powl_use=no
51492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51493 ac_ext=c
51494 ac_cpp='$CPP $CPPFLAGS'
51495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51504 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51506 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51507 for ac_func in powl
51508 do :
51509 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51510 if test "x$ac_cv_func_powl" = x""yes; then :
51511 cat >>confdefs.h <<_ACEOF
51512 #define HAVE_POWL 1
51513 _ACEOF
51516 done
51518 else
51520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51521 $as_echo_n "checking for _powl declaration... " >&6; }
51522 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51523 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51524 $as_echo_n "(cached) " >&6
51525 else
51528 ac_ext=cpp
51529 ac_cpp='$CXXCPP $CPPFLAGS'
51530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51535 /* end confdefs.h. */
51536 #include <math.h>
51538 main ()
51540 _powl(0, 0);
51542 return 0;
51544 _ACEOF
51545 if ac_fn_cxx_try_compile "$LINENO"; then :
51546 glibcxx_cv_func__powl_use=yes
51547 else
51548 glibcxx_cv_func__powl_use=no
51550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51551 ac_ext=c
51552 ac_cpp='$CPP $CPPFLAGS'
51553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51562 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51564 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51565 for ac_func in _powl
51566 do :
51567 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51568 if test "x$ac_cv_func__powl" = x""yes; then :
51569 cat >>confdefs.h <<_ACEOF
51570 #define HAVE__POWL 1
51571 _ACEOF
51574 done
51583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51584 $as_echo_n "checking for sqrtl declaration... " >&6; }
51585 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51586 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51587 $as_echo_n "(cached) " >&6
51588 else
51591 ac_ext=cpp
51592 ac_cpp='$CXXCPP $CPPFLAGS'
51593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51598 /* end confdefs.h. */
51599 #include <math.h>
51600 #ifdef HAVE_IEEEFP_H
51601 #include <ieeefp.h>
51602 #endif
51605 main ()
51607 sqrtl(0);
51609 return 0;
51611 _ACEOF
51612 if ac_fn_cxx_try_compile "$LINENO"; then :
51613 glibcxx_cv_func_sqrtl_use=yes
51614 else
51615 glibcxx_cv_func_sqrtl_use=no
51617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51618 ac_ext=c
51619 ac_cpp='$CPP $CPPFLAGS'
51620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51629 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51631 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51632 for ac_func in sqrtl
51633 do :
51634 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51635 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51636 cat >>confdefs.h <<_ACEOF
51637 #define HAVE_SQRTL 1
51638 _ACEOF
51641 done
51643 else
51645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51646 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51647 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51648 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51649 $as_echo_n "(cached) " >&6
51650 else
51653 ac_ext=cpp
51654 ac_cpp='$CXXCPP $CPPFLAGS'
51655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51660 /* end confdefs.h. */
51661 #include <math.h>
51662 #ifdef HAVE_IEEEFP_H
51663 #include <ieeefp.h>
51664 #endif
51667 main ()
51669 _sqrtl(0);
51671 return 0;
51673 _ACEOF
51674 if ac_fn_cxx_try_compile "$LINENO"; then :
51675 glibcxx_cv_func__sqrtl_use=yes
51676 else
51677 glibcxx_cv_func__sqrtl_use=no
51679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51680 ac_ext=c
51681 ac_cpp='$CPP $CPPFLAGS'
51682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51691 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51693 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51694 for ac_func in _sqrtl
51695 do :
51696 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51697 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51698 cat >>confdefs.h <<_ACEOF
51699 #define HAVE__SQRTL 1
51700 _ACEOF
51703 done
51712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51713 $as_echo_n "checking for sincosl declaration... " >&6; }
51714 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51715 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51716 $as_echo_n "(cached) " >&6
51717 else
51720 ac_ext=cpp
51721 ac_cpp='$CXXCPP $CPPFLAGS'
51722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51727 /* end confdefs.h. */
51728 #include <math.h>
51730 main ()
51732 sincosl(0, 0, 0);
51734 return 0;
51736 _ACEOF
51737 if ac_fn_cxx_try_compile "$LINENO"; then :
51738 glibcxx_cv_func_sincosl_use=yes
51739 else
51740 glibcxx_cv_func_sincosl_use=no
51742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51743 ac_ext=c
51744 ac_cpp='$CPP $CPPFLAGS'
51745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51754 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51756 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51757 for ac_func in sincosl
51758 do :
51759 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51760 if test "x$ac_cv_func_sincosl" = x""yes; then :
51761 cat >>confdefs.h <<_ACEOF
51762 #define HAVE_SINCOSL 1
51763 _ACEOF
51766 done
51768 else
51770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51771 $as_echo_n "checking for _sincosl declaration... " >&6; }
51772 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51773 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51774 $as_echo_n "(cached) " >&6
51775 else
51778 ac_ext=cpp
51779 ac_cpp='$CXXCPP $CPPFLAGS'
51780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51785 /* end confdefs.h. */
51786 #include <math.h>
51788 main ()
51790 _sincosl(0, 0, 0);
51792 return 0;
51794 _ACEOF
51795 if ac_fn_cxx_try_compile "$LINENO"; then :
51796 glibcxx_cv_func__sincosl_use=yes
51797 else
51798 glibcxx_cv_func__sincosl_use=no
51800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51801 ac_ext=c
51802 ac_cpp='$CPP $CPPFLAGS'
51803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51812 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51814 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51815 for ac_func in _sincosl
51816 do :
51817 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51818 if test "x$ac_cv_func__sincosl" = x""yes; then :
51819 cat >>confdefs.h <<_ACEOF
51820 #define HAVE__SINCOSL 1
51821 _ACEOF
51824 done
51833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51834 $as_echo_n "checking for finitel declaration... " >&6; }
51835 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51836 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51837 $as_echo_n "(cached) " >&6
51838 else
51841 ac_ext=cpp
51842 ac_cpp='$CXXCPP $CPPFLAGS'
51843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51848 /* end confdefs.h. */
51849 #include <math.h>
51850 #ifdef HAVE_IEEEFP_H
51851 #include <ieeefp.h>
51852 #endif
51855 main ()
51857 finitel(0);
51859 return 0;
51861 _ACEOF
51862 if ac_fn_cxx_try_compile "$LINENO"; then :
51863 glibcxx_cv_func_finitel_use=yes
51864 else
51865 glibcxx_cv_func_finitel_use=no
51867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51868 ac_ext=c
51869 ac_cpp='$CPP $CPPFLAGS'
51870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51879 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51881 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51882 for ac_func in finitel
51883 do :
51884 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51885 if test "x$ac_cv_func_finitel" = x""yes; then :
51886 cat >>confdefs.h <<_ACEOF
51887 #define HAVE_FINITEL 1
51888 _ACEOF
51891 done
51893 else
51895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51896 $as_echo_n "checking for _finitel declaration... " >&6; }
51897 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51898 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51899 $as_echo_n "(cached) " >&6
51900 else
51903 ac_ext=cpp
51904 ac_cpp='$CXXCPP $CPPFLAGS'
51905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51910 /* end confdefs.h. */
51911 #include <math.h>
51912 #ifdef HAVE_IEEEFP_H
51913 #include <ieeefp.h>
51914 #endif
51917 main ()
51919 _finitel(0);
51921 return 0;
51923 _ACEOF
51924 if ac_fn_cxx_try_compile "$LINENO"; then :
51925 glibcxx_cv_func__finitel_use=yes
51926 else
51927 glibcxx_cv_func__finitel_use=no
51929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51930 ac_ext=c
51931 ac_cpp='$CPP $CPPFLAGS'
51932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51941 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51943 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51944 for ac_func in _finitel
51945 do :
51946 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51947 if test "x$ac_cv_func__finitel" = x""yes; then :
51948 cat >>confdefs.h <<_ACEOF
51949 #define HAVE__FINITEL 1
51950 _ACEOF
51953 done
51961 LIBS="$ac_save_LIBS"
51962 CXXFLAGS="$ac_save_CXXFLAGS"
51965 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51966 ac_save_CXXFLAGS="$CXXFLAGS"
51967 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51971 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51972 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51973 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51974 $as_echo_n "(cached) " >&6
51975 else
51978 ac_ext=cpp
51979 ac_cpp='$CXXCPP $CPPFLAGS'
51980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51985 /* end confdefs.h. */
51986 #include <stdlib.h>
51988 main ()
51990 at_quick_exit(0);
51992 return 0;
51994 _ACEOF
51995 if ac_fn_cxx_try_compile "$LINENO"; then :
51996 glibcxx_cv_func_at_quick_exit_use=yes
51997 else
51998 glibcxx_cv_func_at_quick_exit_use=no
52000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52001 ac_ext=c
52002 ac_cpp='$CPP $CPPFLAGS'
52003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52012 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52013 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52014 for ac_func in at_quick_exit
52015 do :
52016 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52017 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52018 cat >>confdefs.h <<_ACEOF
52019 #define HAVE_AT_QUICK_EXIT 1
52020 _ACEOF
52023 done
52028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52029 $as_echo_n "checking for quick_exit declaration... " >&6; }
52030 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52031 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52032 $as_echo_n "(cached) " >&6
52033 else
52036 ac_ext=cpp
52037 ac_cpp='$CXXCPP $CPPFLAGS'
52038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52043 /* end confdefs.h. */
52044 #include <stdlib.h>
52046 main ()
52048 quick_exit(0);
52050 return 0;
52052 _ACEOF
52053 if ac_fn_cxx_try_compile "$LINENO"; then :
52054 glibcxx_cv_func_quick_exit_use=yes
52055 else
52056 glibcxx_cv_func_quick_exit_use=no
52058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52059 ac_ext=c
52060 ac_cpp='$CPP $CPPFLAGS'
52061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52070 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52071 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52072 for ac_func in quick_exit
52073 do :
52074 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52075 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52076 cat >>confdefs.h <<_ACEOF
52077 #define HAVE_QUICK_EXIT 1
52078 _ACEOF
52081 done
52086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52087 $as_echo_n "checking for strtold declaration... " >&6; }
52088 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52089 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52090 $as_echo_n "(cached) " >&6
52091 else
52094 ac_ext=cpp
52095 ac_cpp='$CXXCPP $CPPFLAGS'
52096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52101 /* end confdefs.h. */
52102 #include <stdlib.h>
52104 main ()
52106 strtold(0, 0);
52108 return 0;
52110 _ACEOF
52111 if ac_fn_cxx_try_compile "$LINENO"; then :
52112 glibcxx_cv_func_strtold_use=yes
52113 else
52114 glibcxx_cv_func_strtold_use=no
52116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52117 ac_ext=c
52118 ac_cpp='$CPP $CPPFLAGS'
52119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52128 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52129 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52130 for ac_func in strtold
52131 do :
52132 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52133 if test "x$ac_cv_func_strtold" = x""yes; then :
52134 cat >>confdefs.h <<_ACEOF
52135 #define HAVE_STRTOLD 1
52136 _ACEOF
52139 done
52146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52147 $as_echo_n "checking for strtof declaration... " >&6; }
52148 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52149 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52150 $as_echo_n "(cached) " >&6
52151 else
52154 ac_ext=cpp
52155 ac_cpp='$CXXCPP $CPPFLAGS'
52156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52161 /* end confdefs.h. */
52162 #include <stdlib.h>
52164 main ()
52166 strtof(0, 0);
52168 return 0;
52170 _ACEOF
52171 if ac_fn_cxx_try_compile "$LINENO"; then :
52172 glibcxx_cv_func_strtof_use=yes
52173 else
52174 glibcxx_cv_func_strtof_use=no
52176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52177 ac_ext=c
52178 ac_cpp='$CPP $CPPFLAGS'
52179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52188 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52189 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52190 for ac_func in strtof
52191 do :
52192 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52193 if test "x$ac_cv_func_strtof" = x""yes; then :
52194 cat >>confdefs.h <<_ACEOF
52195 #define HAVE_STRTOF 1
52196 _ACEOF
52199 done
52206 CXXFLAGS="$ac_save_CXXFLAGS"
52208 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52212 # Check whether --enable-tls was given.
52213 if test "${enable_tls+set}" = set; then :
52214 enableval=$enable_tls;
52215 case "$enableval" in
52216 yes|no) ;;
52217 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52218 esac
52220 else
52221 enable_tls=yes
52225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52226 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52227 if test "${gcc_cv_have_tls+set}" = set; then :
52228 $as_echo_n "(cached) " >&6
52229 else
52231 if test "$cross_compiling" = yes; then :
52232 if test x$gcc_no_link = xyes; then
52233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52236 /* end confdefs.h. */
52237 __thread int a; int b; int main() { return a = b; }
52238 _ACEOF
52239 if ac_fn_c_try_link "$LINENO"; then :
52240 chktls_save_LDFLAGS="$LDFLAGS"
52241 case $host in
52242 *-*-linux*)
52243 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52245 esac
52246 chktls_save_CFLAGS="$CFLAGS"
52247 CFLAGS="-fPIC $CFLAGS"
52248 if test x$gcc_no_link = xyes; then
52249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52252 /* end confdefs.h. */
52253 int f() { return 0; }
52254 _ACEOF
52255 if ac_fn_c_try_link "$LINENO"; then :
52256 if test x$gcc_no_link = xyes; then
52257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52260 /* end confdefs.h. */
52261 __thread int a; int b; int f() { return a = b; }
52262 _ACEOF
52263 if ac_fn_c_try_link "$LINENO"; then :
52264 gcc_cv_have_tls=yes
52265 else
52266 gcc_cv_have_tls=no
52268 rm -f core conftest.err conftest.$ac_objext \
52269 conftest$ac_exeext conftest.$ac_ext
52270 else
52271 gcc_cv_have_tls=yes
52273 rm -f core conftest.err conftest.$ac_objext \
52274 conftest$ac_exeext conftest.$ac_ext
52275 CFLAGS="$chktls_save_CFLAGS"
52276 LDFLAGS="$chktls_save_LDFLAGS"
52277 else
52278 gcc_cv_have_tls=no
52280 rm -f core conftest.err conftest.$ac_objext \
52281 conftest$ac_exeext conftest.$ac_ext
52284 else
52285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52286 /* end confdefs.h. */
52287 __thread int a; int b; int main() { return a = b; }
52288 _ACEOF
52289 if ac_fn_c_try_run "$LINENO"; then :
52290 chktls_save_LDFLAGS="$LDFLAGS"
52291 LDFLAGS="-static $LDFLAGS"
52292 if test x$gcc_no_link = xyes; then
52293 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52296 /* end confdefs.h. */
52297 int main() { return 0; }
52298 _ACEOF
52299 if ac_fn_c_try_link "$LINENO"; then :
52300 if test "$cross_compiling" = yes; then :
52301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52303 as_fn_error "cannot run test program while cross compiling
52304 See \`config.log' for more details." "$LINENO" 5; }
52305 else
52306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52307 /* end confdefs.h. */
52308 __thread int a; int b; int main() { return a = b; }
52309 _ACEOF
52310 if ac_fn_c_try_run "$LINENO"; then :
52311 gcc_cv_have_tls=yes
52312 else
52313 gcc_cv_have_tls=no
52315 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52316 conftest.$ac_objext conftest.beam conftest.$ac_ext
52319 else
52320 gcc_cv_have_tls=yes
52322 rm -f core conftest.err conftest.$ac_objext \
52323 conftest$ac_exeext conftest.$ac_ext
52324 LDFLAGS="$chktls_save_LDFLAGS"
52325 if test $gcc_cv_have_tls = yes; then
52326 chktls_save_CFLAGS="$CFLAGS"
52327 thread_CFLAGS=failed
52328 for flag in '' '-pthread' '-lpthread'; do
52329 CFLAGS="$flag $chktls_save_CFLAGS"
52330 if test x$gcc_no_link = xyes; then
52331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52334 /* end confdefs.h. */
52335 #include <pthread.h>
52336 void *g(void *d) { return NULL; }
52338 main ()
52340 pthread_t t; pthread_create(&t,NULL,g,NULL);
52342 return 0;
52344 _ACEOF
52345 if ac_fn_c_try_link "$LINENO"; then :
52346 thread_CFLAGS="$flag"
52348 rm -f core conftest.err conftest.$ac_objext \
52349 conftest$ac_exeext conftest.$ac_ext
52350 if test "X$thread_CFLAGS" != Xfailed; then
52351 break
52353 done
52354 CFLAGS="$chktls_save_CFLAGS"
52355 if test "X$thread_CFLAGS" != Xfailed; then
52356 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52357 if test "$cross_compiling" = yes; then :
52358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52360 as_fn_error "cannot run test program while cross compiling
52361 See \`config.log' for more details." "$LINENO" 5; }
52362 else
52363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52364 /* end confdefs.h. */
52365 #include <pthread.h>
52366 __thread int a;
52367 static int *volatile a_in_other_thread;
52368 static void *
52369 thread_func (void *arg)
52371 a_in_other_thread = &a;
52372 return (void *)0;
52375 main ()
52377 pthread_t thread;
52378 void *thread_retval;
52379 int *volatile a_in_main_thread;
52380 a_in_main_thread = &a;
52381 if (pthread_create (&thread, (pthread_attr_t *)0,
52382 thread_func, (void *)0))
52383 return 0;
52384 if (pthread_join (thread, &thread_retval))
52385 return 0;
52386 return (a_in_other_thread == a_in_main_thread);
52388 return 0;
52390 _ACEOF
52391 if ac_fn_c_try_run "$LINENO"; then :
52392 gcc_cv_have_tls=yes
52393 else
52394 gcc_cv_have_tls=no
52396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52397 conftest.$ac_objext conftest.beam conftest.$ac_ext
52400 CFLAGS="$chktls_save_CFLAGS"
52403 else
52404 gcc_cv_have_tls=no
52406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52407 conftest.$ac_objext conftest.beam conftest.$ac_ext
52411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52412 $as_echo "$gcc_cv_have_tls" >&6; }
52413 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52415 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52423 am_save_CPPFLAGS="$CPPFLAGS"
52425 for element in $INCICONV; do
52426 haveit=
52427 for x in $CPPFLAGS; do
52429 acl_save_prefix="$prefix"
52430 prefix="$acl_final_prefix"
52431 acl_save_exec_prefix="$exec_prefix"
52432 exec_prefix="$acl_final_exec_prefix"
52433 eval x=\"$x\"
52434 exec_prefix="$acl_save_exec_prefix"
52435 prefix="$acl_save_prefix"
52437 if test "X$x" = "X$element"; then
52438 haveit=yes
52439 break
52441 done
52442 if test -z "$haveit"; then
52443 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52445 done
52448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52449 $as_echo_n "checking for iconv... " >&6; }
52450 if test "${am_cv_func_iconv+set}" = set; then :
52451 $as_echo_n "(cached) " >&6
52452 else
52454 am_cv_func_iconv="no, consider installing GNU libiconv"
52455 am_cv_lib_iconv=no
52456 if test x$gcc_no_link = xyes; then
52457 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52460 /* end confdefs.h. */
52461 #include <stdlib.h>
52462 #include <iconv.h>
52464 main ()
52466 iconv_t cd = iconv_open("","");
52467 iconv(cd,NULL,NULL,NULL,NULL);
52468 iconv_close(cd);
52470 return 0;
52472 _ACEOF
52473 if ac_fn_c_try_link "$LINENO"; then :
52474 am_cv_func_iconv=yes
52476 rm -f core conftest.err conftest.$ac_objext \
52477 conftest$ac_exeext conftest.$ac_ext
52478 if test "$am_cv_func_iconv" != yes; then
52479 am_save_LIBS="$LIBS"
52480 LIBS="$LIBS $LIBICONV"
52481 if test x$gcc_no_link = xyes; then
52482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52485 /* end confdefs.h. */
52486 #include <stdlib.h>
52487 #include <iconv.h>
52489 main ()
52491 iconv_t cd = iconv_open("","");
52492 iconv(cd,NULL,NULL,NULL,NULL);
52493 iconv_close(cd);
52495 return 0;
52497 _ACEOF
52498 if ac_fn_c_try_link "$LINENO"; then :
52499 am_cv_lib_iconv=yes
52500 am_cv_func_iconv=yes
52502 rm -f core conftest.err conftest.$ac_objext \
52503 conftest$ac_exeext conftest.$ac_ext
52504 LIBS="$am_save_LIBS"
52508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52509 $as_echo "$am_cv_func_iconv" >&6; }
52510 if test "$am_cv_func_iconv" = yes; then
52512 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52515 if test "$am_cv_lib_iconv" = yes; then
52516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52517 $as_echo_n "checking how to link with libiconv... " >&6; }
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52519 $as_echo "$LIBICONV" >&6; }
52520 else
52521 CPPFLAGS="$am_save_CPPFLAGS"
52522 LIBICONV=
52523 LTLIBICONV=
52528 if test "$am_cv_func_iconv" = yes; then
52529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52530 $as_echo_n "checking for iconv declaration... " >&6; }
52531 if test "${am_cv_proto_iconv+set}" = set; then :
52532 $as_echo_n "(cached) " >&6
52533 else
52535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52536 /* end confdefs.h. */
52538 #include <stdlib.h>
52539 #include <iconv.h>
52540 extern
52541 #ifdef __cplusplus
52543 #endif
52544 #if defined(__STDC__) || defined(__cplusplus)
52545 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52546 #else
52547 size_t iconv();
52548 #endif
52551 main ()
52555 return 0;
52557 _ACEOF
52558 if ac_fn_c_try_compile "$LINENO"; then :
52559 am_cv_proto_iconv_arg1=""
52560 else
52561 am_cv_proto_iconv_arg1="const"
52563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52564 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);"
52567 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52569 }$am_cv_proto_iconv" >&5
52570 $as_echo "${ac_t:-
52571 }$am_cv_proto_iconv" >&6; }
52573 cat >>confdefs.h <<_ACEOF
52574 #define ICONV_CONST $am_cv_proto_iconv_arg1
52575 _ACEOF
52580 *-mingw32*)
52582 # If we're not using GNU ld, then there's no point in even trying these
52583 # tests. Check for that first. We should have already tested for gld
52584 # by now (in libtool), but require it now just to be safe...
52585 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52586 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52590 # The name set by libtool depends on the version of libtool. Shame on us
52591 # for depending on an impl detail, but c'est la vie. Older versions used
52592 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52593 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52594 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52595 # set (hence we're using an older libtool), then set it.
52596 if test x${with_gnu_ld+set} != xset; then
52597 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52598 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52599 with_gnu_ld=no
52600 else
52601 with_gnu_ld=$ac_cv_prog_gnu_ld
52605 # Start by getting the version number. I think the libtool test already
52606 # does some of this, but throws away the result.
52607 glibcxx_ld_is_gold=no
52608 if test x"$with_gnu_ld" = x"yes"; then
52609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52610 $as_echo_n "checking for ld version... " >&6; }
52612 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52613 glibcxx_ld_is_gold=yes
52615 ldver=`$LD --version 2>/dev/null |
52616 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'`
52618 glibcxx_gnu_ld_version=`echo $ldver | \
52619 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52621 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52624 # Set --gc-sections.
52625 glibcxx_have_gc_sections=no
52626 if test "$glibcxx_ld_is_gold" = "yes"; then
52627 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52628 glibcxx_have_gc_sections=yes
52630 else
52631 glibcxx_gcsections_min_ld=21602
52632 if test x"$with_gnu_ld" = x"yes" &&
52633 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52634 glibcxx_have_gc_sections=yes
52637 if test "$glibcxx_have_gc_sections" = "yes"; then
52638 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52639 # NB: This flag only works reliably after 2.16.1. Configure tests
52640 # for this are difficult, so hard wire a value that should work.
52642 ac_test_CFLAGS="${CFLAGS+set}"
52643 ac_save_CFLAGS="$CFLAGS"
52644 CFLAGS='-Wl,--gc-sections'
52646 # Check for -Wl,--gc-sections
52647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52648 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52649 if test x$gcc_no_link = xyes; then
52650 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52653 /* end confdefs.h. */
52654 int one(void) { return 1; }
52655 int two(void) { return 2; }
52658 main ()
52660 two();
52662 return 0;
52664 _ACEOF
52665 if ac_fn_c_try_link "$LINENO"; then :
52666 ac_gcsections=yes
52667 else
52668 ac_gcsections=no
52670 rm -f core conftest.err conftest.$ac_objext \
52671 conftest$ac_exeext conftest.$ac_ext
52672 if test "$ac_gcsections" = "yes"; then
52673 rm -f conftest.c
52674 touch conftest.c
52675 if $CC -c conftest.c; then
52676 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52677 grep "Warning: gc-sections option ignored" > /dev/null; then
52678 ac_gcsections=no
52681 rm -f conftest.c conftest.o conftest
52683 if test "$ac_gcsections" = "yes"; then
52684 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52687 $as_echo "$ac_gcsections" >&6; }
52689 if test "$ac_test_CFLAGS" = set; then
52690 CFLAGS="$ac_save_CFLAGS"
52691 else
52692 # this is the suspicious part
52693 CFLAGS=''
52697 # Set -z,relro.
52698 # Note this is only for shared objects.
52699 ac_ld_relro=no
52700 if test x"$with_gnu_ld" = x"yes"; then
52701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52702 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52703 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52704 if test -n "$cxx_z_relo"; then
52705 OPT_LDFLAGS="-Wl,-z,relro"
52706 ac_ld_relro=yes
52708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52709 $as_echo "$ac_ld_relro" >&6; }
52712 # Set linker optimization flags.
52713 if test x"$with_gnu_ld" = x"yes"; then
52714 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52722 ac_save_CXXFLAGS="$CXXFLAGS"
52723 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52726 $as_echo_n "checking for sin in -lm... " >&6; }
52727 if test "${ac_cv_lib_m_sin+set}" = set; then :
52728 $as_echo_n "(cached) " >&6
52729 else
52730 ac_check_lib_save_LIBS=$LIBS
52731 LIBS="-lm $LIBS"
52732 if test x$gcc_no_link = xyes; then
52733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52736 /* end confdefs.h. */
52738 /* Override any GCC internal prototype to avoid an error.
52739 Use char because int might match the return type of a GCC
52740 builtin and then its argument prototype would still apply. */
52741 #ifdef __cplusplus
52742 extern "C"
52743 #endif
52744 char sin ();
52746 main ()
52748 return sin ();
52750 return 0;
52752 _ACEOF
52753 if ac_fn_c_try_link "$LINENO"; then :
52754 ac_cv_lib_m_sin=yes
52755 else
52756 ac_cv_lib_m_sin=no
52758 rm -f core conftest.err conftest.$ac_objext \
52759 conftest$ac_exeext conftest.$ac_ext
52760 LIBS=$ac_check_lib_save_LIBS
52762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52763 $as_echo "$ac_cv_lib_m_sin" >&6; }
52764 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52765 libm="-lm"
52768 ac_save_LIBS="$LIBS"
52769 LIBS="$LIBS $libm"
52773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52774 $as_echo_n "checking for isinf declaration... " >&6; }
52775 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52776 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52777 $as_echo_n "(cached) " >&6
52778 else
52781 ac_ext=cpp
52782 ac_cpp='$CXXCPP $CPPFLAGS'
52783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52788 /* end confdefs.h. */
52789 #include <math.h>
52790 #ifdef HAVE_IEEEFP_H
52791 #include <ieeefp.h>
52792 #endif
52795 main ()
52797 isinf(0);
52799 return 0;
52801 _ACEOF
52802 if ac_fn_cxx_try_compile "$LINENO"; then :
52803 glibcxx_cv_func_isinf_use=yes
52804 else
52805 glibcxx_cv_func_isinf_use=no
52807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52808 ac_ext=c
52809 ac_cpp='$CPP $CPPFLAGS'
52810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52819 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52821 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52822 for ac_func in isinf
52823 do :
52824 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52825 if test "x$ac_cv_func_isinf" = x""yes; then :
52826 cat >>confdefs.h <<_ACEOF
52827 #define HAVE_ISINF 1
52828 _ACEOF
52831 done
52833 else
52835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52836 $as_echo_n "checking for _isinf declaration... " >&6; }
52837 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52838 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52839 $as_echo_n "(cached) " >&6
52840 else
52843 ac_ext=cpp
52844 ac_cpp='$CXXCPP $CPPFLAGS'
52845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52850 /* end confdefs.h. */
52851 #include <math.h>
52852 #ifdef HAVE_IEEEFP_H
52853 #include <ieeefp.h>
52854 #endif
52857 main ()
52859 _isinf(0);
52861 return 0;
52863 _ACEOF
52864 if ac_fn_cxx_try_compile "$LINENO"; then :
52865 glibcxx_cv_func__isinf_use=yes
52866 else
52867 glibcxx_cv_func__isinf_use=no
52869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52870 ac_ext=c
52871 ac_cpp='$CPP $CPPFLAGS'
52872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52881 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52883 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52884 for ac_func in _isinf
52885 do :
52886 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52887 if test "x$ac_cv_func__isinf" = x""yes; then :
52888 cat >>confdefs.h <<_ACEOF
52889 #define HAVE__ISINF 1
52890 _ACEOF
52893 done
52902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52903 $as_echo_n "checking for isnan declaration... " >&6; }
52904 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52905 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52906 $as_echo_n "(cached) " >&6
52907 else
52910 ac_ext=cpp
52911 ac_cpp='$CXXCPP $CPPFLAGS'
52912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52917 /* end confdefs.h. */
52918 #include <math.h>
52919 #ifdef HAVE_IEEEFP_H
52920 #include <ieeefp.h>
52921 #endif
52924 main ()
52926 isnan(0);
52928 return 0;
52930 _ACEOF
52931 if ac_fn_cxx_try_compile "$LINENO"; then :
52932 glibcxx_cv_func_isnan_use=yes
52933 else
52934 glibcxx_cv_func_isnan_use=no
52936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52937 ac_ext=c
52938 ac_cpp='$CPP $CPPFLAGS'
52939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52948 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52950 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52951 for ac_func in isnan
52952 do :
52953 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52954 if test "x$ac_cv_func_isnan" = x""yes; then :
52955 cat >>confdefs.h <<_ACEOF
52956 #define HAVE_ISNAN 1
52957 _ACEOF
52960 done
52962 else
52964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52965 $as_echo_n "checking for _isnan declaration... " >&6; }
52966 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52967 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52968 $as_echo_n "(cached) " >&6
52969 else
52972 ac_ext=cpp
52973 ac_cpp='$CXXCPP $CPPFLAGS'
52974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52979 /* end confdefs.h. */
52980 #include <math.h>
52981 #ifdef HAVE_IEEEFP_H
52982 #include <ieeefp.h>
52983 #endif
52986 main ()
52988 _isnan(0);
52990 return 0;
52992 _ACEOF
52993 if ac_fn_cxx_try_compile "$LINENO"; then :
52994 glibcxx_cv_func__isnan_use=yes
52995 else
52996 glibcxx_cv_func__isnan_use=no
52998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52999 ac_ext=c
53000 ac_cpp='$CPP $CPPFLAGS'
53001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53010 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53012 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53013 for ac_func in _isnan
53014 do :
53015 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53016 if test "x$ac_cv_func__isnan" = x""yes; then :
53017 cat >>confdefs.h <<_ACEOF
53018 #define HAVE__ISNAN 1
53019 _ACEOF
53022 done
53031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53032 $as_echo_n "checking for finite declaration... " >&6; }
53033 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53034 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53035 $as_echo_n "(cached) " >&6
53036 else
53039 ac_ext=cpp
53040 ac_cpp='$CXXCPP $CPPFLAGS'
53041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53046 /* end confdefs.h. */
53047 #include <math.h>
53048 #ifdef HAVE_IEEEFP_H
53049 #include <ieeefp.h>
53050 #endif
53053 main ()
53055 finite(0);
53057 return 0;
53059 _ACEOF
53060 if ac_fn_cxx_try_compile "$LINENO"; then :
53061 glibcxx_cv_func_finite_use=yes
53062 else
53063 glibcxx_cv_func_finite_use=no
53065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53066 ac_ext=c
53067 ac_cpp='$CPP $CPPFLAGS'
53068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53077 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53079 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53080 for ac_func in finite
53081 do :
53082 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53083 if test "x$ac_cv_func_finite" = x""yes; then :
53084 cat >>confdefs.h <<_ACEOF
53085 #define HAVE_FINITE 1
53086 _ACEOF
53089 done
53091 else
53093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53094 $as_echo_n "checking for _finite declaration... " >&6; }
53095 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53096 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53097 $as_echo_n "(cached) " >&6
53098 else
53101 ac_ext=cpp
53102 ac_cpp='$CXXCPP $CPPFLAGS'
53103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53108 /* end confdefs.h. */
53109 #include <math.h>
53110 #ifdef HAVE_IEEEFP_H
53111 #include <ieeefp.h>
53112 #endif
53115 main ()
53117 _finite(0);
53119 return 0;
53121 _ACEOF
53122 if ac_fn_cxx_try_compile "$LINENO"; then :
53123 glibcxx_cv_func__finite_use=yes
53124 else
53125 glibcxx_cv_func__finite_use=no
53127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53128 ac_ext=c
53129 ac_cpp='$CPP $CPPFLAGS'
53130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53139 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53141 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53142 for ac_func in _finite
53143 do :
53144 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53145 if test "x$ac_cv_func__finite" = x""yes; then :
53146 cat >>confdefs.h <<_ACEOF
53147 #define HAVE__FINITE 1
53148 _ACEOF
53151 done
53160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53161 $as_echo_n "checking for sincos declaration... " >&6; }
53162 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53163 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53164 $as_echo_n "(cached) " >&6
53165 else
53168 ac_ext=cpp
53169 ac_cpp='$CXXCPP $CPPFLAGS'
53170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53175 /* end confdefs.h. */
53176 #include <math.h>
53178 main ()
53180 sincos(0, 0, 0);
53182 return 0;
53184 _ACEOF
53185 if ac_fn_cxx_try_compile "$LINENO"; then :
53186 glibcxx_cv_func_sincos_use=yes
53187 else
53188 glibcxx_cv_func_sincos_use=no
53190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53191 ac_ext=c
53192 ac_cpp='$CPP $CPPFLAGS'
53193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53202 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53204 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53205 for ac_func in sincos
53206 do :
53207 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53208 if test "x$ac_cv_func_sincos" = x""yes; then :
53209 cat >>confdefs.h <<_ACEOF
53210 #define HAVE_SINCOS 1
53211 _ACEOF
53214 done
53216 else
53218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53219 $as_echo_n "checking for _sincos declaration... " >&6; }
53220 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53221 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53222 $as_echo_n "(cached) " >&6
53223 else
53226 ac_ext=cpp
53227 ac_cpp='$CXXCPP $CPPFLAGS'
53228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53233 /* end confdefs.h. */
53234 #include <math.h>
53236 main ()
53238 _sincos(0, 0, 0);
53240 return 0;
53242 _ACEOF
53243 if ac_fn_cxx_try_compile "$LINENO"; then :
53244 glibcxx_cv_func__sincos_use=yes
53245 else
53246 glibcxx_cv_func__sincos_use=no
53248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53249 ac_ext=c
53250 ac_cpp='$CPP $CPPFLAGS'
53251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53260 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53262 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53263 for ac_func in _sincos
53264 do :
53265 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53266 if test "x$ac_cv_func__sincos" = x""yes; then :
53267 cat >>confdefs.h <<_ACEOF
53268 #define HAVE__SINCOS 1
53269 _ACEOF
53272 done
53281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53282 $as_echo_n "checking for fpclass declaration... " >&6; }
53283 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53284 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53285 $as_echo_n "(cached) " >&6
53286 else
53289 ac_ext=cpp
53290 ac_cpp='$CXXCPP $CPPFLAGS'
53291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53296 /* end confdefs.h. */
53297 #include <math.h>
53298 #ifdef HAVE_IEEEFP_H
53299 #include <ieeefp.h>
53300 #endif
53303 main ()
53305 fpclass(0);
53307 return 0;
53309 _ACEOF
53310 if ac_fn_cxx_try_compile "$LINENO"; then :
53311 glibcxx_cv_func_fpclass_use=yes
53312 else
53313 glibcxx_cv_func_fpclass_use=no
53315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53316 ac_ext=c
53317 ac_cpp='$CPP $CPPFLAGS'
53318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53327 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53329 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53330 for ac_func in fpclass
53331 do :
53332 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53333 if test "x$ac_cv_func_fpclass" = x""yes; then :
53334 cat >>confdefs.h <<_ACEOF
53335 #define HAVE_FPCLASS 1
53336 _ACEOF
53339 done
53341 else
53343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53344 $as_echo_n "checking for _fpclass declaration... " >&6; }
53345 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53346 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53347 $as_echo_n "(cached) " >&6
53348 else
53351 ac_ext=cpp
53352 ac_cpp='$CXXCPP $CPPFLAGS'
53353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53358 /* end confdefs.h. */
53359 #include <math.h>
53360 #ifdef HAVE_IEEEFP_H
53361 #include <ieeefp.h>
53362 #endif
53365 main ()
53367 _fpclass(0);
53369 return 0;
53371 _ACEOF
53372 if ac_fn_cxx_try_compile "$LINENO"; then :
53373 glibcxx_cv_func__fpclass_use=yes
53374 else
53375 glibcxx_cv_func__fpclass_use=no
53377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53378 ac_ext=c
53379 ac_cpp='$CPP $CPPFLAGS'
53380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53389 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53391 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53392 for ac_func in _fpclass
53393 do :
53394 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53395 if test "x$ac_cv_func__fpclass" = x""yes; then :
53396 cat >>confdefs.h <<_ACEOF
53397 #define HAVE__FPCLASS 1
53398 _ACEOF
53401 done
53410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53411 $as_echo_n "checking for qfpclass declaration... " >&6; }
53412 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53413 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53414 $as_echo_n "(cached) " >&6
53415 else
53418 ac_ext=cpp
53419 ac_cpp='$CXXCPP $CPPFLAGS'
53420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53425 /* end confdefs.h. */
53426 #include <math.h>
53427 #ifdef HAVE_IEEEFP_H
53428 #include <ieeefp.h>
53429 #endif
53432 main ()
53434 qfpclass(0);
53436 return 0;
53438 _ACEOF
53439 if ac_fn_cxx_try_compile "$LINENO"; then :
53440 glibcxx_cv_func_qfpclass_use=yes
53441 else
53442 glibcxx_cv_func_qfpclass_use=no
53444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53445 ac_ext=c
53446 ac_cpp='$CPP $CPPFLAGS'
53447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53456 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53458 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53459 for ac_func in qfpclass
53460 do :
53461 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53462 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53463 cat >>confdefs.h <<_ACEOF
53464 #define HAVE_QFPCLASS 1
53465 _ACEOF
53468 done
53470 else
53472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53473 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53474 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53475 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53476 $as_echo_n "(cached) " >&6
53477 else
53480 ac_ext=cpp
53481 ac_cpp='$CXXCPP $CPPFLAGS'
53482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53487 /* end confdefs.h. */
53488 #include <math.h>
53489 #ifdef HAVE_IEEEFP_H
53490 #include <ieeefp.h>
53491 #endif
53494 main ()
53496 _qfpclass(0);
53498 return 0;
53500 _ACEOF
53501 if ac_fn_cxx_try_compile "$LINENO"; then :
53502 glibcxx_cv_func__qfpclass_use=yes
53503 else
53504 glibcxx_cv_func__qfpclass_use=no
53506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53507 ac_ext=c
53508 ac_cpp='$CPP $CPPFLAGS'
53509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53518 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53520 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53521 for ac_func in _qfpclass
53522 do :
53523 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53524 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53525 cat >>confdefs.h <<_ACEOF
53526 #define HAVE__QFPCLASS 1
53527 _ACEOF
53530 done
53539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53540 $as_echo_n "checking for hypot declaration... " >&6; }
53541 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53542 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53543 $as_echo_n "(cached) " >&6
53544 else
53547 ac_ext=cpp
53548 ac_cpp='$CXXCPP $CPPFLAGS'
53549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53554 /* end confdefs.h. */
53555 #include <math.h>
53557 main ()
53559 hypot(0, 0);
53561 return 0;
53563 _ACEOF
53564 if ac_fn_cxx_try_compile "$LINENO"; then :
53565 glibcxx_cv_func_hypot_use=yes
53566 else
53567 glibcxx_cv_func_hypot_use=no
53569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53570 ac_ext=c
53571 ac_cpp='$CPP $CPPFLAGS'
53572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53581 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53583 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53584 for ac_func in hypot
53585 do :
53586 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53587 if test "x$ac_cv_func_hypot" = x""yes; then :
53588 cat >>confdefs.h <<_ACEOF
53589 #define HAVE_HYPOT 1
53590 _ACEOF
53593 done
53595 else
53597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53598 $as_echo_n "checking for _hypot declaration... " >&6; }
53599 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53600 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53601 $as_echo_n "(cached) " >&6
53602 else
53605 ac_ext=cpp
53606 ac_cpp='$CXXCPP $CPPFLAGS'
53607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53612 /* end confdefs.h. */
53613 #include <math.h>
53615 main ()
53617 _hypot(0, 0);
53619 return 0;
53621 _ACEOF
53622 if ac_fn_cxx_try_compile "$LINENO"; then :
53623 glibcxx_cv_func__hypot_use=yes
53624 else
53625 glibcxx_cv_func__hypot_use=no
53627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53628 ac_ext=c
53629 ac_cpp='$CPP $CPPFLAGS'
53630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53639 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53641 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53642 for ac_func in _hypot
53643 do :
53644 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53645 if test "x$ac_cv_func__hypot" = x""yes; then :
53646 cat >>confdefs.h <<_ACEOF
53647 #define HAVE__HYPOT 1
53648 _ACEOF
53651 done
53660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53661 $as_echo_n "checking for float trig functions... " >&6; }
53662 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53663 $as_echo_n "(cached) " >&6
53664 else
53667 ac_ext=cpp
53668 ac_cpp='$CXXCPP $CPPFLAGS'
53669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53674 /* end confdefs.h. */
53675 #include <math.h>
53677 main ()
53679 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53681 return 0;
53683 _ACEOF
53684 if ac_fn_cxx_try_compile "$LINENO"; then :
53685 glibcxx_cv_func_float_trig_use=yes
53686 else
53687 glibcxx_cv_func_float_trig_use=no
53689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53690 ac_ext=c
53691 ac_cpp='$CPP $CPPFLAGS'
53692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53699 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53700 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53701 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53702 do :
53703 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53705 eval as_val=\$$as_ac_var
53706 if test "x$as_val" = x""yes; then :
53707 cat >>confdefs.h <<_ACEOF
53708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53709 _ACEOF
53712 done
53714 else
53715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53716 $as_echo_n "checking for _float trig functions... " >&6; }
53717 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53718 $as_echo_n "(cached) " >&6
53719 else
53722 ac_ext=cpp
53723 ac_cpp='$CXXCPP $CPPFLAGS'
53724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53729 /* end confdefs.h. */
53730 #include <math.h>
53732 main ()
53734 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53736 return 0;
53738 _ACEOF
53739 if ac_fn_cxx_try_compile "$LINENO"; then :
53740 glibcxx_cv_func__float_trig_use=yes
53741 else
53742 glibcxx_cv_func__float_trig_use=no
53744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53745 ac_ext=c
53746 ac_cpp='$CPP $CPPFLAGS'
53747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53754 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53755 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53756 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53757 do :
53758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53760 eval as_val=\$$as_ac_var
53761 if test "x$as_val" = x""yes; then :
53762 cat >>confdefs.h <<_ACEOF
53763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53764 _ACEOF
53767 done
53776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53777 $as_echo_n "checking for float round functions... " >&6; }
53778 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53779 $as_echo_n "(cached) " >&6
53780 else
53783 ac_ext=cpp
53784 ac_cpp='$CXXCPP $CPPFLAGS'
53785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53790 /* end confdefs.h. */
53791 #include <math.h>
53793 main ()
53795 ceilf (0); floorf (0);
53797 return 0;
53799 _ACEOF
53800 if ac_fn_cxx_try_compile "$LINENO"; then :
53801 glibcxx_cv_func_float_round_use=yes
53802 else
53803 glibcxx_cv_func_float_round_use=no
53805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53806 ac_ext=c
53807 ac_cpp='$CPP $CPPFLAGS'
53808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53815 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53816 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53817 for ac_func in ceilf floorf
53818 do :
53819 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53820 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53821 eval as_val=\$$as_ac_var
53822 if test "x$as_val" = x""yes; then :
53823 cat >>confdefs.h <<_ACEOF
53824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53825 _ACEOF
53828 done
53830 else
53831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53832 $as_echo_n "checking for _float round functions... " >&6; }
53833 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53834 $as_echo_n "(cached) " >&6
53835 else
53838 ac_ext=cpp
53839 ac_cpp='$CXXCPP $CPPFLAGS'
53840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53845 /* end confdefs.h. */
53846 #include <math.h>
53848 main ()
53850 _ceilf (0); _floorf (0);
53852 return 0;
53854 _ACEOF
53855 if ac_fn_cxx_try_compile "$LINENO"; then :
53856 glibcxx_cv_func__float_round_use=yes
53857 else
53858 glibcxx_cv_func__float_round_use=no
53860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53861 ac_ext=c
53862 ac_cpp='$CPP $CPPFLAGS'
53863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53870 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53871 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53872 for ac_func in _ceilf _floorf
53873 do :
53874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53876 eval as_val=\$$as_ac_var
53877 if test "x$as_val" = x""yes; then :
53878 cat >>confdefs.h <<_ACEOF
53879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53880 _ACEOF
53883 done
53893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53894 $as_echo_n "checking for expf declaration... " >&6; }
53895 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53896 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53897 $as_echo_n "(cached) " >&6
53898 else
53901 ac_ext=cpp
53902 ac_cpp='$CXXCPP $CPPFLAGS'
53903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53908 /* end confdefs.h. */
53909 #include <math.h>
53910 #ifdef HAVE_IEEEFP_H
53911 #include <ieeefp.h>
53912 #endif
53915 main ()
53917 expf(0);
53919 return 0;
53921 _ACEOF
53922 if ac_fn_cxx_try_compile "$LINENO"; then :
53923 glibcxx_cv_func_expf_use=yes
53924 else
53925 glibcxx_cv_func_expf_use=no
53927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53928 ac_ext=c
53929 ac_cpp='$CPP $CPPFLAGS'
53930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53939 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53941 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53942 for ac_func in expf
53943 do :
53944 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53945 if test "x$ac_cv_func_expf" = x""yes; then :
53946 cat >>confdefs.h <<_ACEOF
53947 #define HAVE_EXPF 1
53948 _ACEOF
53951 done
53953 else
53955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53956 $as_echo_n "checking for _expf declaration... " >&6; }
53957 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53958 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53959 $as_echo_n "(cached) " >&6
53960 else
53963 ac_ext=cpp
53964 ac_cpp='$CXXCPP $CPPFLAGS'
53965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53970 /* end confdefs.h. */
53971 #include <math.h>
53972 #ifdef HAVE_IEEEFP_H
53973 #include <ieeefp.h>
53974 #endif
53977 main ()
53979 _expf(0);
53981 return 0;
53983 _ACEOF
53984 if ac_fn_cxx_try_compile "$LINENO"; then :
53985 glibcxx_cv_func__expf_use=yes
53986 else
53987 glibcxx_cv_func__expf_use=no
53989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53990 ac_ext=c
53991 ac_cpp='$CPP $CPPFLAGS'
53992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54001 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54003 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54004 for ac_func in _expf
54005 do :
54006 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54007 if test "x$ac_cv_func__expf" = x""yes; then :
54008 cat >>confdefs.h <<_ACEOF
54009 #define HAVE__EXPF 1
54010 _ACEOF
54013 done
54022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54023 $as_echo_n "checking for isnanf declaration... " >&6; }
54024 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54025 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54026 $as_echo_n "(cached) " >&6
54027 else
54030 ac_ext=cpp
54031 ac_cpp='$CXXCPP $CPPFLAGS'
54032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54037 /* end confdefs.h. */
54038 #include <math.h>
54039 #ifdef HAVE_IEEEFP_H
54040 #include <ieeefp.h>
54041 #endif
54044 main ()
54046 isnanf(0);
54048 return 0;
54050 _ACEOF
54051 if ac_fn_cxx_try_compile "$LINENO"; then :
54052 glibcxx_cv_func_isnanf_use=yes
54053 else
54054 glibcxx_cv_func_isnanf_use=no
54056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54057 ac_ext=c
54058 ac_cpp='$CPP $CPPFLAGS'
54059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54068 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54070 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54071 for ac_func in isnanf
54072 do :
54073 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54074 if test "x$ac_cv_func_isnanf" = x""yes; then :
54075 cat >>confdefs.h <<_ACEOF
54076 #define HAVE_ISNANF 1
54077 _ACEOF
54080 done
54082 else
54084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54085 $as_echo_n "checking for _isnanf declaration... " >&6; }
54086 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54087 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54088 $as_echo_n "(cached) " >&6
54089 else
54092 ac_ext=cpp
54093 ac_cpp='$CXXCPP $CPPFLAGS'
54094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54099 /* end confdefs.h. */
54100 #include <math.h>
54101 #ifdef HAVE_IEEEFP_H
54102 #include <ieeefp.h>
54103 #endif
54106 main ()
54108 _isnanf(0);
54110 return 0;
54112 _ACEOF
54113 if ac_fn_cxx_try_compile "$LINENO"; then :
54114 glibcxx_cv_func__isnanf_use=yes
54115 else
54116 glibcxx_cv_func__isnanf_use=no
54118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54119 ac_ext=c
54120 ac_cpp='$CPP $CPPFLAGS'
54121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54130 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54132 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54133 for ac_func in _isnanf
54134 do :
54135 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54136 if test "x$ac_cv_func__isnanf" = x""yes; then :
54137 cat >>confdefs.h <<_ACEOF
54138 #define HAVE__ISNANF 1
54139 _ACEOF
54142 done
54151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54152 $as_echo_n "checking for isinff declaration... " >&6; }
54153 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54154 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54155 $as_echo_n "(cached) " >&6
54156 else
54159 ac_ext=cpp
54160 ac_cpp='$CXXCPP $CPPFLAGS'
54161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54166 /* end confdefs.h. */
54167 #include <math.h>
54168 #ifdef HAVE_IEEEFP_H
54169 #include <ieeefp.h>
54170 #endif
54173 main ()
54175 isinff(0);
54177 return 0;
54179 _ACEOF
54180 if ac_fn_cxx_try_compile "$LINENO"; then :
54181 glibcxx_cv_func_isinff_use=yes
54182 else
54183 glibcxx_cv_func_isinff_use=no
54185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54186 ac_ext=c
54187 ac_cpp='$CPP $CPPFLAGS'
54188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54197 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54199 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54200 for ac_func in isinff
54201 do :
54202 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54203 if test "x$ac_cv_func_isinff" = x""yes; then :
54204 cat >>confdefs.h <<_ACEOF
54205 #define HAVE_ISINFF 1
54206 _ACEOF
54209 done
54211 else
54213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54214 $as_echo_n "checking for _isinff declaration... " >&6; }
54215 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54216 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54217 $as_echo_n "(cached) " >&6
54218 else
54221 ac_ext=cpp
54222 ac_cpp='$CXXCPP $CPPFLAGS'
54223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54228 /* end confdefs.h. */
54229 #include <math.h>
54230 #ifdef HAVE_IEEEFP_H
54231 #include <ieeefp.h>
54232 #endif
54235 main ()
54237 _isinff(0);
54239 return 0;
54241 _ACEOF
54242 if ac_fn_cxx_try_compile "$LINENO"; then :
54243 glibcxx_cv_func__isinff_use=yes
54244 else
54245 glibcxx_cv_func__isinff_use=no
54247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54248 ac_ext=c
54249 ac_cpp='$CPP $CPPFLAGS'
54250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54259 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54261 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54262 for ac_func in _isinff
54263 do :
54264 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54265 if test "x$ac_cv_func__isinff" = x""yes; then :
54266 cat >>confdefs.h <<_ACEOF
54267 #define HAVE__ISINFF 1
54268 _ACEOF
54271 done
54280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54281 $as_echo_n "checking for atan2f declaration... " >&6; }
54282 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54283 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54284 $as_echo_n "(cached) " >&6
54285 else
54288 ac_ext=cpp
54289 ac_cpp='$CXXCPP $CPPFLAGS'
54290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54295 /* end confdefs.h. */
54296 #include <math.h>
54298 main ()
54300 atan2f(0, 0);
54302 return 0;
54304 _ACEOF
54305 if ac_fn_cxx_try_compile "$LINENO"; then :
54306 glibcxx_cv_func_atan2f_use=yes
54307 else
54308 glibcxx_cv_func_atan2f_use=no
54310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54311 ac_ext=c
54312 ac_cpp='$CPP $CPPFLAGS'
54313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54322 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54324 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54325 for ac_func in atan2f
54326 do :
54327 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54328 if test "x$ac_cv_func_atan2f" = x""yes; then :
54329 cat >>confdefs.h <<_ACEOF
54330 #define HAVE_ATAN2F 1
54331 _ACEOF
54334 done
54336 else
54338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54339 $as_echo_n "checking for _atan2f declaration... " >&6; }
54340 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54341 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54342 $as_echo_n "(cached) " >&6
54343 else
54346 ac_ext=cpp
54347 ac_cpp='$CXXCPP $CPPFLAGS'
54348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54353 /* end confdefs.h. */
54354 #include <math.h>
54356 main ()
54358 _atan2f(0, 0);
54360 return 0;
54362 _ACEOF
54363 if ac_fn_cxx_try_compile "$LINENO"; then :
54364 glibcxx_cv_func__atan2f_use=yes
54365 else
54366 glibcxx_cv_func__atan2f_use=no
54368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54369 ac_ext=c
54370 ac_cpp='$CPP $CPPFLAGS'
54371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54380 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54382 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54383 for ac_func in _atan2f
54384 do :
54385 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54386 if test "x$ac_cv_func__atan2f" = x""yes; then :
54387 cat >>confdefs.h <<_ACEOF
54388 #define HAVE__ATAN2F 1
54389 _ACEOF
54392 done
54401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54402 $as_echo_n "checking for fabsf declaration... " >&6; }
54403 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54404 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54405 $as_echo_n "(cached) " >&6
54406 else
54409 ac_ext=cpp
54410 ac_cpp='$CXXCPP $CPPFLAGS'
54411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54416 /* end confdefs.h. */
54417 #include <math.h>
54418 #ifdef HAVE_IEEEFP_H
54419 #include <ieeefp.h>
54420 #endif
54423 main ()
54425 fabsf(0);
54427 return 0;
54429 _ACEOF
54430 if ac_fn_cxx_try_compile "$LINENO"; then :
54431 glibcxx_cv_func_fabsf_use=yes
54432 else
54433 glibcxx_cv_func_fabsf_use=no
54435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54436 ac_ext=c
54437 ac_cpp='$CPP $CPPFLAGS'
54438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54447 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54449 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54450 for ac_func in fabsf
54451 do :
54452 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54453 if test "x$ac_cv_func_fabsf" = x""yes; then :
54454 cat >>confdefs.h <<_ACEOF
54455 #define HAVE_FABSF 1
54456 _ACEOF
54459 done
54461 else
54463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54464 $as_echo_n "checking for _fabsf declaration... " >&6; }
54465 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54466 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54467 $as_echo_n "(cached) " >&6
54468 else
54471 ac_ext=cpp
54472 ac_cpp='$CXXCPP $CPPFLAGS'
54473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54478 /* end confdefs.h. */
54479 #include <math.h>
54480 #ifdef HAVE_IEEEFP_H
54481 #include <ieeefp.h>
54482 #endif
54485 main ()
54487 _fabsf(0);
54489 return 0;
54491 _ACEOF
54492 if ac_fn_cxx_try_compile "$LINENO"; then :
54493 glibcxx_cv_func__fabsf_use=yes
54494 else
54495 glibcxx_cv_func__fabsf_use=no
54497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54498 ac_ext=c
54499 ac_cpp='$CPP $CPPFLAGS'
54500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54509 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54511 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54512 for ac_func in _fabsf
54513 do :
54514 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54515 if test "x$ac_cv_func__fabsf" = x""yes; then :
54516 cat >>confdefs.h <<_ACEOF
54517 #define HAVE__FABSF 1
54518 _ACEOF
54521 done
54530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54531 $as_echo_n "checking for fmodf declaration... " >&6; }
54532 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54533 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54534 $as_echo_n "(cached) " >&6
54535 else
54538 ac_ext=cpp
54539 ac_cpp='$CXXCPP $CPPFLAGS'
54540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54545 /* end confdefs.h. */
54546 #include <math.h>
54548 main ()
54550 fmodf(0, 0);
54552 return 0;
54554 _ACEOF
54555 if ac_fn_cxx_try_compile "$LINENO"; then :
54556 glibcxx_cv_func_fmodf_use=yes
54557 else
54558 glibcxx_cv_func_fmodf_use=no
54560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54561 ac_ext=c
54562 ac_cpp='$CPP $CPPFLAGS'
54563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54572 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54574 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54575 for ac_func in fmodf
54576 do :
54577 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54578 if test "x$ac_cv_func_fmodf" = x""yes; then :
54579 cat >>confdefs.h <<_ACEOF
54580 #define HAVE_FMODF 1
54581 _ACEOF
54584 done
54586 else
54588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54589 $as_echo_n "checking for _fmodf declaration... " >&6; }
54590 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54591 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54592 $as_echo_n "(cached) " >&6
54593 else
54596 ac_ext=cpp
54597 ac_cpp='$CXXCPP $CPPFLAGS'
54598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54603 /* end confdefs.h. */
54604 #include <math.h>
54606 main ()
54608 _fmodf(0, 0);
54610 return 0;
54612 _ACEOF
54613 if ac_fn_cxx_try_compile "$LINENO"; then :
54614 glibcxx_cv_func__fmodf_use=yes
54615 else
54616 glibcxx_cv_func__fmodf_use=no
54618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54619 ac_ext=c
54620 ac_cpp='$CPP $CPPFLAGS'
54621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54630 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54632 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54633 for ac_func in _fmodf
54634 do :
54635 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54636 if test "x$ac_cv_func__fmodf" = x""yes; then :
54637 cat >>confdefs.h <<_ACEOF
54638 #define HAVE__FMODF 1
54639 _ACEOF
54642 done
54651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54652 $as_echo_n "checking for frexpf declaration... " >&6; }
54653 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54654 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54655 $as_echo_n "(cached) " >&6
54656 else
54659 ac_ext=cpp
54660 ac_cpp='$CXXCPP $CPPFLAGS'
54661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54666 /* end confdefs.h. */
54667 #include <math.h>
54669 main ()
54671 frexpf(0, 0);
54673 return 0;
54675 _ACEOF
54676 if ac_fn_cxx_try_compile "$LINENO"; then :
54677 glibcxx_cv_func_frexpf_use=yes
54678 else
54679 glibcxx_cv_func_frexpf_use=no
54681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54682 ac_ext=c
54683 ac_cpp='$CPP $CPPFLAGS'
54684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54693 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54695 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54696 for ac_func in frexpf
54697 do :
54698 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54699 if test "x$ac_cv_func_frexpf" = x""yes; then :
54700 cat >>confdefs.h <<_ACEOF
54701 #define HAVE_FREXPF 1
54702 _ACEOF
54705 done
54707 else
54709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54710 $as_echo_n "checking for _frexpf declaration... " >&6; }
54711 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54712 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54713 $as_echo_n "(cached) " >&6
54714 else
54717 ac_ext=cpp
54718 ac_cpp='$CXXCPP $CPPFLAGS'
54719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54724 /* end confdefs.h. */
54725 #include <math.h>
54727 main ()
54729 _frexpf(0, 0);
54731 return 0;
54733 _ACEOF
54734 if ac_fn_cxx_try_compile "$LINENO"; then :
54735 glibcxx_cv_func__frexpf_use=yes
54736 else
54737 glibcxx_cv_func__frexpf_use=no
54739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54740 ac_ext=c
54741 ac_cpp='$CPP $CPPFLAGS'
54742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54751 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54753 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54754 for ac_func in _frexpf
54755 do :
54756 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54757 if test "x$ac_cv_func__frexpf" = x""yes; then :
54758 cat >>confdefs.h <<_ACEOF
54759 #define HAVE__FREXPF 1
54760 _ACEOF
54763 done
54772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54773 $as_echo_n "checking for hypotf declaration... " >&6; }
54774 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54775 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54776 $as_echo_n "(cached) " >&6
54777 else
54780 ac_ext=cpp
54781 ac_cpp='$CXXCPP $CPPFLAGS'
54782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54787 /* end confdefs.h. */
54788 #include <math.h>
54790 main ()
54792 hypotf(0, 0);
54794 return 0;
54796 _ACEOF
54797 if ac_fn_cxx_try_compile "$LINENO"; then :
54798 glibcxx_cv_func_hypotf_use=yes
54799 else
54800 glibcxx_cv_func_hypotf_use=no
54802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54803 ac_ext=c
54804 ac_cpp='$CPP $CPPFLAGS'
54805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54814 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54816 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54817 for ac_func in hypotf
54818 do :
54819 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54820 if test "x$ac_cv_func_hypotf" = x""yes; then :
54821 cat >>confdefs.h <<_ACEOF
54822 #define HAVE_HYPOTF 1
54823 _ACEOF
54826 done
54828 else
54830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54831 $as_echo_n "checking for _hypotf declaration... " >&6; }
54832 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54833 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54834 $as_echo_n "(cached) " >&6
54835 else
54838 ac_ext=cpp
54839 ac_cpp='$CXXCPP $CPPFLAGS'
54840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54845 /* end confdefs.h. */
54846 #include <math.h>
54848 main ()
54850 _hypotf(0, 0);
54852 return 0;
54854 _ACEOF
54855 if ac_fn_cxx_try_compile "$LINENO"; then :
54856 glibcxx_cv_func__hypotf_use=yes
54857 else
54858 glibcxx_cv_func__hypotf_use=no
54860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54861 ac_ext=c
54862 ac_cpp='$CPP $CPPFLAGS'
54863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54872 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54874 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54875 for ac_func in _hypotf
54876 do :
54877 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54878 if test "x$ac_cv_func__hypotf" = x""yes; then :
54879 cat >>confdefs.h <<_ACEOF
54880 #define HAVE__HYPOTF 1
54881 _ACEOF
54884 done
54893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54894 $as_echo_n "checking for ldexpf declaration... " >&6; }
54895 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54896 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54897 $as_echo_n "(cached) " >&6
54898 else
54901 ac_ext=cpp
54902 ac_cpp='$CXXCPP $CPPFLAGS'
54903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54908 /* end confdefs.h. */
54909 #include <math.h>
54911 main ()
54913 ldexpf(0, 0);
54915 return 0;
54917 _ACEOF
54918 if ac_fn_cxx_try_compile "$LINENO"; then :
54919 glibcxx_cv_func_ldexpf_use=yes
54920 else
54921 glibcxx_cv_func_ldexpf_use=no
54923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54924 ac_ext=c
54925 ac_cpp='$CPP $CPPFLAGS'
54926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54935 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54937 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54938 for ac_func in ldexpf
54939 do :
54940 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54941 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54942 cat >>confdefs.h <<_ACEOF
54943 #define HAVE_LDEXPF 1
54944 _ACEOF
54947 done
54949 else
54951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54952 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54953 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54954 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54955 $as_echo_n "(cached) " >&6
54956 else
54959 ac_ext=cpp
54960 ac_cpp='$CXXCPP $CPPFLAGS'
54961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54966 /* end confdefs.h. */
54967 #include <math.h>
54969 main ()
54971 _ldexpf(0, 0);
54973 return 0;
54975 _ACEOF
54976 if ac_fn_cxx_try_compile "$LINENO"; then :
54977 glibcxx_cv_func__ldexpf_use=yes
54978 else
54979 glibcxx_cv_func__ldexpf_use=no
54981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54982 ac_ext=c
54983 ac_cpp='$CPP $CPPFLAGS'
54984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54993 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54995 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54996 for ac_func in _ldexpf
54997 do :
54998 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54999 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55000 cat >>confdefs.h <<_ACEOF
55001 #define HAVE__LDEXPF 1
55002 _ACEOF
55005 done
55014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55015 $as_echo_n "checking for logf declaration... " >&6; }
55016 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55017 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55018 $as_echo_n "(cached) " >&6
55019 else
55022 ac_ext=cpp
55023 ac_cpp='$CXXCPP $CPPFLAGS'
55024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55029 /* end confdefs.h. */
55030 #include <math.h>
55031 #ifdef HAVE_IEEEFP_H
55032 #include <ieeefp.h>
55033 #endif
55036 main ()
55038 logf(0);
55040 return 0;
55042 _ACEOF
55043 if ac_fn_cxx_try_compile "$LINENO"; then :
55044 glibcxx_cv_func_logf_use=yes
55045 else
55046 glibcxx_cv_func_logf_use=no
55048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55049 ac_ext=c
55050 ac_cpp='$CPP $CPPFLAGS'
55051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55060 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55062 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55063 for ac_func in logf
55064 do :
55065 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55066 if test "x$ac_cv_func_logf" = x""yes; then :
55067 cat >>confdefs.h <<_ACEOF
55068 #define HAVE_LOGF 1
55069 _ACEOF
55072 done
55074 else
55076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55077 $as_echo_n "checking for _logf declaration... " >&6; }
55078 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55079 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55080 $as_echo_n "(cached) " >&6
55081 else
55084 ac_ext=cpp
55085 ac_cpp='$CXXCPP $CPPFLAGS'
55086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55091 /* end confdefs.h. */
55092 #include <math.h>
55093 #ifdef HAVE_IEEEFP_H
55094 #include <ieeefp.h>
55095 #endif
55098 main ()
55100 _logf(0);
55102 return 0;
55104 _ACEOF
55105 if ac_fn_cxx_try_compile "$LINENO"; then :
55106 glibcxx_cv_func__logf_use=yes
55107 else
55108 glibcxx_cv_func__logf_use=no
55110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55111 ac_ext=c
55112 ac_cpp='$CPP $CPPFLAGS'
55113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55122 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55124 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55125 for ac_func in _logf
55126 do :
55127 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55128 if test "x$ac_cv_func__logf" = x""yes; then :
55129 cat >>confdefs.h <<_ACEOF
55130 #define HAVE__LOGF 1
55131 _ACEOF
55134 done
55143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55144 $as_echo_n "checking for log10f declaration... " >&6; }
55145 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55146 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55147 $as_echo_n "(cached) " >&6
55148 else
55151 ac_ext=cpp
55152 ac_cpp='$CXXCPP $CPPFLAGS'
55153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55158 /* end confdefs.h. */
55159 #include <math.h>
55160 #ifdef HAVE_IEEEFP_H
55161 #include <ieeefp.h>
55162 #endif
55165 main ()
55167 log10f(0);
55169 return 0;
55171 _ACEOF
55172 if ac_fn_cxx_try_compile "$LINENO"; then :
55173 glibcxx_cv_func_log10f_use=yes
55174 else
55175 glibcxx_cv_func_log10f_use=no
55177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55178 ac_ext=c
55179 ac_cpp='$CPP $CPPFLAGS'
55180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55189 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55191 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55192 for ac_func in log10f
55193 do :
55194 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55195 if test "x$ac_cv_func_log10f" = x""yes; then :
55196 cat >>confdefs.h <<_ACEOF
55197 #define HAVE_LOG10F 1
55198 _ACEOF
55201 done
55203 else
55205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55206 $as_echo_n "checking for _log10f declaration... " >&6; }
55207 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55208 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55209 $as_echo_n "(cached) " >&6
55210 else
55213 ac_ext=cpp
55214 ac_cpp='$CXXCPP $CPPFLAGS'
55215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55220 /* end confdefs.h. */
55221 #include <math.h>
55222 #ifdef HAVE_IEEEFP_H
55223 #include <ieeefp.h>
55224 #endif
55227 main ()
55229 _log10f(0);
55231 return 0;
55233 _ACEOF
55234 if ac_fn_cxx_try_compile "$LINENO"; then :
55235 glibcxx_cv_func__log10f_use=yes
55236 else
55237 glibcxx_cv_func__log10f_use=no
55239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55240 ac_ext=c
55241 ac_cpp='$CPP $CPPFLAGS'
55242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55251 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55253 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55254 for ac_func in _log10f
55255 do :
55256 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55257 if test "x$ac_cv_func__log10f" = x""yes; then :
55258 cat >>confdefs.h <<_ACEOF
55259 #define HAVE__LOG10F 1
55260 _ACEOF
55263 done
55272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55273 $as_echo_n "checking for modff declaration... " >&6; }
55274 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55275 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55276 $as_echo_n "(cached) " >&6
55277 else
55280 ac_ext=cpp
55281 ac_cpp='$CXXCPP $CPPFLAGS'
55282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55287 /* end confdefs.h. */
55288 #include <math.h>
55290 main ()
55292 modff(0, 0);
55294 return 0;
55296 _ACEOF
55297 if ac_fn_cxx_try_compile "$LINENO"; then :
55298 glibcxx_cv_func_modff_use=yes
55299 else
55300 glibcxx_cv_func_modff_use=no
55302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55303 ac_ext=c
55304 ac_cpp='$CPP $CPPFLAGS'
55305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55314 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55316 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55317 for ac_func in modff
55318 do :
55319 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55320 if test "x$ac_cv_func_modff" = x""yes; then :
55321 cat >>confdefs.h <<_ACEOF
55322 #define HAVE_MODFF 1
55323 _ACEOF
55326 done
55328 else
55330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55331 $as_echo_n "checking for _modff declaration... " >&6; }
55332 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55333 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55334 $as_echo_n "(cached) " >&6
55335 else
55338 ac_ext=cpp
55339 ac_cpp='$CXXCPP $CPPFLAGS'
55340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55345 /* end confdefs.h. */
55346 #include <math.h>
55348 main ()
55350 _modff(0, 0);
55352 return 0;
55354 _ACEOF
55355 if ac_fn_cxx_try_compile "$LINENO"; then :
55356 glibcxx_cv_func__modff_use=yes
55357 else
55358 glibcxx_cv_func__modff_use=no
55360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55361 ac_ext=c
55362 ac_cpp='$CPP $CPPFLAGS'
55363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55372 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55374 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55375 for ac_func in _modff
55376 do :
55377 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55378 if test "x$ac_cv_func__modff" = x""yes; then :
55379 cat >>confdefs.h <<_ACEOF
55380 #define HAVE__MODFF 1
55381 _ACEOF
55384 done
55393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55394 $as_echo_n "checking for modf declaration... " >&6; }
55395 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55396 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55397 $as_echo_n "(cached) " >&6
55398 else
55401 ac_ext=cpp
55402 ac_cpp='$CXXCPP $CPPFLAGS'
55403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55408 /* end confdefs.h. */
55409 #include <math.h>
55411 main ()
55413 modf(0, 0);
55415 return 0;
55417 _ACEOF
55418 if ac_fn_cxx_try_compile "$LINENO"; then :
55419 glibcxx_cv_func_modf_use=yes
55420 else
55421 glibcxx_cv_func_modf_use=no
55423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55424 ac_ext=c
55425 ac_cpp='$CPP $CPPFLAGS'
55426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55435 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55437 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55438 for ac_func in modf
55439 do :
55440 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55441 if test "x$ac_cv_func_modf" = x""yes; then :
55442 cat >>confdefs.h <<_ACEOF
55443 #define HAVE_MODF 1
55444 _ACEOF
55447 done
55449 else
55451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55452 $as_echo_n "checking for _modf declaration... " >&6; }
55453 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55454 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55455 $as_echo_n "(cached) " >&6
55456 else
55459 ac_ext=cpp
55460 ac_cpp='$CXXCPP $CPPFLAGS'
55461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55466 /* end confdefs.h. */
55467 #include <math.h>
55469 main ()
55471 _modf(0, 0);
55473 return 0;
55475 _ACEOF
55476 if ac_fn_cxx_try_compile "$LINENO"; then :
55477 glibcxx_cv_func__modf_use=yes
55478 else
55479 glibcxx_cv_func__modf_use=no
55481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55482 ac_ext=c
55483 ac_cpp='$CPP $CPPFLAGS'
55484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55493 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55495 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55496 for ac_func in _modf
55497 do :
55498 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55499 if test "x$ac_cv_func__modf" = x""yes; then :
55500 cat >>confdefs.h <<_ACEOF
55501 #define HAVE__MODF 1
55502 _ACEOF
55505 done
55514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55515 $as_echo_n "checking for powf declaration... " >&6; }
55516 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55517 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55518 $as_echo_n "(cached) " >&6
55519 else
55522 ac_ext=cpp
55523 ac_cpp='$CXXCPP $CPPFLAGS'
55524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55529 /* end confdefs.h. */
55530 #include <math.h>
55532 main ()
55534 powf(0, 0);
55536 return 0;
55538 _ACEOF
55539 if ac_fn_cxx_try_compile "$LINENO"; then :
55540 glibcxx_cv_func_powf_use=yes
55541 else
55542 glibcxx_cv_func_powf_use=no
55544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55545 ac_ext=c
55546 ac_cpp='$CPP $CPPFLAGS'
55547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55556 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55558 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55559 for ac_func in powf
55560 do :
55561 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55562 if test "x$ac_cv_func_powf" = x""yes; then :
55563 cat >>confdefs.h <<_ACEOF
55564 #define HAVE_POWF 1
55565 _ACEOF
55568 done
55570 else
55572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55573 $as_echo_n "checking for _powf declaration... " >&6; }
55574 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55575 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55576 $as_echo_n "(cached) " >&6
55577 else
55580 ac_ext=cpp
55581 ac_cpp='$CXXCPP $CPPFLAGS'
55582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55587 /* end confdefs.h. */
55588 #include <math.h>
55590 main ()
55592 _powf(0, 0);
55594 return 0;
55596 _ACEOF
55597 if ac_fn_cxx_try_compile "$LINENO"; then :
55598 glibcxx_cv_func__powf_use=yes
55599 else
55600 glibcxx_cv_func__powf_use=no
55602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55603 ac_ext=c
55604 ac_cpp='$CPP $CPPFLAGS'
55605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55614 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55616 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55617 for ac_func in _powf
55618 do :
55619 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55620 if test "x$ac_cv_func__powf" = x""yes; then :
55621 cat >>confdefs.h <<_ACEOF
55622 #define HAVE__POWF 1
55623 _ACEOF
55626 done
55635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55636 $as_echo_n "checking for sqrtf declaration... " >&6; }
55637 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55638 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55639 $as_echo_n "(cached) " >&6
55640 else
55643 ac_ext=cpp
55644 ac_cpp='$CXXCPP $CPPFLAGS'
55645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55650 /* end confdefs.h. */
55651 #include <math.h>
55652 #ifdef HAVE_IEEEFP_H
55653 #include <ieeefp.h>
55654 #endif
55657 main ()
55659 sqrtf(0);
55661 return 0;
55663 _ACEOF
55664 if ac_fn_cxx_try_compile "$LINENO"; then :
55665 glibcxx_cv_func_sqrtf_use=yes
55666 else
55667 glibcxx_cv_func_sqrtf_use=no
55669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55670 ac_ext=c
55671 ac_cpp='$CPP $CPPFLAGS'
55672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55681 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55683 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55684 for ac_func in sqrtf
55685 do :
55686 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55687 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55688 cat >>confdefs.h <<_ACEOF
55689 #define HAVE_SQRTF 1
55690 _ACEOF
55693 done
55695 else
55697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55698 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55699 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55700 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55701 $as_echo_n "(cached) " >&6
55702 else
55705 ac_ext=cpp
55706 ac_cpp='$CXXCPP $CPPFLAGS'
55707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55712 /* end confdefs.h. */
55713 #include <math.h>
55714 #ifdef HAVE_IEEEFP_H
55715 #include <ieeefp.h>
55716 #endif
55719 main ()
55721 _sqrtf(0);
55723 return 0;
55725 _ACEOF
55726 if ac_fn_cxx_try_compile "$LINENO"; then :
55727 glibcxx_cv_func__sqrtf_use=yes
55728 else
55729 glibcxx_cv_func__sqrtf_use=no
55731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55732 ac_ext=c
55733 ac_cpp='$CPP $CPPFLAGS'
55734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55743 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55745 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55746 for ac_func in _sqrtf
55747 do :
55748 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55749 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55750 cat >>confdefs.h <<_ACEOF
55751 #define HAVE__SQRTF 1
55752 _ACEOF
55755 done
55764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55765 $as_echo_n "checking for sincosf declaration... " >&6; }
55766 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55767 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55768 $as_echo_n "(cached) " >&6
55769 else
55772 ac_ext=cpp
55773 ac_cpp='$CXXCPP $CPPFLAGS'
55774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55779 /* end confdefs.h. */
55780 #include <math.h>
55782 main ()
55784 sincosf(0, 0, 0);
55786 return 0;
55788 _ACEOF
55789 if ac_fn_cxx_try_compile "$LINENO"; then :
55790 glibcxx_cv_func_sincosf_use=yes
55791 else
55792 glibcxx_cv_func_sincosf_use=no
55794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55795 ac_ext=c
55796 ac_cpp='$CPP $CPPFLAGS'
55797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55806 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55808 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55809 for ac_func in sincosf
55810 do :
55811 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55812 if test "x$ac_cv_func_sincosf" = x""yes; then :
55813 cat >>confdefs.h <<_ACEOF
55814 #define HAVE_SINCOSF 1
55815 _ACEOF
55818 done
55820 else
55822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55823 $as_echo_n "checking for _sincosf declaration... " >&6; }
55824 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55825 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55826 $as_echo_n "(cached) " >&6
55827 else
55830 ac_ext=cpp
55831 ac_cpp='$CXXCPP $CPPFLAGS'
55832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55837 /* end confdefs.h. */
55838 #include <math.h>
55840 main ()
55842 _sincosf(0, 0, 0);
55844 return 0;
55846 _ACEOF
55847 if ac_fn_cxx_try_compile "$LINENO"; then :
55848 glibcxx_cv_func__sincosf_use=yes
55849 else
55850 glibcxx_cv_func__sincosf_use=no
55852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55853 ac_ext=c
55854 ac_cpp='$CPP $CPPFLAGS'
55855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55864 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55866 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55867 for ac_func in _sincosf
55868 do :
55869 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55870 if test "x$ac_cv_func__sincosf" = x""yes; then :
55871 cat >>confdefs.h <<_ACEOF
55872 #define HAVE__SINCOSF 1
55873 _ACEOF
55876 done
55885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55886 $as_echo_n "checking for finitef declaration... " >&6; }
55887 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55888 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55889 $as_echo_n "(cached) " >&6
55890 else
55893 ac_ext=cpp
55894 ac_cpp='$CXXCPP $CPPFLAGS'
55895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55900 /* end confdefs.h. */
55901 #include <math.h>
55902 #ifdef HAVE_IEEEFP_H
55903 #include <ieeefp.h>
55904 #endif
55907 main ()
55909 finitef(0);
55911 return 0;
55913 _ACEOF
55914 if ac_fn_cxx_try_compile "$LINENO"; then :
55915 glibcxx_cv_func_finitef_use=yes
55916 else
55917 glibcxx_cv_func_finitef_use=no
55919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55920 ac_ext=c
55921 ac_cpp='$CPP $CPPFLAGS'
55922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55931 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55933 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55934 for ac_func in finitef
55935 do :
55936 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55937 if test "x$ac_cv_func_finitef" = x""yes; then :
55938 cat >>confdefs.h <<_ACEOF
55939 #define HAVE_FINITEF 1
55940 _ACEOF
55943 done
55945 else
55947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55948 $as_echo_n "checking for _finitef declaration... " >&6; }
55949 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55950 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55951 $as_echo_n "(cached) " >&6
55952 else
55955 ac_ext=cpp
55956 ac_cpp='$CXXCPP $CPPFLAGS'
55957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55962 /* end confdefs.h. */
55963 #include <math.h>
55964 #ifdef HAVE_IEEEFP_H
55965 #include <ieeefp.h>
55966 #endif
55969 main ()
55971 _finitef(0);
55973 return 0;
55975 _ACEOF
55976 if ac_fn_cxx_try_compile "$LINENO"; then :
55977 glibcxx_cv_func__finitef_use=yes
55978 else
55979 glibcxx_cv_func__finitef_use=no
55981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55982 ac_ext=c
55983 ac_cpp='$CPP $CPPFLAGS'
55984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55993 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55995 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55996 for ac_func in _finitef
55997 do :
55998 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55999 if test "x$ac_cv_func__finitef" = x""yes; then :
56000 cat >>confdefs.h <<_ACEOF
56001 #define HAVE__FINITEF 1
56002 _ACEOF
56005 done
56014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56015 $as_echo_n "checking for long double trig functions... " >&6; }
56016 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56017 $as_echo_n "(cached) " >&6
56018 else
56021 ac_ext=cpp
56022 ac_cpp='$CXXCPP $CPPFLAGS'
56023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56028 /* end confdefs.h. */
56029 #include <math.h>
56031 main ()
56033 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56035 return 0;
56037 _ACEOF
56038 if ac_fn_cxx_try_compile "$LINENO"; then :
56039 glibcxx_cv_func_long_double_trig_use=yes
56040 else
56041 glibcxx_cv_func_long_double_trig_use=no
56043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56044 ac_ext=c
56045 ac_cpp='$CPP $CPPFLAGS'
56046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56053 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56054 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56055 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56056 do :
56057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56059 eval as_val=\$$as_ac_var
56060 if test "x$as_val" = x""yes; then :
56061 cat >>confdefs.h <<_ACEOF
56062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56063 _ACEOF
56066 done
56068 else
56069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56070 $as_echo_n "checking for _long double trig functions... " >&6; }
56071 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56072 $as_echo_n "(cached) " >&6
56073 else
56076 ac_ext=cpp
56077 ac_cpp='$CXXCPP $CPPFLAGS'
56078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56083 /* end confdefs.h. */
56084 #include <math.h>
56086 main ()
56088 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56090 return 0;
56092 _ACEOF
56093 if ac_fn_cxx_try_compile "$LINENO"; then :
56094 glibcxx_cv_func__long_double_trig_use=yes
56095 else
56096 glibcxx_cv_func__long_double_trig_use=no
56098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56099 ac_ext=c
56100 ac_cpp='$CPP $CPPFLAGS'
56101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56108 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56109 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56110 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56111 do :
56112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56114 eval as_val=\$$as_ac_var
56115 if test "x$as_val" = x""yes; then :
56116 cat >>confdefs.h <<_ACEOF
56117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56118 _ACEOF
56121 done
56130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56131 $as_echo_n "checking for long double round functions... " >&6; }
56132 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56133 $as_echo_n "(cached) " >&6
56134 else
56137 ac_ext=cpp
56138 ac_cpp='$CXXCPP $CPPFLAGS'
56139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56144 /* end confdefs.h. */
56145 #include <math.h>
56147 main ()
56149 ceill (0); floorl (0);
56151 return 0;
56153 _ACEOF
56154 if ac_fn_cxx_try_compile "$LINENO"; then :
56155 glibcxx_cv_func_long_double_round_use=yes
56156 else
56157 glibcxx_cv_func_long_double_round_use=no
56159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56160 ac_ext=c
56161 ac_cpp='$CPP $CPPFLAGS'
56162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56169 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56170 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56171 for ac_func in ceill floorl
56172 do :
56173 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56175 eval as_val=\$$as_ac_var
56176 if test "x$as_val" = x""yes; then :
56177 cat >>confdefs.h <<_ACEOF
56178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56179 _ACEOF
56182 done
56184 else
56185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56186 $as_echo_n "checking for _long double round functions... " >&6; }
56187 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56188 $as_echo_n "(cached) " >&6
56189 else
56192 ac_ext=cpp
56193 ac_cpp='$CXXCPP $CPPFLAGS'
56194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56199 /* end confdefs.h. */
56200 #include <math.h>
56202 main ()
56204 _ceill (0); _floorl (0);
56206 return 0;
56208 _ACEOF
56209 if ac_fn_cxx_try_compile "$LINENO"; then :
56210 glibcxx_cv_func__long_double_round_use=yes
56211 else
56212 glibcxx_cv_func__long_double_round_use=no
56214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56215 ac_ext=c
56216 ac_cpp='$CPP $CPPFLAGS'
56217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56224 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56225 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56226 for ac_func in _ceill _floorl
56227 do :
56228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56229 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56230 eval as_val=\$$as_ac_var
56231 if test "x$as_val" = x""yes; then :
56232 cat >>confdefs.h <<_ACEOF
56233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56234 _ACEOF
56237 done
56247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56248 $as_echo_n "checking for isnanl declaration... " >&6; }
56249 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56250 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56251 $as_echo_n "(cached) " >&6
56252 else
56255 ac_ext=cpp
56256 ac_cpp='$CXXCPP $CPPFLAGS'
56257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56262 /* end confdefs.h. */
56263 #include <math.h>
56264 #ifdef HAVE_IEEEFP_H
56265 #include <ieeefp.h>
56266 #endif
56269 main ()
56271 isnanl(0);
56273 return 0;
56275 _ACEOF
56276 if ac_fn_cxx_try_compile "$LINENO"; then :
56277 glibcxx_cv_func_isnanl_use=yes
56278 else
56279 glibcxx_cv_func_isnanl_use=no
56281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56282 ac_ext=c
56283 ac_cpp='$CPP $CPPFLAGS'
56284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56293 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56295 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56296 for ac_func in isnanl
56297 do :
56298 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56299 if test "x$ac_cv_func_isnanl" = x""yes; then :
56300 cat >>confdefs.h <<_ACEOF
56301 #define HAVE_ISNANL 1
56302 _ACEOF
56305 done
56307 else
56309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56310 $as_echo_n "checking for _isnanl declaration... " >&6; }
56311 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56312 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56313 $as_echo_n "(cached) " >&6
56314 else
56317 ac_ext=cpp
56318 ac_cpp='$CXXCPP $CPPFLAGS'
56319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56324 /* end confdefs.h. */
56325 #include <math.h>
56326 #ifdef HAVE_IEEEFP_H
56327 #include <ieeefp.h>
56328 #endif
56331 main ()
56333 _isnanl(0);
56335 return 0;
56337 _ACEOF
56338 if ac_fn_cxx_try_compile "$LINENO"; then :
56339 glibcxx_cv_func__isnanl_use=yes
56340 else
56341 glibcxx_cv_func__isnanl_use=no
56343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56344 ac_ext=c
56345 ac_cpp='$CPP $CPPFLAGS'
56346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56355 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56357 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56358 for ac_func in _isnanl
56359 do :
56360 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56361 if test "x$ac_cv_func__isnanl" = x""yes; then :
56362 cat >>confdefs.h <<_ACEOF
56363 #define HAVE__ISNANL 1
56364 _ACEOF
56367 done
56376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56377 $as_echo_n "checking for isinfl declaration... " >&6; }
56378 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56379 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56380 $as_echo_n "(cached) " >&6
56381 else
56384 ac_ext=cpp
56385 ac_cpp='$CXXCPP $CPPFLAGS'
56386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56391 /* end confdefs.h. */
56392 #include <math.h>
56393 #ifdef HAVE_IEEEFP_H
56394 #include <ieeefp.h>
56395 #endif
56398 main ()
56400 isinfl(0);
56402 return 0;
56404 _ACEOF
56405 if ac_fn_cxx_try_compile "$LINENO"; then :
56406 glibcxx_cv_func_isinfl_use=yes
56407 else
56408 glibcxx_cv_func_isinfl_use=no
56410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56411 ac_ext=c
56412 ac_cpp='$CPP $CPPFLAGS'
56413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56422 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56424 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56425 for ac_func in isinfl
56426 do :
56427 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56428 if test "x$ac_cv_func_isinfl" = x""yes; then :
56429 cat >>confdefs.h <<_ACEOF
56430 #define HAVE_ISINFL 1
56431 _ACEOF
56434 done
56436 else
56438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56439 $as_echo_n "checking for _isinfl declaration... " >&6; }
56440 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56441 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56442 $as_echo_n "(cached) " >&6
56443 else
56446 ac_ext=cpp
56447 ac_cpp='$CXXCPP $CPPFLAGS'
56448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56453 /* end confdefs.h. */
56454 #include <math.h>
56455 #ifdef HAVE_IEEEFP_H
56456 #include <ieeefp.h>
56457 #endif
56460 main ()
56462 _isinfl(0);
56464 return 0;
56466 _ACEOF
56467 if ac_fn_cxx_try_compile "$LINENO"; then :
56468 glibcxx_cv_func__isinfl_use=yes
56469 else
56470 glibcxx_cv_func__isinfl_use=no
56472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56473 ac_ext=c
56474 ac_cpp='$CPP $CPPFLAGS'
56475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56484 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56486 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56487 for ac_func in _isinfl
56488 do :
56489 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56490 if test "x$ac_cv_func__isinfl" = x""yes; then :
56491 cat >>confdefs.h <<_ACEOF
56492 #define HAVE__ISINFL 1
56493 _ACEOF
56496 done
56505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56506 $as_echo_n "checking for atan2l declaration... " >&6; }
56507 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56508 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56509 $as_echo_n "(cached) " >&6
56510 else
56513 ac_ext=cpp
56514 ac_cpp='$CXXCPP $CPPFLAGS'
56515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56520 /* end confdefs.h. */
56521 #include <math.h>
56523 main ()
56525 atan2l(0, 0);
56527 return 0;
56529 _ACEOF
56530 if ac_fn_cxx_try_compile "$LINENO"; then :
56531 glibcxx_cv_func_atan2l_use=yes
56532 else
56533 glibcxx_cv_func_atan2l_use=no
56535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56536 ac_ext=c
56537 ac_cpp='$CPP $CPPFLAGS'
56538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56547 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56549 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56550 for ac_func in atan2l
56551 do :
56552 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56553 if test "x$ac_cv_func_atan2l" = x""yes; then :
56554 cat >>confdefs.h <<_ACEOF
56555 #define HAVE_ATAN2L 1
56556 _ACEOF
56559 done
56561 else
56563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56564 $as_echo_n "checking for _atan2l declaration... " >&6; }
56565 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56566 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56567 $as_echo_n "(cached) " >&6
56568 else
56571 ac_ext=cpp
56572 ac_cpp='$CXXCPP $CPPFLAGS'
56573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56578 /* end confdefs.h. */
56579 #include <math.h>
56581 main ()
56583 _atan2l(0, 0);
56585 return 0;
56587 _ACEOF
56588 if ac_fn_cxx_try_compile "$LINENO"; then :
56589 glibcxx_cv_func__atan2l_use=yes
56590 else
56591 glibcxx_cv_func__atan2l_use=no
56593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56594 ac_ext=c
56595 ac_cpp='$CPP $CPPFLAGS'
56596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56605 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56607 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56608 for ac_func in _atan2l
56609 do :
56610 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56611 if test "x$ac_cv_func__atan2l" = x""yes; then :
56612 cat >>confdefs.h <<_ACEOF
56613 #define HAVE__ATAN2L 1
56614 _ACEOF
56617 done
56626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56627 $as_echo_n "checking for expl declaration... " >&6; }
56628 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56629 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56630 $as_echo_n "(cached) " >&6
56631 else
56634 ac_ext=cpp
56635 ac_cpp='$CXXCPP $CPPFLAGS'
56636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56641 /* end confdefs.h. */
56642 #include <math.h>
56643 #ifdef HAVE_IEEEFP_H
56644 #include <ieeefp.h>
56645 #endif
56648 main ()
56650 expl(0);
56652 return 0;
56654 _ACEOF
56655 if ac_fn_cxx_try_compile "$LINENO"; then :
56656 glibcxx_cv_func_expl_use=yes
56657 else
56658 glibcxx_cv_func_expl_use=no
56660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56661 ac_ext=c
56662 ac_cpp='$CPP $CPPFLAGS'
56663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56672 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56674 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56675 for ac_func in expl
56676 do :
56677 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56678 if test "x$ac_cv_func_expl" = x""yes; then :
56679 cat >>confdefs.h <<_ACEOF
56680 #define HAVE_EXPL 1
56681 _ACEOF
56684 done
56686 else
56688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56689 $as_echo_n "checking for _expl declaration... " >&6; }
56690 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56691 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56692 $as_echo_n "(cached) " >&6
56693 else
56696 ac_ext=cpp
56697 ac_cpp='$CXXCPP $CPPFLAGS'
56698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56703 /* end confdefs.h. */
56704 #include <math.h>
56705 #ifdef HAVE_IEEEFP_H
56706 #include <ieeefp.h>
56707 #endif
56710 main ()
56712 _expl(0);
56714 return 0;
56716 _ACEOF
56717 if ac_fn_cxx_try_compile "$LINENO"; then :
56718 glibcxx_cv_func__expl_use=yes
56719 else
56720 glibcxx_cv_func__expl_use=no
56722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56723 ac_ext=c
56724 ac_cpp='$CPP $CPPFLAGS'
56725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56734 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56736 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56737 for ac_func in _expl
56738 do :
56739 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56740 if test "x$ac_cv_func__expl" = x""yes; then :
56741 cat >>confdefs.h <<_ACEOF
56742 #define HAVE__EXPL 1
56743 _ACEOF
56746 done
56755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56756 $as_echo_n "checking for fabsl declaration... " >&6; }
56757 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56758 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56759 $as_echo_n "(cached) " >&6
56760 else
56763 ac_ext=cpp
56764 ac_cpp='$CXXCPP $CPPFLAGS'
56765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56770 /* end confdefs.h. */
56771 #include <math.h>
56772 #ifdef HAVE_IEEEFP_H
56773 #include <ieeefp.h>
56774 #endif
56777 main ()
56779 fabsl(0);
56781 return 0;
56783 _ACEOF
56784 if ac_fn_cxx_try_compile "$LINENO"; then :
56785 glibcxx_cv_func_fabsl_use=yes
56786 else
56787 glibcxx_cv_func_fabsl_use=no
56789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56790 ac_ext=c
56791 ac_cpp='$CPP $CPPFLAGS'
56792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56801 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56803 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56804 for ac_func in fabsl
56805 do :
56806 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56807 if test "x$ac_cv_func_fabsl" = x""yes; then :
56808 cat >>confdefs.h <<_ACEOF
56809 #define HAVE_FABSL 1
56810 _ACEOF
56813 done
56815 else
56817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56818 $as_echo_n "checking for _fabsl declaration... " >&6; }
56819 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56820 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56821 $as_echo_n "(cached) " >&6
56822 else
56825 ac_ext=cpp
56826 ac_cpp='$CXXCPP $CPPFLAGS'
56827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56832 /* end confdefs.h. */
56833 #include <math.h>
56834 #ifdef HAVE_IEEEFP_H
56835 #include <ieeefp.h>
56836 #endif
56839 main ()
56841 _fabsl(0);
56843 return 0;
56845 _ACEOF
56846 if ac_fn_cxx_try_compile "$LINENO"; then :
56847 glibcxx_cv_func__fabsl_use=yes
56848 else
56849 glibcxx_cv_func__fabsl_use=no
56851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56852 ac_ext=c
56853 ac_cpp='$CPP $CPPFLAGS'
56854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56863 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56865 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56866 for ac_func in _fabsl
56867 do :
56868 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56869 if test "x$ac_cv_func__fabsl" = x""yes; then :
56870 cat >>confdefs.h <<_ACEOF
56871 #define HAVE__FABSL 1
56872 _ACEOF
56875 done
56884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56885 $as_echo_n "checking for fmodl declaration... " >&6; }
56886 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56887 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56888 $as_echo_n "(cached) " >&6
56889 else
56892 ac_ext=cpp
56893 ac_cpp='$CXXCPP $CPPFLAGS'
56894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56899 /* end confdefs.h. */
56900 #include <math.h>
56902 main ()
56904 fmodl(0, 0);
56906 return 0;
56908 _ACEOF
56909 if ac_fn_cxx_try_compile "$LINENO"; then :
56910 glibcxx_cv_func_fmodl_use=yes
56911 else
56912 glibcxx_cv_func_fmodl_use=no
56914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56915 ac_ext=c
56916 ac_cpp='$CPP $CPPFLAGS'
56917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56926 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56928 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56929 for ac_func in fmodl
56930 do :
56931 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56932 if test "x$ac_cv_func_fmodl" = x""yes; then :
56933 cat >>confdefs.h <<_ACEOF
56934 #define HAVE_FMODL 1
56935 _ACEOF
56938 done
56940 else
56942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56943 $as_echo_n "checking for _fmodl declaration... " >&6; }
56944 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56945 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56946 $as_echo_n "(cached) " >&6
56947 else
56950 ac_ext=cpp
56951 ac_cpp='$CXXCPP $CPPFLAGS'
56952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56957 /* end confdefs.h. */
56958 #include <math.h>
56960 main ()
56962 _fmodl(0, 0);
56964 return 0;
56966 _ACEOF
56967 if ac_fn_cxx_try_compile "$LINENO"; then :
56968 glibcxx_cv_func__fmodl_use=yes
56969 else
56970 glibcxx_cv_func__fmodl_use=no
56972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56973 ac_ext=c
56974 ac_cpp='$CPP $CPPFLAGS'
56975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56984 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56986 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56987 for ac_func in _fmodl
56988 do :
56989 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56990 if test "x$ac_cv_func__fmodl" = x""yes; then :
56991 cat >>confdefs.h <<_ACEOF
56992 #define HAVE__FMODL 1
56993 _ACEOF
56996 done
57005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57006 $as_echo_n "checking for frexpl declaration... " >&6; }
57007 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57008 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57009 $as_echo_n "(cached) " >&6
57010 else
57013 ac_ext=cpp
57014 ac_cpp='$CXXCPP $CPPFLAGS'
57015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57020 /* end confdefs.h. */
57021 #include <math.h>
57023 main ()
57025 frexpl(0, 0);
57027 return 0;
57029 _ACEOF
57030 if ac_fn_cxx_try_compile "$LINENO"; then :
57031 glibcxx_cv_func_frexpl_use=yes
57032 else
57033 glibcxx_cv_func_frexpl_use=no
57035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57036 ac_ext=c
57037 ac_cpp='$CPP $CPPFLAGS'
57038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57047 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57049 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57050 for ac_func in frexpl
57051 do :
57052 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57053 if test "x$ac_cv_func_frexpl" = x""yes; then :
57054 cat >>confdefs.h <<_ACEOF
57055 #define HAVE_FREXPL 1
57056 _ACEOF
57059 done
57061 else
57063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57064 $as_echo_n "checking for _frexpl declaration... " >&6; }
57065 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57066 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57067 $as_echo_n "(cached) " >&6
57068 else
57071 ac_ext=cpp
57072 ac_cpp='$CXXCPP $CPPFLAGS'
57073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57078 /* end confdefs.h. */
57079 #include <math.h>
57081 main ()
57083 _frexpl(0, 0);
57085 return 0;
57087 _ACEOF
57088 if ac_fn_cxx_try_compile "$LINENO"; then :
57089 glibcxx_cv_func__frexpl_use=yes
57090 else
57091 glibcxx_cv_func__frexpl_use=no
57093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57094 ac_ext=c
57095 ac_cpp='$CPP $CPPFLAGS'
57096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57105 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57107 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57108 for ac_func in _frexpl
57109 do :
57110 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57111 if test "x$ac_cv_func__frexpl" = x""yes; then :
57112 cat >>confdefs.h <<_ACEOF
57113 #define HAVE__FREXPL 1
57114 _ACEOF
57117 done
57126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57127 $as_echo_n "checking for hypotl declaration... " >&6; }
57128 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57129 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57130 $as_echo_n "(cached) " >&6
57131 else
57134 ac_ext=cpp
57135 ac_cpp='$CXXCPP $CPPFLAGS'
57136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57141 /* end confdefs.h. */
57142 #include <math.h>
57144 main ()
57146 hypotl(0, 0);
57148 return 0;
57150 _ACEOF
57151 if ac_fn_cxx_try_compile "$LINENO"; then :
57152 glibcxx_cv_func_hypotl_use=yes
57153 else
57154 glibcxx_cv_func_hypotl_use=no
57156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57157 ac_ext=c
57158 ac_cpp='$CPP $CPPFLAGS'
57159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57168 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57170 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57171 for ac_func in hypotl
57172 do :
57173 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57174 if test "x$ac_cv_func_hypotl" = x""yes; then :
57175 cat >>confdefs.h <<_ACEOF
57176 #define HAVE_HYPOTL 1
57177 _ACEOF
57180 done
57182 else
57184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57185 $as_echo_n "checking for _hypotl declaration... " >&6; }
57186 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57187 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57188 $as_echo_n "(cached) " >&6
57189 else
57192 ac_ext=cpp
57193 ac_cpp='$CXXCPP $CPPFLAGS'
57194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57199 /* end confdefs.h. */
57200 #include <math.h>
57202 main ()
57204 _hypotl(0, 0);
57206 return 0;
57208 _ACEOF
57209 if ac_fn_cxx_try_compile "$LINENO"; then :
57210 glibcxx_cv_func__hypotl_use=yes
57211 else
57212 glibcxx_cv_func__hypotl_use=no
57214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57215 ac_ext=c
57216 ac_cpp='$CPP $CPPFLAGS'
57217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57226 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57228 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57229 for ac_func in _hypotl
57230 do :
57231 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57232 if test "x$ac_cv_func__hypotl" = x""yes; then :
57233 cat >>confdefs.h <<_ACEOF
57234 #define HAVE__HYPOTL 1
57235 _ACEOF
57238 done
57247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57248 $as_echo_n "checking for ldexpl declaration... " >&6; }
57249 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57250 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57251 $as_echo_n "(cached) " >&6
57252 else
57255 ac_ext=cpp
57256 ac_cpp='$CXXCPP $CPPFLAGS'
57257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57262 /* end confdefs.h. */
57263 #include <math.h>
57265 main ()
57267 ldexpl(0, 0);
57269 return 0;
57271 _ACEOF
57272 if ac_fn_cxx_try_compile "$LINENO"; then :
57273 glibcxx_cv_func_ldexpl_use=yes
57274 else
57275 glibcxx_cv_func_ldexpl_use=no
57277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57278 ac_ext=c
57279 ac_cpp='$CPP $CPPFLAGS'
57280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57289 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57291 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57292 for ac_func in ldexpl
57293 do :
57294 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57295 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57296 cat >>confdefs.h <<_ACEOF
57297 #define HAVE_LDEXPL 1
57298 _ACEOF
57301 done
57303 else
57305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57306 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57307 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57308 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57309 $as_echo_n "(cached) " >&6
57310 else
57313 ac_ext=cpp
57314 ac_cpp='$CXXCPP $CPPFLAGS'
57315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57320 /* end confdefs.h. */
57321 #include <math.h>
57323 main ()
57325 _ldexpl(0, 0);
57327 return 0;
57329 _ACEOF
57330 if ac_fn_cxx_try_compile "$LINENO"; then :
57331 glibcxx_cv_func__ldexpl_use=yes
57332 else
57333 glibcxx_cv_func__ldexpl_use=no
57335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57336 ac_ext=c
57337 ac_cpp='$CPP $CPPFLAGS'
57338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57347 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57349 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57350 for ac_func in _ldexpl
57351 do :
57352 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57353 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57354 cat >>confdefs.h <<_ACEOF
57355 #define HAVE__LDEXPL 1
57356 _ACEOF
57359 done
57368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57369 $as_echo_n "checking for logl declaration... " >&6; }
57370 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57371 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57372 $as_echo_n "(cached) " >&6
57373 else
57376 ac_ext=cpp
57377 ac_cpp='$CXXCPP $CPPFLAGS'
57378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57383 /* end confdefs.h. */
57384 #include <math.h>
57385 #ifdef HAVE_IEEEFP_H
57386 #include <ieeefp.h>
57387 #endif
57390 main ()
57392 logl(0);
57394 return 0;
57396 _ACEOF
57397 if ac_fn_cxx_try_compile "$LINENO"; then :
57398 glibcxx_cv_func_logl_use=yes
57399 else
57400 glibcxx_cv_func_logl_use=no
57402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57403 ac_ext=c
57404 ac_cpp='$CPP $CPPFLAGS'
57405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57414 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57416 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57417 for ac_func in logl
57418 do :
57419 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57420 if test "x$ac_cv_func_logl" = x""yes; then :
57421 cat >>confdefs.h <<_ACEOF
57422 #define HAVE_LOGL 1
57423 _ACEOF
57426 done
57428 else
57430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57431 $as_echo_n "checking for _logl declaration... " >&6; }
57432 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57433 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57434 $as_echo_n "(cached) " >&6
57435 else
57438 ac_ext=cpp
57439 ac_cpp='$CXXCPP $CPPFLAGS'
57440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57445 /* end confdefs.h. */
57446 #include <math.h>
57447 #ifdef HAVE_IEEEFP_H
57448 #include <ieeefp.h>
57449 #endif
57452 main ()
57454 _logl(0);
57456 return 0;
57458 _ACEOF
57459 if ac_fn_cxx_try_compile "$LINENO"; then :
57460 glibcxx_cv_func__logl_use=yes
57461 else
57462 glibcxx_cv_func__logl_use=no
57464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57465 ac_ext=c
57466 ac_cpp='$CPP $CPPFLAGS'
57467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57476 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57478 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57479 for ac_func in _logl
57480 do :
57481 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57482 if test "x$ac_cv_func__logl" = x""yes; then :
57483 cat >>confdefs.h <<_ACEOF
57484 #define HAVE__LOGL 1
57485 _ACEOF
57488 done
57497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57498 $as_echo_n "checking for log10l declaration... " >&6; }
57499 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57500 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57501 $as_echo_n "(cached) " >&6
57502 else
57505 ac_ext=cpp
57506 ac_cpp='$CXXCPP $CPPFLAGS'
57507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57512 /* end confdefs.h. */
57513 #include <math.h>
57514 #ifdef HAVE_IEEEFP_H
57515 #include <ieeefp.h>
57516 #endif
57519 main ()
57521 log10l(0);
57523 return 0;
57525 _ACEOF
57526 if ac_fn_cxx_try_compile "$LINENO"; then :
57527 glibcxx_cv_func_log10l_use=yes
57528 else
57529 glibcxx_cv_func_log10l_use=no
57531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57532 ac_ext=c
57533 ac_cpp='$CPP $CPPFLAGS'
57534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57543 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57545 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57546 for ac_func in log10l
57547 do :
57548 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57549 if test "x$ac_cv_func_log10l" = x""yes; then :
57550 cat >>confdefs.h <<_ACEOF
57551 #define HAVE_LOG10L 1
57552 _ACEOF
57555 done
57557 else
57559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57560 $as_echo_n "checking for _log10l declaration... " >&6; }
57561 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57562 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57563 $as_echo_n "(cached) " >&6
57564 else
57567 ac_ext=cpp
57568 ac_cpp='$CXXCPP $CPPFLAGS'
57569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57574 /* end confdefs.h. */
57575 #include <math.h>
57576 #ifdef HAVE_IEEEFP_H
57577 #include <ieeefp.h>
57578 #endif
57581 main ()
57583 _log10l(0);
57585 return 0;
57587 _ACEOF
57588 if ac_fn_cxx_try_compile "$LINENO"; then :
57589 glibcxx_cv_func__log10l_use=yes
57590 else
57591 glibcxx_cv_func__log10l_use=no
57593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57594 ac_ext=c
57595 ac_cpp='$CPP $CPPFLAGS'
57596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57605 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57607 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57608 for ac_func in _log10l
57609 do :
57610 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57611 if test "x$ac_cv_func__log10l" = x""yes; then :
57612 cat >>confdefs.h <<_ACEOF
57613 #define HAVE__LOG10L 1
57614 _ACEOF
57617 done
57626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57627 $as_echo_n "checking for modfl declaration... " >&6; }
57628 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57629 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57630 $as_echo_n "(cached) " >&6
57631 else
57634 ac_ext=cpp
57635 ac_cpp='$CXXCPP $CPPFLAGS'
57636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57641 /* end confdefs.h. */
57642 #include <math.h>
57644 main ()
57646 modfl(0, 0);
57648 return 0;
57650 _ACEOF
57651 if ac_fn_cxx_try_compile "$LINENO"; then :
57652 glibcxx_cv_func_modfl_use=yes
57653 else
57654 glibcxx_cv_func_modfl_use=no
57656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57657 ac_ext=c
57658 ac_cpp='$CPP $CPPFLAGS'
57659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57668 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57670 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57671 for ac_func in modfl
57672 do :
57673 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57674 if test "x$ac_cv_func_modfl" = x""yes; then :
57675 cat >>confdefs.h <<_ACEOF
57676 #define HAVE_MODFL 1
57677 _ACEOF
57680 done
57682 else
57684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57685 $as_echo_n "checking for _modfl declaration... " >&6; }
57686 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57687 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57688 $as_echo_n "(cached) " >&6
57689 else
57692 ac_ext=cpp
57693 ac_cpp='$CXXCPP $CPPFLAGS'
57694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57699 /* end confdefs.h. */
57700 #include <math.h>
57702 main ()
57704 _modfl(0, 0);
57706 return 0;
57708 _ACEOF
57709 if ac_fn_cxx_try_compile "$LINENO"; then :
57710 glibcxx_cv_func__modfl_use=yes
57711 else
57712 glibcxx_cv_func__modfl_use=no
57714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57715 ac_ext=c
57716 ac_cpp='$CPP $CPPFLAGS'
57717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57726 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57728 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57729 for ac_func in _modfl
57730 do :
57731 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57732 if test "x$ac_cv_func__modfl" = x""yes; then :
57733 cat >>confdefs.h <<_ACEOF
57734 #define HAVE__MODFL 1
57735 _ACEOF
57738 done
57747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57748 $as_echo_n "checking for powl declaration... " >&6; }
57749 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57750 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57751 $as_echo_n "(cached) " >&6
57752 else
57755 ac_ext=cpp
57756 ac_cpp='$CXXCPP $CPPFLAGS'
57757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57762 /* end confdefs.h. */
57763 #include <math.h>
57765 main ()
57767 powl(0, 0);
57769 return 0;
57771 _ACEOF
57772 if ac_fn_cxx_try_compile "$LINENO"; then :
57773 glibcxx_cv_func_powl_use=yes
57774 else
57775 glibcxx_cv_func_powl_use=no
57777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57778 ac_ext=c
57779 ac_cpp='$CPP $CPPFLAGS'
57780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57789 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57791 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57792 for ac_func in powl
57793 do :
57794 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57795 if test "x$ac_cv_func_powl" = x""yes; then :
57796 cat >>confdefs.h <<_ACEOF
57797 #define HAVE_POWL 1
57798 _ACEOF
57801 done
57803 else
57805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57806 $as_echo_n "checking for _powl declaration... " >&6; }
57807 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57808 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57809 $as_echo_n "(cached) " >&6
57810 else
57813 ac_ext=cpp
57814 ac_cpp='$CXXCPP $CPPFLAGS'
57815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57820 /* end confdefs.h. */
57821 #include <math.h>
57823 main ()
57825 _powl(0, 0);
57827 return 0;
57829 _ACEOF
57830 if ac_fn_cxx_try_compile "$LINENO"; then :
57831 glibcxx_cv_func__powl_use=yes
57832 else
57833 glibcxx_cv_func__powl_use=no
57835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57836 ac_ext=c
57837 ac_cpp='$CPP $CPPFLAGS'
57838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57847 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57849 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57850 for ac_func in _powl
57851 do :
57852 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57853 if test "x$ac_cv_func__powl" = x""yes; then :
57854 cat >>confdefs.h <<_ACEOF
57855 #define HAVE__POWL 1
57856 _ACEOF
57859 done
57868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57869 $as_echo_n "checking for sqrtl declaration... " >&6; }
57870 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57871 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57872 $as_echo_n "(cached) " >&6
57873 else
57876 ac_ext=cpp
57877 ac_cpp='$CXXCPP $CPPFLAGS'
57878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57883 /* end confdefs.h. */
57884 #include <math.h>
57885 #ifdef HAVE_IEEEFP_H
57886 #include <ieeefp.h>
57887 #endif
57890 main ()
57892 sqrtl(0);
57894 return 0;
57896 _ACEOF
57897 if ac_fn_cxx_try_compile "$LINENO"; then :
57898 glibcxx_cv_func_sqrtl_use=yes
57899 else
57900 glibcxx_cv_func_sqrtl_use=no
57902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57903 ac_ext=c
57904 ac_cpp='$CPP $CPPFLAGS'
57905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57914 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57916 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57917 for ac_func in sqrtl
57918 do :
57919 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57920 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57921 cat >>confdefs.h <<_ACEOF
57922 #define HAVE_SQRTL 1
57923 _ACEOF
57926 done
57928 else
57930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57931 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57932 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57933 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57934 $as_echo_n "(cached) " >&6
57935 else
57938 ac_ext=cpp
57939 ac_cpp='$CXXCPP $CPPFLAGS'
57940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57945 /* end confdefs.h. */
57946 #include <math.h>
57947 #ifdef HAVE_IEEEFP_H
57948 #include <ieeefp.h>
57949 #endif
57952 main ()
57954 _sqrtl(0);
57956 return 0;
57958 _ACEOF
57959 if ac_fn_cxx_try_compile "$LINENO"; then :
57960 glibcxx_cv_func__sqrtl_use=yes
57961 else
57962 glibcxx_cv_func__sqrtl_use=no
57964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57965 ac_ext=c
57966 ac_cpp='$CPP $CPPFLAGS'
57967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57976 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57978 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57979 for ac_func in _sqrtl
57980 do :
57981 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57982 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57983 cat >>confdefs.h <<_ACEOF
57984 #define HAVE__SQRTL 1
57985 _ACEOF
57988 done
57997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57998 $as_echo_n "checking for sincosl declaration... " >&6; }
57999 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58000 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58001 $as_echo_n "(cached) " >&6
58002 else
58005 ac_ext=cpp
58006 ac_cpp='$CXXCPP $CPPFLAGS'
58007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58012 /* end confdefs.h. */
58013 #include <math.h>
58015 main ()
58017 sincosl(0, 0, 0);
58019 return 0;
58021 _ACEOF
58022 if ac_fn_cxx_try_compile "$LINENO"; then :
58023 glibcxx_cv_func_sincosl_use=yes
58024 else
58025 glibcxx_cv_func_sincosl_use=no
58027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58028 ac_ext=c
58029 ac_cpp='$CPP $CPPFLAGS'
58030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58039 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58041 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58042 for ac_func in sincosl
58043 do :
58044 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58045 if test "x$ac_cv_func_sincosl" = x""yes; then :
58046 cat >>confdefs.h <<_ACEOF
58047 #define HAVE_SINCOSL 1
58048 _ACEOF
58051 done
58053 else
58055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58056 $as_echo_n "checking for _sincosl declaration... " >&6; }
58057 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58058 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58059 $as_echo_n "(cached) " >&6
58060 else
58063 ac_ext=cpp
58064 ac_cpp='$CXXCPP $CPPFLAGS'
58065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58070 /* end confdefs.h. */
58071 #include <math.h>
58073 main ()
58075 _sincosl(0, 0, 0);
58077 return 0;
58079 _ACEOF
58080 if ac_fn_cxx_try_compile "$LINENO"; then :
58081 glibcxx_cv_func__sincosl_use=yes
58082 else
58083 glibcxx_cv_func__sincosl_use=no
58085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58086 ac_ext=c
58087 ac_cpp='$CPP $CPPFLAGS'
58088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58097 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58099 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58100 for ac_func in _sincosl
58101 do :
58102 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58103 if test "x$ac_cv_func__sincosl" = x""yes; then :
58104 cat >>confdefs.h <<_ACEOF
58105 #define HAVE__SINCOSL 1
58106 _ACEOF
58109 done
58118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58119 $as_echo_n "checking for finitel declaration... " >&6; }
58120 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58121 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58122 $as_echo_n "(cached) " >&6
58123 else
58126 ac_ext=cpp
58127 ac_cpp='$CXXCPP $CPPFLAGS'
58128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58133 /* end confdefs.h. */
58134 #include <math.h>
58135 #ifdef HAVE_IEEEFP_H
58136 #include <ieeefp.h>
58137 #endif
58140 main ()
58142 finitel(0);
58144 return 0;
58146 _ACEOF
58147 if ac_fn_cxx_try_compile "$LINENO"; then :
58148 glibcxx_cv_func_finitel_use=yes
58149 else
58150 glibcxx_cv_func_finitel_use=no
58152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58153 ac_ext=c
58154 ac_cpp='$CPP $CPPFLAGS'
58155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58164 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58166 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58167 for ac_func in finitel
58168 do :
58169 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58170 if test "x$ac_cv_func_finitel" = x""yes; then :
58171 cat >>confdefs.h <<_ACEOF
58172 #define HAVE_FINITEL 1
58173 _ACEOF
58176 done
58178 else
58180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58181 $as_echo_n "checking for _finitel declaration... " >&6; }
58182 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58183 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58184 $as_echo_n "(cached) " >&6
58185 else
58188 ac_ext=cpp
58189 ac_cpp='$CXXCPP $CPPFLAGS'
58190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58195 /* end confdefs.h. */
58196 #include <math.h>
58197 #ifdef HAVE_IEEEFP_H
58198 #include <ieeefp.h>
58199 #endif
58202 main ()
58204 _finitel(0);
58206 return 0;
58208 _ACEOF
58209 if ac_fn_cxx_try_compile "$LINENO"; then :
58210 glibcxx_cv_func__finitel_use=yes
58211 else
58212 glibcxx_cv_func__finitel_use=no
58214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58215 ac_ext=c
58216 ac_cpp='$CPP $CPPFLAGS'
58217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58226 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58228 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58229 for ac_func in _finitel
58230 do :
58231 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58232 if test "x$ac_cv_func__finitel" = x""yes; then :
58233 cat >>confdefs.h <<_ACEOF
58234 #define HAVE__FINITEL 1
58235 _ACEOF
58238 done
58246 LIBS="$ac_save_LIBS"
58247 CXXFLAGS="$ac_save_CXXFLAGS"
58250 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58251 ac_save_CXXFLAGS="$CXXFLAGS"
58252 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58256 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58257 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58258 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58259 $as_echo_n "(cached) " >&6
58260 else
58263 ac_ext=cpp
58264 ac_cpp='$CXXCPP $CPPFLAGS'
58265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58270 /* end confdefs.h. */
58271 #include <stdlib.h>
58273 main ()
58275 at_quick_exit(0);
58277 return 0;
58279 _ACEOF
58280 if ac_fn_cxx_try_compile "$LINENO"; then :
58281 glibcxx_cv_func_at_quick_exit_use=yes
58282 else
58283 glibcxx_cv_func_at_quick_exit_use=no
58285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58286 ac_ext=c
58287 ac_cpp='$CPP $CPPFLAGS'
58288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58297 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58298 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58299 for ac_func in at_quick_exit
58300 do :
58301 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58302 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58303 cat >>confdefs.h <<_ACEOF
58304 #define HAVE_AT_QUICK_EXIT 1
58305 _ACEOF
58308 done
58313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58314 $as_echo_n "checking for quick_exit declaration... " >&6; }
58315 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58316 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58317 $as_echo_n "(cached) " >&6
58318 else
58321 ac_ext=cpp
58322 ac_cpp='$CXXCPP $CPPFLAGS'
58323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58328 /* end confdefs.h. */
58329 #include <stdlib.h>
58331 main ()
58333 quick_exit(0);
58335 return 0;
58337 _ACEOF
58338 if ac_fn_cxx_try_compile "$LINENO"; then :
58339 glibcxx_cv_func_quick_exit_use=yes
58340 else
58341 glibcxx_cv_func_quick_exit_use=no
58343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58344 ac_ext=c
58345 ac_cpp='$CPP $CPPFLAGS'
58346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58355 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58356 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58357 for ac_func in quick_exit
58358 do :
58359 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58360 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58361 cat >>confdefs.h <<_ACEOF
58362 #define HAVE_QUICK_EXIT 1
58363 _ACEOF
58366 done
58371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58372 $as_echo_n "checking for strtold declaration... " >&6; }
58373 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58374 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58375 $as_echo_n "(cached) " >&6
58376 else
58379 ac_ext=cpp
58380 ac_cpp='$CXXCPP $CPPFLAGS'
58381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58386 /* end confdefs.h. */
58387 #include <stdlib.h>
58389 main ()
58391 strtold(0, 0);
58393 return 0;
58395 _ACEOF
58396 if ac_fn_cxx_try_compile "$LINENO"; then :
58397 glibcxx_cv_func_strtold_use=yes
58398 else
58399 glibcxx_cv_func_strtold_use=no
58401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58402 ac_ext=c
58403 ac_cpp='$CPP $CPPFLAGS'
58404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58413 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58414 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58415 for ac_func in strtold
58416 do :
58417 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58418 if test "x$ac_cv_func_strtold" = x""yes; then :
58419 cat >>confdefs.h <<_ACEOF
58420 #define HAVE_STRTOLD 1
58421 _ACEOF
58424 done
58431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58432 $as_echo_n "checking for strtof declaration... " >&6; }
58433 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58434 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58435 $as_echo_n "(cached) " >&6
58436 else
58439 ac_ext=cpp
58440 ac_cpp='$CXXCPP $CPPFLAGS'
58441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58446 /* end confdefs.h. */
58447 #include <stdlib.h>
58449 main ()
58451 strtof(0, 0);
58453 return 0;
58455 _ACEOF
58456 if ac_fn_cxx_try_compile "$LINENO"; then :
58457 glibcxx_cv_func_strtof_use=yes
58458 else
58459 glibcxx_cv_func_strtof_use=no
58461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58462 ac_ext=c
58463 ac_cpp='$CPP $CPPFLAGS'
58464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58473 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58474 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58475 for ac_func in strtof
58476 do :
58477 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58478 if test "x$ac_cv_func_strtof" = x""yes; then :
58479 cat >>confdefs.h <<_ACEOF
58480 #define HAVE_STRTOF 1
58481 _ACEOF
58484 done
58491 CXXFLAGS="$ac_save_CXXFLAGS"
58494 *-netbsd*)
58495 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58498 # If we're not using GNU ld, then there's no point in even trying these
58499 # tests. Check for that first. We should have already tested for gld
58500 # by now (in libtool), but require it now just to be safe...
58501 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58502 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58506 # The name set by libtool depends on the version of libtool. Shame on us
58507 # for depending on an impl detail, but c'est la vie. Older versions used
58508 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58509 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58510 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58511 # set (hence we're using an older libtool), then set it.
58512 if test x${with_gnu_ld+set} != xset; then
58513 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58514 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58515 with_gnu_ld=no
58516 else
58517 with_gnu_ld=$ac_cv_prog_gnu_ld
58521 # Start by getting the version number. I think the libtool test already
58522 # does some of this, but throws away the result.
58523 glibcxx_ld_is_gold=no
58524 if test x"$with_gnu_ld" = x"yes"; then
58525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58526 $as_echo_n "checking for ld version... " >&6; }
58528 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58529 glibcxx_ld_is_gold=yes
58531 ldver=`$LD --version 2>/dev/null |
58532 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'`
58534 glibcxx_gnu_ld_version=`echo $ldver | \
58535 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58537 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58540 # Set --gc-sections.
58541 glibcxx_have_gc_sections=no
58542 if test "$glibcxx_ld_is_gold" = "yes"; then
58543 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58544 glibcxx_have_gc_sections=yes
58546 else
58547 glibcxx_gcsections_min_ld=21602
58548 if test x"$with_gnu_ld" = x"yes" &&
58549 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58550 glibcxx_have_gc_sections=yes
58553 if test "$glibcxx_have_gc_sections" = "yes"; then
58554 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58555 # NB: This flag only works reliably after 2.16.1. Configure tests
58556 # for this are difficult, so hard wire a value that should work.
58558 ac_test_CFLAGS="${CFLAGS+set}"
58559 ac_save_CFLAGS="$CFLAGS"
58560 CFLAGS='-Wl,--gc-sections'
58562 # Check for -Wl,--gc-sections
58563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58564 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58565 if test x$gcc_no_link = xyes; then
58566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58569 /* end confdefs.h. */
58570 int one(void) { return 1; }
58571 int two(void) { return 2; }
58574 main ()
58576 two();
58578 return 0;
58580 _ACEOF
58581 if ac_fn_c_try_link "$LINENO"; then :
58582 ac_gcsections=yes
58583 else
58584 ac_gcsections=no
58586 rm -f core conftest.err conftest.$ac_objext \
58587 conftest$ac_exeext conftest.$ac_ext
58588 if test "$ac_gcsections" = "yes"; then
58589 rm -f conftest.c
58590 touch conftest.c
58591 if $CC -c conftest.c; then
58592 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58593 grep "Warning: gc-sections option ignored" > /dev/null; then
58594 ac_gcsections=no
58597 rm -f conftest.c conftest.o conftest
58599 if test "$ac_gcsections" = "yes"; then
58600 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58603 $as_echo "$ac_gcsections" >&6; }
58605 if test "$ac_test_CFLAGS" = set; then
58606 CFLAGS="$ac_save_CFLAGS"
58607 else
58608 # this is the suspicious part
58609 CFLAGS=''
58613 # Set -z,relro.
58614 # Note this is only for shared objects.
58615 ac_ld_relro=no
58616 if test x"$with_gnu_ld" = x"yes"; then
58617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58618 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58619 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58620 if test -n "$cxx_z_relo"; then
58621 OPT_LDFLAGS="-Wl,-z,relro"
58622 ac_ld_relro=yes
58624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58625 $as_echo "$ac_ld_relro" >&6; }
58628 # Set linker optimization flags.
58629 if test x"$with_gnu_ld" = x"yes"; then
58630 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58636 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58638 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58640 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58642 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58644 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58646 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58648 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58650 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58652 if test x"long_double_math_on_this_cpu" = x"yes"; then
58653 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58655 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58657 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58661 *-qnx6.1* | *-qnx6.2*)
58662 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58665 # If we're not using GNU ld, then there's no point in even trying these
58666 # tests. Check for that first. We should have already tested for gld
58667 # by now (in libtool), but require it now just to be safe...
58668 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58669 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58673 # The name set by libtool depends on the version of libtool. Shame on us
58674 # for depending on an impl detail, but c'est la vie. Older versions used
58675 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58676 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58677 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58678 # set (hence we're using an older libtool), then set it.
58679 if test x${with_gnu_ld+set} != xset; then
58680 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58681 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58682 with_gnu_ld=no
58683 else
58684 with_gnu_ld=$ac_cv_prog_gnu_ld
58688 # Start by getting the version number. I think the libtool test already
58689 # does some of this, but throws away the result.
58690 glibcxx_ld_is_gold=no
58691 if test x"$with_gnu_ld" = x"yes"; then
58692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58693 $as_echo_n "checking for ld version... " >&6; }
58695 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58696 glibcxx_ld_is_gold=yes
58698 ldver=`$LD --version 2>/dev/null |
58699 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'`
58701 glibcxx_gnu_ld_version=`echo $ldver | \
58702 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58704 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58707 # Set --gc-sections.
58708 glibcxx_have_gc_sections=no
58709 if test "$glibcxx_ld_is_gold" = "yes"; then
58710 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58711 glibcxx_have_gc_sections=yes
58713 else
58714 glibcxx_gcsections_min_ld=21602
58715 if test x"$with_gnu_ld" = x"yes" &&
58716 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58717 glibcxx_have_gc_sections=yes
58720 if test "$glibcxx_have_gc_sections" = "yes"; then
58721 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58722 # NB: This flag only works reliably after 2.16.1. Configure tests
58723 # for this are difficult, so hard wire a value that should work.
58725 ac_test_CFLAGS="${CFLAGS+set}"
58726 ac_save_CFLAGS="$CFLAGS"
58727 CFLAGS='-Wl,--gc-sections'
58729 # Check for -Wl,--gc-sections
58730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58731 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58732 if test x$gcc_no_link = xyes; then
58733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58736 /* end confdefs.h. */
58737 int one(void) { return 1; }
58738 int two(void) { return 2; }
58741 main ()
58743 two();
58745 return 0;
58747 _ACEOF
58748 if ac_fn_c_try_link "$LINENO"; then :
58749 ac_gcsections=yes
58750 else
58751 ac_gcsections=no
58753 rm -f core conftest.err conftest.$ac_objext \
58754 conftest$ac_exeext conftest.$ac_ext
58755 if test "$ac_gcsections" = "yes"; then
58756 rm -f conftest.c
58757 touch conftest.c
58758 if $CC -c conftest.c; then
58759 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58760 grep "Warning: gc-sections option ignored" > /dev/null; then
58761 ac_gcsections=no
58764 rm -f conftest.c conftest.o conftest
58766 if test "$ac_gcsections" = "yes"; then
58767 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58770 $as_echo "$ac_gcsections" >&6; }
58772 if test "$ac_test_CFLAGS" = set; then
58773 CFLAGS="$ac_save_CFLAGS"
58774 else
58775 # this is the suspicious part
58776 CFLAGS=''
58780 # Set -z,relro.
58781 # Note this is only for shared objects.
58782 ac_ld_relro=no
58783 if test x"$with_gnu_ld" = x"yes"; then
58784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58785 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58786 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58787 if test -n "$cxx_z_relo"; then
58788 OPT_LDFLAGS="-Wl,-z,relro"
58789 ac_ld_relro=yes
58791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58792 $as_echo "$ac_ld_relro" >&6; }
58795 # Set linker optimization flags.
58796 if test x"$with_gnu_ld" = x"yes"; then
58797 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58803 $as_echo "#define HAVE_COSF 1" >>confdefs.h
58805 $as_echo "#define HAVE_COSL 1" >>confdefs.h
58807 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58809 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58811 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58813 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58815 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58817 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58819 $as_echo "#define HAVE_SINF 1" >>confdefs.h
58821 $as_echo "#define HAVE_SINL 1" >>confdefs.h
58823 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58825 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58828 *-rtems*)
58830 # All these tests are for C++; save the language and the compiler flags.
58831 # The CXXFLAGS thing is suspicious, but based on similar bits previously
58832 # found in GLIBCXX_CONFIGURE.
58834 ac_ext=cpp
58835 ac_cpp='$CXXCPP $CPPFLAGS'
58836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58840 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58841 ac_save_CXXFLAGS="$CXXFLAGS"
58843 # Check for maintainer-mode bits.
58844 if test x"$USE_MAINTAINER_MODE" = xno; then
58845 WERROR=''
58846 else
58847 WERROR='-Werror'
58850 # Check for -ffunction-sections -fdata-sections
58851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58852 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58853 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58855 /* end confdefs.h. */
58856 int foo; void bar() { };
58858 main ()
58862 return 0;
58864 _ACEOF
58865 if ac_fn_cxx_try_compile "$LINENO"; then :
58866 ac_fdsections=yes
58867 else
58868 ac_fdsections=no
58870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58871 if test "$ac_test_CXXFLAGS" = set; then
58872 CXXFLAGS="$ac_save_CXXFLAGS"
58873 else
58874 # this is the suspicious part
58875 CXXFLAGS=''
58877 if test x"$ac_fdsections" = x"yes"; then
58878 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58881 $as_echo "$ac_fdsections" >&6; }
58883 ac_ext=c
58884 ac_cpp='$CPP $CPPFLAGS'
58885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58893 # If we're not using GNU ld, then there's no point in even trying these
58894 # tests. Check for that first. We should have already tested for gld
58895 # by now (in libtool), but require it now just to be safe...
58896 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58897 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58901 # The name set by libtool depends on the version of libtool. Shame on us
58902 # for depending on an impl detail, but c'est la vie. Older versions used
58903 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58904 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58905 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58906 # set (hence we're using an older libtool), then set it.
58907 if test x${with_gnu_ld+set} != xset; then
58908 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58909 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58910 with_gnu_ld=no
58911 else
58912 with_gnu_ld=$ac_cv_prog_gnu_ld
58916 # Start by getting the version number. I think the libtool test already
58917 # does some of this, but throws away the result.
58918 glibcxx_ld_is_gold=no
58919 if test x"$with_gnu_ld" = x"yes"; then
58920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58921 $as_echo_n "checking for ld version... " >&6; }
58923 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58924 glibcxx_ld_is_gold=yes
58926 ldver=`$LD --version 2>/dev/null |
58927 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'`
58929 glibcxx_gnu_ld_version=`echo $ldver | \
58930 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58932 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58935 # Set --gc-sections.
58936 glibcxx_have_gc_sections=no
58937 if test "$glibcxx_ld_is_gold" = "yes"; then
58938 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58939 glibcxx_have_gc_sections=yes
58941 else
58942 glibcxx_gcsections_min_ld=21602
58943 if test x"$with_gnu_ld" = x"yes" &&
58944 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58945 glibcxx_have_gc_sections=yes
58948 if test "$glibcxx_have_gc_sections" = "yes"; then
58949 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58950 # NB: This flag only works reliably after 2.16.1. Configure tests
58951 # for this are difficult, so hard wire a value that should work.
58953 ac_test_CFLAGS="${CFLAGS+set}"
58954 ac_save_CFLAGS="$CFLAGS"
58955 CFLAGS='-Wl,--gc-sections'
58957 # Check for -Wl,--gc-sections
58958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58959 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58960 if test x$gcc_no_link = xyes; then
58961 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58964 /* end confdefs.h. */
58965 int one(void) { return 1; }
58966 int two(void) { return 2; }
58969 main ()
58971 two();
58973 return 0;
58975 _ACEOF
58976 if ac_fn_c_try_link "$LINENO"; then :
58977 ac_gcsections=yes
58978 else
58979 ac_gcsections=no
58981 rm -f core conftest.err conftest.$ac_objext \
58982 conftest$ac_exeext conftest.$ac_ext
58983 if test "$ac_gcsections" = "yes"; then
58984 rm -f conftest.c
58985 touch conftest.c
58986 if $CC -c conftest.c; then
58987 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58988 grep "Warning: gc-sections option ignored" > /dev/null; then
58989 ac_gcsections=no
58992 rm -f conftest.c conftest.o conftest
58994 if test "$ac_gcsections" = "yes"; then
58995 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58998 $as_echo "$ac_gcsections" >&6; }
59000 if test "$ac_test_CFLAGS" = set; then
59001 CFLAGS="$ac_save_CFLAGS"
59002 else
59003 # this is the suspicious part
59004 CFLAGS=''
59008 # Set -z,relro.
59009 # Note this is only for shared objects.
59010 ac_ld_relro=no
59011 if test x"$with_gnu_ld" = x"yes"; then
59012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59013 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59014 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59015 if test -n "$cxx_z_relo"; then
59016 OPT_LDFLAGS="-Wl,-z,relro"
59017 ac_ld_relro=yes
59019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59020 $as_echo "$ac_ld_relro" >&6; }
59023 # Set linker optimization flags.
59024 if test x"$with_gnu_ld" = x"yes"; then
59025 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59032 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59033 ac_save_CXXFLAGS="$CXXFLAGS"
59034 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59037 $as_echo_n "checking for sin in -lm... " >&6; }
59038 if test "${ac_cv_lib_m_sin+set}" = set; then :
59039 $as_echo_n "(cached) " >&6
59040 else
59041 ac_check_lib_save_LIBS=$LIBS
59042 LIBS="-lm $LIBS"
59043 if test x$gcc_no_link = xyes; then
59044 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59047 /* end confdefs.h. */
59049 /* Override any GCC internal prototype to avoid an error.
59050 Use char because int might match the return type of a GCC
59051 builtin and then its argument prototype would still apply. */
59052 #ifdef __cplusplus
59053 extern "C"
59054 #endif
59055 char sin ();
59057 main ()
59059 return sin ();
59061 return 0;
59063 _ACEOF
59064 if ac_fn_c_try_link "$LINENO"; then :
59065 ac_cv_lib_m_sin=yes
59066 else
59067 ac_cv_lib_m_sin=no
59069 rm -f core conftest.err conftest.$ac_objext \
59070 conftest$ac_exeext conftest.$ac_ext
59071 LIBS=$ac_check_lib_save_LIBS
59073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59074 $as_echo "$ac_cv_lib_m_sin" >&6; }
59075 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59076 libm="-lm"
59079 ac_save_LIBS="$LIBS"
59080 LIBS="$LIBS $libm"
59084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59085 $as_echo_n "checking for isinf declaration... " >&6; }
59086 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59087 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59088 $as_echo_n "(cached) " >&6
59089 else
59092 ac_ext=cpp
59093 ac_cpp='$CXXCPP $CPPFLAGS'
59094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59099 /* end confdefs.h. */
59100 #include <math.h>
59101 #ifdef HAVE_IEEEFP_H
59102 #include <ieeefp.h>
59103 #endif
59106 main ()
59108 isinf(0);
59110 return 0;
59112 _ACEOF
59113 if ac_fn_cxx_try_compile "$LINENO"; then :
59114 glibcxx_cv_func_isinf_use=yes
59115 else
59116 glibcxx_cv_func_isinf_use=no
59118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59119 ac_ext=c
59120 ac_cpp='$CPP $CPPFLAGS'
59121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59130 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59132 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59133 for ac_func in isinf
59134 do :
59135 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59136 if test "x$ac_cv_func_isinf" = x""yes; then :
59137 cat >>confdefs.h <<_ACEOF
59138 #define HAVE_ISINF 1
59139 _ACEOF
59142 done
59144 else
59146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59147 $as_echo_n "checking for _isinf declaration... " >&6; }
59148 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59149 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59150 $as_echo_n "(cached) " >&6
59151 else
59154 ac_ext=cpp
59155 ac_cpp='$CXXCPP $CPPFLAGS'
59156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59161 /* end confdefs.h. */
59162 #include <math.h>
59163 #ifdef HAVE_IEEEFP_H
59164 #include <ieeefp.h>
59165 #endif
59168 main ()
59170 _isinf(0);
59172 return 0;
59174 _ACEOF
59175 if ac_fn_cxx_try_compile "$LINENO"; then :
59176 glibcxx_cv_func__isinf_use=yes
59177 else
59178 glibcxx_cv_func__isinf_use=no
59180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59181 ac_ext=c
59182 ac_cpp='$CPP $CPPFLAGS'
59183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59192 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59194 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59195 for ac_func in _isinf
59196 do :
59197 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59198 if test "x$ac_cv_func__isinf" = x""yes; then :
59199 cat >>confdefs.h <<_ACEOF
59200 #define HAVE__ISINF 1
59201 _ACEOF
59204 done
59213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59214 $as_echo_n "checking for isnan declaration... " >&6; }
59215 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59216 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59217 $as_echo_n "(cached) " >&6
59218 else
59221 ac_ext=cpp
59222 ac_cpp='$CXXCPP $CPPFLAGS'
59223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59228 /* end confdefs.h. */
59229 #include <math.h>
59230 #ifdef HAVE_IEEEFP_H
59231 #include <ieeefp.h>
59232 #endif
59235 main ()
59237 isnan(0);
59239 return 0;
59241 _ACEOF
59242 if ac_fn_cxx_try_compile "$LINENO"; then :
59243 glibcxx_cv_func_isnan_use=yes
59244 else
59245 glibcxx_cv_func_isnan_use=no
59247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59248 ac_ext=c
59249 ac_cpp='$CPP $CPPFLAGS'
59250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59259 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59261 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59262 for ac_func in isnan
59263 do :
59264 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59265 if test "x$ac_cv_func_isnan" = x""yes; then :
59266 cat >>confdefs.h <<_ACEOF
59267 #define HAVE_ISNAN 1
59268 _ACEOF
59271 done
59273 else
59275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59276 $as_echo_n "checking for _isnan declaration... " >&6; }
59277 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59278 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59279 $as_echo_n "(cached) " >&6
59280 else
59283 ac_ext=cpp
59284 ac_cpp='$CXXCPP $CPPFLAGS'
59285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59290 /* end confdefs.h. */
59291 #include <math.h>
59292 #ifdef HAVE_IEEEFP_H
59293 #include <ieeefp.h>
59294 #endif
59297 main ()
59299 _isnan(0);
59301 return 0;
59303 _ACEOF
59304 if ac_fn_cxx_try_compile "$LINENO"; then :
59305 glibcxx_cv_func__isnan_use=yes
59306 else
59307 glibcxx_cv_func__isnan_use=no
59309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59310 ac_ext=c
59311 ac_cpp='$CPP $CPPFLAGS'
59312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59321 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59323 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59324 for ac_func in _isnan
59325 do :
59326 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59327 if test "x$ac_cv_func__isnan" = x""yes; then :
59328 cat >>confdefs.h <<_ACEOF
59329 #define HAVE__ISNAN 1
59330 _ACEOF
59333 done
59342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59343 $as_echo_n "checking for finite declaration... " >&6; }
59344 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59345 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59346 $as_echo_n "(cached) " >&6
59347 else
59350 ac_ext=cpp
59351 ac_cpp='$CXXCPP $CPPFLAGS'
59352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59357 /* end confdefs.h. */
59358 #include <math.h>
59359 #ifdef HAVE_IEEEFP_H
59360 #include <ieeefp.h>
59361 #endif
59364 main ()
59366 finite(0);
59368 return 0;
59370 _ACEOF
59371 if ac_fn_cxx_try_compile "$LINENO"; then :
59372 glibcxx_cv_func_finite_use=yes
59373 else
59374 glibcxx_cv_func_finite_use=no
59376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59377 ac_ext=c
59378 ac_cpp='$CPP $CPPFLAGS'
59379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59388 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59390 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59391 for ac_func in finite
59392 do :
59393 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59394 if test "x$ac_cv_func_finite" = x""yes; then :
59395 cat >>confdefs.h <<_ACEOF
59396 #define HAVE_FINITE 1
59397 _ACEOF
59400 done
59402 else
59404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59405 $as_echo_n "checking for _finite declaration... " >&6; }
59406 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59407 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59408 $as_echo_n "(cached) " >&6
59409 else
59412 ac_ext=cpp
59413 ac_cpp='$CXXCPP $CPPFLAGS'
59414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59419 /* end confdefs.h. */
59420 #include <math.h>
59421 #ifdef HAVE_IEEEFP_H
59422 #include <ieeefp.h>
59423 #endif
59426 main ()
59428 _finite(0);
59430 return 0;
59432 _ACEOF
59433 if ac_fn_cxx_try_compile "$LINENO"; then :
59434 glibcxx_cv_func__finite_use=yes
59435 else
59436 glibcxx_cv_func__finite_use=no
59438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59439 ac_ext=c
59440 ac_cpp='$CPP $CPPFLAGS'
59441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59450 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59452 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59453 for ac_func in _finite
59454 do :
59455 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59456 if test "x$ac_cv_func__finite" = x""yes; then :
59457 cat >>confdefs.h <<_ACEOF
59458 #define HAVE__FINITE 1
59459 _ACEOF
59462 done
59471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59472 $as_echo_n "checking for sincos declaration... " >&6; }
59473 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59474 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59475 $as_echo_n "(cached) " >&6
59476 else
59479 ac_ext=cpp
59480 ac_cpp='$CXXCPP $CPPFLAGS'
59481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59486 /* end confdefs.h. */
59487 #include <math.h>
59489 main ()
59491 sincos(0, 0, 0);
59493 return 0;
59495 _ACEOF
59496 if ac_fn_cxx_try_compile "$LINENO"; then :
59497 glibcxx_cv_func_sincos_use=yes
59498 else
59499 glibcxx_cv_func_sincos_use=no
59501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59502 ac_ext=c
59503 ac_cpp='$CPP $CPPFLAGS'
59504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59513 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59515 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59516 for ac_func in sincos
59517 do :
59518 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59519 if test "x$ac_cv_func_sincos" = x""yes; then :
59520 cat >>confdefs.h <<_ACEOF
59521 #define HAVE_SINCOS 1
59522 _ACEOF
59525 done
59527 else
59529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59530 $as_echo_n "checking for _sincos declaration... " >&6; }
59531 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59532 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59533 $as_echo_n "(cached) " >&6
59534 else
59537 ac_ext=cpp
59538 ac_cpp='$CXXCPP $CPPFLAGS'
59539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59544 /* end confdefs.h. */
59545 #include <math.h>
59547 main ()
59549 _sincos(0, 0, 0);
59551 return 0;
59553 _ACEOF
59554 if ac_fn_cxx_try_compile "$LINENO"; then :
59555 glibcxx_cv_func__sincos_use=yes
59556 else
59557 glibcxx_cv_func__sincos_use=no
59559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59560 ac_ext=c
59561 ac_cpp='$CPP $CPPFLAGS'
59562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59571 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59573 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59574 for ac_func in _sincos
59575 do :
59576 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59577 if test "x$ac_cv_func__sincos" = x""yes; then :
59578 cat >>confdefs.h <<_ACEOF
59579 #define HAVE__SINCOS 1
59580 _ACEOF
59583 done
59592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59593 $as_echo_n "checking for fpclass declaration... " >&6; }
59594 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59595 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59596 $as_echo_n "(cached) " >&6
59597 else
59600 ac_ext=cpp
59601 ac_cpp='$CXXCPP $CPPFLAGS'
59602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59607 /* end confdefs.h. */
59608 #include <math.h>
59609 #ifdef HAVE_IEEEFP_H
59610 #include <ieeefp.h>
59611 #endif
59614 main ()
59616 fpclass(0);
59618 return 0;
59620 _ACEOF
59621 if ac_fn_cxx_try_compile "$LINENO"; then :
59622 glibcxx_cv_func_fpclass_use=yes
59623 else
59624 glibcxx_cv_func_fpclass_use=no
59626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59627 ac_ext=c
59628 ac_cpp='$CPP $CPPFLAGS'
59629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59638 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59640 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59641 for ac_func in fpclass
59642 do :
59643 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59644 if test "x$ac_cv_func_fpclass" = x""yes; then :
59645 cat >>confdefs.h <<_ACEOF
59646 #define HAVE_FPCLASS 1
59647 _ACEOF
59650 done
59652 else
59654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59655 $as_echo_n "checking for _fpclass declaration... " >&6; }
59656 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59657 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59658 $as_echo_n "(cached) " >&6
59659 else
59662 ac_ext=cpp
59663 ac_cpp='$CXXCPP $CPPFLAGS'
59664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59669 /* end confdefs.h. */
59670 #include <math.h>
59671 #ifdef HAVE_IEEEFP_H
59672 #include <ieeefp.h>
59673 #endif
59676 main ()
59678 _fpclass(0);
59680 return 0;
59682 _ACEOF
59683 if ac_fn_cxx_try_compile "$LINENO"; then :
59684 glibcxx_cv_func__fpclass_use=yes
59685 else
59686 glibcxx_cv_func__fpclass_use=no
59688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59689 ac_ext=c
59690 ac_cpp='$CPP $CPPFLAGS'
59691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59700 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59702 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59703 for ac_func in _fpclass
59704 do :
59705 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59706 if test "x$ac_cv_func__fpclass" = x""yes; then :
59707 cat >>confdefs.h <<_ACEOF
59708 #define HAVE__FPCLASS 1
59709 _ACEOF
59712 done
59721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59722 $as_echo_n "checking for qfpclass declaration... " >&6; }
59723 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59724 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59725 $as_echo_n "(cached) " >&6
59726 else
59729 ac_ext=cpp
59730 ac_cpp='$CXXCPP $CPPFLAGS'
59731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59736 /* end confdefs.h. */
59737 #include <math.h>
59738 #ifdef HAVE_IEEEFP_H
59739 #include <ieeefp.h>
59740 #endif
59743 main ()
59745 qfpclass(0);
59747 return 0;
59749 _ACEOF
59750 if ac_fn_cxx_try_compile "$LINENO"; then :
59751 glibcxx_cv_func_qfpclass_use=yes
59752 else
59753 glibcxx_cv_func_qfpclass_use=no
59755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59756 ac_ext=c
59757 ac_cpp='$CPP $CPPFLAGS'
59758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59767 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59769 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59770 for ac_func in qfpclass
59771 do :
59772 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59773 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59774 cat >>confdefs.h <<_ACEOF
59775 #define HAVE_QFPCLASS 1
59776 _ACEOF
59779 done
59781 else
59783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59784 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59785 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59786 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59787 $as_echo_n "(cached) " >&6
59788 else
59791 ac_ext=cpp
59792 ac_cpp='$CXXCPP $CPPFLAGS'
59793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59798 /* end confdefs.h. */
59799 #include <math.h>
59800 #ifdef HAVE_IEEEFP_H
59801 #include <ieeefp.h>
59802 #endif
59805 main ()
59807 _qfpclass(0);
59809 return 0;
59811 _ACEOF
59812 if ac_fn_cxx_try_compile "$LINENO"; then :
59813 glibcxx_cv_func__qfpclass_use=yes
59814 else
59815 glibcxx_cv_func__qfpclass_use=no
59817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59818 ac_ext=c
59819 ac_cpp='$CPP $CPPFLAGS'
59820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59829 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59831 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59832 for ac_func in _qfpclass
59833 do :
59834 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59835 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59836 cat >>confdefs.h <<_ACEOF
59837 #define HAVE__QFPCLASS 1
59838 _ACEOF
59841 done
59850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59851 $as_echo_n "checking for hypot declaration... " >&6; }
59852 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59853 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59854 $as_echo_n "(cached) " >&6
59855 else
59858 ac_ext=cpp
59859 ac_cpp='$CXXCPP $CPPFLAGS'
59860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59865 /* end confdefs.h. */
59866 #include <math.h>
59868 main ()
59870 hypot(0, 0);
59872 return 0;
59874 _ACEOF
59875 if ac_fn_cxx_try_compile "$LINENO"; then :
59876 glibcxx_cv_func_hypot_use=yes
59877 else
59878 glibcxx_cv_func_hypot_use=no
59880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59881 ac_ext=c
59882 ac_cpp='$CPP $CPPFLAGS'
59883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59892 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59894 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59895 for ac_func in hypot
59896 do :
59897 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59898 if test "x$ac_cv_func_hypot" = x""yes; then :
59899 cat >>confdefs.h <<_ACEOF
59900 #define HAVE_HYPOT 1
59901 _ACEOF
59904 done
59906 else
59908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59909 $as_echo_n "checking for _hypot declaration... " >&6; }
59910 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59911 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59912 $as_echo_n "(cached) " >&6
59913 else
59916 ac_ext=cpp
59917 ac_cpp='$CXXCPP $CPPFLAGS'
59918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59923 /* end confdefs.h. */
59924 #include <math.h>
59926 main ()
59928 _hypot(0, 0);
59930 return 0;
59932 _ACEOF
59933 if ac_fn_cxx_try_compile "$LINENO"; then :
59934 glibcxx_cv_func__hypot_use=yes
59935 else
59936 glibcxx_cv_func__hypot_use=no
59938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59939 ac_ext=c
59940 ac_cpp='$CPP $CPPFLAGS'
59941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59950 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59952 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59953 for ac_func in _hypot
59954 do :
59955 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59956 if test "x$ac_cv_func__hypot" = x""yes; then :
59957 cat >>confdefs.h <<_ACEOF
59958 #define HAVE__HYPOT 1
59959 _ACEOF
59962 done
59971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59972 $as_echo_n "checking for float trig functions... " >&6; }
59973 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59974 $as_echo_n "(cached) " >&6
59975 else
59978 ac_ext=cpp
59979 ac_cpp='$CXXCPP $CPPFLAGS'
59980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59985 /* end confdefs.h. */
59986 #include <math.h>
59988 main ()
59990 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59992 return 0;
59994 _ACEOF
59995 if ac_fn_cxx_try_compile "$LINENO"; then :
59996 glibcxx_cv_func_float_trig_use=yes
59997 else
59998 glibcxx_cv_func_float_trig_use=no
60000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60001 ac_ext=c
60002 ac_cpp='$CPP $CPPFLAGS'
60003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60010 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60011 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60012 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60013 do :
60014 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60015 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60016 eval as_val=\$$as_ac_var
60017 if test "x$as_val" = x""yes; then :
60018 cat >>confdefs.h <<_ACEOF
60019 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60020 _ACEOF
60023 done
60025 else
60026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60027 $as_echo_n "checking for _float trig functions... " >&6; }
60028 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60029 $as_echo_n "(cached) " >&6
60030 else
60033 ac_ext=cpp
60034 ac_cpp='$CXXCPP $CPPFLAGS'
60035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60040 /* end confdefs.h. */
60041 #include <math.h>
60043 main ()
60045 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60047 return 0;
60049 _ACEOF
60050 if ac_fn_cxx_try_compile "$LINENO"; then :
60051 glibcxx_cv_func__float_trig_use=yes
60052 else
60053 glibcxx_cv_func__float_trig_use=no
60055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60056 ac_ext=c
60057 ac_cpp='$CPP $CPPFLAGS'
60058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60065 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60066 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60067 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60068 do :
60069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60071 eval as_val=\$$as_ac_var
60072 if test "x$as_val" = x""yes; then :
60073 cat >>confdefs.h <<_ACEOF
60074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60075 _ACEOF
60078 done
60087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60088 $as_echo_n "checking for float round functions... " >&6; }
60089 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60090 $as_echo_n "(cached) " >&6
60091 else
60094 ac_ext=cpp
60095 ac_cpp='$CXXCPP $CPPFLAGS'
60096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60101 /* end confdefs.h. */
60102 #include <math.h>
60104 main ()
60106 ceilf (0); floorf (0);
60108 return 0;
60110 _ACEOF
60111 if ac_fn_cxx_try_compile "$LINENO"; then :
60112 glibcxx_cv_func_float_round_use=yes
60113 else
60114 glibcxx_cv_func_float_round_use=no
60116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60117 ac_ext=c
60118 ac_cpp='$CPP $CPPFLAGS'
60119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60126 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60127 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60128 for ac_func in ceilf floorf
60129 do :
60130 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60131 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60132 eval as_val=\$$as_ac_var
60133 if test "x$as_val" = x""yes; then :
60134 cat >>confdefs.h <<_ACEOF
60135 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60136 _ACEOF
60139 done
60141 else
60142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60143 $as_echo_n "checking for _float round functions... " >&6; }
60144 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60145 $as_echo_n "(cached) " >&6
60146 else
60149 ac_ext=cpp
60150 ac_cpp='$CXXCPP $CPPFLAGS'
60151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60156 /* end confdefs.h. */
60157 #include <math.h>
60159 main ()
60161 _ceilf (0); _floorf (0);
60163 return 0;
60165 _ACEOF
60166 if ac_fn_cxx_try_compile "$LINENO"; then :
60167 glibcxx_cv_func__float_round_use=yes
60168 else
60169 glibcxx_cv_func__float_round_use=no
60171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60172 ac_ext=c
60173 ac_cpp='$CPP $CPPFLAGS'
60174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60181 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60182 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60183 for ac_func in _ceilf _floorf
60184 do :
60185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60187 eval as_val=\$$as_ac_var
60188 if test "x$as_val" = x""yes; then :
60189 cat >>confdefs.h <<_ACEOF
60190 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60191 _ACEOF
60194 done
60204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60205 $as_echo_n "checking for expf declaration... " >&6; }
60206 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60207 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60208 $as_echo_n "(cached) " >&6
60209 else
60212 ac_ext=cpp
60213 ac_cpp='$CXXCPP $CPPFLAGS'
60214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60219 /* end confdefs.h. */
60220 #include <math.h>
60221 #ifdef HAVE_IEEEFP_H
60222 #include <ieeefp.h>
60223 #endif
60226 main ()
60228 expf(0);
60230 return 0;
60232 _ACEOF
60233 if ac_fn_cxx_try_compile "$LINENO"; then :
60234 glibcxx_cv_func_expf_use=yes
60235 else
60236 glibcxx_cv_func_expf_use=no
60238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60239 ac_ext=c
60240 ac_cpp='$CPP $CPPFLAGS'
60241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60250 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60252 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60253 for ac_func in expf
60254 do :
60255 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60256 if test "x$ac_cv_func_expf" = x""yes; then :
60257 cat >>confdefs.h <<_ACEOF
60258 #define HAVE_EXPF 1
60259 _ACEOF
60262 done
60264 else
60266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60267 $as_echo_n "checking for _expf declaration... " >&6; }
60268 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60269 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60270 $as_echo_n "(cached) " >&6
60271 else
60274 ac_ext=cpp
60275 ac_cpp='$CXXCPP $CPPFLAGS'
60276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60281 /* end confdefs.h. */
60282 #include <math.h>
60283 #ifdef HAVE_IEEEFP_H
60284 #include <ieeefp.h>
60285 #endif
60288 main ()
60290 _expf(0);
60292 return 0;
60294 _ACEOF
60295 if ac_fn_cxx_try_compile "$LINENO"; then :
60296 glibcxx_cv_func__expf_use=yes
60297 else
60298 glibcxx_cv_func__expf_use=no
60300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60301 ac_ext=c
60302 ac_cpp='$CPP $CPPFLAGS'
60303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60312 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60314 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60315 for ac_func in _expf
60316 do :
60317 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60318 if test "x$ac_cv_func__expf" = x""yes; then :
60319 cat >>confdefs.h <<_ACEOF
60320 #define HAVE__EXPF 1
60321 _ACEOF
60324 done
60333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60334 $as_echo_n "checking for isnanf declaration... " >&6; }
60335 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60336 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60337 $as_echo_n "(cached) " >&6
60338 else
60341 ac_ext=cpp
60342 ac_cpp='$CXXCPP $CPPFLAGS'
60343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60348 /* end confdefs.h. */
60349 #include <math.h>
60350 #ifdef HAVE_IEEEFP_H
60351 #include <ieeefp.h>
60352 #endif
60355 main ()
60357 isnanf(0);
60359 return 0;
60361 _ACEOF
60362 if ac_fn_cxx_try_compile "$LINENO"; then :
60363 glibcxx_cv_func_isnanf_use=yes
60364 else
60365 glibcxx_cv_func_isnanf_use=no
60367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60368 ac_ext=c
60369 ac_cpp='$CPP $CPPFLAGS'
60370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60379 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60381 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60382 for ac_func in isnanf
60383 do :
60384 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60385 if test "x$ac_cv_func_isnanf" = x""yes; then :
60386 cat >>confdefs.h <<_ACEOF
60387 #define HAVE_ISNANF 1
60388 _ACEOF
60391 done
60393 else
60395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60396 $as_echo_n "checking for _isnanf declaration... " >&6; }
60397 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60398 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60399 $as_echo_n "(cached) " >&6
60400 else
60403 ac_ext=cpp
60404 ac_cpp='$CXXCPP $CPPFLAGS'
60405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60410 /* end confdefs.h. */
60411 #include <math.h>
60412 #ifdef HAVE_IEEEFP_H
60413 #include <ieeefp.h>
60414 #endif
60417 main ()
60419 _isnanf(0);
60421 return 0;
60423 _ACEOF
60424 if ac_fn_cxx_try_compile "$LINENO"; then :
60425 glibcxx_cv_func__isnanf_use=yes
60426 else
60427 glibcxx_cv_func__isnanf_use=no
60429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60430 ac_ext=c
60431 ac_cpp='$CPP $CPPFLAGS'
60432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60441 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60443 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60444 for ac_func in _isnanf
60445 do :
60446 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60447 if test "x$ac_cv_func__isnanf" = x""yes; then :
60448 cat >>confdefs.h <<_ACEOF
60449 #define HAVE__ISNANF 1
60450 _ACEOF
60453 done
60462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60463 $as_echo_n "checking for isinff declaration... " >&6; }
60464 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60465 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60466 $as_echo_n "(cached) " >&6
60467 else
60470 ac_ext=cpp
60471 ac_cpp='$CXXCPP $CPPFLAGS'
60472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60477 /* end confdefs.h. */
60478 #include <math.h>
60479 #ifdef HAVE_IEEEFP_H
60480 #include <ieeefp.h>
60481 #endif
60484 main ()
60486 isinff(0);
60488 return 0;
60490 _ACEOF
60491 if ac_fn_cxx_try_compile "$LINENO"; then :
60492 glibcxx_cv_func_isinff_use=yes
60493 else
60494 glibcxx_cv_func_isinff_use=no
60496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60497 ac_ext=c
60498 ac_cpp='$CPP $CPPFLAGS'
60499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60508 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60510 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60511 for ac_func in isinff
60512 do :
60513 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60514 if test "x$ac_cv_func_isinff" = x""yes; then :
60515 cat >>confdefs.h <<_ACEOF
60516 #define HAVE_ISINFF 1
60517 _ACEOF
60520 done
60522 else
60524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60525 $as_echo_n "checking for _isinff declaration... " >&6; }
60526 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60527 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60528 $as_echo_n "(cached) " >&6
60529 else
60532 ac_ext=cpp
60533 ac_cpp='$CXXCPP $CPPFLAGS'
60534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60539 /* end confdefs.h. */
60540 #include <math.h>
60541 #ifdef HAVE_IEEEFP_H
60542 #include <ieeefp.h>
60543 #endif
60546 main ()
60548 _isinff(0);
60550 return 0;
60552 _ACEOF
60553 if ac_fn_cxx_try_compile "$LINENO"; then :
60554 glibcxx_cv_func__isinff_use=yes
60555 else
60556 glibcxx_cv_func__isinff_use=no
60558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60559 ac_ext=c
60560 ac_cpp='$CPP $CPPFLAGS'
60561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60570 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60572 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60573 for ac_func in _isinff
60574 do :
60575 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60576 if test "x$ac_cv_func__isinff" = x""yes; then :
60577 cat >>confdefs.h <<_ACEOF
60578 #define HAVE__ISINFF 1
60579 _ACEOF
60582 done
60591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60592 $as_echo_n "checking for atan2f declaration... " >&6; }
60593 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60594 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60595 $as_echo_n "(cached) " >&6
60596 else
60599 ac_ext=cpp
60600 ac_cpp='$CXXCPP $CPPFLAGS'
60601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60606 /* end confdefs.h. */
60607 #include <math.h>
60609 main ()
60611 atan2f(0, 0);
60613 return 0;
60615 _ACEOF
60616 if ac_fn_cxx_try_compile "$LINENO"; then :
60617 glibcxx_cv_func_atan2f_use=yes
60618 else
60619 glibcxx_cv_func_atan2f_use=no
60621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60622 ac_ext=c
60623 ac_cpp='$CPP $CPPFLAGS'
60624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60633 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60635 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60636 for ac_func in atan2f
60637 do :
60638 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60639 if test "x$ac_cv_func_atan2f" = x""yes; then :
60640 cat >>confdefs.h <<_ACEOF
60641 #define HAVE_ATAN2F 1
60642 _ACEOF
60645 done
60647 else
60649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60650 $as_echo_n "checking for _atan2f declaration... " >&6; }
60651 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60652 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60653 $as_echo_n "(cached) " >&6
60654 else
60657 ac_ext=cpp
60658 ac_cpp='$CXXCPP $CPPFLAGS'
60659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60664 /* end confdefs.h. */
60665 #include <math.h>
60667 main ()
60669 _atan2f(0, 0);
60671 return 0;
60673 _ACEOF
60674 if ac_fn_cxx_try_compile "$LINENO"; then :
60675 glibcxx_cv_func__atan2f_use=yes
60676 else
60677 glibcxx_cv_func__atan2f_use=no
60679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60680 ac_ext=c
60681 ac_cpp='$CPP $CPPFLAGS'
60682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60691 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60693 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60694 for ac_func in _atan2f
60695 do :
60696 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60697 if test "x$ac_cv_func__atan2f" = x""yes; then :
60698 cat >>confdefs.h <<_ACEOF
60699 #define HAVE__ATAN2F 1
60700 _ACEOF
60703 done
60712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60713 $as_echo_n "checking for fabsf declaration... " >&6; }
60714 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60715 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60716 $as_echo_n "(cached) " >&6
60717 else
60720 ac_ext=cpp
60721 ac_cpp='$CXXCPP $CPPFLAGS'
60722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60727 /* end confdefs.h. */
60728 #include <math.h>
60729 #ifdef HAVE_IEEEFP_H
60730 #include <ieeefp.h>
60731 #endif
60734 main ()
60736 fabsf(0);
60738 return 0;
60740 _ACEOF
60741 if ac_fn_cxx_try_compile "$LINENO"; then :
60742 glibcxx_cv_func_fabsf_use=yes
60743 else
60744 glibcxx_cv_func_fabsf_use=no
60746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60747 ac_ext=c
60748 ac_cpp='$CPP $CPPFLAGS'
60749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60758 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60760 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60761 for ac_func in fabsf
60762 do :
60763 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60764 if test "x$ac_cv_func_fabsf" = x""yes; then :
60765 cat >>confdefs.h <<_ACEOF
60766 #define HAVE_FABSF 1
60767 _ACEOF
60770 done
60772 else
60774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60775 $as_echo_n "checking for _fabsf declaration... " >&6; }
60776 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60777 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60778 $as_echo_n "(cached) " >&6
60779 else
60782 ac_ext=cpp
60783 ac_cpp='$CXXCPP $CPPFLAGS'
60784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60789 /* end confdefs.h. */
60790 #include <math.h>
60791 #ifdef HAVE_IEEEFP_H
60792 #include <ieeefp.h>
60793 #endif
60796 main ()
60798 _fabsf(0);
60800 return 0;
60802 _ACEOF
60803 if ac_fn_cxx_try_compile "$LINENO"; then :
60804 glibcxx_cv_func__fabsf_use=yes
60805 else
60806 glibcxx_cv_func__fabsf_use=no
60808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60809 ac_ext=c
60810 ac_cpp='$CPP $CPPFLAGS'
60811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60820 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60822 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60823 for ac_func in _fabsf
60824 do :
60825 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60826 if test "x$ac_cv_func__fabsf" = x""yes; then :
60827 cat >>confdefs.h <<_ACEOF
60828 #define HAVE__FABSF 1
60829 _ACEOF
60832 done
60841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60842 $as_echo_n "checking for fmodf declaration... " >&6; }
60843 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60844 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60845 $as_echo_n "(cached) " >&6
60846 else
60849 ac_ext=cpp
60850 ac_cpp='$CXXCPP $CPPFLAGS'
60851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60856 /* end confdefs.h. */
60857 #include <math.h>
60859 main ()
60861 fmodf(0, 0);
60863 return 0;
60865 _ACEOF
60866 if ac_fn_cxx_try_compile "$LINENO"; then :
60867 glibcxx_cv_func_fmodf_use=yes
60868 else
60869 glibcxx_cv_func_fmodf_use=no
60871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60872 ac_ext=c
60873 ac_cpp='$CPP $CPPFLAGS'
60874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60883 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60885 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60886 for ac_func in fmodf
60887 do :
60888 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60889 if test "x$ac_cv_func_fmodf" = x""yes; then :
60890 cat >>confdefs.h <<_ACEOF
60891 #define HAVE_FMODF 1
60892 _ACEOF
60895 done
60897 else
60899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60900 $as_echo_n "checking for _fmodf declaration... " >&6; }
60901 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60902 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60903 $as_echo_n "(cached) " >&6
60904 else
60907 ac_ext=cpp
60908 ac_cpp='$CXXCPP $CPPFLAGS'
60909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60914 /* end confdefs.h. */
60915 #include <math.h>
60917 main ()
60919 _fmodf(0, 0);
60921 return 0;
60923 _ACEOF
60924 if ac_fn_cxx_try_compile "$LINENO"; then :
60925 glibcxx_cv_func__fmodf_use=yes
60926 else
60927 glibcxx_cv_func__fmodf_use=no
60929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60930 ac_ext=c
60931 ac_cpp='$CPP $CPPFLAGS'
60932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60941 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60943 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60944 for ac_func in _fmodf
60945 do :
60946 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60947 if test "x$ac_cv_func__fmodf" = x""yes; then :
60948 cat >>confdefs.h <<_ACEOF
60949 #define HAVE__FMODF 1
60950 _ACEOF
60953 done
60962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60963 $as_echo_n "checking for frexpf declaration... " >&6; }
60964 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60965 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60966 $as_echo_n "(cached) " >&6
60967 else
60970 ac_ext=cpp
60971 ac_cpp='$CXXCPP $CPPFLAGS'
60972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60977 /* end confdefs.h. */
60978 #include <math.h>
60980 main ()
60982 frexpf(0, 0);
60984 return 0;
60986 _ACEOF
60987 if ac_fn_cxx_try_compile "$LINENO"; then :
60988 glibcxx_cv_func_frexpf_use=yes
60989 else
60990 glibcxx_cv_func_frexpf_use=no
60992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60993 ac_ext=c
60994 ac_cpp='$CPP $CPPFLAGS'
60995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61004 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61006 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61007 for ac_func in frexpf
61008 do :
61009 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61010 if test "x$ac_cv_func_frexpf" = x""yes; then :
61011 cat >>confdefs.h <<_ACEOF
61012 #define HAVE_FREXPF 1
61013 _ACEOF
61016 done
61018 else
61020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61021 $as_echo_n "checking for _frexpf declaration... " >&6; }
61022 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61023 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61024 $as_echo_n "(cached) " >&6
61025 else
61028 ac_ext=cpp
61029 ac_cpp='$CXXCPP $CPPFLAGS'
61030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61035 /* end confdefs.h. */
61036 #include <math.h>
61038 main ()
61040 _frexpf(0, 0);
61042 return 0;
61044 _ACEOF
61045 if ac_fn_cxx_try_compile "$LINENO"; then :
61046 glibcxx_cv_func__frexpf_use=yes
61047 else
61048 glibcxx_cv_func__frexpf_use=no
61050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61051 ac_ext=c
61052 ac_cpp='$CPP $CPPFLAGS'
61053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61062 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61064 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61065 for ac_func in _frexpf
61066 do :
61067 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61068 if test "x$ac_cv_func__frexpf" = x""yes; then :
61069 cat >>confdefs.h <<_ACEOF
61070 #define HAVE__FREXPF 1
61071 _ACEOF
61074 done
61083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61084 $as_echo_n "checking for hypotf declaration... " >&6; }
61085 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61086 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61087 $as_echo_n "(cached) " >&6
61088 else
61091 ac_ext=cpp
61092 ac_cpp='$CXXCPP $CPPFLAGS'
61093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61098 /* end confdefs.h. */
61099 #include <math.h>
61101 main ()
61103 hypotf(0, 0);
61105 return 0;
61107 _ACEOF
61108 if ac_fn_cxx_try_compile "$LINENO"; then :
61109 glibcxx_cv_func_hypotf_use=yes
61110 else
61111 glibcxx_cv_func_hypotf_use=no
61113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61114 ac_ext=c
61115 ac_cpp='$CPP $CPPFLAGS'
61116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61125 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61127 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61128 for ac_func in hypotf
61129 do :
61130 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61131 if test "x$ac_cv_func_hypotf" = x""yes; then :
61132 cat >>confdefs.h <<_ACEOF
61133 #define HAVE_HYPOTF 1
61134 _ACEOF
61137 done
61139 else
61141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61142 $as_echo_n "checking for _hypotf declaration... " >&6; }
61143 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61144 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61145 $as_echo_n "(cached) " >&6
61146 else
61149 ac_ext=cpp
61150 ac_cpp='$CXXCPP $CPPFLAGS'
61151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61156 /* end confdefs.h. */
61157 #include <math.h>
61159 main ()
61161 _hypotf(0, 0);
61163 return 0;
61165 _ACEOF
61166 if ac_fn_cxx_try_compile "$LINENO"; then :
61167 glibcxx_cv_func__hypotf_use=yes
61168 else
61169 glibcxx_cv_func__hypotf_use=no
61171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61172 ac_ext=c
61173 ac_cpp='$CPP $CPPFLAGS'
61174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61183 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61185 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61186 for ac_func in _hypotf
61187 do :
61188 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61189 if test "x$ac_cv_func__hypotf" = x""yes; then :
61190 cat >>confdefs.h <<_ACEOF
61191 #define HAVE__HYPOTF 1
61192 _ACEOF
61195 done
61204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61205 $as_echo_n "checking for ldexpf declaration... " >&6; }
61206 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61207 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61208 $as_echo_n "(cached) " >&6
61209 else
61212 ac_ext=cpp
61213 ac_cpp='$CXXCPP $CPPFLAGS'
61214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61219 /* end confdefs.h. */
61220 #include <math.h>
61222 main ()
61224 ldexpf(0, 0);
61226 return 0;
61228 _ACEOF
61229 if ac_fn_cxx_try_compile "$LINENO"; then :
61230 glibcxx_cv_func_ldexpf_use=yes
61231 else
61232 glibcxx_cv_func_ldexpf_use=no
61234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61235 ac_ext=c
61236 ac_cpp='$CPP $CPPFLAGS'
61237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61246 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61248 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61249 for ac_func in ldexpf
61250 do :
61251 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61252 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61253 cat >>confdefs.h <<_ACEOF
61254 #define HAVE_LDEXPF 1
61255 _ACEOF
61258 done
61260 else
61262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61263 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61264 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61265 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61266 $as_echo_n "(cached) " >&6
61267 else
61270 ac_ext=cpp
61271 ac_cpp='$CXXCPP $CPPFLAGS'
61272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61277 /* end confdefs.h. */
61278 #include <math.h>
61280 main ()
61282 _ldexpf(0, 0);
61284 return 0;
61286 _ACEOF
61287 if ac_fn_cxx_try_compile "$LINENO"; then :
61288 glibcxx_cv_func__ldexpf_use=yes
61289 else
61290 glibcxx_cv_func__ldexpf_use=no
61292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61293 ac_ext=c
61294 ac_cpp='$CPP $CPPFLAGS'
61295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61304 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61306 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61307 for ac_func in _ldexpf
61308 do :
61309 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61310 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61311 cat >>confdefs.h <<_ACEOF
61312 #define HAVE__LDEXPF 1
61313 _ACEOF
61316 done
61325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61326 $as_echo_n "checking for logf declaration... " >&6; }
61327 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61328 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61329 $as_echo_n "(cached) " >&6
61330 else
61333 ac_ext=cpp
61334 ac_cpp='$CXXCPP $CPPFLAGS'
61335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61340 /* end confdefs.h. */
61341 #include <math.h>
61342 #ifdef HAVE_IEEEFP_H
61343 #include <ieeefp.h>
61344 #endif
61347 main ()
61349 logf(0);
61351 return 0;
61353 _ACEOF
61354 if ac_fn_cxx_try_compile "$LINENO"; then :
61355 glibcxx_cv_func_logf_use=yes
61356 else
61357 glibcxx_cv_func_logf_use=no
61359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61360 ac_ext=c
61361 ac_cpp='$CPP $CPPFLAGS'
61362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61371 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61373 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61374 for ac_func in logf
61375 do :
61376 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61377 if test "x$ac_cv_func_logf" = x""yes; then :
61378 cat >>confdefs.h <<_ACEOF
61379 #define HAVE_LOGF 1
61380 _ACEOF
61383 done
61385 else
61387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61388 $as_echo_n "checking for _logf declaration... " >&6; }
61389 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61390 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61391 $as_echo_n "(cached) " >&6
61392 else
61395 ac_ext=cpp
61396 ac_cpp='$CXXCPP $CPPFLAGS'
61397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61402 /* end confdefs.h. */
61403 #include <math.h>
61404 #ifdef HAVE_IEEEFP_H
61405 #include <ieeefp.h>
61406 #endif
61409 main ()
61411 _logf(0);
61413 return 0;
61415 _ACEOF
61416 if ac_fn_cxx_try_compile "$LINENO"; then :
61417 glibcxx_cv_func__logf_use=yes
61418 else
61419 glibcxx_cv_func__logf_use=no
61421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61422 ac_ext=c
61423 ac_cpp='$CPP $CPPFLAGS'
61424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61433 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61435 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61436 for ac_func in _logf
61437 do :
61438 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61439 if test "x$ac_cv_func__logf" = x""yes; then :
61440 cat >>confdefs.h <<_ACEOF
61441 #define HAVE__LOGF 1
61442 _ACEOF
61445 done
61454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61455 $as_echo_n "checking for log10f declaration... " >&6; }
61456 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61457 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61458 $as_echo_n "(cached) " >&6
61459 else
61462 ac_ext=cpp
61463 ac_cpp='$CXXCPP $CPPFLAGS'
61464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61469 /* end confdefs.h. */
61470 #include <math.h>
61471 #ifdef HAVE_IEEEFP_H
61472 #include <ieeefp.h>
61473 #endif
61476 main ()
61478 log10f(0);
61480 return 0;
61482 _ACEOF
61483 if ac_fn_cxx_try_compile "$LINENO"; then :
61484 glibcxx_cv_func_log10f_use=yes
61485 else
61486 glibcxx_cv_func_log10f_use=no
61488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61489 ac_ext=c
61490 ac_cpp='$CPP $CPPFLAGS'
61491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61500 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61502 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61503 for ac_func in log10f
61504 do :
61505 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61506 if test "x$ac_cv_func_log10f" = x""yes; then :
61507 cat >>confdefs.h <<_ACEOF
61508 #define HAVE_LOG10F 1
61509 _ACEOF
61512 done
61514 else
61516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61517 $as_echo_n "checking for _log10f declaration... " >&6; }
61518 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61519 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61520 $as_echo_n "(cached) " >&6
61521 else
61524 ac_ext=cpp
61525 ac_cpp='$CXXCPP $CPPFLAGS'
61526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61531 /* end confdefs.h. */
61532 #include <math.h>
61533 #ifdef HAVE_IEEEFP_H
61534 #include <ieeefp.h>
61535 #endif
61538 main ()
61540 _log10f(0);
61542 return 0;
61544 _ACEOF
61545 if ac_fn_cxx_try_compile "$LINENO"; then :
61546 glibcxx_cv_func__log10f_use=yes
61547 else
61548 glibcxx_cv_func__log10f_use=no
61550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61551 ac_ext=c
61552 ac_cpp='$CPP $CPPFLAGS'
61553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61562 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61564 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61565 for ac_func in _log10f
61566 do :
61567 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61568 if test "x$ac_cv_func__log10f" = x""yes; then :
61569 cat >>confdefs.h <<_ACEOF
61570 #define HAVE__LOG10F 1
61571 _ACEOF
61574 done
61583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61584 $as_echo_n "checking for modff declaration... " >&6; }
61585 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61586 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61587 $as_echo_n "(cached) " >&6
61588 else
61591 ac_ext=cpp
61592 ac_cpp='$CXXCPP $CPPFLAGS'
61593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61598 /* end confdefs.h. */
61599 #include <math.h>
61601 main ()
61603 modff(0, 0);
61605 return 0;
61607 _ACEOF
61608 if ac_fn_cxx_try_compile "$LINENO"; then :
61609 glibcxx_cv_func_modff_use=yes
61610 else
61611 glibcxx_cv_func_modff_use=no
61613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61614 ac_ext=c
61615 ac_cpp='$CPP $CPPFLAGS'
61616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61625 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61627 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61628 for ac_func in modff
61629 do :
61630 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61631 if test "x$ac_cv_func_modff" = x""yes; then :
61632 cat >>confdefs.h <<_ACEOF
61633 #define HAVE_MODFF 1
61634 _ACEOF
61637 done
61639 else
61641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61642 $as_echo_n "checking for _modff declaration... " >&6; }
61643 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61644 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61645 $as_echo_n "(cached) " >&6
61646 else
61649 ac_ext=cpp
61650 ac_cpp='$CXXCPP $CPPFLAGS'
61651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61656 /* end confdefs.h. */
61657 #include <math.h>
61659 main ()
61661 _modff(0, 0);
61663 return 0;
61665 _ACEOF
61666 if ac_fn_cxx_try_compile "$LINENO"; then :
61667 glibcxx_cv_func__modff_use=yes
61668 else
61669 glibcxx_cv_func__modff_use=no
61671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61672 ac_ext=c
61673 ac_cpp='$CPP $CPPFLAGS'
61674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61683 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61685 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61686 for ac_func in _modff
61687 do :
61688 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61689 if test "x$ac_cv_func__modff" = x""yes; then :
61690 cat >>confdefs.h <<_ACEOF
61691 #define HAVE__MODFF 1
61692 _ACEOF
61695 done
61704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61705 $as_echo_n "checking for modf declaration... " >&6; }
61706 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61707 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61708 $as_echo_n "(cached) " >&6
61709 else
61712 ac_ext=cpp
61713 ac_cpp='$CXXCPP $CPPFLAGS'
61714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61719 /* end confdefs.h. */
61720 #include <math.h>
61722 main ()
61724 modf(0, 0);
61726 return 0;
61728 _ACEOF
61729 if ac_fn_cxx_try_compile "$LINENO"; then :
61730 glibcxx_cv_func_modf_use=yes
61731 else
61732 glibcxx_cv_func_modf_use=no
61734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61735 ac_ext=c
61736 ac_cpp='$CPP $CPPFLAGS'
61737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61746 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61748 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61749 for ac_func in modf
61750 do :
61751 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61752 if test "x$ac_cv_func_modf" = x""yes; then :
61753 cat >>confdefs.h <<_ACEOF
61754 #define HAVE_MODF 1
61755 _ACEOF
61758 done
61760 else
61762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61763 $as_echo_n "checking for _modf declaration... " >&6; }
61764 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61765 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61766 $as_echo_n "(cached) " >&6
61767 else
61770 ac_ext=cpp
61771 ac_cpp='$CXXCPP $CPPFLAGS'
61772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61777 /* end confdefs.h. */
61778 #include <math.h>
61780 main ()
61782 _modf(0, 0);
61784 return 0;
61786 _ACEOF
61787 if ac_fn_cxx_try_compile "$LINENO"; then :
61788 glibcxx_cv_func__modf_use=yes
61789 else
61790 glibcxx_cv_func__modf_use=no
61792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61793 ac_ext=c
61794 ac_cpp='$CPP $CPPFLAGS'
61795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61804 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61806 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61807 for ac_func in _modf
61808 do :
61809 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61810 if test "x$ac_cv_func__modf" = x""yes; then :
61811 cat >>confdefs.h <<_ACEOF
61812 #define HAVE__MODF 1
61813 _ACEOF
61816 done
61825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61826 $as_echo_n "checking for powf declaration... " >&6; }
61827 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61828 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61829 $as_echo_n "(cached) " >&6
61830 else
61833 ac_ext=cpp
61834 ac_cpp='$CXXCPP $CPPFLAGS'
61835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61840 /* end confdefs.h. */
61841 #include <math.h>
61843 main ()
61845 powf(0, 0);
61847 return 0;
61849 _ACEOF
61850 if ac_fn_cxx_try_compile "$LINENO"; then :
61851 glibcxx_cv_func_powf_use=yes
61852 else
61853 glibcxx_cv_func_powf_use=no
61855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61856 ac_ext=c
61857 ac_cpp='$CPP $CPPFLAGS'
61858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61867 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61869 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61870 for ac_func in powf
61871 do :
61872 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61873 if test "x$ac_cv_func_powf" = x""yes; then :
61874 cat >>confdefs.h <<_ACEOF
61875 #define HAVE_POWF 1
61876 _ACEOF
61879 done
61881 else
61883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61884 $as_echo_n "checking for _powf declaration... " >&6; }
61885 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61886 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61887 $as_echo_n "(cached) " >&6
61888 else
61891 ac_ext=cpp
61892 ac_cpp='$CXXCPP $CPPFLAGS'
61893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61898 /* end confdefs.h. */
61899 #include <math.h>
61901 main ()
61903 _powf(0, 0);
61905 return 0;
61907 _ACEOF
61908 if ac_fn_cxx_try_compile "$LINENO"; then :
61909 glibcxx_cv_func__powf_use=yes
61910 else
61911 glibcxx_cv_func__powf_use=no
61913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61914 ac_ext=c
61915 ac_cpp='$CPP $CPPFLAGS'
61916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61925 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61927 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61928 for ac_func in _powf
61929 do :
61930 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61931 if test "x$ac_cv_func__powf" = x""yes; then :
61932 cat >>confdefs.h <<_ACEOF
61933 #define HAVE__POWF 1
61934 _ACEOF
61937 done
61946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61947 $as_echo_n "checking for sqrtf declaration... " >&6; }
61948 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61949 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61950 $as_echo_n "(cached) " >&6
61951 else
61954 ac_ext=cpp
61955 ac_cpp='$CXXCPP $CPPFLAGS'
61956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61961 /* end confdefs.h. */
61962 #include <math.h>
61963 #ifdef HAVE_IEEEFP_H
61964 #include <ieeefp.h>
61965 #endif
61968 main ()
61970 sqrtf(0);
61972 return 0;
61974 _ACEOF
61975 if ac_fn_cxx_try_compile "$LINENO"; then :
61976 glibcxx_cv_func_sqrtf_use=yes
61977 else
61978 glibcxx_cv_func_sqrtf_use=no
61980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61981 ac_ext=c
61982 ac_cpp='$CPP $CPPFLAGS'
61983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61992 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61994 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61995 for ac_func in sqrtf
61996 do :
61997 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61998 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61999 cat >>confdefs.h <<_ACEOF
62000 #define HAVE_SQRTF 1
62001 _ACEOF
62004 done
62006 else
62008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62009 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62010 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62011 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62012 $as_echo_n "(cached) " >&6
62013 else
62016 ac_ext=cpp
62017 ac_cpp='$CXXCPP $CPPFLAGS'
62018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62023 /* end confdefs.h. */
62024 #include <math.h>
62025 #ifdef HAVE_IEEEFP_H
62026 #include <ieeefp.h>
62027 #endif
62030 main ()
62032 _sqrtf(0);
62034 return 0;
62036 _ACEOF
62037 if ac_fn_cxx_try_compile "$LINENO"; then :
62038 glibcxx_cv_func__sqrtf_use=yes
62039 else
62040 glibcxx_cv_func__sqrtf_use=no
62042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62043 ac_ext=c
62044 ac_cpp='$CPP $CPPFLAGS'
62045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62054 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62056 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62057 for ac_func in _sqrtf
62058 do :
62059 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62060 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62061 cat >>confdefs.h <<_ACEOF
62062 #define HAVE__SQRTF 1
62063 _ACEOF
62066 done
62075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62076 $as_echo_n "checking for sincosf declaration... " >&6; }
62077 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62078 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62079 $as_echo_n "(cached) " >&6
62080 else
62083 ac_ext=cpp
62084 ac_cpp='$CXXCPP $CPPFLAGS'
62085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62090 /* end confdefs.h. */
62091 #include <math.h>
62093 main ()
62095 sincosf(0, 0, 0);
62097 return 0;
62099 _ACEOF
62100 if ac_fn_cxx_try_compile "$LINENO"; then :
62101 glibcxx_cv_func_sincosf_use=yes
62102 else
62103 glibcxx_cv_func_sincosf_use=no
62105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62106 ac_ext=c
62107 ac_cpp='$CPP $CPPFLAGS'
62108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62117 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62119 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62120 for ac_func in sincosf
62121 do :
62122 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62123 if test "x$ac_cv_func_sincosf" = x""yes; then :
62124 cat >>confdefs.h <<_ACEOF
62125 #define HAVE_SINCOSF 1
62126 _ACEOF
62129 done
62131 else
62133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62134 $as_echo_n "checking for _sincosf declaration... " >&6; }
62135 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62136 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62137 $as_echo_n "(cached) " >&6
62138 else
62141 ac_ext=cpp
62142 ac_cpp='$CXXCPP $CPPFLAGS'
62143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62148 /* end confdefs.h. */
62149 #include <math.h>
62151 main ()
62153 _sincosf(0, 0, 0);
62155 return 0;
62157 _ACEOF
62158 if ac_fn_cxx_try_compile "$LINENO"; then :
62159 glibcxx_cv_func__sincosf_use=yes
62160 else
62161 glibcxx_cv_func__sincosf_use=no
62163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62164 ac_ext=c
62165 ac_cpp='$CPP $CPPFLAGS'
62166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62175 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62177 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62178 for ac_func in _sincosf
62179 do :
62180 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62181 if test "x$ac_cv_func__sincosf" = x""yes; then :
62182 cat >>confdefs.h <<_ACEOF
62183 #define HAVE__SINCOSF 1
62184 _ACEOF
62187 done
62196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62197 $as_echo_n "checking for finitef declaration... " >&6; }
62198 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62199 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62200 $as_echo_n "(cached) " >&6
62201 else
62204 ac_ext=cpp
62205 ac_cpp='$CXXCPP $CPPFLAGS'
62206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62211 /* end confdefs.h. */
62212 #include <math.h>
62213 #ifdef HAVE_IEEEFP_H
62214 #include <ieeefp.h>
62215 #endif
62218 main ()
62220 finitef(0);
62222 return 0;
62224 _ACEOF
62225 if ac_fn_cxx_try_compile "$LINENO"; then :
62226 glibcxx_cv_func_finitef_use=yes
62227 else
62228 glibcxx_cv_func_finitef_use=no
62230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62231 ac_ext=c
62232 ac_cpp='$CPP $CPPFLAGS'
62233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62242 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62244 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62245 for ac_func in finitef
62246 do :
62247 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62248 if test "x$ac_cv_func_finitef" = x""yes; then :
62249 cat >>confdefs.h <<_ACEOF
62250 #define HAVE_FINITEF 1
62251 _ACEOF
62254 done
62256 else
62258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62259 $as_echo_n "checking for _finitef declaration... " >&6; }
62260 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62261 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62262 $as_echo_n "(cached) " >&6
62263 else
62266 ac_ext=cpp
62267 ac_cpp='$CXXCPP $CPPFLAGS'
62268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62273 /* end confdefs.h. */
62274 #include <math.h>
62275 #ifdef HAVE_IEEEFP_H
62276 #include <ieeefp.h>
62277 #endif
62280 main ()
62282 _finitef(0);
62284 return 0;
62286 _ACEOF
62287 if ac_fn_cxx_try_compile "$LINENO"; then :
62288 glibcxx_cv_func__finitef_use=yes
62289 else
62290 glibcxx_cv_func__finitef_use=no
62292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62293 ac_ext=c
62294 ac_cpp='$CPP $CPPFLAGS'
62295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62304 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62306 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62307 for ac_func in _finitef
62308 do :
62309 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62310 if test "x$ac_cv_func__finitef" = x""yes; then :
62311 cat >>confdefs.h <<_ACEOF
62312 #define HAVE__FINITEF 1
62313 _ACEOF
62316 done
62325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62326 $as_echo_n "checking for long double trig functions... " >&6; }
62327 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62328 $as_echo_n "(cached) " >&6
62329 else
62332 ac_ext=cpp
62333 ac_cpp='$CXXCPP $CPPFLAGS'
62334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62339 /* end confdefs.h. */
62340 #include <math.h>
62342 main ()
62344 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62346 return 0;
62348 _ACEOF
62349 if ac_fn_cxx_try_compile "$LINENO"; then :
62350 glibcxx_cv_func_long_double_trig_use=yes
62351 else
62352 glibcxx_cv_func_long_double_trig_use=no
62354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62355 ac_ext=c
62356 ac_cpp='$CPP $CPPFLAGS'
62357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62364 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62365 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62366 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62367 do :
62368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62370 eval as_val=\$$as_ac_var
62371 if test "x$as_val" = x""yes; then :
62372 cat >>confdefs.h <<_ACEOF
62373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62374 _ACEOF
62377 done
62379 else
62380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62381 $as_echo_n "checking for _long double trig functions... " >&6; }
62382 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62383 $as_echo_n "(cached) " >&6
62384 else
62387 ac_ext=cpp
62388 ac_cpp='$CXXCPP $CPPFLAGS'
62389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62394 /* end confdefs.h. */
62395 #include <math.h>
62397 main ()
62399 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62401 return 0;
62403 _ACEOF
62404 if ac_fn_cxx_try_compile "$LINENO"; then :
62405 glibcxx_cv_func__long_double_trig_use=yes
62406 else
62407 glibcxx_cv_func__long_double_trig_use=no
62409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62410 ac_ext=c
62411 ac_cpp='$CPP $CPPFLAGS'
62412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62419 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62420 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62421 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62422 do :
62423 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62424 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62425 eval as_val=\$$as_ac_var
62426 if test "x$as_val" = x""yes; then :
62427 cat >>confdefs.h <<_ACEOF
62428 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62429 _ACEOF
62432 done
62441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62442 $as_echo_n "checking for long double round functions... " >&6; }
62443 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62444 $as_echo_n "(cached) " >&6
62445 else
62448 ac_ext=cpp
62449 ac_cpp='$CXXCPP $CPPFLAGS'
62450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62455 /* end confdefs.h. */
62456 #include <math.h>
62458 main ()
62460 ceill (0); floorl (0);
62462 return 0;
62464 _ACEOF
62465 if ac_fn_cxx_try_compile "$LINENO"; then :
62466 glibcxx_cv_func_long_double_round_use=yes
62467 else
62468 glibcxx_cv_func_long_double_round_use=no
62470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62471 ac_ext=c
62472 ac_cpp='$CPP $CPPFLAGS'
62473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62480 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62481 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62482 for ac_func in ceill floorl
62483 do :
62484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62486 eval as_val=\$$as_ac_var
62487 if test "x$as_val" = x""yes; then :
62488 cat >>confdefs.h <<_ACEOF
62489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62490 _ACEOF
62493 done
62495 else
62496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62497 $as_echo_n "checking for _long double round functions... " >&6; }
62498 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62499 $as_echo_n "(cached) " >&6
62500 else
62503 ac_ext=cpp
62504 ac_cpp='$CXXCPP $CPPFLAGS'
62505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62510 /* end confdefs.h. */
62511 #include <math.h>
62513 main ()
62515 _ceill (0); _floorl (0);
62517 return 0;
62519 _ACEOF
62520 if ac_fn_cxx_try_compile "$LINENO"; then :
62521 glibcxx_cv_func__long_double_round_use=yes
62522 else
62523 glibcxx_cv_func__long_double_round_use=no
62525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62526 ac_ext=c
62527 ac_cpp='$CPP $CPPFLAGS'
62528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62535 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62536 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62537 for ac_func in _ceill _floorl
62538 do :
62539 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62541 eval as_val=\$$as_ac_var
62542 if test "x$as_val" = x""yes; then :
62543 cat >>confdefs.h <<_ACEOF
62544 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62545 _ACEOF
62548 done
62558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62559 $as_echo_n "checking for isnanl declaration... " >&6; }
62560 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62561 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62562 $as_echo_n "(cached) " >&6
62563 else
62566 ac_ext=cpp
62567 ac_cpp='$CXXCPP $CPPFLAGS'
62568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62573 /* end confdefs.h. */
62574 #include <math.h>
62575 #ifdef HAVE_IEEEFP_H
62576 #include <ieeefp.h>
62577 #endif
62580 main ()
62582 isnanl(0);
62584 return 0;
62586 _ACEOF
62587 if ac_fn_cxx_try_compile "$LINENO"; then :
62588 glibcxx_cv_func_isnanl_use=yes
62589 else
62590 glibcxx_cv_func_isnanl_use=no
62592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62593 ac_ext=c
62594 ac_cpp='$CPP $CPPFLAGS'
62595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62604 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62606 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62607 for ac_func in isnanl
62608 do :
62609 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62610 if test "x$ac_cv_func_isnanl" = x""yes; then :
62611 cat >>confdefs.h <<_ACEOF
62612 #define HAVE_ISNANL 1
62613 _ACEOF
62616 done
62618 else
62620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62621 $as_echo_n "checking for _isnanl declaration... " >&6; }
62622 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62623 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62624 $as_echo_n "(cached) " >&6
62625 else
62628 ac_ext=cpp
62629 ac_cpp='$CXXCPP $CPPFLAGS'
62630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62635 /* end confdefs.h. */
62636 #include <math.h>
62637 #ifdef HAVE_IEEEFP_H
62638 #include <ieeefp.h>
62639 #endif
62642 main ()
62644 _isnanl(0);
62646 return 0;
62648 _ACEOF
62649 if ac_fn_cxx_try_compile "$LINENO"; then :
62650 glibcxx_cv_func__isnanl_use=yes
62651 else
62652 glibcxx_cv_func__isnanl_use=no
62654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62655 ac_ext=c
62656 ac_cpp='$CPP $CPPFLAGS'
62657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62666 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62668 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62669 for ac_func in _isnanl
62670 do :
62671 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62672 if test "x$ac_cv_func__isnanl" = x""yes; then :
62673 cat >>confdefs.h <<_ACEOF
62674 #define HAVE__ISNANL 1
62675 _ACEOF
62678 done
62687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62688 $as_echo_n "checking for isinfl declaration... " >&6; }
62689 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62690 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62691 $as_echo_n "(cached) " >&6
62692 else
62695 ac_ext=cpp
62696 ac_cpp='$CXXCPP $CPPFLAGS'
62697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62702 /* end confdefs.h. */
62703 #include <math.h>
62704 #ifdef HAVE_IEEEFP_H
62705 #include <ieeefp.h>
62706 #endif
62709 main ()
62711 isinfl(0);
62713 return 0;
62715 _ACEOF
62716 if ac_fn_cxx_try_compile "$LINENO"; then :
62717 glibcxx_cv_func_isinfl_use=yes
62718 else
62719 glibcxx_cv_func_isinfl_use=no
62721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62722 ac_ext=c
62723 ac_cpp='$CPP $CPPFLAGS'
62724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62733 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62735 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62736 for ac_func in isinfl
62737 do :
62738 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62739 if test "x$ac_cv_func_isinfl" = x""yes; then :
62740 cat >>confdefs.h <<_ACEOF
62741 #define HAVE_ISINFL 1
62742 _ACEOF
62745 done
62747 else
62749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62750 $as_echo_n "checking for _isinfl declaration... " >&6; }
62751 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62752 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62753 $as_echo_n "(cached) " >&6
62754 else
62757 ac_ext=cpp
62758 ac_cpp='$CXXCPP $CPPFLAGS'
62759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62764 /* end confdefs.h. */
62765 #include <math.h>
62766 #ifdef HAVE_IEEEFP_H
62767 #include <ieeefp.h>
62768 #endif
62771 main ()
62773 _isinfl(0);
62775 return 0;
62777 _ACEOF
62778 if ac_fn_cxx_try_compile "$LINENO"; then :
62779 glibcxx_cv_func__isinfl_use=yes
62780 else
62781 glibcxx_cv_func__isinfl_use=no
62783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62784 ac_ext=c
62785 ac_cpp='$CPP $CPPFLAGS'
62786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62795 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62797 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62798 for ac_func in _isinfl
62799 do :
62800 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62801 if test "x$ac_cv_func__isinfl" = x""yes; then :
62802 cat >>confdefs.h <<_ACEOF
62803 #define HAVE__ISINFL 1
62804 _ACEOF
62807 done
62816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62817 $as_echo_n "checking for atan2l declaration... " >&6; }
62818 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62819 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62820 $as_echo_n "(cached) " >&6
62821 else
62824 ac_ext=cpp
62825 ac_cpp='$CXXCPP $CPPFLAGS'
62826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62831 /* end confdefs.h. */
62832 #include <math.h>
62834 main ()
62836 atan2l(0, 0);
62838 return 0;
62840 _ACEOF
62841 if ac_fn_cxx_try_compile "$LINENO"; then :
62842 glibcxx_cv_func_atan2l_use=yes
62843 else
62844 glibcxx_cv_func_atan2l_use=no
62846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62847 ac_ext=c
62848 ac_cpp='$CPP $CPPFLAGS'
62849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62858 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62860 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62861 for ac_func in atan2l
62862 do :
62863 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62864 if test "x$ac_cv_func_atan2l" = x""yes; then :
62865 cat >>confdefs.h <<_ACEOF
62866 #define HAVE_ATAN2L 1
62867 _ACEOF
62870 done
62872 else
62874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62875 $as_echo_n "checking for _atan2l declaration... " >&6; }
62876 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62877 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62878 $as_echo_n "(cached) " >&6
62879 else
62882 ac_ext=cpp
62883 ac_cpp='$CXXCPP $CPPFLAGS'
62884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62889 /* end confdefs.h. */
62890 #include <math.h>
62892 main ()
62894 _atan2l(0, 0);
62896 return 0;
62898 _ACEOF
62899 if ac_fn_cxx_try_compile "$LINENO"; then :
62900 glibcxx_cv_func__atan2l_use=yes
62901 else
62902 glibcxx_cv_func__atan2l_use=no
62904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62905 ac_ext=c
62906 ac_cpp='$CPP $CPPFLAGS'
62907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62916 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62918 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62919 for ac_func in _atan2l
62920 do :
62921 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62922 if test "x$ac_cv_func__atan2l" = x""yes; then :
62923 cat >>confdefs.h <<_ACEOF
62924 #define HAVE__ATAN2L 1
62925 _ACEOF
62928 done
62937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62938 $as_echo_n "checking for expl declaration... " >&6; }
62939 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62940 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62941 $as_echo_n "(cached) " >&6
62942 else
62945 ac_ext=cpp
62946 ac_cpp='$CXXCPP $CPPFLAGS'
62947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62952 /* end confdefs.h. */
62953 #include <math.h>
62954 #ifdef HAVE_IEEEFP_H
62955 #include <ieeefp.h>
62956 #endif
62959 main ()
62961 expl(0);
62963 return 0;
62965 _ACEOF
62966 if ac_fn_cxx_try_compile "$LINENO"; then :
62967 glibcxx_cv_func_expl_use=yes
62968 else
62969 glibcxx_cv_func_expl_use=no
62971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62972 ac_ext=c
62973 ac_cpp='$CPP $CPPFLAGS'
62974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62983 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62985 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62986 for ac_func in expl
62987 do :
62988 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62989 if test "x$ac_cv_func_expl" = x""yes; then :
62990 cat >>confdefs.h <<_ACEOF
62991 #define HAVE_EXPL 1
62992 _ACEOF
62995 done
62997 else
62999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63000 $as_echo_n "checking for _expl declaration... " >&6; }
63001 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63002 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63003 $as_echo_n "(cached) " >&6
63004 else
63007 ac_ext=cpp
63008 ac_cpp='$CXXCPP $CPPFLAGS'
63009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63014 /* end confdefs.h. */
63015 #include <math.h>
63016 #ifdef HAVE_IEEEFP_H
63017 #include <ieeefp.h>
63018 #endif
63021 main ()
63023 _expl(0);
63025 return 0;
63027 _ACEOF
63028 if ac_fn_cxx_try_compile "$LINENO"; then :
63029 glibcxx_cv_func__expl_use=yes
63030 else
63031 glibcxx_cv_func__expl_use=no
63033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63034 ac_ext=c
63035 ac_cpp='$CPP $CPPFLAGS'
63036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63045 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63047 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63048 for ac_func in _expl
63049 do :
63050 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63051 if test "x$ac_cv_func__expl" = x""yes; then :
63052 cat >>confdefs.h <<_ACEOF
63053 #define HAVE__EXPL 1
63054 _ACEOF
63057 done
63066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63067 $as_echo_n "checking for fabsl declaration... " >&6; }
63068 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63069 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63070 $as_echo_n "(cached) " >&6
63071 else
63074 ac_ext=cpp
63075 ac_cpp='$CXXCPP $CPPFLAGS'
63076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63081 /* end confdefs.h. */
63082 #include <math.h>
63083 #ifdef HAVE_IEEEFP_H
63084 #include <ieeefp.h>
63085 #endif
63088 main ()
63090 fabsl(0);
63092 return 0;
63094 _ACEOF
63095 if ac_fn_cxx_try_compile "$LINENO"; then :
63096 glibcxx_cv_func_fabsl_use=yes
63097 else
63098 glibcxx_cv_func_fabsl_use=no
63100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63101 ac_ext=c
63102 ac_cpp='$CPP $CPPFLAGS'
63103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63112 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63114 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63115 for ac_func in fabsl
63116 do :
63117 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63118 if test "x$ac_cv_func_fabsl" = x""yes; then :
63119 cat >>confdefs.h <<_ACEOF
63120 #define HAVE_FABSL 1
63121 _ACEOF
63124 done
63126 else
63128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63129 $as_echo_n "checking for _fabsl declaration... " >&6; }
63130 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63131 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63132 $as_echo_n "(cached) " >&6
63133 else
63136 ac_ext=cpp
63137 ac_cpp='$CXXCPP $CPPFLAGS'
63138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63143 /* end confdefs.h. */
63144 #include <math.h>
63145 #ifdef HAVE_IEEEFP_H
63146 #include <ieeefp.h>
63147 #endif
63150 main ()
63152 _fabsl(0);
63154 return 0;
63156 _ACEOF
63157 if ac_fn_cxx_try_compile "$LINENO"; then :
63158 glibcxx_cv_func__fabsl_use=yes
63159 else
63160 glibcxx_cv_func__fabsl_use=no
63162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63163 ac_ext=c
63164 ac_cpp='$CPP $CPPFLAGS'
63165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63174 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63176 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63177 for ac_func in _fabsl
63178 do :
63179 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63180 if test "x$ac_cv_func__fabsl" = x""yes; then :
63181 cat >>confdefs.h <<_ACEOF
63182 #define HAVE__FABSL 1
63183 _ACEOF
63186 done
63195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63196 $as_echo_n "checking for fmodl declaration... " >&6; }
63197 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63198 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63199 $as_echo_n "(cached) " >&6
63200 else
63203 ac_ext=cpp
63204 ac_cpp='$CXXCPP $CPPFLAGS'
63205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63210 /* end confdefs.h. */
63211 #include <math.h>
63213 main ()
63215 fmodl(0, 0);
63217 return 0;
63219 _ACEOF
63220 if ac_fn_cxx_try_compile "$LINENO"; then :
63221 glibcxx_cv_func_fmodl_use=yes
63222 else
63223 glibcxx_cv_func_fmodl_use=no
63225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63226 ac_ext=c
63227 ac_cpp='$CPP $CPPFLAGS'
63228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63237 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63239 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63240 for ac_func in fmodl
63241 do :
63242 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63243 if test "x$ac_cv_func_fmodl" = x""yes; then :
63244 cat >>confdefs.h <<_ACEOF
63245 #define HAVE_FMODL 1
63246 _ACEOF
63249 done
63251 else
63253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63254 $as_echo_n "checking for _fmodl declaration... " >&6; }
63255 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63256 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63257 $as_echo_n "(cached) " >&6
63258 else
63261 ac_ext=cpp
63262 ac_cpp='$CXXCPP $CPPFLAGS'
63263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63268 /* end confdefs.h. */
63269 #include <math.h>
63271 main ()
63273 _fmodl(0, 0);
63275 return 0;
63277 _ACEOF
63278 if ac_fn_cxx_try_compile "$LINENO"; then :
63279 glibcxx_cv_func__fmodl_use=yes
63280 else
63281 glibcxx_cv_func__fmodl_use=no
63283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63284 ac_ext=c
63285 ac_cpp='$CPP $CPPFLAGS'
63286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63295 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63297 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63298 for ac_func in _fmodl
63299 do :
63300 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63301 if test "x$ac_cv_func__fmodl" = x""yes; then :
63302 cat >>confdefs.h <<_ACEOF
63303 #define HAVE__FMODL 1
63304 _ACEOF
63307 done
63316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63317 $as_echo_n "checking for frexpl declaration... " >&6; }
63318 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63319 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63320 $as_echo_n "(cached) " >&6
63321 else
63324 ac_ext=cpp
63325 ac_cpp='$CXXCPP $CPPFLAGS'
63326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63331 /* end confdefs.h. */
63332 #include <math.h>
63334 main ()
63336 frexpl(0, 0);
63338 return 0;
63340 _ACEOF
63341 if ac_fn_cxx_try_compile "$LINENO"; then :
63342 glibcxx_cv_func_frexpl_use=yes
63343 else
63344 glibcxx_cv_func_frexpl_use=no
63346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63347 ac_ext=c
63348 ac_cpp='$CPP $CPPFLAGS'
63349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63358 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63360 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63361 for ac_func in frexpl
63362 do :
63363 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63364 if test "x$ac_cv_func_frexpl" = x""yes; then :
63365 cat >>confdefs.h <<_ACEOF
63366 #define HAVE_FREXPL 1
63367 _ACEOF
63370 done
63372 else
63374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63375 $as_echo_n "checking for _frexpl declaration... " >&6; }
63376 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63377 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63378 $as_echo_n "(cached) " >&6
63379 else
63382 ac_ext=cpp
63383 ac_cpp='$CXXCPP $CPPFLAGS'
63384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63389 /* end confdefs.h. */
63390 #include <math.h>
63392 main ()
63394 _frexpl(0, 0);
63396 return 0;
63398 _ACEOF
63399 if ac_fn_cxx_try_compile "$LINENO"; then :
63400 glibcxx_cv_func__frexpl_use=yes
63401 else
63402 glibcxx_cv_func__frexpl_use=no
63404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63405 ac_ext=c
63406 ac_cpp='$CPP $CPPFLAGS'
63407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63416 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63418 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63419 for ac_func in _frexpl
63420 do :
63421 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63422 if test "x$ac_cv_func__frexpl" = x""yes; then :
63423 cat >>confdefs.h <<_ACEOF
63424 #define HAVE__FREXPL 1
63425 _ACEOF
63428 done
63437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63438 $as_echo_n "checking for hypotl declaration... " >&6; }
63439 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63440 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63441 $as_echo_n "(cached) " >&6
63442 else
63445 ac_ext=cpp
63446 ac_cpp='$CXXCPP $CPPFLAGS'
63447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63452 /* end confdefs.h. */
63453 #include <math.h>
63455 main ()
63457 hypotl(0, 0);
63459 return 0;
63461 _ACEOF
63462 if ac_fn_cxx_try_compile "$LINENO"; then :
63463 glibcxx_cv_func_hypotl_use=yes
63464 else
63465 glibcxx_cv_func_hypotl_use=no
63467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63468 ac_ext=c
63469 ac_cpp='$CPP $CPPFLAGS'
63470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63479 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63481 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63482 for ac_func in hypotl
63483 do :
63484 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63485 if test "x$ac_cv_func_hypotl" = x""yes; then :
63486 cat >>confdefs.h <<_ACEOF
63487 #define HAVE_HYPOTL 1
63488 _ACEOF
63491 done
63493 else
63495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63496 $as_echo_n "checking for _hypotl declaration... " >&6; }
63497 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63498 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63499 $as_echo_n "(cached) " >&6
63500 else
63503 ac_ext=cpp
63504 ac_cpp='$CXXCPP $CPPFLAGS'
63505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63510 /* end confdefs.h. */
63511 #include <math.h>
63513 main ()
63515 _hypotl(0, 0);
63517 return 0;
63519 _ACEOF
63520 if ac_fn_cxx_try_compile "$LINENO"; then :
63521 glibcxx_cv_func__hypotl_use=yes
63522 else
63523 glibcxx_cv_func__hypotl_use=no
63525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63526 ac_ext=c
63527 ac_cpp='$CPP $CPPFLAGS'
63528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63537 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63539 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63540 for ac_func in _hypotl
63541 do :
63542 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63543 if test "x$ac_cv_func__hypotl" = x""yes; then :
63544 cat >>confdefs.h <<_ACEOF
63545 #define HAVE__HYPOTL 1
63546 _ACEOF
63549 done
63558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63559 $as_echo_n "checking for ldexpl declaration... " >&6; }
63560 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63561 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63562 $as_echo_n "(cached) " >&6
63563 else
63566 ac_ext=cpp
63567 ac_cpp='$CXXCPP $CPPFLAGS'
63568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63573 /* end confdefs.h. */
63574 #include <math.h>
63576 main ()
63578 ldexpl(0, 0);
63580 return 0;
63582 _ACEOF
63583 if ac_fn_cxx_try_compile "$LINENO"; then :
63584 glibcxx_cv_func_ldexpl_use=yes
63585 else
63586 glibcxx_cv_func_ldexpl_use=no
63588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63589 ac_ext=c
63590 ac_cpp='$CPP $CPPFLAGS'
63591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63600 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63602 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63603 for ac_func in ldexpl
63604 do :
63605 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63606 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63607 cat >>confdefs.h <<_ACEOF
63608 #define HAVE_LDEXPL 1
63609 _ACEOF
63612 done
63614 else
63616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63617 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63618 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63619 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63620 $as_echo_n "(cached) " >&6
63621 else
63624 ac_ext=cpp
63625 ac_cpp='$CXXCPP $CPPFLAGS'
63626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63631 /* end confdefs.h. */
63632 #include <math.h>
63634 main ()
63636 _ldexpl(0, 0);
63638 return 0;
63640 _ACEOF
63641 if ac_fn_cxx_try_compile "$LINENO"; then :
63642 glibcxx_cv_func__ldexpl_use=yes
63643 else
63644 glibcxx_cv_func__ldexpl_use=no
63646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63647 ac_ext=c
63648 ac_cpp='$CPP $CPPFLAGS'
63649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63658 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63660 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63661 for ac_func in _ldexpl
63662 do :
63663 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63664 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63665 cat >>confdefs.h <<_ACEOF
63666 #define HAVE__LDEXPL 1
63667 _ACEOF
63670 done
63679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63680 $as_echo_n "checking for logl declaration... " >&6; }
63681 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63682 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63683 $as_echo_n "(cached) " >&6
63684 else
63687 ac_ext=cpp
63688 ac_cpp='$CXXCPP $CPPFLAGS'
63689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63694 /* end confdefs.h. */
63695 #include <math.h>
63696 #ifdef HAVE_IEEEFP_H
63697 #include <ieeefp.h>
63698 #endif
63701 main ()
63703 logl(0);
63705 return 0;
63707 _ACEOF
63708 if ac_fn_cxx_try_compile "$LINENO"; then :
63709 glibcxx_cv_func_logl_use=yes
63710 else
63711 glibcxx_cv_func_logl_use=no
63713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63714 ac_ext=c
63715 ac_cpp='$CPP $CPPFLAGS'
63716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63725 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63727 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63728 for ac_func in logl
63729 do :
63730 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63731 if test "x$ac_cv_func_logl" = x""yes; then :
63732 cat >>confdefs.h <<_ACEOF
63733 #define HAVE_LOGL 1
63734 _ACEOF
63737 done
63739 else
63741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63742 $as_echo_n "checking for _logl declaration... " >&6; }
63743 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63744 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63745 $as_echo_n "(cached) " >&6
63746 else
63749 ac_ext=cpp
63750 ac_cpp='$CXXCPP $CPPFLAGS'
63751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63756 /* end confdefs.h. */
63757 #include <math.h>
63758 #ifdef HAVE_IEEEFP_H
63759 #include <ieeefp.h>
63760 #endif
63763 main ()
63765 _logl(0);
63767 return 0;
63769 _ACEOF
63770 if ac_fn_cxx_try_compile "$LINENO"; then :
63771 glibcxx_cv_func__logl_use=yes
63772 else
63773 glibcxx_cv_func__logl_use=no
63775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63776 ac_ext=c
63777 ac_cpp='$CPP $CPPFLAGS'
63778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63787 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63789 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63790 for ac_func in _logl
63791 do :
63792 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63793 if test "x$ac_cv_func__logl" = x""yes; then :
63794 cat >>confdefs.h <<_ACEOF
63795 #define HAVE__LOGL 1
63796 _ACEOF
63799 done
63808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63809 $as_echo_n "checking for log10l declaration... " >&6; }
63810 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63811 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63812 $as_echo_n "(cached) " >&6
63813 else
63816 ac_ext=cpp
63817 ac_cpp='$CXXCPP $CPPFLAGS'
63818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63823 /* end confdefs.h. */
63824 #include <math.h>
63825 #ifdef HAVE_IEEEFP_H
63826 #include <ieeefp.h>
63827 #endif
63830 main ()
63832 log10l(0);
63834 return 0;
63836 _ACEOF
63837 if ac_fn_cxx_try_compile "$LINENO"; then :
63838 glibcxx_cv_func_log10l_use=yes
63839 else
63840 glibcxx_cv_func_log10l_use=no
63842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63843 ac_ext=c
63844 ac_cpp='$CPP $CPPFLAGS'
63845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63854 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63856 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63857 for ac_func in log10l
63858 do :
63859 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63860 if test "x$ac_cv_func_log10l" = x""yes; then :
63861 cat >>confdefs.h <<_ACEOF
63862 #define HAVE_LOG10L 1
63863 _ACEOF
63866 done
63868 else
63870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63871 $as_echo_n "checking for _log10l declaration... " >&6; }
63872 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63873 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63874 $as_echo_n "(cached) " >&6
63875 else
63878 ac_ext=cpp
63879 ac_cpp='$CXXCPP $CPPFLAGS'
63880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63885 /* end confdefs.h. */
63886 #include <math.h>
63887 #ifdef HAVE_IEEEFP_H
63888 #include <ieeefp.h>
63889 #endif
63892 main ()
63894 _log10l(0);
63896 return 0;
63898 _ACEOF
63899 if ac_fn_cxx_try_compile "$LINENO"; then :
63900 glibcxx_cv_func__log10l_use=yes
63901 else
63902 glibcxx_cv_func__log10l_use=no
63904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63905 ac_ext=c
63906 ac_cpp='$CPP $CPPFLAGS'
63907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63916 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63918 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63919 for ac_func in _log10l
63920 do :
63921 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63922 if test "x$ac_cv_func__log10l" = x""yes; then :
63923 cat >>confdefs.h <<_ACEOF
63924 #define HAVE__LOG10L 1
63925 _ACEOF
63928 done
63937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63938 $as_echo_n "checking for modfl declaration... " >&6; }
63939 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63940 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63941 $as_echo_n "(cached) " >&6
63942 else
63945 ac_ext=cpp
63946 ac_cpp='$CXXCPP $CPPFLAGS'
63947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63952 /* end confdefs.h. */
63953 #include <math.h>
63955 main ()
63957 modfl(0, 0);
63959 return 0;
63961 _ACEOF
63962 if ac_fn_cxx_try_compile "$LINENO"; then :
63963 glibcxx_cv_func_modfl_use=yes
63964 else
63965 glibcxx_cv_func_modfl_use=no
63967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63968 ac_ext=c
63969 ac_cpp='$CPP $CPPFLAGS'
63970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63979 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63981 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63982 for ac_func in modfl
63983 do :
63984 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63985 if test "x$ac_cv_func_modfl" = x""yes; then :
63986 cat >>confdefs.h <<_ACEOF
63987 #define HAVE_MODFL 1
63988 _ACEOF
63991 done
63993 else
63995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63996 $as_echo_n "checking for _modfl declaration... " >&6; }
63997 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63998 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63999 $as_echo_n "(cached) " >&6
64000 else
64003 ac_ext=cpp
64004 ac_cpp='$CXXCPP $CPPFLAGS'
64005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64010 /* end confdefs.h. */
64011 #include <math.h>
64013 main ()
64015 _modfl(0, 0);
64017 return 0;
64019 _ACEOF
64020 if ac_fn_cxx_try_compile "$LINENO"; then :
64021 glibcxx_cv_func__modfl_use=yes
64022 else
64023 glibcxx_cv_func__modfl_use=no
64025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64026 ac_ext=c
64027 ac_cpp='$CPP $CPPFLAGS'
64028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64037 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64039 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64040 for ac_func in _modfl
64041 do :
64042 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64043 if test "x$ac_cv_func__modfl" = x""yes; then :
64044 cat >>confdefs.h <<_ACEOF
64045 #define HAVE__MODFL 1
64046 _ACEOF
64049 done
64058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64059 $as_echo_n "checking for powl declaration... " >&6; }
64060 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64061 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64062 $as_echo_n "(cached) " >&6
64063 else
64066 ac_ext=cpp
64067 ac_cpp='$CXXCPP $CPPFLAGS'
64068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64073 /* end confdefs.h. */
64074 #include <math.h>
64076 main ()
64078 powl(0, 0);
64080 return 0;
64082 _ACEOF
64083 if ac_fn_cxx_try_compile "$LINENO"; then :
64084 glibcxx_cv_func_powl_use=yes
64085 else
64086 glibcxx_cv_func_powl_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_powl_use" >&5
64100 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64102 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64103 for ac_func in powl
64104 do :
64105 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64106 if test "x$ac_cv_func_powl" = x""yes; then :
64107 cat >>confdefs.h <<_ACEOF
64108 #define HAVE_POWL 1
64109 _ACEOF
64112 done
64114 else
64116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64117 $as_echo_n "checking for _powl declaration... " >&6; }
64118 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64119 if test "${glibcxx_cv_func__powl_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>
64134 main ()
64136 _powl(0, 0);
64138 return 0;
64140 _ACEOF
64141 if ac_fn_cxx_try_compile "$LINENO"; then :
64142 glibcxx_cv_func__powl_use=yes
64143 else
64144 glibcxx_cv_func__powl_use=no
64146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64147 ac_ext=c
64148 ac_cpp='$CPP $CPPFLAGS'
64149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64158 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64160 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64161 for ac_func in _powl
64162 do :
64163 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64164 if test "x$ac_cv_func__powl" = x""yes; then :
64165 cat >>confdefs.h <<_ACEOF
64166 #define HAVE__POWL 1
64167 _ACEOF
64170 done
64179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64180 $as_echo_n "checking for sqrtl declaration... " >&6; }
64181 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64182 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64183 $as_echo_n "(cached) " >&6
64184 else
64187 ac_ext=cpp
64188 ac_cpp='$CXXCPP $CPPFLAGS'
64189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64194 /* end confdefs.h. */
64195 #include <math.h>
64196 #ifdef HAVE_IEEEFP_H
64197 #include <ieeefp.h>
64198 #endif
64201 main ()
64203 sqrtl(0);
64205 return 0;
64207 _ACEOF
64208 if ac_fn_cxx_try_compile "$LINENO"; then :
64209 glibcxx_cv_func_sqrtl_use=yes
64210 else
64211 glibcxx_cv_func_sqrtl_use=no
64213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64214 ac_ext=c
64215 ac_cpp='$CPP $CPPFLAGS'
64216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64225 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64227 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64228 for ac_func in sqrtl
64229 do :
64230 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64231 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64232 cat >>confdefs.h <<_ACEOF
64233 #define HAVE_SQRTL 1
64234 _ACEOF
64237 done
64239 else
64241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64242 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64243 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64244 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64245 $as_echo_n "(cached) " >&6
64246 else
64249 ac_ext=cpp
64250 ac_cpp='$CXXCPP $CPPFLAGS'
64251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64256 /* end confdefs.h. */
64257 #include <math.h>
64258 #ifdef HAVE_IEEEFP_H
64259 #include <ieeefp.h>
64260 #endif
64263 main ()
64265 _sqrtl(0);
64267 return 0;
64269 _ACEOF
64270 if ac_fn_cxx_try_compile "$LINENO"; then :
64271 glibcxx_cv_func__sqrtl_use=yes
64272 else
64273 glibcxx_cv_func__sqrtl_use=no
64275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64276 ac_ext=c
64277 ac_cpp='$CPP $CPPFLAGS'
64278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64287 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64289 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64290 for ac_func in _sqrtl
64291 do :
64292 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64293 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64294 cat >>confdefs.h <<_ACEOF
64295 #define HAVE__SQRTL 1
64296 _ACEOF
64299 done
64308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64309 $as_echo_n "checking for sincosl declaration... " >&6; }
64310 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64311 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64312 $as_echo_n "(cached) " >&6
64313 else
64316 ac_ext=cpp
64317 ac_cpp='$CXXCPP $CPPFLAGS'
64318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64323 /* end confdefs.h. */
64324 #include <math.h>
64326 main ()
64328 sincosl(0, 0, 0);
64330 return 0;
64332 _ACEOF
64333 if ac_fn_cxx_try_compile "$LINENO"; then :
64334 glibcxx_cv_func_sincosl_use=yes
64335 else
64336 glibcxx_cv_func_sincosl_use=no
64338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64339 ac_ext=c
64340 ac_cpp='$CPP $CPPFLAGS'
64341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64350 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64352 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64353 for ac_func in sincosl
64354 do :
64355 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64356 if test "x$ac_cv_func_sincosl" = x""yes; then :
64357 cat >>confdefs.h <<_ACEOF
64358 #define HAVE_SINCOSL 1
64359 _ACEOF
64362 done
64364 else
64366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64367 $as_echo_n "checking for _sincosl declaration... " >&6; }
64368 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64369 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64370 $as_echo_n "(cached) " >&6
64371 else
64374 ac_ext=cpp
64375 ac_cpp='$CXXCPP $CPPFLAGS'
64376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64381 /* end confdefs.h. */
64382 #include <math.h>
64384 main ()
64386 _sincosl(0, 0, 0);
64388 return 0;
64390 _ACEOF
64391 if ac_fn_cxx_try_compile "$LINENO"; then :
64392 glibcxx_cv_func__sincosl_use=yes
64393 else
64394 glibcxx_cv_func__sincosl_use=no
64396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64397 ac_ext=c
64398 ac_cpp='$CPP $CPPFLAGS'
64399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64408 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64410 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64411 for ac_func in _sincosl
64412 do :
64413 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64414 if test "x$ac_cv_func__sincosl" = x""yes; then :
64415 cat >>confdefs.h <<_ACEOF
64416 #define HAVE__SINCOSL 1
64417 _ACEOF
64420 done
64429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64430 $as_echo_n "checking for finitel declaration... " >&6; }
64431 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64432 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64433 $as_echo_n "(cached) " >&6
64434 else
64437 ac_ext=cpp
64438 ac_cpp='$CXXCPP $CPPFLAGS'
64439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64444 /* end confdefs.h. */
64445 #include <math.h>
64446 #ifdef HAVE_IEEEFP_H
64447 #include <ieeefp.h>
64448 #endif
64451 main ()
64453 finitel(0);
64455 return 0;
64457 _ACEOF
64458 if ac_fn_cxx_try_compile "$LINENO"; then :
64459 glibcxx_cv_func_finitel_use=yes
64460 else
64461 glibcxx_cv_func_finitel_use=no
64463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64464 ac_ext=c
64465 ac_cpp='$CPP $CPPFLAGS'
64466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64475 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64477 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64478 for ac_func in finitel
64479 do :
64480 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64481 if test "x$ac_cv_func_finitel" = x""yes; then :
64482 cat >>confdefs.h <<_ACEOF
64483 #define HAVE_FINITEL 1
64484 _ACEOF
64487 done
64489 else
64491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64492 $as_echo_n "checking for _finitel declaration... " >&6; }
64493 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64494 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64495 $as_echo_n "(cached) " >&6
64496 else
64499 ac_ext=cpp
64500 ac_cpp='$CXXCPP $CPPFLAGS'
64501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64506 /* end confdefs.h. */
64507 #include <math.h>
64508 #ifdef HAVE_IEEEFP_H
64509 #include <ieeefp.h>
64510 #endif
64513 main ()
64515 _finitel(0);
64517 return 0;
64519 _ACEOF
64520 if ac_fn_cxx_try_compile "$LINENO"; then :
64521 glibcxx_cv_func__finitel_use=yes
64522 else
64523 glibcxx_cv_func__finitel_use=no
64525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64526 ac_ext=c
64527 ac_cpp='$CPP $CPPFLAGS'
64528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64537 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64539 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64540 for ac_func in _finitel
64541 do :
64542 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64543 if test "x$ac_cv_func__finitel" = x""yes; then :
64544 cat >>confdefs.h <<_ACEOF
64545 #define HAVE__FINITEL 1
64546 _ACEOF
64549 done
64557 LIBS="$ac_save_LIBS"
64558 CXXFLAGS="$ac_save_CXXFLAGS"
64561 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64562 ac_save_CXXFLAGS="$CXXFLAGS"
64563 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64567 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64568 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64569 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64570 $as_echo_n "(cached) " >&6
64571 else
64574 ac_ext=cpp
64575 ac_cpp='$CXXCPP $CPPFLAGS'
64576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64581 /* end confdefs.h. */
64582 #include <stdlib.h>
64584 main ()
64586 at_quick_exit(0);
64588 return 0;
64590 _ACEOF
64591 if ac_fn_cxx_try_compile "$LINENO"; then :
64592 glibcxx_cv_func_at_quick_exit_use=yes
64593 else
64594 glibcxx_cv_func_at_quick_exit_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_at_quick_exit_use" >&5
64608 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64609 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64610 for ac_func in at_quick_exit
64611 do :
64612 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64613 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64614 cat >>confdefs.h <<_ACEOF
64615 #define HAVE_AT_QUICK_EXIT 1
64616 _ACEOF
64619 done
64624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64625 $as_echo_n "checking for quick_exit declaration... " >&6; }
64626 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64627 if test "${glibcxx_cv_func_quick_exit_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 <stdlib.h>
64642 main ()
64644 quick_exit(0);
64646 return 0;
64648 _ACEOF
64649 if ac_fn_cxx_try_compile "$LINENO"; then :
64650 glibcxx_cv_func_quick_exit_use=yes
64651 else
64652 glibcxx_cv_func_quick_exit_use=no
64654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64655 ac_ext=c
64656 ac_cpp='$CPP $CPPFLAGS'
64657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64666 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64667 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64668 for ac_func in quick_exit
64669 do :
64670 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64671 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64672 cat >>confdefs.h <<_ACEOF
64673 #define HAVE_QUICK_EXIT 1
64674 _ACEOF
64677 done
64682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64683 $as_echo_n "checking for strtold declaration... " >&6; }
64684 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64685 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64686 $as_echo_n "(cached) " >&6
64687 else
64690 ac_ext=cpp
64691 ac_cpp='$CXXCPP $CPPFLAGS'
64692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64697 /* end confdefs.h. */
64698 #include <stdlib.h>
64700 main ()
64702 strtold(0, 0);
64704 return 0;
64706 _ACEOF
64707 if ac_fn_cxx_try_compile "$LINENO"; then :
64708 glibcxx_cv_func_strtold_use=yes
64709 else
64710 glibcxx_cv_func_strtold_use=no
64712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64713 ac_ext=c
64714 ac_cpp='$CPP $CPPFLAGS'
64715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64724 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64725 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64726 for ac_func in strtold
64727 do :
64728 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64729 if test "x$ac_cv_func_strtold" = x""yes; then :
64730 cat >>confdefs.h <<_ACEOF
64731 #define HAVE_STRTOLD 1
64732 _ACEOF
64735 done
64742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64743 $as_echo_n "checking for strtof declaration... " >&6; }
64744 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64745 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64746 $as_echo_n "(cached) " >&6
64747 else
64750 ac_ext=cpp
64751 ac_cpp='$CXXCPP $CPPFLAGS'
64752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64757 /* end confdefs.h. */
64758 #include <stdlib.h>
64760 main ()
64762 strtof(0, 0);
64764 return 0;
64766 _ACEOF
64767 if ac_fn_cxx_try_compile "$LINENO"; then :
64768 glibcxx_cv_func_strtof_use=yes
64769 else
64770 glibcxx_cv_func_strtof_use=no
64772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64773 ac_ext=c
64774 ac_cpp='$CPP $CPPFLAGS'
64775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64784 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64785 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64786 for ac_func in strtof
64787 do :
64788 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64789 if test "x$ac_cv_func_strtof" = x""yes; then :
64790 cat >>confdefs.h <<_ACEOF
64791 #define HAVE_STRTOF 1
64792 _ACEOF
64795 done
64802 CXXFLAGS="$ac_save_CXXFLAGS"
64805 *-solaris*)
64806 case "$target" in
64807 *-solaris2.9 | *-solaris2.10)
64809 # If we're not using GNU ld, then there's no point in even trying these
64810 # tests. Check for that first. We should have already tested for gld
64811 # by now (in libtool), but require it now just to be safe...
64812 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64813 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64817 # The name set by libtool depends on the version of libtool. Shame on us
64818 # for depending on an impl detail, but c'est la vie. Older versions used
64819 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64820 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64821 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64822 # set (hence we're using an older libtool), then set it.
64823 if test x${with_gnu_ld+set} != xset; then
64824 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64825 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64826 with_gnu_ld=no
64827 else
64828 with_gnu_ld=$ac_cv_prog_gnu_ld
64832 # Start by getting the version number. I think the libtool test already
64833 # does some of this, but throws away the result.
64834 glibcxx_ld_is_gold=no
64835 if test x"$with_gnu_ld" = x"yes"; then
64836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64837 $as_echo_n "checking for ld version... " >&6; }
64839 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64840 glibcxx_ld_is_gold=yes
64842 ldver=`$LD --version 2>/dev/null |
64843 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'`
64845 glibcxx_gnu_ld_version=`echo $ldver | \
64846 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64848 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64851 # Set --gc-sections.
64852 glibcxx_have_gc_sections=no
64853 if test "$glibcxx_ld_is_gold" = "yes"; then
64854 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64855 glibcxx_have_gc_sections=yes
64857 else
64858 glibcxx_gcsections_min_ld=21602
64859 if test x"$with_gnu_ld" = x"yes" &&
64860 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64861 glibcxx_have_gc_sections=yes
64864 if test "$glibcxx_have_gc_sections" = "yes"; then
64865 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64866 # NB: This flag only works reliably after 2.16.1. Configure tests
64867 # for this are difficult, so hard wire a value that should work.
64869 ac_test_CFLAGS="${CFLAGS+set}"
64870 ac_save_CFLAGS="$CFLAGS"
64871 CFLAGS='-Wl,--gc-sections'
64873 # Check for -Wl,--gc-sections
64874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64875 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64876 if test x$gcc_no_link = xyes; then
64877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64880 /* end confdefs.h. */
64881 int one(void) { return 1; }
64882 int two(void) { return 2; }
64885 main ()
64887 two();
64889 return 0;
64891 _ACEOF
64892 if ac_fn_c_try_link "$LINENO"; then :
64893 ac_gcsections=yes
64894 else
64895 ac_gcsections=no
64897 rm -f core conftest.err conftest.$ac_objext \
64898 conftest$ac_exeext conftest.$ac_ext
64899 if test "$ac_gcsections" = "yes"; then
64900 rm -f conftest.c
64901 touch conftest.c
64902 if $CC -c conftest.c; then
64903 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64904 grep "Warning: gc-sections option ignored" > /dev/null; then
64905 ac_gcsections=no
64908 rm -f conftest.c conftest.o conftest
64910 if test "$ac_gcsections" = "yes"; then
64911 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64914 $as_echo "$ac_gcsections" >&6; }
64916 if test "$ac_test_CFLAGS" = set; then
64917 CFLAGS="$ac_save_CFLAGS"
64918 else
64919 # this is the suspicious part
64920 CFLAGS=''
64924 # Set -z,relro.
64925 # Note this is only for shared objects.
64926 ac_ld_relro=no
64927 if test x"$with_gnu_ld" = x"yes"; then
64928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64929 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64930 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64931 if test -n "$cxx_z_relo"; then
64932 OPT_LDFLAGS="-Wl,-z,relro"
64933 ac_ld_relro=yes
64935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64936 $as_echo "$ac_ld_relro" >&6; }
64939 # Set linker optimization flags.
64940 if test x"$with_gnu_ld" = x"yes"; then
64941 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64947 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64949 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64951 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64953 # All of the dependencies for wide character support are here, so
64954 # turn it on.
64955 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64958 esac
64959 case "$target" in
64960 *-*-solaris2.10)
64961 # These two C99 functions are present only in Solaris >= 10
64962 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64964 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64967 esac
64968 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64970 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64972 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64974 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64977 *-tpf)
64978 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64979 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64981 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64983 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64985 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64987 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64989 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64991 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64993 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64995 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64997 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64999 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
65001 if test x"long_double_math_on_this_cpu" = x"yes"; then
65002 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65004 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
65006 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65008 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65012 *-*vms*)
65013 # Check for available headers.
65014 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
65016 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65017 ac_save_CXXFLAGS="$CXXFLAGS"
65018 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65021 $as_echo_n "checking for sin in -lm... " >&6; }
65022 if test "${ac_cv_lib_m_sin+set}" = set; then :
65023 $as_echo_n "(cached) " >&6
65024 else
65025 ac_check_lib_save_LIBS=$LIBS
65026 LIBS="-lm $LIBS"
65027 if test x$gcc_no_link = xyes; then
65028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65031 /* end confdefs.h. */
65033 /* Override any GCC internal prototype to avoid an error.
65034 Use char because int might match the return type of a GCC
65035 builtin and then its argument prototype would still apply. */
65036 #ifdef __cplusplus
65037 extern "C"
65038 #endif
65039 char sin ();
65041 main ()
65043 return sin ();
65045 return 0;
65047 _ACEOF
65048 if ac_fn_c_try_link "$LINENO"; then :
65049 ac_cv_lib_m_sin=yes
65050 else
65051 ac_cv_lib_m_sin=no
65053 rm -f core conftest.err conftest.$ac_objext \
65054 conftest$ac_exeext conftest.$ac_ext
65055 LIBS=$ac_check_lib_save_LIBS
65057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65058 $as_echo "$ac_cv_lib_m_sin" >&6; }
65059 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65060 libm="-lm"
65063 ac_save_LIBS="$LIBS"
65064 LIBS="$LIBS $libm"
65068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65069 $as_echo_n "checking for isinf declaration... " >&6; }
65070 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65071 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65072 $as_echo_n "(cached) " >&6
65073 else
65076 ac_ext=cpp
65077 ac_cpp='$CXXCPP $CPPFLAGS'
65078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65083 /* end confdefs.h. */
65084 #include <math.h>
65085 #ifdef HAVE_IEEEFP_H
65086 #include <ieeefp.h>
65087 #endif
65090 main ()
65092 isinf(0);
65094 return 0;
65096 _ACEOF
65097 if ac_fn_cxx_try_compile "$LINENO"; then :
65098 glibcxx_cv_func_isinf_use=yes
65099 else
65100 glibcxx_cv_func_isinf_use=no
65102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65103 ac_ext=c
65104 ac_cpp='$CPP $CPPFLAGS'
65105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65114 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65116 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65117 for ac_func in isinf
65118 do :
65119 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65120 if test "x$ac_cv_func_isinf" = x""yes; then :
65121 cat >>confdefs.h <<_ACEOF
65122 #define HAVE_ISINF 1
65123 _ACEOF
65126 done
65128 else
65130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65131 $as_echo_n "checking for _isinf declaration... " >&6; }
65132 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65133 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65134 $as_echo_n "(cached) " >&6
65135 else
65138 ac_ext=cpp
65139 ac_cpp='$CXXCPP $CPPFLAGS'
65140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65145 /* end confdefs.h. */
65146 #include <math.h>
65147 #ifdef HAVE_IEEEFP_H
65148 #include <ieeefp.h>
65149 #endif
65152 main ()
65154 _isinf(0);
65156 return 0;
65158 _ACEOF
65159 if ac_fn_cxx_try_compile "$LINENO"; then :
65160 glibcxx_cv_func__isinf_use=yes
65161 else
65162 glibcxx_cv_func__isinf_use=no
65164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65165 ac_ext=c
65166 ac_cpp='$CPP $CPPFLAGS'
65167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65176 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65178 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65179 for ac_func in _isinf
65180 do :
65181 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65182 if test "x$ac_cv_func__isinf" = x""yes; then :
65183 cat >>confdefs.h <<_ACEOF
65184 #define HAVE__ISINF 1
65185 _ACEOF
65188 done
65197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65198 $as_echo_n "checking for isnan declaration... " >&6; }
65199 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65200 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65201 $as_echo_n "(cached) " >&6
65202 else
65205 ac_ext=cpp
65206 ac_cpp='$CXXCPP $CPPFLAGS'
65207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65212 /* end confdefs.h. */
65213 #include <math.h>
65214 #ifdef HAVE_IEEEFP_H
65215 #include <ieeefp.h>
65216 #endif
65219 main ()
65221 isnan(0);
65223 return 0;
65225 _ACEOF
65226 if ac_fn_cxx_try_compile "$LINENO"; then :
65227 glibcxx_cv_func_isnan_use=yes
65228 else
65229 glibcxx_cv_func_isnan_use=no
65231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65232 ac_ext=c
65233 ac_cpp='$CPP $CPPFLAGS'
65234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65243 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65245 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65246 for ac_func in isnan
65247 do :
65248 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65249 if test "x$ac_cv_func_isnan" = x""yes; then :
65250 cat >>confdefs.h <<_ACEOF
65251 #define HAVE_ISNAN 1
65252 _ACEOF
65255 done
65257 else
65259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65260 $as_echo_n "checking for _isnan declaration... " >&6; }
65261 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65262 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65263 $as_echo_n "(cached) " >&6
65264 else
65267 ac_ext=cpp
65268 ac_cpp='$CXXCPP $CPPFLAGS'
65269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65274 /* end confdefs.h. */
65275 #include <math.h>
65276 #ifdef HAVE_IEEEFP_H
65277 #include <ieeefp.h>
65278 #endif
65281 main ()
65283 _isnan(0);
65285 return 0;
65287 _ACEOF
65288 if ac_fn_cxx_try_compile "$LINENO"; then :
65289 glibcxx_cv_func__isnan_use=yes
65290 else
65291 glibcxx_cv_func__isnan_use=no
65293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65294 ac_ext=c
65295 ac_cpp='$CPP $CPPFLAGS'
65296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65305 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65307 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65308 for ac_func in _isnan
65309 do :
65310 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65311 if test "x$ac_cv_func__isnan" = x""yes; then :
65312 cat >>confdefs.h <<_ACEOF
65313 #define HAVE__ISNAN 1
65314 _ACEOF
65317 done
65326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65327 $as_echo_n "checking for finite declaration... " >&6; }
65328 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65329 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65330 $as_echo_n "(cached) " >&6
65331 else
65334 ac_ext=cpp
65335 ac_cpp='$CXXCPP $CPPFLAGS'
65336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65341 /* end confdefs.h. */
65342 #include <math.h>
65343 #ifdef HAVE_IEEEFP_H
65344 #include <ieeefp.h>
65345 #endif
65348 main ()
65350 finite(0);
65352 return 0;
65354 _ACEOF
65355 if ac_fn_cxx_try_compile "$LINENO"; then :
65356 glibcxx_cv_func_finite_use=yes
65357 else
65358 glibcxx_cv_func_finite_use=no
65360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65361 ac_ext=c
65362 ac_cpp='$CPP $CPPFLAGS'
65363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65372 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65374 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65375 for ac_func in finite
65376 do :
65377 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65378 if test "x$ac_cv_func_finite" = x""yes; then :
65379 cat >>confdefs.h <<_ACEOF
65380 #define HAVE_FINITE 1
65381 _ACEOF
65384 done
65386 else
65388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65389 $as_echo_n "checking for _finite declaration... " >&6; }
65390 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65391 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65392 $as_echo_n "(cached) " >&6
65393 else
65396 ac_ext=cpp
65397 ac_cpp='$CXXCPP $CPPFLAGS'
65398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65403 /* end confdefs.h. */
65404 #include <math.h>
65405 #ifdef HAVE_IEEEFP_H
65406 #include <ieeefp.h>
65407 #endif
65410 main ()
65412 _finite(0);
65414 return 0;
65416 _ACEOF
65417 if ac_fn_cxx_try_compile "$LINENO"; then :
65418 glibcxx_cv_func__finite_use=yes
65419 else
65420 glibcxx_cv_func__finite_use=no
65422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65423 ac_ext=c
65424 ac_cpp='$CPP $CPPFLAGS'
65425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65434 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65436 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65437 for ac_func in _finite
65438 do :
65439 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65440 if test "x$ac_cv_func__finite" = x""yes; then :
65441 cat >>confdefs.h <<_ACEOF
65442 #define HAVE__FINITE 1
65443 _ACEOF
65446 done
65455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65456 $as_echo_n "checking for sincos declaration... " >&6; }
65457 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65458 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65459 $as_echo_n "(cached) " >&6
65460 else
65463 ac_ext=cpp
65464 ac_cpp='$CXXCPP $CPPFLAGS'
65465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65470 /* end confdefs.h. */
65471 #include <math.h>
65473 main ()
65475 sincos(0, 0, 0);
65477 return 0;
65479 _ACEOF
65480 if ac_fn_cxx_try_compile "$LINENO"; then :
65481 glibcxx_cv_func_sincos_use=yes
65482 else
65483 glibcxx_cv_func_sincos_use=no
65485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65486 ac_ext=c
65487 ac_cpp='$CPP $CPPFLAGS'
65488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65497 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65499 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65500 for ac_func in sincos
65501 do :
65502 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65503 if test "x$ac_cv_func_sincos" = x""yes; then :
65504 cat >>confdefs.h <<_ACEOF
65505 #define HAVE_SINCOS 1
65506 _ACEOF
65509 done
65511 else
65513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65514 $as_echo_n "checking for _sincos declaration... " >&6; }
65515 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65516 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65517 $as_echo_n "(cached) " >&6
65518 else
65521 ac_ext=cpp
65522 ac_cpp='$CXXCPP $CPPFLAGS'
65523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65528 /* end confdefs.h. */
65529 #include <math.h>
65531 main ()
65533 _sincos(0, 0, 0);
65535 return 0;
65537 _ACEOF
65538 if ac_fn_cxx_try_compile "$LINENO"; then :
65539 glibcxx_cv_func__sincos_use=yes
65540 else
65541 glibcxx_cv_func__sincos_use=no
65543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65544 ac_ext=c
65545 ac_cpp='$CPP $CPPFLAGS'
65546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65555 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65557 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65558 for ac_func in _sincos
65559 do :
65560 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65561 if test "x$ac_cv_func__sincos" = x""yes; then :
65562 cat >>confdefs.h <<_ACEOF
65563 #define HAVE__SINCOS 1
65564 _ACEOF
65567 done
65576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65577 $as_echo_n "checking for fpclass declaration... " >&6; }
65578 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65579 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65580 $as_echo_n "(cached) " >&6
65581 else
65584 ac_ext=cpp
65585 ac_cpp='$CXXCPP $CPPFLAGS'
65586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65591 /* end confdefs.h. */
65592 #include <math.h>
65593 #ifdef HAVE_IEEEFP_H
65594 #include <ieeefp.h>
65595 #endif
65598 main ()
65600 fpclass(0);
65602 return 0;
65604 _ACEOF
65605 if ac_fn_cxx_try_compile "$LINENO"; then :
65606 glibcxx_cv_func_fpclass_use=yes
65607 else
65608 glibcxx_cv_func_fpclass_use=no
65610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65611 ac_ext=c
65612 ac_cpp='$CPP $CPPFLAGS'
65613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65622 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65624 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65625 for ac_func in fpclass
65626 do :
65627 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65628 if test "x$ac_cv_func_fpclass" = x""yes; then :
65629 cat >>confdefs.h <<_ACEOF
65630 #define HAVE_FPCLASS 1
65631 _ACEOF
65634 done
65636 else
65638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65639 $as_echo_n "checking for _fpclass declaration... " >&6; }
65640 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65641 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65642 $as_echo_n "(cached) " >&6
65643 else
65646 ac_ext=cpp
65647 ac_cpp='$CXXCPP $CPPFLAGS'
65648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65653 /* end confdefs.h. */
65654 #include <math.h>
65655 #ifdef HAVE_IEEEFP_H
65656 #include <ieeefp.h>
65657 #endif
65660 main ()
65662 _fpclass(0);
65664 return 0;
65666 _ACEOF
65667 if ac_fn_cxx_try_compile "$LINENO"; then :
65668 glibcxx_cv_func__fpclass_use=yes
65669 else
65670 glibcxx_cv_func__fpclass_use=no
65672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65673 ac_ext=c
65674 ac_cpp='$CPP $CPPFLAGS'
65675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65684 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65686 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65687 for ac_func in _fpclass
65688 do :
65689 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65690 if test "x$ac_cv_func__fpclass" = x""yes; then :
65691 cat >>confdefs.h <<_ACEOF
65692 #define HAVE__FPCLASS 1
65693 _ACEOF
65696 done
65705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65706 $as_echo_n "checking for qfpclass declaration... " >&6; }
65707 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65708 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65709 $as_echo_n "(cached) " >&6
65710 else
65713 ac_ext=cpp
65714 ac_cpp='$CXXCPP $CPPFLAGS'
65715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65720 /* end confdefs.h. */
65721 #include <math.h>
65722 #ifdef HAVE_IEEEFP_H
65723 #include <ieeefp.h>
65724 #endif
65727 main ()
65729 qfpclass(0);
65731 return 0;
65733 _ACEOF
65734 if ac_fn_cxx_try_compile "$LINENO"; then :
65735 glibcxx_cv_func_qfpclass_use=yes
65736 else
65737 glibcxx_cv_func_qfpclass_use=no
65739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65740 ac_ext=c
65741 ac_cpp='$CPP $CPPFLAGS'
65742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65751 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65753 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65754 for ac_func in qfpclass
65755 do :
65756 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65757 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65758 cat >>confdefs.h <<_ACEOF
65759 #define HAVE_QFPCLASS 1
65760 _ACEOF
65763 done
65765 else
65767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65768 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65769 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65770 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65771 $as_echo_n "(cached) " >&6
65772 else
65775 ac_ext=cpp
65776 ac_cpp='$CXXCPP $CPPFLAGS'
65777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65782 /* end confdefs.h. */
65783 #include <math.h>
65784 #ifdef HAVE_IEEEFP_H
65785 #include <ieeefp.h>
65786 #endif
65789 main ()
65791 _qfpclass(0);
65793 return 0;
65795 _ACEOF
65796 if ac_fn_cxx_try_compile "$LINENO"; then :
65797 glibcxx_cv_func__qfpclass_use=yes
65798 else
65799 glibcxx_cv_func__qfpclass_use=no
65801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65802 ac_ext=c
65803 ac_cpp='$CPP $CPPFLAGS'
65804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65813 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65815 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65816 for ac_func in _qfpclass
65817 do :
65818 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65819 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65820 cat >>confdefs.h <<_ACEOF
65821 #define HAVE__QFPCLASS 1
65822 _ACEOF
65825 done
65834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65835 $as_echo_n "checking for hypot declaration... " >&6; }
65836 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65837 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65838 $as_echo_n "(cached) " >&6
65839 else
65842 ac_ext=cpp
65843 ac_cpp='$CXXCPP $CPPFLAGS'
65844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65849 /* end confdefs.h. */
65850 #include <math.h>
65852 main ()
65854 hypot(0, 0);
65856 return 0;
65858 _ACEOF
65859 if ac_fn_cxx_try_compile "$LINENO"; then :
65860 glibcxx_cv_func_hypot_use=yes
65861 else
65862 glibcxx_cv_func_hypot_use=no
65864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65865 ac_ext=c
65866 ac_cpp='$CPP $CPPFLAGS'
65867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65876 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65878 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65879 for ac_func in hypot
65880 do :
65881 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65882 if test "x$ac_cv_func_hypot" = x""yes; then :
65883 cat >>confdefs.h <<_ACEOF
65884 #define HAVE_HYPOT 1
65885 _ACEOF
65888 done
65890 else
65892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65893 $as_echo_n "checking for _hypot declaration... " >&6; }
65894 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65895 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65896 $as_echo_n "(cached) " >&6
65897 else
65900 ac_ext=cpp
65901 ac_cpp='$CXXCPP $CPPFLAGS'
65902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65907 /* end confdefs.h. */
65908 #include <math.h>
65910 main ()
65912 _hypot(0, 0);
65914 return 0;
65916 _ACEOF
65917 if ac_fn_cxx_try_compile "$LINENO"; then :
65918 glibcxx_cv_func__hypot_use=yes
65919 else
65920 glibcxx_cv_func__hypot_use=no
65922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65923 ac_ext=c
65924 ac_cpp='$CPP $CPPFLAGS'
65925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65934 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65936 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65937 for ac_func in _hypot
65938 do :
65939 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65940 if test "x$ac_cv_func__hypot" = x""yes; then :
65941 cat >>confdefs.h <<_ACEOF
65942 #define HAVE__HYPOT 1
65943 _ACEOF
65946 done
65955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65956 $as_echo_n "checking for float trig functions... " >&6; }
65957 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65958 $as_echo_n "(cached) " >&6
65959 else
65962 ac_ext=cpp
65963 ac_cpp='$CXXCPP $CPPFLAGS'
65964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65969 /* end confdefs.h. */
65970 #include <math.h>
65972 main ()
65974 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65976 return 0;
65978 _ACEOF
65979 if ac_fn_cxx_try_compile "$LINENO"; then :
65980 glibcxx_cv_func_float_trig_use=yes
65981 else
65982 glibcxx_cv_func_float_trig_use=no
65984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65985 ac_ext=c
65986 ac_cpp='$CPP $CPPFLAGS'
65987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65994 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65995 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65996 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65997 do :
65998 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65999 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66000 eval as_val=\$$as_ac_var
66001 if test "x$as_val" = x""yes; then :
66002 cat >>confdefs.h <<_ACEOF
66003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66004 _ACEOF
66007 done
66009 else
66010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66011 $as_echo_n "checking for _float trig functions... " >&6; }
66012 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66013 $as_echo_n "(cached) " >&6
66014 else
66017 ac_ext=cpp
66018 ac_cpp='$CXXCPP $CPPFLAGS'
66019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66024 /* end confdefs.h. */
66025 #include <math.h>
66027 main ()
66029 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66031 return 0;
66033 _ACEOF
66034 if ac_fn_cxx_try_compile "$LINENO"; then :
66035 glibcxx_cv_func__float_trig_use=yes
66036 else
66037 glibcxx_cv_func__float_trig_use=no
66039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66040 ac_ext=c
66041 ac_cpp='$CPP $CPPFLAGS'
66042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66049 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66050 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66051 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66052 do :
66053 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66054 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66055 eval as_val=\$$as_ac_var
66056 if test "x$as_val" = x""yes; then :
66057 cat >>confdefs.h <<_ACEOF
66058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66059 _ACEOF
66062 done
66071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66072 $as_echo_n "checking for float round functions... " >&6; }
66073 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66074 $as_echo_n "(cached) " >&6
66075 else
66078 ac_ext=cpp
66079 ac_cpp='$CXXCPP $CPPFLAGS'
66080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66085 /* end confdefs.h. */
66086 #include <math.h>
66088 main ()
66090 ceilf (0); floorf (0);
66092 return 0;
66094 _ACEOF
66095 if ac_fn_cxx_try_compile "$LINENO"; then :
66096 glibcxx_cv_func_float_round_use=yes
66097 else
66098 glibcxx_cv_func_float_round_use=no
66100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66101 ac_ext=c
66102 ac_cpp='$CPP $CPPFLAGS'
66103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66110 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66111 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66112 for ac_func in ceilf floorf
66113 do :
66114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66116 eval as_val=\$$as_ac_var
66117 if test "x$as_val" = x""yes; then :
66118 cat >>confdefs.h <<_ACEOF
66119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66120 _ACEOF
66123 done
66125 else
66126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66127 $as_echo_n "checking for _float round functions... " >&6; }
66128 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66129 $as_echo_n "(cached) " >&6
66130 else
66133 ac_ext=cpp
66134 ac_cpp='$CXXCPP $CPPFLAGS'
66135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66140 /* end confdefs.h. */
66141 #include <math.h>
66143 main ()
66145 _ceilf (0); _floorf (0);
66147 return 0;
66149 _ACEOF
66150 if ac_fn_cxx_try_compile "$LINENO"; then :
66151 glibcxx_cv_func__float_round_use=yes
66152 else
66153 glibcxx_cv_func__float_round_use=no
66155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66156 ac_ext=c
66157 ac_cpp='$CPP $CPPFLAGS'
66158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66165 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66166 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66167 for ac_func in _ceilf _floorf
66168 do :
66169 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66170 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66171 eval as_val=\$$as_ac_var
66172 if test "x$as_val" = x""yes; then :
66173 cat >>confdefs.h <<_ACEOF
66174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66175 _ACEOF
66178 done
66188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66189 $as_echo_n "checking for expf declaration... " >&6; }
66190 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66191 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66192 $as_echo_n "(cached) " >&6
66193 else
66196 ac_ext=cpp
66197 ac_cpp='$CXXCPP $CPPFLAGS'
66198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66203 /* end confdefs.h. */
66204 #include <math.h>
66205 #ifdef HAVE_IEEEFP_H
66206 #include <ieeefp.h>
66207 #endif
66210 main ()
66212 expf(0);
66214 return 0;
66216 _ACEOF
66217 if ac_fn_cxx_try_compile "$LINENO"; then :
66218 glibcxx_cv_func_expf_use=yes
66219 else
66220 glibcxx_cv_func_expf_use=no
66222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66223 ac_ext=c
66224 ac_cpp='$CPP $CPPFLAGS'
66225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66234 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66236 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66237 for ac_func in expf
66238 do :
66239 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66240 if test "x$ac_cv_func_expf" = x""yes; then :
66241 cat >>confdefs.h <<_ACEOF
66242 #define HAVE_EXPF 1
66243 _ACEOF
66246 done
66248 else
66250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66251 $as_echo_n "checking for _expf declaration... " >&6; }
66252 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66253 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66254 $as_echo_n "(cached) " >&6
66255 else
66258 ac_ext=cpp
66259 ac_cpp='$CXXCPP $CPPFLAGS'
66260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66265 /* end confdefs.h. */
66266 #include <math.h>
66267 #ifdef HAVE_IEEEFP_H
66268 #include <ieeefp.h>
66269 #endif
66272 main ()
66274 _expf(0);
66276 return 0;
66278 _ACEOF
66279 if ac_fn_cxx_try_compile "$LINENO"; then :
66280 glibcxx_cv_func__expf_use=yes
66281 else
66282 glibcxx_cv_func__expf_use=no
66284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66285 ac_ext=c
66286 ac_cpp='$CPP $CPPFLAGS'
66287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66296 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66298 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66299 for ac_func in _expf
66300 do :
66301 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66302 if test "x$ac_cv_func__expf" = x""yes; then :
66303 cat >>confdefs.h <<_ACEOF
66304 #define HAVE__EXPF 1
66305 _ACEOF
66308 done
66317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66318 $as_echo_n "checking for isnanf declaration... " >&6; }
66319 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66320 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66321 $as_echo_n "(cached) " >&6
66322 else
66325 ac_ext=cpp
66326 ac_cpp='$CXXCPP $CPPFLAGS'
66327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66332 /* end confdefs.h. */
66333 #include <math.h>
66334 #ifdef HAVE_IEEEFP_H
66335 #include <ieeefp.h>
66336 #endif
66339 main ()
66341 isnanf(0);
66343 return 0;
66345 _ACEOF
66346 if ac_fn_cxx_try_compile "$LINENO"; then :
66347 glibcxx_cv_func_isnanf_use=yes
66348 else
66349 glibcxx_cv_func_isnanf_use=no
66351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66352 ac_ext=c
66353 ac_cpp='$CPP $CPPFLAGS'
66354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66363 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66365 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66366 for ac_func in isnanf
66367 do :
66368 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66369 if test "x$ac_cv_func_isnanf" = x""yes; then :
66370 cat >>confdefs.h <<_ACEOF
66371 #define HAVE_ISNANF 1
66372 _ACEOF
66375 done
66377 else
66379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66380 $as_echo_n "checking for _isnanf declaration... " >&6; }
66381 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66382 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66383 $as_echo_n "(cached) " >&6
66384 else
66387 ac_ext=cpp
66388 ac_cpp='$CXXCPP $CPPFLAGS'
66389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66394 /* end confdefs.h. */
66395 #include <math.h>
66396 #ifdef HAVE_IEEEFP_H
66397 #include <ieeefp.h>
66398 #endif
66401 main ()
66403 _isnanf(0);
66405 return 0;
66407 _ACEOF
66408 if ac_fn_cxx_try_compile "$LINENO"; then :
66409 glibcxx_cv_func__isnanf_use=yes
66410 else
66411 glibcxx_cv_func__isnanf_use=no
66413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66414 ac_ext=c
66415 ac_cpp='$CPP $CPPFLAGS'
66416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66425 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66427 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66428 for ac_func in _isnanf
66429 do :
66430 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66431 if test "x$ac_cv_func__isnanf" = x""yes; then :
66432 cat >>confdefs.h <<_ACEOF
66433 #define HAVE__ISNANF 1
66434 _ACEOF
66437 done
66446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66447 $as_echo_n "checking for isinff declaration... " >&6; }
66448 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66449 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66450 $as_echo_n "(cached) " >&6
66451 else
66454 ac_ext=cpp
66455 ac_cpp='$CXXCPP $CPPFLAGS'
66456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66461 /* end confdefs.h. */
66462 #include <math.h>
66463 #ifdef HAVE_IEEEFP_H
66464 #include <ieeefp.h>
66465 #endif
66468 main ()
66470 isinff(0);
66472 return 0;
66474 _ACEOF
66475 if ac_fn_cxx_try_compile "$LINENO"; then :
66476 glibcxx_cv_func_isinff_use=yes
66477 else
66478 glibcxx_cv_func_isinff_use=no
66480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66481 ac_ext=c
66482 ac_cpp='$CPP $CPPFLAGS'
66483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66492 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66494 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66495 for ac_func in isinff
66496 do :
66497 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66498 if test "x$ac_cv_func_isinff" = x""yes; then :
66499 cat >>confdefs.h <<_ACEOF
66500 #define HAVE_ISINFF 1
66501 _ACEOF
66504 done
66506 else
66508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66509 $as_echo_n "checking for _isinff declaration... " >&6; }
66510 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66511 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66512 $as_echo_n "(cached) " >&6
66513 else
66516 ac_ext=cpp
66517 ac_cpp='$CXXCPP $CPPFLAGS'
66518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66523 /* end confdefs.h. */
66524 #include <math.h>
66525 #ifdef HAVE_IEEEFP_H
66526 #include <ieeefp.h>
66527 #endif
66530 main ()
66532 _isinff(0);
66534 return 0;
66536 _ACEOF
66537 if ac_fn_cxx_try_compile "$LINENO"; then :
66538 glibcxx_cv_func__isinff_use=yes
66539 else
66540 glibcxx_cv_func__isinff_use=no
66542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66543 ac_ext=c
66544 ac_cpp='$CPP $CPPFLAGS'
66545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66554 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66556 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66557 for ac_func in _isinff
66558 do :
66559 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66560 if test "x$ac_cv_func__isinff" = x""yes; then :
66561 cat >>confdefs.h <<_ACEOF
66562 #define HAVE__ISINFF 1
66563 _ACEOF
66566 done
66575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66576 $as_echo_n "checking for atan2f declaration... " >&6; }
66577 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66578 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66579 $as_echo_n "(cached) " >&6
66580 else
66583 ac_ext=cpp
66584 ac_cpp='$CXXCPP $CPPFLAGS'
66585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66590 /* end confdefs.h. */
66591 #include <math.h>
66593 main ()
66595 atan2f(0, 0);
66597 return 0;
66599 _ACEOF
66600 if ac_fn_cxx_try_compile "$LINENO"; then :
66601 glibcxx_cv_func_atan2f_use=yes
66602 else
66603 glibcxx_cv_func_atan2f_use=no
66605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66606 ac_ext=c
66607 ac_cpp='$CPP $CPPFLAGS'
66608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66617 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66619 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66620 for ac_func in atan2f
66621 do :
66622 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66623 if test "x$ac_cv_func_atan2f" = x""yes; then :
66624 cat >>confdefs.h <<_ACEOF
66625 #define HAVE_ATAN2F 1
66626 _ACEOF
66629 done
66631 else
66633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66634 $as_echo_n "checking for _atan2f declaration... " >&6; }
66635 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66636 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66637 $as_echo_n "(cached) " >&6
66638 else
66641 ac_ext=cpp
66642 ac_cpp='$CXXCPP $CPPFLAGS'
66643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66648 /* end confdefs.h. */
66649 #include <math.h>
66651 main ()
66653 _atan2f(0, 0);
66655 return 0;
66657 _ACEOF
66658 if ac_fn_cxx_try_compile "$LINENO"; then :
66659 glibcxx_cv_func__atan2f_use=yes
66660 else
66661 glibcxx_cv_func__atan2f_use=no
66663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66664 ac_ext=c
66665 ac_cpp='$CPP $CPPFLAGS'
66666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66675 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66677 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66678 for ac_func in _atan2f
66679 do :
66680 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66681 if test "x$ac_cv_func__atan2f" = x""yes; then :
66682 cat >>confdefs.h <<_ACEOF
66683 #define HAVE__ATAN2F 1
66684 _ACEOF
66687 done
66696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66697 $as_echo_n "checking for fabsf declaration... " >&6; }
66698 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66699 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66700 $as_echo_n "(cached) " >&6
66701 else
66704 ac_ext=cpp
66705 ac_cpp='$CXXCPP $CPPFLAGS'
66706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66711 /* end confdefs.h. */
66712 #include <math.h>
66713 #ifdef HAVE_IEEEFP_H
66714 #include <ieeefp.h>
66715 #endif
66718 main ()
66720 fabsf(0);
66722 return 0;
66724 _ACEOF
66725 if ac_fn_cxx_try_compile "$LINENO"; then :
66726 glibcxx_cv_func_fabsf_use=yes
66727 else
66728 glibcxx_cv_func_fabsf_use=no
66730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66731 ac_ext=c
66732 ac_cpp='$CPP $CPPFLAGS'
66733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66742 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66744 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66745 for ac_func in fabsf
66746 do :
66747 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66748 if test "x$ac_cv_func_fabsf" = x""yes; then :
66749 cat >>confdefs.h <<_ACEOF
66750 #define HAVE_FABSF 1
66751 _ACEOF
66754 done
66756 else
66758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66759 $as_echo_n "checking for _fabsf declaration... " >&6; }
66760 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66761 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66762 $as_echo_n "(cached) " >&6
66763 else
66766 ac_ext=cpp
66767 ac_cpp='$CXXCPP $CPPFLAGS'
66768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66773 /* end confdefs.h. */
66774 #include <math.h>
66775 #ifdef HAVE_IEEEFP_H
66776 #include <ieeefp.h>
66777 #endif
66780 main ()
66782 _fabsf(0);
66784 return 0;
66786 _ACEOF
66787 if ac_fn_cxx_try_compile "$LINENO"; then :
66788 glibcxx_cv_func__fabsf_use=yes
66789 else
66790 glibcxx_cv_func__fabsf_use=no
66792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66793 ac_ext=c
66794 ac_cpp='$CPP $CPPFLAGS'
66795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66804 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66806 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66807 for ac_func in _fabsf
66808 do :
66809 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66810 if test "x$ac_cv_func__fabsf" = x""yes; then :
66811 cat >>confdefs.h <<_ACEOF
66812 #define HAVE__FABSF 1
66813 _ACEOF
66816 done
66825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66826 $as_echo_n "checking for fmodf declaration... " >&6; }
66827 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66828 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66829 $as_echo_n "(cached) " >&6
66830 else
66833 ac_ext=cpp
66834 ac_cpp='$CXXCPP $CPPFLAGS'
66835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66840 /* end confdefs.h. */
66841 #include <math.h>
66843 main ()
66845 fmodf(0, 0);
66847 return 0;
66849 _ACEOF
66850 if ac_fn_cxx_try_compile "$LINENO"; then :
66851 glibcxx_cv_func_fmodf_use=yes
66852 else
66853 glibcxx_cv_func_fmodf_use=no
66855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66856 ac_ext=c
66857 ac_cpp='$CPP $CPPFLAGS'
66858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66867 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66869 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66870 for ac_func in fmodf
66871 do :
66872 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66873 if test "x$ac_cv_func_fmodf" = x""yes; then :
66874 cat >>confdefs.h <<_ACEOF
66875 #define HAVE_FMODF 1
66876 _ACEOF
66879 done
66881 else
66883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66884 $as_echo_n "checking for _fmodf declaration... " >&6; }
66885 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66886 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66887 $as_echo_n "(cached) " >&6
66888 else
66891 ac_ext=cpp
66892 ac_cpp='$CXXCPP $CPPFLAGS'
66893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66898 /* end confdefs.h. */
66899 #include <math.h>
66901 main ()
66903 _fmodf(0, 0);
66905 return 0;
66907 _ACEOF
66908 if ac_fn_cxx_try_compile "$LINENO"; then :
66909 glibcxx_cv_func__fmodf_use=yes
66910 else
66911 glibcxx_cv_func__fmodf_use=no
66913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66914 ac_ext=c
66915 ac_cpp='$CPP $CPPFLAGS'
66916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66925 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66927 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66928 for ac_func in _fmodf
66929 do :
66930 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66931 if test "x$ac_cv_func__fmodf" = x""yes; then :
66932 cat >>confdefs.h <<_ACEOF
66933 #define HAVE__FMODF 1
66934 _ACEOF
66937 done
66946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66947 $as_echo_n "checking for frexpf declaration... " >&6; }
66948 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66949 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66950 $as_echo_n "(cached) " >&6
66951 else
66954 ac_ext=cpp
66955 ac_cpp='$CXXCPP $CPPFLAGS'
66956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66961 /* end confdefs.h. */
66962 #include <math.h>
66964 main ()
66966 frexpf(0, 0);
66968 return 0;
66970 _ACEOF
66971 if ac_fn_cxx_try_compile "$LINENO"; then :
66972 glibcxx_cv_func_frexpf_use=yes
66973 else
66974 glibcxx_cv_func_frexpf_use=no
66976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66977 ac_ext=c
66978 ac_cpp='$CPP $CPPFLAGS'
66979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
66988 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66990 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66991 for ac_func in frexpf
66992 do :
66993 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66994 if test "x$ac_cv_func_frexpf" = x""yes; then :
66995 cat >>confdefs.h <<_ACEOF
66996 #define HAVE_FREXPF 1
66997 _ACEOF
67000 done
67002 else
67004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67005 $as_echo_n "checking for _frexpf declaration... " >&6; }
67006 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67007 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67008 $as_echo_n "(cached) " >&6
67009 else
67012 ac_ext=cpp
67013 ac_cpp='$CXXCPP $CPPFLAGS'
67014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67019 /* end confdefs.h. */
67020 #include <math.h>
67022 main ()
67024 _frexpf(0, 0);
67026 return 0;
67028 _ACEOF
67029 if ac_fn_cxx_try_compile "$LINENO"; then :
67030 glibcxx_cv_func__frexpf_use=yes
67031 else
67032 glibcxx_cv_func__frexpf_use=no
67034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67035 ac_ext=c
67036 ac_cpp='$CPP $CPPFLAGS'
67037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67046 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67048 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67049 for ac_func in _frexpf
67050 do :
67051 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67052 if test "x$ac_cv_func__frexpf" = x""yes; then :
67053 cat >>confdefs.h <<_ACEOF
67054 #define HAVE__FREXPF 1
67055 _ACEOF
67058 done
67067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67068 $as_echo_n "checking for hypotf declaration... " >&6; }
67069 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67070 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67071 $as_echo_n "(cached) " >&6
67072 else
67075 ac_ext=cpp
67076 ac_cpp='$CXXCPP $CPPFLAGS'
67077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67082 /* end confdefs.h. */
67083 #include <math.h>
67085 main ()
67087 hypotf(0, 0);
67089 return 0;
67091 _ACEOF
67092 if ac_fn_cxx_try_compile "$LINENO"; then :
67093 glibcxx_cv_func_hypotf_use=yes
67094 else
67095 glibcxx_cv_func_hypotf_use=no
67097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67098 ac_ext=c
67099 ac_cpp='$CPP $CPPFLAGS'
67100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67109 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67111 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67112 for ac_func in hypotf
67113 do :
67114 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67115 if test "x$ac_cv_func_hypotf" = x""yes; then :
67116 cat >>confdefs.h <<_ACEOF
67117 #define HAVE_HYPOTF 1
67118 _ACEOF
67121 done
67123 else
67125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67126 $as_echo_n "checking for _hypotf declaration... " >&6; }
67127 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67128 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67129 $as_echo_n "(cached) " >&6
67130 else
67133 ac_ext=cpp
67134 ac_cpp='$CXXCPP $CPPFLAGS'
67135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67140 /* end confdefs.h. */
67141 #include <math.h>
67143 main ()
67145 _hypotf(0, 0);
67147 return 0;
67149 _ACEOF
67150 if ac_fn_cxx_try_compile "$LINENO"; then :
67151 glibcxx_cv_func__hypotf_use=yes
67152 else
67153 glibcxx_cv_func__hypotf_use=no
67155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67156 ac_ext=c
67157 ac_cpp='$CPP $CPPFLAGS'
67158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67167 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67169 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67170 for ac_func in _hypotf
67171 do :
67172 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67173 if test "x$ac_cv_func__hypotf" = x""yes; then :
67174 cat >>confdefs.h <<_ACEOF
67175 #define HAVE__HYPOTF 1
67176 _ACEOF
67179 done
67188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67189 $as_echo_n "checking for ldexpf declaration... " >&6; }
67190 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67191 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67192 $as_echo_n "(cached) " >&6
67193 else
67196 ac_ext=cpp
67197 ac_cpp='$CXXCPP $CPPFLAGS'
67198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67203 /* end confdefs.h. */
67204 #include <math.h>
67206 main ()
67208 ldexpf(0, 0);
67210 return 0;
67212 _ACEOF
67213 if ac_fn_cxx_try_compile "$LINENO"; then :
67214 glibcxx_cv_func_ldexpf_use=yes
67215 else
67216 glibcxx_cv_func_ldexpf_use=no
67218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67219 ac_ext=c
67220 ac_cpp='$CPP $CPPFLAGS'
67221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67230 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67232 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67233 for ac_func in ldexpf
67234 do :
67235 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67236 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67237 cat >>confdefs.h <<_ACEOF
67238 #define HAVE_LDEXPF 1
67239 _ACEOF
67242 done
67244 else
67246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67247 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67248 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67249 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67250 $as_echo_n "(cached) " >&6
67251 else
67254 ac_ext=cpp
67255 ac_cpp='$CXXCPP $CPPFLAGS'
67256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67261 /* end confdefs.h. */
67262 #include <math.h>
67264 main ()
67266 _ldexpf(0, 0);
67268 return 0;
67270 _ACEOF
67271 if ac_fn_cxx_try_compile "$LINENO"; then :
67272 glibcxx_cv_func__ldexpf_use=yes
67273 else
67274 glibcxx_cv_func__ldexpf_use=no
67276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67277 ac_ext=c
67278 ac_cpp='$CPP $CPPFLAGS'
67279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67288 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67290 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67291 for ac_func in _ldexpf
67292 do :
67293 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67294 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67295 cat >>confdefs.h <<_ACEOF
67296 #define HAVE__LDEXPF 1
67297 _ACEOF
67300 done
67309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67310 $as_echo_n "checking for logf declaration... " >&6; }
67311 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67312 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67313 $as_echo_n "(cached) " >&6
67314 else
67317 ac_ext=cpp
67318 ac_cpp='$CXXCPP $CPPFLAGS'
67319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67324 /* end confdefs.h. */
67325 #include <math.h>
67326 #ifdef HAVE_IEEEFP_H
67327 #include <ieeefp.h>
67328 #endif
67331 main ()
67333 logf(0);
67335 return 0;
67337 _ACEOF
67338 if ac_fn_cxx_try_compile "$LINENO"; then :
67339 glibcxx_cv_func_logf_use=yes
67340 else
67341 glibcxx_cv_func_logf_use=no
67343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67344 ac_ext=c
67345 ac_cpp='$CPP $CPPFLAGS'
67346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67355 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67357 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67358 for ac_func in logf
67359 do :
67360 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67361 if test "x$ac_cv_func_logf" = x""yes; then :
67362 cat >>confdefs.h <<_ACEOF
67363 #define HAVE_LOGF 1
67364 _ACEOF
67367 done
67369 else
67371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67372 $as_echo_n "checking for _logf declaration... " >&6; }
67373 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67374 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67375 $as_echo_n "(cached) " >&6
67376 else
67379 ac_ext=cpp
67380 ac_cpp='$CXXCPP $CPPFLAGS'
67381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67386 /* end confdefs.h. */
67387 #include <math.h>
67388 #ifdef HAVE_IEEEFP_H
67389 #include <ieeefp.h>
67390 #endif
67393 main ()
67395 _logf(0);
67397 return 0;
67399 _ACEOF
67400 if ac_fn_cxx_try_compile "$LINENO"; then :
67401 glibcxx_cv_func__logf_use=yes
67402 else
67403 glibcxx_cv_func__logf_use=no
67405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67406 ac_ext=c
67407 ac_cpp='$CPP $CPPFLAGS'
67408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67417 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67419 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67420 for ac_func in _logf
67421 do :
67422 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67423 if test "x$ac_cv_func__logf" = x""yes; then :
67424 cat >>confdefs.h <<_ACEOF
67425 #define HAVE__LOGF 1
67426 _ACEOF
67429 done
67438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67439 $as_echo_n "checking for log10f declaration... " >&6; }
67440 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67441 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67442 $as_echo_n "(cached) " >&6
67443 else
67446 ac_ext=cpp
67447 ac_cpp='$CXXCPP $CPPFLAGS'
67448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67453 /* end confdefs.h. */
67454 #include <math.h>
67455 #ifdef HAVE_IEEEFP_H
67456 #include <ieeefp.h>
67457 #endif
67460 main ()
67462 log10f(0);
67464 return 0;
67466 _ACEOF
67467 if ac_fn_cxx_try_compile "$LINENO"; then :
67468 glibcxx_cv_func_log10f_use=yes
67469 else
67470 glibcxx_cv_func_log10f_use=no
67472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67473 ac_ext=c
67474 ac_cpp='$CPP $CPPFLAGS'
67475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67484 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67486 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67487 for ac_func in log10f
67488 do :
67489 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67490 if test "x$ac_cv_func_log10f" = x""yes; then :
67491 cat >>confdefs.h <<_ACEOF
67492 #define HAVE_LOG10F 1
67493 _ACEOF
67496 done
67498 else
67500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67501 $as_echo_n "checking for _log10f declaration... " >&6; }
67502 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67503 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67504 $as_echo_n "(cached) " >&6
67505 else
67508 ac_ext=cpp
67509 ac_cpp='$CXXCPP $CPPFLAGS'
67510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67515 /* end confdefs.h. */
67516 #include <math.h>
67517 #ifdef HAVE_IEEEFP_H
67518 #include <ieeefp.h>
67519 #endif
67522 main ()
67524 _log10f(0);
67526 return 0;
67528 _ACEOF
67529 if ac_fn_cxx_try_compile "$LINENO"; then :
67530 glibcxx_cv_func__log10f_use=yes
67531 else
67532 glibcxx_cv_func__log10f_use=no
67534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67535 ac_ext=c
67536 ac_cpp='$CPP $CPPFLAGS'
67537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67546 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67548 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67549 for ac_func in _log10f
67550 do :
67551 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67552 if test "x$ac_cv_func__log10f" = x""yes; then :
67553 cat >>confdefs.h <<_ACEOF
67554 #define HAVE__LOG10F 1
67555 _ACEOF
67558 done
67567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67568 $as_echo_n "checking for modff declaration... " >&6; }
67569 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67570 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67571 $as_echo_n "(cached) " >&6
67572 else
67575 ac_ext=cpp
67576 ac_cpp='$CXXCPP $CPPFLAGS'
67577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67582 /* end confdefs.h. */
67583 #include <math.h>
67585 main ()
67587 modff(0, 0);
67589 return 0;
67591 _ACEOF
67592 if ac_fn_cxx_try_compile "$LINENO"; then :
67593 glibcxx_cv_func_modff_use=yes
67594 else
67595 glibcxx_cv_func_modff_use=no
67597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67598 ac_ext=c
67599 ac_cpp='$CPP $CPPFLAGS'
67600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67609 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67611 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67612 for ac_func in modff
67613 do :
67614 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67615 if test "x$ac_cv_func_modff" = x""yes; then :
67616 cat >>confdefs.h <<_ACEOF
67617 #define HAVE_MODFF 1
67618 _ACEOF
67621 done
67623 else
67625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67626 $as_echo_n "checking for _modff declaration... " >&6; }
67627 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67628 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67629 $as_echo_n "(cached) " >&6
67630 else
67633 ac_ext=cpp
67634 ac_cpp='$CXXCPP $CPPFLAGS'
67635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67640 /* end confdefs.h. */
67641 #include <math.h>
67643 main ()
67645 _modff(0, 0);
67647 return 0;
67649 _ACEOF
67650 if ac_fn_cxx_try_compile "$LINENO"; then :
67651 glibcxx_cv_func__modff_use=yes
67652 else
67653 glibcxx_cv_func__modff_use=no
67655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67656 ac_ext=c
67657 ac_cpp='$CPP $CPPFLAGS'
67658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67667 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67669 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67670 for ac_func in _modff
67671 do :
67672 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67673 if test "x$ac_cv_func__modff" = x""yes; then :
67674 cat >>confdefs.h <<_ACEOF
67675 #define HAVE__MODFF 1
67676 _ACEOF
67679 done
67688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67689 $as_echo_n "checking for modf declaration... " >&6; }
67690 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67691 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67692 $as_echo_n "(cached) " >&6
67693 else
67696 ac_ext=cpp
67697 ac_cpp='$CXXCPP $CPPFLAGS'
67698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67703 /* end confdefs.h. */
67704 #include <math.h>
67706 main ()
67708 modf(0, 0);
67710 return 0;
67712 _ACEOF
67713 if ac_fn_cxx_try_compile "$LINENO"; then :
67714 glibcxx_cv_func_modf_use=yes
67715 else
67716 glibcxx_cv_func_modf_use=no
67718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67719 ac_ext=c
67720 ac_cpp='$CPP $CPPFLAGS'
67721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67730 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67732 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67733 for ac_func in modf
67734 do :
67735 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67736 if test "x$ac_cv_func_modf" = x""yes; then :
67737 cat >>confdefs.h <<_ACEOF
67738 #define HAVE_MODF 1
67739 _ACEOF
67742 done
67744 else
67746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67747 $as_echo_n "checking for _modf declaration... " >&6; }
67748 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67749 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67750 $as_echo_n "(cached) " >&6
67751 else
67754 ac_ext=cpp
67755 ac_cpp='$CXXCPP $CPPFLAGS'
67756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67761 /* end confdefs.h. */
67762 #include <math.h>
67764 main ()
67766 _modf(0, 0);
67768 return 0;
67770 _ACEOF
67771 if ac_fn_cxx_try_compile "$LINENO"; then :
67772 glibcxx_cv_func__modf_use=yes
67773 else
67774 glibcxx_cv_func__modf_use=no
67776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67777 ac_ext=c
67778 ac_cpp='$CPP $CPPFLAGS'
67779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67788 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67790 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67791 for ac_func in _modf
67792 do :
67793 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67794 if test "x$ac_cv_func__modf" = x""yes; then :
67795 cat >>confdefs.h <<_ACEOF
67796 #define HAVE__MODF 1
67797 _ACEOF
67800 done
67809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67810 $as_echo_n "checking for powf declaration... " >&6; }
67811 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67812 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67813 $as_echo_n "(cached) " >&6
67814 else
67817 ac_ext=cpp
67818 ac_cpp='$CXXCPP $CPPFLAGS'
67819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67824 /* end confdefs.h. */
67825 #include <math.h>
67827 main ()
67829 powf(0, 0);
67831 return 0;
67833 _ACEOF
67834 if ac_fn_cxx_try_compile "$LINENO"; then :
67835 glibcxx_cv_func_powf_use=yes
67836 else
67837 glibcxx_cv_func_powf_use=no
67839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67840 ac_ext=c
67841 ac_cpp='$CPP $CPPFLAGS'
67842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67851 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67853 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67854 for ac_func in powf
67855 do :
67856 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67857 if test "x$ac_cv_func_powf" = x""yes; then :
67858 cat >>confdefs.h <<_ACEOF
67859 #define HAVE_POWF 1
67860 _ACEOF
67863 done
67865 else
67867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67868 $as_echo_n "checking for _powf declaration... " >&6; }
67869 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67870 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67871 $as_echo_n "(cached) " >&6
67872 else
67875 ac_ext=cpp
67876 ac_cpp='$CXXCPP $CPPFLAGS'
67877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67882 /* end confdefs.h. */
67883 #include <math.h>
67885 main ()
67887 _powf(0, 0);
67889 return 0;
67891 _ACEOF
67892 if ac_fn_cxx_try_compile "$LINENO"; then :
67893 glibcxx_cv_func__powf_use=yes
67894 else
67895 glibcxx_cv_func__powf_use=no
67897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67898 ac_ext=c
67899 ac_cpp='$CPP $CPPFLAGS'
67900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67909 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67911 if test x$glibcxx_cv_func__powf_use = x"yes"; then
67912 for ac_func in _powf
67913 do :
67914 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67915 if test "x$ac_cv_func__powf" = x""yes; then :
67916 cat >>confdefs.h <<_ACEOF
67917 #define HAVE__POWF 1
67918 _ACEOF
67921 done
67930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67931 $as_echo_n "checking for sqrtf declaration... " >&6; }
67932 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67933 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67934 $as_echo_n "(cached) " >&6
67935 else
67938 ac_ext=cpp
67939 ac_cpp='$CXXCPP $CPPFLAGS'
67940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67945 /* end confdefs.h. */
67946 #include <math.h>
67947 #ifdef HAVE_IEEEFP_H
67948 #include <ieeefp.h>
67949 #endif
67952 main ()
67954 sqrtf(0);
67956 return 0;
67958 _ACEOF
67959 if ac_fn_cxx_try_compile "$LINENO"; then :
67960 glibcxx_cv_func_sqrtf_use=yes
67961 else
67962 glibcxx_cv_func_sqrtf_use=no
67964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67965 ac_ext=c
67966 ac_cpp='$CPP $CPPFLAGS'
67967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67976 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67978 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67979 for ac_func in sqrtf
67980 do :
67981 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67982 if test "x$ac_cv_func_sqrtf" = x""yes; then :
67983 cat >>confdefs.h <<_ACEOF
67984 #define HAVE_SQRTF 1
67985 _ACEOF
67988 done
67990 else
67992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67993 $as_echo_n "checking for _sqrtf declaration... " >&6; }
67994 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67995 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67996 $as_echo_n "(cached) " >&6
67997 else
68000 ac_ext=cpp
68001 ac_cpp='$CXXCPP $CPPFLAGS'
68002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68007 /* end confdefs.h. */
68008 #include <math.h>
68009 #ifdef HAVE_IEEEFP_H
68010 #include <ieeefp.h>
68011 #endif
68014 main ()
68016 _sqrtf(0);
68018 return 0;
68020 _ACEOF
68021 if ac_fn_cxx_try_compile "$LINENO"; then :
68022 glibcxx_cv_func__sqrtf_use=yes
68023 else
68024 glibcxx_cv_func__sqrtf_use=no
68026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68027 ac_ext=c
68028 ac_cpp='$CPP $CPPFLAGS'
68029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68038 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68040 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68041 for ac_func in _sqrtf
68042 do :
68043 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68044 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68045 cat >>confdefs.h <<_ACEOF
68046 #define HAVE__SQRTF 1
68047 _ACEOF
68050 done
68059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68060 $as_echo_n "checking for sincosf declaration... " >&6; }
68061 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68062 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68063 $as_echo_n "(cached) " >&6
68064 else
68067 ac_ext=cpp
68068 ac_cpp='$CXXCPP $CPPFLAGS'
68069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68074 /* end confdefs.h. */
68075 #include <math.h>
68077 main ()
68079 sincosf(0, 0, 0);
68081 return 0;
68083 _ACEOF
68084 if ac_fn_cxx_try_compile "$LINENO"; then :
68085 glibcxx_cv_func_sincosf_use=yes
68086 else
68087 glibcxx_cv_func_sincosf_use=no
68089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68090 ac_ext=c
68091 ac_cpp='$CPP $CPPFLAGS'
68092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68101 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68103 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68104 for ac_func in sincosf
68105 do :
68106 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68107 if test "x$ac_cv_func_sincosf" = x""yes; then :
68108 cat >>confdefs.h <<_ACEOF
68109 #define HAVE_SINCOSF 1
68110 _ACEOF
68113 done
68115 else
68117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68118 $as_echo_n "checking for _sincosf declaration... " >&6; }
68119 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68120 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68121 $as_echo_n "(cached) " >&6
68122 else
68125 ac_ext=cpp
68126 ac_cpp='$CXXCPP $CPPFLAGS'
68127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68132 /* end confdefs.h. */
68133 #include <math.h>
68135 main ()
68137 _sincosf(0, 0, 0);
68139 return 0;
68141 _ACEOF
68142 if ac_fn_cxx_try_compile "$LINENO"; then :
68143 glibcxx_cv_func__sincosf_use=yes
68144 else
68145 glibcxx_cv_func__sincosf_use=no
68147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68148 ac_ext=c
68149 ac_cpp='$CPP $CPPFLAGS'
68150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68159 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68161 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68162 for ac_func in _sincosf
68163 do :
68164 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68165 if test "x$ac_cv_func__sincosf" = x""yes; then :
68166 cat >>confdefs.h <<_ACEOF
68167 #define HAVE__SINCOSF 1
68168 _ACEOF
68171 done
68180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68181 $as_echo_n "checking for finitef declaration... " >&6; }
68182 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68183 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68184 $as_echo_n "(cached) " >&6
68185 else
68188 ac_ext=cpp
68189 ac_cpp='$CXXCPP $CPPFLAGS'
68190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68195 /* end confdefs.h. */
68196 #include <math.h>
68197 #ifdef HAVE_IEEEFP_H
68198 #include <ieeefp.h>
68199 #endif
68202 main ()
68204 finitef(0);
68206 return 0;
68208 _ACEOF
68209 if ac_fn_cxx_try_compile "$LINENO"; then :
68210 glibcxx_cv_func_finitef_use=yes
68211 else
68212 glibcxx_cv_func_finitef_use=no
68214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68215 ac_ext=c
68216 ac_cpp='$CPP $CPPFLAGS'
68217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68226 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68228 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68229 for ac_func in finitef
68230 do :
68231 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68232 if test "x$ac_cv_func_finitef" = x""yes; then :
68233 cat >>confdefs.h <<_ACEOF
68234 #define HAVE_FINITEF 1
68235 _ACEOF
68238 done
68240 else
68242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68243 $as_echo_n "checking for _finitef declaration... " >&6; }
68244 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68245 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68246 $as_echo_n "(cached) " >&6
68247 else
68250 ac_ext=cpp
68251 ac_cpp='$CXXCPP $CPPFLAGS'
68252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68257 /* end confdefs.h. */
68258 #include <math.h>
68259 #ifdef HAVE_IEEEFP_H
68260 #include <ieeefp.h>
68261 #endif
68264 main ()
68266 _finitef(0);
68268 return 0;
68270 _ACEOF
68271 if ac_fn_cxx_try_compile "$LINENO"; then :
68272 glibcxx_cv_func__finitef_use=yes
68273 else
68274 glibcxx_cv_func__finitef_use=no
68276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68277 ac_ext=c
68278 ac_cpp='$CPP $CPPFLAGS'
68279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68288 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68290 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68291 for ac_func in _finitef
68292 do :
68293 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68294 if test "x$ac_cv_func__finitef" = x""yes; then :
68295 cat >>confdefs.h <<_ACEOF
68296 #define HAVE__FINITEF 1
68297 _ACEOF
68300 done
68309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68310 $as_echo_n "checking for long double trig functions... " >&6; }
68311 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68312 $as_echo_n "(cached) " >&6
68313 else
68316 ac_ext=cpp
68317 ac_cpp='$CXXCPP $CPPFLAGS'
68318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68323 /* end confdefs.h. */
68324 #include <math.h>
68326 main ()
68328 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68330 return 0;
68332 _ACEOF
68333 if ac_fn_cxx_try_compile "$LINENO"; then :
68334 glibcxx_cv_func_long_double_trig_use=yes
68335 else
68336 glibcxx_cv_func_long_double_trig_use=no
68338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68339 ac_ext=c
68340 ac_cpp='$CPP $CPPFLAGS'
68341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68348 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68349 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68350 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68351 do :
68352 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68353 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68354 eval as_val=\$$as_ac_var
68355 if test "x$as_val" = x""yes; then :
68356 cat >>confdefs.h <<_ACEOF
68357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68358 _ACEOF
68361 done
68363 else
68364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68365 $as_echo_n "checking for _long double trig functions... " >&6; }
68366 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68367 $as_echo_n "(cached) " >&6
68368 else
68371 ac_ext=cpp
68372 ac_cpp='$CXXCPP $CPPFLAGS'
68373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68378 /* end confdefs.h. */
68379 #include <math.h>
68381 main ()
68383 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68385 return 0;
68387 _ACEOF
68388 if ac_fn_cxx_try_compile "$LINENO"; then :
68389 glibcxx_cv_func__long_double_trig_use=yes
68390 else
68391 glibcxx_cv_func__long_double_trig_use=no
68393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68394 ac_ext=c
68395 ac_cpp='$CPP $CPPFLAGS'
68396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68403 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68404 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68405 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68406 do :
68407 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68408 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68409 eval as_val=\$$as_ac_var
68410 if test "x$as_val" = x""yes; then :
68411 cat >>confdefs.h <<_ACEOF
68412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68413 _ACEOF
68416 done
68425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68426 $as_echo_n "checking for long double round functions... " >&6; }
68427 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68428 $as_echo_n "(cached) " >&6
68429 else
68432 ac_ext=cpp
68433 ac_cpp='$CXXCPP $CPPFLAGS'
68434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68439 /* end confdefs.h. */
68440 #include <math.h>
68442 main ()
68444 ceill (0); floorl (0);
68446 return 0;
68448 _ACEOF
68449 if ac_fn_cxx_try_compile "$LINENO"; then :
68450 glibcxx_cv_func_long_double_round_use=yes
68451 else
68452 glibcxx_cv_func_long_double_round_use=no
68454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68455 ac_ext=c
68456 ac_cpp='$CPP $CPPFLAGS'
68457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68464 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68465 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68466 for ac_func in ceill floorl
68467 do :
68468 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68469 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68470 eval as_val=\$$as_ac_var
68471 if test "x$as_val" = x""yes; then :
68472 cat >>confdefs.h <<_ACEOF
68473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68474 _ACEOF
68477 done
68479 else
68480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68481 $as_echo_n "checking for _long double round functions... " >&6; }
68482 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68483 $as_echo_n "(cached) " >&6
68484 else
68487 ac_ext=cpp
68488 ac_cpp='$CXXCPP $CPPFLAGS'
68489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68494 /* end confdefs.h. */
68495 #include <math.h>
68497 main ()
68499 _ceill (0); _floorl (0);
68501 return 0;
68503 _ACEOF
68504 if ac_fn_cxx_try_compile "$LINENO"; then :
68505 glibcxx_cv_func__long_double_round_use=yes
68506 else
68507 glibcxx_cv_func__long_double_round_use=no
68509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68510 ac_ext=c
68511 ac_cpp='$CPP $CPPFLAGS'
68512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68519 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68520 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68521 for ac_func in _ceill _floorl
68522 do :
68523 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68524 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68525 eval as_val=\$$as_ac_var
68526 if test "x$as_val" = x""yes; then :
68527 cat >>confdefs.h <<_ACEOF
68528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68529 _ACEOF
68532 done
68542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68543 $as_echo_n "checking for isnanl declaration... " >&6; }
68544 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68545 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68546 $as_echo_n "(cached) " >&6
68547 else
68550 ac_ext=cpp
68551 ac_cpp='$CXXCPP $CPPFLAGS'
68552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68557 /* end confdefs.h. */
68558 #include <math.h>
68559 #ifdef HAVE_IEEEFP_H
68560 #include <ieeefp.h>
68561 #endif
68564 main ()
68566 isnanl(0);
68568 return 0;
68570 _ACEOF
68571 if ac_fn_cxx_try_compile "$LINENO"; then :
68572 glibcxx_cv_func_isnanl_use=yes
68573 else
68574 glibcxx_cv_func_isnanl_use=no
68576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68577 ac_ext=c
68578 ac_cpp='$CPP $CPPFLAGS'
68579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68588 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68590 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68591 for ac_func in isnanl
68592 do :
68593 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68594 if test "x$ac_cv_func_isnanl" = x""yes; then :
68595 cat >>confdefs.h <<_ACEOF
68596 #define HAVE_ISNANL 1
68597 _ACEOF
68600 done
68602 else
68604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68605 $as_echo_n "checking for _isnanl declaration... " >&6; }
68606 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68607 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68608 $as_echo_n "(cached) " >&6
68609 else
68612 ac_ext=cpp
68613 ac_cpp='$CXXCPP $CPPFLAGS'
68614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68619 /* end confdefs.h. */
68620 #include <math.h>
68621 #ifdef HAVE_IEEEFP_H
68622 #include <ieeefp.h>
68623 #endif
68626 main ()
68628 _isnanl(0);
68630 return 0;
68632 _ACEOF
68633 if ac_fn_cxx_try_compile "$LINENO"; then :
68634 glibcxx_cv_func__isnanl_use=yes
68635 else
68636 glibcxx_cv_func__isnanl_use=no
68638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68639 ac_ext=c
68640 ac_cpp='$CPP $CPPFLAGS'
68641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68650 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68652 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68653 for ac_func in _isnanl
68654 do :
68655 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68656 if test "x$ac_cv_func__isnanl" = x""yes; then :
68657 cat >>confdefs.h <<_ACEOF
68658 #define HAVE__ISNANL 1
68659 _ACEOF
68662 done
68671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68672 $as_echo_n "checking for isinfl declaration... " >&6; }
68673 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68674 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68675 $as_echo_n "(cached) " >&6
68676 else
68679 ac_ext=cpp
68680 ac_cpp='$CXXCPP $CPPFLAGS'
68681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68686 /* end confdefs.h. */
68687 #include <math.h>
68688 #ifdef HAVE_IEEEFP_H
68689 #include <ieeefp.h>
68690 #endif
68693 main ()
68695 isinfl(0);
68697 return 0;
68699 _ACEOF
68700 if ac_fn_cxx_try_compile "$LINENO"; then :
68701 glibcxx_cv_func_isinfl_use=yes
68702 else
68703 glibcxx_cv_func_isinfl_use=no
68705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68706 ac_ext=c
68707 ac_cpp='$CPP $CPPFLAGS'
68708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68717 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68719 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68720 for ac_func in isinfl
68721 do :
68722 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68723 if test "x$ac_cv_func_isinfl" = x""yes; then :
68724 cat >>confdefs.h <<_ACEOF
68725 #define HAVE_ISINFL 1
68726 _ACEOF
68729 done
68731 else
68733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68734 $as_echo_n "checking for _isinfl declaration... " >&6; }
68735 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68736 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68737 $as_echo_n "(cached) " >&6
68738 else
68741 ac_ext=cpp
68742 ac_cpp='$CXXCPP $CPPFLAGS'
68743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68748 /* end confdefs.h. */
68749 #include <math.h>
68750 #ifdef HAVE_IEEEFP_H
68751 #include <ieeefp.h>
68752 #endif
68755 main ()
68757 _isinfl(0);
68759 return 0;
68761 _ACEOF
68762 if ac_fn_cxx_try_compile "$LINENO"; then :
68763 glibcxx_cv_func__isinfl_use=yes
68764 else
68765 glibcxx_cv_func__isinfl_use=no
68767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68768 ac_ext=c
68769 ac_cpp='$CPP $CPPFLAGS'
68770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68779 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68781 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68782 for ac_func in _isinfl
68783 do :
68784 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68785 if test "x$ac_cv_func__isinfl" = x""yes; then :
68786 cat >>confdefs.h <<_ACEOF
68787 #define HAVE__ISINFL 1
68788 _ACEOF
68791 done
68800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68801 $as_echo_n "checking for atan2l declaration... " >&6; }
68802 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68803 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68804 $as_echo_n "(cached) " >&6
68805 else
68808 ac_ext=cpp
68809 ac_cpp='$CXXCPP $CPPFLAGS'
68810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68815 /* end confdefs.h. */
68816 #include <math.h>
68818 main ()
68820 atan2l(0, 0);
68822 return 0;
68824 _ACEOF
68825 if ac_fn_cxx_try_compile "$LINENO"; then :
68826 glibcxx_cv_func_atan2l_use=yes
68827 else
68828 glibcxx_cv_func_atan2l_use=no
68830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68831 ac_ext=c
68832 ac_cpp='$CPP $CPPFLAGS'
68833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68842 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68844 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68845 for ac_func in atan2l
68846 do :
68847 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68848 if test "x$ac_cv_func_atan2l" = x""yes; then :
68849 cat >>confdefs.h <<_ACEOF
68850 #define HAVE_ATAN2L 1
68851 _ACEOF
68854 done
68856 else
68858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68859 $as_echo_n "checking for _atan2l declaration... " >&6; }
68860 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68861 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68862 $as_echo_n "(cached) " >&6
68863 else
68866 ac_ext=cpp
68867 ac_cpp='$CXXCPP $CPPFLAGS'
68868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68873 /* end confdefs.h. */
68874 #include <math.h>
68876 main ()
68878 _atan2l(0, 0);
68880 return 0;
68882 _ACEOF
68883 if ac_fn_cxx_try_compile "$LINENO"; then :
68884 glibcxx_cv_func__atan2l_use=yes
68885 else
68886 glibcxx_cv_func__atan2l_use=no
68888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68889 ac_ext=c
68890 ac_cpp='$CPP $CPPFLAGS'
68891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68900 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68902 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68903 for ac_func in _atan2l
68904 do :
68905 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68906 if test "x$ac_cv_func__atan2l" = x""yes; then :
68907 cat >>confdefs.h <<_ACEOF
68908 #define HAVE__ATAN2L 1
68909 _ACEOF
68912 done
68921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68922 $as_echo_n "checking for expl declaration... " >&6; }
68923 if test x${glibcxx_cv_func_expl_use+set} != xset; then
68924 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68925 $as_echo_n "(cached) " >&6
68926 else
68929 ac_ext=cpp
68930 ac_cpp='$CXXCPP $CPPFLAGS'
68931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68936 /* end confdefs.h. */
68937 #include <math.h>
68938 #ifdef HAVE_IEEEFP_H
68939 #include <ieeefp.h>
68940 #endif
68943 main ()
68945 expl(0);
68947 return 0;
68949 _ACEOF
68950 if ac_fn_cxx_try_compile "$LINENO"; then :
68951 glibcxx_cv_func_expl_use=yes
68952 else
68953 glibcxx_cv_func_expl_use=no
68955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68956 ac_ext=c
68957 ac_cpp='$CPP $CPPFLAGS'
68958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68967 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68969 if test x$glibcxx_cv_func_expl_use = x"yes"; then
68970 for ac_func in expl
68971 do :
68972 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68973 if test "x$ac_cv_func_expl" = x""yes; then :
68974 cat >>confdefs.h <<_ACEOF
68975 #define HAVE_EXPL 1
68976 _ACEOF
68979 done
68981 else
68983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68984 $as_echo_n "checking for _expl declaration... " >&6; }
68985 if test x${glibcxx_cv_func__expl_use+set} != xset; then
68986 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68987 $as_echo_n "(cached) " >&6
68988 else
68991 ac_ext=cpp
68992 ac_cpp='$CXXCPP $CPPFLAGS'
68993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68998 /* end confdefs.h. */
68999 #include <math.h>
69000 #ifdef HAVE_IEEEFP_H
69001 #include <ieeefp.h>
69002 #endif
69005 main ()
69007 _expl(0);
69009 return 0;
69011 _ACEOF
69012 if ac_fn_cxx_try_compile "$LINENO"; then :
69013 glibcxx_cv_func__expl_use=yes
69014 else
69015 glibcxx_cv_func__expl_use=no
69017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69018 ac_ext=c
69019 ac_cpp='$CPP $CPPFLAGS'
69020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69029 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69031 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69032 for ac_func in _expl
69033 do :
69034 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69035 if test "x$ac_cv_func__expl" = x""yes; then :
69036 cat >>confdefs.h <<_ACEOF
69037 #define HAVE__EXPL 1
69038 _ACEOF
69041 done
69050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69051 $as_echo_n "checking for fabsl declaration... " >&6; }
69052 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69053 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69054 $as_echo_n "(cached) " >&6
69055 else
69058 ac_ext=cpp
69059 ac_cpp='$CXXCPP $CPPFLAGS'
69060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69065 /* end confdefs.h. */
69066 #include <math.h>
69067 #ifdef HAVE_IEEEFP_H
69068 #include <ieeefp.h>
69069 #endif
69072 main ()
69074 fabsl(0);
69076 return 0;
69078 _ACEOF
69079 if ac_fn_cxx_try_compile "$LINENO"; then :
69080 glibcxx_cv_func_fabsl_use=yes
69081 else
69082 glibcxx_cv_func_fabsl_use=no
69084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69085 ac_ext=c
69086 ac_cpp='$CPP $CPPFLAGS'
69087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69096 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69098 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69099 for ac_func in fabsl
69100 do :
69101 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69102 if test "x$ac_cv_func_fabsl" = x""yes; then :
69103 cat >>confdefs.h <<_ACEOF
69104 #define HAVE_FABSL 1
69105 _ACEOF
69108 done
69110 else
69112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69113 $as_echo_n "checking for _fabsl declaration... " >&6; }
69114 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69115 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69116 $as_echo_n "(cached) " >&6
69117 else
69120 ac_ext=cpp
69121 ac_cpp='$CXXCPP $CPPFLAGS'
69122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69127 /* end confdefs.h. */
69128 #include <math.h>
69129 #ifdef HAVE_IEEEFP_H
69130 #include <ieeefp.h>
69131 #endif
69134 main ()
69136 _fabsl(0);
69138 return 0;
69140 _ACEOF
69141 if ac_fn_cxx_try_compile "$LINENO"; then :
69142 glibcxx_cv_func__fabsl_use=yes
69143 else
69144 glibcxx_cv_func__fabsl_use=no
69146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69147 ac_ext=c
69148 ac_cpp='$CPP $CPPFLAGS'
69149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69158 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69160 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69161 for ac_func in _fabsl
69162 do :
69163 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69164 if test "x$ac_cv_func__fabsl" = x""yes; then :
69165 cat >>confdefs.h <<_ACEOF
69166 #define HAVE__FABSL 1
69167 _ACEOF
69170 done
69179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69180 $as_echo_n "checking for fmodl declaration... " >&6; }
69181 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69182 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69183 $as_echo_n "(cached) " >&6
69184 else
69187 ac_ext=cpp
69188 ac_cpp='$CXXCPP $CPPFLAGS'
69189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69194 /* end confdefs.h. */
69195 #include <math.h>
69197 main ()
69199 fmodl(0, 0);
69201 return 0;
69203 _ACEOF
69204 if ac_fn_cxx_try_compile "$LINENO"; then :
69205 glibcxx_cv_func_fmodl_use=yes
69206 else
69207 glibcxx_cv_func_fmodl_use=no
69209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69210 ac_ext=c
69211 ac_cpp='$CPP $CPPFLAGS'
69212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69221 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69223 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69224 for ac_func in fmodl
69225 do :
69226 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69227 if test "x$ac_cv_func_fmodl" = x""yes; then :
69228 cat >>confdefs.h <<_ACEOF
69229 #define HAVE_FMODL 1
69230 _ACEOF
69233 done
69235 else
69237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69238 $as_echo_n "checking for _fmodl declaration... " >&6; }
69239 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69240 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69241 $as_echo_n "(cached) " >&6
69242 else
69245 ac_ext=cpp
69246 ac_cpp='$CXXCPP $CPPFLAGS'
69247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69252 /* end confdefs.h. */
69253 #include <math.h>
69255 main ()
69257 _fmodl(0, 0);
69259 return 0;
69261 _ACEOF
69262 if ac_fn_cxx_try_compile "$LINENO"; then :
69263 glibcxx_cv_func__fmodl_use=yes
69264 else
69265 glibcxx_cv_func__fmodl_use=no
69267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69268 ac_ext=c
69269 ac_cpp='$CPP $CPPFLAGS'
69270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69279 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69281 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69282 for ac_func in _fmodl
69283 do :
69284 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69285 if test "x$ac_cv_func__fmodl" = x""yes; then :
69286 cat >>confdefs.h <<_ACEOF
69287 #define HAVE__FMODL 1
69288 _ACEOF
69291 done
69300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69301 $as_echo_n "checking for frexpl declaration... " >&6; }
69302 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69303 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69304 $as_echo_n "(cached) " >&6
69305 else
69308 ac_ext=cpp
69309 ac_cpp='$CXXCPP $CPPFLAGS'
69310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69315 /* end confdefs.h. */
69316 #include <math.h>
69318 main ()
69320 frexpl(0, 0);
69322 return 0;
69324 _ACEOF
69325 if ac_fn_cxx_try_compile "$LINENO"; then :
69326 glibcxx_cv_func_frexpl_use=yes
69327 else
69328 glibcxx_cv_func_frexpl_use=no
69330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69331 ac_ext=c
69332 ac_cpp='$CPP $CPPFLAGS'
69333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69342 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69344 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69345 for ac_func in frexpl
69346 do :
69347 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69348 if test "x$ac_cv_func_frexpl" = x""yes; then :
69349 cat >>confdefs.h <<_ACEOF
69350 #define HAVE_FREXPL 1
69351 _ACEOF
69354 done
69356 else
69358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69359 $as_echo_n "checking for _frexpl declaration... " >&6; }
69360 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69361 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69362 $as_echo_n "(cached) " >&6
69363 else
69366 ac_ext=cpp
69367 ac_cpp='$CXXCPP $CPPFLAGS'
69368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69373 /* end confdefs.h. */
69374 #include <math.h>
69376 main ()
69378 _frexpl(0, 0);
69380 return 0;
69382 _ACEOF
69383 if ac_fn_cxx_try_compile "$LINENO"; then :
69384 glibcxx_cv_func__frexpl_use=yes
69385 else
69386 glibcxx_cv_func__frexpl_use=no
69388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69389 ac_ext=c
69390 ac_cpp='$CPP $CPPFLAGS'
69391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69400 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69402 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69403 for ac_func in _frexpl
69404 do :
69405 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69406 if test "x$ac_cv_func__frexpl" = x""yes; then :
69407 cat >>confdefs.h <<_ACEOF
69408 #define HAVE__FREXPL 1
69409 _ACEOF
69412 done
69421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69422 $as_echo_n "checking for hypotl declaration... " >&6; }
69423 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69424 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69425 $as_echo_n "(cached) " >&6
69426 else
69429 ac_ext=cpp
69430 ac_cpp='$CXXCPP $CPPFLAGS'
69431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69436 /* end confdefs.h. */
69437 #include <math.h>
69439 main ()
69441 hypotl(0, 0);
69443 return 0;
69445 _ACEOF
69446 if ac_fn_cxx_try_compile "$LINENO"; then :
69447 glibcxx_cv_func_hypotl_use=yes
69448 else
69449 glibcxx_cv_func_hypotl_use=no
69451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69452 ac_ext=c
69453 ac_cpp='$CPP $CPPFLAGS'
69454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69463 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69465 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69466 for ac_func in hypotl
69467 do :
69468 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69469 if test "x$ac_cv_func_hypotl" = x""yes; then :
69470 cat >>confdefs.h <<_ACEOF
69471 #define HAVE_HYPOTL 1
69472 _ACEOF
69475 done
69477 else
69479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69480 $as_echo_n "checking for _hypotl declaration... " >&6; }
69481 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69482 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69483 $as_echo_n "(cached) " >&6
69484 else
69487 ac_ext=cpp
69488 ac_cpp='$CXXCPP $CPPFLAGS'
69489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69494 /* end confdefs.h. */
69495 #include <math.h>
69497 main ()
69499 _hypotl(0, 0);
69501 return 0;
69503 _ACEOF
69504 if ac_fn_cxx_try_compile "$LINENO"; then :
69505 glibcxx_cv_func__hypotl_use=yes
69506 else
69507 glibcxx_cv_func__hypotl_use=no
69509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69510 ac_ext=c
69511 ac_cpp='$CPP $CPPFLAGS'
69512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69521 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69523 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69524 for ac_func in _hypotl
69525 do :
69526 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69527 if test "x$ac_cv_func__hypotl" = x""yes; then :
69528 cat >>confdefs.h <<_ACEOF
69529 #define HAVE__HYPOTL 1
69530 _ACEOF
69533 done
69542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69543 $as_echo_n "checking for ldexpl declaration... " >&6; }
69544 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69545 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69546 $as_echo_n "(cached) " >&6
69547 else
69550 ac_ext=cpp
69551 ac_cpp='$CXXCPP $CPPFLAGS'
69552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69557 /* end confdefs.h. */
69558 #include <math.h>
69560 main ()
69562 ldexpl(0, 0);
69564 return 0;
69566 _ACEOF
69567 if ac_fn_cxx_try_compile "$LINENO"; then :
69568 glibcxx_cv_func_ldexpl_use=yes
69569 else
69570 glibcxx_cv_func_ldexpl_use=no
69572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69573 ac_ext=c
69574 ac_cpp='$CPP $CPPFLAGS'
69575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69584 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69586 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69587 for ac_func in ldexpl
69588 do :
69589 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69590 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69591 cat >>confdefs.h <<_ACEOF
69592 #define HAVE_LDEXPL 1
69593 _ACEOF
69596 done
69598 else
69600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69601 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69602 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69603 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69604 $as_echo_n "(cached) " >&6
69605 else
69608 ac_ext=cpp
69609 ac_cpp='$CXXCPP $CPPFLAGS'
69610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69615 /* end confdefs.h. */
69616 #include <math.h>
69618 main ()
69620 _ldexpl(0, 0);
69622 return 0;
69624 _ACEOF
69625 if ac_fn_cxx_try_compile "$LINENO"; then :
69626 glibcxx_cv_func__ldexpl_use=yes
69627 else
69628 glibcxx_cv_func__ldexpl_use=no
69630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69631 ac_ext=c
69632 ac_cpp='$CPP $CPPFLAGS'
69633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69642 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69644 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69645 for ac_func in _ldexpl
69646 do :
69647 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69648 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69649 cat >>confdefs.h <<_ACEOF
69650 #define HAVE__LDEXPL 1
69651 _ACEOF
69654 done
69663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69664 $as_echo_n "checking for logl declaration... " >&6; }
69665 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69666 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69667 $as_echo_n "(cached) " >&6
69668 else
69671 ac_ext=cpp
69672 ac_cpp='$CXXCPP $CPPFLAGS'
69673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69678 /* end confdefs.h. */
69679 #include <math.h>
69680 #ifdef HAVE_IEEEFP_H
69681 #include <ieeefp.h>
69682 #endif
69685 main ()
69687 logl(0);
69689 return 0;
69691 _ACEOF
69692 if ac_fn_cxx_try_compile "$LINENO"; then :
69693 glibcxx_cv_func_logl_use=yes
69694 else
69695 glibcxx_cv_func_logl_use=no
69697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69698 ac_ext=c
69699 ac_cpp='$CPP $CPPFLAGS'
69700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69709 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69711 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69712 for ac_func in logl
69713 do :
69714 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69715 if test "x$ac_cv_func_logl" = x""yes; then :
69716 cat >>confdefs.h <<_ACEOF
69717 #define HAVE_LOGL 1
69718 _ACEOF
69721 done
69723 else
69725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69726 $as_echo_n "checking for _logl declaration... " >&6; }
69727 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69728 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69729 $as_echo_n "(cached) " >&6
69730 else
69733 ac_ext=cpp
69734 ac_cpp='$CXXCPP $CPPFLAGS'
69735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69740 /* end confdefs.h. */
69741 #include <math.h>
69742 #ifdef HAVE_IEEEFP_H
69743 #include <ieeefp.h>
69744 #endif
69747 main ()
69749 _logl(0);
69751 return 0;
69753 _ACEOF
69754 if ac_fn_cxx_try_compile "$LINENO"; then :
69755 glibcxx_cv_func__logl_use=yes
69756 else
69757 glibcxx_cv_func__logl_use=no
69759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69760 ac_ext=c
69761 ac_cpp='$CPP $CPPFLAGS'
69762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69771 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69773 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69774 for ac_func in _logl
69775 do :
69776 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69777 if test "x$ac_cv_func__logl" = x""yes; then :
69778 cat >>confdefs.h <<_ACEOF
69779 #define HAVE__LOGL 1
69780 _ACEOF
69783 done
69792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69793 $as_echo_n "checking for log10l declaration... " >&6; }
69794 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69795 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69796 $as_echo_n "(cached) " >&6
69797 else
69800 ac_ext=cpp
69801 ac_cpp='$CXXCPP $CPPFLAGS'
69802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69807 /* end confdefs.h. */
69808 #include <math.h>
69809 #ifdef HAVE_IEEEFP_H
69810 #include <ieeefp.h>
69811 #endif
69814 main ()
69816 log10l(0);
69818 return 0;
69820 _ACEOF
69821 if ac_fn_cxx_try_compile "$LINENO"; then :
69822 glibcxx_cv_func_log10l_use=yes
69823 else
69824 glibcxx_cv_func_log10l_use=no
69826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69827 ac_ext=c
69828 ac_cpp='$CPP $CPPFLAGS'
69829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69838 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69840 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69841 for ac_func in log10l
69842 do :
69843 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69844 if test "x$ac_cv_func_log10l" = x""yes; then :
69845 cat >>confdefs.h <<_ACEOF
69846 #define HAVE_LOG10L 1
69847 _ACEOF
69850 done
69852 else
69854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69855 $as_echo_n "checking for _log10l declaration... " >&6; }
69856 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69857 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69858 $as_echo_n "(cached) " >&6
69859 else
69862 ac_ext=cpp
69863 ac_cpp='$CXXCPP $CPPFLAGS'
69864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69869 /* end confdefs.h. */
69870 #include <math.h>
69871 #ifdef HAVE_IEEEFP_H
69872 #include <ieeefp.h>
69873 #endif
69876 main ()
69878 _log10l(0);
69880 return 0;
69882 _ACEOF
69883 if ac_fn_cxx_try_compile "$LINENO"; then :
69884 glibcxx_cv_func__log10l_use=yes
69885 else
69886 glibcxx_cv_func__log10l_use=no
69888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69889 ac_ext=c
69890 ac_cpp='$CPP $CPPFLAGS'
69891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69900 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69902 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69903 for ac_func in _log10l
69904 do :
69905 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69906 if test "x$ac_cv_func__log10l" = x""yes; then :
69907 cat >>confdefs.h <<_ACEOF
69908 #define HAVE__LOG10L 1
69909 _ACEOF
69912 done
69921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69922 $as_echo_n "checking for modfl declaration... " >&6; }
69923 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69924 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69925 $as_echo_n "(cached) " >&6
69926 else
69929 ac_ext=cpp
69930 ac_cpp='$CXXCPP $CPPFLAGS'
69931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69936 /* end confdefs.h. */
69937 #include <math.h>
69939 main ()
69941 modfl(0, 0);
69943 return 0;
69945 _ACEOF
69946 if ac_fn_cxx_try_compile "$LINENO"; then :
69947 glibcxx_cv_func_modfl_use=yes
69948 else
69949 glibcxx_cv_func_modfl_use=no
69951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69952 ac_ext=c
69953 ac_cpp='$CPP $CPPFLAGS'
69954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69963 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69965 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69966 for ac_func in modfl
69967 do :
69968 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69969 if test "x$ac_cv_func_modfl" = x""yes; then :
69970 cat >>confdefs.h <<_ACEOF
69971 #define HAVE_MODFL 1
69972 _ACEOF
69975 done
69977 else
69979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69980 $as_echo_n "checking for _modfl declaration... " >&6; }
69981 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69982 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
69983 $as_echo_n "(cached) " >&6
69984 else
69987 ac_ext=cpp
69988 ac_cpp='$CXXCPP $CPPFLAGS'
69989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69994 /* end confdefs.h. */
69995 #include <math.h>
69997 main ()
69999 _modfl(0, 0);
70001 return 0;
70003 _ACEOF
70004 if ac_fn_cxx_try_compile "$LINENO"; then :
70005 glibcxx_cv_func__modfl_use=yes
70006 else
70007 glibcxx_cv_func__modfl_use=no
70009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70010 ac_ext=c
70011 ac_cpp='$CPP $CPPFLAGS'
70012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70021 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70023 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70024 for ac_func in _modfl
70025 do :
70026 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70027 if test "x$ac_cv_func__modfl" = x""yes; then :
70028 cat >>confdefs.h <<_ACEOF
70029 #define HAVE__MODFL 1
70030 _ACEOF
70033 done
70042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70043 $as_echo_n "checking for powl declaration... " >&6; }
70044 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70045 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70046 $as_echo_n "(cached) " >&6
70047 else
70050 ac_ext=cpp
70051 ac_cpp='$CXXCPP $CPPFLAGS'
70052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70057 /* end confdefs.h. */
70058 #include <math.h>
70060 main ()
70062 powl(0, 0);
70064 return 0;
70066 _ACEOF
70067 if ac_fn_cxx_try_compile "$LINENO"; then :
70068 glibcxx_cv_func_powl_use=yes
70069 else
70070 glibcxx_cv_func_powl_use=no
70072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70073 ac_ext=c
70074 ac_cpp='$CPP $CPPFLAGS'
70075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70084 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70086 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70087 for ac_func in powl
70088 do :
70089 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70090 if test "x$ac_cv_func_powl" = x""yes; then :
70091 cat >>confdefs.h <<_ACEOF
70092 #define HAVE_POWL 1
70093 _ACEOF
70096 done
70098 else
70100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70101 $as_echo_n "checking for _powl declaration... " >&6; }
70102 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70103 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70104 $as_echo_n "(cached) " >&6
70105 else
70108 ac_ext=cpp
70109 ac_cpp='$CXXCPP $CPPFLAGS'
70110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70115 /* end confdefs.h. */
70116 #include <math.h>
70118 main ()
70120 _powl(0, 0);
70122 return 0;
70124 _ACEOF
70125 if ac_fn_cxx_try_compile "$LINENO"; then :
70126 glibcxx_cv_func__powl_use=yes
70127 else
70128 glibcxx_cv_func__powl_use=no
70130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70131 ac_ext=c
70132 ac_cpp='$CPP $CPPFLAGS'
70133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70142 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70144 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70145 for ac_func in _powl
70146 do :
70147 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70148 if test "x$ac_cv_func__powl" = x""yes; then :
70149 cat >>confdefs.h <<_ACEOF
70150 #define HAVE__POWL 1
70151 _ACEOF
70154 done
70163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70164 $as_echo_n "checking for sqrtl declaration... " >&6; }
70165 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70166 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70167 $as_echo_n "(cached) " >&6
70168 else
70171 ac_ext=cpp
70172 ac_cpp='$CXXCPP $CPPFLAGS'
70173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70178 /* end confdefs.h. */
70179 #include <math.h>
70180 #ifdef HAVE_IEEEFP_H
70181 #include <ieeefp.h>
70182 #endif
70185 main ()
70187 sqrtl(0);
70189 return 0;
70191 _ACEOF
70192 if ac_fn_cxx_try_compile "$LINENO"; then :
70193 glibcxx_cv_func_sqrtl_use=yes
70194 else
70195 glibcxx_cv_func_sqrtl_use=no
70197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70198 ac_ext=c
70199 ac_cpp='$CPP $CPPFLAGS'
70200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70209 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70211 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70212 for ac_func in sqrtl
70213 do :
70214 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70215 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70216 cat >>confdefs.h <<_ACEOF
70217 #define HAVE_SQRTL 1
70218 _ACEOF
70221 done
70223 else
70225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70226 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70227 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70228 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70229 $as_echo_n "(cached) " >&6
70230 else
70233 ac_ext=cpp
70234 ac_cpp='$CXXCPP $CPPFLAGS'
70235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70240 /* end confdefs.h. */
70241 #include <math.h>
70242 #ifdef HAVE_IEEEFP_H
70243 #include <ieeefp.h>
70244 #endif
70247 main ()
70249 _sqrtl(0);
70251 return 0;
70253 _ACEOF
70254 if ac_fn_cxx_try_compile "$LINENO"; then :
70255 glibcxx_cv_func__sqrtl_use=yes
70256 else
70257 glibcxx_cv_func__sqrtl_use=no
70259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70260 ac_ext=c
70261 ac_cpp='$CPP $CPPFLAGS'
70262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70271 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70273 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70274 for ac_func in _sqrtl
70275 do :
70276 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70277 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70278 cat >>confdefs.h <<_ACEOF
70279 #define HAVE__SQRTL 1
70280 _ACEOF
70283 done
70292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70293 $as_echo_n "checking for sincosl declaration... " >&6; }
70294 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70295 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70296 $as_echo_n "(cached) " >&6
70297 else
70300 ac_ext=cpp
70301 ac_cpp='$CXXCPP $CPPFLAGS'
70302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70307 /* end confdefs.h. */
70308 #include <math.h>
70310 main ()
70312 sincosl(0, 0, 0);
70314 return 0;
70316 _ACEOF
70317 if ac_fn_cxx_try_compile "$LINENO"; then :
70318 glibcxx_cv_func_sincosl_use=yes
70319 else
70320 glibcxx_cv_func_sincosl_use=no
70322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70323 ac_ext=c
70324 ac_cpp='$CPP $CPPFLAGS'
70325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70334 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70336 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70337 for ac_func in sincosl
70338 do :
70339 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70340 if test "x$ac_cv_func_sincosl" = x""yes; then :
70341 cat >>confdefs.h <<_ACEOF
70342 #define HAVE_SINCOSL 1
70343 _ACEOF
70346 done
70348 else
70350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70351 $as_echo_n "checking for _sincosl declaration... " >&6; }
70352 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70353 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70354 $as_echo_n "(cached) " >&6
70355 else
70358 ac_ext=cpp
70359 ac_cpp='$CXXCPP $CPPFLAGS'
70360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70365 /* end confdefs.h. */
70366 #include <math.h>
70368 main ()
70370 _sincosl(0, 0, 0);
70372 return 0;
70374 _ACEOF
70375 if ac_fn_cxx_try_compile "$LINENO"; then :
70376 glibcxx_cv_func__sincosl_use=yes
70377 else
70378 glibcxx_cv_func__sincosl_use=no
70380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70381 ac_ext=c
70382 ac_cpp='$CPP $CPPFLAGS'
70383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70392 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70394 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70395 for ac_func in _sincosl
70396 do :
70397 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70398 if test "x$ac_cv_func__sincosl" = x""yes; then :
70399 cat >>confdefs.h <<_ACEOF
70400 #define HAVE__SINCOSL 1
70401 _ACEOF
70404 done
70413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70414 $as_echo_n "checking for finitel declaration... " >&6; }
70415 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70416 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70417 $as_echo_n "(cached) " >&6
70418 else
70421 ac_ext=cpp
70422 ac_cpp='$CXXCPP $CPPFLAGS'
70423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70428 /* end confdefs.h. */
70429 #include <math.h>
70430 #ifdef HAVE_IEEEFP_H
70431 #include <ieeefp.h>
70432 #endif
70435 main ()
70437 finitel(0);
70439 return 0;
70441 _ACEOF
70442 if ac_fn_cxx_try_compile "$LINENO"; then :
70443 glibcxx_cv_func_finitel_use=yes
70444 else
70445 glibcxx_cv_func_finitel_use=no
70447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70448 ac_ext=c
70449 ac_cpp='$CPP $CPPFLAGS'
70450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70459 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70461 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70462 for ac_func in finitel
70463 do :
70464 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70465 if test "x$ac_cv_func_finitel" = x""yes; then :
70466 cat >>confdefs.h <<_ACEOF
70467 #define HAVE_FINITEL 1
70468 _ACEOF
70471 done
70473 else
70475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70476 $as_echo_n "checking for _finitel declaration... " >&6; }
70477 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70478 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70479 $as_echo_n "(cached) " >&6
70480 else
70483 ac_ext=cpp
70484 ac_cpp='$CXXCPP $CPPFLAGS'
70485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70490 /* end confdefs.h. */
70491 #include <math.h>
70492 #ifdef HAVE_IEEEFP_H
70493 #include <ieeefp.h>
70494 #endif
70497 main ()
70499 _finitel(0);
70501 return 0;
70503 _ACEOF
70504 if ac_fn_cxx_try_compile "$LINENO"; then :
70505 glibcxx_cv_func__finitel_use=yes
70506 else
70507 glibcxx_cv_func__finitel_use=no
70509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70510 ac_ext=c
70511 ac_cpp='$CPP $CPPFLAGS'
70512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70521 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70523 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70524 for ac_func in _finitel
70525 do :
70526 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70527 if test "x$ac_cv_func__finitel" = x""yes; then :
70528 cat >>confdefs.h <<_ACEOF
70529 #define HAVE__FINITEL 1
70530 _ACEOF
70533 done
70541 LIBS="$ac_save_LIBS"
70542 CXXFLAGS="$ac_save_CXXFLAGS"
70545 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70546 ac_save_CXXFLAGS="$CXXFLAGS"
70547 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70551 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70552 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70553 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70554 $as_echo_n "(cached) " >&6
70555 else
70558 ac_ext=cpp
70559 ac_cpp='$CXXCPP $CPPFLAGS'
70560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70565 /* end confdefs.h. */
70566 #include <stdlib.h>
70568 main ()
70570 at_quick_exit(0);
70572 return 0;
70574 _ACEOF
70575 if ac_fn_cxx_try_compile "$LINENO"; then :
70576 glibcxx_cv_func_at_quick_exit_use=yes
70577 else
70578 glibcxx_cv_func_at_quick_exit_use=no
70580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70581 ac_ext=c
70582 ac_cpp='$CPP $CPPFLAGS'
70583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70592 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70593 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70594 for ac_func in at_quick_exit
70595 do :
70596 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70597 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70598 cat >>confdefs.h <<_ACEOF
70599 #define HAVE_AT_QUICK_EXIT 1
70600 _ACEOF
70603 done
70608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70609 $as_echo_n "checking for quick_exit declaration... " >&6; }
70610 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70611 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70612 $as_echo_n "(cached) " >&6
70613 else
70616 ac_ext=cpp
70617 ac_cpp='$CXXCPP $CPPFLAGS'
70618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70623 /* end confdefs.h. */
70624 #include <stdlib.h>
70626 main ()
70628 quick_exit(0);
70630 return 0;
70632 _ACEOF
70633 if ac_fn_cxx_try_compile "$LINENO"; then :
70634 glibcxx_cv_func_quick_exit_use=yes
70635 else
70636 glibcxx_cv_func_quick_exit_use=no
70638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70639 ac_ext=c
70640 ac_cpp='$CPP $CPPFLAGS'
70641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70650 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70651 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70652 for ac_func in quick_exit
70653 do :
70654 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70655 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70656 cat >>confdefs.h <<_ACEOF
70657 #define HAVE_QUICK_EXIT 1
70658 _ACEOF
70661 done
70666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70667 $as_echo_n "checking for strtold declaration... " >&6; }
70668 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70669 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70670 $as_echo_n "(cached) " >&6
70671 else
70674 ac_ext=cpp
70675 ac_cpp='$CXXCPP $CPPFLAGS'
70676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70681 /* end confdefs.h. */
70682 #include <stdlib.h>
70684 main ()
70686 strtold(0, 0);
70688 return 0;
70690 _ACEOF
70691 if ac_fn_cxx_try_compile "$LINENO"; then :
70692 glibcxx_cv_func_strtold_use=yes
70693 else
70694 glibcxx_cv_func_strtold_use=no
70696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70697 ac_ext=c
70698 ac_cpp='$CPP $CPPFLAGS'
70699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70708 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70709 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70710 for ac_func in strtold
70711 do :
70712 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70713 if test "x$ac_cv_func_strtold" = x""yes; then :
70714 cat >>confdefs.h <<_ACEOF
70715 #define HAVE_STRTOLD 1
70716 _ACEOF
70719 done
70726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70727 $as_echo_n "checking for strtof declaration... " >&6; }
70728 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70729 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70730 $as_echo_n "(cached) " >&6
70731 else
70734 ac_ext=cpp
70735 ac_cpp='$CXXCPP $CPPFLAGS'
70736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70741 /* end confdefs.h. */
70742 #include <stdlib.h>
70744 main ()
70746 strtof(0, 0);
70748 return 0;
70750 _ACEOF
70751 if ac_fn_cxx_try_compile "$LINENO"; then :
70752 glibcxx_cv_func_strtof_use=yes
70753 else
70754 glibcxx_cv_func_strtof_use=no
70756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70757 ac_ext=c
70758 ac_cpp='$CPP $CPPFLAGS'
70759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70768 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70769 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70770 for ac_func in strtof
70771 do :
70772 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70773 if test "x$ac_cv_func_strtof" = x""yes; then :
70774 cat >>confdefs.h <<_ACEOF
70775 #define HAVE_STRTOF 1
70776 _ACEOF
70779 done
70786 CXXFLAGS="$ac_save_CXXFLAGS"
70789 *-vxworks)
70790 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70792 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70794 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70796 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70798 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70800 $as_echo "#define HAVE_COSF 1" >>confdefs.h
70802 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70804 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70806 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70808 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70810 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70812 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70814 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70816 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70818 $as_echo "#define HAVE_POWF 1" >>confdefs.h
70820 $as_echo "#define HAVE_SINF 1" >>confdefs.h
70822 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70824 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70826 $as_echo "#define HAVE_TANF 1" >>confdefs.h
70828 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70832 as_fn_error "No support for this host/target combination." "$LINENO" 5
70834 esac
70838 # At some point, we should differentiate between architectures
70839 # like x86, which have long double versions, and alpha/powerpc/etc.,
70840 # which don't. For the time being, punt.
70841 if test x"long_double_math_on_this_cpu" = x"yes"; then
70842 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70844 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70846 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70848 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70850 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70852 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70854 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70856 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70858 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70860 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70862 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70864 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70866 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70868 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70870 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70872 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70874 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70876 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70878 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70880 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70882 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70884 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70886 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70891 # Check for _Unwind_GetIPInfo.
70894 # Check whether --with-system-libunwind was given.
70895 if test "${with_system_libunwind+set}" = set; then :
70896 withval=$with_system_libunwind;
70899 # If system-libunwind was not specifically set, pick a default setting.
70900 if test x$with_system_libunwind = x; then
70901 case ${target} in
70902 ia64-*-hpux*) with_system_libunwind=yes ;;
70903 *) with_system_libunwind=no ;;
70904 esac
70906 # Based on system-libunwind and target, do we have ipinfo?
70907 if test x$with_system_libunwind = xyes; then
70908 case ${target} in
70909 ia64-*-*) have_unwind_getipinfo=no ;;
70910 *) have_unwind_getipinfo=yes ;;
70911 esac
70912 else
70913 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70915 case ${target} in
70916 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70917 *) have_unwind_getipinfo=yes ;;
70918 esac
70922 if test x$have_unwind_getipinfo = xyes; then
70924 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70929 # Check whether --enable-linux-futex was given.
70930 if test "${enable_linux_futex+set}" = set; then :
70931 enableval=$enable_linux_futex;
70932 case "$enableval" in
70933 yes|no|default) ;;
70934 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70935 esac
70937 else
70938 enable_linux_futex=default
70942 case "$target" in
70943 *-linux*)
70944 case "$enable_linux_futex" in
70945 default)
70946 # If headers don't have gettid/futex syscalls definition, then
70947 # default to no, otherwise there will be compile time failures.
70948 # Otherwise, default to yes. If we don't detect we are
70949 # compiled/linked against NPTL and not cross-compiling, check
70950 # if programs are run by default against NPTL and if not, issue
70951 # a warning.
70952 enable_linux_futex=no
70953 if test x$gcc_no_link = xyes; then
70954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70957 /* end confdefs.h. */
70958 #include <sys/syscall.h>
70959 int lk;
70961 main ()
70963 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70965 return 0;
70967 _ACEOF
70968 if ac_fn_c_try_link "$LINENO"; then :
70969 save_LIBS="$LIBS"
70970 LIBS="-lpthread $LIBS"
70971 if test x$gcc_no_link = xyes; then
70972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70975 /* end confdefs.h. */
70976 #ifndef _GNU_SOURCE
70977 #define _GNU_SOURCE 1
70978 #endif
70979 #include <pthread.h>
70980 pthread_t th; void *status;
70982 main ()
70984 pthread_tryjoin_np (th, &status);
70986 return 0;
70988 _ACEOF
70989 if ac_fn_c_try_link "$LINENO"; then :
70990 enable_linux_futex=yes
70991 else
70992 if test x$cross_compiling = xno; then
70993 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70994 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70996 If so, please configure with --disable-linux-futex" >&5
70997 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70998 If so, please configure with --disable-linux-futex" >&2;}
71001 enable_linux_futex=yes
71003 rm -f core conftest.err conftest.$ac_objext \
71004 conftest$ac_exeext conftest.$ac_ext
71005 LIBS="$save_LIBS"
71007 rm -f core conftest.err conftest.$ac_objext \
71008 conftest$ac_exeext conftest.$ac_ext
71010 yes)
71011 if test x$gcc_no_link = xyes; then
71012 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71015 /* end confdefs.h. */
71016 #include <sys/syscall.h>
71017 int lk;
71019 main ()
71021 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
71023 return 0;
71025 _ACEOF
71026 if ac_fn_c_try_link "$LINENO"; then :
71028 else
71029 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
71031 rm -f core conftest.err conftest.$ac_objext \
71032 conftest$ac_exeext conftest.$ac_ext
71034 esac
71037 enable_linux_futex=no
71039 esac
71040 if test x$enable_linux_futex = xyes; then
71042 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
71049 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
71051 acx_cv_header_stdint=stddef.h
71052 acx_cv_header_stdint_kind="(already complete)"
71053 for i in stdint.h $inttype_headers; do
71054 unset ac_cv_type_uintptr_t
71055 unset ac_cv_type_uintmax_t
71056 unset ac_cv_type_int_least32_t
71057 unset ac_cv_type_int_fast32_t
71058 unset ac_cv_type_uint64_t
71059 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
71060 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
71061 #include <$i>
71063 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
71064 acx_cv_header_stdint=$i
71065 else
71066 continue
71069 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71070 #include <$i>
71072 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71074 else
71075 acx_cv_header_stdint_kind="(mostly complete)"
71078 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
71079 #include <$i>
71081 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
71083 else
71084 acx_cv_header_stdint_kind="(mostly complete)"
71087 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
71088 #include <$i>
71090 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
71092 else
71093 acx_cv_header_stdint_kind="(mostly complete)"
71096 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71097 #include <$i>
71099 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71101 else
71102 acx_cv_header_stdint_kind="(lacks uint64_t)"
71105 break
71106 done
71107 if test "$acx_cv_header_stdint" = stddef.h; then
71108 acx_cv_header_stdint_kind="(lacks uintmax_t)"
71109 for i in stdint.h $inttype_headers; do
71110 unset ac_cv_type_uintptr_t
71111 unset ac_cv_type_uint32_t
71112 unset ac_cv_type_uint64_t
71113 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71114 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71115 #include <$i>
71117 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71118 acx_cv_header_stdint=$i
71119 else
71120 continue
71123 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71124 #include <$i>
71126 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71130 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71131 #include <$i>
71133 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71137 break
71138 done
71140 if test "$acx_cv_header_stdint" = stddef.h; then
71141 acx_cv_header_stdint_kind="(u_intXX_t style)"
71142 for i in sys/types.h $inttype_headers; do
71143 unset ac_cv_type_u_int32_t
71144 unset ac_cv_type_u_int64_t
71145 $as_echo_n "looking for u_intXX_t types in $i, " >&6
71146 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71147 #include <$i>
71149 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71150 acx_cv_header_stdint=$i
71151 else
71152 continue
71155 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71156 #include <$i>
71158 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71162 break
71163 done
71165 if test "$acx_cv_header_stdint" = stddef.h; then
71166 acx_cv_header_stdint_kind="(using manual detection)"
71169 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71170 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71171 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71172 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71173 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71175 # ----------------- Summarize what we found so far
71177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71178 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71180 case `$as_basename -- include/gstdint.h ||
71181 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71182 Xinclude/gstdint.h : 'X\(//\)$' \| \
71183 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71184 $as_echo X/include/gstdint.h |
71185 sed '/^.*\/\([^/][^/]*\)\/*$/{
71186 s//\1/
71189 /^X\/\(\/\/\)$/{
71190 s//\1/
71193 /^X\/\(\/\).*/{
71194 s//\1/
71197 s/.*/./; q'` in
71198 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71199 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71200 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71201 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71202 *) ;;
71203 esac
71205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71206 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71208 # ----------------- done included file, check C basic types --------
71210 # Lacking an uintptr_t? Test size of void *
71211 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71212 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71213 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71214 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71215 # This bug is HP SR number 8606223364.
71216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71217 $as_echo_n "checking size of void *... " >&6; }
71218 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71219 $as_echo_n "(cached) " >&6
71220 else
71221 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
71223 else
71224 if test "$ac_cv_type_void_p" = yes; then
71225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71227 { as_fn_set_status 77
71228 as_fn_error "cannot compute sizeof (void *)
71229 See \`config.log' for more details." "$LINENO" 5; }; }
71230 else
71231 ac_cv_sizeof_void_p=0
71236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71237 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71241 cat >>confdefs.h <<_ACEOF
71242 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71243 _ACEOF
71246 esac
71248 # Lacking an uint64_t? Test size of long
71249 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71250 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71251 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71252 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71253 # This bug is HP SR number 8606223364.
71254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71255 $as_echo_n "checking size of long... " >&6; }
71256 if test "${ac_cv_sizeof_long+set}" = set; then :
71257 $as_echo_n "(cached) " >&6
71258 else
71259 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
71261 else
71262 if test "$ac_cv_type_long" = yes; then
71263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71265 { as_fn_set_status 77
71266 as_fn_error "cannot compute sizeof (long)
71267 See \`config.log' for more details." "$LINENO" 5; }; }
71268 else
71269 ac_cv_sizeof_long=0
71274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71275 $as_echo "$ac_cv_sizeof_long" >&6; }
71279 cat >>confdefs.h <<_ACEOF
71280 #define SIZEOF_LONG $ac_cv_sizeof_long
71281 _ACEOF
71284 esac
71286 if test $acx_cv_header_stdint = stddef.h; then
71287 # Lacking a good header? Test size of everything and deduce all types.
71288 # The cast to long int works around a bug in the HP C Compiler
71289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71291 # This bug is HP SR number 8606223364.
71292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71293 $as_echo_n "checking size of int... " >&6; }
71294 if test "${ac_cv_sizeof_int+set}" = set; then :
71295 $as_echo_n "(cached) " >&6
71296 else
71297 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
71299 else
71300 if test "$ac_cv_type_int" = yes; then
71301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71303 { as_fn_set_status 77
71304 as_fn_error "cannot compute sizeof (int)
71305 See \`config.log' for more details." "$LINENO" 5; }; }
71306 else
71307 ac_cv_sizeof_int=0
71312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71313 $as_echo "$ac_cv_sizeof_int" >&6; }
71317 cat >>confdefs.h <<_ACEOF
71318 #define SIZEOF_INT $ac_cv_sizeof_int
71319 _ACEOF
71322 # The cast to long int works around a bug in the HP C Compiler
71323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71325 # This bug is HP SR number 8606223364.
71326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71327 $as_echo_n "checking size of short... " >&6; }
71328 if test "${ac_cv_sizeof_short+set}" = set; then :
71329 $as_echo_n "(cached) " >&6
71330 else
71331 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
71333 else
71334 if test "$ac_cv_type_short" = yes; then
71335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71337 { as_fn_set_status 77
71338 as_fn_error "cannot compute sizeof (short)
71339 See \`config.log' for more details." "$LINENO" 5; }; }
71340 else
71341 ac_cv_sizeof_short=0
71346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71347 $as_echo "$ac_cv_sizeof_short" >&6; }
71351 cat >>confdefs.h <<_ACEOF
71352 #define SIZEOF_SHORT $ac_cv_sizeof_short
71353 _ACEOF
71356 # The cast to long int works around a bug in the HP C Compiler
71357 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71358 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71359 # This bug is HP SR number 8606223364.
71360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71361 $as_echo_n "checking size of char... " >&6; }
71362 if test "${ac_cv_sizeof_char+set}" = set; then :
71363 $as_echo_n "(cached) " >&6
71364 else
71365 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
71367 else
71368 if test "$ac_cv_type_char" = yes; then
71369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71371 { as_fn_set_status 77
71372 as_fn_error "cannot compute sizeof (char)
71373 See \`config.log' for more details." "$LINENO" 5; }; }
71374 else
71375 ac_cv_sizeof_char=0
71380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71381 $as_echo "$ac_cv_sizeof_char" >&6; }
71385 cat >>confdefs.h <<_ACEOF
71386 #define SIZEOF_CHAR $ac_cv_sizeof_char
71387 _ACEOF
71391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71392 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71393 case "$ac_cv_sizeof_char" in
71394 1) acx_cv_type_int8_t=char ;;
71395 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71396 esac
71397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71398 $as_echo "$acx_cv_type_int8_t" >&6; }
71400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71401 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71402 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71403 2:*) acx_cv_type_int16_t=int ;;
71404 *:2) acx_cv_type_int16_t=short ;;
71405 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71406 esac
71407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71408 $as_echo "$acx_cv_type_int16_t" >&6; }
71410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71411 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71412 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71413 4:*) acx_cv_type_int32_t=int ;;
71414 *:4) acx_cv_type_int32_t=long ;;
71415 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71416 esac
71417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71418 $as_echo "$acx_cv_type_int32_t" >&6; }
71421 # These tests are here to make the output prettier
71423 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71424 case "$ac_cv_sizeof_long" in
71425 8) acx_cv_type_int64_t=long ;;
71426 esac
71427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71428 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71430 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71433 # Now we can use the above types
71435 if test "$ac_cv_type_uintptr_t" != yes; then
71436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71437 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71438 case $ac_cv_sizeof_void_p in
71439 2) acx_cv_type_intptr_t=int16_t ;;
71440 4) acx_cv_type_intptr_t=int32_t ;;
71441 8) acx_cv_type_intptr_t=int64_t ;;
71442 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71443 esac
71444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71445 $as_echo "$acx_cv_type_intptr_t" >&6; }
71448 # ----------------- done all checks, emit header -------------
71449 ac_config_commands="$ac_config_commands include/gstdint.h"
71455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71456 $as_echo_n "checking for GNU c++filt... " >&6; }
71457 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71458 $as_echo_n "(cached) " >&6
71459 else
71460 if test -z "$CXXFILT"; then
71461 ac_path_CXXFILT_found=false
71462 # Loop through the user's path and test for each of PROGNAME-LIST
71463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71464 for as_dir in $PATH
71466 IFS=$as_save_IFS
71467 test -z "$as_dir" && as_dir=.
71468 for ac_prog in c++filt gc++filt; do
71469 for ac_exec_ext in '' $ac_executable_extensions; do
71470 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71471 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71472 # Check for GNU $ac_path_CXXFILT
71473 case `"$ac_path_CXXFILT" --version 2>&1` in
71474 *GNU*)
71475 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71476 esac
71478 $ac_path_CXXFILT_found && break 3
71479 done
71480 done
71481 done
71482 IFS=$as_save_IFS
71483 if test -z "$ac_cv_path_CXXFILT"; then
71486 else
71487 ac_cv_path_CXXFILT=$CXXFILT
71491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71492 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71493 CXXFILT=$ac_cv_path_CXXFILT
71497 # Check whether --enable-symvers was given.
71498 if test "${enable_symvers+set}" = set; then :
71499 enableval=$enable_symvers;
71500 case "$enableval" in
71501 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71502 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71503 esac
71505 else
71506 enable_symvers=yes
71511 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71512 # don't know enough about $LD to do tricks...
71514 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71515 # with extern "C++" in version scripts.
71518 # Turn a 'yes' into a suitable default.
71519 if test x$enable_symvers = xyes ; then
71520 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71521 enable_symvers=no
71522 else
71523 if test $with_gnu_ld = yes ; then
71524 case ${target_os} in
71525 hpux*)
71526 enable_symvers=no ;;
71528 enable_symvers=gnu ;;
71529 esac
71530 else
71531 case ${target_os} in
71532 darwin*)
71533 enable_symvers=darwin ;;
71534 # Sun symbol versioning exists since Solaris 2.5.
71535 solaris2.[5-9]* | solaris2.1[0-9]*)
71536 # make_sunver.pl needs GNU c++filt to support extern "C++" in
71537 # version scripts, so disable symbol versioning if none can be
71538 # found.
71539 if test -z "$ac_cv_path_CXXFILT"; then
71540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71541 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
71543 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
71544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71545 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71546 enable_symvers=no
71547 else
71548 enable_symvers=sun
71552 enable_symvers=no ;;
71553 esac
71558 # Check to see if 'darwin' or 'darwin-export' can win.
71559 if test x$enable_symvers = xdarwin-export ; then
71560 enable_symvers=darwin
71563 # Check if 'sun' was requested on non-Solaris 2 platforms.
71564 if test x$enable_symvers = xsun ; then
71565 case ${target_os} in
71566 solaris2*)
71567 # All fine.
71570 # Unlikely to work.
71571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71572 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71574 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71576 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71577 enable_symvers=no
71579 esac
71582 # Check to see if 'gnu' can win.
71583 if test $enable_symvers = gnu ||
71584 test $enable_symvers = gnu-versioned-namespace ||
71585 test $enable_symvers = sun; then
71586 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71588 $as_echo_n "checking for shared libgcc... " >&6; }
71589 ac_save_CFLAGS="$CFLAGS"
71590 CFLAGS=' -lgcc_s'
71591 if test x$gcc_no_link = xyes; then
71592 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71595 /* end confdefs.h. */
71598 main ()
71600 return 0;
71602 return 0;
71604 _ACEOF
71605 if ac_fn_c_try_link "$LINENO"; then :
71606 glibcxx_shared_libgcc=yes
71607 else
71608 glibcxx_shared_libgcc=no
71610 rm -f core conftest.err conftest.$ac_objext \
71611 conftest$ac_exeext conftest.$ac_ext
71612 CFLAGS="$ac_save_CFLAGS"
71613 if test $glibcxx_shared_libgcc = no; then
71614 cat > conftest.c <<EOF
71615 int main (void) { return 0; }
71617 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71618 -shared -shared-libgcc -o conftest.so \
71619 conftest.c -v 2>&1 >/dev/null \
71620 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71621 rm -f conftest.c conftest.so
71622 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71623 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71624 if test x$gcc_no_link = xyes; then
71625 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71628 /* end confdefs.h. */
71631 main ()
71633 return 0;
71635 return 0;
71637 _ACEOF
71638 if ac_fn_c_try_link "$LINENO"; then :
71639 glibcxx_shared_libgcc=yes
71641 rm -f core conftest.err conftest.$ac_objext \
71642 conftest$ac_exeext conftest.$ac_ext
71643 CFLAGS="$ac_save_CFLAGS"
71646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71647 $as_echo "$glibcxx_shared_libgcc" >&6; }
71649 # For GNU ld, we need at least this version. The format is described in
71650 # GLIBCXX_CHECK_LINKER_FEATURES above.
71651 glibcxx_min_gnu_ld_version=21400
71653 # If no shared libgcc, can't win.
71654 if test $glibcxx_shared_libgcc != yes; then
71655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71656 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71658 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71660 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71661 enable_symvers=no
71662 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71663 : All interesting versions of Sun ld support sun style symbol versioning.
71664 elif test $with_gnu_ld != yes ; then
71665 # just fail for now
71666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71667 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71669 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71671 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71672 enable_symvers=no
71673 elif test $glibcxx_ld_is_gold = yes ; then
71674 : All versions of gold support symbol versioning.
71675 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71676 # The right tools, the right setup, but too old. Fallbacks?
71677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71678 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71680 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71682 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71684 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71686 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71687 enable_symvers=no
71691 # For libtool versioning info, format is CURRENT:REVISION:AGE
71692 libtool_VERSION=6:19:0
71694 # Everything parsed; figure out what files and settings to use.
71695 case $enable_symvers in
71697 SYMVER_FILE=config/abi/pre/none.ver
71699 gnu)
71700 SYMVER_FILE=config/abi/pre/gnu.ver
71702 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71705 gnu-versioned-namespace)
71706 libtool_VERSION=7:0:0
71707 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71709 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71712 darwin)
71713 SYMVER_FILE=config/abi/pre/gnu.ver
71715 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71718 sun)
71719 SYMVER_FILE=config/abi/pre/gnu.ver
71721 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71724 esac
71726 if test x$enable_symvers != xno ; then
71728 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71733 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71734 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71735 $as_echo_n "(cached) " >&6
71736 else
71738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71739 /* end confdefs.h. */
71740 void foo (void); __asm (".symver foo, bar@SYMVER");
71742 main ()
71746 return 0;
71748 _ACEOF
71749 if ac_fn_c_try_compile "$LINENO"; then :
71750 glibcxx_cv_have_as_symver_directive=yes
71751 else
71752 glibcxx_cv_have_as_symver_directive=no
71754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71757 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71758 if test $glibcxx_cv_have_as_symver_directive = yes; then
71760 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71771 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71772 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71774 if test $enable_symvers != no ; then
71775 case ${target_os} in
71776 # The Solaris 2 runtime linker doesn't support the GNU extension of
71777 # binding the same symbol to different versions
71778 solaris2*)
71780 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71783 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71786 esac
71789 # Now, set up compatibility support, if any.
71790 # In addition, need this to deal with std::size_t mangling in
71791 # src/compatibility.cc. In a perfect world, could use
71792 # typeid(std::size_t).name()[0] to do direct substitution.
71793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71794 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71795 ac_save_CFLAGS="$CFLAGS"
71796 CFLAGS="-Werror"
71797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71798 /* end confdefs.h. */
71801 main ()
71803 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71805 return 0;
71807 _ACEOF
71808 if ac_fn_c_try_compile "$LINENO"; then :
71809 glibcxx_size_t_is_i=yes
71810 else
71811 glibcxx_size_t_is_i=no
71813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71814 CFLAGS=$ac_save_CFLAGS
71815 if test "$glibcxx_size_t_is_i" = yes; then
71817 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71821 $as_echo "$glibcxx_size_t_is_i" >&6; }
71823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71824 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71825 ac_save_CFLAGS="$CFLAGS"
71826 CFLAGS="-Werror"
71827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71828 /* end confdefs.h. */
71831 main ()
71833 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71835 return 0;
71837 _ACEOF
71838 if ac_fn_c_try_compile "$LINENO"; then :
71839 glibcxx_ptrdiff_t_is_i=yes
71840 else
71841 glibcxx_ptrdiff_t_is_i=no
71843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71844 CFLAGS=$ac_save_CFLAGS
71845 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71847 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71851 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71856 # Check whether --enable-libstdcxx-visibility was given.
71857 if test "${enable_libstdcxx_visibility+set}" = set; then :
71858 enableval=$enable_libstdcxx_visibility;
71859 case "$enableval" in
71860 yes|no) ;;
71861 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71862 esac
71864 else
71865 enable_libstdcxx_visibility=yes
71870 if test x$enable_libstdcxx_visibility = xyes ; then
71871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71872 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71873 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71874 $as_echo_n "(cached) " >&6
71875 else
71877 save_CFLAGS="$CFLAGS"
71878 CFLAGS="$CFLAGS -Werror"
71879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71880 /* end confdefs.h. */
71881 void __attribute__((visibility("hidden"))) foo(void) { }
71883 main ()
71887 return 0;
71889 _ACEOF
71890 if ac_fn_c_try_compile "$LINENO"; then :
71891 glibcxx_cv_have_attribute_visibility=yes
71892 else
71893 glibcxx_cv_have_attribute_visibility=no
71895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71896 CFLAGS="$save_CFLAGS"
71898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71899 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71900 if test $glibcxx_cv_have_attribute_visibility = no; then
71901 enable_libstdcxx_visibility=no
71906 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71907 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71910 ac_ldbl_compat=no
71911 case "$target" in
71912 powerpc*-*-linux* | \
71913 sparc*-*-linux* | \
71914 s390*-*-linux* | \
71915 alpha*-*-linux*)
71916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71917 /* end confdefs.h. */
71920 main ()
71923 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71924 #error no need for long double compatibility
71925 #endif
71928 return 0;
71930 _ACEOF
71931 if ac_fn_c_try_compile "$LINENO"; then :
71932 ac_ldbl_compat=yes
71933 else
71934 ac_ldbl_compat=no
71936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71937 if test "$ac_ldbl_compat" = yes; then
71939 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71941 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71943 esac
71946 # Check if assembler supports disabling hardware capability support.
71948 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71950 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71951 # with a different meaning.
71952 case ${target_os} in
71953 solaris2*)
71954 ac_save_CFLAGS="$CFLAGS"
71955 CFLAGS="$CFLAGS -Wa,-nH"
71957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71958 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71960 /* end confdefs.h. */
71963 main ()
71965 return 0;
71967 return 0;
71969 _ACEOF
71970 if ac_fn_c_try_compile "$LINENO"; then :
71971 ac_hwcap_flags=yes
71972 else
71973 ac_hwcap_flags=no
71975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71976 if test "$ac_hwcap_flags" = "yes"; then
71977 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71980 $as_echo "$ac_hwcap_flags" >&6; }
71982 CFLAGS="$ac_save_CFLAGS"
71984 esac
71989 # Check if assembler supports rdrand opcode.
71991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71992 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71993 if test "${ac_cv_x86_rdrand+set}" = set; then :
71994 $as_echo_n "(cached) " >&6
71995 else
71997 ac_cv_x86_rdrand=no
71998 case "$target" in
71999 i?86-*-* | \
72000 x86_64-*-*)
72001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72002 /* end confdefs.h. */
72005 main ()
72007 asm("rdrand %eax");
72009 return 0;
72011 _ACEOF
72012 if ac_fn_c_try_compile "$LINENO"; then :
72013 ac_cv_x86_rdrand=yes
72014 else
72015 ac_cv_x86_rdrand=no
72017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72018 esac
72022 if test $ac_cv_x86_rdrand = yes; then
72024 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
72027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
72028 $as_echo "$ac_cv_x86_rdrand" >&6; }
72031 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
72033 if $GLIBCXX_IS_NATIVE ; then
72034 # Do checks for resource limit functions.
72036 setrlimit_have_headers=yes
72037 for ac_header in unistd.h sys/time.h sys/resource.h
72038 do :
72039 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
72040 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
72041 eval as_val=\$$as_ac_Header
72042 if test "x$as_val" = x""yes; then :
72043 cat >>confdefs.h <<_ACEOF
72044 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
72045 _ACEOF
72047 else
72048 setrlimit_have_headers=no
72051 done
72053 # If don't have the headers, then we can't run the tests now, and we
72054 # won't be seeing any of these during testsuite compilation.
72055 if test $setrlimit_have_headers = yes; then
72056 # Can't do these in a loop, else the resulting syntax is wrong.
72058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
72059 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
72060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72061 /* end confdefs.h. */
72062 #include <unistd.h>
72063 #include <sys/time.h>
72064 #include <sys/resource.h>
72067 main ()
72069 int f = RLIMIT_DATA ;
72071 return 0;
72073 _ACEOF
72074 if ac_fn_c_try_compile "$LINENO"; then :
72075 glibcxx_mresult=1
72076 else
72077 glibcxx_mresult=0
72079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72081 cat >>confdefs.h <<_ACEOF
72082 #define HAVE_LIMIT_DATA $glibcxx_mresult
72083 _ACEOF
72085 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72087 $as_echo "$res" >&6; }
72090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
72091 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
72092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72093 /* end confdefs.h. */
72094 #include <unistd.h>
72095 #include <sys/time.h>
72096 #include <sys/resource.h>
72099 main ()
72101 int f = RLIMIT_RSS ;
72103 return 0;
72105 _ACEOF
72106 if ac_fn_c_try_compile "$LINENO"; then :
72107 glibcxx_mresult=1
72108 else
72109 glibcxx_mresult=0
72111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72113 cat >>confdefs.h <<_ACEOF
72114 #define HAVE_LIMIT_RSS $glibcxx_mresult
72115 _ACEOF
72117 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72119 $as_echo "$res" >&6; }
72122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72123 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72125 /* end confdefs.h. */
72126 #include <unistd.h>
72127 #include <sys/time.h>
72128 #include <sys/resource.h>
72131 main ()
72133 int f = RLIMIT_VMEM ;
72135 return 0;
72137 _ACEOF
72138 if ac_fn_c_try_compile "$LINENO"; then :
72139 glibcxx_mresult=1
72140 else
72141 glibcxx_mresult=0
72143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72145 cat >>confdefs.h <<_ACEOF
72146 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72147 _ACEOF
72149 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72151 $as_echo "$res" >&6; }
72154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72155 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72157 /* end confdefs.h. */
72158 #include <unistd.h>
72159 #include <sys/time.h>
72160 #include <sys/resource.h>
72163 main ()
72165 int f = RLIMIT_AS ;
72167 return 0;
72169 _ACEOF
72170 if ac_fn_c_try_compile "$LINENO"; then :
72171 glibcxx_mresult=1
72172 else
72173 glibcxx_mresult=0
72175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72177 cat >>confdefs.h <<_ACEOF
72178 #define HAVE_LIMIT_AS $glibcxx_mresult
72179 _ACEOF
72181 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72183 $as_echo "$res" >&6; }
72186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72187 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72189 /* end confdefs.h. */
72190 #include <unistd.h>
72191 #include <sys/time.h>
72192 #include <sys/resource.h>
72195 main ()
72197 int f = RLIMIT_FSIZE ;
72199 return 0;
72201 _ACEOF
72202 if ac_fn_c_try_compile "$LINENO"; then :
72203 glibcxx_mresult=1
72204 else
72205 glibcxx_mresult=0
72207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72209 cat >>confdefs.h <<_ACEOF
72210 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72211 _ACEOF
72213 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72215 $as_echo "$res" >&6; }
72218 # Check for rlimit, setrlimit.
72219 if test "${glibcxx_cv_setrlimit+set}" = set; then :
72220 $as_echo_n "(cached) " >&6
72221 else
72223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72224 /* end confdefs.h. */
72225 #include <unistd.h>
72226 #include <sys/time.h>
72227 #include <sys/resource.h>
72230 main ()
72232 struct rlimit r;
72233 setrlimit(0, &r);
72235 return 0;
72237 _ACEOF
72238 if ac_fn_c_try_compile "$LINENO"; then :
72239 glibcxx_cv_setrlimit=yes
72240 else
72241 glibcxx_cv_setrlimit=no
72243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72250 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72251 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72252 ac_res_limits=yes
72254 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72256 else
72257 ac_res_limits=no
72259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72260 $as_echo "$ac_res_limits" >&6; }
72263 # Look for setenv, so that extended locale tests can be performed.
72265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72266 $as_echo_n "checking for setenv declaration... " >&6; }
72267 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72268 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72269 $as_echo_n "(cached) " >&6
72270 else
72273 ac_ext=cpp
72274 ac_cpp='$CXXCPP $CPPFLAGS'
72275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72280 /* end confdefs.h. */
72281 #include <stdlib.h>
72283 main ()
72285 setenv(0, 0, 0);
72287 return 0;
72289 _ACEOF
72290 if ac_fn_cxx_try_compile "$LINENO"; then :
72291 glibcxx_cv_func_setenv_use=yes
72292 else
72293 glibcxx_cv_func_setenv_use=no
72295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72296 ac_ext=c
72297 ac_cpp='$CPP $CPPFLAGS'
72298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72307 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72308 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72309 for ac_func in setenv
72310 do :
72311 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72312 if test "x$ac_cv_func_setenv" = x""yes; then :
72313 cat >>confdefs.h <<_ACEOF
72314 #define HAVE_SETENV 1
72315 _ACEOF
72318 done
72324 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72325 test $enable_symvers != no; then
72326 case "$host" in
72327 *-*-cygwin*)
72328 enable_abi_check=no ;;
72330 enable_abi_check=yes ;;
72331 esac
72332 else
72333 # Only build this as native, since automake does not understand
72334 # CXX_FOR_BUILD.
72335 enable_abi_check=no
72338 # Export file names for ABI checking.
72339 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72341 baseline_subdir_switch="$abi_baseline_subdir_switch"
72345 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
72347 # Check whether --enable-libstdcxx-threads was given.
72348 if test "${enable_libstdcxx_threads+set}" = set; then :
72349 enableval=$enable_libstdcxx_threads;
72350 case "$enableval" in
72351 yes|no) ;;
72352 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72353 esac
72355 else
72356 enable_libstdcxx_threads=auto
72361 if test x$enable_libstdcxx_threads = xauto ||
72362 test x$enable_libstdcxx_threads = xyes; then
72365 ac_ext=cpp
72366 ac_cpp='$CXXCPP $CPPFLAGS'
72367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72372 ac_save_CXXFLAGS="$CXXFLAGS"
72373 CXXFLAGS="$CXXFLAGS -fno-exceptions \
72374 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72376 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72377 case $target_thread_file in
72378 posix)
72379 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72380 esac
72382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72383 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72386 /* end confdefs.h. */
72387 #include <unistd.h>
72389 main ()
72392 // In case of POSIX threads check _POSIX_TIMEOUTS.
72393 #if (defined(_PTHREADS) \
72394 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72395 #error
72396 #endif
72399 return 0;
72401 _ACEOF
72402 if ac_fn_cxx_try_compile "$LINENO"; then :
72403 ac_gthread_use_mutex_timedlock=1
72404 else
72405 ac_gthread_use_mutex_timedlock=0
72407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72410 cat >>confdefs.h <<_ACEOF
72411 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72412 _ACEOF
72415 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72416 else res_mutex_timedlock=no ; fi
72417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72418 $as_echo "$res_mutex_timedlock" >&6; }
72420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72421 $as_echo_n "checking for gthreads library... " >&6; }
72423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72424 /* end confdefs.h. */
72425 #include "gthr.h"
72427 main ()
72430 #ifndef __GTHREADS_CXX0X
72431 #error
72432 #endif
72435 return 0;
72437 _ACEOF
72438 if ac_fn_cxx_try_compile "$LINENO"; then :
72439 case $target_os in
72440 # gthreads support breaks symbol versioning on Solaris 9 (PR
72441 # libstdc++/52189).
72442 solaris2.9*)
72443 if test x$enable_symvers = xno; then
72444 ac_has_gthreads=yes
72445 elif test x$enable_libstdcxx_threads = xyes; then
72446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72447 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72449 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72450 ac_has_gthreads=yes
72451 else
72452 ac_has_gthreads=no
72456 ac_has_gthreads=yes
72458 esac
72459 else
72460 ac_has_gthreads=no
72462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72463 else
72464 ac_has_gthreads=no
72467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72468 $as_echo "$ac_has_gthreads" >&6; }
72470 if test x"$ac_has_gthreads" = x"yes"; then
72472 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72476 CXXFLAGS="$ac_save_CXXFLAGS"
72477 ac_ext=c
72478 ac_cpp='$CPP $CPPFLAGS'
72479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72485 # Define documentation rules conditionally.
72487 # See if makeinfo has been installed and is modern enough
72488 # that we can use it.
72490 # Extract the first word of "makeinfo", so it can be a program name with args.
72491 set dummy makeinfo; ac_word=$2
72492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72493 $as_echo_n "checking for $ac_word... " >&6; }
72494 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72495 $as_echo_n "(cached) " >&6
72496 else
72497 if test -n "$MAKEINFO"; then
72498 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72499 else
72500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72501 for as_dir in $PATH
72503 IFS=$as_save_IFS
72504 test -z "$as_dir" && as_dir=.
72505 for ac_exec_ext in '' $ac_executable_extensions; do
72506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72507 ac_cv_prog_MAKEINFO="makeinfo"
72508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72509 break 2
72511 done
72512 done
72513 IFS=$as_save_IFS
72517 MAKEINFO=$ac_cv_prog_MAKEINFO
72518 if test -n "$MAKEINFO"; then
72519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72520 $as_echo "$MAKEINFO" >&6; }
72521 else
72522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72523 $as_echo "no" >&6; }
72527 if test -n "$MAKEINFO"; then
72528 # Found it, now check the version.
72529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72530 $as_echo_n "checking for modern makeinfo... " >&6; }
72531 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72532 $as_echo_n "(cached) " >&6
72533 else
72534 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72535 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72537 case $ac_prog_version in
72538 '') gcc_cv_prog_makeinfo_modern=no;;
72539 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72540 *) gcc_cv_prog_makeinfo_modern=no;;
72541 esac
72544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72545 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72546 else
72547 gcc_cv_prog_makeinfo_modern=no
72549 if test $gcc_cv_prog_makeinfo_modern = no; then
72550 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72553 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72554 BUILD_INFO_TRUE=
72555 BUILD_INFO_FALSE='#'
72556 else
72557 BUILD_INFO_TRUE='#'
72558 BUILD_INFO_FALSE=
72562 # Check for doxygen
72563 # Extract the first word of "doxygen", so it can be a program name with args.
72564 set dummy doxygen; ac_word=$2
72565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72566 $as_echo_n "checking for $ac_word... " >&6; }
72567 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72568 $as_echo_n "(cached) " >&6
72569 else
72570 if test -n "$DOXYGEN"; then
72571 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72572 else
72573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72574 for as_dir in $PATH
72576 IFS=$as_save_IFS
72577 test -z "$as_dir" && as_dir=.
72578 for ac_exec_ext in '' $ac_executable_extensions; do
72579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72580 ac_cv_prog_DOXYGEN="yes"
72581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72582 break 2
72584 done
72585 done
72586 IFS=$as_save_IFS
72588 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72591 DOXYGEN=$ac_cv_prog_DOXYGEN
72592 if test -n "$DOXYGEN"; then
72593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72594 $as_echo "$DOXYGEN" >&6; }
72595 else
72596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72597 $as_echo "no" >&6; }
72601 # Extract the first word of "dot", so it can be a program name with args.
72602 set dummy dot; ac_word=$2
72603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72604 $as_echo_n "checking for $ac_word... " >&6; }
72605 if test "${ac_cv_prog_DOT+set}" = set; then :
72606 $as_echo_n "(cached) " >&6
72607 else
72608 if test -n "$DOT"; then
72609 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72610 else
72611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72612 for as_dir in $PATH
72614 IFS=$as_save_IFS
72615 test -z "$as_dir" && as_dir=.
72616 for ac_exec_ext in '' $ac_executable_extensions; do
72617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72618 ac_cv_prog_DOT="yes"
72619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72620 break 2
72622 done
72623 done
72624 IFS=$as_save_IFS
72626 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72629 DOT=$ac_cv_prog_DOT
72630 if test -n "$DOT"; then
72631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72632 $as_echo "$DOT" >&6; }
72633 else
72634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72635 $as_echo "no" >&6; }
72640 # Check for docbook
72641 # Extract the first word of "xsltproc", so it can be a program name with args.
72642 set dummy xsltproc; ac_word=$2
72643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72644 $as_echo_n "checking for $ac_word... " >&6; }
72645 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72646 $as_echo_n "(cached) " >&6
72647 else
72648 if test -n "$XSLTPROC"; then
72649 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72650 else
72651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72652 for as_dir in $PATH
72654 IFS=$as_save_IFS
72655 test -z "$as_dir" && as_dir=.
72656 for ac_exec_ext in '' $ac_executable_extensions; do
72657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72658 ac_cv_prog_XSLTPROC="yes"
72659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72660 break 2
72662 done
72663 done
72664 IFS=$as_save_IFS
72666 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72669 XSLTPROC=$ac_cv_prog_XSLTPROC
72670 if test -n "$XSLTPROC"; then
72671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72672 $as_echo "$XSLTPROC" >&6; }
72673 else
72674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72675 $as_echo "no" >&6; }
72679 # Extract the first word of "xmllint", so it can be a program name with args.
72680 set dummy xmllint; ac_word=$2
72681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72682 $as_echo_n "checking for $ac_word... " >&6; }
72683 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72684 $as_echo_n "(cached) " >&6
72685 else
72686 if test -n "$XMLLINT"; then
72687 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72688 else
72689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72690 for as_dir in $PATH
72692 IFS=$as_save_IFS
72693 test -z "$as_dir" && as_dir=.
72694 for ac_exec_ext in '' $ac_executable_extensions; do
72695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72696 ac_cv_prog_XMLLINT="yes"
72697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72698 break 2
72700 done
72701 done
72702 IFS=$as_save_IFS
72704 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72707 XMLLINT=$ac_cv_prog_XMLLINT
72708 if test -n "$XMLLINT"; then
72709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72710 $as_echo "$XMLLINT" >&6; }
72711 else
72712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72713 $as_echo "no" >&6; }
72719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72720 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72721 glibcxx_stylesheets=no
72722 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
72723 glibcxx_stylesheets=yes
72725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72726 $as_echo "$glibcxx_stylesheets" >&6; }
72728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72729 $as_echo_n "checking for local stylesheet directory... " >&6; }
72730 glibcxx_local_stylesheets=no
72731 if test x"$glibcxx_stylesheets" = x"yes"; then
72732 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72733 glibcxx_local_stylesheets=yes
72734 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72736 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72737 glibcxx_local_stylesheets=yes
72738 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72740 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72741 glibcxx_local_stylesheets=yes
72742 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72746 $as_echo "$glibcxx_local_stylesheets" >&6; }
72748 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72750 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72751 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72752 else
72753 glibcxx_stylesheets=no
72756 # Check for epub3 dependencies.
72757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72758 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72759 glibcxx_epub_stylesheets=no
72760 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72761 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72762 glibcxx_epub_stylesheets=yes
72765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72766 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72767 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72768 BUILD_EPUB_TRUE=
72769 BUILD_EPUB_FALSE='#'
72770 else
72771 BUILD_EPUB_TRUE='#'
72772 BUILD_EPUB_FALSE=
72778 # Check for xml/html dependencies.
72779 if test $ac_cv_prog_DOXYGEN = "yes" &&
72780 test $ac_cv_prog_DOT = "yes" &&
72781 test $ac_cv_prog_XSLTPROC = "yes" &&
72782 test $ac_cv_prog_XMLLINT = "yes" &&
72783 test $glibcxx_stylesheets = "yes"; then
72784 BUILD_XML_TRUE=
72785 BUILD_XML_FALSE='#'
72786 else
72787 BUILD_XML_TRUE='#'
72788 BUILD_XML_FALSE=
72792 if test $ac_cv_prog_DOXYGEN = "yes" &&
72793 test $ac_cv_prog_DOT = "yes" &&
72794 test $ac_cv_prog_XSLTPROC = "yes" &&
72795 test $ac_cv_prog_XMLLINT = "yes" &&
72796 test $glibcxx_stylesheets = "yes"; then
72797 BUILD_HTML_TRUE=
72798 BUILD_HTML_FALSE='#'
72799 else
72800 BUILD_HTML_TRUE='#'
72801 BUILD_HTML_FALSE=
72805 # Check for man dependencies.
72806 if test $ac_cv_prog_DOXYGEN = "yes" &&
72807 test $ac_cv_prog_DOT = "yes"; then
72808 BUILD_MAN_TRUE=
72809 BUILD_MAN_FALSE='#'
72810 else
72811 BUILD_MAN_TRUE='#'
72812 BUILD_MAN_FALSE=
72816 # Check for pdf dependencies.
72817 # Extract the first word of "dblatex", so it can be a program name with args.
72818 set dummy dblatex; ac_word=$2
72819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72820 $as_echo_n "checking for $ac_word... " >&6; }
72821 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72822 $as_echo_n "(cached) " >&6
72823 else
72824 if test -n "$DBLATEX"; then
72825 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72826 else
72827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72828 for as_dir in $PATH
72830 IFS=$as_save_IFS
72831 test -z "$as_dir" && as_dir=.
72832 for ac_exec_ext in '' $ac_executable_extensions; do
72833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72834 ac_cv_prog_DBLATEX="yes"
72835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72836 break 2
72838 done
72839 done
72840 IFS=$as_save_IFS
72842 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72845 DBLATEX=$ac_cv_prog_DBLATEX
72846 if test -n "$DBLATEX"; then
72847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72848 $as_echo "$DBLATEX" >&6; }
72849 else
72850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72851 $as_echo "no" >&6; }
72855 # Extract the first word of "pdflatex", so it can be a program name with args.
72856 set dummy pdflatex; ac_word=$2
72857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72858 $as_echo_n "checking for $ac_word... " >&6; }
72859 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72860 $as_echo_n "(cached) " >&6
72861 else
72862 if test -n "$PDFLATEX"; then
72863 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72864 else
72865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72866 for as_dir in $PATH
72868 IFS=$as_save_IFS
72869 test -z "$as_dir" && as_dir=.
72870 for ac_exec_ext in '' $ac_executable_extensions; do
72871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72872 ac_cv_prog_PDFLATEX="yes"
72873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72874 break 2
72876 done
72877 done
72878 IFS=$as_save_IFS
72880 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72883 PDFLATEX=$ac_cv_prog_PDFLATEX
72884 if test -n "$PDFLATEX"; then
72885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72886 $as_echo "$PDFLATEX" >&6; }
72887 else
72888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72889 $as_echo "no" >&6; }
72893 if test $ac_cv_prog_DBLATEX = "yes" &&
72894 test $ac_cv_prog_PDFLATEX = "yes"; then
72895 BUILD_PDF_TRUE=
72896 BUILD_PDF_FALSE='#'
72897 else
72898 BUILD_PDF_TRUE='#'
72899 BUILD_PDF_FALSE=
72904 # Propagate the target-specific source directories through the build chain.
72905 ATOMICITY_SRCDIR=config/${atomicity_dir}
72906 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72907 ATOMIC_FLAGS=${atomic_flags}
72908 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72909 OS_INC_SRCDIR=config/${os_include_dir}
72910 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72911 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72912 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72913 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72925 # Determine cross-compile flags and AM_CONDITIONALs.
72926 #AC_SUBST(GLIBCXX_IS_NATIVE)
72927 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72928 if test $is_hosted = yes; then
72929 GLIBCXX_HOSTED_TRUE=
72930 GLIBCXX_HOSTED_FALSE='#'
72931 else
72932 GLIBCXX_HOSTED_TRUE='#'
72933 GLIBCXX_HOSTED_FALSE=
72937 if test $enable_libstdcxx_pch = yes; then
72938 GLIBCXX_BUILD_PCH_TRUE=
72939 GLIBCXX_BUILD_PCH_FALSE='#'
72940 else
72941 GLIBCXX_BUILD_PCH_TRUE='#'
72942 GLIBCXX_BUILD_PCH_FALSE=
72946 if test $enable_cheaders = c; then
72947 GLIBCXX_C_HEADERS_C_TRUE=
72948 GLIBCXX_C_HEADERS_C_FALSE='#'
72949 else
72950 GLIBCXX_C_HEADERS_C_TRUE='#'
72951 GLIBCXX_C_HEADERS_C_FALSE=
72955 if test $enable_cheaders = c_std; then
72956 GLIBCXX_C_HEADERS_C_STD_TRUE=
72957 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72958 else
72959 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72960 GLIBCXX_C_HEADERS_C_STD_FALSE=
72964 if test $enable_cheaders = c_global; then
72965 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72966 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72967 else
72968 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72969 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72973 if test $c_compatibility = yes; then
72974 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72975 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72976 else
72977 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72978 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72982 if test $enable_libstdcxx_debug = yes; then
72983 GLIBCXX_BUILD_DEBUG_TRUE=
72984 GLIBCXX_BUILD_DEBUG_FALSE='#'
72985 else
72986 GLIBCXX_BUILD_DEBUG_TRUE='#'
72987 GLIBCXX_BUILD_DEBUG_FALSE=
72991 if test $enable_extern_template = yes; then
72992 ENABLE_EXTERN_TEMPLATE_TRUE=
72993 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72994 else
72995 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72996 ENABLE_EXTERN_TEMPLATE_FALSE=
73000 if test $python_mod_dir != no; then
73001 ENABLE_PYTHONDIR_TRUE=
73002 ENABLE_PYTHONDIR_FALSE='#'
73003 else
73004 ENABLE_PYTHONDIR_TRUE='#'
73005 ENABLE_PYTHONDIR_FALSE=
73009 if test $enable_werror = yes; then
73010 ENABLE_WERROR_TRUE=
73011 ENABLE_WERROR_FALSE='#'
73012 else
73013 ENABLE_WERROR_TRUE='#'
73014 ENABLE_WERROR_FALSE=
73018 if test $enable_vtable_verify = yes; then
73019 ENABLE_VTABLE_VERIFY_TRUE=
73020 ENABLE_VTABLE_VERIFY_FALSE='#'
73021 else
73022 ENABLE_VTABLE_VERIFY_TRUE='#'
73023 ENABLE_VTABLE_VERIFY_FALSE=
73027 if test $enable_symvers != no; then
73028 ENABLE_SYMVERS_TRUE=
73029 ENABLE_SYMVERS_FALSE='#'
73030 else
73031 ENABLE_SYMVERS_TRUE='#'
73032 ENABLE_SYMVERS_FALSE=
73036 if test $enable_symvers = gnu; then
73037 ENABLE_SYMVERS_GNU_TRUE=
73038 ENABLE_SYMVERS_GNU_FALSE='#'
73039 else
73040 ENABLE_SYMVERS_GNU_TRUE='#'
73041 ENABLE_SYMVERS_GNU_FALSE=
73045 if test $enable_symvers = gnu-versioned-namespace; then
73046 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
73047 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
73048 else
73049 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
73050 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
73054 if test $enable_symvers = darwin; then
73055 ENABLE_SYMVERS_DARWIN_TRUE=
73056 ENABLE_SYMVERS_DARWIN_FALSE='#'
73057 else
73058 ENABLE_SYMVERS_DARWIN_TRUE='#'
73059 ENABLE_SYMVERS_DARWIN_FALSE=
73063 if test $enable_symvers = sun; then
73064 ENABLE_SYMVERS_SUN_TRUE=
73065 ENABLE_SYMVERS_SUN_FALSE='#'
73066 else
73067 ENABLE_SYMVERS_SUN_TRUE='#'
73068 ENABLE_SYMVERS_SUN_FALSE=
73072 if test $enable_libstdcxx_visibility = yes; then
73073 ENABLE_VISIBILITY_TRUE=
73074 ENABLE_VISIBILITY_FALSE='#'
73075 else
73076 ENABLE_VISIBILITY_TRUE='#'
73077 ENABLE_VISIBILITY_FALSE=
73081 if test $ac_ldbl_compat = yes; then
73082 GLIBCXX_LDBL_COMPAT_TRUE=
73083 GLIBCXX_LDBL_COMPAT_FALSE='#'
73084 else
73085 GLIBCXX_LDBL_COMPAT_TRUE='#'
73086 GLIBCXX_LDBL_COMPAT_FALSE=
73092 cat >confcache <<\_ACEOF
73093 # This file is a shell script that caches the results of configure
73094 # tests run on this system so they can be shared between configure
73095 # scripts and configure runs, see configure's option --config-cache.
73096 # It is not useful on other systems. If it contains results you don't
73097 # want to keep, you may remove or edit it.
73099 # config.status only pays attention to the cache file if you give it
73100 # the --recheck option to rerun configure.
73102 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73103 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73104 # following values.
73106 _ACEOF
73108 # The following way of writing the cache mishandles newlines in values,
73109 # but we know of no workaround that is simple, portable, and efficient.
73110 # So, we kill variables containing newlines.
73111 # Ultrix sh set writes to stderr and can't be redirected directly,
73112 # and sets the high bit in the cache file unless we assign to the vars.
73114 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73115 eval ac_val=\$$ac_var
73116 case $ac_val in #(
73117 *${as_nl}*)
73118 case $ac_var in #(
73119 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73120 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73121 esac
73122 case $ac_var in #(
73123 _ | IFS | as_nl) ;; #(
73124 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73125 *) { eval $ac_var=; unset $ac_var;} ;;
73126 esac ;;
73127 esac
73128 done
73130 (set) 2>&1 |
73131 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73132 *${as_nl}ac_space=\ *)
73133 # `set' does not quote correctly, so add quotes: double-quote
73134 # substitution turns \\\\ into \\, and sed turns \\ into \.
73135 sed -n \
73136 "s/'/'\\\\''/g;
73137 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73138 ;; #(
73140 # `set' quotes correctly as required by POSIX, so do not add quotes.
73141 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73143 esac |
73144 sort
73146 sed '
73147 /^ac_cv_env_/b end
73148 t clear
73149 :clear
73150 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73151 t end
73152 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73153 :end' >>confcache
73154 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73155 if test -w "$cache_file"; then
73156 test "x$cache_file" != "x/dev/null" &&
73157 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73158 $as_echo "$as_me: updating cache $cache_file" >&6;}
73159 cat confcache >$cache_file
73160 else
73161 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73162 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73165 rm -f confcache
73167 if test ${multilib} = yes; then
73168 multilib_arg="--enable-multilib"
73169 else
73170 multilib_arg=
73173 # Export all the install information.
73175 glibcxx_toolexecdir=no
73176 glibcxx_toolexeclibdir=no
73177 glibcxx_prefixdir=$prefix
73179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73180 $as_echo_n "checking for gxx-include-dir... " >&6; }
73182 # Check whether --with-gxx-include-dir was given.
73183 if test "${with_gxx_include_dir+set}" = set; then :
73184 withval=$with_gxx_include_dir; case "$withval" in
73185 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73186 no) gxx_include_dir=no ;;
73187 *) gxx_include_dir=$withval ;;
73188 esac
73189 else
73190 gxx_include_dir=no
73193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73194 $as_echo "$gxx_include_dir" >&6; }
73196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73197 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73198 # Check whether --enable-version-specific-runtime-libs was given.
73199 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73200 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73201 yes) version_specific_libs=yes ;;
73202 no) version_specific_libs=no ;;
73203 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73204 esac
73205 else
73206 version_specific_libs=no
73209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73210 $as_echo "$version_specific_libs" >&6; }
73212 # Default case for install directory for include files.
73213 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73214 gxx_include_dir='include/c++/${gcc_version}'
73215 if test -n "$with_cross_host" &&
73216 test x"$with_cross_host" != x"no"; then
73217 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73218 else
73219 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73223 # Version-specific runtime libs processing.
73224 if test $version_specific_libs = yes; then
73225 # Need the gcc compiler version to know where to install libraries
73226 # and header files if --enable-version-specific-runtime-libs option
73227 # is selected. FIXME: these variables are misnamed, there are
73228 # no executables installed in _toolexecdir or _toolexeclibdir.
73229 if test x"$gxx_include_dir" = x"no"; then
73230 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73232 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73233 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73236 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73237 # Install a library built with a cross compiler in tooldir, not libdir.
73238 if test x"$glibcxx_toolexecdir" = x"no"; then
73239 if test -n "$with_cross_host" &&
73240 test x"$with_cross_host" != x"no"; then
73241 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73242 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73243 else
73244 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73245 glibcxx_toolexeclibdir='${libdir}'
73247 multi_os_directory=`$CXX -print-multi-os-directory`
73248 case $multi_os_directory in
73249 .) ;; # Avoid trailing /.
73250 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73251 esac
73254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73255 $as_echo_n "checking for install location... " >&6; }
73256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73257 $as_echo "$gxx_include_dir" >&6; }
73265 # Export all the include and flag information to Makefiles.
73267 # Used for every C++ compile we perform.
73268 GLIBCXX_INCLUDES="\
73269 -I$glibcxx_builddir/include/$host_alias \
73270 -I$glibcxx_builddir/include \
73271 -I$glibcxx_srcdir/libsupc++"
73273 # For Canadian crosses, pick this up too.
73274 if test $CANADIAN = yes; then
73275 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73278 # Stuff in the actual top level. Currently only used by libsupc++ to
73279 # get unwind* headers from the libgcc dir.
73280 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73281 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73283 # Now, export this to all the little Makefiles....
73288 # Optimization flags that are probably a good idea for thrill-seekers. Just
73289 # uncomment the lines below and make, everything else is ready to go...
73290 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73291 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73294 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73298 ac_config_files="$ac_config_files Makefile"
73300 ac_config_files="$ac_config_files scripts/testsuite_flags"
73302 ac_config_files="$ac_config_files scripts/extract_symvers"
73304 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73307 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73308 # that multilib installs will end up installed in the correct place.
73309 # The testsuite needs it for multilib-aware ABI baseline files.
73310 # To work around this not being passed down from config-ml.in ->
73311 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73312 # append it here. Only modify Makefiles that have just been created.
73314 # Also, get rid of this simulated-VPATH thing that automake does.
73315 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"
73318 ac_config_commands="$ac_config_commands generate-headers"
73321 cat >confcache <<\_ACEOF
73322 # This file is a shell script that caches the results of configure
73323 # tests run on this system so they can be shared between configure
73324 # scripts and configure runs, see configure's option --config-cache.
73325 # It is not useful on other systems. If it contains results you don't
73326 # want to keep, you may remove or edit it.
73328 # config.status only pays attention to the cache file if you give it
73329 # the --recheck option to rerun configure.
73331 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73333 # following values.
73335 _ACEOF
73337 # The following way of writing the cache mishandles newlines in values,
73338 # but we know of no workaround that is simple, portable, and efficient.
73339 # So, we kill variables containing newlines.
73340 # Ultrix sh set writes to stderr and can't be redirected directly,
73341 # and sets the high bit in the cache file unless we assign to the vars.
73343 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73344 eval ac_val=\$$ac_var
73345 case $ac_val in #(
73346 *${as_nl}*)
73347 case $ac_var in #(
73348 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73349 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73350 esac
73351 case $ac_var in #(
73352 _ | IFS | as_nl) ;; #(
73353 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73354 *) { eval $ac_var=; unset $ac_var;} ;;
73355 esac ;;
73356 esac
73357 done
73359 (set) 2>&1 |
73360 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73361 *${as_nl}ac_space=\ *)
73362 # `set' does not quote correctly, so add quotes: double-quote
73363 # substitution turns \\\\ into \\, and sed turns \\ into \.
73364 sed -n \
73365 "s/'/'\\\\''/g;
73366 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73367 ;; #(
73369 # `set' quotes correctly as required by POSIX, so do not add quotes.
73370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73372 esac |
73373 sort
73375 sed '
73376 /^ac_cv_env_/b end
73377 t clear
73378 :clear
73379 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73380 t end
73381 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73382 :end' >>confcache
73383 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73384 if test -w "$cache_file"; then
73385 test "x$cache_file" != "x/dev/null" &&
73386 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73387 $as_echo "$as_me: updating cache $cache_file" >&6;}
73388 cat confcache >$cache_file
73389 else
73390 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73391 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73394 rm -f confcache
73396 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73397 # Let make expand exec_prefix.
73398 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73400 DEFS=-DHAVE_CONFIG_H
73402 ac_libobjs=
73403 ac_ltlibobjs=
73404 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73405 # 1. Remove the extension, and $U if already installed.
73406 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73407 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73408 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73409 # will be set to the directory where LIBOBJS objects are built.
73410 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73411 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73412 done
73413 LIBOBJS=$ac_libobjs
73415 LTLIBOBJS=$ac_ltlibobjs
73418 if test -n "$EXEEXT"; then
73419 am__EXEEXT_TRUE=
73420 am__EXEEXT_FALSE='#'
73421 else
73422 am__EXEEXT_TRUE='#'
73423 am__EXEEXT_FALSE=
73426 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73427 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73430 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73431 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73434 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73435 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73438 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73439 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73442 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73443 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73446 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73447 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73450 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73451 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73454 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73455 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73458 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73459 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73462 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73463 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73466 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73467 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73470 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
73471 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
73472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73474 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73475 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73478 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73479 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73482 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73483 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73484 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73486 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73487 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73488 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73490 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73491 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73492 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73494 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73495 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73498 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73499 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73502 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73503 as_fn_error "conditional \"BUILD_INFO\" was never defined.
73504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73506 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73507 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73510 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73511 as_fn_error "conditional \"BUILD_XML\" was never defined.
73512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73514 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73515 as_fn_error "conditional \"BUILD_HTML\" was never defined.
73516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73518 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73519 as_fn_error "conditional \"BUILD_MAN\" was never defined.
73520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73522 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73523 as_fn_error "conditional \"BUILD_PDF\" was never defined.
73524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73527 : ${CONFIG_STATUS=./config.status}
73528 ac_write_fail=0
73529 ac_clean_files_save=$ac_clean_files
73530 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73531 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73532 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73533 as_write_fail=0
73534 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73535 #! $SHELL
73536 # Generated by $as_me.
73537 # Run this file to recreate the current configuration.
73538 # Compiler output produced by configure, useful for debugging
73539 # configure, is in config.log if it exists.
73541 debug=false
73542 ac_cs_recheck=false
73543 ac_cs_silent=false
73545 SHELL=\${CONFIG_SHELL-$SHELL}
73546 export SHELL
73547 _ASEOF
73548 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73549 ## -------------------- ##
73550 ## M4sh Initialization. ##
73551 ## -------------------- ##
73553 # Be more Bourne compatible
73554 DUALCASE=1; export DUALCASE # for MKS sh
73555 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73556 emulate sh
73557 NULLCMD=:
73558 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73559 # is contrary to our usage. Disable this feature.
73560 alias -g '${1+"$@"}'='"$@"'
73561 setopt NO_GLOB_SUBST
73562 else
73563 case `(set -o) 2>/dev/null` in #(
73564 *posix*) :
73565 set -o posix ;; #(
73566 *) :
73568 esac
73572 as_nl='
73574 export as_nl
73575 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73576 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73577 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73578 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73579 # Prefer a ksh shell builtin over an external printf program on Solaris,
73580 # but without wasting forks for bash or zsh.
73581 if test -z "$BASH_VERSION$ZSH_VERSION" \
73582 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73583 as_echo='print -r --'
73584 as_echo_n='print -rn --'
73585 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73586 as_echo='printf %s\n'
73587 as_echo_n='printf %s'
73588 else
73589 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73590 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73591 as_echo_n='/usr/ucb/echo -n'
73592 else
73593 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73594 as_echo_n_body='eval
73595 arg=$1;
73596 case $arg in #(
73597 *"$as_nl"*)
73598 expr "X$arg" : "X\\(.*\\)$as_nl";
73599 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73600 esac;
73601 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73603 export as_echo_n_body
73604 as_echo_n='sh -c $as_echo_n_body as_echo'
73606 export as_echo_body
73607 as_echo='sh -c $as_echo_body as_echo'
73610 # The user is always right.
73611 if test "${PATH_SEPARATOR+set}" != set; then
73612 PATH_SEPARATOR=:
73613 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73614 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73615 PATH_SEPARATOR=';'
73620 # IFS
73621 # We need space, tab and new line, in precisely that order. Quoting is
73622 # there to prevent editors from complaining about space-tab.
73623 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73624 # splitting by setting IFS to empty value.)
73625 IFS=" "" $as_nl"
73627 # Find who we are. Look in the path if we contain no directory separator.
73628 case $0 in #((
73629 *[\\/]* ) as_myself=$0 ;;
73630 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73631 for as_dir in $PATH
73633 IFS=$as_save_IFS
73634 test -z "$as_dir" && as_dir=.
73635 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73636 done
73637 IFS=$as_save_IFS
73640 esac
73641 # We did not find ourselves, most probably we were run as `sh COMMAND'
73642 # in which case we are not to be found in the path.
73643 if test "x$as_myself" = x; then
73644 as_myself=$0
73646 if test ! -f "$as_myself"; then
73647 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73648 exit 1
73651 # Unset variables that we do not need and which cause bugs (e.g. in
73652 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73653 # suppresses any "Segmentation fault" message there. '((' could
73654 # trigger a bug in pdksh 5.2.14.
73655 for as_var in BASH_ENV ENV MAIL MAILPATH
73656 do eval test x\${$as_var+set} = xset \
73657 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73658 done
73659 PS1='$ '
73660 PS2='> '
73661 PS4='+ '
73663 # NLS nuisances.
73664 LC_ALL=C
73665 export LC_ALL
73666 LANGUAGE=C
73667 export LANGUAGE
73669 # CDPATH.
73670 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73673 # as_fn_error ERROR [LINENO LOG_FD]
73674 # ---------------------------------
73675 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73676 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73677 # script with status $?, using 1 if that was 0.
73678 as_fn_error ()
73680 as_status=$?; test $as_status -eq 0 && as_status=1
73681 if test "$3"; then
73682 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73683 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73685 $as_echo "$as_me: error: $1" >&2
73686 as_fn_exit $as_status
73687 } # as_fn_error
73690 # as_fn_set_status STATUS
73691 # -----------------------
73692 # Set $? to STATUS, without forking.
73693 as_fn_set_status ()
73695 return $1
73696 } # as_fn_set_status
73698 # as_fn_exit STATUS
73699 # -----------------
73700 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73701 as_fn_exit ()
73703 set +e
73704 as_fn_set_status $1
73705 exit $1
73706 } # as_fn_exit
73708 # as_fn_unset VAR
73709 # ---------------
73710 # Portably unset VAR.
73711 as_fn_unset ()
73713 { eval $1=; unset $1;}
73715 as_unset=as_fn_unset
73716 # as_fn_append VAR VALUE
73717 # ----------------------
73718 # Append the text in VALUE to the end of the definition contained in VAR. Take
73719 # advantage of any shell optimizations that allow amortized linear growth over
73720 # repeated appends, instead of the typical quadratic growth present in naive
73721 # implementations.
73722 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73723 eval 'as_fn_append ()
73725 eval $1+=\$2
73727 else
73728 as_fn_append ()
73730 eval $1=\$$1\$2
73732 fi # as_fn_append
73734 # as_fn_arith ARG...
73735 # ------------------
73736 # Perform arithmetic evaluation on the ARGs, and store the result in the
73737 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73738 # must be portable across $(()) and expr.
73739 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73740 eval 'as_fn_arith ()
73742 as_val=$(( $* ))
73744 else
73745 as_fn_arith ()
73747 as_val=`expr "$@" || test $? -eq 1`
73749 fi # as_fn_arith
73752 if expr a : '\(a\)' >/dev/null 2>&1 &&
73753 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73754 as_expr=expr
73755 else
73756 as_expr=false
73759 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73760 as_basename=basename
73761 else
73762 as_basename=false
73765 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73766 as_dirname=dirname
73767 else
73768 as_dirname=false
73771 as_me=`$as_basename -- "$0" ||
73772 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73773 X"$0" : 'X\(//\)$' \| \
73774 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73775 $as_echo X/"$0" |
73776 sed '/^.*\/\([^/][^/]*\)\/*$/{
73777 s//\1/
73780 /^X\/\(\/\/\)$/{
73781 s//\1/
73784 /^X\/\(\/\).*/{
73785 s//\1/
73788 s/.*/./; q'`
73790 # Avoid depending upon Character Ranges.
73791 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73792 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73793 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73794 as_cr_digits='0123456789'
73795 as_cr_alnum=$as_cr_Letters$as_cr_digits
73797 ECHO_C= ECHO_N= ECHO_T=
73798 case `echo -n x` in #(((((
73799 -n*)
73800 case `echo 'xy\c'` in
73801 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73802 xy) ECHO_C='\c';;
73803 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73804 ECHO_T=' ';;
73805 esac;;
73807 ECHO_N='-n';;
73808 esac
73810 rm -f conf$$ conf$$.exe conf$$.file
73811 if test -d conf$$.dir; then
73812 rm -f conf$$.dir/conf$$.file
73813 else
73814 rm -f conf$$.dir
73815 mkdir conf$$.dir 2>/dev/null
73817 if (echo >conf$$.file) 2>/dev/null; then
73818 if ln -s conf$$.file conf$$ 2>/dev/null; then
73819 as_ln_s='ln -s'
73820 # ... but there are two gotchas:
73821 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73822 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73823 # In both cases, we have to default to `cp -p'.
73824 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73825 as_ln_s='cp -p'
73826 elif ln conf$$.file conf$$ 2>/dev/null; then
73827 as_ln_s=ln
73828 else
73829 as_ln_s='cp -p'
73831 else
73832 as_ln_s='cp -p'
73834 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73835 rmdir conf$$.dir 2>/dev/null
73838 # as_fn_mkdir_p
73839 # -------------
73840 # Create "$as_dir" as a directory, including parents if necessary.
73841 as_fn_mkdir_p ()
73844 case $as_dir in #(
73845 -*) as_dir=./$as_dir;;
73846 esac
73847 test -d "$as_dir" || eval $as_mkdir_p || {
73848 as_dirs=
73849 while :; do
73850 case $as_dir in #(
73851 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73852 *) as_qdir=$as_dir;;
73853 esac
73854 as_dirs="'$as_qdir' $as_dirs"
73855 as_dir=`$as_dirname -- "$as_dir" ||
73856 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73857 X"$as_dir" : 'X\(//\)[^/]' \| \
73858 X"$as_dir" : 'X\(//\)$' \| \
73859 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73860 $as_echo X"$as_dir" |
73861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73862 s//\1/
73865 /^X\(\/\/\)[^/].*/{
73866 s//\1/
73869 /^X\(\/\/\)$/{
73870 s//\1/
73873 /^X\(\/\).*/{
73874 s//\1/
73877 s/.*/./; q'`
73878 test -d "$as_dir" && break
73879 done
73880 test -z "$as_dirs" || eval "mkdir $as_dirs"
73881 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73884 } # as_fn_mkdir_p
73885 if mkdir -p . 2>/dev/null; then
73886 as_mkdir_p='mkdir -p "$as_dir"'
73887 else
73888 test -d ./-p && rmdir ./-p
73889 as_mkdir_p=false
73892 if test -x / >/dev/null 2>&1; then
73893 as_test_x='test -x'
73894 else
73895 if ls -dL / >/dev/null 2>&1; then
73896 as_ls_L_option=L
73897 else
73898 as_ls_L_option=
73900 as_test_x='
73901 eval sh -c '\''
73902 if test -d "$1"; then
73903 test -d "$1/.";
73904 else
73905 case $1 in #(
73906 -*)set "./$1";;
73907 esac;
73908 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73909 ???[sx]*):;;*)false;;esac;fi
73910 '\'' sh
73913 as_executable_p=$as_test_x
73915 # Sed expression to map a string onto a valid CPP name.
73916 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73918 # Sed expression to map a string onto a valid variable name.
73919 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73922 exec 6>&1
73923 ## ----------------------------------- ##
73924 ## Main body of $CONFIG_STATUS script. ##
73925 ## ----------------------------------- ##
73926 _ASEOF
73927 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73930 # Save the log message, to keep $0 and so on meaningful, and to
73931 # report actual input values of CONFIG_FILES etc. instead of their
73932 # values after options handling.
73933 ac_log="
73934 This file was extended by package-unused $as_me version-unused, which was
73935 generated by GNU Autoconf 2.64. Invocation command line was
73937 CONFIG_FILES = $CONFIG_FILES
73938 CONFIG_HEADERS = $CONFIG_HEADERS
73939 CONFIG_LINKS = $CONFIG_LINKS
73940 CONFIG_COMMANDS = $CONFIG_COMMANDS
73941 $ $0 $@
73943 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73946 _ACEOF
73948 case $ac_config_files in *"
73949 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73950 esac
73952 case $ac_config_headers in *"
73953 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73954 esac
73957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73958 # Files that config.status was made for.
73959 config_files="$ac_config_files"
73960 config_headers="$ac_config_headers"
73961 config_commands="$ac_config_commands"
73963 _ACEOF
73965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73966 ac_cs_usage="\
73967 \`$as_me' instantiates files and other configuration actions
73968 from templates according to the current configuration. Unless the files
73969 and actions are specified as TAGs, all are instantiated by default.
73971 Usage: $0 [OPTION]... [TAG]...
73973 -h, --help print this help, then exit
73974 -V, --version print version number and configuration settings, then exit
73975 -q, --quiet, --silent
73976 do not print progress messages
73977 -d, --debug don't remove temporary files
73978 --recheck update $as_me by reconfiguring in the same conditions
73979 --file=FILE[:TEMPLATE]
73980 instantiate the configuration file FILE
73981 --header=FILE[:TEMPLATE]
73982 instantiate the configuration header FILE
73984 Configuration files:
73985 $config_files
73987 Configuration headers:
73988 $config_headers
73990 Configuration commands:
73991 $config_commands
73993 Report bugs to the package provider."
73995 _ACEOF
73996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73997 ac_cs_version="\\
73998 package-unused config.status version-unused
73999 configured by $0, generated by GNU Autoconf 2.64,
74000 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
74002 Copyright (C) 2009 Free Software Foundation, Inc.
74003 This config.status script is free software; the Free Software Foundation
74004 gives unlimited permission to copy, distribute and modify it."
74006 ac_pwd='$ac_pwd'
74007 srcdir='$srcdir'
74008 INSTALL='$INSTALL'
74009 MKDIR_P='$MKDIR_P'
74010 AWK='$AWK'
74011 test -n "\$AWK" || AWK=awk
74012 _ACEOF
74014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74015 # The default lists apply if the user does not specify any file.
74016 ac_need_defaults=:
74017 while test $# != 0
74019 case $1 in
74020 --*=*)
74021 ac_option=`expr "X$1" : 'X\([^=]*\)='`
74022 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
74023 ac_shift=:
74026 ac_option=$1
74027 ac_optarg=$2
74028 ac_shift=shift
74030 esac
74032 case $ac_option in
74033 # Handling of the options.
74034 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
74035 ac_cs_recheck=: ;;
74036 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
74037 $as_echo "$ac_cs_version"; exit ;;
74038 --debug | --debu | --deb | --de | --d | -d )
74039 debug=: ;;
74040 --file | --fil | --fi | --f )
74041 $ac_shift
74042 case $ac_optarg in
74043 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74044 esac
74045 as_fn_append CONFIG_FILES " '$ac_optarg'"
74046 ac_need_defaults=false;;
74047 --header | --heade | --head | --hea )
74048 $ac_shift
74049 case $ac_optarg in
74050 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74051 esac
74052 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
74053 ac_need_defaults=false;;
74054 --he | --h)
74055 # Conflict between --help and --header
74056 as_fn_error "ambiguous option: \`$1'
74057 Try \`$0 --help' for more information.";;
74058 --help | --hel | -h )
74059 $as_echo "$ac_cs_usage"; exit ;;
74060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
74061 | -silent | --silent | --silen | --sile | --sil | --si | --s)
74062 ac_cs_silent=: ;;
74064 # This is an error.
74065 -*) as_fn_error "unrecognized option: \`$1'
74066 Try \`$0 --help' for more information." ;;
74068 *) as_fn_append ac_config_targets " $1"
74069 ac_need_defaults=false ;;
74071 esac
74072 shift
74073 done
74075 ac_configure_extra_args=
74077 if $ac_cs_silent; then
74078 exec 6>/dev/null
74079 ac_configure_extra_args="$ac_configure_extra_args --silent"
74082 _ACEOF
74083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74084 if \$ac_cs_recheck; then
74085 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
74086 shift
74087 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
74088 CONFIG_SHELL='$SHELL'
74089 export CONFIG_SHELL
74090 exec "\$@"
74093 _ACEOF
74094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74095 exec 5>>config.log
74097 echo
74098 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
74099 ## Running $as_me. ##
74100 _ASBOX
74101 $as_echo "$ac_log"
74102 } >&5
74104 _ACEOF
74105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74107 # INIT-COMMANDS
74110 srcdir="$srcdir"
74111 host="$host"
74112 target="$target"
74113 with_multisubdir="$with_multisubdir"
74114 with_multisrctop="$with_multisrctop"
74115 with_target_subdir="$with_target_subdir"
74116 ac_configure_args="${multilib_arg} ${ac_configure_args}"
74117 multi_basedir="$multi_basedir"
74118 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74119 CC="$CC"
74120 CXX="$CXX"
74121 GFORTRAN="$GFORTRAN"
74122 GCJ="$GCJ"
74125 # The HP-UX ksh and POSIX shell print the target directory to stdout
74126 # if CDPATH is set.
74127 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74129 sed_quote_subst='$sed_quote_subst'
74130 double_quote_subst='$double_quote_subst'
74131 delay_variable_subst='$delay_variable_subst'
74132 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74133 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74134 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74135 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74136 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74137 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74138 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74139 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74140 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74141 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74142 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74143 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74144 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74145 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74146 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74147 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74148 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74149 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74150 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74151 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74152 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74153 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74154 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74155 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74156 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74157 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74158 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74159 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74160 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74161 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74162 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74163 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74164 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74165 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74166 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74167 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74168 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74169 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74170 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74171 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74172 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74173 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74174 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74175 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74176 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74177 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74178 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74179 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74180 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"`'
74181 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74182 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74183 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74184 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74185 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74186 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74187 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74188 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74189 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74190 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74191 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74192 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74193 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74194 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74195 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74196 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74197 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74198 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74199 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74200 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74201 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74202 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74203 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74204 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74205 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74206 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74207 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74208 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74209 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74210 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74211 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74212 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74213 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74214 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74215 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74216 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74217 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74218 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74219 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74220 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74221 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74222 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74223 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74224 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74225 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74226 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74227 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74228 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74229 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74230 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74231 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74232 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74233 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74234 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74235 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74236 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74237 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74238 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74239 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74240 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74241 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74242 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74243 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74244 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74245 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74246 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74247 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74248 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74249 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74250 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74251 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74252 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74253 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74254 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74255 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74256 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74257 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74258 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74259 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74260 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74261 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74262 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74263 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74264 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74265 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74266 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74267 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74268 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74269 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74270 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74271 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74272 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74273 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74274 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74275 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74276 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74277 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74278 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74279 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74280 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74281 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74282 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74283 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74284 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74285 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74286 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74287 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74288 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74289 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74290 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74291 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74292 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74293 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74294 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74295 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74296 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74297 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74298 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74299 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74300 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74301 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74302 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74303 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74304 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74305 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74306 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74308 LTCC='$LTCC'
74309 LTCFLAGS='$LTCFLAGS'
74310 compiler='$compiler_DEFAULT'
74312 # A function that is used when there is no print builtin or printf.
74313 func_fallback_echo ()
74315 eval 'cat <<_LTECHO_EOF
74317 _LTECHO_EOF'
74320 # Quote evaled strings.
74321 for var in SHELL \
74322 ECHO \
74323 SED \
74324 GREP \
74325 EGREP \
74326 FGREP \
74327 LD \
74328 NM \
74329 LN_S \
74330 lt_SP2NL \
74331 lt_NL2SP \
74332 reload_flag \
74333 OBJDUMP \
74334 deplibs_check_method \
74335 file_magic_cmd \
74336 AR \
74337 AR_FLAGS \
74338 STRIP \
74339 RANLIB \
74340 CC \
74341 CFLAGS \
74342 compiler \
74343 lt_cv_sys_global_symbol_pipe \
74344 lt_cv_sys_global_symbol_to_cdecl \
74345 lt_cv_sys_global_symbol_to_c_name_address \
74346 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74347 lt_prog_compiler_no_builtin_flag \
74348 lt_prog_compiler_wl \
74349 lt_prog_compiler_pic \
74350 lt_prog_compiler_static \
74351 lt_cv_prog_compiler_c_o \
74352 need_locks \
74353 DSYMUTIL \
74354 NMEDIT \
74355 LIPO \
74356 OTOOL \
74357 OTOOL64 \
74358 shrext_cmds \
74359 export_dynamic_flag_spec \
74360 whole_archive_flag_spec \
74361 compiler_needs_object \
74362 with_gnu_ld \
74363 allow_undefined_flag \
74364 no_undefined_flag \
74365 hardcode_libdir_flag_spec \
74366 hardcode_libdir_flag_spec_ld \
74367 hardcode_libdir_separator \
74368 fix_srcfile_path \
74369 exclude_expsyms \
74370 include_expsyms \
74371 file_list_spec \
74372 variables_saved_for_relink \
74373 libname_spec \
74374 library_names_spec \
74375 soname_spec \
74376 install_override_mode \
74377 finish_eval \
74378 old_striplib \
74379 striplib \
74380 compiler_lib_search_dirs \
74381 predep_objects \
74382 postdep_objects \
74383 predeps \
74384 postdeps \
74385 compiler_lib_search_path \
74386 LD_CXX \
74387 reload_flag_CXX \
74388 compiler_CXX \
74389 lt_prog_compiler_no_builtin_flag_CXX \
74390 lt_prog_compiler_wl_CXX \
74391 lt_prog_compiler_pic_CXX \
74392 lt_prog_compiler_static_CXX \
74393 lt_cv_prog_compiler_c_o_CXX \
74394 export_dynamic_flag_spec_CXX \
74395 whole_archive_flag_spec_CXX \
74396 compiler_needs_object_CXX \
74397 with_gnu_ld_CXX \
74398 allow_undefined_flag_CXX \
74399 no_undefined_flag_CXX \
74400 hardcode_libdir_flag_spec_CXX \
74401 hardcode_libdir_flag_spec_ld_CXX \
74402 hardcode_libdir_separator_CXX \
74403 fix_srcfile_path_CXX \
74404 exclude_expsyms_CXX \
74405 include_expsyms_CXX \
74406 file_list_spec_CXX \
74407 compiler_lib_search_dirs_CXX \
74408 predep_objects_CXX \
74409 postdep_objects_CXX \
74410 predeps_CXX \
74411 postdeps_CXX \
74412 compiler_lib_search_path_CXX; do
74413 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74414 *[\\\\\\\`\\"\\\$]*)
74415 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74418 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74420 esac
74421 done
74423 # Double-quote double-evaled strings.
74424 for var in reload_cmds \
74425 old_postinstall_cmds \
74426 old_postuninstall_cmds \
74427 old_archive_cmds \
74428 extract_expsyms_cmds \
74429 old_archive_from_new_cmds \
74430 old_archive_from_expsyms_cmds \
74431 archive_cmds \
74432 archive_expsym_cmds \
74433 module_cmds \
74434 module_expsym_cmds \
74435 export_symbols_cmds \
74436 prelink_cmds \
74437 postinstall_cmds \
74438 postuninstall_cmds \
74439 finish_cmds \
74440 sys_lib_search_path_spec \
74441 sys_lib_dlsearch_path_spec \
74442 reload_cmds_CXX \
74443 old_archive_cmds_CXX \
74444 old_archive_from_new_cmds_CXX \
74445 old_archive_from_expsyms_cmds_CXX \
74446 archive_cmds_CXX \
74447 archive_expsym_cmds_CXX \
74448 module_cmds_CXX \
74449 module_expsym_cmds_CXX \
74450 export_symbols_cmds_CXX \
74451 prelink_cmds_CXX; do
74452 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74453 *[\\\\\\\`\\"\\\$]*)
74454 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74457 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74459 esac
74460 done
74462 ac_aux_dir='$ac_aux_dir'
74463 xsi_shell='$xsi_shell'
74464 lt_shell_append='$lt_shell_append'
74466 # See if we are running on zsh, and set the options which allow our
74467 # commands through without removal of \ escapes INIT.
74468 if test -n "\${ZSH_VERSION+set}" ; then
74469 setopt NO_GLOB_SUBST
74473 PACKAGE='$PACKAGE'
74474 VERSION='$VERSION'
74475 TIMESTAMP='$TIMESTAMP'
74476 RM='$RM'
74477 ofile='$ofile'
74484 GCC="$GCC"
74485 CC="$CC"
74486 acx_cv_header_stdint="$acx_cv_header_stdint"
74487 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74488 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74489 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74490 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74491 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74492 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74493 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74494 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74495 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74496 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74497 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74498 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74499 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74502 _ACEOF
74504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74506 # Handling of arguments.
74507 for ac_config_target in $ac_config_targets
74509 case $ac_config_target in
74510 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74511 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74512 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74513 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74514 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74515 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74516 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74517 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74518 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74519 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74520 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74521 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74522 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74523 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74524 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74525 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74526 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74527 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74529 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74530 esac
74531 done
74534 # If the user did not use the arguments to specify the items to instantiate,
74535 # then the envvar interface is used. Set only those that are not.
74536 # We use the long form for the default assignment because of an extremely
74537 # bizarre bug on SunOS 4.1.3.
74538 if $ac_need_defaults; then
74539 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74540 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74541 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74544 # Have a temporary directory for convenience. Make it in the build tree
74545 # simply because there is no reason against having it here, and in addition,
74546 # creating and moving files from /tmp can sometimes cause problems.
74547 # Hook for its removal unless debugging.
74548 # Note that there is a small window in which the directory will not be cleaned:
74549 # after its creation but before its name has been assigned to `$tmp'.
74550 $debug ||
74552 tmp=
74553 trap 'exit_status=$?
74554 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74556 trap 'as_fn_exit 1' 1 2 13 15
74558 # Create a (secure) tmp directory for tmp files.
74561 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74562 test -n "$tmp" && test -d "$tmp"
74563 } ||
74565 tmp=./conf$$-$RANDOM
74566 (umask 077 && mkdir "$tmp")
74567 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74569 # Set up the scripts for CONFIG_FILES section.
74570 # No need to generate them if there are no CONFIG_FILES.
74571 # This happens for instance with `./config.status config.h'.
74572 if test -n "$CONFIG_FILES"; then
74575 ac_cr=`echo X | tr X '\015'`
74576 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74577 # But we know of no other shell where ac_cr would be empty at this
74578 # point, so we can use a bashism as a fallback.
74579 if test "x$ac_cr" = x; then
74580 eval ac_cr=\$\'\\r\'
74582 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74583 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74584 ac_cs_awk_cr='\r'
74585 else
74586 ac_cs_awk_cr=$ac_cr
74589 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74590 _ACEOF
74594 echo "cat >conf$$subs.awk <<_ACEOF" &&
74595 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74596 echo "_ACEOF"
74597 } >conf$$subs.sh ||
74598 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74599 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74600 ac_delim='%!_!# '
74601 for ac_last_try in false false false false false :; do
74602 . ./conf$$subs.sh ||
74603 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74605 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74606 if test $ac_delim_n = $ac_delim_num; then
74607 break
74608 elif $ac_last_try; then
74609 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74610 else
74611 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74613 done
74614 rm -f conf$$subs.sh
74616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74617 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74618 _ACEOF
74619 sed -n '
74621 s/^/S["/; s/!.*/"]=/
74624 s/^[^!]*!//
74625 :repl
74626 t repl
74627 s/'"$ac_delim"'$//
74628 t delim
74631 s/\(.\{148\}\).*/\1/
74632 t more1
74633 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74636 b repl
74637 :more1
74638 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74641 s/.\{148\}//
74642 t nl
74643 :delim
74645 s/\(.\{148\}\).*/\1/
74646 t more2
74647 s/["\\]/\\&/g; s/^/"/; s/$/"/
74650 :more2
74651 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74654 s/.\{148\}//
74655 t delim
74656 ' <conf$$subs.awk | sed '
74657 /^[^""]/{
74659 s/\n//
74661 ' >>$CONFIG_STATUS || ac_write_fail=1
74662 rm -f conf$$subs.awk
74663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74664 _ACAWK
74665 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74666 for (key in S) S_is_set[key] = 1
74667 FS = "\a"
74671 line = $ 0
74672 nfields = split(line, field, "@")
74673 substed = 0
74674 len = length(field[1])
74675 for (i = 2; i < nfields; i++) {
74676 key = field[i]
74677 keylen = length(key)
74678 if (S_is_set[key]) {
74679 value = S[key]
74680 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74681 len += length(value) + length(field[++i])
74682 substed = 1
74683 } else
74684 len += 1 + keylen
74687 print line
74690 _ACAWK
74691 _ACEOF
74692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74693 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74694 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74695 else
74697 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74698 || as_fn_error "could not setup config files machinery" "$LINENO" 5
74699 _ACEOF
74701 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74702 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74703 # trailing colons and then remove the whole line if VPATH becomes empty
74704 # (actually we leave an empty line to preserve line numbers).
74705 if test "x$srcdir" = x.; then
74706 ac_vpsub='/^[ ]*VPATH[ ]*=/{
74707 s/:*\$(srcdir):*/:/
74708 s/:*\${srcdir}:*/:/
74709 s/:*@srcdir@:*/:/
74710 s/^\([^=]*=[ ]*\):*/\1/
74711 s/:*$//
74712 s/^[^=]*=[ ]*$//
74716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74717 fi # test -n "$CONFIG_FILES"
74719 # Set up the scripts for CONFIG_HEADERS section.
74720 # No need to generate them if there are no CONFIG_HEADERS.
74721 # This happens for instance with `./config.status Makefile'.
74722 if test -n "$CONFIG_HEADERS"; then
74723 cat >"$tmp/defines.awk" <<\_ACAWK ||
74724 BEGIN {
74725 _ACEOF
74727 # Transform confdefs.h into an awk script `defines.awk', embedded as
74728 # here-document in config.status, that substitutes the proper values into
74729 # config.h.in to produce config.h.
74731 # Create a delimiter string that does not exist in confdefs.h, to ease
74732 # handling of long lines.
74733 ac_delim='%!_!# '
74734 for ac_last_try in false false :; do
74735 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74736 if test -z "$ac_t"; then
74737 break
74738 elif $ac_last_try; then
74739 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74740 else
74741 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74743 done
74745 # For the awk script, D is an array of macro values keyed by name,
74746 # likewise P contains macro parameters if any. Preserve backslash
74747 # newline sequences.
74749 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74750 sed -n '
74751 s/.\{148\}/&'"$ac_delim"'/g
74752 t rset
74753 :rset
74754 s/^[ ]*#[ ]*define[ ][ ]*/ /
74755 t def
74757 :def
74758 s/\\$//
74759 t bsnl
74760 s/["\\]/\\&/g
74761 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74762 D["\1"]=" \3"/p
74763 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74765 :bsnl
74766 s/["\\]/\\&/g
74767 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74768 D["\1"]=" \3\\\\\\n"\\/p
74769 t cont
74770 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74771 t cont
74773 :cont
74775 s/.\{148\}/&'"$ac_delim"'/g
74776 t clear
74777 :clear
74778 s/\\$//
74779 t bsnlc
74780 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74782 :bsnlc
74783 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74784 b cont
74785 ' <confdefs.h | sed '
74786 s/'"$ac_delim"'/"\\\
74787 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74790 for (key in D) D_is_set[key] = 1
74791 FS = "\a"
74793 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74794 line = \$ 0
74795 split(line, arg, " ")
74796 if (arg[1] == "#") {
74797 defundef = arg[2]
74798 mac1 = arg[3]
74799 } else {
74800 defundef = substr(arg[1], 2)
74801 mac1 = arg[2]
74803 split(mac1, mac2, "(") #)
74804 macro = mac2[1]
74805 prefix = substr(line, 1, index(line, defundef) - 1)
74806 if (D_is_set[macro]) {
74807 # Preserve the white space surrounding the "#".
74808 print prefix "define", macro P[macro] D[macro]
74809 next
74810 } else {
74811 # Replace #undef with comments. This is necessary, for example,
74812 # in the case of _POSIX_SOURCE, which is predefined and required
74813 # on some systems where configure will not decide to define it.
74814 if (defundef == "undef") {
74815 print "/*", prefix defundef, macro, "*/"
74816 next
74820 { print }
74821 _ACAWK
74822 _ACEOF
74823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74824 as_fn_error "could not setup config headers machinery" "$LINENO" 5
74825 fi # test -n "$CONFIG_HEADERS"
74828 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74829 shift
74830 for ac_tag
74832 case $ac_tag in
74833 :[FHLC]) ac_mode=$ac_tag; continue;;
74834 esac
74835 case $ac_mode$ac_tag in
74836 :[FHL]*:*);;
74837 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74838 :[FH]-) ac_tag=-:-;;
74839 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74840 esac
74841 ac_save_IFS=$IFS
74842 IFS=:
74843 set x $ac_tag
74844 IFS=$ac_save_IFS
74845 shift
74846 ac_file=$1
74847 shift
74849 case $ac_mode in
74850 :L) ac_source=$1;;
74851 :[FH])
74852 ac_file_inputs=
74853 for ac_f
74855 case $ac_f in
74856 -) ac_f="$tmp/stdin";;
74857 *) # Look for the file first in the build tree, then in the source tree
74858 # (if the path is not absolute). The absolute path cannot be DOS-style,
74859 # because $ac_f cannot contain `:'.
74860 test -f "$ac_f" ||
74861 case $ac_f in
74862 [\\/$]*) false;;
74863 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74864 esac ||
74865 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74866 esac
74867 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74868 as_fn_append ac_file_inputs " '$ac_f'"
74869 done
74871 # Let's still pretend it is `configure' which instantiates (i.e., don't
74872 # use $as_me), people would be surprised to read:
74873 # /* config.h. Generated by config.status. */
74874 configure_input='Generated from '`
74875 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74876 `' by configure.'
74877 if test x"$ac_file" != x-; then
74878 configure_input="$ac_file. $configure_input"
74879 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74880 $as_echo "$as_me: creating $ac_file" >&6;}
74882 # Neutralize special characters interpreted by sed in replacement strings.
74883 case $configure_input in #(
74884 *\&* | *\|* | *\\* )
74885 ac_sed_conf_input=`$as_echo "$configure_input" |
74886 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74887 *) ac_sed_conf_input=$configure_input;;
74888 esac
74890 case $ac_tag in
74891 *:-:* | *:-) cat >"$tmp/stdin" \
74892 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74893 esac
74895 esac
74897 ac_dir=`$as_dirname -- "$ac_file" ||
74898 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74899 X"$ac_file" : 'X\(//\)[^/]' \| \
74900 X"$ac_file" : 'X\(//\)$' \| \
74901 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74902 $as_echo X"$ac_file" |
74903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74904 s//\1/
74907 /^X\(\/\/\)[^/].*/{
74908 s//\1/
74911 /^X\(\/\/\)$/{
74912 s//\1/
74915 /^X\(\/\).*/{
74916 s//\1/
74919 s/.*/./; q'`
74920 as_dir="$ac_dir"; as_fn_mkdir_p
74921 ac_builddir=.
74923 case "$ac_dir" in
74924 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74926 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74927 # A ".." for each directory in $ac_dir_suffix.
74928 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74929 case $ac_top_builddir_sub in
74930 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74931 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74932 esac ;;
74933 esac
74934 ac_abs_top_builddir=$ac_pwd
74935 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74936 # for backward compatibility:
74937 ac_top_builddir=$ac_top_build_prefix
74939 case $srcdir in
74940 .) # We are building in place.
74941 ac_srcdir=.
74942 ac_top_srcdir=$ac_top_builddir_sub
74943 ac_abs_top_srcdir=$ac_pwd ;;
74944 [\\/]* | ?:[\\/]* ) # Absolute name.
74945 ac_srcdir=$srcdir$ac_dir_suffix;
74946 ac_top_srcdir=$srcdir
74947 ac_abs_top_srcdir=$srcdir ;;
74948 *) # Relative name.
74949 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74950 ac_top_srcdir=$ac_top_build_prefix$srcdir
74951 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74952 esac
74953 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74956 case $ac_mode in
74959 # CONFIG_FILE
74962 case $INSTALL in
74963 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74964 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74965 esac
74966 ac_MKDIR_P=$MKDIR_P
74967 case $MKDIR_P in
74968 [\\/$]* | ?:[\\/]* ) ;;
74969 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74970 esac
74971 _ACEOF
74973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74974 # If the template does not know about datarootdir, expand it.
74975 # FIXME: This hack should be removed a few years after 2.60.
74976 ac_datarootdir_hack=; ac_datarootdir_seen=
74977 ac_sed_dataroot='
74978 /datarootdir/ {
74982 /@datadir@/p
74983 /@docdir@/p
74984 /@infodir@/p
74985 /@localedir@/p
74986 /@mandir@/p'
74987 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74988 *datarootdir*) ac_datarootdir_seen=yes;;
74989 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74991 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74992 _ACEOF
74993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74994 ac_datarootdir_hack='
74995 s&@datadir@&$datadir&g
74996 s&@docdir@&$docdir&g
74997 s&@infodir@&$infodir&g
74998 s&@localedir@&$localedir&g
74999 s&@mandir@&$mandir&g
75000 s&\\\${datarootdir}&$datarootdir&g' ;;
75001 esac
75002 _ACEOF
75004 # Neutralize VPATH when `$srcdir' = `.'.
75005 # Shell code in configure.ac might set extrasub.
75006 # FIXME: do we really want to maintain this feature?
75007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75008 ac_sed_extra="$ac_vpsub
75009 $extrasub
75010 _ACEOF
75011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75013 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
75014 s|@configure_input@|$ac_sed_conf_input|;t t
75015 s&@top_builddir@&$ac_top_builddir_sub&;t t
75016 s&@top_build_prefix@&$ac_top_build_prefix&;t t
75017 s&@srcdir@&$ac_srcdir&;t t
75018 s&@abs_srcdir@&$ac_abs_srcdir&;t t
75019 s&@top_srcdir@&$ac_top_srcdir&;t t
75020 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
75021 s&@builddir@&$ac_builddir&;t t
75022 s&@abs_builddir@&$ac_abs_builddir&;t t
75023 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
75024 s&@INSTALL@&$ac_INSTALL&;t t
75025 s&@MKDIR_P@&$ac_MKDIR_P&;t t
75026 $ac_datarootdir_hack
75028 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
75029 || as_fn_error "could not create $ac_file" "$LINENO" 5
75031 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
75032 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
75033 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
75034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75035 which seems to be undefined. Please make sure it is defined." >&5
75036 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75037 which seems to be undefined. Please make sure it is defined." >&2;}
75039 rm -f "$tmp/stdin"
75040 case $ac_file in
75041 -) cat "$tmp/out" && rm -f "$tmp/out";;
75042 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
75043 esac \
75044 || as_fn_error "could not create $ac_file" "$LINENO" 5
75048 # CONFIG_HEADER
75050 if test x"$ac_file" != x-; then
75052 $as_echo "/* $configure_input */" \
75053 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
75054 } >"$tmp/config.h" \
75055 || as_fn_error "could not create $ac_file" "$LINENO" 5
75056 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
75057 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
75058 $as_echo "$as_me: $ac_file is unchanged" >&6;}
75059 else
75060 rm -f "$ac_file"
75061 mv "$tmp/config.h" "$ac_file" \
75062 || as_fn_error "could not create $ac_file" "$LINENO" 5
75064 else
75065 $as_echo "/* $configure_input */" \
75066 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
75067 || as_fn_error "could not create -" "$LINENO" 5
75069 # Compute "$ac_file"'s index in $config_headers.
75070 _am_arg="$ac_file"
75071 _am_stamp_count=1
75072 for _am_header in $config_headers :; do
75073 case $_am_header in
75074 $_am_arg | $_am_arg:* )
75075 break ;;
75077 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
75078 esac
75079 done
75080 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
75081 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75082 X"$_am_arg" : 'X\(//\)[^/]' \| \
75083 X"$_am_arg" : 'X\(//\)$' \| \
75084 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
75085 $as_echo X"$_am_arg" |
75086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75087 s//\1/
75090 /^X\(\/\/\)[^/].*/{
75091 s//\1/
75094 /^X\(\/\/\)$/{
75095 s//\1/
75098 /^X\(\/\).*/{
75099 s//\1/
75102 s/.*/./; q'`/stamp-h$_am_stamp_count
75105 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
75106 $as_echo "$as_me: executing $ac_file commands" >&6;}
75108 esac
75111 case $ac_file$ac_mode in
75112 "default-1":C)
75113 # Only add multilib support code if we just rebuilt the top-level
75114 # Makefile.
75115 case " $CONFIG_FILES " in
75116 *" Makefile "*)
75117 ac_file=Makefile . ${multi_basedir}/config-ml.in
75119 esac ;;
75120 "libtool":C)
75122 # See if we are running on zsh, and set the options which allow our
75123 # commands through without removal of \ escapes.
75124 if test -n "${ZSH_VERSION+set}" ; then
75125 setopt NO_GLOB_SUBST
75128 cfgfile="${ofile}T"
75129 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75130 $RM "$cfgfile"
75132 cat <<_LT_EOF >> "$cfgfile"
75133 #! $SHELL
75135 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75136 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75137 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75138 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75140 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75141 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75142 # Written by Gordon Matzigkeit, 1996
75144 # This file is part of GNU Libtool.
75146 # GNU Libtool is free software; you can redistribute it and/or
75147 # modify it under the terms of the GNU General Public License as
75148 # published by the Free Software Foundation; either version 2 of
75149 # the License, or (at your option) any later version.
75151 # As a special exception to the GNU General Public License,
75152 # if you distribute this file as part of a program or library that
75153 # is built using GNU Libtool, you may include this file under the
75154 # same distribution terms that you use for the rest of that program.
75156 # GNU Libtool is distributed in the hope that it will be useful,
75157 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75158 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75159 # GNU General Public License for more details.
75161 # You should have received a copy of the GNU General Public License
75162 # along with GNU Libtool; see the file COPYING. If not, a copy
75163 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75164 # obtained by writing to the Free Software Foundation, Inc.,
75165 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75168 # The names of the tagged configurations supported by this script.
75169 available_tags="CXX "
75171 # ### BEGIN LIBTOOL CONFIG
75173 # Which release of libtool.m4 was used?
75174 macro_version=$macro_version
75175 macro_revision=$macro_revision
75177 # Whether or not to build shared libraries.
75178 build_libtool_libs=$enable_shared
75180 # Whether or not to build static libraries.
75181 build_old_libs=$enable_static
75183 # What type of objects to build.
75184 pic_mode=$pic_mode
75186 # Whether or not to optimize for fast installation.
75187 fast_install=$enable_fast_install
75189 # Shell to use when invoking shell scripts.
75190 SHELL=$lt_SHELL
75192 # An echo program that protects backslashes.
75193 ECHO=$lt_ECHO
75195 # The host system.
75196 host_alias=$host_alias
75197 host=$host
75198 host_os=$host_os
75200 # The build system.
75201 build_alias=$build_alias
75202 build=$build
75203 build_os=$build_os
75205 # A sed program that does not truncate output.
75206 SED=$lt_SED
75208 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75209 Xsed="\$SED -e 1s/^X//"
75211 # A grep program that handles long lines.
75212 GREP=$lt_GREP
75214 # An ERE matcher.
75215 EGREP=$lt_EGREP
75217 # A literal string matcher.
75218 FGREP=$lt_FGREP
75220 # A BSD- or MS-compatible name lister.
75221 NM=$lt_NM
75223 # Whether we need soft or hard links.
75224 LN_S=$lt_LN_S
75226 # What is the maximum length of a command?
75227 max_cmd_len=$max_cmd_len
75229 # Object file suffix (normally "o").
75230 objext=$ac_objext
75232 # Executable file suffix (normally "").
75233 exeext=$exeext
75235 # whether the shell understands "unset".
75236 lt_unset=$lt_unset
75238 # turn spaces into newlines.
75239 SP2NL=$lt_lt_SP2NL
75241 # turn newlines into spaces.
75242 NL2SP=$lt_lt_NL2SP
75244 # An object symbol dumper.
75245 OBJDUMP=$lt_OBJDUMP
75247 # Method to check whether dependent libraries are shared objects.
75248 deplibs_check_method=$lt_deplibs_check_method
75250 # Command to use when deplibs_check_method == "file_magic".
75251 file_magic_cmd=$lt_file_magic_cmd
75253 # The archiver.
75254 AR=$lt_AR
75255 AR_FLAGS=$lt_AR_FLAGS
75257 # A symbol stripping program.
75258 STRIP=$lt_STRIP
75260 # Commands used to install an old-style archive.
75261 RANLIB=$lt_RANLIB
75262 old_postinstall_cmds=$lt_old_postinstall_cmds
75263 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75265 # Whether to use a lock for old archive extraction.
75266 lock_old_archive_extraction=$lock_old_archive_extraction
75268 # A C compiler.
75269 LTCC=$lt_CC
75271 # LTCC compiler flags.
75272 LTCFLAGS=$lt_CFLAGS
75274 # Take the output of nm and produce a listing of raw symbols and C names.
75275 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75277 # Transform the output of nm in a proper C declaration.
75278 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75280 # Transform the output of nm in a C name address pair.
75281 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75283 # Transform the output of nm in a C name address pair when lib prefix is needed.
75284 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75286 # The name of the directory that contains temporary libtool files.
75287 objdir=$objdir
75289 # Used to examine libraries when file_magic_cmd begins with "file".
75290 MAGIC_CMD=$MAGIC_CMD
75292 # Must we lock files when doing compilation?
75293 need_locks=$lt_need_locks
75295 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75296 DSYMUTIL=$lt_DSYMUTIL
75298 # Tool to change global to local symbols on Mac OS X.
75299 NMEDIT=$lt_NMEDIT
75301 # Tool to manipulate fat objects and archives on Mac OS X.
75302 LIPO=$lt_LIPO
75304 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75305 OTOOL=$lt_OTOOL
75307 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75308 OTOOL64=$lt_OTOOL64
75310 # Old archive suffix (normally "a").
75311 libext=$libext
75313 # Shared library suffix (normally ".so").
75314 shrext_cmds=$lt_shrext_cmds
75316 # The commands to extract the exported symbol list from a shared archive.
75317 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75319 # Variables whose values should be saved in libtool wrapper scripts and
75320 # restored at link time.
75321 variables_saved_for_relink=$lt_variables_saved_for_relink
75323 # Do we need the "lib" prefix for modules?
75324 need_lib_prefix=$need_lib_prefix
75326 # Do we need a version for libraries?
75327 need_version=$need_version
75329 # Library versioning type.
75330 version_type=$version_type
75332 # Shared library runtime path variable.
75333 runpath_var=$runpath_var
75335 # Shared library path variable.
75336 shlibpath_var=$shlibpath_var
75338 # Is shlibpath searched before the hard-coded library search path?
75339 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75341 # Format of library name prefix.
75342 libname_spec=$lt_libname_spec
75344 # List of archive names. First name is the real one, the rest are links.
75345 # The last name is the one that the linker finds with -lNAME
75346 library_names_spec=$lt_library_names_spec
75348 # The coded name of the library, if different from the real name.
75349 soname_spec=$lt_soname_spec
75351 # Permission mode override for installation of shared libraries.
75352 install_override_mode=$lt_install_override_mode
75354 # Command to use after installation of a shared archive.
75355 postinstall_cmds=$lt_postinstall_cmds
75357 # Command to use after uninstallation of a shared archive.
75358 postuninstall_cmds=$lt_postuninstall_cmds
75360 # Commands used to finish a libtool library installation in a directory.
75361 finish_cmds=$lt_finish_cmds
75363 # As "finish_cmds", except a single script fragment to be evaled but
75364 # not shown.
75365 finish_eval=$lt_finish_eval
75367 # Whether we should hardcode library paths into libraries.
75368 hardcode_into_libs=$hardcode_into_libs
75370 # Compile-time system search path for libraries.
75371 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75373 # Run-time system search path for libraries.
75374 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75376 # Whether dlopen is supported.
75377 dlopen_support=$enable_dlopen
75379 # Whether dlopen of programs is supported.
75380 dlopen_self=$enable_dlopen_self
75382 # Whether dlopen of statically linked programs is supported.
75383 dlopen_self_static=$enable_dlopen_self_static
75385 # Commands to strip libraries.
75386 old_striplib=$lt_old_striplib
75387 striplib=$lt_striplib
75390 # The linker used to build libraries.
75391 LD=$lt_LD
75393 # How to create reloadable object files.
75394 reload_flag=$lt_reload_flag
75395 reload_cmds=$lt_reload_cmds
75397 # Commands used to build an old-style archive.
75398 old_archive_cmds=$lt_old_archive_cmds
75400 # A language specific compiler.
75401 CC=$lt_compiler
75403 # Is the compiler the GNU compiler?
75404 with_gcc=$GCC
75406 # Compiler flag to turn off builtin functions.
75407 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75409 # How to pass a linker flag through the compiler.
75410 wl=$lt_lt_prog_compiler_wl
75412 # Additional compiler flags for building library objects.
75413 pic_flag=$lt_lt_prog_compiler_pic
75415 # Compiler flag to prevent dynamic linking.
75416 link_static_flag=$lt_lt_prog_compiler_static
75418 # Does compiler simultaneously support -c and -o options?
75419 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75421 # Whether or not to add -lc for building shared libraries.
75422 build_libtool_need_lc=$archive_cmds_need_lc
75424 # Whether or not to disallow shared libs when runtime libs are static.
75425 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75427 # Compiler flag to allow reflexive dlopens.
75428 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75430 # Compiler flag to generate shared objects directly from archives.
75431 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75433 # Whether the compiler copes with passing no objects directly.
75434 compiler_needs_object=$lt_compiler_needs_object
75436 # Create an old-style archive from a shared archive.
75437 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75439 # Create a temporary old-style archive to link instead of a shared archive.
75440 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75442 # Commands used to build a shared archive.
75443 archive_cmds=$lt_archive_cmds
75444 archive_expsym_cmds=$lt_archive_expsym_cmds
75446 # Commands used to build a loadable module if different from building
75447 # a shared archive.
75448 module_cmds=$lt_module_cmds
75449 module_expsym_cmds=$lt_module_expsym_cmds
75451 # Whether we are building with GNU ld or not.
75452 with_gnu_ld=$lt_with_gnu_ld
75454 # Flag that allows shared libraries with undefined symbols to be built.
75455 allow_undefined_flag=$lt_allow_undefined_flag
75457 # Flag that enforces no undefined symbols.
75458 no_undefined_flag=$lt_no_undefined_flag
75460 # Flag to hardcode \$libdir into a binary during linking.
75461 # This must work even if \$libdir does not exist
75462 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75464 # If ld is used when linking, flag to hardcode \$libdir into a binary
75465 # during linking. This must work even if \$libdir does not exist.
75466 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75468 # Whether we need a single "-rpath" flag with a separated argument.
75469 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75471 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75472 # DIR into the resulting binary.
75473 hardcode_direct=$hardcode_direct
75475 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75476 # DIR into the resulting binary and the resulting library dependency is
75477 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75478 # library is relocated.
75479 hardcode_direct_absolute=$hardcode_direct_absolute
75481 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75482 # into the resulting binary.
75483 hardcode_minus_L=$hardcode_minus_L
75485 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75486 # into the resulting binary.
75487 hardcode_shlibpath_var=$hardcode_shlibpath_var
75489 # Set to "yes" if building a shared library automatically hardcodes DIR
75490 # into the library and all subsequent libraries and executables linked
75491 # against it.
75492 hardcode_automatic=$hardcode_automatic
75494 # Set to yes if linker adds runtime paths of dependent libraries
75495 # to runtime path list.
75496 inherit_rpath=$inherit_rpath
75498 # Whether libtool must link a program against all its dependency libraries.
75499 link_all_deplibs=$link_all_deplibs
75501 # Fix the shell variable \$srcfile for the compiler.
75502 fix_srcfile_path=$lt_fix_srcfile_path
75504 # Set to "yes" if exported symbols are required.
75505 always_export_symbols=$always_export_symbols
75507 # The commands to list exported symbols.
75508 export_symbols_cmds=$lt_export_symbols_cmds
75510 # Symbols that should not be listed in the preloaded symbols.
75511 exclude_expsyms=$lt_exclude_expsyms
75513 # Symbols that must always be exported.
75514 include_expsyms=$lt_include_expsyms
75516 # Commands necessary for linking programs (against libraries) with templates.
75517 prelink_cmds=$lt_prelink_cmds
75519 # Specify filename containing input files.
75520 file_list_spec=$lt_file_list_spec
75522 # How to hardcode a shared library path into an executable.
75523 hardcode_action=$hardcode_action
75525 # The directories searched by this compiler when creating a shared library.
75526 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75528 # Dependencies to place before and after the objects being linked to
75529 # create a shared library.
75530 predep_objects=$lt_predep_objects
75531 postdep_objects=$lt_postdep_objects
75532 predeps=$lt_predeps
75533 postdeps=$lt_postdeps
75535 # The library search path used internally by the compiler when linking
75536 # a shared library.
75537 compiler_lib_search_path=$lt_compiler_lib_search_path
75539 # ### END LIBTOOL CONFIG
75541 _LT_EOF
75543 case $host_os in
75544 aix3*)
75545 cat <<\_LT_EOF >> "$cfgfile"
75546 # AIX sometimes has problems with the GCC collect2 program. For some
75547 # reason, if we set the COLLECT_NAMES environment variable, the problems
75548 # vanish in a puff of smoke.
75549 if test "X${COLLECT_NAMES+set}" != Xset; then
75550 COLLECT_NAMES=
75551 export COLLECT_NAMES
75553 _LT_EOF
75555 esac
75558 ltmain="$ac_aux_dir/ltmain.sh"
75561 # We use sed instead of cat because bash on DJGPP gets confused if
75562 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75563 # text mode, it properly converts lines to CR/LF. This bash problem
75564 # is reportedly fixed, but why not run on old versions too?
75565 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75566 || (rm -f "$cfgfile"; exit 1)
75568 case $xsi_shell in
75569 yes)
75570 cat << \_LT_EOF >> "$cfgfile"
75572 # func_dirname file append nondir_replacement
75573 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75574 # otherwise set result to NONDIR_REPLACEMENT.
75575 func_dirname ()
75577 case ${1} in
75578 */*) func_dirname_result="${1%/*}${2}" ;;
75579 * ) func_dirname_result="${3}" ;;
75580 esac
75583 # func_basename file
75584 func_basename ()
75586 func_basename_result="${1##*/}"
75589 # func_dirname_and_basename file append nondir_replacement
75590 # perform func_basename and func_dirname in a single function
75591 # call:
75592 # dirname: Compute the dirname of FILE. If nonempty,
75593 # add APPEND to the result, otherwise set result
75594 # to NONDIR_REPLACEMENT.
75595 # value returned in "$func_dirname_result"
75596 # basename: Compute filename of FILE.
75597 # value retuned in "$func_basename_result"
75598 # Implementation must be kept synchronized with func_dirname
75599 # and func_basename. For efficiency, we do not delegate to
75600 # those functions but instead duplicate the functionality here.
75601 func_dirname_and_basename ()
75603 case ${1} in
75604 */*) func_dirname_result="${1%/*}${2}" ;;
75605 * ) func_dirname_result="${3}" ;;
75606 esac
75607 func_basename_result="${1##*/}"
75610 # func_stripname prefix suffix name
75611 # strip PREFIX and SUFFIX off of NAME.
75612 # PREFIX and SUFFIX must not contain globbing or regex special
75613 # characters, hashes, percent signs, but SUFFIX may contain a leading
75614 # dot (in which case that matches only a dot).
75615 func_stripname ()
75617 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75618 # positional parameters, so assign one to ordinary parameter first.
75619 func_stripname_result=${3}
75620 func_stripname_result=${func_stripname_result#"${1}"}
75621 func_stripname_result=${func_stripname_result%"${2}"}
75624 # func_opt_split
75625 func_opt_split ()
75627 func_opt_split_opt=${1%%=*}
75628 func_opt_split_arg=${1#*=}
75631 # func_lo2o object
75632 func_lo2o ()
75634 case ${1} in
75635 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75636 *) func_lo2o_result=${1} ;;
75637 esac
75640 # func_xform libobj-or-source
75641 func_xform ()
75643 func_xform_result=${1%.*}.lo
75646 # func_arith arithmetic-term...
75647 func_arith ()
75649 func_arith_result=$(( $* ))
75652 # func_len string
75653 # STRING may not start with a hyphen.
75654 func_len ()
75656 func_len_result=${#1}
75659 _LT_EOF
75661 *) # Bourne compatible functions.
75662 cat << \_LT_EOF >> "$cfgfile"
75664 # func_dirname file append nondir_replacement
75665 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75666 # otherwise set result to NONDIR_REPLACEMENT.
75667 func_dirname ()
75669 # Extract subdirectory from the argument.
75670 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75671 if test "X$func_dirname_result" = "X${1}"; then
75672 func_dirname_result="${3}"
75673 else
75674 func_dirname_result="$func_dirname_result${2}"
75678 # func_basename file
75679 func_basename ()
75681 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75685 # func_stripname prefix suffix name
75686 # strip PREFIX and SUFFIX off of NAME.
75687 # PREFIX and SUFFIX must not contain globbing or regex special
75688 # characters, hashes, percent signs, but SUFFIX may contain a leading
75689 # dot (in which case that matches only a dot).
75690 # func_strip_suffix prefix name
75691 func_stripname ()
75693 case ${2} in
75694 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75695 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75696 esac
75699 # sed scripts:
75700 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75701 my_sed_long_arg='1s/^-[^=]*=//'
75703 # func_opt_split
75704 func_opt_split ()
75706 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75707 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75710 # func_lo2o object
75711 func_lo2o ()
75713 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75716 # func_xform libobj-or-source
75717 func_xform ()
75719 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75722 # func_arith arithmetic-term...
75723 func_arith ()
75725 func_arith_result=`expr "$@"`
75728 # func_len string
75729 # STRING may not start with a hyphen.
75730 func_len ()
75732 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75735 _LT_EOF
75736 esac
75738 case $lt_shell_append in
75739 yes)
75740 cat << \_LT_EOF >> "$cfgfile"
75742 # func_append var value
75743 # Append VALUE to the end of shell variable VAR.
75744 func_append ()
75746 eval "$1+=\$2"
75748 _LT_EOF
75751 cat << \_LT_EOF >> "$cfgfile"
75753 # func_append var value
75754 # Append VALUE to the end of shell variable VAR.
75755 func_append ()
75757 eval "$1=\$$1\$2"
75760 _LT_EOF
75762 esac
75765 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75766 || (rm -f "$cfgfile"; exit 1)
75768 mv -f "$cfgfile" "$ofile" ||
75769 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75770 chmod +x "$ofile"
75773 cat <<_LT_EOF >> "$ofile"
75775 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75777 # The linker used to build libraries.
75778 LD=$lt_LD_CXX
75780 # How to create reloadable object files.
75781 reload_flag=$lt_reload_flag_CXX
75782 reload_cmds=$lt_reload_cmds_CXX
75784 # Commands used to build an old-style archive.
75785 old_archive_cmds=$lt_old_archive_cmds_CXX
75787 # A language specific compiler.
75788 CC=$lt_compiler_CXX
75790 # Is the compiler the GNU compiler?
75791 with_gcc=$GCC_CXX
75793 # Compiler flag to turn off builtin functions.
75794 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75796 # How to pass a linker flag through the compiler.
75797 wl=$lt_lt_prog_compiler_wl_CXX
75799 # Additional compiler flags for building library objects.
75800 pic_flag=$lt_lt_prog_compiler_pic_CXX
75802 # Compiler flag to prevent dynamic linking.
75803 link_static_flag=$lt_lt_prog_compiler_static_CXX
75805 # Does compiler simultaneously support -c and -o options?
75806 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75808 # Whether or not to add -lc for building shared libraries.
75809 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75811 # Whether or not to disallow shared libs when runtime libs are static.
75812 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75814 # Compiler flag to allow reflexive dlopens.
75815 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75817 # Compiler flag to generate shared objects directly from archives.
75818 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75820 # Whether the compiler copes with passing no objects directly.
75821 compiler_needs_object=$lt_compiler_needs_object_CXX
75823 # Create an old-style archive from a shared archive.
75824 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75826 # Create a temporary old-style archive to link instead of a shared archive.
75827 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75829 # Commands used to build a shared archive.
75830 archive_cmds=$lt_archive_cmds_CXX
75831 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75833 # Commands used to build a loadable module if different from building
75834 # a shared archive.
75835 module_cmds=$lt_module_cmds_CXX
75836 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75838 # Whether we are building with GNU ld or not.
75839 with_gnu_ld=$lt_with_gnu_ld_CXX
75841 # Flag that allows shared libraries with undefined symbols to be built.
75842 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75844 # Flag that enforces no undefined symbols.
75845 no_undefined_flag=$lt_no_undefined_flag_CXX
75847 # Flag to hardcode \$libdir into a binary during linking.
75848 # This must work even if \$libdir does not exist
75849 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75851 # If ld is used when linking, flag to hardcode \$libdir into a binary
75852 # during linking. This must work even if \$libdir does not exist.
75853 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75855 # Whether we need a single "-rpath" flag with a separated argument.
75856 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75858 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75859 # DIR into the resulting binary.
75860 hardcode_direct=$hardcode_direct_CXX
75862 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75863 # DIR into the resulting binary and the resulting library dependency is
75864 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75865 # library is relocated.
75866 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75868 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75869 # into the resulting binary.
75870 hardcode_minus_L=$hardcode_minus_L_CXX
75872 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75873 # into the resulting binary.
75874 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75876 # Set to "yes" if building a shared library automatically hardcodes DIR
75877 # into the library and all subsequent libraries and executables linked
75878 # against it.
75879 hardcode_automatic=$hardcode_automatic_CXX
75881 # Set to yes if linker adds runtime paths of dependent libraries
75882 # to runtime path list.
75883 inherit_rpath=$inherit_rpath_CXX
75885 # Whether libtool must link a program against all its dependency libraries.
75886 link_all_deplibs=$link_all_deplibs_CXX
75888 # Fix the shell variable \$srcfile for the compiler.
75889 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75891 # Set to "yes" if exported symbols are required.
75892 always_export_symbols=$always_export_symbols_CXX
75894 # The commands to list exported symbols.
75895 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75897 # Symbols that should not be listed in the preloaded symbols.
75898 exclude_expsyms=$lt_exclude_expsyms_CXX
75900 # Symbols that must always be exported.
75901 include_expsyms=$lt_include_expsyms_CXX
75903 # Commands necessary for linking programs (against libraries) with templates.
75904 prelink_cmds=$lt_prelink_cmds_CXX
75906 # Specify filename containing input files.
75907 file_list_spec=$lt_file_list_spec_CXX
75909 # How to hardcode a shared library path into an executable.
75910 hardcode_action=$hardcode_action_CXX
75912 # The directories searched by this compiler when creating a shared library.
75913 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75915 # Dependencies to place before and after the objects being linked to
75916 # create a shared library.
75917 predep_objects=$lt_predep_objects_CXX
75918 postdep_objects=$lt_postdep_objects_CXX
75919 predeps=$lt_predeps_CXX
75920 postdeps=$lt_postdeps_CXX
75922 # The library search path used internally by the compiler when linking
75923 # a shared library.
75924 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75926 # ### END LIBTOOL TAG CONFIG: CXX
75927 _LT_EOF
75930 "include/gstdint.h":C)
75931 if test "$GCC" = yes; then
75932 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75933 else
75934 echo "/* generated for $CC */" > tmp-stdint.h
75937 sed 's/^ *//' >> tmp-stdint.h <<EOF
75939 #ifndef GCC_GENERATED_STDINT_H
75940 #define GCC_GENERATED_STDINT_H 1
75942 #include <sys/types.h>
75945 if test "$acx_cv_header_stdint" != stdint.h; then
75946 echo "#include <stddef.h>" >> tmp-stdint.h
75948 if test "$acx_cv_header_stdint" != stddef.h; then
75949 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75952 sed 's/^ *//' >> tmp-stdint.h <<EOF
75953 /* glibc uses these symbols as guards to prevent redefinitions. */
75954 #ifdef __int8_t_defined
75955 #define _INT8_T
75956 #define _INT16_T
75957 #define _INT32_T
75958 #endif
75959 #ifdef __uint32_t_defined
75960 #define _UINT32_T
75961 #endif
75965 # ----------------- done header, emit basic int types -------------
75966 if test "$acx_cv_header_stdint" = stddef.h; then
75967 sed 's/^ *//' >> tmp-stdint.h <<EOF
75969 #ifndef _UINT8_T
75970 #define _UINT8_T
75971 #ifndef __uint8_t_defined
75972 #define __uint8_t_defined
75973 #ifndef uint8_t
75974 typedef unsigned $acx_cv_type_int8_t uint8_t;
75975 #endif
75976 #endif
75977 #endif
75979 #ifndef _UINT16_T
75980 #define _UINT16_T
75981 #ifndef __uint16_t_defined
75982 #define __uint16_t_defined
75983 #ifndef uint16_t
75984 typedef unsigned $acx_cv_type_int16_t uint16_t;
75985 #endif
75986 #endif
75987 #endif
75989 #ifndef _UINT32_T
75990 #define _UINT32_T
75991 #ifndef __uint32_t_defined
75992 #define __uint32_t_defined
75993 #ifndef uint32_t
75994 typedef unsigned $acx_cv_type_int32_t uint32_t;
75995 #endif
75996 #endif
75997 #endif
75999 #ifndef _INT8_T
76000 #define _INT8_T
76001 #ifndef __int8_t_defined
76002 #define __int8_t_defined
76003 #ifndef int8_t
76004 typedef $acx_cv_type_int8_t int8_t;
76005 #endif
76006 #endif
76007 #endif
76009 #ifndef _INT16_T
76010 #define _INT16_T
76011 #ifndef __int16_t_defined
76012 #define __int16_t_defined
76013 #ifndef int16_t
76014 typedef $acx_cv_type_int16_t int16_t;
76015 #endif
76016 #endif
76017 #endif
76019 #ifndef _INT32_T
76020 #define _INT32_T
76021 #ifndef __int32_t_defined
76022 #define __int32_t_defined
76023 #ifndef int32_t
76024 typedef $acx_cv_type_int32_t int32_t;
76025 #endif
76026 #endif
76027 #endif
76029 elif test "$ac_cv_type_u_int32_t" = yes; then
76030 sed 's/^ *//' >> tmp-stdint.h <<EOF
76032 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
76033 #ifndef _INT8_T
76034 #define _INT8_T
76035 #endif
76036 #ifndef _INT16_T
76037 #define _INT16_T
76038 #endif
76039 #ifndef _INT32_T
76040 #define _INT32_T
76041 #endif
76043 #ifndef _UINT8_T
76044 #define _UINT8_T
76045 #ifndef __uint8_t_defined
76046 #define __uint8_t_defined
76047 #ifndef uint8_t
76048 typedef u_int8_t uint8_t;
76049 #endif
76050 #endif
76051 #endif
76053 #ifndef _UINT16_T
76054 #define _UINT16_T
76055 #ifndef __uint16_t_defined
76056 #define __uint16_t_defined
76057 #ifndef uint16_t
76058 typedef u_int16_t uint16_t;
76059 #endif
76060 #endif
76061 #endif
76063 #ifndef _UINT32_T
76064 #define _UINT32_T
76065 #ifndef __uint32_t_defined
76066 #define __uint32_t_defined
76067 #ifndef uint32_t
76068 typedef u_int32_t uint32_t;
76069 #endif
76070 #endif
76071 #endif
76073 else
76074 sed 's/^ *//' >> tmp-stdint.h <<EOF
76076 /* Some systems have guard macros to prevent redefinitions, define them. */
76077 #ifndef _INT8_T
76078 #define _INT8_T
76079 #endif
76080 #ifndef _INT16_T
76081 #define _INT16_T
76082 #endif
76083 #ifndef _INT32_T
76084 #define _INT32_T
76085 #endif
76086 #ifndef _UINT8_T
76087 #define _UINT8_T
76088 #endif
76089 #ifndef _UINT16_T
76090 #define _UINT16_T
76091 #endif
76092 #ifndef _UINT32_T
76093 #define _UINT32_T
76094 #endif
76098 # ------------- done basic int types, emit int64_t types ------------
76099 if test "$ac_cv_type_uint64_t" = yes; then
76100 sed 's/^ *//' >> tmp-stdint.h <<EOF
76102 /* system headers have good uint64_t and int64_t */
76103 #ifndef _INT64_T
76104 #define _INT64_T
76105 #endif
76106 #ifndef _UINT64_T
76107 #define _UINT64_T
76108 #endif
76110 elif test "$ac_cv_type_u_int64_t" = yes; then
76111 sed 's/^ *//' >> tmp-stdint.h <<EOF
76113 /* system headers have an u_int64_t (and int64_t) */
76114 #ifndef _INT64_T
76115 #define _INT64_T
76116 #endif
76117 #ifndef _UINT64_T
76118 #define _UINT64_T
76119 #ifndef __uint64_t_defined
76120 #define __uint64_t_defined
76121 #ifndef uint64_t
76122 typedef u_int64_t uint64_t;
76123 #endif
76124 #endif
76125 #endif
76127 elif test -n "$acx_cv_type_int64_t"; then
76128 sed 's/^ *//' >> tmp-stdint.h <<EOF
76130 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76131 #ifndef _INT64_T
76132 #define _INT64_T
76133 #ifndef int64_t
76134 typedef $acx_cv_type_int64_t int64_t;
76135 #endif
76136 #endif
76137 #ifndef _UINT64_T
76138 #define _UINT64_T
76139 #ifndef __uint64_t_defined
76140 #define __uint64_t_defined
76141 #ifndef uint64_t
76142 typedef unsigned $acx_cv_type_int64_t uint64_t;
76143 #endif
76144 #endif
76145 #endif
76147 else
76148 sed 's/^ *//' >> tmp-stdint.h <<EOF
76150 /* some common heuristics for int64_t, using compiler-specific tests */
76151 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76152 #ifndef _INT64_T
76153 #define _INT64_T
76154 #ifndef __int64_t_defined
76155 #ifndef int64_t
76156 typedef long long int64_t;
76157 #endif
76158 #endif
76159 #endif
76160 #ifndef _UINT64_T
76161 #define _UINT64_T
76162 #ifndef uint64_t
76163 typedef unsigned long long uint64_t;
76164 #endif
76165 #endif
76167 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76168 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76169 does not implement __extension__. But that compiler doesn't define
76170 __GNUC_MINOR__. */
76171 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76172 # define __extension__
76173 # endif
76175 # ifndef _INT64_T
76176 # define _INT64_T
76177 # ifndef int64_t
76178 __extension__ typedef long long int64_t;
76179 # endif
76180 # endif
76181 # ifndef _UINT64_T
76182 # define _UINT64_T
76183 # ifndef uint64_t
76184 __extension__ typedef unsigned long long uint64_t;
76185 # endif
76186 # endif
76188 #elif !defined __STRICT_ANSI__
76189 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76191 # ifndef _INT64_T
76192 # define _INT64_T
76193 # ifndef int64_t
76194 typedef __int64 int64_t;
76195 # endif
76196 # endif
76197 # ifndef _UINT64_T
76198 # define _UINT64_T
76199 # ifndef uint64_t
76200 typedef unsigned __int64 uint64_t;
76201 # endif
76202 # endif
76203 # endif /* compiler */
76205 #endif /* ANSI version */
76209 # ------------- done int64_t types, emit intptr types ------------
76210 if test "$ac_cv_type_uintptr_t" != yes; then
76211 sed 's/^ *//' >> tmp-stdint.h <<EOF
76213 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76214 #ifndef __uintptr_t_defined
76215 #ifndef uintptr_t
76216 typedef u$acx_cv_type_intptr_t uintptr_t;
76217 #endif
76218 #endif
76219 #ifndef __intptr_t_defined
76220 #ifndef intptr_t
76221 typedef $acx_cv_type_intptr_t intptr_t;
76222 #endif
76223 #endif
76227 # ------------- done intptr types, emit int_least types ------------
76228 if test "$ac_cv_type_int_least32_t" != yes; then
76229 sed 's/^ *//' >> tmp-stdint.h <<EOF
76231 /* Define int_least types */
76232 typedef int8_t int_least8_t;
76233 typedef int16_t int_least16_t;
76234 typedef int32_t int_least32_t;
76235 #ifdef _INT64_T
76236 typedef int64_t int_least64_t;
76237 #endif
76239 typedef uint8_t uint_least8_t;
76240 typedef uint16_t uint_least16_t;
76241 typedef uint32_t uint_least32_t;
76242 #ifdef _UINT64_T
76243 typedef uint64_t uint_least64_t;
76244 #endif
76248 # ------------- done intptr types, emit int_fast types ------------
76249 if test "$ac_cv_type_int_fast32_t" != yes; then
76250 sed 's/^ *//' >> tmp-stdint.h <<EOF
76252 /* Define int_fast types. short is often slow */
76253 typedef int8_t int_fast8_t;
76254 typedef int int_fast16_t;
76255 typedef int32_t int_fast32_t;
76256 #ifdef _INT64_T
76257 typedef int64_t int_fast64_t;
76258 #endif
76260 typedef uint8_t uint_fast8_t;
76261 typedef unsigned int uint_fast16_t;
76262 typedef uint32_t uint_fast32_t;
76263 #ifdef _UINT64_T
76264 typedef uint64_t uint_fast64_t;
76265 #endif
76269 if test "$ac_cv_type_uintmax_t" != yes; then
76270 sed 's/^ *//' >> tmp-stdint.h <<EOF
76272 /* Define intmax based on what we found */
76273 #ifndef intmax_t
76274 #ifdef _INT64_T
76275 typedef int64_t intmax_t;
76276 #else
76277 typedef long intmax_t;
76278 #endif
76279 #endif
76280 #ifndef uintmax_t
76281 #ifdef _UINT64_T
76282 typedef uint64_t uintmax_t;
76283 #else
76284 typedef unsigned long uintmax_t;
76285 #endif
76286 #endif
76290 sed 's/^ *//' >> tmp-stdint.h <<EOF
76292 #endif /* GCC_GENERATED_STDINT_H */
76295 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76296 rm -f tmp-stdint.h
76297 else
76298 mv -f tmp-stdint.h include/gstdint.h
76302 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76303 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76304 "include/Makefile":F) cat > vpsed$$ << \_EOF
76305 s!`test -f '$<' || echo '$(srcdir)/'`!!
76306 _EOF
76307 sed -f vpsed$$ $ac_file > tmp$$
76308 mv tmp$$ $ac_file
76309 rm vpsed$$
76310 echo 'MULTISUBDIR =' >> $ac_file
76311 ml_norecursion=yes
76312 . ${multi_basedir}/config-ml.in
76313 { ml_norecursion=; unset ml_norecursion;}
76315 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76316 s!`test -f '$<' || echo '$(srcdir)/'`!!
76317 _EOF
76318 sed -f vpsed$$ $ac_file > tmp$$
76319 mv tmp$$ $ac_file
76320 rm vpsed$$
76321 echo 'MULTISUBDIR =' >> $ac_file
76322 ml_norecursion=yes
76323 . ${multi_basedir}/config-ml.in
76324 { ml_norecursion=; unset ml_norecursion;}
76326 "python/Makefile":F) cat > vpsed$$ << \_EOF
76327 s!`test -f '$<' || echo '$(srcdir)/'`!!
76328 _EOF
76329 sed -f vpsed$$ $ac_file > tmp$$
76330 mv tmp$$ $ac_file
76331 rm vpsed$$
76332 echo 'MULTISUBDIR =' >> $ac_file
76333 ml_norecursion=yes
76334 . ${multi_basedir}/config-ml.in
76335 { ml_norecursion=; unset ml_norecursion;}
76337 "src/Makefile":F) cat > vpsed$$ << \_EOF
76338 s!`test -f '$<' || echo '$(srcdir)/'`!!
76339 _EOF
76340 sed -f vpsed$$ $ac_file > tmp$$
76341 mv tmp$$ $ac_file
76342 rm vpsed$$
76343 echo 'MULTISUBDIR =' >> $ac_file
76344 ml_norecursion=yes
76345 . ${multi_basedir}/config-ml.in
76346 { ml_norecursion=; unset ml_norecursion;}
76348 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76349 s!`test -f '$<' || echo '$(srcdir)/'`!!
76350 _EOF
76351 sed -f vpsed$$ $ac_file > tmp$$
76352 mv tmp$$ $ac_file
76353 rm vpsed$$
76354 echo 'MULTISUBDIR =' >> $ac_file
76355 ml_norecursion=yes
76356 . ${multi_basedir}/config-ml.in
76357 { ml_norecursion=; unset ml_norecursion;}
76359 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76360 s!`test -f '$<' || echo '$(srcdir)/'`!!
76361 _EOF
76362 sed -f vpsed$$ $ac_file > tmp$$
76363 mv tmp$$ $ac_file
76364 rm vpsed$$
76365 echo 'MULTISUBDIR =' >> $ac_file
76366 ml_norecursion=yes
76367 . ${multi_basedir}/config-ml.in
76368 { ml_norecursion=; unset ml_norecursion;}
76370 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76371 s!`test -f '$<' || echo '$(srcdir)/'`!!
76372 _EOF
76373 sed -f vpsed$$ $ac_file > tmp$$
76374 mv tmp$$ $ac_file
76375 rm vpsed$$
76376 echo 'MULTISUBDIR =' >> $ac_file
76377 ml_norecursion=yes
76378 . ${multi_basedir}/config-ml.in
76379 { ml_norecursion=; unset ml_norecursion;}
76381 "po/Makefile":F) cat > vpsed$$ << \_EOF
76382 s!`test -f '$<' || echo '$(srcdir)/'`!!
76383 _EOF
76384 sed -f vpsed$$ $ac_file > tmp$$
76385 mv tmp$$ $ac_file
76386 rm vpsed$$
76387 echo 'MULTISUBDIR =' >> $ac_file
76388 ml_norecursion=yes
76389 . ${multi_basedir}/config-ml.in
76390 { ml_norecursion=; unset ml_norecursion;}
76392 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76393 s!`test -f '$<' || echo '$(srcdir)/'`!!
76394 _EOF
76395 sed -f vpsed$$ $ac_file > tmp$$
76396 mv tmp$$ $ac_file
76397 rm vpsed$$
76398 echo 'MULTISUBDIR =' >> $ac_file
76399 ml_norecursion=yes
76400 . ${multi_basedir}/config-ml.in
76401 { ml_norecursion=; unset ml_norecursion;}
76403 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76405 esac
76406 done # for ac_tag
76409 as_fn_exit 0
76410 _ACEOF
76411 ac_clean_files=$ac_clean_files_save
76413 test $ac_write_fail = 0 ||
76414 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76417 # configure is writing to config.log, and then calls config.status.
76418 # config.status does its own redirection, appending to config.log.
76419 # Unfortunately, on DOS this fails, as config.log is still kept open
76420 # by configure, so config.status won't be able to write to it; its
76421 # output is simply discarded. So we exec the FD to /dev/null,
76422 # effectively closing config.log, so it can be properly (re)opened and
76423 # appended to by config.status. When coming back to configure, we
76424 # need to make the FD available again.
76425 if test "$no_create" != yes; then
76426 ac_cs_success=:
76427 ac_config_status_args=
76428 test "$silent" = yes &&
76429 ac_config_status_args="$ac_config_status_args --quiet"
76430 exec 5>/dev/null
76431 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76432 exec 5>>config.log
76433 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76434 # would make configure fail if this is the last instruction.
76435 $ac_cs_success || as_fn_exit $?
76437 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76439 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}